Detection rules › Sigma

Sigma rules: 2x

RuleSeverity
Account set with password not required (weakness introduction)medium
AWS Route 53 Domain Transferred to Another Accountlow
Certificate Exported Via Certutil.EXEmedium
Commvault QLogin Argument Injection Authentication Bypass (CVE-2025-57791)high
Credentials from Password Stores - Keychainmedium
CVE-2024-1212 Exploitation - Progress Kemp LoadMaster Unauthenticated Command Injectionhigh
Disable System Firewallhigh
DNS Query Request By QuickAssist.EXElow
Domain group membership changehigh
Flush Iptables Ufw Chainmedium
Lateral movement detection (based on "special groups" feature)medium
Local Accounts Discoverylow
LSASS Process Memory Dump Creation Via Taskmgr.EXEhigh
Microsoft Malware Protection Engine Crash - WERhigh
OMIGOD HTTP No Authentication RCE - CVE-2021-38647high
Overwriting the File with Dev Zero or Nulllow
PaperCut MF/NG Exploitation Related Indicatorshigh
Potential CommandLine Obfuscation Using Unicode Charactersmedium
Potential CVE-2023-46214 Exploitation Attemptmedium
Potential DLL Sideloading Of DbgModel.DLLmedium
Potential Recon Activity Via Nltest.EXEmedium
Potential Registry Persistence Attempt Via Windows Telemetryhigh
PowerShell Get Clipboardmedium
Process Access via TrolleyExpress Exclusionhigh
ProcessHacker Privilege Elevationhigh
Remote Service Activity via SVCCTL Named Pipemedium
Remote Utilities Host Service Installmedium
RunMRU Registry Key Deletionhigh
Suspicious SignIns From A Non Registered Devicehigh
Suspicious Windows Trace ETW Session Tamper Via Logman.EXEhigh
Task Manager used for LSASS dump (kernel)high
Taskmgr as LOCAL_SYSTEMhigh
Uncommon Link.EXE Parent Processmedium
Use of Scriptrunner.exemedium
Veeam Backup Servers Credential Dumping Script Executionhigh
Wlrmdr.EXE Uncommon Argument Or Child Processmedium

Account set with password not required (weakness introduction)

#
Status
experimental
Severity
medium
Author
mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects scenarios where an attacker set an account with password not required to perform privilege escalation attack.

Known False Positives

  • IAM solutions generating accounts

MITRE ATT&CK Coverage

TacticTechniques
Persistence

Telemetry Coverage

Rule Body

title: Account set with password not required (weakness introduction)
description: Detects scenarios where an attacker set an account with password not required to perform privilege escalation attack.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0003-Persistence/T1098.xxx-Account%20manipulation
- https://github.com/Azure/Azure-Sentinel/blob/master/Detections/SecurityEvent/password_never_expires.yaml
tags:
- attack.persistence
- attack.t1098
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 4738
    UserAccountControl: '%%2082' # User account with password set to not require - TRUE
  condition: selection
falsepositives:
- IAM solutions generating accounts
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  EventID: 4738
  UserAccountControl: '%%2082'

Indicators

These rows show field, operator, and value matches.

AWS Route 53 Domain Transferred to Another Account

#
Status
test
Severity
low
Author
Elastic, Austin Songer @austinsonger
Source
github.com/SigmaHQ/sigma

Detects when a request has been made to transfer a Route 53 domain to another AWS account.

Known False Positives

  • A domain may be transferred to another AWS account by a system or network administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment. Domain transfers from unfamiliar users or hosts should be investigated. If known behavior is causing false positives, it can be exempted from the rule.

MITRE ATT&CK Coverage

TacticTechniques
Persistence
Privilege Escalation

Telemetry Coverage

Rule Body

title: AWS Route 53 Domain Transferred to Another Account
id: b056de1a-6e6e-4e40-a67e-97c9808cf41b
status: test
description: Detects when a request has been made to transfer a Route 53 domain to another AWS account.
references:
    - https://github.com/elastic/detection-rules/blob/c76a39796972ecde44cb1da6df47f1b6562c9770/rules/integrations/aws/persistence_route_53_domain_transferred_to_another_account.toml
author: Elastic, Austin Songer @austinsonger
date: 2021-07-22
modified: 2022-10-09
tags:
    - attack.persistence
    - attack.credential-access
    - attack.privilege-escalation
    - attack.t1098
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: route53.amazonaws.com
        eventName: TransferDomainToAnotherAwsAccount
    condition: selection
falsepositives:
    - A domain may be transferred to another AWS account by a system or network administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment. Domain transfers from unfamiliar users or hosts should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventSource: route53.amazonaws.com
    eventName: TransferDomainToAnotherAwsAccount

Indicators

These rows show field, operator, and value matches.

Certificate Exported Via Certutil.EXE

#
Status
test
Severity
medium
Author
Florian Roth (Nextron Systems), Jonhnathan Ribeiro, oscd.community, Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the execution of the certutil with the "exportPFX" flag which allows the utility to export certificates.

Known False Positives

  • There legitimate reasons to export certificates. Investigate the activity to determine if it's benign

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Certificate Exported Via Certutil.EXE
id: 3ffd6f51-e6c1-47b7-94b4-c1e61d4117c5
status: test
description: Detects the execution of the certutil with the "exportPFX" flag which allows the utility to export certificates.
references:
    - https://www.splunk.com/en_us/blog/security/a-golden-saml-journey-solarwinds-continued.html
author: Florian Roth (Nextron Systems), Jonhnathan Ribeiro, oscd.community, Nasreddine Bencherchali (Nextron Systems)
date: 2023-02-15
modified: 2024-03-05
tags:
    - attack.stealth
    - attack.t1027
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\certutil.exe'
        - OriginalFileName: 'CertUtil.exe'
    selection_cli:
        CommandLine|contains|windash: '-exportPFX '
    condition: all of selection_*
falsepositives:
    - There legitimate reasons to export certificates. Investigate the activity to determine if it's benign
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_certutil_export_pfx/info.yml

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\certutil.exe'
    - OriginalFileName: 'CertUtil.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains|windash: '-exportPFX '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -exportPFX
  • /exportPFX
  • –exportPFX
  • —exportPFX
  • ―exportPFX
field:"CommandLine" kind:match
Imageends_with
  • \certutil.exe corpus 43 (sigma 43)
field:"Image" kind:ends_with value:"\certutil.exe"
OriginalFileNameeq
  • CertUtil.exe corpus 26 (sigma 14, elastic 6, splunk 6)
field:"OriginalFileName" kind:eq value:"CertUtil.exe"

Commvault QLogin Argument Injection Authentication Bypass (CVE-2025-57791)

