WMI Event Consumer Created Named Pipe

Detects the WMI Event Consumer service scrcons.exe creating a named pipe

Sigma rule (View on GitHub)

 1title: WMI Event Consumer Created Named Pipe
 2id: 493fb4ab-cdcc-4c4f-818c-0e363bd1e4bb
 3status: test
 4description: Detects the WMI Event Consumer service scrcons.exe creating a named pipe
 5references:
 6    - https://github.com/RiccardoAncarani/LiquidSnake
 7author: Florian Roth (Nextron Systems)
 8date: 2021-09-01
 9modified: 2023-11-30
10tags:
11    - attack.t1047
12    - attack.execution
13logsource:
14    product: windows
15    category: pipe_created
16    definition: 'Note that you have to configure logging for Named Pipe Events in Sysmon config (Event ID 17 and Event ID 18). The basic configuration is in popular sysmon configuration (https://github.com/SwiftOnSecurity/sysmon-config), but it is worth verifying. You can also use other repo, e.g. https://github.com/Neo23x0/sysmon-config, https://github.com/olafhartong/sysmon-modular. How to test detection? You can check powershell script from this site https://svch0st.medium.com/guide-to-named-pipes-and-hunting-for-cobalt-strike-pipes-dc46b2c5f575'
17detection:
18    selection:
19        Image|endswith: '\scrcons.exe'
20    condition: selection
21falsepositives:
22    - Unknown
23level: medium

References

Related rules

to-top