Potential PowerShell Execution Via DLL
Last updated on:
In this page
About the rule
Rule Type
Standard
Rule Description
Detects potential PowerShell execution from a DLL instead of the usual PowerShell process as seen used in PowerShdll. This detection assumes that PowerShell commands are passed via the CommandLine.
Severity
Trouble
Rule Requirement
Criteria
Action1: actionname = "Process started" AND (PROCESSNAME endswith "\InstallUtil.exe,\RegAsm.exe,\RegSvcs.exe,\regsvr32.exe,\rundll32.exe" OR ORIGINALFILENAME = "InstallUtil.exe,RegAsm.exe,RegSvcs.exe,REGSVR32.EXE,RUNDLL32.EXE") AND COMMANDLINE contains "Default.GetString,DownloadString,FromBase64String,ICM ,IEX ,Invoke-Command,Invoke-Expression" select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME
Detection
Execution Mode
realtime
Log Sources
Windows
Author
Markus Neis, Nasreddine Bencherchali (Nextron Systems)


