Detectionmediumtest

IIS Native-Code Module Command Line Installation

Detects suspicious IIS native-code module installations via command line

Open in Detection LabConvert ruleBuild Package
Florian Roth (Nextron Systems)Created 2019-12-11Updated 2024-03-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
2019-12-11
Modified
2024-03-13
Path
rules/windows/process_creation/proc_creation_win_iis_appcmd_susp_module_install.yml
Raw Tags
attack.persistenceattack.t1505.003
View on GitHub