Detection rules › Sigma

Sigma rules: 12

DNS Query Request By Regsvr32.EXE

#
Status
test
Severity
medium
Author
Dmitriy Lifanov, oscd.community
Source
github.com/SigmaHQ/sigma

Detects DNS queries initiated by "Regsvr32.exe"

MITRE ATT&CK Coverage

Telemetry Coverage

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

Rule Body

title: DNS Query Request By Regsvr32.EXE
id: 36e037c4-c228-4866-b6a3-48eb292b9955
related:
    - id: c7e91a02-d771-4a6d-a700-42587e0b1095
      type: derived
status: test
description: Detects DNS queries initiated by "Regsvr32.exe"
references:
    - https://pentestlab.blog/2017/05/11/applocker-bypass-regsvr32/
    - https://oddvar.moe/2017/12/13/applocker-case-study-how-insecure-is-it-really-part-1/
author: Dmitriy Lifanov, oscd.community
date: 2019-10-25
modified: 2023-09-18
tags:
    - attack.execution
    - attack.stealth
    - attack.t1559.001
    - attack.t1218.010
logsource:
    category: dns_query
    product: windows
detection:
    selection:
        Image|endswith: '\regsvr32.exe'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '\regsvr32.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \regsvr32.exe corpus 64 (sigma 64)
field:"Image" kind:ends_with value:"\regsvr32.exe"

DNS Query Request To OneLaunch Update Service

#
Status
test
Severity
low
Author
Josh Nickels
Source
github.com/SigmaHQ/sigma

Detects DNS query requests to "update.onelaunch.com". This domain is associated with the OneLaunch adware application. When the OneLaunch application is installed it will attempt to get updates from this domain.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Credential Access
Collection

Telemetry Coverage

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

Rule Body

title: DNS Query Request To OneLaunch Update Service
id: df68f791-ad95-447f-a271-640a0dab9cf8
status: test
description: |
    Detects DNS query requests to "update.onelaunch.com". This domain is associated with the OneLaunch adware application.
    When the OneLaunch application is installed it will attempt to get updates from this domain.
references:
    - https://www.malwarebytes.com/blog/detections/pup-optional-onelaunch-silentcf
    - https://www.myantispyware.com/2020/12/14/how-to-uninstall-onelaunch-browser-removal-guide/
    - https://malware.guide/browser-hijacker/remove-onelaunch-virus/
author: Josh Nickels
date: 2024-02-26
tags:
    - attack.credential-access
    - attack.collection
    - attack.t1056
logsource:
    category: dns_query
    product: windows
detection:
    selection:
        QueryName: 'update.onelaunch.com'
        Image|endswith: '\OneLaunch.exe'
    condition: selection
falsepositives:
    - Unlikely
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    QueryName: 'update.onelaunch.com'
    Image|endswith: '\OneLaunch.exe'

Indicators

These rows show field, operator, and value matches.

File Download Using ProtocolHandler.exe

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

Detects usage of "ProtocolHandler" to download files. Downloaded files will be located in the cache folder (for example - %LOCALAPPDATA%\Microsoft\Windows\INetCache\IE)

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: File Download Using ProtocolHandler.exe
id: 104cdb48-a7a8-4ca7-a453-32942c6e5dcb
status: test
description: |
    Detects usage of "ProtocolHandler" to download files. Downloaded files will be located in the cache folder (for example - %LOCALAPPDATA%\Microsoft\Windows\INetCache\IE)
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218/T1218.md
    - https://lolbas-project.github.io/lolbas/OtherMSBinaries/ProtocolHandler/
author: frack113
date: 2021-07-13
modified: 2023-11-09
tags:
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\protocolhandler.exe'
        - OriginalFileName: 'ProtocolHandler.exe'
    selection_cli:
        CommandLine|contains:
            - 'ftp://'
            - 'http://'
            - 'https://'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\protocolhandler.exe'
    - OriginalFileName: 'ProtocolHandler.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains:
        - 'ftp://'
        - 'http://'
        - 'https://'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • ftp:// corpus 12 (sigma 11, elastic 1)
  • http:// corpus 20 (sigma 18, elastic 1, splunk 1)
  • https:// corpus 20 (sigma 18, elastic 1, splunk 1)
field:"CommandLine" kind:match
Imageends_with
  • \protocolhandler.exe
field:"Image" kind:ends_with value:"\protocolhandler.exe"
OriginalFileNameeq
  • ProtocolHandler.exe
field:"OriginalFileName" kind:eq value:"ProtocolHandler.exe"

Files Added To An Archive Using Rar.EXE

#
Status
test
Severity
low
Author
Timur Zinniatullin, E.M. Anhaus, oscd.community
Source
github.com/SigmaHQ/sigma

Detects usage of "rar" to add files to an archive for potential compression. An adversary may compress data (e.g. sensitive documents) that is collected prior to exfiltration in order to make it portable and minimize the amount of data sent over the network.

Known False Positives

  • Highly likely if rar is a default archiver in the monitored environment.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Files Added To An Archive Using Rar.EXE
id: 6f3e2987-db24-4c78-a860-b4f4095a7095
status: test
description: Detects usage of "rar" to add files to an archive for potential compression. An adversary may compress data (e.g. sensitive documents) that is collected prior to exfiltration in order to make it portable and minimize the amount of data sent over the network.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1560.001/T1560.001.md
    - https://eqllib.readthedocs.io/en/latest/analytics/1ec33c93-3d0b-4a28-8014-dbdaae5c60ae.html
author: Timur Zinniatullin, E.M. Anhaus, oscd.community
date: 2019-10-21
modified: 2023-02-05
tags:
    - attack.collection
    - attack.t1560.001
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\rar.exe'
        CommandLine|contains: ' a '
    condition: selection
falsepositives:
    - Highly likely if rar is a default archiver in the monitored environment.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '\rar.exe'
    CommandLine|contains: ' a '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • a corpus 4 (sigma 4)
field:"CommandLine" kind:match value:" a "
Imageends_with
  • \rar.exe corpus 5 (sigma 5)
field:"Image" kind:ends_with value:"\rar.exe"

Get Caller Identity

#
Status
test
Severity
low
Author
Zach Mathis (@yamatosecurity)
Source
github.com/Yamato-Security/suzaku-rules

The "whoami" for AWS. Attackers will often use this to determine the identity of the current user or role. This is a common first step in AWS reconnaissance. After stealing long-term or short-term access keys, attackers often run aws sts get-caller-identity to determine the identity of the compromised user or role. Any IAM user or role can call this API, and it is often used in scripts to verify the identity of the caller.

Known False Positives

  • Users trying to determine their identity in AWS and/or testing their access key validity.

MITRE ATT&CK Coverage

TacticTechniques
DiscoveryNo specific technique

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: Get Caller Identity
id: 0e854216-b78f-4e05-9d62-1314cf16bb40
status: test
description: |
    The "whoami" for AWS. Attackers will often use this to determine the identity of the current user or role. This is a common first step in AWS reconnaissance.
    After stealing long-term or short-term access keys, attackers often run `aws sts get-caller-identity` to determine the identity of the compromised user or role.
    Any IAM user or role can call this API, and it is often used in scripts to verify the identity of the caller.
references:
    - https://hackingthe.cloud/aws/general-knowledge/using_stolen_iam_credentials/
author: Zach Mathis (@yamatosecurity)
date: 2025-04-24
modified: 2025-05-31
tags:
    - attack.discovery
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventName: 'GetCallerIdentity'
    condition: selection
falsepositives:
    - Users trying to determine their identity in AWS and/or testing their access key validity.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventName: 'GetCallerIdentity'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
eventNameeq
  • GetCallerIdentity corpus 4 (sigma 3, kusto 1)
field:"aws::eventName" kind:eq value:"GetCallerIdentity"

HackTool - Mimikatz Kirbi File Creation

#
Status
test
Severity
critical
Author
Florian Roth (Nextron Systems), David ANDRE
Source
github.com/SigmaHQ/sigma

Detects the creation of files created by mimikatz such as ".kirbi", "mimilsa.log", etc.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: HackTool - Mimikatz Kirbi File Creation
id: 9e099d99-44c2-42b6-a6d8-54c3545cab29
related:
    - id: 034affe8-6170-11ec-844f-0f78aa0c4d66
      type: obsolete
