Suspicious IIS URL GlobalRules Rewrite Via AppCmd
Description
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.
Query · sigma
selection_img: - Image|endswith: \appcmd.exe - OriginalFileName: appcmd.exe selection_cli: CommandLine|contains|all: - set - config - section:system.webServer/rewrite/globalRules - 'commit:' condition: all of selection_*
Known false positives
- Legitimate usage of appcmd to add new URL rewrite rules