Community detections
appcmd.exe
4 community detection rules look for suspicious appcmd.exe command lines, most often for OS Credential Dumping (T1003), Web Shell (T1505.003), T1685.001. WETNav has no switch-by-switch reference for it yet, so the explainer reads its arguments generically and checks them against these rules.
What defenders look for
- HighDisable Windows IIS HTTP Logging
Disables HTTP logging on a Windows IIS web server as seen by Threat Group 3390 (Bronze Union)
T1685.001by frack113
- HighMicrosoft IIS Service Account Password Dumped
Detects the Internet Information Services (IIS) command-line tool, AppCmd, being used to list passwords
T1003by Tim Rauch, Janantha Marasinghe, Elastic (original idea)
- MediumIIS Native-Code Module Command Line Installation
Detects suspicious IIS native-code module installations via command line
T1505.003by Florian Roth (Nextron Systems)
- MediumSuspicious IIS URL GlobalRules Rewrite Via AppCmd
Detects usage of "appcmd" to create new global URL rewrite rules. This behaviour has been observed being used by threat actors to add new rules so they can access their webshells.
by Nasreddine Bencherchali (Nextron Systems)
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 appcmd.exe malicious?
- Not by itself. These rules flag specific ways of running it: 4 rules, 2 rated high or critical. Disable Windows IIS HTTP Logging; Microsoft IIS Service Account Password Dumped; IIS Native-Code Module Command Line Installation. Judge a run by its command line, its parent process, the account and the host.
- What does appcmd.exe have to do with ATT&CK?
- The rules for it map to OS Credential Dumping (T1003), Web Shell (T1505.003), T1685.001.
- How do I check a appcmd.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.