Community detections
powershell.exe
138 community detection rules look for suspicious powershell.exe command lines, most often for PowerShell (T1059.001), System Binary Proxy Execution (T1218), T1685. WETNav has no switch-by-switch reference for it yet, so the explainer reads its arguments generically and checks them against these rules.
Rules by level
2 critical82 high49 medium5 low
What defenders look for
- CriticalSticky Key Like Backdoor Execution
Detects the usage and installation of a backdoor that uses an option to register a malicious debugger for built-in tools that are accessible in the login screen
T1546.008by Florian Roth (Nextron Systems), @twjackomo, Jonhnathan Ribeiro, oscd.community
- CriticalSuspicious Child Process Of Veeam Dabatase
Detects suspicious child processes of the Veeam service process. This could indicate potential RCE or SQL Injection.
by Nasreddine Bencherchali (Nextron Systems)
- HighAADInternals PowerShell Cmdlets Execution - ProccessCreation
Detects ADDInternals Cmdlet execution. A tool for administering Azure AD and Office 365. Which can be abused by threat actors to attack Azure AD or Office 365.
by Austin Songer (@austinsonger), Nasreddine Bencherchali (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems)
- HighAbused Debug Privilege by Arbitrary Parent Processes
Detection of unusual child processes by different system processes
T1548by Semanur Guneysu @semanurtg, oscd.community
- HighDisable Windows Defender AV Security Monitoring
Detects attackers attempting to disable Windows Defender using Powershell
T1685by ok @securonix invrep-de, oscd.community, frack113
- HighEmail Exifiltration Via Powershell
Detects email exfiltration via powershell cmdlets
by Nasreddine Bencherchali (Nextron Systems), Azure-Sentinel (idea)
- HighETW Trace Evasion Activity
Detects command line activity that attempts to tamper with Event Tracing for Windows (ETW) by clearing or disabling trace logs or providers. Adversaries may target ETW to blind security tooling and evade detection by removing visibility into process activity, network connections, and other telemetry sources.
T1070T1685by @neu5ron, Florian Roth (Nextron Systems), Jonhnathan Ribeiro, oscd.community
- HighExchange PowerShell Snap-Ins Usage
Detects adding and using Exchange PowerShell snap-ins to export mailbox data. As seen used by HAFNIUM and APT27
T1059.001T1114by FPT.EagleEye, Nasreddine Bencherchali (Nextron Systems)
- HighExecution of Powershell Script in Public Folder
This rule detects execution of PowerShell scripts located in the "C:\Users\Public" folder
T1059.001by Max Altgelt (Nextron Systems)
- HighHackTool - CrackMapExec PowerShell Obfuscation
The CrachMapExec pentesting framework implements a PowerShell obfuscation with some static strings detected by this rule.
T1059.001T1027.005by Thomas Patzke
- HighHTML Help HH.EXE Suspicious Child Process
Detects a suspicious child process of a Microsoft HTML Help (HH.exe)
T1047T1059.001T1059.003T1059.005by Maxim Pavlunin, Nasreddine Bencherchali (Nextron Systems)
- HighHypervisor-protected Code Integrity (HVCI) Related Registry Tampering Via CommandLine
Detects the tampering of Hypervisor-protected Code Integrity (HVCI) related registry values via command line tool reg.exe. HVCI uses virtualization-based security to protect code integrity by ensuring that only trusted code can run in kernel mode.
T1685by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighLOL-Binary Copied From System Directory
Detects a suspicious copy operation that tries to copy a known LOLBIN from system (System32, SysWOW64, WinSxS) directories to another on disk in order to bypass detections based on locations.
T1036.003by Nasreddine Bencherchali (Nextron Systems)
- HighMalicious Base64 Encoded PowerShell Keywords in Command Lines
Detects base64 encoded strings used in hidden malicious PowerShell command lines
T1059.001by John Lambert (rule)
- HighMMC Spawning Windows Shell
Detects a Windows command line executable started from MMC
T1021.003by Karneades, Swisscom CSIRT
- HighNet WebClient Casing Anomalies
Detects PowerShell command line contents that include a suspicious abnormal casing in the Net.Webclient (e.g. nEt.WEbCliEnT) string as used in obfuscation techniques
T1059.001by Florian Roth (Nextron Systems)
- HighObfuscated PowerShell MSI Install via WindowsInstaller COM
Detects the execution of obfuscated PowerShell commands that attempt to install MSI packages via the Windows Installer COM object (`WindowsInstaller.Installer`). The technique involves manipulating strings to hide functionality, such as constructing class names using string insertion (e.g., 'indowsInstaller.Installer'.Insert(0,'W')) and correcting malformed URLs (e.g., converting 'htps://' to…
T1027.010T1218.007T1059.001by Meroujan Antonyan (vx3r)
- HighObfuscated PowerShell OneLiner Execution
Detects the execution of a specific OneLiner to download and execute powershell modules in memory.
T1059.001T1685by @Kostastsale, TheDFIRReport
- HighOneNote.EXE Execution of Malicious Embedded Scripts
Detects the execution of malicious OneNote documents that contain embedded scripts. When a user clicks on a OneNote attachment and then on the malicious link inside the ".one" file, it exports and executes the malicious embedded script from specific directories.
T1218.001by @kostastsale
- HighPotential CommandLine Obfuscation Using Unicode Characters From Suspicious Image
Detects potential commandline obfuscation using unicode characters. Adversaries may attempt to make an executable or file difficult to discover or analyze by encrypting, encoding, or otherwise obfuscating its contents on the system or in transit.
T1027by frack113, Florian Roth (Nextron Systems), Josh Nickels
- HighPotential Data Exfiltration Activity Via CommandLine Tools
Detects the use of various CLI utilities exfiltrating data via web requests
T1059.001by Nasreddine Bencherchali (Nextron Systems)
- HighPotential Defense Evasion Via Rename Of Highly Relevant Binaries
Detects the execution of a renamed binary often used by attackers or malware leveraging new Sysmon OriginalFileName datapoint.
T1036.003by Matthew Green - @mgreen27, Florian Roth (Nextron Systems), frack113
- HighPotential PowerShell Command Line Obfuscation
Detects the PowerShell command lines with special characters
T1027T1059.001by Teymur Kheirkhabarov (idea), Vasiliy Burov (rule), oscd.community, Tim Shelton (fp)
- HighPotential PowerShell Obfuscation Via Reversed Commands
Detects the presence of reversed PowerShell commands in the CommandLine. This is often used as a method of obfuscation by attackers
T1027T1059.001by Teymur Kheirkhabarov (idea), Vasiliy Burov (rule), oscd.community, Tim Shelton
- HighPotential Powershell ReverseShell Connection
Detects usage of the "TcpClient" class. Which can be abused to establish remote connections and reverse-shells. As seen used by the Nishang "Invoke-PowerShellTcpOneLine" reverse shell and other.
T1059.001by FPT.EagleEye, wagga, Nasreddine Bencherchali (Nextron Systems)
- HighPotentially Suspicious Child Process Of Regsvr32
Detects potentially suspicious child processes of "regsvr32.exe".
T1218.010by elhoim, Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
- HighPotentially Suspicious Child Processes Spawned by ConHost
Detects suspicious child processes related to Windows Shell utilities spawned by `conhost.exe`, which could indicate malicious activity using trusted system components.
T1202T1218by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighPotentially Suspicious Execution From Parent Process In Public Folder
Detects a potentially suspicious execution of a parent process located in the "\Users\Public" folder executing a child process containing references to shell or scripting binaries and commandlines.
T1564T1059by Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
- HighPotentially Suspicious File Download From File Sharing Domain Via PowerShell.EXE
Detects potentially suspicious file downloads from file sharing domains using PowerShell.exe
by Nasreddine Bencherchali (Nextron Systems)
- HighPowerShell Base64 Encoded Invoke Keyword
Detects UTF-8 and UTF-16 Base64 encoded powershell 'Invoke-' calls
T1059.001T1027by pH-T (Nextron Systems), Harjot Singh, @cyb3rjy0t
- HighPowerShell Base64 Encoded WMI Classes
Detects calls to base64 encoded WMI class such as "Win32_ShadowCopy", "Win32_ScheduledJob", etc.
T1059.001T1027by Christian Burkard (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
- HighPowerShell Dynamic Module Invocation Via ExportedCommands Array Index
Detects PowerShell processes invoked with obfuscated command lines that enumerate Microsoft.PowerShell.Utility exported commands and invoke cmdlets indirectly by array index. This technique is used to evade detections that look for explicit strings such as Invoke-RestMethod or Invoke-Expression.
T1027.010T1059.001by Norbert Jaśniewicz (AlphaSOC), Swachchhanda Shrawan Poudel (Nextron Systems)
- HighPowerShell Execution With Potential Decryption Capabilities
Detects PowerShell commands that decrypt an ".LNK" "file to drop the next stage of the malware.
by X__Junior (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
- HighPowerShell Script Change Permission Via Set-Acl
Detects PowerShell execution to set the ACL of a file or a folder
by Nasreddine Bencherchali (Nextron Systems)
- HighPowerShell Set-Acl On Windows Folder
Detects PowerShell scripts to set the ACL to a file in the Windows folder
by Nasreddine Bencherchali (Nextron Systems)
- HighPrivilege Escalation via Named Pipe Impersonation
Detects a remote file copy attempt to a hidden network share. This may indicate lateral movement or data staging activity.
T1021by Tim Rauch, Elastic (idea)
- HighRun PowerShell Script from ADS
Detects PowerShell script execution from Alternate Data Stream (ADS)
T1564.004by Sergey Soldatov, Kaspersky Lab, oscd.community
- HighRun PowerShell Script from Redirected Input Stream
Detects PowerShell script execution via input stream redirect
T1059by Moriarty Meng (idea), Anton Kutepov (rule), oscd.community
- HighScript Event Consumer Spawning Process
Detects a suspicious child process of Script Event Consumer (scrcons.exe).
T1047by Sittikorn S
- HighScript Interpreter Execution From Suspicious Folder
Detects suspicious script execution from suspicious directories or folders accessible by environment variables that may indicate malware activity. Script interpreters (cscript, wscript, mshta, powershell) executing from folders like Temp, Public, or user profile directories may suggest attempts to evade detection or execute malicious scripts.
T1059by Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
- HighSdiagnhost Calling Suspicious Child Process
Detects sdiagnhost.exe calling a suspicious child process (e.g. used in exploits for Follina / CVE-2022-30190)
T1036T1218by Nextron Systems, @Kostastsale
- HighSecurity Event Logging Disabled via MiniNt Registry Key - Process
Detects attempts to disable security event logging by adding the `MiniNt` registry key. This key is used to disable the Windows Event Log service, which collects and stores event logs from the operating system and applications. Adversaries may want to disable this service to prevent logging of security events that could be used to detect their activities.
T1685.001T1112by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighShadow Copies Deletion Using Operating Systems Utilities
Shadow Copies deletion using operating systems utilities
T1070T1490by Florian Roth (Nextron Systems), Michael Haag, Teymur Kheirkhabarov, Daniil Yugoslavskiy, oscd.community, Andreas Hunkeler (@Karneades)
- HighSuspicious ArcSOC.exe Child Process
Detects script interpreters, command-line tools, and similar suspicious child processes of ArcSOC.exe. ArcSOC.exe is the process name which hosts ArcGIS Server REST services. If an attacker compromises an ArcGIS Server system and uploads a malicious Server Object Extension (SOE), they can send crafted requests to the corresponding service endpoint and remotely execute code from the ArcSOC.exe…
T1059T1203by Micah Babinski
- HighSuspicious BitLocker Access Agent Update Utility Execution
Detects the execution of the BitLocker Access Agent Update Utility (baaupdate.exe) which is not a common parent process for other processes. Suspicious child processes spawned by baaupdate.exe could indicate an attempt at lateral movement via BitLocker DCOM & COM Hijacking.
T1218T1021.003by andrewdanis, Swachchhanda Shrawan Poudel (Nextron Systems)
- HighSuspicious Child Process Of BgInfo.EXE
Detects suspicious child processes of "BgInfo.exe" which could be a sign of potential abuse of the binary to proxy execution via external VBScript
T1059.005T1218T1202by Nasreddine Bencherchali (Nextron Systems)
- HighSuspicious Child Process Of Manage Engine ServiceDesk
Detects suspicious child processes of the "Manage Engine ServiceDesk Plus" Java web service
T1102by Florian Roth (Nextron Systems)
- HighSuspicious Child Process of Notepad++ Updater - GUP.Exe
Detects suspicious child process creation by the Notepad++ updater process (gup.exe). This could indicate potential exploitation of the updater component to deliver unwanted malware.
T1195.002T1557by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighSuspicious Child Process Of SQL Server
Detects suspicious child processes of the SQLServer process. This could indicate potential RCE or SQL Injection.
T1505.003T1190by FPT.EagleEye Team, wagga
- HighSuspicious Child Process Of Wermgr.EXE
Detects suspicious Windows Error Reporting manager (wermgr.exe) child process
T1055T1036by Florian Roth (Nextron Systems)
- HighSuspicious Encoded PowerShell Command Line
Detects suspicious powershell process starts with base64 encoded commands (e.g. Emotet)
T1059.001by Florian Roth (Nextron Systems), Markus Neis, Jonhnathan Ribeiro, Daniil Yugoslavskiy, Anton Kutepov, oscd.community
- HighSuspicious Eventlog Clearing or Configuration Change Activity
Detects the clearing or configuration tampering of EventLog using utilities such as "wevtutil", "powershell" and "wmic". This technique were seen used by threat actors and ransomware strains in order to evade defenses.
T1685.005T1685.001by Ecco, Daniil Yugoslavskiy, oscd.community, D3F7A5105, Swachchhanda Shrawan Poudel (Nextron Systems)
- HighSuspicious IIS Module Registration
Detects a suspicious IIS module registration as described in Microsoft threat report on IIS backdoors
T1505.004by Florian Roth (Nextron Systems), Microsoft (idea)
- HighSuspicious Invoke-WebRequest Execution
Detects a suspicious call to Invoke-WebRequest cmdlet where the and output is located in a suspicious location
T1105by Nasreddine Bencherchali (Nextron Systems)
- HighSuspicious Kerberos Ticket Request via CLI
Detects suspicious Kerberos ticket requests via command line using System.IdentityModel.Tokens.KerberosRequestorSecurityToken class. Threat actors may use command line interfaces to request Kerberos tickets for service accounts in order to perform offline password cracking attacks commonly known as Kerberoasting or other Kerberos ticket abuse techniques like silver ticket attacks.
T1558.003by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighSuspicious Microsoft Office Child Process
Detects a suspicious process spawning from one of the Microsoft Office suite products (Word, Excel, PowerPoint, Publisher, Visio, etc.)
T1047T1204.002T1218.010by Florian Roth (Nextron Systems), Markus Neis, FPT.EagleEye Team, Vadim Khrykov, Cyb3rEng, Michael Haag, Christopher Peacock @securepeacock, @scythe_io
- HighSuspicious Microsoft OneNote Child Process
Detects suspicious child processes of the Microsoft OneNote application. This may indicate an attempt to execute malicious embedded objects from a .one file.
T1566T1566.001by Tim Rauch (Nextron Systems), Nasreddine Bencherchali (Nextron Systems), Elastic (idea)
- HighSuspicious MSHTA Child Process
Detects a suspicious process spawning from an "mshta.exe" process, which could be indicative of a malicious HTA script execution
T1218.005by Michael Haag
- HighSuspicious Outlook Child Process
Detects a suspicious process spawning from an Outlook process.
T1204.002by Michael Haag, Florian Roth (Nextron Systems), Markus Neis, Elastic, FPT.EagleEye Team
- HighSuspicious PowerShell Encoded Command Patterns
Detects PowerShell command line patterns in combincation with encoded commands that often appear in malware infection chains
T1059.001by Florian Roth (Nextron Systems)
- HighSuspicious PowerShell IEX Execution Patterns
Detects suspicious ways to run Invoke-Execution using IEX alias
T1059.001by Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
- HighSuspicious PowerShell Parameter Substring
Detects suspicious PowerShell invocation with a parameter substring
T1059.001by Florian Roth (Nextron Systems), Daniel Bohannon (idea), Roberto Rodriguez (Fix)
- HighSuspicious PowerShell Parent Process
Detects a suspicious or uncommon parent processes of PowerShell
T1059.001by Teymur Kheirkhabarov, Harish Segar
- HighSuspicious Process By Web Server Process
Detects potentially suspicious processes being spawned by a web server process which could be the result of a successfully placed web shell or exploitation
T1505.003T1190by Thomas Patzke, Florian Roth (Nextron Systems), Zach Stanford @svch0st, Tim Shelton, Nasreddine Bencherchali (Nextron Systems)
- HighSuspicious Processes Spawned by WinRM
Detects suspicious processes including shells spawnd from WinRM host process
T1190by Andreas Hunkeler (@Karneades), Markus Neis
- HighSuspicious Provlaunch.EXE Child Process
Detects suspicious child processes of "provlaunch.exe" which might indicate potential abuse to proxy execution.
T1218by Nasreddine Bencherchali (Nextron Systems)
- HighSuspicious Serv-U Process Pattern
Detects a suspicious process pattern which could be a sign of an exploited Serv-U service
T1555by Florian Roth (Nextron Systems)
- HighSuspicious ShellExec_RunDLL Call Via Ordinal
Detects suspicious call to the "ShellExec_RunDLL" exported function of SHELL32.DLL through the ordinal number to launch other commands. Adversary might only use the ordinal number in order to bypass existing detection that alert on usage of ShellExec_RunDLL on CommandLine.
T1218.011by Swachchhanda Shrawan Poudel
- HighSuspicious Shells Spawn by Java Utility Keytool
Detects suspicious shell spawn from Java utility keytool process (e.g. adselfservice plus exploitation)
by Andreas Hunkeler (@Karneades)
- HighSuspicious Spool Service Child Process
Detects suspicious print spool service (spoolsv.exe) child processes.
T1203T1068by Justin C. (@endisphotic), @dreadphones (detection), Thomas Patzke (Sigma rule)
- HighSuspicious Uninstall of Windows Defender Feature via PowerShell
Detects the use of PowerShell with Uninstall-WindowsFeature or Remove-WindowsFeature cmdlets to disable or remove the Windows Defender GUI feature, a common technique used by adversaries to evade defenses.
T1685by yxinmiracle
- HighSuspicious Velociraptor Child Process
Detects the suspicious use of the Velociraptor DFIR tool to execute other tools or download additional payloads, as seen in a campaign where it was abused for remote access and to stage further attacks.
T1219by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighSuspicious Windows Service Tampering
Detects the usage of binaries such as 'net', 'sc' or 'powershell' in order to stop, pause, disable or delete critical or important Windows services such as AV, Backup, etc. As seen being used in some ransomware scripts
T1489T1685by Nasreddine Bencherchali (Nextron Systems), frack113 , X__Junior (Nextron Systems)
- HighSuspicious WSL InstallLocation Registry Key Modification Via CommandLine
Detects the use of reg.exe or PowerShell to modify the WSL InstallLocation registry key via command-line arguments. Legitimate modifications to this key are performed exclusively by the Windows Installer (msiexec.exe) during WSL package installation or update. Manual use of reg.exe or PowerShell to set this value strongly indicates an attempt to redirect WSL execution to a malicious binary.
T1112T1218by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighSystem File Execution Location Anomaly
Detects the execution of a Windows system binary that is usually located in the system folder from an uncommon location.
T1036by Florian Roth (Nextron Systems), Patrick Bareiss, Anton Kutepov, oscd.community, Nasreddine Bencherchali (Nextron Systems)
- HighSystem Restore Registry Modification via CommandLine
Detects system restore registry modification via command line, which can be used by adversaries to disable system restore on the computer.
T1490by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighUser Shell Folders Registry Modification via CommandLine
Detects modifications to User Shell Folders registry values via reg.exe or PowerShell, which could indicate persistence attempts. Attackers may modify User Shell Folders registry values to point to malicious executables or scripts that will be executed during startup.
T1547.001T1112by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighVMToolsd Suspicious Child Process
Detects suspicious child process creations of VMware Tools process which may indicate persistence setup
T1059by bohops, Bhabesh Raj
- HighVulnerable Driver Blocklist Registry Tampering Via CommandLine
Detects tampering of the Vulnerable Driver Blocklist registry via command line tools such as PowerShell or REG.EXE. The Vulnerable Driver Blocklist is a security feature that helps prevent the loading of known vulnerable drivers.
T1685by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighWebshell Detection With Command Line Keywords
Detects certain command line parameters often used during reconnaissance activity via web shells
T1505.003T1018T1033T1087by Florian Roth (Nextron Systems), Jonhnathan Ribeiro, Anton Kutepov, oscd.community, Chad Hudson, Matt Anderson
- HighWindows AMSI Related Registry Tampering Via CommandLine
Detects tampering of AMSI (Anti-Malware Scan Interface) related registry values via command line tools such as reg.exe or PowerShell. AMSI provides a generic interface for applications and services to integrate with antimalware products. Adversaries may disable AMSI to evade detection of malicious scripts and code execution.
T1685by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighWindows Credential Guard Registry Tampering Via CommandLine
Detects attempts to add, modify, or delete Windows Credential Guard related registry keys or values via command line tools such as Reg.exe or PowerShell. Credential Guard uses virtualization-based security to isolate secrets so that only privileged system software can access them.
T1685by Swachchhanda Shrawan Poudel (Nextron Systems)
- HighWindows Defender Context Menu Removed
Detects the use of reg.exe or PowerShell to delete the Windows Defender context menu handler registry keys. This action removes the "Scan with Microsoft Defender" option from the right-click menu for files, directories, and drives. Attackers may use this technique to hinder manual, on-demand scans and reduce the visibility of the security product.
T1685by Matt Anderson (Huntress)
- HighWindows EventLog Autologger Session Registry Modification Via CommandLine
Detects attempts to disable Windows EventLog autologger sessions via registry modification. The AutoLogger event tracing session records events that occur early in the operating system boot process. Applications and device drivers can use the AutoLogger session to capture traces before the user logs in.
T1685.001by Swachchhanda Shrawan Poudel (Nextron Systems)
- MediumAdd Windows Capability Via PowerShell Cmdlet
Detects usage of the "Add-WindowsCapability" cmdlet to add Windows capabilities. Notable capabilities could be "OpenSSH" and others.
by Nasreddine Bencherchali (Nextron Systems)
- MediumAlways Install Elevated MSI Spawned Cmd And Powershell
Detects Windows Installer service (msiexec.exe) spawning "cmd" or "powershell"
T1548.002by Teymur Kheirkhabarov (idea), Mangatas Tondang (rule), oscd.community
- MediumChange PowerShell Policies to an Insecure Level
Detects changing the PowerShell script execution policy to a potentially insecure level using the "-ExecutionPolicy" flag.
T1059.001by frack113
- MediumComputer Discovery And Export Via Get-ADComputer Cmdlet
Detects usage of the Get-ADComputer cmdlet to collect computer information and output it to a file
T1033by Nasreddine Bencherchali (Nextron Systems)
- MediumConvertTo-SecureString Cmdlet Usage Via CommandLine
Detects usage of the "ConvertTo-SecureString" cmdlet via the commandline. Which is fairly uncommon and could indicate potential suspicious activity
T1027T1059.001by Teymur Kheirkhabarov (idea), Vasiliy Burov (rule), oscd.community, Tim Shelton
- MediumCopy From Or To Admin Share Or Sysvol Folder
Detects a copy command or a copy utility execution to or from an Admin share or remote
T1039T1048T1021.002by Florian Roth (Nextron Systems), oscd.community, Teymur Kheirkhabarov @HeirhabarovT, Zach Stanford @svch0st, Nasreddine Bencherchali
- MediumCscript/Wscript Potentially Suspicious Child Process
Detects potentially suspicious child processes of Wscript/Cscript. These include processes such as rundll32 with uncommon exports or PowerShell spawning rundll32 or regsvr32. Malware such as Pikabot and Qakbot were seen using similar techniques as well as many others.
by Nasreddine Bencherchali (Nextron Systems), Alejandro Houspanossian ('@lekz86')
- MediumElevated System Shell Spawned From Uncommon Parent Location
Detects when a shell program such as the Windows command prompt or PowerShell is launched with system privileges from a uncommon parent location.
T1059by frack113, Tim Shelton (update fp)
- MediumExecute Code with Pester.bat
Detects code execution via Pester.bat (Pester - Powershell Modulte for testing)
T1059.001T1216by Julia Fomina, oscd.community
- MediumIIS WebServer Log Deletion via CommandLine Utilities
Detects attempts to delete Internet Information Services (IIS) log files via command line utilities, which is a common defense evasion technique used by attackers to cover their tracks. Threat actors often abuse vulnerabilities in web applications hosted on IIS servers to gain initial access and later delete IIS logs to evade detection.
T1070by Swachchhanda Shrawan Poudel (Nextron Systems)
- MediumLSA PPL Protection Setting Modification via CommandLine
Detects modification of LSA PPL protection settings via CommandLine. It may indicate an attempt to disable protection and enable credential dumping tools to access LSASS process memory.
T1689by Florian Roth (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems)
- MediumNew DMSA Service Account Created in Specific OUs
Detects the creation of a dMSASvc account using the New-ADServiceAccount cmdlet in certain OUs. The fact that the Cmdlet is used to create a dMSASvc account in a specific OU is highly suspicious. It is a pattern trying to exploit the BadSuccessor privilege escalation vulnerability in Windows Server 2025.
T1078.002T1098by Swachchhanda Shrawan Poudel (Nextron Systems)
- MediumNew User Account Creation Attempt Via ADSI in CommandLine
Detects PowerShell command line arguments containing ADSI (Active Directory Service Interfaces) patterns trying to create a new user account via the WinNT or LDAP provider. This is an uncommon method to create user accounts and may indicate an attempt to evade detection by avoiding more commonly monitored commands such as "net user", "New-LocalUser" or "New-ADUser".
T1136.001T1136.002by William Gokah (idea), Raylee Hawkins, Swachchhanda Shrawan Poudel (Nextron Systems)
- MediumPotential Active Directory Enumeration Using AD Module - ProcCreation
Detects usage of the "Import-Module" cmdlet to load the "Microsoft.ActiveDirectory.Management.dl" DLL. Which is often used by attackers to perform AD enumeration.
by frack113
- MediumPotential PowerShell Downgrade Attack
Detects PowerShell downgrade attack by comparing the host versions with the actually used engine version 2.0
T1059.001by Harish Segar (rule)
- MediumPotential Provlaunch.EXE Binary Proxy Execution Abuse
Detects child processes of "provlaunch.exe" which might indicate potential abuse to proxy execution.
T1218by Nasreddine Bencherchali (Nextron Systems), Swachchhanda Shrawan Poudel
- MediumPotential Script Proxy Execution Via CL_Mutexverifiers.ps1
Detects the use of the Microsoft signed script "CL_mutexverifiers" to proxy the execution of additional PowerShell script commands
T1216by Nasreddine Bencherchali (Nextron Systems), oscd.community, Natalia Shornikova, frack113
- MediumPotential WMI Lateral Movement WmiPrvSE Spawned PowerShell
Detects Powershell as a child of the WmiPrvSE process. Which could be a sign of lateral movement via WMI.
T1047T1059.001by Markus Neis @Karneades
- MediumPotentially Suspicious Child Process Of ClickOnce Application
Detects potentially suspicious child processes of a ClickOnce deployment application
by Nasreddine Bencherchali (Nextron Systems)
- MediumPotentially Suspicious Child Process Of DiskShadow.EXE
Detects potentially suspicious child processes of "Diskshadow.exe". This could be an attempt to bypass parent/child relationship detection or application whitelisting rules.
T1218by Nasreddine Bencherchali (Nextron Systems)
- MediumPotentially Suspicious Child Process of KeyScrambler.exe
Detects potentially suspicious child processes of KeyScrambler.exe
T1203T1574.001by Swachchhanda Shrawan Poudel
- MediumPotentially Suspicious Child Process Of VsCode
Detects uncommon or suspicious child processes spawning from a VsCode "code.exe" process. This could indicate an attempt of persistence via VsCode tasks or terminal profiles.
T1218T1202by Nasreddine Bencherchali (Nextron Systems)
- MediumPotentially Suspicious Child Process Of WinRAR.EXE
Detects potentially suspicious child processes of WinRAR.exe.
T1203by Nasreddine Bencherchali (Nextron Systems)
- MediumPotentially Suspicious NTFS Symlink Behavior Modification
Detects the modification of NTFS symbolic link behavior using fsutil, which could be used to enable remote to local or remote to remote symlinks for potential attacks.
T1059T1222.001by frack113, The DFIR Report
- MediumPotentially Suspicious Powershell Script Execution From Temp Folder
Detects a potentially suspicious powershell script executions from temporary folder
T1059.001by Florian Roth (Nextron Systems), Max Altgelt (Nextron Systems), Tim Shelton
- MediumPotentially Suspicious WebDAV LNK Execution
Detects possible execution via LNK file accessed on a WebDAV server.
T1059.001T1204by Micah Babinski
- MediumPotentially Suspicious Windows App Activity
Detects potentially suspicious child process of applications launched from inside the WindowsApps directory. This could be a sign of a rogue ".appx" package installation/execution
by Nasreddine Bencherchali (Nextron Systems)
- MediumPowerShell Download Pattern
Detects a Powershell process that contains download commands in its command line string
T1059.001by Florian Roth (Nextron Systems), oscd.community, Jonhnathan Ribeiro
- MediumPowerShell MSI Install via WindowsInstaller COM From Remote Location
Detects the execution of PowerShell commands that attempt to install MSI packages via the Windows Installer COM object (`WindowsInstaller.Installer`) hosted remotely. This could be indication of malicious software deployment or lateral movement attempts using Windows Installer functionality.
T1059.001T1218T1105by Meroujan Antonyan (vx3r)
- MediumPrivate Keys Reconnaissance Via CommandLine Tools
Adversaries may search for private key certificate files on compromised systems for insecurely stored credential
T1552.004by frack113, Nasreddine Bencherchali (Nextron Systems)
- MediumRDP Enable or Disable via Win32_TerminalServiceSetting WMI Class
Detects enabling or disabling of Remote Desktop Protocol (RDP) using alternate methods such as WMIC or PowerShell. In PowerShell one-liner commands, the "SetAllowTSConnections" method of the "Win32_TerminalServiceSetting" class may be used to enable or disable RDP. In WMIC, the "rdtoggle" alias or "Win32_TerminalServiceSetting" class may be used for the same purpose.
T1021.001T1047by Daniel Koifman (KoifSec), Swachchhanda Shrawan Poudel (Nextron Systems)
- MediumRegistry Modification of MS-settings Protocol Handler
Detects registry modifications to the 'ms-settings' protocol handler, which is frequently targeted for UAC bypass or persistence. Attackers can modify this registry to execute malicious code with elevated privileges by hijacking the command execution path.
T1548.002T1546.001T1112by frack113, Swachchhanda Shrawan Poudel (Nextron Systems)
- MediumRemote Access Tool - MeshAgent Command Execution via MeshCentral
Detects the use of MeshAgent to execute commands on the target host, particularly when threat actors might abuse it to execute commands directly. MeshAgent can execute commands on the target host by leveraging win-console to obscure their activities and win-dispatcher to run malicious code through IPC with child processes.
T1219.002by @Kostastsale
- MediumRemote Access Tool - ScreenConnect Potential Suspicious Remote Command Execution
Detects potentially suspicious child processes launched via the ScreenConnect client service.
T1219.002by Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems), @Kostastsale
- MediumService StartupType Change Via PowerShell Set-Service
Detects the use of the PowerShell "Set-Service" cmdlet to change the startup type of a service to "disabled" or "manual"
T1685by Nasreddine Bencherchali (Nextron Systems)
- MediumShadow Copies Creation Using Operating Systems Utilities
Shadow Copies creation using operating systems utilities, possible credential access
T1003T1003.002T1003.003by Teymur Kheirkhabarov, Daniil Yugoslavskiy, oscd.community
- MediumShell Process Spawned by Java.EXE
Detects shell spawned from Java host process, which could be a sign of exploitation (e.g. log4j exploitation)
by Andreas Hunkeler (@Karneades), Nasreddine Bencherchali
- MediumSuspicious Copy From or To System Directory
Detects a suspicious copy operation that tries to copy a program from system (System32, SysWOW64, WinSxS) directories to another on disk. Often used to move LOLBINs such as 'certutil' or 'desktopimgdownldr' to a different location with a different name in order to bypass detections based on locations.
T1036.003by Florian Roth (Nextron Systems), Markus Neis, Tim Shelton (HAWK.IO), Nasreddine Bencherchali (Nextron Systems)
- MediumSuspicious Electron Application Child Processes
Detects suspicious child processes of electron apps (teams, discord, slack, etc.). This could be a potential sign of ".asar" file tampering (See reference section for more information) or binary execution proxy through specific CLI arguments (see related rule)
by Nasreddine Bencherchali (Nextron Systems)
- MediumSuspicious Execution of Powershell with Base64
Commandline to launch powershell with a base64 payload
T1059.001by frack113
- MediumSuspicious Invoke-WebRequest Execution With DirectIP
Detects calls to PowerShell with Invoke-WebRequest cmdlet using direct IP access
T1105by Nasreddine Bencherchali (Nextron Systems)
- MediumSuspicious MsiExec Embedding Parent
Adversaries may abuse msiexec.exe to proxy the execution of malicious payloads
T1218.007by frack113
- MediumSuspicious PowerShell Invocation From Script Engines
Detects suspicious powershell invocations from interpreters or unusual programs
T1059.001by Florian Roth (Nextron Systems)
- MediumSuspicious XOR Encoded PowerShell Command
Detects presence of a potentially xor encoded powershell command
T1059.001T1140T1027by Sami Ruohonen, Harish Segar, Tim Shelton, Teymur Kheirkhabarov, Vasiliy Burov, oscd.community, Nasreddine Bencherchali
- MediumUnsigned AppX Installation Attempt Using Add-AppxPackage
Detects usage of the "Add-AppxPackage" or it's alias "Add-AppPackage" to install unsigned AppX packages
by Nasreddine Bencherchali (Nextron Systems)
- MediumUser Discovery And Export Via Get-ADUser Cmdlet
Detects usage of the Get-ADUser cmdlet to collect user information and output it to a file
T1033by Nasreddine Bencherchali (Nextron Systems)
- MediumVisual Studio Code Tunnel Shell Execution
Detects the execution of a shell (powershell, bash, wsl...) via Visual Studio Code tunnel. Attackers can abuse this functionality to establish a C2 channel and execute arbitrary commands on the system.
T1071.001by Nasreddine Bencherchali (Nextron Systems)
- MediumWindows Firewall Disabled via PowerShell
Detects attempts to disable the Windows Firewall using PowerShell
T1685by Tim Rauch, Elastic (idea)
- MediumWSL Child Process Anomaly
Detects uncommon or suspicious child processes spawning from a WSL process. This could indicate an attempt to evade parent/child relationship detections or persistence attempts via cron using WSL
T1218T1202by Nasreddine Bencherchali (Nextron Systems)
- LowNon Interactive PowerShell Process Spawned
Detects non-interactive PowerShell activity by looking at the "powershell" process with a non-user GUI process such as "explorer.exe" as a parent.
T1059.001by Roberto Rodriguez @Cyb3rWard0g (rule), oscd.community (improvements)
- LowPotential Encoded PowerShell Patterns In CommandLine
Detects specific combinations of encoding methods in PowerShell via the commandline
T1027T1059.001by Teymur Kheirkhabarov (idea), Vasiliy Burov (rule), oscd.community, Tim Shelton
- LowPowerShell AppLocker Policy Discovery Via Get-AppLockerPolicy
Detects AppLocker policy enumeration attempts via PowerShell using the Get-AppLockerPolicy cmdlet and an policy scope of either Effective, LDAP, or Local.
T1518.001by Tom3306
- LowStop Windows Service Via PowerShell Stop-Service
Detects the stopping of a Windows service via the PowerShell Cmdlet "Stop-Service"
T1489by Jakob Weinzettl, oscd.community, Nasreddine Bencherchali (Nextron Systems)
- LowSystem Information Discovery via Registry Queries
Detects attempts to query system information directly from the Windows Registry.
T1082by lazarg
Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.
Questions
- Is powershell.exe malicious?
- Not by itself. These rules flag specific ways of running it: 138 rules, 84 rated high or critical. Sticky Key Like Backdoor Execution; Suspicious Child Process Of Veeam Dabatase; AADInternals PowerShell Cmdlets Execution - ProccessCreation. Judge a run by its command line, its parent process, the account and the host.
- What does powershell.exe have to do with ATT&CK?
- The rules for it map to PowerShell (T1059.001), System Binary Proxy Execution (T1218), T1685, Obfuscated Files or Information (T1027).
- How do I check a powershell.exe command line?
- Paste it into the WETNav command explainer. It reads every argument, pulls out indicators and evaluates all 1,192 Sigma process creation rules in your browser, including these.