status: test
description: Detects the creation of files created by mimikatz such as ".kirbi", "mimilsa.log", etc.
references:
    - https://cobalt.io/blog/kerberoast-attack-techniques
    - https://pentestlab.blog/2019/10/21/persistence-security-support-provider/
author: Florian Roth (Nextron Systems), David ANDRE
date: 2021-11-08
modified: 2024-06-27
tags:
    - attack.credential-access
    - attack.t1558
logsource:
    category: file_event
    product: windows
detection:
    selection:
        TargetFilename|endswith:
            - '.kirbi' # Kerberos tickets
            - 'mimilsa.log' # MemSSP default file
    condition: selection
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|endswith:
        - '.kirbi'
        - 'mimilsa.log'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • .kirbi
  • mimilsa.log
field:"TargetFilename" kind:ends_with

Ingress Port 22 Opened

#
Status
test
Severity
medium
Author
Zach Mathis (@yamatosecurity)
Source
github.com/Yamato-Security/suzaku-rules

Ingress port 22 was opened in a security group for an EC2 instance. This is a common tactic used by attackers to establish access into the environment via SSH for a variety of reasons (exfil, etc...).

MITRE ATT&CK Coverage

TacticTechniques
PersistenceNo specific technique
ExfiltrationNo specific technique

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: Ingress Port 22 Opened 
id: 372d79d1-73c5-48db-aa98-18b1a03fc9fc
status: test
description: |
    Ingress port 22 was opened in a security group for an EC2 instance.
    This is a common tactic used by attackers to establish access into the environment via SSH for a variety of reasons (exfil, etc...).
references:
    - https://stratus-red-team.cloud/attack-techniques/AWS/aws.exfiltration.ec2-security-group-open-port-22-ingress/
author: Zach Mathis (@yamatosecurity)
date: 2025-04-24
modified: 2025-04-24
tags:
    - attack.exfiltration
    - attack.persistence
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: 'ec2.amazonaws.com'
        eventName: 'AuthorizeSecurityGroupIngress'
    selection_port_ranges:
        - requestParameters.fromPort: '22'
        - requestParameters.toPort: '22'
    condition: selection and selection_port_ranges
falsepositives:
level: medium

Stages and Predicates

Stage 0: condition

selection and selection_port_ranges

Stage 1: selection

selection:
    eventSource: 'ec2.amazonaws.com'
    eventName: 'AuthorizeSecurityGroupIngress'

Stage 2: selection_port_ranges

selection_port_ranges:
    - requestParameters.fromPort: '22'
    - requestParameters.toPort: '22'

Indicators

These rows show field, operator, and value matches.

Installation of TeamViewer Desktop

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

TeamViewer_Desktop.exe is create during install

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Installation of TeamViewer Desktop
id: 9711de76-5d4f-4c50-a94f-21e4e8f8384d
status: test
description: TeamViewer_Desktop.exe is create during install
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1219/T1219.md#atomic-test-1---teamviewer-files-detected-test-on-windows
author: frack113
date: 2022-01-28
tags:
    - attack.command-and-control
    - attack.t1219.002
logsource:
    product: windows
    category: file_event
detection:
    selection:
        TargetFilename|endswith: '\TeamViewer_Desktop.exe'
    condition: selection
falsepositives:
    - Unknown
level: medium
regression_tests_path: regression_data/rules/windows/file/file_event/file_event_win_install_teamviewer_desktop/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|endswith: '\TeamViewer_Desktop.exe'

Indicators

These rows show field, operator, and value matches.

JXA In-memory Execution Via OSAScript

#
Status
test
Severity
high
Author
Sohan G (D4rkCiph3r)
Source
github.com/SigmaHQ/sigma

Detects possible malicious execution of JXA in-memory via OSAScript

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: JXA In-memory Execution Via OSAScript
id: f1408a58-0e94-4165-b80a-da9f96cf6fc3
related:
    - id: 1bc2e6c5-0885-472b-bed6-be5ea8eace55
      type: derived
status: test
description: Detects possible malicious execution of JXA in-memory via OSAScript
references:
    - https://redcanary.com/blog/applescript/
author: Sohan G (D4rkCiph3r)
date: 2023-01-31
tags:
    - attack.t1059.002
    - attack.t1059.007
    - attack.execution
logsource:
    product: macos
    category: process_creation
detection:
    selection_main:
        CommandLine|contains|all:
            - 'osascript'
            - ' -e '
            - 'eval'
            - 'NSData.dataWithContentsOfURL'
    selection_js:
        - CommandLine|contains|all:
              - ' -l '
              - 'JavaScript'
        - CommandLine|contains: '.js'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_main

selection_main:
    CommandLine|contains|all:
        - 'osascript'
        - ' -e '
        - 'eval'
        - 'NSData.dataWithContentsOfURL'

Stage 2: selection_js

selection_js:
    - CommandLine|contains|all:
          - ' -l '
          - 'JavaScript'
    - CommandLine|contains: '.js'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -e corpus 17 (sigma 14, elastic 3)
  • -l corpus 3 (sigma 3)
  • .js corpus 9 (sigma 9)
  • JavaScript corpus 5 (sigma 2, elastic 2, splunk 1)
  • NSData.dataWithContentsOfURL
  • eval corpus 2 (sigma 2)
  • osascript
field:"CommandLine" kind:match

Legitimate Application Writing Files In Uncommon Location

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

Detects legitimate applications writing any type of file to uncommon or suspicious locations that are not typical for application data storage or execution. Adversaries may leverage legitimate applications (Living off the Land Binaries - LOLBins) to drop or download malicious files to uncommon locations on the system to evade detection by security solutions.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Legitimate Application Writing Files In Uncommon Location
id: 1cf465a1-2609-4c15-9b66-c32dbe4bfd67
related:
    - id: 2ddef153-167b-4e89-86b6-757a9e65dcac # bitsadmin dedicated rule
      type: similar
status: experimental
description: |
    Detects legitimate applications writing any type of file to uncommon or suspicious locations that are not typical for application data storage or execution.
    Adversaries may leverage legitimate applications (Living off the Land Binaries - LOLBins) to drop or download malicious files to uncommon locations on the system to evade detection by security solutions.
references:
    - https://lolbas-project.github.io/#/download
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-12-10
tags:
    - attack.stealth
    - attack.t1218
    - attack.command-and-control
    - attack.t1105
logsource:
    product: windows
    category: file_event
detection:
    selection_img:
        Image|endswith:
            # Microsoft Office Programs Dropping Executables / Rest of the apps are covered in: c7a74c80-ba5a-486e-9974-ab9e682bc5e4
            - '\eqnedt32.exe'
            - '\wordpad.exe'
            - '\wordview.exe'
            # LOLBINs that can be used to download executables
            - '\cmdl32.exe'
            - '\certutil.exe'
            - '\certoc.exe'
            - '\CertReq.exe'
            - '\bitsadmin.exe'
            - '\Desktopimgdownldr.exe'
            - '\esentutl.exe'
            - '\expand.exe'
            - '\extrac32.exe'
            - '\replace.exe'
            - '\mshta.exe'
            - '\ftp.exe'
            - '\Ldifde.exe'
            - '\RdrCEF.exe'
            - '\hh.exe'
            - '\finger.exe'
            - '\findstr.exe'
    selection_locations:
        TargetFilename|contains:
            - ':\Perflogs'
            - ':\ProgramData\'
            - ':\Temp\'
            - ':\Users\Public\'
            - ':\Windows\'
            - '\$Recycle.Bin\'
            - '\AppData\Local\'
            - '\AppData\Roaming\'
            - '\Contacts\'
            - '\Desktop\'
            - '\Favorites\'
            - '\Favourites\'
            - '\inetpub\wwwroot\'
            - '\Music\'
            - '\Pictures\'
            - '\Start Menu\Programs\Startup\'
            - '\Users\Default\'
            - '\Videos\'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/file/file_event/file_event_win_susp_legitimate_app_dropping_in_uncommon_location/info.yml

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    Image|endswith:
        - '\eqnedt32.exe'
        - '\wordpad.exe'
        - '\wordview.exe'
        - '\cmdl32.exe'
        - '\certutil.exe'
        - '\certoc.exe'
        - '\CertReq.exe'
        - '\bitsadmin.exe'
        - '\Desktopimgdownldr.exe'
        - '\esentutl.exe'
        - '\expand.exe'
        - '\extrac32.exe'
        - '\replace.exe'
        - '\mshta.exe'
        - '\ftp.exe'
        - '\Ldifde.exe'
        - '\RdrCEF.exe'
        - '\hh.exe'
        - '\finger.exe'
        - '\findstr.exe'

