Detectionmediumtest

IIS Native-Code Module Command Line Installation

Detects suspicious IIS native-code module installations via command line

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Florian Roth (Nextron Systems)Created Wed Dec 11Updated Wed Mar 139465ddf4-f9e4-4ebd-8d98-702df3a93239windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic3 selectors
detection:
    selection_img:
        - Image|endswith: '\appcmd.exe'
        - OriginalFileName: 'appcmd.exe'
    selection_cli:
        CommandLine|contains|all:
            - 'install'
            - 'module'
        CommandLine|contains|windash: '-name:'
    filter_iis_setup:
        ParentImage: 'C:\Windows\System32\inetsrv\iissetup.exe'
    condition: all of selection_* and not 1 of filter_*
False Positives

Unknown as it may vary from organisation to organisation how admins use to install IIS modules

MITRE ATT&CK
Rule Metadata
Rule ID
9465ddf4-f9e4-4ebd-8d98-702df3a93239
Status
test
Level
medium
Type
Detection
Created
Wed Dec 11
Modified
Wed Mar 13
Path
rules/windows/process_creation/proc_creation_win_iis_appcmd_susp_module_install.yml
Raw Tags
attack.persistenceattack.t1505.003
View on GitHub