PowerShell Used for Power Malware

Thursday, April 10, 2014 @ 05:04 PM gHale


A new and more sophisticated malware that uses Windows PowerShell scripts in an attempt to fly under the radar is now out and ready to attack.

The Windows PowerShell is a command-line shell and scripting environment designed for automating system and application administration tasks. It is in by default in Windows 7 and above, but old versions are also available for Windows XP as a separate package.

RELATED STORIES
Email Trojan Malware Within Malware
Attacks Continue from Compromised Sites
DDoS Attacks: ‘A Common Pain Point’
Execs Not Sharing Breach Info

The abuse of Windows PowerShell for malicious purposes is not new, but malware developers turned their focus to this feature, said researchers from Symantec and Trend Micro.

A malicious PowerShell script, which Symantec detects as Backdoor.Trojan, “has different layers of obfuscation and is able to inject malicious code into ‘rundll32.exe’ so it can hide itself in the computer while still running and acting like a back door,” Symantec security researcher Roberto Sponchioni said in a blog post.

When run, the script compiles and executes malicious code embedded into it on the fly. The compiled code then injects more malicious code into rundll32, a system process, in order to make detection harder.

The rogue code in rundll32 connects to a remote server and waits for instructions, which it then executes in a stealthy way, Sponchioni said.

In late March, security researchers from Trend Micro talked about a different threat that uses PowerShell scripts called CRIGENT or Power Worm.

CRIGENT arrives in malicious Word and Excel documents that get dropped by other malware and download additional components when opened, including the Tor anonymity software and Polipo Web proxy.

“A PowerShell script (detected as VBS_CRIGENT.LK or VBS_CRIGENT.SM) is downloaded which includes all the code necessary to carry out CRIGENT’s malicious behavior,” the Trend Micro researchers said in their blog post.

The PowerShell script also contains routines to infect clean Word and Excel documents with the malicious CRIGENT code, making the threat a self-propagating computer worm.

The combined use of Tor, Polipo, PowerShell and cloud storage services in this malware highlights the idea the bad guys want to use legitimate features in their attacks, the Trend Micro researchers said.

“Users should avoid running unknown PowerShell scripts and should not lower PowerShell’s default execution settings in order to prevent potential malicious scripts from executing,” the Symantec researchers said.



Leave a Reply

You must be logged in to post a comment.