Stage 2: selection_locations

selection_locations:
    TargetFilename|contains:
        - ':\Perflogs'
        - ':\ProgramData\'
        - ':\Temp\'
        - ':\Users\Public\'
        - ':\Windows\'
        - '\$Recycle.Bin\'
        - '\AppData\Local\'
        - '\AppData\Roaming\'
        - '\Contacts\'
        - '\Desktop\'
        - '\Favorites\'
        - '\Favourites\'
        - '\inetpub\wwwroot\'
        - '\Music\'
        - '\Pictures\'
        - '\Start Menu\Programs\Startup\'
        - '\Users\Default\'
        - '\Videos\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \CertReq.exe corpus 7 (sigma 7)
  • \Desktopimgdownldr.exe corpus 5 (sigma 5)
  • \Ldifde.exe corpus 4 (sigma 4)
  • \RdrCEF.exe corpus 4 (sigma 4)
  • \bitsadmin.exe corpus 29 (sigma 29)
  • \certoc.exe corpus 10 (sigma 10)
  • \certutil.exe corpus 43 (sigma 43)
  • \cmdl32.exe corpus 2 (sigma 2)
  • \eqnedt32.exe corpus 6 (sigma 6)
  • \esentutl.exe corpus 7 (sigma 7)
  • \expand.exe corpus 2 (sigma 2)
  • \extrac32.exe corpus 2 (sigma 2)
  • \findstr.exe corpus 11 (sigma 11)
  • \finger.exe corpus 8 (sigma 8)
  • \ftp.exe corpus 2 (sigma 2)
  • \hh.exe corpus 15 (sigma 15)
  • \mshta.exe corpus 67 (sigma 66, splunk 1)
  • \replace.exe corpus 2 (sigma 2)
  • \wordpad.exe corpus 6 (sigma 6)
  • \wordview.exe corpus 6 (sigma 6)
field:"Image" kind:ends_with
TargetFilenamematch
  • :\Perflogs
  • :\ProgramData\ corpus 4 (sigma 4)
  • :\Temp\ corpus 5 (sigma 5)
  • :\Users\Public\ corpus 2 (sigma 2)
  • :\Windows\
  • \$Recycle.Bin\
  • \AppData\Local\ corpus 2 (sigma 2)
  • \AppData\Roaming\ corpus 4 (sigma 2, splunk 2)
  • \Contacts\
  • \Desktop\ corpus 3 (sigma 3)
  • \Favorites\
  • \Favourites\
  • \Music\
  • \Pictures\
  • \Start Menu\Programs\Startup\ corpus 5 (sigma 5)
  • \Users\Default\
  • \Videos\
  • \inetpub\wwwroot\ corpus 2 (sigma 2)
field:"TargetFilename" kind:match

LiveKD Driver Creation By Uncommon Process

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

Detects the creation of the LiveKD driver by a process image other than "livekd.exe".

Known False Positives

  • Administrators might rename LiveKD before its usage which could trigger this. Add additional names you use to the filter

MITRE ATT&CK Coverage

TacticTechniques
Privilege EscalationNo specific technique
StealthNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: LiveKD Driver Creation By Uncommon Process
id: 059c5af9-5131-4d8d-92b2-de4ad6146712
related:
    - id: 16fe46bb-4f64-46aa-817d-ff7bec4a2352
      type: similar
status: test
description: Detects the creation of the LiveKD driver by a process image other than "livekd.exe".
references:
    - Internal Research
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-16
tags:
    - attack.privilege-escalation
    - attack.stealth
logsource:
    product: windows
    category: file_event
detection:
    selection:
        TargetFilename: 'C:\Windows\System32\drivers\LiveKdD.SYS'
    filter_main_legit_name:
        Image|endswith:
            - '\livekd.exe'
            - '\livek64.exe'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Administrators might rename LiveKD before its usage which could trigger this. Add additional names you use to the filter
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    TargetFilename: 'C:\Windows\System32\drivers\LiveKdD.SYS'

Stage 2: not filter_main_legit_name

filter_main_legit_name:
    Image|endswith:
        - '\livekd.exe'
        - '\livek64.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameeq
  • C:\Windows\System32\drivers\LiveKdD.SYS corpus 2 (sigma 2)
field:"TargetFilename" kind:eq value:"C:\Windows\System32\drivers\LiveKdD.SYS"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\livek64.exeexcludes:Image field:"Image" value:"\livek64.exe"
Imageends_with\livekd.exeexcludes:Image field:"Image" value:"\livekd.exe"

macOS ULS Quarantine or XProtect Detection

#
Status
experimental
Severity
high
Author
Eric Brown - Nebulock, Inc.
Source
github.com/Nebulock-Inc/macos-coresigma

Detect logs referencing quarantine (LSQuarantine) or XProtect malware detections.

Known False Positives

  • rare, but test systems may trigger intentionally

Rule Body

title: macOS ULS Quarantine or XProtect Detection
id: 0a1b2c3d-4e5f-4789-abcd-ef0123456789
status: experimental
description: Detect logs referencing quarantine (LSQuarantine) or XProtect malware
  detections.
author: Eric Brown - Nebulock, Inc.
date: 2025-10-29
logsource:
  product: macos
  service: unifiedlog
level: high
detection:
  selection:
    message|contains:
    - LSQuarantine
    - XProtect
    - Malware removed
  condition: selection
falsepositives:
- rare, but test systems may trigger intentionally
modified: 2025/01/15

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  message|contains:
  - LSQuarantine
  - XProtect
  - Malware removed

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
messagematch
  • LSQuarantine
  • Malware removed
  • XProtect
field:"message" kind:match

Possible CVE-2021-1675 Print Spooler Exploitation

#
Status
test
Severity
high
Author
Florian Roth (Nextron Systems), KevTheHermit, fuzzyf10w, Tim Shelton
Source
github.com/SigmaHQ/sigma

Detects events of driver load errors in print service logs that could be a sign of successful exploitation attempts of print spooler vulnerability CVE-2021-1675

Known False Positives

  • Problems with printer drivers

MITRE ATT&CK Coverage

TacticTechniques
Execution

Telemetry Coverage

Rule Body

title: Possible CVE-2021-1675 Print Spooler Exploitation
id: 4e64668a-4da1-49f5-a8df-9e2d5b866718
status: test
description: Detects events of driver load errors in print service logs that could be a sign of successful exploitation attempts of print spooler vulnerability CVE-2021-1675
references:
    - https://web.archive.org/web/20210629055600/https://github.com/hhlxf/PrintNightmare/
    - https://web.archive.org/web/20210701042336/https://github.com/afwu/PrintNightmare
    - https://twitter.com/fuzzyf10w/status/1410202370835898371
author: Florian Roth (Nextron Systems), KevTheHermit, fuzzyf10w, Tim Shelton
date: 2021-06-30
modified: 2022-11-15
tags:
    - attack.execution
    - attack.t1569
    - cve.2021-1675
    - detection.emerging-threats
logsource:
    product: windows
    service: printservice-admin
detection:
    selection:
        EventID: 808
        ErrorCode:
            - '0x45A'
            - '0x7e'
    keywords:
        - 'The print spooler failed to load a plug-in module'
        # default file names used in PoC codes
        - 'MyExploit.dll'
        - 'evil.dll'
        - '\addCube.dll'
        - '\rev.dll'
        - '\rev2.dll'
        - '\main64.dll'
        - '\mimilib.dll'
        - '\mimispool.dll'
    falsepositive:
        - ' registration timed out' # ex: The print spooler failed to load a plug-in module PrintConfig registration timed out
    condition: (selection or keywords) and not falsepositive
falsepositives:
    - Problems with printer drivers
level: high

Stages and Predicates

Stage 0: condition

(selection or keywords) and not falsepositive

Stage 1: selection

selection:
    EventID: 808
    ErrorCode:
        - '0x45A'
        - '0x7e'

Stage 2: keywords

keywords:
    - 'The print spooler failed to load a plug-in module'
    - 'MyExploit.dll'
    - 'evil.dll'
    - '\addCube.dll'
    - '\rev.dll'
    - '\rev2.dll'
    - '\main64.dll'
    - '\mimilib.dll'
    - '\mimispool.dll'

