{"id":"ec1d5e28-8f3b-4188-a6f8-6e8df81dc28e","title":"WMI Persistence - Script Event Consumer","description":"Detects the execution of a script event consumer. When scrcons.exe launches, it does so in response to the creation of an ActiveScriptEventConsumer instance\nand will execute registered JScript or VBScript code as a result.\nScript event consumers are a built-in Windows Management Instrumentation (WMI) class that\nautomatically executes a predefined script (in VBScript or JScript) whenever a specific system event occurs.\nAdversaries often abuse script event consumers to maintain persistence on a compromised host\nby executing a malicious script whenever a specific event occurs.\n","author":"Thomas Patzke","status":"test","level":"medium","date":"2018-03-07","modified":"2022-10-11","tags":["attack.persistence","attack.privilege-escalation","attack.t1546.003"],"technique_ids":["T1546.003"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Legitimate event consumers","Dell computers on some versions register an event consumer that is known to cause false positives when brightness is changed by the corresponding keyboard button"],"references":["https://redcanary.com/blog/threat-detection/child-processes/","https://www.eideon.com/2018-03-02-THL03-WMIBackdoors/"],"source_path":"rules/windows/process_creation/proc_creation_win_wmi_persistence_script_event_consumer.yml","source_sha256":"1a4f70652f2b3c811152d4a52535b925e720a3fd6fd1116c48cd9a31170f5108","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_wmi_persistence_script_event_consumer.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: WMI Persistence - Script Event Consumer\nid: ec1d5e28-8f3b-4188-a6f8-6e8df81dc28e\nstatus: test\ndescription: |\n    Detects the execution of a script event consumer. When scrcons.exe launches, it does so in response to the creation of an ActiveScriptEventConsumer instance\n    and will execute registered JScript or VBScript code as a result.\n    Script event consumers are a built-in Windows Management Instrumentation (WMI) class that\n    automatically executes a predefined script (in VBScript or JScript) whenever a specific system event occurs.\n    Adversaries often abuse script event consumers to maintain persistence on a compromised host\n    by executing a malicious script whenever a specific event occurs.\nreferences:\n    - https://redcanary.com/blog/threat-detection/child-processes/\n    - https://www.eideon.com/2018-03-02-THL03-WMIBackdoors/\nauthor: Thomas Patzke\ndate: 2018-03-07\nmodified: 2022-10-11\ntags:\n    - attack.persistence\n    - attack.privilege-escalation\n    - attack.t1546.003\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection:\n        Image: C:\\WINDOWS\\system32\\wbem\\scrcons.exe\n        ParentImage: C:\\Windows\\System32\\svchost.exe\n    condition: selection\nfalsepositives:\n    - Legitimate event consumers\n    - Dell computers on some versions register an event consumer that is known to cause false positives when brightness is changed by the corresponding keyboard button\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1546.003","id":"T1546.003","name":"Windows Management Instrumentation Event Subscription","page":"techniques/enterprise/T1546.003/"}],"data_path":"data/detection-rules/ec1d5e28-8f3b-4188-a6f8-6e8df81dc28e.json","kind":"sigma"}