#
Status
experimental
Severity
high
Author
X__Junior (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the use of argument injection in the Commvault qlogin command - potential exploitation for CVE-2025-57791. An attacker can inject the -localadmin parameter via the password field to bypass authentication and gain a privileged token.

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Telemetry Coverage

Rule Body

title: Commvault QLogin Argument Injection Authentication Bypass (CVE-2025-57791)
id: ff0225a0-1d9a-4bae-ab26-6038b18bb6d4
status: experimental
description: |
    Detects the use of argument injection in the Commvault qlogin command - potential exploitation for CVE-2025-57791.
    An attacker can inject the `-localadmin` parameter via the password field to bypass authentication and gain a privileged token.
references:
    - https://labs.watchtowr.com/guess-who-would-be-stupid-enough-to-rob-the-same-vault-twice-pre-auth-rce-chains-in-commvault/
author: X__Junior (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-10-20
tags:
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
    - cve.2025-57791
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains|all:
            - 'qlogin'
            - ' -cs '
            - ' -localadmin'
            - ' -clp '
            - '_localadmin__'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains|all:
        - 'qlogin'
        - ' -cs '
        - ' -localadmin'
        - ' -clp '
        - '_localadmin__'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -clp
  • -cs
  • -localadmin
  • _localadmin__
  • qlogin corpus 2 (sigma 2)
field:"CommandLine" kind:match

Credentials from Password Stores - Keychain

#
Status
test
Severity
medium
Author
Tim Ismilyaev, oscd.community, Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects passwords dumps from Keychain

Known False Positives

  • Legitimate administration activities

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Credentials from Password Stores - Keychain
id: b120b587-a4c2-4b94-875d-99c9807d6955
status: test
description: Detects passwords dumps from Keychain
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1555.001/T1555.001.md
    - https://gist.github.com/Capybara/6228955
author: Tim Ismilyaev, oscd.community, Florian Roth (Nextron Systems)
date: 2020-10-19
modified: 2021-11-27
tags:
    - attack.credential-access
    - attack.t1555.001
logsource:
    category: process_creation
    product: macos
detection:
    selection1:
        Image: '/usr/bin/security'
        CommandLine|contains:
            - 'find-certificate'
            - ' export '
    selection2:
        CommandLine|contains:
            - ' dump-keychain '
            - ' login-keychain '
    condition: 1 of selection*
falsepositives:
    - Legitimate administration activities
level: medium

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection1

selection1:
    Image: '/usr/bin/security'
    CommandLine|contains:
        - 'find-certificate'
        - ' export '

Stage 2: selection2

selection2:
    CommandLine|contains:
        - ' dump-keychain '
        - ' login-keychain '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • dump-keychain
  • export corpus 3 (sigma 3)
  • login-keychain
  • find-certificate corpus 2 (sigma 1, splunk 1)
field:"CommandLine" kind:match
Imageeq
  • /usr/bin/security corpus 2 (sigma 1, splunk 1)
field:"Image" kind:eq value:"/usr/bin/security"

CVE-2024-1212 Exploitation - Progress Kemp LoadMaster Unauthenticated Command Injection

#
Status
test
Severity
high
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects potential exploitation of CVE-2024-1709 an unauthenticated command injection in Progress Kemp LoadMaster. It looks for GET requests to '/access/set' API with the parameters 'param=enableapi' and 'value=1' as well as an "Authorization" header with a base64 encoded value with an uncommon character.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Initial AccessNo specific technique

Rule Body

title: CVE-2024-1212 Exploitation - Progress Kemp LoadMaster Unauthenticated Command Injection
id: eafb8bd5-7605-4bfe-a9ec-0442bc151f15
status: test
description: |
    Detects potential exploitation of CVE-2024-1709 an unauthenticated command injection in Progress Kemp LoadMaster.
    It looks for GET requests to '/access/set' API with the parameters 'param=enableapi' and 'value=1' as well as an "Authorization" header with a base64 encoded value with an uncommon character.
references:
    - https://github.com/RhinoSecurityLabs/CVEs/blob/15cf4d86c83daa57b59eaa2542a0ed47ad3dc32d/CVE-2024-1212/CVE-2024-1212.py
    - https://rhinosecuritylabs.com/research/cve-2024-1212unauthenticated-command-injection-in-progress-kemp-loadmaster/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2024-03-20
tags:
    - attack.initial-access
    - cve.2024-1212
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection_path:
        cs-method: 'GET'
        cs-uri-stem|contains|all:
            - '/access/set'
            - 'param=enableapi'
            - 'value=1'
    selection_keywords:
        - 'Basic Jz'
        - 'Basic c7'
        - 'Basic nO'
        - "Basic ';"
    condition: all of selection_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_path

selection_path:
    cs-method: 'GET'
    cs-uri-stem|contains|all:
        - '/access/set'
        - 'param=enableapi'
        - 'value=1'

Stage 2: selection_keywords

selection_keywords:
    - 'Basic Jz'
    - 'Basic c7'
    - 'Basic nO'
    - "Basic ';"

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
cs-methodeq
  • GET
field:"cs-method" kind:eq value:"GET"
cs-uri-stemmatch
  • /access/set
  • param=enableapi
  • value=1
field:"cs-uri-stem" kind:match

Disable System Firewall

#
Status
test
Severity
high
Author
Pawel Mazur
Source
github.com/SigmaHQ/sigma

Detects disabling of system firewalls which could be used by adversaries to bypass controls that limit usage of the network.

Known False Positives

  • Admin activity

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

Rule Body

title: Disable System Firewall
id: 53059bc0-1472-438b-956a-7508a94a91f0
status: test
description: Detects disabling of system firewalls which could be used by adversaries to bypass controls that limit usage of the network.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1562.004/T1562.004.md
    - https://firewalld.org/documentation/man-pages/firewall-cmd.html
author: 'Pawel Mazur'
date: 2022-01-22
tags:
    - attack.defense-impairment
    - attack.t1686
logsource:
    product: linux
    service: auditd
detection:
    selection:
        type: 'SERVICE_STOP'
        unit:
            - 'firewalld'
            - 'iptables'
            - 'ufw'
    condition: selection
falsepositives:
    - Admin activity
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    type: 'SERVICE_STOP'
    unit:
        - 'firewalld'
        - 'iptables'
        - 'ufw'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
typeeq
  • SERVICE_STOP corpus 7 (splunk 6, sigma 1)
field:"type" kind:eq value:"SERVICE_STOP"
uniteq
  • firewalld
  • iptables
  • ufw
field:"unit" kind:eq

DNS Query Request By QuickAssist.EXE

#
Status
experimental
Severity
low
Author
Muhammad Faisal (@faisalusuf)
Source
github.com/SigmaHQ/sigma

Detects DNS queries initiated by "QuickAssist.exe" to Microsoft Quick Assist primary endpoint that is used to establish a session.

Known False Positives

  • Legitimate use of Quick Assist in the environment.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 22: DNSEvent (DNS query)

Rule Body

title: DNS Query Request By QuickAssist.EXE
id: 882e858a-3233-4ba8-855e-2f3d3575803d
status: experimental
description: |
    Detects DNS queries initiated by "QuickAssist.exe" to Microsoft Quick Assist primary endpoint that is used to establish a session.
references:
    - https://www.microsoft.com/en-us/security/blog/2024/05/15/threat-actors-misusing-quick-assist-in-social-engineering-attacks-leading-to-ransomware/
    - https://www.linkedin.com/posts/kevin-beaumont-security_ive-been-assisting-a-few-orgs-hit-with-successful-activity-7268055739116445701-xxjZ/
    - https://x.com/cyb3rops/status/1862406110365245506
    - https://learn.microsoft.com/en-us/windows/client-management/client-tools/quick-assist
author: Muhammad Faisal (@faisalusuf)
date: 2024-12-19
tags:
    - attack.command-and-control
    - attack.initial-access
    - attack.lateral-movement
    - attack.t1071.001
    - attack.t1210
logsource:
    category: dns_query
    product: windows
detection:
    selection:
        Image|endswith: '\QuickAssist.exe'
        QueryName|endswith: 'remoteassistance.support.services.microsoft.com'
    condition: selection
falsepositives:
    - Legitimate use of Quick Assist in the environment.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '\QuickAssist.exe'
    QueryName|endswith: 'remoteassistance.support.services.microsoft.com'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \QuickAssist.exe corpus 2 (sigma 2)
field:"Image" kind:ends_with value:"\QuickAssist.exe"
QueryNameends_with
  • remoteassistance.support.services.microsoft.com corpus 2 (sigma 2)
field:"QueryName" kind:ends_with value:"remoteassistance.support.services.microsoft.com"

Domain group membership change

#
Status
experimental
Severity
high
Author
mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects if a member is added to a domain group via PowerShell.

Known False Positives

  • Pentest
  • Administrator activity
  • Splunk UF agent installation

MITRE ATT&CK Coverage

TacticTechniques
Persistence

Telemetry Coverage

Rule Body

title: Domain group membership change
description: Detects if a member is added to a domain group via PowerShell.
references:
- 
tags:
- attack.persistence
- attack.t1098 # account manipulation
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category:
    - ps_module
    - ps_classic_script
    - ps_script
detection: # Add-LocalGroupMember -Group "Administrators" -Member "Admin02",
  selection1_powershell_native:
    EventID: 800
    EventData|contains|all:
      - 'Add-ADGroupMember'
      - '-Identity'
      - '-Members'

  selection2_powershell_modern:
    EventID: 4103
      - 'Add-ADGroupMember'
      - '-Identity'
      - '-Members'
  
  selection3_powershell_block:
    EventID: 4104
    ScriptBlockText|contains|all:
      - 'Add-ADGroupMember'
      - '-Identity'
      - '-Members'

  condition: 1 of selection*
falsepositives:
- Pentest
- Administrator activity
- Splunk UF agent installation
level: high

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection1_powershell_native

selection1_powershell_native:
  EventID: 800
  EventData|contains|all:
    - 'Add-ADGroupMember'
    - '-Identity'
    - '-Members'

Stage 2: selection2_powershell_modern

selection2_powershell_modern:
  EventID: 4103
    - 'Add-ADGroupMember'
    - '-Identity'
    - '-Members'

Stage 3: selection3_powershell_block

selection3_powershell_block:
  EventID: 4104
  ScriptBlockText|contains|all:
    - 'Add-ADGroupMember'
    - '-Identity'
    - '-Members'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
EventDatamatch
  • -Identity
  • -Members
  • Add-ADGroupMember
field:"EventData" kind:match
ScriptBlockTextmatch
  • -Identity
  • -Members
  • Add-ADGroupMember
field:"ScriptBlockText" kind:match

Flush Iptables Ufw Chain

#
Status
test
Severity
medium
Author
Joseliyo Sanchez, @Joseliyo_Jstnk
Source
github.com/SigmaHQ/sigma

Detect use of iptables to flush all firewall rules, tables and chains and allow all network traffic

Known False Positives

  • Network administrators

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: Flush Iptables Ufw Chain
id: 3be619f4-d9ec-4ea8-a173-18fdd01996ab
status: test
description: Detect use of iptables to flush all firewall rules, tables and chains and allow all network traffic
references:
    - https://blogs.blackberry.com/
    - https://www.cyberciti.biz/tips/linux-iptables-how-to-flush-all-rules.html
    - https://twitter.com/Joseliyo_Jstnk/status/1620131033474822144
author: Joseliyo Sanchez, @Joseliyo_Jstnk
date: 2023-01-18
tags:
    - attack.defense-impairment
    - attack.t1686
logsource:
    product: linux
    category: process_creation
detection:
    selection_img:
        Image|endswith:
            - '/iptables'
            - '/xtables-legacy-multi'
            - '/iptables-legacy-multi'
            - '/ip6tables'
            - '/ip6tables-legacy-multi'
    selection_params:
        CommandLine|contains:
            - '-F'
            - '-Z'
            - '-X'
    selection_ufw:
        CommandLine|contains:
            - 'ufw-logging-deny'
            - 'ufw-logging-allow'
            - 'ufw6-logging-deny'
            - 'ufw6-logging-allow'
            # - 'ufw-reject-output'
            # - 'ufw-track-inputt'
    condition: all of selection_*
falsepositives:
    - Network administrators
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    Image|endswith:
        - '/iptables'
        - '/xtables-legacy-multi'
        - '/iptables-legacy-multi'
        - '/ip6tables'
        - '/ip6tables-legacy-multi'

Stage 2: selection_params

selection_params:
    CommandLine|contains:
        - '-F'
        - '-Z'
        - '-X'

Stage 3: selection_ufw

selection_ufw:
    CommandLine|contains:
        - 'ufw-logging-deny'
        - 'ufw-logging-allow'
        - 'ufw6-logging-deny'
        - 'ufw6-logging-allow'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -F corpus 9 (sigma 7, splunk 2)
  • -X corpus 2 (sigma 2)
  • -Z
  • ufw-logging-allow
  • ufw-logging-deny
  • ufw6-logging-allow
  • ufw6-logging-deny
field:"CommandLine" kind:match
Imageends_with
  • /ip6tables
  • /ip6tables-legacy-multi
  • /iptables corpus 3 (sigma 3)
  • /iptables-legacy-multi
  • /xtables-legacy-multi
field:"Image" kind:ends_with

Lateral movement detection (based on "special groups" feature)

#
Status
experimental
Severity
medium
Author
mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects scenarios where a user of a predefined set of group(s) logs on a target machine.

Known False Positives

  • Normal activity of a user member of a monitored group

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Lateral movement detection (based on "special groups" feature)
description: Detects scenarios where a user of a predefined set of group(s) logs on a target machine.
requirements: registry configuration has to be pushed per GPO to specify the groups to be monitored. See links below for more detailed information.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0005-Defense%20Evasion/T1078.002-Valid%20accounts-Domain%20accounts
- https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4964
- https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4908
- https://docs.microsoft.com/fr-fr/archive/blogs/jepayne/tracking-lateral-movement-part-one-special-groups-and-specific-service-accounts
- https://techcommunity.microsoft.com/t5/ask-the-directory-services-team/special-groups-auditing-via-group-policy-preferences/ba-p/395095
- https://i.blackhat.com/us-18/Wed-August-8/us-18-Metcalf-From-Workstation-To-Domain-Admin-Why-Secure-Administration-Isnt-Secure.pdf
tags:
- attack.defense_evasion
- attack.t1078
- attack.lateral_movement
- attack.t1021.002
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 4964
  condition: selection
falsepositives:
- Normal activity of a user member of a monitored group
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  EventID: 4964

Local Accounts Discovery

#
Status
test
Severity
low
Author
Timur Zinniatullin, Daniil Yugoslavskiy, oscd.community
Source
github.com/SigmaHQ/sigma

Local accounts, System Owner/User discovery using operating systems utilities

Known False Positives

  • Legitimate administrator or user enumerates local users for legitimate reason

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Local Accounts Discovery
id: 502b42de-4306-40b4-9596-6f590c81f073
status: test
related:
    - id: e28a5a99-da44-436d-b7a0-2afc20a5f413 # Whoami Utility Execution
      type: obsolete
description: Local accounts, System Owner/User discovery using operating systems utilities
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1033/T1033.md
author: Timur Zinniatullin, Daniil Yugoslavskiy, oscd.community
date: 2019-10-21
modified: 2025-10-20
tags:
    - attack.discovery
    - attack.t1033
    - attack.t1087.001
logsource:
    category: process_creation
    product: windows
detection:
    selection_other_img:
        - Image|endswith:
              - '\whoami.exe'
              - '\quser.exe'
              - '\qwinsta.exe'
        - OriginalFileName:
              - 'whoami.exe'
              - 'quser.exe'
              - 'qwinsta.exe'
    selection_other_wmi:
        Image|endswith: '\wmic.exe'
        CommandLine|contains|all:
            - 'useraccount'
            - 'get'
    selection_other_cmdkey:
        Image|endswith: '\cmdkey.exe'
        CommandLine|contains: ' /l'
    selection_cmd:
        Image|endswith: '\cmd.exe'
        CommandLine|contains|all:
            - ' /c'
            - 'dir '
            - '\Users\'
    filter_cmd:
        CommandLine|contains: ' rmdir ' # don't match on 'dir'   "C:\Windows\System32\cmd.exe" /q /c rmdir /s /q "C:\Users\XX\AppData\Local\Microsoft\OneDrive\19.232.1124.0005"
    selection_net:
        Image|endswith:
            - '\net.exe'
            - '\net1.exe'
        CommandLine|contains: 'user'
    filter_net:
        CommandLine|contains:
            - '/domain'       # local account discovery only
            - '/add'          # discovery only
            - '/delete'       # discovery only
            - '/active'       # discovery only
            - '/expires'      # discovery only
            - '/passwordreq'  # discovery only
            - '/scriptpath'   # discovery only
            - '/times'        # discovery only
            - '/workstations' # discovery only
    condition: (selection_cmd and not filter_cmd) or (selection_net and not filter_net) or 1 of selection_other_*
falsepositives:
    - Legitimate administrator or user enumerates local users for legitimate reason
level: low
simulation:
    - type: atomic-red-team
      name: WMI Reconnaissance Users
      technique: T1047
      atomic_guid: c107778c-dcf5-47c5-af2e-1d058a3df3ea
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_susp_local_system_owner_account_discovery/info.yml

Stages and Predicates

Stage 0: condition

(selection_cmd and not filter_cmd) or (selection_net and not filter_net) or 1 of selection_other_*

Stage 1: selection_cmd

selection_cmd:
    Image|endswith: '\cmd.exe'
    CommandLine|contains|all:
        - ' /c'
        - 'dir '
        - '\Users\'

Stage 2: not filter_cmd

filter_cmd:
    CommandLine|contains: ' rmdir '

Stage 3: selection_net

selection_net:
    Image|endswith:
        - '\net.exe'
        - '\net1.exe'
    CommandLine|contains: 'user'

Stage 4: not filter_net

filter_net:
    CommandLine|contains:
        - '/domain'
        - '/add'
        - '/delete'
        - '/active'
        - '/expires'
        - '/passwordreq'
        - '/scriptpath'
        - '/times'
        - '/workstations'

Stage 5: selection_other_img

selection_other_img:
    - Image|endswith:
          - '\whoami.exe'
          - '\quser.exe'
          - '\qwinsta.exe'
    - OriginalFileName:
          - 'whoami.exe'
          - 'quser.exe'
          - 'qwinsta.exe'

Stage 6: selection_other_wmi

selection_other_wmi:
    Image|endswith: '\wmic.exe'
    CommandLine|contains|all:
        - 'useraccount'
        - 'get'

Stage 7: selection_other_cmdkey

selection_other_cmdkey:
    Image|endswith: '\cmdkey.exe'
    CommandLine|contains: ' /l'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /c corpus 2 (sigma 2)
  • /l corpus 2 (sigma 2)
  • \Users\
  • dir corpus 6 (sigma 5, splunk 1)
  • get corpus 4 (sigma 3, splunk 1)
  • user corpus 15 (sigma 11, splunk 4)
  • useraccount corpus 3 (sigma 2, splunk 1)
field:"CommandLine" kind:match
Imageends_with
  • \cmd.exe corpus 132 (sigma 130, splunk 2)
  • \cmdkey.exe corpus 3 (sigma 3)
  • \net.exe corpus 49 (sigma 49)
  • \net1.exe corpus 47 (sigma 47)
  • \quser.exe corpus 2 (sigma 2)
  • \qwinsta.exe corpus 2 (sigma 2)
  • \whoami.exe corpus 19 (sigma 19)
  • \wmic.exe corpus 62 (sigma 62)
field:"Image" kind:ends_with
OriginalFileNameeq
  • quser.exe corpus 3 (sigma 2, splunk 1)
  • qwinsta.exe corpus 2 (sigma 1, splunk 1)
  • whoami.exe corpus 11 (sigma 9, elastic 1, splunk 1)
field:"OriginalFileName" kind:eq

Exclusions

The rule actively suppresses these predicates.

LSASS Process Memory Dump Creation Via Taskmgr.EXE

#
Status
test
Severity
high
Author
Swachchhanda Shrawan Poudel
Source
github.com/SigmaHQ/sigma

Detects the creation of an "lsass.dmp" file by the taskmgr process. This indicates a manual dumping of the LSASS.exe process memory using Windows Task Manager.

Known False Positives

  • Rare case of troubleshooting by an administrator or support that has to be investigated regardless

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: LSASS Process Memory Dump Creation Via Taskmgr.EXE
id: 69ca12af-119d-44ed-b50f-a47af0ebc364
status: test
description: Detects the creation of an "lsass.dmp" file by the taskmgr process. This indicates a manual dumping of the LSASS.exe process memory using Windows Task Manager.
author: Swachchhanda Shrawan Poudel
date: 2023-10-19
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/987e3ca988ae3cff4b9f6e388c139c05bf44bbb8/atomics/T1003.001/T1003.001.md#L1
tags:
    - attack.credential-access
    - attack.t1003.001
logsource:
    category: file_event
    product: windows
detection:
    selection:
        Image|endswith:
            - ':\Windows\system32\taskmgr.exe'
            - ':\Windows\SysWOW64\taskmgr.exe'
        TargetFilename|contains|all:
            - '\AppData\Local\Temp\'
            - '\lsass'
            - '.DMP'
    condition: selection
falsepositives:
    - Rare case of troubleshooting by an administrator or support that has to be investigated regardless
level: high
regression_tests_path: regression_data/rules/windows/file/file_event/file_event_win_taskmgr_lsass_dump/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith:
        - ':\Windows\system32\taskmgr.exe'
        - ':\Windows\SysWOW64\taskmgr.exe'
    TargetFilename|contains|all:
        - '\AppData\Local\Temp\'
        - '\lsass'
        - '.DMP'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • :\Windows\SysWOW64\taskmgr.exe
  • :\Windows\system32\taskmgr.exe
field:"Image" kind:ends_with
TargetFilenamematch
  • .DMP corpus 3 (sigma 3)
  • \AppData\Local\Temp\ corpus 8 (sigma 8)
  • \lsass corpus 3 (sigma 3)
field:"TargetFilename" kind:match

Microsoft Malware Protection Engine Crash - WER

#
Status
test
Severity
high
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

This rule detects a suspicious crash of the Microsoft Malware Protection Engine

Known False Positives

  • MsMpEng might crash if the "C:\" partition is full

MITRE ATT&CK Coverage

TacticTechniques
Stealth
Defense Impairment

Telemetry Coverage

Rule Body

title: Microsoft Malware Protection Engine Crash - WER
id: 6c82cf5c-090d-4d57-9188-533577631108
status: test
description: This rule detects a suspicious crash of the Microsoft Malware Protection Engine
references:
    - https://bugs.chromium.org/p/project-zero/issues/detail?id=1252&desc=5
    - https://technet.microsoft.com/en-us/library/security/4022344
author: Florian Roth (Nextron Systems)
date: 2017-05-09
modified: 2023-04-14
tags:
    - attack.stealth
    - attack.defense-impairment
    - attack.t1211
    - attack.t1685
logsource:
    product: windows
    service: application
    # warning: The 'data' field used in the detection section is the container for the event data as a whole. You may have to adapt the rule for your backend accordingly
detection:
    selection:
        Provider_Name: 'Windows Error Reporting'
        EventID: 1001
        Data|contains|all:
            - 'MsMpEng.exe'
            - 'mpengine.dll'
    condition: selection
falsepositives:
    - MsMpEng might crash if the "C:\" partition is full
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Provider_Name: 'Windows Error Reporting'
    EventID: 1001
    Data|contains|all:
        - 'MsMpEng.exe'
        - 'mpengine.dll'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Datamatch
  • MsMpEng.exe corpus 2 (sigma 2)
  • mpengine.dll corpus 2 (sigma 2)
field:"Data" kind:match
Provider_Nameeq
  • Windows Error Reporting
field:"Provider_Name" kind:eq value:"Windows Error Reporting"

OMIGOD HTTP No Authentication RCE - CVE-2021-38647

#
Status
stable
Severity
high
Author
Nate Guagenti (neu5ron)
Source
github.com/SigmaHQ/sigma

Detects the exploitation of OMIGOD (CVE-2021-38647) which allows remote execute (RCE) commands as root with just a single unauthenticated HTTP request. Verify, successful, exploitation by viewing the HTTP client (request) body to see what was passed to the server (using PCAP). Within the client body is where the code execution would occur. Additionally, check the endpoint logs to see if suspicious commands or activity occurred within the timeframe of this HTTP request.

Known False Positives

  • Exploits that were attempted but unsuccessful.
  • Scanning attempts with the abnormal use of the HTTP POST method with no indication of code execution within the HTTP Client (Request) body. An example would be vulnerability scanners trying to identify unpatched versions while not actually exploiting the vulnerability. See description for investigation tips.

MITRE ATT&CK Coverage

Rule Body

title: OMIGOD HTTP No Authentication RCE - CVE-2021-38647
id: ab6b1a39-a9ee-4ab4-b075-e83acf6e346b
status: stable
description: |
    Detects the exploitation of OMIGOD (CVE-2021-38647) which allows remote execute (RCE) commands as root with just a single unauthenticated HTTP request.
    Verify, successful, exploitation by viewing the HTTP client (request) body to see what was passed to the server (using PCAP).
    Within the client body is where the code execution would occur. Additionally, check the endpoint logs to see if suspicious commands or activity occurred within the timeframe of this HTTP request.
references:
    - https://www.wiz.io/blog/omigod-critical-vulnerabilities-in-omi-azure
    - https://twitter.com/neu5ron/status/1438987292971053057?s=20
author: Nate Guagenti (neu5ron)
date: 2021-09-20
modified: 2025-11-03
tags:
    - attack.privilege-escalation
    - attack.initial-access
    - attack.execution
    - attack.lateral-movement
    - attack.t1068
    - attack.t1190
    - attack.t1203
    - attack.t1021.006
    - attack.t1210
    - detection.emerging-threats
    - cve.2021-38647
logsource:
    product: zeek
    service: http
    definition: Enable the builtin Zeek script that logs all HTTP header names by adding "@load policy/protocols/http/header-names" to your local.zeek config file. The script can be seen here for reference https://github.com/zeek/zeek/blob/d957f883df242ef159cfd846884e673addeea7a5/scripts/policy/protocols/http/header-names.zeek
detection:
    selection:
        status_code: 200
        uri: /wsman
        method: POST
    auth_header:
        client_header_names|contains: 'AUTHORIZATION'
    too_small_http_client_body:
        request_body_len: 0
    # winrm_ports:
    #    id.resp_p:
    #        -  5985
    #        -  5986
    #        -  1270
    condition: selection and not auth_header and not too_small_http_client_body
    # condition: selection and winrm_ports and not auth_header and not too_small_http_client_body # Enable this to only perform search on default WinRM ports, however those ports are sometimes changed and therefore this is disabled by default to give a broader coverage of this rule
falsepositives:
    - Exploits that were attempted but unsuccessful.
    - Scanning attempts with the abnormal use of the HTTP POST method with no indication of code execution within the HTTP Client (Request) body. An example would be vulnerability scanners trying to identify unpatched versions while not actually exploiting the vulnerability. See description for investigation tips.
level: high

Stages and Predicates

Stage 0: condition

selection and not auth_header and not too_small_http_client_body

Stage 1: selection

selection:
    status_code: 200
    uri: /wsman
    method: POST

Stage 2: not auth_header

auth_header:
    client_header_names|contains: 'AUTHORIZATION'

Stage 3: not too_small_http_client_body

too_small_http_client_body:
    request_body_len: 0

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

Overwriting the File with Dev Zero or Null

#
Status
stable
Severity
low
Author
Jakob Weinzettl, oscd.community
Source
github.com/SigmaHQ/sigma

Detects overwriting (effectively wiping/deleting) of a file.

Known False Positives

  • Appending null bytes to files.
  • Legitimate overwrite of files.

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: Overwriting the File with Dev Zero or Null
id: 37222991-11e9-4b6d-8bdf-60fbe48f753e
status: stable
description: Detects overwriting (effectively wiping/deleting) of a file.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1485/T1485.md
author: Jakob Weinzettl, oscd.community
date: 2019-10-23
tags:
    - attack.impact
    - attack.t1485
logsource:
    product: linux
    service: auditd
detection:
    selection:
        type: 'EXECVE'
        a0|contains: 'dd'
        a1|contains:
            - 'if=/dev/null'
            - 'if=/dev/zero'
    condition: selection
falsepositives:
    - Appending null bytes to files.
    - Legitimate overwrite of files.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    type: 'EXECVE'
    a0|contains: 'dd'
    a1|contains:
        - 'if=/dev/null'
        - 'if=/dev/zero'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
a0match
  • dd
field:"a0" kind:match value:"dd"
a1match
  • if=/dev/null
  • if=/dev/zero
field:"a1" kind:match
typeeq
  • EXECVE corpus 37 (sigma 31, splunk 6)
field:"type" kind:eq value:"EXECVE"

PaperCut MF/NG Exploitation Related Indicators

#
Status
test
Severity
high
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects exploitation indicators related to PaperCut MF/NG Exploitation

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

Rule Body

title: PaperCut MF/NG Exploitation Related Indicators
id: de1bd0b6-6d59-417c-86d9-a44114aede3b
status: test
description: Detects exploitation indicators related to PaperCut MF/NG Exploitation
references:
    - https://www.huntress.com/blog/critical-vulnerabilities-in-papercut-print-management-software
    - https://www.papercut.com/kb/Main/PO-1216-and-PO-1219
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-04-25
tags:
    - attack.execution
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection_1:
        CommandLine|contains|all:
            - ' /c '
            - 'powershell'
            - '-nop -w hidden'
            - 'Invoke-WebRequest'
            - 'setup.msi'
            - '-OutFile'
    selection_2:
        CommandLine|contains|all:
            - 'msiexec '
            - '/i '
            - 'setup.msi '
            - '/qn '
            - 'IntegratorLogin=fimaribahundq'
    condition: 1 of selection_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_1

selection_1:
    CommandLine|contains|all:
        - ' /c '
        - 'powershell'
        - '-nop -w hidden'
        - 'Invoke-WebRequest'
        - 'setup.msi'
        - '-OutFile'

Stage 2: selection_2

selection_2:
    CommandLine|contains|all:
        - 'msiexec '
        - '/i '
        - 'setup.msi '
        - '/qn '
        - 'IntegratorLogin=fimaribahundq'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /c corpus 7 (sigma 6, splunk 1)
  • -OutFile
  • -nop -w hidden
  • /i
  • /qn
  • IntegratorLogin=fimaribahundq
  • Invoke-WebRequest corpus 13 (sigma 10, elastic 3)
  • msiexec
  • powershell corpus 24 (sigma 24)
  • setup.msi
  • setup.msi
field:"CommandLine" kind:match

Potential CommandLine Obfuscation Using Unicode Characters

#
Status
test
Severity
medium
Author
frack113, Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects potential CommandLine obfuscation using unicode characters. Adversaries may attempt to make an executable or file difficult to discover or analyze by encrypting, encoding, or otherwise obfuscating its contents on the system or in transit.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential CommandLine Obfuscation Using Unicode Characters
id: e0552b19-5a83-4222-b141-b36184bb8d79
related:
    - id: 584bca0f-3608-4402-80fd-4075ff6072e3
      type: similar
    - id: ad691d92-15f2-4181-9aa4-723c74f9ddc3 # RTLO
      type: similar
    - id: 2c0d2d7b-30d6-4d14-9751-7b9113042ab9
      type: obsolete
status: test
description: |
    Detects potential CommandLine obfuscation using unicode characters.
    Adversaries may attempt to make an executable or file difficult to discover or analyze by encrypting, encoding, or otherwise obfuscating its contents on the system or in transit.
references:
    - https://www.wietzebeukema.nl/blog/windows-command-line-obfuscation
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1027/T1027.md#atomic-test-6---dlp-evasion-via-sensitive-data-in-vba-macro-over-http
author: frack113, Florian Roth (Nextron Systems)
date: 2022-01-15
modified: 2024-09-05
tags:
    - attack.stealth
    - attack.t1027
    - detection.threat-hunting
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains:
            # spacing modifier letters that get auto-replaced
            - 'ˣ' # 0x02E3
            - '˪' # 0x02EA
            - 'ˢ' # 0x02E2
            # Forward slash alternatives
            - '∕' # 0x22FF
            - '⁄' # 0x206F
            # Hyphen alternatives
            - '―' # 0x2015
            - '—' # 0x2014
            # Whitespace that don't work as path separator
            - ' ' # 0x00A0
            # Other
            - '¯'
            - '®'
            - '¶'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains:
        - 'ˣ'
        - '˪'
        - 'ˢ'
        - '∕'
        - '⁄'
        - '―'
        - '—'
        - ' '
        - '¯'
        - '®'
        - '¶'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  •   corpus 2 (sigma 2)
  • ® corpus 2 (sigma 2)
  • ¯ corpus 2 (sigma 2)
  • corpus 2 (sigma 2)
  • ˢ corpus 2 (sigma 2)
  • ˣ corpus 2 (sigma 2)
  • ˪ corpus 2 (sigma 2)
  • — corpus 2 (sigma 2)
  • ― corpus 2 (sigma 2)
  • ⁄ corpus 2 (sigma 2)
  • ∕ corpus 2 (sigma 2)
field:"CommandLine" kind:match

Potential CVE-2023-46214 Exploitation Attempt

#
Status
test
Severity
medium
Author
Nasreddine Bencherchali (Nextron Systems), Bhavin Patel (STRT)
Source
github.com/SigmaHQ/sigma

Detects potential exploitation of CVE-2023-46214, a remote code execution (RCE) in Splunk Enterprise through insecure XML parsing

MITRE ATT&CK Coverage

TacticTechniques
Lateral Movement

Rule Body

title: Potential CVE-2023-46214 Exploitation Attempt
id: 04017cd5-621e-4ec4-a762-1f042fe3d3e5
related:
    - id: ba5268de-4dd4-4d5c-8a90-2b5e6dc1aff8
      type: derived
status: test
description: |
    Detects potential exploitation of CVE-2023-46214, a remote code execution (RCE) in Splunk Enterprise through insecure XML parsing
references:
    - https://github.com/nathan31337/Splunk-RCE-poc/
    - https://blog.hrncirik.net/cve-2023-46214-analysis
    - https://advisory.splunk.com/advisories/SVD-2023-1104
author: Nasreddine Bencherchali (Nextron Systems), Bhavin Patel (STRT)
date: 2023-11-27
tags:
    - attack.lateral-movement
    - attack.t1210
    - cve.2023-46214
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-method: POST
        cs-uri-query|contains|all:
            - 'NO_BINARY_CHECK=1'
            - 'input.path'
        cs-uri-query|endswith: '.xsl'
        sc-status:
            - 200
            - 302
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    cs-method: POST
    cs-uri-query|contains|all:
        - 'NO_BINARY_CHECK=1'
        - 'input.path'
    cs-uri-query|endswith: '.xsl'
    sc-status:
        - 200
        - 302

Indicators

These rows show field, operator, and value matches.

Potential DLL Sideloading Of DbgModel.DLL

#
Status
test
Severity
medium
Author
Gary Lobermier
Source
github.com/SigmaHQ/sigma

Detects potential DLL sideloading of "DbgModel.dll"

Known False Positives

  • Legitimate applications loading their own versions of the DLL mentioned in this rule

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Potential DLL Sideloading Of DbgModel.DLL
id: fef394cd-f44d-4040-9b18-95d92fe278c0
status: test
description: Detects potential DLL sideloading of "DbgModel.dll"
references:
    - https://hijacklibs.net/entries/microsoft/built-in/dbgmodel.html
author: Gary Lobermier
date: 2024-07-11
modified: 2024-07-22
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    product: windows
    category: image_load
detection:
    selection:
        ImageLoaded|endswith: '\dbgmodel.dll'
    filter_main_generic:
        ImageLoaded|startswith:
            - 'C:\Windows\System32\'
            - 'C:\Windows\SysWOW64\'
            - 'C:\Windows\WinSxS\'
    filter_optional_windbg:
        ImageLoaded|startswith: 'C:\Program Files\WindowsApps\Microsoft.WinDbg_'
    filter_optional_windows_kits:
        ImageLoaded|startswith:
            - 'C:\Program Files (x86)\Windows Kits\'
            - 'C:\Program Files\Windows Kits\'
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
    - Legitimate applications loading their own versions of the DLL mentioned in this rule
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_* and not 1 of filter_optional_*

Stage 1: selection

selection:
    ImageLoaded|endswith: '\dbgmodel.dll'

Stage 2: not filter_main_generic

filter_main_generic:
    ImageLoaded|startswith:
        - 'C:\Windows\System32\'
        - 'C:\Windows\SysWOW64\'
        - 'C:\Windows\WinSxS\'

Stage 3: not filter_optional_*

filter_optional_windbg:
    ImageLoaded|startswith: 'C:\Program Files\WindowsApps\Microsoft.WinDbg_'
filter_optional_windows_kits:
    ImageLoaded|startswith:
        - 'C:\Program Files (x86)\Windows Kits\'
        - 'C:\Program Files\Windows Kits\'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageLoadedstarts_withC:\Windows\SysWOW64\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Windows\SysWOW64\"
ImageLoadedstarts_withC:\Windows\System32\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Windows\System32\"
ImageLoadedstarts_withC:\Windows\WinSxS\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Windows\WinSxS\"
ImageLoadedstarts_withC:\Program Files (x86)\Windows Kits\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Program Files (x86)\Windows Kits\"
ImageLoadedstarts_withC:\Program Files\Windows Kits\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Program Files\Windows Kits\"
ImageLoadedstarts_withC:\Program Files\WindowsApps\Microsoft.WinDbg_excludes:ImageLoaded field:"ImageLoaded" value:"C:\Program Files\WindowsApps\Microsoft.WinDbg_"

Potential Recon Activity Via Nltest.EXE

#
Status
test
Severity
medium
Author
Craig Young, oscd.community, Georg Lauenstein
Source
github.com/SigmaHQ/sigma

Detects nltest commands that can be used for information discovery

Known False Positives

  • Legitimate administration use but user and host must be investigated

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Potential Recon Activity Via Nltest.EXE
id: 5cc90652-4cbd-4241-aa3b-4b462fa5a248
related:
    - id: 410ad193-a728-4107-bc79-4419789fcbf8
      type: similar
    - id: 903076ff-f442-475a-b667-4f246bcc203b
      type: similar
    - id: 77815820-246c-47b8-9741-e0def3f57308
      type: obsolete
status: test
description: Detects nltest commands that can be used for information discovery
references:
    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc731935(v=ws.11)
    - https://thedfirreport.com/2021/08/16/trickbot-leads-up-to-fake-1password-installation/
    - https://thedfirreport.com/2020/10/18/ryuk-in-5-hours/
    - https://book.hacktricks.xyz/windows/basic-cmd-for-pentesters
    - https://research.nccgroup.com/2022/08/19/back-in-black-unlocking-a-lockbit-3-0-ransomware-attack/
    - https://eqllib.readthedocs.io/en/latest/analytics/03e231a6-74bc-467a-acb1-e5676b0fb55e.html
    - https://redcanary.com/blog/how-one-hospital-thwarted-a-ryuk-ransomware-outbreak/
    - https://github.com/redcanaryco/atomic-red-team/blob/5360c9d9ffa3b25f6495f7a16e267b719eba2c37/atomics/T1482/T1482.md#atomic-test-2---windows---discover-domain-trusts-with-nltest
author: Craig Young, oscd.community, Georg Lauenstein
date: 2021-07-24
modified: 2023-12-15
tags:
    - attack.discovery
    - attack.t1016
    - attack.t1482
logsource:
    category: process_creation
    product: windows
detection:
    selection_nltest:
        - Image|endswith: '\nltest.exe'
        - OriginalFileName: 'nltestrk.exe'
    selection_recon:
        - CommandLine|contains|all:
              - 'server'
              - 'query'
        - CommandLine|contains:
              - '/user'
              - 'all_trusts' # Flag for /domain_trusts
              - 'dclist:'
              - 'dnsgetdc:'
              - 'domain_trusts'
              - 'dsgetdc:'
              - 'parentdomain'
              - 'trusted_domains'
    condition: all of selection_*
falsepositives:
    - Legitimate administration use but user and host must be investigated
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_nltest

selection_nltest:
    - Image|endswith: '\nltest.exe'
    - OriginalFileName: 'nltestrk.exe'

Stage 2: selection_recon

selection_recon:
    - CommandLine|contains|all:
          - 'server'
          - 'query'
    - CommandLine|contains:
          - '/user'
          - 'all_trusts'
          - 'dclist:'
          - 'dnsgetdc:'
          - 'domain_trusts'
          - 'dsgetdc:'
          - 'parentdomain'
          - 'trusted_domains'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /user
  • all_trusts
  • dclist:
  • dnsgetdc:
  • domain_trusts
  • dsgetdc:
  • parentdomain
  • query corpus 8 (sigma 7, splunk 1)
  • server
  • trusted_domains
field:"CommandLine" kind:match
Imageends_with
  • \nltest.exe corpus 9 (sigma 9)
field:"Image" kind:ends_with value:"\nltest.exe"
OriginalFileNameeq
  • nltestrk.exe corpus 4 (sigma 2, splunk 2)
field:"OriginalFileName" kind:eq value:"nltestrk.exe"

Potential Registry Persistence Attempt Via Windows Telemetry

#
Status
test
Severity
high
Author
Lednyov Alexey, oscd.community, Sreeman
Source
github.com/SigmaHQ/sigma

Detects potential persistence behavior using the windows telemetry registry key. Windows telemetry makes use of the binary CompatTelRunner.exe to run a variety of commands and perform the actual telemetry collections. This binary was created to be easily extensible, and to that end, it relies on the registry to instruct on which commands to run. The problem is, it will run any arbitrary command without restriction of location or type.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential Registry Persistence Attempt Via Windows Telemetry
id: 73a883d0-0348-4be4-a8d8-51031c2564f8
related:
    - id: 4e8d5fd3-c959-441f-a941-f73d0cdcdca5
      type: obsolete
status: test
description: |
    Detects potential persistence behavior using the windows telemetry registry key.
    Windows telemetry makes use of the binary CompatTelRunner.exe to run a variety of commands and perform the actual telemetry collections.
    This binary was created to be easily extensible, and to that end, it relies on the registry to instruct on which commands to run.
    The problem is, it will run any arbitrary command without restriction of location or type.
references:
    - https://www.trustedsec.com/blog/abusing-windows-telemetry-for-persistence/
author: Lednyov Alexey, oscd.community, Sreeman
date: 2020-10-16
modified: 2023-08-17
tags:
    - attack.privilege-escalation
    - attack.execution
    - attack.persistence
    - attack.t1053.005
logsource:
    category: registry_set
    product: windows
    definition: 'Requirements: Sysmon config that monitors \SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\TelemetryController subkey of the HKLM hives'
detection:
    selection:
        TargetObject|contains: '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\TelemetryController\'
        TargetObject|endswith: '\Command'
        Details|contains:
            - '.bat'
            - '.bin'
            - '.cmd'
            - '.dat'
            - '.dll'
            - '.exe'
            - '.hta'
            - '.jar'
            - '.js'
            - '.msi'
            - '.ps'
            - '.sh'
            - '.vb'
    filter_main_generic:
        Details|contains:
            - '\system32\CompatTelRunner.exe'
            - '\system32\DeviceCensus.exe'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    TargetObject|contains: '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\TelemetryController\'
    TargetObject|endswith: '\Command'
    Details|contains:
        - '.bat'
        - '.bin'
        - '.cmd'
        - '.dat'
        - '.dll'
        - '.exe'
        - '.hta'
        - '.jar'
        - '.js'
        - '.msi'
        - '.ps'
        - '.sh'
        - '.vb'

Stage 2: not filter_main_generic

filter_main_generic:
    Details|contains:
        - '\system32\CompatTelRunner.exe'
        - '\system32\DeviceCensus.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailsmatch
  • .bat corpus 3 (sigma 3)
  • .bin
  • .cmd
  • .dat
  • .dll corpus 5 (sigma 5)
  • .exe corpus 4 (sigma 3, splunk 1)
  • .hta corpus 2 (sigma 2)
  • .jar
  • .js
  • .msi
  • .ps
  • .sh
  • .vb
field:"Details" kind:match
TargetObjectends_with
  • \Command
field:"TargetObject" kind:ends_with value:"\Command"
TargetObjectmatch
  • \SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\TelemetryController\
field:"TargetObject" kind:match value:"\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\TelemetryController\"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Detailsmatch\system32\CompatTelRunner.exeexcludes:Details field:"Details" value:"\system32\CompatTelRunner.exe"
Detailsmatch\system32\DeviceCensus.exeexcludes:Details field:"Details" value:"\system32\DeviceCensus.exe"

PowerShell Get Clipboard

#
Status
test
Severity
medium
Author
Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
Source
github.com/SigmaHQ/sigma

A General detection for the Get-Clipboard commands in PowerShell logs. This could be an adversary capturing clipboard contents.

MITRE ATT&CK Coverage

TacticTechniques
Collection

Telemetry Coverage

Rule Body

title: PowerShell Get Clipboard
id: 4cbd4f12-2e22-43e3-882f-bff3247ffb78
status: test
description: A General detection for the Get-Clipboard commands in PowerShell logs. This could be an adversary capturing clipboard contents.
references:
    - https://github.com/OTRF/detection-hackathon-apt29/issues/16
    - https://github.com/OTRF/ThreatHunter-Playbook/blob/2d4257f630f4c9770f78d0c1df059f891ffc3fec/docs/evals/apt29/detections/7.A.2_F4609F7E-C4DB-4327-91D4-59A58C962A02.md
author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
date: 2020-05-02
modified: 2023-01-04
tags:
    - attack.collection
    - attack.t1115
logsource:
    product: windows
    category: ps_module
    definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
detection:
    selection:
        Payload|contains: 'Get-Clipboard'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Payload|contains: 'Get-Clipboard'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Payloadmatch
  • Get-Clipboard
field:"Payload" kind:match value:"Get-Clipboard"

Process Access via TrolleyExpress Exclusion

#
Status
test
Severity
high
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects a possible process memory dump that uses the white-listed Citrix TrolleyExpress.exe filename as a way to dump the lsass process memory

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Process Access via TrolleyExpress Exclusion
id: 4c0aaedc-154c-4427-ada0-d80ef9c9deb6
status: test
description: Detects a possible process memory dump that uses the white-listed Citrix TrolleyExpress.exe filename as a way to dump the lsass process memory
references:
    - https://twitter.com/_xpn_/status/1491557187168178176
    - https://www.youtube.com/watch?v=Ie831jF0bb0
author: Florian Roth (Nextron Systems)
date: 2022-02-10
modified: 2022-05-13
tags:
    - attack.stealth
    - attack.t1218.011
    - attack.credential-access
    - attack.t1003.001
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains:
      # We assume that the lsass.exe process has a process ID that's between 700 and 999 and the dumper uses just the PID as parameter
            - '\TrolleyExpress 7'
            - '\TrolleyExpress 8'
            - '\TrolleyExpress 9'
            - '\TrolleyExpress.exe 7'
            - '\TrolleyExpress.exe 8'
            - '\TrolleyExpress.exe 9'
      # Common dumpers
            - '\TrolleyExpress.exe -ma '
    renamed:
        Image|endswith: '\TrolleyExpress.exe'
    filter_renamed:
        OriginalFileName|contains: 'CtxInstall'
    filter_empty:
        OriginalFileName: null
    condition: selection or ( renamed and not 1 of filter* )
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection or ( renamed and not 1 of filter* )

Stage 1: selection

selection:
    CommandLine|contains:
        - '\TrolleyExpress 7'
        - '\TrolleyExpress 8'
        - '\TrolleyExpress 9'
        - '\TrolleyExpress.exe 7'
        - '\TrolleyExpress.exe 8'
        - '\TrolleyExpress.exe 9'
        - '\TrolleyExpress.exe -ma '

Stage 2: renamed

renamed:
    Image|endswith: '\TrolleyExpress.exe'

Stage 3: not filter*

filter_renamed:
    OriginalFileName|contains: 'CtxInstall'
filter_empty:
    OriginalFileName: null

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • \TrolleyExpress 7
  • \TrolleyExpress 8
  • \TrolleyExpress 9
  • \TrolleyExpress.exe -ma
  • \TrolleyExpress.exe 7
  • \TrolleyExpress.exe 8
  • \TrolleyExpress.exe 9
field:"CommandLine" kind:match
Imageends_with
  • \TrolleyExpress.exe
field:"Image" kind:ends_with value:"\TrolleyExpress.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
OriginalFileNameis_null(no value, null check)excludes:OriginalFileName
OriginalFileNamematchCtxInstallexcludes:OriginalFileName field:"OriginalFileName" value:"CtxInstall"

ProcessHacker Privilege Elevation

#
Status
test
Severity
high
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects a ProcessHacker tool that elevated privileges to a very high level

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: ProcessHacker Privilege Elevation
id: c4ff1eac-84ad-44dd-a6fb-d56a92fc43a9
status: test
description: Detects a ProcessHacker tool that elevated privileges to a very high level
references:
    - https://twitter.com/1kwpeter/status/1397816101455765504
author: Florian Roth (Nextron Systems)
date: 2021-05-27
modified: 2022-12-25
tags:
    - attack.persistence
    - attack.execution
    - attack.privilege-escalation
    - attack.t1543.003
    - attack.t1569.002
logsource:
    product: windows
    service: system
detection:
    selection:
        Provider_Name: 'Service Control Manager'
        EventID: 7045
        ServiceName|startswith: 'ProcessHacker'
        AccountName: 'LocalSystem'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Provider_Name: 'Service Control Manager'
    EventID: 7045
    ServiceName|startswith: 'ProcessHacker'
    AccountName: 'LocalSystem'

Indicators

These rows show field, operator, and value matches.

Remote Service Activity via SVCCTL Named Pipe

#
Status
test
Severity
medium
Author
Samir Bousseaden
Source
github.com/SigmaHQ/sigma

Detects remote service activity via remote access to the svcctl named pipe

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Remote Service Activity via SVCCTL Named Pipe
id: 586a8d6b-6bfe-4ad9-9d78-888cd2fe50c3
status: test
description: Detects remote service activity via remote access to the svcctl named pipe
references:
    - https://web.archive.org/web/20230329155141/https://blog.menasec.net/2019/03/threat-hunting-26-remote-windows.html
author: Samir Bousseaden
date: 2019-04-03
modified: 2024-08-01
tags:
    - attack.lateral-movement
    - attack.persistence
    - attack.t1021.002
logsource:
    product: windows
    service: security
    definition: 'The advanced audit policy setting "Object Access > Audit Detailed File Share" must be configured for Success/Failure'
detection:
    selection:
        EventID: 5145
        ShareName: '\\\\\*\\IPC$' # looking for the string \\*\IPC$
        RelativeTargetName: svcctl
        AccessList|contains: 'WriteData'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 5145
    ShareName: '\\\\\*\\IPC$'
    RelativeTargetName: svcctl
    AccessList|contains: 'WriteData'

Indicators

These rows show field, operator, and value matches.

Remote Utilities Host Service Install

#
Status
test
Severity
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects Remote Utilities Host service installation on the target system.

Known False Positives

  • Legitimate use of the tool

MITRE ATT&CK Coverage

TacticTechniques
PersistenceNo specific technique

Telemetry Coverage

Rule Body

title: Remote Utilities Host Service Install
id: 85cce894-dd8b-4427-a958-5cc47a4dc9b9
status: test
description: Detects Remote Utilities Host service installation on the target system.
references:
    - https://www.remoteutilities.com/support/kb/host-service-won-t-start/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-10-31
tags:
    - attack.persistence
logsource:
    product: windows
    service: system
detection:
    # Example:
    #   <EventData>
    #       <Data Name="ServiceName">Remote Utilities - Host</Data>
    #       <Data Name="ImagePath">"C:\Program Files (x86)\Remote Utilities - Host\rutserv.exe" -service</Data>
    #       <Data Name="ServiceType">user mode service</Data>
    #       <Data Name="StartType">auto start</Data>
    #       <Data Name="AccountName">LocalSystem</Data>
    #   </EventData>
    selection_root:
        Provider_Name: 'Service Control Manager'
        EventID: 7045
    selection_service:
        - ImagePath|contains|all:
              - '\rutserv.exe'
              - '-service'
        - ServiceName: 'Remote Utilities - Host'
    condition: all of selection_*
falsepositives:
    - Legitimate use of the tool
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_root

selection_root:
    Provider_Name: 'Service Control Manager'
    EventID: 7045

Stage 2: selection_service

selection_service:
    - ImagePath|contains|all:
          - '\rutserv.exe'
          - '-service'
    - ServiceName: 'Remote Utilities - Host'

Indicators

These rows show field, operator, and value matches.

RunMRU Registry Key Deletion

#
Status
experimental
Severity
high
Author
Swachchhanda Shrawan Poudel (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects deletion of the RunMRU registry key, which stores the history of commands executed via the Run dialog. In the clickfix techniques, the phishing lures instruct users to open a run dialog through (Win + R) and execute malicious commands. Adversaries may delete this key to cover their tracks after executing commands.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: RunMRU Registry Key Deletion
id: c11aecef-9c37-45a6-9c07-bc0782f963fd
related:
    - id: 3a9b8c1e-5b2e-4f7a-9d1c-2a7f3b6e1c55
      type: similar
status: experimental
description: |
    Detects deletion of the RunMRU registry key, which stores the history of commands executed via the Run dialog.
    In the clickfix techniques, the phishing lures instruct users to open a run dialog through (Win + R) and execute malicious commands.
    Adversaries may delete this key to cover their tracks after executing commands.
references:
    - https://www.zscaler.com/blogs/security-research/coldriver-updates-arsenal-baitswitch-and-simplefix
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-09-25
tags:
    - attack.stealth
    - attack.t1070.003
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\reg.exe'
        - OriginalFileName: 'reg.exe'
    selection_cli:
        CommandLine|contains|all:
            - ' del'
            - '\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\reg.exe'
    - OriginalFileName: 'reg.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains|all:
        - ' del'
        - '\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • del corpus 3 (splunk 2, sigma 1)
  • \Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU
field:"CommandLine" kind:match
Imageends_with
  • \reg.exe corpus 58 (sigma 58)
field:"Image" kind:ends_with value:"\reg.exe"
OriginalFileNameeq
  • reg.exe corpus 41 (sigma 32, splunk 8, elastic 1)
field:"OriginalFileName" kind:eq value:"reg.exe"

Suspicious SignIns From A Non Registered Device

#
Status
test
Severity
high
Author
Harjot Singh, '@cyb3rjy0t'
Source
github.com/SigmaHQ/sigma

Detects risky authentication from a non AD registered device without MFA being required.

MITRE ATT&CK Coverage

TacticTechniques
Initial Access
Persistence
Privilege Escalation
Stealth

Telemetry Coverage

Rule Body

title: Suspicious SignIns From A Non Registered Device
id: 572b12d4-9062-11ed-a1eb-0242ac120002
status: test
description: Detects risky authentication from a non AD registered device without MFA being required.
references:
    - https://learn.microsoft.com/en-us/entra/architecture/security-operations-devices#non-compliant-device-sign-in
author: Harjot Singh, '@cyb3rjy0t'
date: 2023-01-10
modified: 2025-07-02
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.initial-access
    - attack.stealth
    - attack.t1078
logsource:
    product: azure
    service: signinlogs
detection:
    selection_main:
        Status: 'Success'
        AuthenticationRequirement: 'singleFactorAuthentication'
        RiskState: 'atRisk'
    selection_empty1:
        DeviceDetail.trusttype: ''
    selection_empty2:
        DeviceDetail.trusttype: null
    condition: selection_main and 1 of selection_empty*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection_main and 1 of selection_empty*

Stage 1: selection_main

selection_main:
    Status: 'Success'
    AuthenticationRequirement: 'singleFactorAuthentication'
    RiskState: 'atRisk'

Stage 2: selection_empty1

selection_empty1:
    DeviceDetail.trusttype: ''

Stage 3: selection_empty2

selection_empty2:
    DeviceDetail.trusttype: null

Indicators

These rows show field, operator, and value matches.

Suspicious Windows Trace ETW Session Tamper Via Logman.EXE

#
Status
test
Severity
high
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the execution of "logman" utility in order to disable or delete Windows trace sessions

Known False Positives

  • Legitimate deactivation by administrative staff
  • Installer tools that disable services, e.g. before log collection agent installation

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Suspicious Windows Trace ETW Session Tamper Via Logman.EXE
id: cd1f961e-0b96-436b-b7c6-38da4583ec00
status: test
description: Detects the execution of "logman" utility in order to disable or delete Windows trace sessions
references:
    - https://twitter.com/0gtweet/status/1359039665232306183?s=21
    - https://ss64.com/nt/logman.html
author: Florian Roth (Nextron Systems)
date: 2021-02-11
modified: 2023-02-21
tags:
    - attack.defense-impairment
    - attack.t1685
    - attack.t1685.005
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\logman.exe'
        - OriginalFileName: 'Logman.exe'
    selection_action:
        CommandLine|contains:
            - 'stop '
            - 'delete '
    selection_service:
        CommandLine|contains:
            - 'Circular Kernel Context Logger'
            - 'EventLog-' # Cover multiple traces starting with EventLog-*
            - 'SYSMON TRACE'
            - 'SysmonDnsEtwSession'
    condition: all of selection*
falsepositives:
    - Legitimate deactivation by administrative staff
    - Installer tools that disable services, e.g. before log collection agent installation
level: high

Stages and Predicates

Stage 0: condition

all of selection*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\logman.exe'
    - OriginalFileName: 'Logman.exe'

Stage 2: selection_action

selection_action:
    CommandLine|contains:
        - 'stop '
        - 'delete '

Stage 3: selection_service

selection_service:
    CommandLine|contains:
        - 'Circular Kernel Context Logger'
        - 'EventLog-'
        - 'SYSMON TRACE'
        - 'SysmonDnsEtwSession'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • Circular Kernel Context Logger
  • EventLog-
  • SYSMON TRACE
  • SysmonDnsEtwSession
  • delete corpus 4 (sigma 4)
  • stop
field:"CommandLine" kind:match
Imageends_with
  • \logman.exe
field:"Image" kind:ends_with value:"\logman.exe"
OriginalFileNameeq
  • Logman.exe
field:"OriginalFileName" kind:eq value:"Logman.exe"

Task Manager used for LSASS dump (kernel)

#
Status
experimental
Severity
high
Author
mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects scenarios where an attacker attempt to dump the LSASS process via the Task Manager.

Known False Positives

  • None

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

Rule Body

title: Task Manager used for LSASS dump (kernel)
description: Detects scenarios where an attacker attempt to dump the LSASS process via the Task Manager.
references:
- https://superuser.com/questions/753556/taskmgr-exe-called-with-an-argument-by-windows-7
- https://twitter.com/Cyb3rSn0rlax/status/1462900723402817538?t=oMj76JVcPG72ZIlpVxucPw&s=09
- https://thedfirreport.com/2021/12/13/diavol-ransomware/
tags:
- attack.credential_access
- attack.t1003.001 # Credential dumping: LSASS
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 4663 # Kernel object
    ProcessName|endswith: '\taskmgr.exe'
    ObjectName|endswith: '\lsass.exe'
  condition: selection
falsepositives:
- None
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  EventID: 4663
  ProcessName|endswith: '\taskmgr.exe'
  ObjectName|endswith: '\lsass.exe'

Indicators

These rows show field, operator, and value matches.

Taskmgr as LOCAL_SYSTEM

#
Status
test
Severity
high
Author
Florian Roth (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the creation of taskmgr.exe process in context of LOCAL_SYSTEM

MITRE ATT&CK Coverage

TacticTechniques
Stealth

Telemetry Coverage

Rule Body

title: Taskmgr as LOCAL_SYSTEM
id: 9fff585c-c33e-4a86-b3cd-39312079a65f
status: test
description: Detects the creation of taskmgr.exe process in context of LOCAL_SYSTEM
references:
    - Internal Research
author: Florian Roth (Nextron Systems)
date: 2018-03-18
modified: 2022-05-27
tags:
    - attack.stealth
    - attack.t1036
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        User|contains: # covers many language settings
            - 'AUTHORI'
            - 'AUTORI'
        Image|endswith: '\taskmgr.exe'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    User|contains:
        - 'AUTHORI'
        - 'AUTORI'
    Image|endswith: '\taskmgr.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \taskmgr.exe corpus 5 (sigma 5)
field:"Image" kind:ends_with value:"\taskmgr.exe"
Usermatch
  • AUTHORI corpus 14 (sigma 14)
  • AUTORI corpus 14 (sigma 14)
field:"user" kind:match

Uncommon Link.EXE Parent Process

#

Use of Scriptrunner.exe

#
Status
test
Severity
medium
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

The "ScriptRunner.exe" binary can be abused to proxy execution through it and bypass possible whitelisting

Known False Positives

  • Legitimate use when App-v is deployed

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Use of Scriptrunner.exe
id: 64760eef-87f7-4ed3-93fd-655668ea9420
status: test
description: The "ScriptRunner.exe" binary can be abused to proxy execution through it and bypass possible whitelisting
references:
    - https://lolbas-project.github.io/lolbas/Binaries/Scriptrunner/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-07-01
tags:
    - attack.execution
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\ScriptRunner.exe'
        - OriginalFileName: 'ScriptRunner.exe'
    selection_cli:
        CommandLine|contains: ' -appvscript '
    condition: all of selection*
falsepositives:
    - Legitimate use when App-v is deployed
level: medium

Stages and Predicates

Stage 0: condition

all of selection*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\ScriptRunner.exe'
    - OriginalFileName: 'ScriptRunner.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains: ' -appvscript '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -appvscript
field:"CommandLine" kind:match value:" -appvscript "
Imageends_with
  • \ScriptRunner.exe corpus 12 (sigma 12)
field:"Image" kind:ends_with value:"\ScriptRunner.exe"
OriginalFileNameeq
  • ScriptRunner.exe corpus 6 (sigma 3, elastic 3)
field:"OriginalFileName" kind:eq value:"ScriptRunner.exe"

Veeam Backup Servers Credential Dumping Script Execution

#
Status
test
Severity
high
Author
Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects execution of a PowerShell script that contains calls to the "Veeam.Backup" class, in order to dump stored credentials.

Known False Positives

  • Administrators backup scripts (must be investigated)

MITRE ATT&CK Coverage

TacticTechniques
Credential AccessNo specific technique

Telemetry Coverage

Rule Body

title: Veeam Backup Servers Credential Dumping Script Execution
id: 976d6e6f-a04b-4900-9713-0134a353e38b
status: test
description: Detects execution of a PowerShell script that contains calls to the "Veeam.Backup" class, in order to dump stored credentials.
references:
    - https://www.pwndefend.com/2021/02/15/retrieving-passwords-from-veeam-backup-servers/
    - https://labs.withsecure.com/publications/fin7-target-veeam-servers
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-04
tags:
    - attack.credential-access
logsource:
    product: windows
    category: ps_script
    definition: bade5735-5ab0-4aa7-a642-a11be0e40872
detection:
    selection:
        ScriptBlockText|contains|all:
            - '[Credentials]'
            - '[Veeam.Backup.Common.ProtectedStorage]::GetLocalString'
            - 'Invoke-Sqlcmd'
            - 'Veeam Backup and Replication'
    condition: selection
falsepositives:
    - Administrators backup scripts (must be investigated)
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ScriptBlockText|contains|all:
        - '[Credentials]'
        - '[Veeam.Backup.Common.ProtectedStorage]::GetLocalString'
        - 'Invoke-Sqlcmd'
        - 'Veeam Backup and Replication'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ScriptBlockTextmatch
  • Invoke-Sqlcmd corpus 2 (sigma 1, splunk 1)
  • Veeam Backup and Replication
  • [Credentials]
  • [Veeam.Backup.Common.ProtectedStorage]::GetLocalString
field:"ScriptBlockText" kind:match

Wlrmdr.EXE Uncommon Argument Or Child Process

#
Status
experimental
Severity
medium
Author
frack113, manasmbellani
Source
github.com/SigmaHQ/sigma

Detects the execution of "Wlrmdr.exe" with the "-u" command line flag which allows anything passed to it to be an argument of the ShellExecute API, which would allow an attacker to execute arbitrary binaries. This detection also focuses on any uncommon child processes spawned from "Wlrmdr.exe" as a supplement for those that posses "ParentImage" telemetry.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Wlrmdr.EXE Uncommon Argument Or Child Process
id: 9cfc00b6-bfb7-49ce-9781-ef78503154bb
status: experimental
description: |
    Detects the execution of "Wlrmdr.exe" with the "-u" command line flag which allows anything passed to it to be an argument of the ShellExecute API, which would allow an attacker to execute arbitrary binaries.
    This detection also focuses on any uncommon child processes spawned from "Wlrmdr.exe" as a supplement for those that posses "ParentImage" telemetry.
references:
    - https://twitter.com/0gtweet/status/1493963591745220608?s=20&t=xUg9DsZhJy1q9bPTUWgeIQ
    - https://lolbas-project.github.io/lolbas/Binaries/Wlrmdr/
author: frack113, manasmbellani
date: 2022-02-16
modified: 2025-10-31
tags:
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection_parent: # This selection is looking for processes spawned from wlrmdr using the "-u" flag
        ParentImage|endswith: '\wlrmdr.exe'
    selection_child_img:
        - Image|endswith: '\wlrmdr.exe'
        - OriginalFileName: 'WLRMNDR.EXE'
    selection_child_cli_flags_s:
        CommandLine|contains|windash: '-s '
    selection_child_cli_flags_f:
        CommandLine|contains|windash: '-f '
    selection_child_cli_flags_t:
        CommandLine|contains|windash: '-t '
    selection_child_cli_flags_m:
        CommandLine|contains|windash: '-m '
    selection_child_cli_flags_a:
        CommandLine|contains|windash: '-a '
    selection_child_cli_flags_u:
        CommandLine|contains|windash: '-u '
    filter_main_winlogon:
        ParentImage: 'C:\Windows\System32\winlogon.exe'
    filter_main_empty:
        ParentImage:
            - ''
            - '-'
    filter_main_null:
        ParentImage: null
    condition: selection_parent or (all of selection_child_* and not 1 of filter_main_*)
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection_parent or (all of selection_child_* and not 1 of filter_main_*)

Stage 1: selection_parent

selection_parent:
    ParentImage|endswith: '\wlrmdr.exe'

Stage 2: selection_child_img

selection_child_img:
    - Image|endswith: '\wlrmdr.exe'
    - OriginalFileName: 'WLRMNDR.EXE'

Stage 3: selection_child_cli_flags_s

selection_child_cli_flags_s:
    CommandLine|contains|windash: '-s '

Stage 4: selection_child_cli_flags_f

selection_child_cli_flags_f:
    CommandLine|contains|windash: '-f '

Stage 5: selection_child_cli_flags_t

selection_child_cli_flags_t:
    CommandLine|contains|windash: '-t '

Stage 6: selection_child_cli_flags_m

selection_child_cli_flags_m:
    CommandLine|contains|windash: '-m '

Stage 7: selection_child_cli_flags_a

selection_child_cli_flags_a:
    CommandLine|contains|windash: '-a '

Stage 8: selection_child_cli_flags_u

selection_child_cli_flags_u:
    CommandLine|contains|windash: '-u '

Stage 9: not filter_main_*

filter_main_winlogon:
    ParentImage: 'C:\Windows\System32\winlogon.exe'
filter_main_empty:
    ParentImage:
        - ''
        - '-'
filter_main_null:
    ParentImage: null

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -a corpus 3 (sigma 3)
  • -f corpus 3 (splunk 2, sigma 1)
  • -m corpus 4 (sigma 4)
  • -s corpus 6 (sigma 6)
  • -t corpus 2 (sigma 2)
  • -u corpus 5 (sigma 4, splunk 1)
  • /a corpus 2 (sigma 2)
  • /f corpus 4 (sigma 4)
  • /m
  • /s corpus 7 (sigma 6, splunk 1)
  • /t corpus 3 (sigma 3)
  • /u
  • –a
  • –f
  • –m
  • –s corpus 4 (sigma 4)
  • –t
  • –u
  • —a
  • —f
  • —m
  • —s corpus 4 (sigma 4)
  • —t
  • —u
  • ―a
  • ―f
  • ―m
  • ―s corpus 4 (sigma 4)
  • ―t
  • ―u
field:"CommandLine" kind:match
Imageends_with
  • \wlrmdr.exe
field:"Image" kind:ends_with value:"\wlrmdr.exe"
OriginalFileNameeq
  • WLRMNDR.EXE
field:"OriginalFileName" kind:eq value:"WLRMNDR.EXE"
ParentImageends_with
  • \wlrmdr.exe
field:"ParentImage" kind:ends_with value:"\wlrmdr.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ParentImageeq-excludes:ParentImage field:"ParentImage" value:"-"
ParentImageeqC:\Windows\System32\winlogon.exeexcludes:ParentImage field:"ParentImage" value:"C:\Windows\System32\winlogon.exe"
ParentImageis_null(no value, null check)excludes:ParentImage

Back to all Sigma rules