Stage 3: not falsepositive

falsepositive:
    - ' registration timed out'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ErrorCodeeq
  • 0x45A corpus 2 (sigma 1, splunk 1)
  • 0x7e
field:"aws::errorCode" kind:eq

Potential Perl Reverse Shell Execution

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

Detects execution of the perl binary with the "-e" flag and common strings related to potential reverse shell activity

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: Potential Perl Reverse Shell Execution
id: 259df6bc-003f-4306-9f54-4ff1a08fa38e
status: test
description: Detects execution of the perl binary with the "-e" flag and common strings related to potential reverse shell activity
references:
    - https://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet
    - https://www.revshells.com/
author: '@d4ns4n_, Nasreddine Bencherchali (Nextron Systems)'
date: 2023-04-07
tags:
    - attack.execution
logsource:
    category: process_creation
    product: linux
detection:
    selection_img:
        Image|endswith: '/perl'
        CommandLine|contains: ' -e '
    selection_content:
        - CommandLine|contains|all:
              - 'fdopen('
              - '::Socket::INET'
        - CommandLine|contains|all:
              - 'Socket'
              - 'connect'
              - 'open'
              - 'exec'
    condition: all of selection_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    Image|endswith: '/perl'
    CommandLine|contains: ' -e '

Stage 2: selection_content

