PowerShell Security Threats Greater Than Ever, Researchers Warn (computerweekly.com)
Microsoft's Windows PowerShell configuration management framework continues to be abused by cyber attackers, according to researchers at Symantec, who have seen a surge in associated threats. From a report on ComputerWeekly: More than 95% of PowerShell scripts analysed by Symantec researchers have been found to be malicious, with 111 threat families using PowerShell. Malicious PowerShell scripts are on the rise, as attackers are using the framework's flexibility to download their payloads, traverse through a compromised network and carry out reconnaissance, according to Candid Wueest, threat researcher at Symantec.
I can't log in or see the users' pages! HELP!
And that's why Microsoft is replacing cmd.exe with PowerShell
FFS who writes this? Of course an anti-virus company is looking for malicious scripts and most of those are going to *wait for it* be malicious. The 5% who aren't are likely abject failures. Symantec isn't knocking on Initech's door asking Jim from the Windows team for his powershell solution to deploy licensed software packages
Good thing MS had the foresight to make sure that non-signed PS scripts aren't executable by default.
Of course... sysadmins generally disable that restriction just like they turn of UAC... MS makes a security measure and people disable it and then complain that MS is so insecure.
But then Linux is insecure in a lot of the same ways... it's only as secure as the weakest link... which is generally the apps running on it.
My eyes reflect the stars and a smile lights up my face.
FFS who writes this? Of course an anti-virus company is looking for malicious scripts and most of those are going to *wait for it* be malicious.
wipe the drool from your chin and RTFA
Maybe this will be the year of Linux on the desktop
Hi,
since there's no particular use for it on Joe Doe's pc...
How to switch it *completely* off?
Thanks :)))
With great PowerShell comes great ResponsibilityShell.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
WHen you run powershell as an admin it can do bad things. Who would have thought? I wonder if Linux is vulnerable if someone is logged in as root?
Powershell is not enabled with an execution policy by default. It has to be enabled and most people do not even know what it is so this is no threat? At work we have a GPO that blocks powershell for any non AD admin.
http://saveie6.com/
Powershell has been used to carry out tasks, but we're not talking about PowerShell being exploited here. A pre-existing problem (be it an exploit used to deliver the script, or an ID 10 T problem) would have had to manifest, and you still need to escalate privileges to do something other than a temporary infection or encryption/ransom of the current user account.
Twinstiq, game news
PowerShell isn't a scripting language in the traditional sense -- it's a whole ecosystem that can expose the entire machine if you have the rights, and perform extremely complex stuff on the user's behalf. If you can convince someone to remove the execution protection and run a script you provide, it makes for a very easy malware-distribution utility because it can basically do anything the native OS can, call .NET code directly, grab data from URLs, have JSON conversations, remotely manage other machines on the network and so on. The out of box settings are to only run digitally signed scripts and not allow scripts to be run from remote locations, but it's very possible to just run "Set-ExecutionPolicy Unrestricted" and drop all the protections...then the code you run has all the rights your user account does.
I've mentioned this before, but PowerShell is one of those things that Windows admins are slowly adopting, simply because the alternatives have worked well in the past and are easy to get the basics down in. Those alternatives are disappearing on Windows, so there will be a phase where these kinds of attacks could be very prevalent. It's a little bit like TLS certificates for internal applications -- many admins I know will do the absolute minimum required to stop the browser from showing a certificate error, then run away screaming. And that kind of makes sense -- unless your job is web programming or you're a PKI expert, the details of certificates are very complex and not well documented in an easily digestible form. Like certificates, PowerShell has a really steep learning curve before you can do really useful stuff in it. The basics are easy, but learning to think of every command as returning objects rather than text output you have to play with is a big jump for some people. Makes perfect sense for developers, but less sense for IT people or cross-platform people used to dealing with files and text I/O streams.
Now more than 95% of PowerShell scripts analysed by Symantec researchers have been found to be malicious, with 111 threat families using PowerShell.
What scripts were they analyzing? I've got a bunch of Powershell scripts, and none of them are malicious.
I don't respond to AC's.
This is why i'll always respect Apple's decision to build OSX on top of FreeBSD. Apparently they tried to develop a core OS but came up short and 'settled' on BSD. IMO this was brilliant, use what work, don't reinvent the wheel, leverage the power and knowledge of unix! Why didn't Microsoft take this approach, it's like they always have to do it their way but their way ALWAYS ends up being inferior and bug laden. I recently installed git for windows, https://git-scm.com/download/w... it's beautiful, it comes with a whole working unix sub system, bash, ssh, vim, etc... I'm sure even that is superior to PowerShell. Of course I didn't RTFA and haven't used PowerShell, so i'm clueless as to it's actual features...
The ironic thing is that every time I try to learn PowerShell I can't get past all the security restrictions it puts on me!
Coder's Stone: The programming language quick ref for iPad
See subject regarding returning objects. Objects are just datastructures (here's your 'text' or other datatypes) w/ methods/functions "built-in" to them (classed as public/protected/private etc. (what they're noted as varies some between languages, but the point is the same in each)).
To access said data you do the std. Object.property (it's this way in modern object-oriented programming in MOST HLLs)
&
If you want to ACT on that data in that property, you can do so using a 'method' which to this day I call functions (or procedures as I come out of the procedural programming world, after 'inline code' before it)
So, depending on its datatype & IF it is exposed (not privatized) for your access or for access to other objects (classes are precursors to objects & can be public/protected/private/friend etc. depending on HOW you intend to use them & with what level of access & these classifications are just levels of access to their interior)?
Then, You can access AND manipulate it with functions BUILT INTO said object.
So, my next point (fairly important imo):
Technically "nothing else can" touch, say, OOP & especially protected/private classed object members + functions (or data), right?
WRONG!
Device drivers can touch ANYTHING IN MEMORY
(...& this imo is why rootkits are SO damn dangerous... they can pierce even OOP protections in memory due to running in a higher level of privelege access (why every program doesn't need a keyboard routine for instance? It's driver driven & STANDARDIZED)).
* Anyhow/anyways - It's not a "huge leap" - not really but imo you can overuse objects (each instance is iirc, an extra 475-900kb JUST to instance, not counting its datasize) bloating & EVEN SLOWING your code just like excessive error trapping can (sometimes, like anything, it can be overkill) & it's NOT that protective really in the end (vs. usermode things, yes, it's good... but see above in bold).
APK
P.S.=> I hope that 'came off' as not too much "geek speak" but I'd best most around here 'grok' that - I'd like some feedback in the driver/ring 0/rpl rootkit level protection item I noted above though (I'm PRETTY SURE I am right on it, & it's a potential security weakness of OOP)... apk
Wait until they find out about buffer overruns in C.
Just implement Bitlocker in Allow Mode on a system running PSv5 and you'll be much safer.
How about you don't run random code that you don't understand.
Screwing up your system by running someone else's scripts is not unique to Powershell (or MS in general).
Microsoft might take the brunt of the malicious code however, because their software is designed to be easy. Any screwball can stumble their way through adding users or DNS zones in AD's GUI and call themselves a sysadmin. The mental barrier to entry is low, so you'll end up with a higher percentage of idiots running Windows systems. If those same idiots knew how to CLI, they'd be admins for *nix systems, and writing their own code for Powershell on the windows side. But they don't. So they google "How to ... in Powershell," download the first .ps1 file they find and right-click Run as Admin.
This signature is false.
Powershell -- is that supposed to be irony?
I was operating from the viewpoint of what we work w/ mostly hybrid (NT-based Windows cores are like this) types) or monolithic (iirc, Linux uses this model instead) but I have heard in microkernel design that messagepassing increases (thru boundaries some of which you described & I also haven't heard of 'user-space drivers' since the Win9x days in .vxd's).
You seem to agree with the 'problem' OOP has in that sense, that rootkits (running in rpl 0/ring 0/kernelmode) introduce, piercing their memory access protection which yes, works internal to a program (via private/protected) & external to other programs running.
Thanks for confirming it to me.
APK
P.S.=> I've always wondered WHY we aren't using the other areas of the CPU as well (Ring 1/2) - is it another "messagepass overhead" issue as in the microkernel OS software-architecture one as well (I've heard that special diagnostics by mobo makers & cpu makers use them though - is this just bs rumor OR do you know if it's true?)?
One thing I'd LOVE to see is INTEL's "CET" introduced on that note (protection vs. buffer overflow style attacks via a 'shadow/mirror' stack in the CPU itself, read only to software running on it).
In any event, thanks for your answer & feedback on this last note too... apk
angelic voices all singing "ActiveX ActiveX ActiveX"
PowerShell is not just a scripting language, it has grown and is similar to Java. It is a powerful language.
We all know what happened to Java on desktops, UNINSTALLED. Java is a very good language and could have been used to fix system problems and even remove all types of malwares. But only criminals leveraged Java. Same will happen with PowerShell.
See subject question & I have a bit of a 'nitpick' of my own of myself - when I used function vs. procedure (functions have return values, procs don't, so I am clarifying that myself ON myself too, lol)
* :)
APK
P.S.=> I used those terms in my initial post & am clarifying that now in fact (I didn't there) since we're about the business of "nitpicking" my posts, lol... apk
See subject: That 'shatters an illusion' of mine then (long running one) - OOP's only for INTERNAL to program access protection.
APK
P.S.=> Well, "will wonders NEVER cease" - I labored under an illusion that OOP was protection that extended externally also... apk
See subject: Internal to itself it is security vs. corruption. Call stack tables can be found & even ASRL doesn't work vs. ROP gadget scanning.
* I knew this much...
APK
P.S.=> What I didn't realize is that OOP helps exactly ZERO vs. external interlopers even in USERMODE!
(Which is why I brought up rootkits operating as device drivers in KERNELMODE @ least (not bootsector originated type) can use "DMA" & can touch ANY memory (which is how/why keyboards & mice drivers exist to standardize it + so that every program doesn't have to create its own routines or summon libs to do so)... apk
See subject: Since we're doing it, I do it to myself too 2x, this is #2 - video drivers AFTER Windows NT 3.51 are in userspace iirc (DirectX accessing so they're near as fast as DMA direct memory accessing kernelmode ones) - so it's NOT just .vxd type in Windows ala Win9x had.
This definitely IS the case, proof being I do NOT have to reboot after installing video drivers for my GeForce 970!
(UGH - worst part is, I KNOW THIS STUFF, & am omitting fairly critical details... in a hurry here, never helps!)
* :)
("One must be CRITICAL of one's self too!")
APK
P.S.=> My other 'nitpick' of myself https://tech.slashdot.org/comm... was regarding the use of the terms function (has return types for result of finish checks usually) vs. procedure (has no return type) in my original post-> https://tech.slashdot.org/comm... so, there we are (thus, "if you can't laugh @ yourself, or 'pick on' yourself? You have no right to do so to others" - giving myself that right RIGHT now, by doing it to myself a 2nd time no less here now - lol, MAINLY so you guys don't catch it & do it me 1st (lol, always an "ulterior self-saving motive" here))... apk
See subject & https://tech.slashdot.org/comm... now, it's time to laugh @ you, unidentifiable anonymous!
Talk's cheap, have YOU done BETTER than this:
APK Hosts File Engine 9.0++ SR-4 32/64-bit https://www.google.com/search?hl=en&source=hp&biw=&bih=&q=%22APK+Hosts+File+Engine%22+and+%22start64%22&btnG=Google+Search&gbv=1/ ?
A free tool that gives folks more speed, security, reliability & anonymity for less doing more vs. other "so-called 'solutions'" (locally installed DNS/antivirus/addons) that are RIDDLED w/ security issues, full of security holes, & inefficient as hell!
* I've never seen software written by the "unidentifiable can't stand behind his bs words software company"!
APK
P.S.=> Well? Now, THIS will be good for a large laugh for me albeit @ YOUR expense - See, unlike you?
I'm actually able to SHOW a great tool that many 1,000's like (even /.'ers by the dozens) ACTUALLY DOING THE JOB PROVABLY HERE - can you??... apk
I think it is about time Microsoft got out of the software business and sticks to marketing.
Memory protection's run by a kernelmode subsystem separating processes but OOP functions inside a program vs. corruption of data (private/protected work that way amongst subroutines/procedures/functions in objects).
APK
P.S.=> Specifically virtual memmgt (as it's all "virtual" memory to the OS) as far as that kernelmode subsystem... apk
https://www.google.com/search?...
* Says it all for me right there #1 result as far as private/protected in OOP... encapsulation functions that way (
"They are access modifiers and help us implement Encapsulation (or information hiding) They tell the compiler which other classes should have access to the field or method being defined" - FROM - https://www.google.com/url?q=h...
+
"Private fields do, in some languages, provide certain forms of security" FROM http://softwareengineering.sta...
APK
P.S.=> You shouldn't have said what you did - you blew it (access modification for encapsulation IS about prevention of corruption)... apk
"Private fields do, in some languages, provide certain forms of security" FROM http://softwareengineering.stackexchange.com/questions/143736/why-do-we-need-private-variables/ & internal program security (which SHOULD also function to protect that data from unintended use from not only internal to object & program use, but also for DLL functions imported into the SAME memory space as well).
APK
P.S.=> Accept it - YOU fail (as always unidentifiable anonymous troll)... apk
See subject: It's all that counts (I'm right on OOP encapsulation providing security & don't 'bs' me: Post I replied to is giving me guff in it here + YES it IS you-> https://tech.slashdot.org/comments.pl?sid=9972801&cid=53489857/ & you ARE incorrect in it)
* I can't BELIEVE the bullshit you punks try...
APK
P.S.=> By the way - the post before that to which I also replied correcting their bullshit IS giving me shit even when I am correct so cut the crap-> https://tech.slashdot.org/comments.pl?sid=9972801&cid=53462979/ & all your UNIDENTIFIABLE TROLLING WORM BS is backfiring on you as usual, pitiful FUCK that you are... apk
See subject: It extends to functions/procedures used in objects not just variables! Some languages != default OOP (e.g. C) - those that are have private data protection vs. corruption internally!
(That IS a fact - give up & learn something about coding - I can easily prove I do via APK Hosts File Engine 9.0++ SR-4 32/64-bit https://www.google.com/search?... that /. users like & use + malwarebytes' hpHosts HOSTS & RECOMMENDS - not 1 single security issue or bug found in it since its public release in 2012 too & yes, it's OOP (Object Pascal)).
APK
P.S.=> You've got proof you've done the same or better? No - As I've never seen software written by "unidentifiable anonymous trolling "ne'er-do-well" worm company" that you are, lol... apk
See subject & https://tech.slashdot.org/comments.pl?sid=9972801&cid=53508657/ by encapsulation of data (+ access to functions/procedures) OOP provides.
APK
P.S.=> Vs. ROP scanning? No. Not even ASRL can prevent that but it does act as a delaying action... apk