Windows Security 4624 Logon for scrcons.exe Indicating Remote WMI ActiveScriptEventConsumers

Flags remote network logons involving scrcons.exe that may indicate WMI ActiveScriptEventConsumers activity.

FreeReviewedSigma · Medium · v5
Product
windows
Service
security
Author
Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research) (SigmaHQ), DRL 1.1
Published
2020-09-02
Updated
2026-07-31
title: Windows Security 4624 Logon for scrcons.exe Indicating Remote WMI ActiveScriptEventConsumers
id: 54876247-6c06-416c-aafa-ccec0c3d8548
status: test
description: This rule flags successful Windows logons (EventID 4624, LogonType 3) where the process name ends with scrcons.exe, excluding the specified Local System TargetLogonId. Activity involving Remote WMI ActiveScriptEventConsumers can be used by attackers to establish execution paths that support lateral movement and persistence. The detection relies on Windows Security audit telemetry for process-associated logon events and correlates the scrcons.exe logon context for further enrichment.
references:
  - https://threathunterplaybook.com/hunts/windows/200902-RemoteWMIActiveScriptEventConsumers/notebook.html
  - https://github.com/SigmaHQ/sigma/blob/master/rules-threat-hunting/windows/builtin/security/account_management/win_security_scrcons_remote_wmi_scripteventconsumer.yml
author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research), Huntrule Team
date: 2020-09-02
modified: 2024-09-02
tags:
  - attack.lateral-movement
  - attack.privilege-escalation
  - detection.threat-hunting
  - attack.persistence
  - attack.t1546.003
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 4624
    LogonType: 3
    ProcessName|endswith: scrcons.exe
  filter_main_local_system:
    TargetLogonId: "0x3e7"
  condition: selection and not 1 of filter_main_*
falsepositives:
  - SCCM
level: medium
license: DRL-1.1
related:
  - id: 9599c180-e3a8-4743-8f92-7fb96d3be648
    type: derived