selection_content:
    - CommandLine|contains|all:
          - 'fdopen('
          - '::Socket::INET'
    - CommandLine|contains|all:
          - 'Socket'
          - 'connect'
          - 'open'
          - 'exec'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -e corpus 17 (sigma 14, elastic 3)
  • ::Socket::INET
  • Socket corpus 5 (elastic 3, sigma 2)
  • connect corpus 2 (sigma 1, elastic 1)
  • exec corpus 9 (elastic 5, sigma 2, splunk 2)
  • fdopen(
  • open corpus 5 (elastic 4, sigma 1)
field:"CommandLine" kind:match
Imageends_with
  • /perl corpus 5 (sigma 5)
field:"Image" kind:ends_with value:"/perl"

Potential ShellDispatch.DLL Functionality Abuse

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

Detects potential "ShellDispatch.dll" functionality abuse to execute arbitrary binaries via "ShellExecute"

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique
StealthNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Potential ShellDispatch.DLL Functionality Abuse
id: 82343930-652f-43f5-ab70-2ee9fdd6d5e9
status: test
description: Detects potential "ShellDispatch.dll" functionality abuse to execute arbitrary binaries via "ShellExecute"
references:
    - https://www.hexacorn.com/blog/2023/06/07/this-lolbin-doesnt-exist/
author: X__Junior (Nextron Systems)
date: 2023-06-20
tags:
    - attack.execution
    - attack.stealth
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\rundll32.exe'
        - OriginalFileName: 'RUNDLL32.EXE'
    selection_cli:
        CommandLine|contains: 'RunDll_ShellExecuteW'
    condition: all of selection_*
falsepositives:
    - Unlikely
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\rundll32.exe'
    - OriginalFileName: 'RUNDLL32.EXE'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains: 'RunDll_ShellExecuteW'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • RunDll_ShellExecuteW
field:"CommandLine" kind:match value:"RunDll_ShellExecuteW"
Imageends_with
  • \rundll32.exe corpus 94 (sigma 94)
field:"Image" kind:ends_with value:"\rundll32.exe"
OriginalFileNameeq
  • RUNDLL32.EXE corpus 72 (sigma 35, splunk 21, elastic 16)
field:"OriginalFileName" kind:eq value:"RUNDLL32.EXE"

Protected Storage Service Access

#
Status
test
Severity
high
Author
Roberto Rodriguez @Cyb3rWard0g
Source
github.com/SigmaHQ/sigma

Detects access to a protected_storage service over the network. Potential abuse of DPAPI to extract domain backup keys from Domain Controllers

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Protected Storage Service Access
id: 45545954-4016-43c6-855e-eae8f1c369dc
status: test
description: Detects access to a protected_storage service over the network. Potential abuse of DPAPI to extract domain backup keys from Domain Controllers
references:
    - https://threathunterplaybook.com/hunts/windows/190620-DomainDPAPIBackupKeyExtraction/notebook.html
author: Roberto Rodriguez @Cyb3rWard0g
date: 2019-08-10
modified: 2021-11-27
tags:
    - attack.lateral-movement
    - attack.t1021.002
logsource:
    product: windows
    service: security
detection:
    selection:
        EventID: 5145
        ShareName|contains: 'IPC'
        RelativeTargetName: 'protected_storage'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 5145
    ShareName|contains: 'IPC'
    RelativeTargetName: 'protected_storage'

Indicators

These rows show field, operator, and value matches.

PUA - Potential PE Metadata Tamper Using Rcedit

#
Status
test
Severity
medium
Author
Micah Babinski
Source
github.com/SigmaHQ/sigma

Detects the use of rcedit to potentially alter executable PE metadata properties, which could conceal efforts to rename system utilities for defense evasion.

Known False Positives

  • Legitimate use of the tool by administrators or users to update metadata of a binary

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: PUA - Potential PE Metadata Tamper Using Rcedit
id: 0c92f2e6-f08f-4b73-9216-ecb0ca634689
status: test
description: Detects the use of rcedit to potentially alter executable PE metadata properties, which could conceal efforts to rename system utilities for defense evasion.
references:
    - https://security.stackexchange.com/questions/210843/is-it-possible-to-change-original-filename-of-an-exe
    - https://www.virustotal.com/gui/file/02e8e8c5d430d8b768980f517b62d7792d690982b9ba0f7e04163cbc1a6e7915
    - https://github.com/electron/rcedit
author: Micah Babinski
date: 2022-12-11
modified: 2023-03-05
tags:
    - attack.stealth
    - attack.t1036.003
    - attack.t1036
    - attack.t1027.005
    - attack.t1027
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith:
              - '\rcedit-x64.exe'
              - '\rcedit-x86.exe'
        - Description: 'Edit resources of exe'
        - Product: 'rcedit'
    selection_flags:
        CommandLine|contains: '--set-' # Covers multiple edit commands such as "--set-resource-string" or "--set-version-string"
    selection_attributes:
        CommandLine|contains:
            - 'OriginalFileName'
            - 'CompanyName'
            - 'FileDescription'
            - 'ProductName'
            - 'ProductVersion'
            - 'LegalCopyright'
    condition: all of selection_*
falsepositives:
    - Legitimate use of the tool by administrators or users to update metadata of a binary
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith:
          - '\rcedit-x64.exe'
          - '\rcedit-x86.exe'
    - Description: 'Edit resources of exe'
    - Product: 'rcedit'

Stage 2: selection_flags

selection_flags:
    CommandLine|contains: '--set-'

Stage 3: selection_attributes

selection_attributes:
    CommandLine|contains:
        - 'OriginalFileName'
        - 'CompanyName'
        - 'FileDescription'
        - 'ProductName'
        - 'ProductVersion'
        - 'LegalCopyright'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • --set-
  • CompanyName
  • FileDescription
  • LegalCopyright
  • OriginalFileName
  • ProductName
  • ProductVersion
field:"CommandLine" kind:match
Descriptioneq
  • Edit resources of exe
field:"Description" kind:eq value:"Edit resources of exe"
Imageends_with
  • \rcedit-x64.exe
  • \rcedit-x86.exe
field:"Image" kind:ends_with
Producteq
  • rcedit
field:"Product" kind:eq value:"rcedit"

Rar Usage with Password and Compression Level

#
Status
test
Severity
high
Author
@ROxPinTeddy
Source
github.com/SigmaHQ/sigma

Detects the use of rar.exe, on the command line, to create an archive with password protection or with a specific compression level. This is pretty indicative of malicious actions.

Known False Positives

  • Legitimate use of Winrar command line version
  • Other command line tools, that use these flags

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Rar Usage with Password and Compression Level
id: faa48cae-6b25-4f00-a094-08947fef582f
status: test
description: Detects the use of rar.exe, on the command line, to create an archive with password protection or with a specific compression level. This is pretty indicative of malicious actions.
references:
    - https://labs.sentinelone.com/the-anatomy-of-an-apt-attack-and-cobaltstrike-beacons-encoded-configuration/
    - https://ss64.com/bash/rar.html
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1560.001/T1560.001.md
author: '@ROxPinTeddy'
date: 2020-05-12
modified: 2022-03-16
tags:
    - attack.collection
    - attack.t1560.001
logsource:
    category: process_creation
    product: windows
detection:
    selection_password:
        CommandLine|contains: ' -hp'
    selection_other:
        CommandLine|contains:
            - ' -m'
            - ' a '
    condition: selection_password and selection_other
falsepositives:
    - Legitimate use of Winrar command line version
    - Other command line tools, that use these flags
level: high

Stages and Predicates

Stage 0: condition

selection_password and selection_other

Stage 1: selection_password

selection_password:
    CommandLine|contains: ' -hp'

Stage 2: selection_other

selection_other:
    CommandLine|contains:
        - ' -m'
        - ' a '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -hp corpus 4 (sigma 4)
  • -m corpus 3 (sigma 3)
  • a corpus 4 (sigma 4)
field:"CommandLine" kind:match

Suspicious Access to Sensitive File Extensions

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

Detects known sensitive file extensions accessed on a network share

Known False Positives

  • Help Desk operator doing backup or re-imaging end user machine or backup software
  • Users working with these data types or exchanging message files

MITRE ATT&CK Coverage

TacticTechniques
Collection

Telemetry Coverage

Rule Body

title: Suspicious Access to Sensitive File Extensions
id: 91c945bc-2ad1-4799-a591-4d00198a1215
related:
    - id: 286b47ed-f6fe-40b3-b3a8-35129acd43bc
      type: similar
status: test
description: Detects known sensitive file extensions accessed on a network share
references:
    - Internal Research
author: Samir Bousseaden
date: 2019-04-03
modified: 2025-10-17
tags:
    - attack.collection
    - attack.t1039
logsource:
    product: windows
    service: security
detection:
    selection:
        EventID: 5145
        RelativeTargetName|endswith:
            - '.bak'
            - '.dmp'
            - '.edb'
            - '.kirbi'
            - '.msg'
            - '.nsf'
            - '.nst'
            - '.oab'
            - '.ost'
            - '.pst'
            - '.rdp'
            # - '\groups.xml'  # Commented out: groups.xml is accessed legitimately by Group Policy processing; high FP rate in enterprise environments
    condition: selection
falsepositives:
    - Help Desk operator doing backup or re-imaging end user machine or backup software
    - Users working with these data types or exchanging message files
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 5145
    RelativeTargetName|endswith:
        - '.bak'
        - '.dmp'
        - '.edb'
        - '.kirbi'
        - '.msg'
        - '.nsf'
        - '.nst'
        - '.oab'
        - '.ost'
        - '.pst'
        - '.rdp'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
RelativeTargetNameends_with
  • .bak
  • .dmp corpus 2 (sigma 2)
  • .edb
  • .kirbi
  • .msg
  • .nsf
  • .nst
  • .oab
  • .ost
  • .pst
  • .rdp
field:"RelativeTargetName" kind:ends_with

Suspicious File Creation In Uncommon AppData Folder

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

Detects the creation of suspicious files and folders inside the user's AppData folder but not inside any of the common and well known directories (Local, Romaing, LocalLow). This method could be used as a method to bypass detection who exclude the AppData folder in fear of FPs

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique
StealthNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Suspicious File Creation In Uncommon AppData Folder
id: d7b50671-d1ad-4871-aa60-5aa5b331fe04
status: test
description: Detects the creation of suspicious files and folders inside the user's AppData folder but not inside any of the common and well known directories (Local, Romaing, LocalLow). This method could be used as a method to bypass detection who exclude the AppData folder in fear of FPs
references:
    - Internal Research
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-08-05
modified: 2023-02-23
tags:
    - attack.execution
    - attack.stealth
logsource:
    product: windows
    category: file_event
detection:
    selection:
        TargetFilename|startswith: 'C:\Users\'
        TargetFilename|contains: '\AppData\'
        TargetFilename|endswith:
            # Add more as needed
            - '.bat'
            - '.cmd'
            - '.cpl'
            - '.dll'
            - '.exe'
            - '.hta'
            - '.iso'
            - '.lnk'
            - '.msi'
            - '.ps1'
            - '.psm1'
            - '.scr'
            - '.vbe'
            - '.vbs'
    filter_main:
        TargetFilename|startswith: 'C:\Users\'
        TargetFilename|contains:
            - '\AppData\Local\'
            - '\AppData\LocalLow\'
            - '\AppData\Roaming\'
    condition: selection and not filter_main
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection and not filter_main

Stage 1: selection

selection:
    TargetFilename|startswith: 'C:\Users\'
    TargetFilename|contains: '\AppData\'
    TargetFilename|endswith:
        - '.bat'
        - '.cmd'
        - '.cpl'
        - '.dll'
        - '.exe'
        - '.hta'
        - '.iso'
        - '.lnk'
        - '.msi'
        - '.ps1'
        - '.psm1'
        - '.scr'
        - '.vbe'
        - '.vbs'

Stage 2: not filter_main

filter_main:
    TargetFilename|startswith: 'C:\Users\'
    TargetFilename|contains:
        - '\AppData\Local\'
        - '\AppData\LocalLow\'
        - '\AppData\Roaming\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • .bat corpus 17 (sigma 17)
  • .cmd corpus 8 (sigma 8)
  • .cpl corpus 2 (sigma 2)
  • .dll corpus 24 (sigma 24)
  • .exe corpus 21 (sigma 20, splunk 1)
  • .hta corpus 14 (sigma 14)
  • .iso corpus 5 (sigma 5)
  • .lnk corpus 6 (sigma 6)
  • .msi corpus 2 (sigma 2)
  • .ps1 corpus 17 (sigma 17)
  • .psm1 corpus 4 (sigma 4)
  • .scr corpus 8 (sigma 8)
  • .vbe corpus 16 (sigma 16)
  • .vbs corpus 18 (sigma 18)
field:"TargetFilename" kind:ends_with
TargetFilenamematch
  • \AppData\ corpus 5 (sigma 4, splunk 1)
field:"TargetFilename" kind:match value:"\AppData\"
TargetFilenamestarts_with
  • C:\Users\ corpus 13 (sigma 9, elastic 4)
field:"TargetFilename" kind:starts_with value:"C:\Users\"

Exclusions

The rule actively suppresses these predicates.

Suspicious PowerShell Invocations - Specific - ProcessCreation

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

Detects suspicious PowerShell invocation command parameters

MITRE ATT&CK Coverage

TacticTechniques
StealthNo specific technique

Telemetry Coverage

Rule Body

title: Suspicious PowerShell Invocations - Specific - ProcessCreation
id: 536e2947-3729-478c-9903-745aaffe60d2
related:
    - id: fce5f582-cc00-41e1-941a-c6fabf0fdb8c
      type: obsolete
    - id: ae7fbf8e-f3cb-49fd-8db4-5f3bed522c71
      type: similar
    - id: 8ff28fdd-e2fa-4dfa-aeda-ef3d61c62090
      type: similar
status: test
description: Detects suspicious PowerShell invocation command parameters
references:
    - Internal Research
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-01-05
tags:
    - attack.stealth
logsource:
    category: process_creation
    product: windows
detection:
    selection_convert_b64:
        CommandLine|contains|all:
            - '-nop'
            - ' -w '
            - 'hidden'
            - ' -c '
            - '[Convert]::FromBase64String'
    selection_iex:
        CommandLine|contains|all:
            - ' -w '
            - 'hidden'
            - '-noni'
            - '-nop'
            - ' -c '
            - 'iex'
            - 'New-Object'
    selection_enc:
        CommandLine|contains|all:
            - ' -w '
            - 'hidden'
            - '-ep'
            - 'bypass'
            - '-Enc'
    selection_reg:
        CommandLine|contains|all:
            - 'powershell'
            - 'reg'
            - 'add'
            - '\software\'
    selection_webclient:
        CommandLine|contains|all:
            - 'bypass'
            - '-noprofile'
            - '-windowstyle'
            - 'hidden'
            - 'new-object'
            - 'system.net.webclient'
            - '.download'
    selection_iex_webclient:
        CommandLine|contains|all:
            - 'iex'
            - 'New-Object'
            - 'Net.WebClient'
            - '.Download'
    filter_chocolatey:
        CommandLine|contains:
            - "(New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1"
            - 'Write-ChocolateyWarning'
    condition: 1 of selection_* and not 1 of filter_*
falsepositives:
    - Unknown
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_powershell_invocation_specific/info.yml

Stages and Predicates

Stage 0: condition

1 of selection_* and not 1 of filter_*

Stage 1: selection_convert_b64

selection_convert_b64:
    CommandLine|contains|all:
        - '-nop'
        - ' -w '
        - 'hidden'
        - ' -c '
        - '[Convert]::FromBase64String'

Stage 2: selection_iex

selection_iex:
    CommandLine|contains|all:
        - ' -w '
        - 'hidden'
        - '-noni'
        - '-nop'
        - ' -c '
        - 'iex'
        - 'New-Object'

Stage 3: selection_enc

selection_enc:
    CommandLine|contains|all:
        - ' -w '
        - 'hidden'
        - '-ep'
        - 'bypass'
        - '-Enc'

Stage 4: selection_reg

selection_reg:
    CommandLine|contains|all:
        - 'powershell'
        - 'reg'
        - 'add'
        - '\software\'

Stage 5: selection_webclient

selection_webclient:
    CommandLine|contains|all:
        - 'bypass'
        - '-noprofile'
        - '-windowstyle'
        - 'hidden'
        - 'new-object'
        - 'system.net.webclient'
        - '.download'

Stage 6: selection_iex_webclient

selection_iex_webclient:
    CommandLine|contains|all:
        - 'iex'
        - 'New-Object'
        - 'Net.WebClient'
        - '.Download'

Stage 7: not filter_chocolatey

filter_chocolatey:
    CommandLine|contains:
        - "(New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1"
        - 'Write-ChocolateyWarning'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -c corpus 13 (sigma 13)
  • -w
  • -Enc corpus 3 (sigma 2, elastic 1)
  • -ep
  • -noni
  • -nop corpus 2 (sigma 2)
  • -noprofile
  • -windowstyle
  • .Download corpus 2 (sigma 2)
  • .download corpus 2 (sigma 2)
  • Net.WebClient corpus 3 (sigma 2, elastic 1)
  • New-Object corpus 3 (sigma 3)
  • [Convert]::FromBase64String
  • \software\ corpus 2 (sigma 2)
  • add corpus 30 (sigma 26, splunk 4)
  • bypass corpus 6 (sigma 6)
  • hidden corpus 4 (sigma 4)
  • iex corpus 6 (sigma 5, splunk 1)
  • new-object corpus 3 (sigma 3)
  • powershell corpus 24 (sigma 24)
  • reg corpus 6 (sigma 5, splunk 1)
  • system.net.webclient
field:"CommandLine" kind:match

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLinematch(New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1excludes:CommandLine field:"CommandLine" value:"(New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1"
CommandLinematchWrite-ChocolateyWarningexcludes:CommandLine field:"CommandLine" value:"Write-ChocolateyWarning"

Suspicious SQL Error Messages

#
Status
test
Severity
high
Author
Bjoern Kimminich
Source
github.com/SigmaHQ/sigma

Detects SQL error messages that indicate probing for an injection attack

Known False Positives

  • A syntax error in MySQL also occurs in non-dynamic (safe) queries if there is an empty in() clause, that may often be the case.

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Rule Body

title: Suspicious SQL Error Messages
id: 8a670c6d-7189-4b1c-8017-a417ca84a086
status: test
description: Detects SQL error messages that indicate probing for an injection attack
references:
    - http://www.sqlinjection.net/errors
author: Bjoern Kimminich
date: 2017-11-27
modified: 2023-02-12
tags:
    - attack.initial-access
    - attack.t1190
logsource:
    category: application
    product: sql
    definition: 'Requirements: application error logs must be collected (with LOG_LEVEL ERROR and above)'
detection:
    keywords:
        # Oracle
        - quoted string not properly terminated
        # MySQL
        - You have an error in your SQL syntax
        # SQL Server
        - Unclosed quotation mark
        # SQLite
        - 'near "*": syntax error'
        - SELECTs to the left and right of UNION do not have the same number of result columns
    condition: keywords
falsepositives:
    - A syntax error in MySQL also occurs in non-dynamic (safe) queries if there is an empty in() clause, that may often be the case.
level: high

Stages and Predicates

Stage 0: condition

keywords

Stage 1: keywords

keywords:
    - quoted string not properly terminated
    - You have an error in your SQL syntax
    - Unclosed quotation mark
    - 'near "*": syntax error'
    - SELECTs to the left and right of UNION do not have the same number of result columns

Wdigest authentication enabled (registry)

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

Detects scenarios where an attacker attempts to enable Wdgiest authention so passwords are stored in clear text and can be dumped.

Known False Positives

  • None

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment
Credential Access

Telemetry Coverage

Rule Body

title: Wdigest authentication enabled (registry)
description: Detects scenarios where an attacker attempts to enable Wdgiest authention so passwords are stored in clear text and can be dumped.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0006-Credential%20Access/ 
- https://thedfirreport.com/2021/08/16/trickbot-leads-up-to-fake-1password-installation/
- https://www.ired.team/offensive-security/credential-access-and-credential-dumping/forcing-wdigest-to-store-credentials-in-plaintext
- https://www.hackingarticles.in/credential-dumping-wdigest/
- https://stealthbits.com/blog/wdigest-clear-text-passwords-stealing-more-than-a-hash/
- https://github.com/HarmJ0y/Misc-PowerShell/blob/master/Invoke-WdigestDowngrade.ps1
- https://www.microsoft.com/en-us/security/blog/2022/10/18/defenders-beware-a-case-for-post-ransomware-investigations/
tags:
- attack.credential_access
- attack.t1003
- attack.defense_evasion
- attack.t1562
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: registry_set
detection: # reg add HKLM\SYSTEM\CurrentControlSet\Control\SecurityProviders\WDigest /v UseLogonCredential /t REG_DWORD /d 1
  selection:
    TargetObject|endswith: '\System\CurrentControlSet\Control\SecurityProviders\WDigest\UseLogonCredential'
    Details|contains: '0x00000001'
  condition: selection
falsepositives:
- None
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  TargetObject|endswith: '\System\CurrentControlSet\Control\SecurityProviders\WDigest\UseLogonCredential'
  Details|contains: '0x00000001'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailsmatch
  • 0x00000001 corpus 4 (sigma 4)
field:"Details" kind:match value:"0x00000001"
TargetObjectends_with
  • \System\CurrentControlSet\Control\SecurityProviders\WDigest\UseLogonCredential
field:"TargetObject" kind:ends_with value:"\System\CurrentControlSet\Control\SecurityProviders\WDigest\UseLogonCredential"

Windows Defender Firewall Has Been Reset To Its Default Configuration

#
Status
test
Severity
low
Author
frack113
Source
github.com/SigmaHQ/sigma

Detects activity when Windows Defender Firewall has been reset to its default configuration

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Windows Defender Firewall Has Been Reset To Its Default Configuration
id: 04b60639-39c0-412a-9fbe-e82499c881a3
status: test
description: Detects activity when Windows Defender Firewall has been reset to its default configuration
references:
    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-r2-and-2008/dd364427(v=ws.10)
author: frack113
date: 2022-02-19
modified: 2023-04-21
tags:
    - attack.defense-impairment
    - attack.t1686.003
logsource:
    product: windows
    service: firewall-as
detection:
    selection:
        EventID:
            - 2032 # Windows Defender Firewall has been reset to its default configuration
            - 2060 # Windows Defender Firewall has been reset to its default configuration. (Windows 11)
    condition: selection
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID:
        - 2032
        - 2060

Windows Defender Threat Detected

#
Status
stable
Severity
high
Author
Ján Trenčanský
Source
github.com/SigmaHQ/sigma

Detects actions taken by Windows Defender malware detection engines

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Windows Defender Threat Detected
id: 57b649ef-ff42-4fb0-8bf6-62da243a1708
status: stable
description: Detects actions taken by Windows Defender malware detection engines
references:
    - https://learn.microsoft.com/en-us/defender-endpoint/troubleshoot-microsoft-defender-antivirus
author: Ján Trenčanský
date: 2020-07-28
tags:
    - attack.execution
    - attack.t1059
logsource:
    product: windows
    service: windefend
detection:
    selection:
        EventID:
            - 1006 # The antimalware engine found malware or other potentially unwanted software.
            - 1015 # The antimalware platform detected suspicious behavior.
            - 1116 # The antimalware platform detected malware or other potentially unwanted software.
            - 1117 # he antimalware platform performed an action to protect your system from malware or other potentially unwanted software.
    condition: selection
falsepositives:
    - Unlikely
level: high
regression_tests_path: regression_data/rules/windows/builtin/windefend/win_defender_threat/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID:
        - 1006
        - 1015
        - 1116
        - 1117

Windows PowerShell User Agent

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

Detects Windows PowerShell Web Access

Known False Positives

  • Administrative scripts that download files from the Internet
  • Administrative scripts that retrieve certain website contents

MITRE ATT&CK Coverage

Rule Body

title: Windows PowerShell User Agent
id: c8557060-9221-4448-8794-96320e6f3e74
status: test
description: Detects Windows PowerShell Web Access
references:
    - https://msdn.microsoft.com/powershell/reference/5.1/microsoft.powershell.utility/Invoke-WebRequest
author: Florian Roth (Nextron Systems)
date: 2017-03-13
modified: 2021-11-27
tags:
    - attack.command-and-control
    - attack.t1071.001
logsource:
    category: proxy
detection:
    selection:
        c-useragent|contains: ' WindowsPowerShell/'
    condition: selection
falsepositives:
    - Administrative scripts that download files from the Internet
    - Administrative scripts that retrieve certain website contents
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    c-useragent|contains: ' WindowsPowerShell/'

Indicators

These rows show field, operator, and value matches.

Windows Service Terminated With Error

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

Detects Windows services that got terminated for whatever reason

Known False Positives

  • False positives could occur since service termination could happen due to multiple reasons

MITRE ATT&CK Coverage

TacticTechniques
StealthNo specific technique

Telemetry Coverage

Rule Body

title: Windows Service Terminated With Error
id: acfa2210-0d71-4eeb-b477-afab494d596c
related:
    - id: d6b5520d-3934-48b4-928c-2aa3f92d6963
      type: similar
status: test
description: Detects Windows services that got terminated for whatever reason
references:
    - https://www.microsoft.com/en-us/security/blog/2023/04/11/guidance-for-investigating-attacks-using-cve-2022-21894-the-blacklotus-campaign/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-04-14
tags:
    - attack.stealth
logsource:
    product: windows
    service: system
detection:
    selection:
        Provider_Name: 'Service Control Manager'
        EventID: 7023 # The X Service service terminated with the following error
    condition: selection
falsepositives:
    - False positives could occur since service termination could happen due to multiple reasons
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Provider_Name: 'Service Control Manager'
    EventID: 7023

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Provider_Nameeq
  • Service Control Manager corpus 50 (sigma 50)
field:"Provider_Name" kind:eq value:"Service Control Manager"

Windows Suspicious Child Process from Node.js - React2Shell

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

Detects suspicious child processes started by Node.js server processes on Windows, which may indicate exploitation of vulnerabilities like CVE-2025-55182 (React2Shell). Attackers can abuse the Node.js 'child_process' module to run system commands or scripts using methods such as spawn(), exec(), execFile(), fork(), or execSync(). If execSync() or exec() is used in the exploit, the command line often shows a shell (e.g., cmd.exe /d /s /c ...) running a suspicious command unless other shells are explicitly invoked. For other methods, the spawned process appears directly in the Image field unless a shell is explicitly used.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Windows Suspicious Child Process from Node.js - React2Shell
id: 271de298-cc0e-4842-acd8-079a0a99ea65
related:
    - id: c70834fa-fb9d-4aa0-9e7d-45ceed36f3f7
      type: similar
status: experimental
description: |
    Detects suspicious child processes started by Node.js server processes on Windows, which may indicate exploitation of vulnerabilities like CVE-2025-55182 (React2Shell).
    Attackers can abuse the Node.js 'child_process' module to run system commands or scripts using methods such as spawn(), exec(), execFile(), fork(), or execSync().
    If execSync() or exec() is used in the exploit, the command line often shows a shell (e.g., cmd.exe /d /s /c ...) running a suspicious command unless other shells are explicitly invoked.
    For other methods, the spawned process appears directly in the Image field unless a shell is explicitly used.
references:
    - https://github.com/msanft/CVE-2025-55182
    - https://nodejs.org/api/child_process.html#class-childprocess
    - https://gist.github.com/swachchhanda000/a0228130f86a2dedfbcebb415b47f870
    - https://github.com/nasbench/Misc-Research/blob/2f651ede832ab34027a7ba005b63bb78f1ade378/Other/React-Next-Child-Processes-Notes.md
author: Swachchhanda Shrawan Poudel (Nextron Systems), Nasreddine Bencherchali
date: 2025-12-05
tags:
    - attack.execution
    - attack.t1059
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
    - cve.2025-55182
logsource:
    category: process_creation
    product: windows
detection:
    selection_parent:
        ParentImage|endswith: '\node.exe'
        ParentCommandLine|contains:
            - '--experimental-https'
            - '--experimental-next-config-strip-types'
            - '\node_modules\next'
            - 'next dev'
            - 'next start'
            - 'next" start'
            - 'node_modules\\.bin\\\\..\\next' # We escape every backslash to avoid confusion
            - 'react-scripts start'
            - 'start-server.js'
    selection_generic_child_img:
        # Observed when child_process.spawn(), child_process.exec(), child_process.execFile(), or child_process.fork() method  is used to spawn suspicious processes
        - Image|endswith:
              - '\bash.exe'
              - '\bitsadmin.exe'
              - '\certutil.exe'
              - '\cscript.exe'
              - '\curl.exe'
              - '\ipconfig.exe'
              - '\mshta.exe'
              - '\net.exe'
              - '\net1.exe'
              - '\netsh.exe'
              - '\nslookup.exe'
              - '\OpenConsole.exe'
              - '\perl.exe'
              - '\ping.exe'
              - '\powershell.exe'
              - '\pwsh.exe'
              - '\py.exe'
              - '\python.exe'
              - '\pythonw.exe'
              - '\pyw.exe'
              - '\reg.exe'
              - '\regsvr32.exe'
              - '\rundll32.exe'
              - '\sc.exe'
              - '\sh.exe'
              - '\systeminfo.exe'
              - '\wget.exe'
              - '\whoami.exe'
              - '\wmic.exe'
              - '\wscript.exe'
              - '\wt.exe'
        - Image|contains: '\python'
    selection_generic_child_cli_susp_pattern:
        # Observed when child_process.execSync() is used to spawn suspicious processes
        # Reference: https://nodejs.org/api/child_process.html#child_processexecsynccommand-options
        # In default, the cli will look something like `C:\WINDOWS\System32\cmd.exe /d /s /c "...susp..cli...."`
        CommandLine|contains:
            - '\net'
            - 'bitsadmin'
            - 'certutil '
            - 'conhost --headless'
            - 'cscript '
            - 'curl'
            - 'ipconfig'
            - 'java'
            - 'lua'
            - 'mshta'
            - 'netsh'
            - 'nslookup '
            - 'perl'
            - 'ping '
            - 'powershell'
            - 'pwsh'
            - 'python'
            - 'reg '
            - 'reg.exe'
            - 'regsvr32'
            - 'ruby'
            - 'rundll32'
            - 'sc.exe'
            - 'systeminfo'
            - 'wget'
            - 'whoami'
            - 'wmic'
            - 'wscript'
    selection_specific_cmd:
        Image|endswith: '\cmd.exe'
    selection_specific_cli:
        CommandLine|contains: '/d /s /c '
    filter_main_default_shell_flag:
        CommandLine|contains: '/d /s /c '
    filter_main_cli_git:
        CommandLine|contains: 'git config --local --get remote.origin.url'
    filter_main_cli_netstat:
        CommandLine|contains|all:
            - 'netstat -ano | findstr /C:'
            - ' | findstr LISTENING'
    filter_main_cli_mkcert_install:
        CommandLine|contains|all:
            - '\mkcert\'
            - ' -install '
    filter_main_cli_mkcert_caroot:
        CommandLine|contains|all:
            - '\mkcert\'
            - ' -CAROOT'
    condition:
        selection_parent and
        (
            1 of selection_generic_*
            or
            (selection_specific_cmd and not filter_main_default_shell_flag)
            or
            (all of selection_specific_* and not 1 of filter_main_cli_*)
        )
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules-emerging-threats/2025/Exploits/CVE-2025-55182/proc_creation_win_exploit_cve_2025_55182_susp_nodejs_server_child_process/info.yml

Stages and Predicates

Stage 1: selection_parent

selection_parent:
    ParentImage|endswith: '\node.exe'
    ParentCommandLine|contains:
        - '--experimental-https'
        - '--experimental-next-config-strip-types'
        - '\node_modules\next'
        - 'next dev'
        - 'next start'
        - 'next" start'
        - 'node_modules\\.bin\\\\..\\next'
        - 'react-scripts start'
        - 'start-server.js'

Stage 2: selection_generic_child_img

selection_generic_child_img:
    - Image|endswith:
          - '\bash.exe'
          - '\bitsadmin.exe'
          - '\certutil.exe'
          - '\cscript.exe'
          - '\curl.exe'
          - '\ipconfig.exe'
          - '\mshta.exe'
          - '\net.exe'
          - '\net1.exe'
          - '\netsh.exe'
          - '\nslookup.exe'
          - '\OpenConsole.exe'
          - '\perl.exe'
          - '\ping.exe'
          - '\powershell.exe'
          - '\pwsh.exe'
          - '\py.exe'
          - '\python.exe'
          - '\pythonw.exe'
          - '\pyw.exe'
          - '\reg.exe'
          - '\regsvr32.exe'
          - '\rundll32.exe'
          - '\sc.exe'
          - '\sh.exe'
          - '\systeminfo.exe'
          - '\wget.exe'
          - '\whoami.exe'
          - '\wmic.exe'
          - '\wscript.exe'
          - '\wt.exe'
    - Image|contains: '\python'

Stage 3: selection_generic_child_cli_susp_pattern

selection_generic_child_cli_susp_pattern:
    CommandLine|contains:
        - '\net'
        - 'bitsadmin'
        - 'certutil '
        - 'conhost --headless'
        - 'cscript '
        - 'curl'
        - 'ipconfig'
        - 'java'
        - 'lua'
        - 'mshta'
        - 'netsh'
        - 'nslookup '
        - 'perl'
        - 'ping '
        - 'powershell'
        - 'pwsh'
        - 'python'
        - 'reg '
        - 'reg.exe'
        - 'regsvr32'
        - 'ruby'
        - 'rundll32'
        - 'sc.exe'
        - 'systeminfo'
        - 'wget'
        - 'whoami'
        - 'wmic'
        - 'wscript'

Stage 4: selection_specific_cmd

selection_specific_cmd:
    Image|endswith: '\cmd.exe'

Stage 5: not filter_main_default_shell_flag

filter_main_default_shell_flag:
    CommandLine|contains: '/d /s /c '

Stage 6: selection_specific_cmd

selection_specific_cmd:
    Image|endswith: '\cmd.exe'

Stage 7: selection_specific_cli

selection_specific_cli:
    CommandLine|contains: '/d /s /c '

Stage 8: not filter_main_cli_*

filter_main_cli_git:
    CommandLine|contains: 'git config --local --get remote.origin.url'
filter_main_cli_netstat:
    CommandLine|contains|all:
        - 'netstat -ano | findstr /C:'
        - ' | findstr LISTENING'
filter_main_cli_mkcert_install:
    CommandLine|contains|all:
        - '\mkcert\'
        - ' -install '
filter_main_cli_mkcert_caroot:
    CommandLine|contains|all:
        - '\mkcert\'
        - ' -CAROOT'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /d /s /c corpus 2 (sigma 1, splunk 1)
  • \net
  • bitsadmin corpus 10 (sigma 10)
  • certutil
  • conhost --headless
  • cscript
  • curl corpus 17 (sigma 14, elastic 2, splunk 1)
  • ipconfig corpus 3 (sigma 3)
  • java corpus 2 (sigma 2)
  • lua corpus 2 (sigma 2)
  • mshta corpus 14 (sigma 14)
  • netsh corpus 9 (sigma 9)
  • nslookup
  • perl corpus 2 (sigma 2)
  • ping
  • powershell corpus 24 (sigma 24)
  • pwsh corpus 7 (sigma 7)
  • python corpus 5 (sigma 4, elastic 1)
  • reg corpus 5 (sigma 5)
  • reg.exe corpus 2 (sigma 2)
  • regsvr32 corpus 15 (sigma 15)
  • ruby corpus 2 (sigma 2)
  • rundll32 corpus 23 (sigma 23)
  • sc.exe
  • systeminfo corpus 5 (sigma 4, splunk 1)
  • wget corpus 10 (sigma 8, elastic 1, splunk 1)
  • whoami corpus 12 (sigma 9, splunk 2, elastic 1)
  • wmic corpus 6 (sigma 6)
  • wscript corpus 16 (sigma 16)
field:"CommandLine" kind:match
Imageends_with
  • \OpenConsole.exe corpus 2 (sigma 2)
  • \bash.exe corpus 21 (sigma 21)
  • \bitsadmin.exe corpus 29 (sigma 29)
  • \certutil.exe corpus 43 (sigma 43)
  • \cmd.exe corpus 132 (sigma 130, splunk 2)
  • \cscript.exe corpus 72 (sigma 72)
  • \curl.exe corpus 31 (sigma 31)
  • \ipconfig.exe corpus 5 (sigma 5)
  • \mshta.exe corpus 67 (sigma 66, splunk 1)
  • \net.exe corpus 49 (sigma 49)
  • \net1.exe corpus 47 (sigma 47)
  • \netsh.exe corpus 28 (sigma 28)
  • \nslookup.exe corpus 5 (sigma 5)
  • \perl.exe corpus 2 (sigma 2)
  • \ping.exe corpus 6 (sigma 6)
  • \powershell.exe corpus 181 (sigma 180, splunk 1)
  • \pwsh.exe corpus 166 (sigma 166)
  • \py.exe
  • \python.exe corpus 4 (sigma 4)
  • \pythonw.exe
  • \pyw.exe
  • \reg.exe corpus 58 (sigma 58)
  • \regsvr32.exe corpus 64 (sigma 64)
  • \rundll32.exe corpus 94 (sigma 94)
  • \sc.exe corpus 30 (sigma 30)
  • \sh.exe corpus 16 (sigma 16)
  • \systeminfo.exe corpus 11 (sigma 11)
  • \wget.exe corpus 9 (sigma 9)
  • \whoami.exe corpus 19 (sigma 19)
  • \wmic.exe corpus 62 (sigma 62)
  • \wscript.exe corpus 74 (sigma 74)
  • \wt.exe corpus 5 (sigma 5)
field:"Image" kind:ends_with
Imagematch
  • \python corpus 3 (sigma 3)
field:"Image" kind:match value:"\python"
ParentCommandLinematch
  • --experimental-https corpus 3 (sigma 2, elastic 1)
  • --experimental-next-config-strip-types corpus 2 (sigma 2)
  • \node_modules\next
  • next dev corpus 3 (sigma 2, elastic 1)
  • next start corpus 3 (sigma 2, elastic 1)
  • next" start
  • node_modules\\.bin\\\\..\\next
  • react-scripts start corpus 3 (sigma 2, elastic 1)
  • start-server.js corpus 3 (sigma 2, elastic 1)
field:"ParentCommandLine" kind:match
ParentImageends_with
  • \node.exe corpus 4 (sigma 4)
field:"ParentImage" kind:ends_with value:"\node.exe"

Exclusions

The rule actively suppresses these predicates.

WordPress Wp2shell Exploitation Tool User-Agent

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

Detects the hardcoded "wp2shell" User-Agent string used by the wp2shell PoC tool during all phases of CVE-2026-63030 and CVE-2026-60137 exploitation.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Rule Body

title: WordPress Wp2shell Exploitation Tool User-Agent
id: a7c4e2f9-1b38-4d5c-9e72-3f4a5b6c7d8e
status: experimental
description: |
    Detects the hardcoded "wp2shell" User-Agent string used by the wp2shell
    PoC tool during all phases of CVE-2026-63030 and CVE-2026-60137 exploitation.
references:
    - https://github.com/Icex0/wp2shell-poc
    - https://slcyber.io/research-center/wp2shell-pre-authentication-rce-in-wordpress-core/
    - https://wordpress.org/news/2026/07/wordpress-7-0-2-release/
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2026-07-19
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-63030
    - cve.2026-60137
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-user-agent: 'wp2shell'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    cs-user-agent: 'wp2shell'

Indicators

These rows show field, operator, and value matches.

Back to all Sigma rules