Detection rules › Sigma

Sigma rules: 08

RuleSeverity
AWS GuardDuty Important Changehigh
Bitbucket Secret Scanning Rule Deletedlow
Bypass UAC Using Event Viewerhigh
CVE-2023-1389 Potential Exploitation Attempt - Unauthenticated Command Injection In TP-Link Archer AX21medium
CVE-2023-22518 Exploitation Attempt - Vulnerable Endpoint Connection (Proxy)medium
CVE-2024-49113 Exploitation Attempt - LDAP Nightmarehigh
Data Copied To Clipboard Via Clip.EXElow
Data Export From MSSQL Table Via BCP.EXEmedium
DNS Query To Put.io - DNS Clientmedium
Driver Load From A Temporary Directoryhigh
File Deletioninformational
Firewall Rule Deleted Via Netsh.EXEmedium
HackTool - Bloodhound/Sharphound Executionhigh
Hiding User Account Via SpecialAccounts Registry Key - CommandLinemedium
ISATAP Router Address Was Setmedium
Kapeka Backdoor Scheduled Task Creationhigh
Potentially Suspicious AccessMask Requested From LSASSmedium
Potentially Suspicious Cabinet File Expansionmedium
Potentially Suspicious File Creation by OpenEDR's ITSMServicemedium
PUA - Kernel Driver Utility (KDU) Executionhigh
Python Function Execution Security Warning Disabled In Excelhigh
RemoteFXvGPUDisablement Abuse Via AtomicTestHarnesseshigh
Renamed Sysinternals Sdelete Executionhigh
Shell32 DLL Execution in Suspicious Directoryhigh
Steganography Hide Files with Steghidelow
Suspicious Unsigned Thor Scanner Executionhigh
Turla PNG Dropper Servicecritical
User Logoff Eventinformational
User State Changed From Guest To Membermedium
Windows Credential Editor Registrycritical
Windows Processes Suspicious Parent Directorylow
XPC Privilege Escalation Attemptmedium

AWS GuardDuty Important Change

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

Detects updates of the GuardDuty list of trusted IPs, perhaps to disable security alerts against malicious IPs.

Known False Positives

  • Valid change in the GuardDuty (e.g. to ignore internal scanners)

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: AWS GuardDuty Important Change
id: 6e61ee20-ce00-4f8d-8aee-bedd8216f7e3
status: test
description: Detects updates of the GuardDuty list of trusted IPs, perhaps to disable security alerts against malicious IPs.
references:
    - https://github.com/RhinoSecurityLabs/pacu/blob/866376cd711666c775bbfcde0524c817f2c5b181/pacu/modules/guardduty__whitelist_ip/main.py#L9
author: faloker
date: 2020-02-11
modified: 2022-10-09
tags:
    - attack.defense-impairment
    - attack.t1685
logsource:
    product: aws
    service: cloudtrail
detection:
    selection_source:
        eventSource: guardduty.amazonaws.com
        eventName: CreateIPSet
    condition: selection_source
falsepositives:
    - Valid change in the GuardDuty (e.g. to ignore internal scanners)
level: high

Stages and Predicates

Stage 0: condition

selection_source

Stage 1: selection_source

selection_source:
    eventSource: guardduty.amazonaws.com
    eventName: CreateIPSet

Indicators

These rows show field, operator, and value matches.

Bitbucket Secret Scanning Rule Deleted

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

Detects when secret scanning rule is deleted for the project or repository.

Known False Positives

  • Legitimate user activity.

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Rule Body

title: Bitbucket Secret Scanning Rule Deleted
id: ff91e3f0-ad15-459f-9a85-1556390c138d
status: test
description: Detects when secret scanning rule is deleted for the project or repository.
references:
    - https://confluence.atlassian.com/bitbucketserver/audit-log-events-776640423.html
    - https://confluence.atlassian.com/bitbucketserver/secret-scanning-1157471613.html
author: Muhammad Faisal (@faisalusuf)
date: 2024-02-25
tags:
    - attack.defense-impairment
    - attack.t1685
logsource:
    product: bitbucket
    service: audit
    definition: 'Requirements: "Basic" log level is required to receive these audit events.'
detection:
    selection:
        auditType.category:
            - 'Projects'
            - 'Repositories'
        auditType.action:
            - 'Project secret scanning rule deleted'
            - 'Repository secret scanning rule deleted'
    condition: selection
falsepositives:
    - Legitimate user activity.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    auditType.category:
        - 'Projects'
        - 'Repositories'
    auditType.action:
        - 'Project secret scanning rule deleted'
        - 'Repository secret scanning rule deleted'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
auditType.actioneq
  • Project secret scanning rule deleted
  • Repository secret scanning rule deleted
field:"auditType.action" kind:eq
auditType.categoryeq
  • Projects
  • Repositories
field:"auditType.category" kind:eq

Bypass UAC Using Event Viewer

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

Bypasses User Account Control using Event Viewer and a relevant Windows Registry modification

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Bypass UAC Using Event Viewer
id: 674202d0-b22a-4af4-ae5f-2eda1f3da1af
status: test
description: Bypasses User Account Control using Event Viewer and a relevant Windows Registry modification
references:
    - https://enigma0x3.net/2016/08/15/fileless-uac-bypass-using-eventvwr-exe-and-registry-hijacking/
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1548.002/T1548.002.md#atomic-test-1---bypass-uac-using-event-viewer-cmd
author: frack113
date: 2022-01-05
modified: 2023-08-17
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1547.010
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|endswith: '_Classes\mscfile\shell\open\command\(Default)'
    filter:
        Details|startswith: '%SystemRoot%\system32\mmc.exe "%1" %'
    condition: selection and not filter
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_bypass_uac_using_eventviewer/info.yml
simulation:
    - type: atomic-red-team
      name: Bypass UAC using Event Viewer (cmd)
      technique: T1548.002
      atomic_guid: 5073adf8-9a50-4bd9-b298-a9bd2ead8af9

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    TargetObject|endswith: '_Classes\mscfile\shell\open\command\(Default)'

Stage 2: not filter

filter:
    Details|startswith: '%SystemRoot%\system32\mmc.exe "%1" %'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectends_with
  • _Classes\mscfile\shell\open\command\(Default)
field:"TargetObject" kind:ends_with value:"_Classes\mscfile\shell\open\command\(Default)"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Detailsstarts_with%SystemRoot%\system32\mmc.exe "%1" %excludes:Details

CVE-2023-1389 Potential Exploitation Attempt - Unauthenticated Command Injection In TP-Link Archer AX21

#

CVE-2023-22518 Exploitation Attempt - Vulnerable Endpoint Connection (Proxy)

#
Status
test
Severity
medium
Author
Andreas Braathen (mnemonic.io)
Source
github.com/SigmaHQ/sigma

Detects exploitation attempt of CVE-2023-22518 (Confluence Data Center / Confluence Server), where an attacker can exploit vulnerable endpoints to e.g. create admin accounts and execute arbitrary commands.

Known False Positives

  • Vulnerability scanners

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Rule Body

title: CVE-2023-22518 Exploitation Attempt - Vulnerable Endpoint Connection (Proxy)
id: 27d2cdde-9778-490e-91ec-9bd0be6e8cc6
related:
    - id: a902d249-9b9c-4dc4-8fd0-fbe528ef965c
      type: similar
status: test
description: |
    Detects exploitation attempt of CVE-2023-22518 (Confluence Data Center / Confluence Server), where an attacker can exploit vulnerable endpoints to e.g. create admin accounts and execute arbitrary commands.
references:
    - https://confluence.atlassian.com/security/cve-2023-22518-improper-authorization-vulnerability-in-confluence-data-center-and-server-1311473907.html
    - https://www.huntress.com/blog/confluence-to-cerber-exploitation-of-cve-2023-22518-for-ransomware-deployment
    - https://github.com/ForceFledgling/CVE-2023-22518
author: Andreas Braathen (mnemonic.io)
date: 2023-11-14
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2023-22518
    - detection.emerging-threats
logsource:
    category: proxy
detection:
    selection_method:
        cs-method: 'POST'
    selection_uris:
        cs-uri|contains:
          # Exploitable endpoints
            - '/json/setup-restore-local.action'
            - '/json/setup-restore-progress.action'
            - '/json/setup-restore.action'
            - '/server-info.action'
            - '/setup/setupadministrator.action'
    selection_status:
        # Response code may be indicative of exploitation success, but is not always the case
        sc-status:
            - 200
            - 302
            - 405
    condition: all of selection_*
falsepositives:
    - Vulnerability scanners
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_method

selection_method:
    cs-method: 'POST'

Stage 2: selection_uris

selection_uris:
    cs-uri|contains:
        - '/json/setup-restore-local.action'
        - '/json/setup-restore-progress.action'
        - '/json/setup-restore.action'
        - '/server-info.action'
        - '/setup/setupadministrator.action'

Stage 3: selection_status

selection_status:
    sc-status:
        - 200
        - 302
        - 405

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
cs-methodeq
  • POST
field:"cs-method" kind:eq value:"POST"
cs-urimatch
  • /json/setup-restore-local.action
  • /json/setup-restore-progress.action
  • /json/setup-restore.action
  • /server-info.action
  • /setup/setupadministrator.action
field:"cs-uri" kind:match
sc-statuseq
  • 200
  • 302
  • 405
field:"sc-status" kind:eq

CVE-2024-49113 Exploitation Attempt - LDAP Nightmare

#
Status
experimental
Severity
high
Author
Samuel Monsempes
Source
github.com/SigmaHQ/sigma

Detects exploitation attempt of CVE-2024-49113 known as LDAP Nightmare, based on "Application Error" log where the faulting application is "lsass.exe" and the faulting module is "WLDAP32.dll".

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: CVE-2024-49113 Exploitation Attempt - LDAP Nightmare
id: 3f2c93c7-7b2a-4d58-bb8d-6f39422d8148
status: experimental
description: |
    Detects exploitation attempt of CVE-2024-49113 known as LDAP Nightmare, based on "Application Error" log where the faulting application is "lsass.exe" and the faulting module is "WLDAP32.dll".
references:
    - https://gist.github.com/travisbgreen/82b68bac499edbe0b17dcbfa0c5c71b7
    - https://www.linkedin.com/feed/update/urn:li:activity:7282295814792605698/
author: Samuel Monsempes
date: 2025-01-08
tags:
    - attack.impact
    - attack.t1499
    - cve.2024-49113
    - detection.emerging-threats
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: 'Application Error'
        EventID: 1000
        Data|contains|all:
            - 'lsass.exe'
            - 'WLDAP32.dll'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Provider_Name: 'Application Error'
    EventID: 1000
    Data|contains|all:
        - 'lsass.exe'
        - 'WLDAP32.dll'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Datamatch
  • WLDAP32.dll
  • lsass.exe
field:"Data" kind:match
Provider_Nameeq
  • Application Error corpus 5 (sigma 5)
field:"Provider_Name" kind:eq value:"Application Error"

Data Copied To Clipboard Via Clip.EXE

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

Detects the execution of clip.exe in order to copy data to the clipboard. Adversaries may collect data stored in the clipboard from users copying information within or between applications.

MITRE ATT&CK Coverage

TacticTechniques
Collection

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Data Copied To Clipboard Via Clip.EXE
id: ddeff553-5233-4ae9-bbab-d64d2bd634be
status: test
description: Detects the execution of clip.exe in order to copy data to the clipboard. Adversaries may collect data stored in the clipboard from users copying information within or between applications.
references:
    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/clip
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1115/T1115.md
author: frack113
date: 2021-07-27
modified: 2023-02-21
tags:
    - attack.collection
    - attack.t1115
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - Image|endswith: '\clip.exe'
        - OriginalFileName: clip.exe
    condition: selection
falsepositives:
    - Unknown
level: low
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_clip_execution/info.yml
simulation:
    - type: atomic-red-team
      name: Utilize Clipboard to store or execute commands from
      technique: T1115
      atomic_guid: 0cd14633-58d4-4422-9ede-daa2c9474ae7

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - Image|endswith: '\clip.exe'
    - OriginalFileName: clip.exe

Indicators

These rows show field, operator, and value matches.

Data Export From MSSQL Table Via BCP.EXE

#
Status
test
Severity
medium
Author
Omar Khaled (@beacon_exe), MahirAli Khan (in/mahiralikhan), Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the execution of the BCP utility in order to export data from the database. Attackers were seen saving their malware to a database column or table and then later extracting it via "bcp.exe" into a file.

Known False Positives

  • Legitimate data export operations.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Data Export From MSSQL Table Via BCP.EXE
id: c615d676-f655-46b9-b913-78729021e5d7
status: test
description: |
    Detects the execution of the BCP utility in order to export data from the database.
    Attackers were seen saving their malware to a database column or table and then later extracting it via "bcp.exe" into a file.
references:
    - https://docs.microsoft.com/en-us/sql/tools/bcp-utility
    - https://asec.ahnlab.com/en/61000/
    - https://asec.ahnlab.com/en/78944/
    - https://www.huntress.com/blog/attacking-mssql-servers
    - https://www.huntress.com/blog/attacking-mssql-servers-pt-ii
    - https://news.sophos.com/en-us/2024/08/07/sophos-mdr-hunt-tracks-mimic-ransomware-campaign-against-organizations-in-india/
    - https://research.nccgroup.com/2018/03/10/apt15-is-alive-and-strong-an-analysis-of-royalcli-and-royaldns/
author: Omar Khaled (@beacon_exe), MahirAli Khan (in/mahiralikhan), Nasreddine Bencherchali (Nextron Systems)
date: 2024-08-20
tags:
    - attack.execution
    - attack.exfiltration
    - attack.t1048
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\bcp.exe'
        - OriginalFileName: 'BCP.exe'
    selection_cli:
        CommandLine|contains:
            - ' out ' # Export data from a table
            - ' queryout ' # Export data based on a SQL query
    condition: all of selection_*
falsepositives:
    - Legitimate data export operations.
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\bcp.exe'
    - OriginalFileName: 'BCP.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains:
        - ' out '
        - ' queryout '

Indicators

These rows show field, operator, and value matches.

DNS Query To Put.io - DNS Client

#
Status
test
Severity
medium
Author
Omar Khaled (@beacon_exe)
Source
github.com/SigmaHQ/sigma

Detects DNS queries for subdomains related to "Put.io" sharing website.

Known False Positives

  • Legitimate DNS queries and usage of Put.io

MITRE ATT&CK Coverage

TacticTechniques
Command & ControlNo specific technique

Telemetry Coverage

Rule Body

title: DNS Query To Put.io - DNS Client
id: 8b69fd42-9dad-4674-abef-7fdef43ef92a
status: test
description: Detects DNS queries for subdomains related to "Put.io" sharing website.
references:
    - https://darkatlas.io/blog/medusa-ransomware-group-opsec-failure
author: Omar Khaled (@beacon_exe)
date: 2024-08-23
tags:
    - attack.command-and-control
logsource:
    product: windows
    service: dns-client
    definition: 'Requirements: Microsoft-Windows-DNS Client Events/Operational Event Log must be enabled/collected in order to receive the events.'
detection:
    selection:
        EventID: 3008
        QueryName|contains:
            - 'api.put.io'
            - 'upload.put.io'
    condition: selection
falsepositives:
    - Legitimate DNS queries and usage of Put.io
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 3008
    QueryName|contains:
        - 'api.put.io'
        - 'upload.put.io'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
QueryNamematch
  • api.put.io
  • upload.put.io
field:"QueryName" kind:match

Driver Load From A Temporary Directory

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

Detects a driver load from a temporary directory

Known False Positives

  • There is a relevant set of false positives depending on applications in the environment

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 6: Driver loaded

Rule Body

title: Driver Load From A Temporary Directory
id: 2c4523d5-d481-4ed0-8ec3-7fbf0cb41a75
status: test
description: Detects a driver load from a temporary directory
references:
    - Internal Research
author: Florian Roth (Nextron Systems)
date: 2017-02-12
modified: 2021-11-27
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1543.003
logsource:
    category: driver_load
    product: windows
detection:
    selection:
        ImageLoaded|contains: '\Temp\'
    condition: selection
falsepositives:
    - There is a relevant set of false positives depending on applications in the environment
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ImageLoaded|contains: '\Temp\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ImageLoadedmatch
  • \Temp\ corpus 3 (sigma 2, splunk 1)
field:"ImageLoaded" kind:match value:"\Temp\"

File Deletion

#
Status
stable
Severity
informational
Author
Ömer Günal, oscd.community
Source
github.com/SigmaHQ/sigma

Detects file deletion using "rm", "shred" or "unlink" commands which are used often by adversaries to delete files left behind by the actions of their intrusion activity

Known False Positives

  • Legitimate administration activities

MITRE ATT&CK Coverage

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: File Deletion
id: 30aed7b6-d2c1-4eaf-9382-b6bc43e50c57
status: stable
description: Detects file deletion using "rm", "shred" or "unlink" commands which are used often by adversaries to delete files left behind by the actions of their intrusion activity
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1070.004/T1070.004.md
author: Ömer Günal, oscd.community
date: 2020-10-07
modified: 2022-09-15
tags:
    - attack.stealth
    - attack.t1070.004
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith:
            - '/rm'     # covers /rmdir as well
            - '/shred'
            - '/unlink'
    condition: selection
falsepositives:
    - Legitimate administration activities
level: informational

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith:
        - '/rm'
        - '/shred'
        - '/unlink'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • /rm corpus 6 (sigma 6)
  • /shred corpus 6 (sigma 6)
  • /unlink corpus 5 (sigma 5)
field:"Image" kind:ends_with

Firewall Rule Deleted Via Netsh.EXE

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

Detects the removal of a port or application rule in the Windows Firewall configuration using netsh

Known False Positives

  • Legitimate administration activity
  • Software installations and removal

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Firewall Rule Deleted Via Netsh.EXE
id: 1a5fefe6-734f-452e-a07d-fc1c35bce4b2
status: test
description: Detects the removal of a port or application rule in the Windows Firewall configuration using netsh
references:
    - https://app.any.run/tasks/8bbd5b4c-b82d-4e6d-a3ea-d454594a37cc/
author: frack113
date: 2022-08-14
modified: 2025-10-07
tags:
    - attack.defense-impairment
    - attack.t1686.003
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\netsh.exe'
        - OriginalFileName: 'netsh.exe'
    selection_cli:
        CommandLine|contains|all:
            - 'firewall'
            - 'delete '
    filter_optional_dropbox:
        ParentImage|endswith: '\Dropbox.exe'
        CommandLine|contains: 'name=Dropbox'
    filter_optional_avast:
        ParentImage|endswith: '\instup.exe'
        CommandLine|contains: 'advfirewall firewall delete rule name="Avast Antivirus Admin Client"'
    condition: all of selection_* and not 1 of filter_optional_*
falsepositives:
    - Legitimate administration activity
    - Software installations and removal
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_netsh_fw_delete_rule/info.yml

Stages and Predicates

Stage 0: condition

all of selection_* and not 1 of filter_optional_*

Stage 1: selection_img

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

Stage 2: selection_cli

selection_cli:
    CommandLine|contains|all:
        - 'firewall'
        - 'delete '

Stage 3: not filter_optional_*

filter_optional_dropbox:
    ParentImage|endswith: '\Dropbox.exe'
    CommandLine|contains: 'name=Dropbox'
filter_optional_avast:
    ParentImage|endswith: '\instup.exe'
    CommandLine|contains: 'advfirewall firewall delete rule name="Avast Antivirus Admin Client"'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • delete corpus 4 (sigma 4)
  • firewall corpus 13 (sigma 7, splunk 6)
field:"CommandLine" kind:match
Imageends_with
  • \netsh.exe corpus 28 (sigma 28)
field:"Image" kind:ends_with value:"\netsh.exe"
OriginalFileNameeq
  • netsh.exe corpus 21 (sigma 14, splunk 7)
field:"OriginalFileName" kind:eq value:"netsh.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLinematchadvfirewall firewall delete rule name="Avast Antivirus Admin Client"excludes:CommandLine
ParentImageends_with\instup.exeexcludes:ParentImage field:"ParentImage" value:"\instup.exe"
CommandLinematchname=Dropboxexcludes:CommandLine field:"CommandLine" value:"name=Dropbox"
ParentImageends_with\Dropbox.exeexcludes:ParentImage field:"ParentImage" value:"\Dropbox.exe"

HackTool - Bloodhound/Sharphound Execution

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

Detects command line parameters used by Bloodhound and Sharphound hack tools

Known False Positives

  • Other programs that use these command line option and accepts an 'All' parameter

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: HackTool - Bloodhound/Sharphound Execution
id: f376c8a7-a2d0-4ddc-aa0c-16c17236d962
status: test
description: Detects command line parameters used by Bloodhound and Sharphound hack tools
references:
    - https://github.com/BloodHoundAD/BloodHound
    - https://github.com/BloodHoundAD/SharpHound
author: Florian Roth (Nextron Systems)
date: 2019-12-20
modified: 2023-02-04
tags:
    - attack.discovery
    - attack.t1087.001
    - attack.t1087.002
    - attack.t1482
    - attack.t1069.001
    - attack.t1069.002
    - attack.execution
    - attack.t1059.001
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Product|contains: 'SharpHound'
        - Description|contains: 'SharpHound'
        - Company|contains:
              - 'SpecterOps'
              - 'evil corp'
        - Image|contains:
              - '\Bloodhound.exe'
              - '\SharpHound.exe'
    selection_cli_1:
        CommandLine|contains:
            - ' -CollectionMethod All '
            - ' --CollectionMethods Session '
            - ' --Loop --Loopduration '
            - ' --PortScanTimeout '
            - '.exe -c All -d '
            - 'Invoke-Bloodhound'
            - 'Get-BloodHoundData'
    selection_cli_2:
        CommandLine|contains|all:
            - ' -JsonFolder '
            - ' -ZipFileName '
    selection_cli_3:
        CommandLine|contains|all:
            - ' DCOnly '
            - ' --NoSaveCache '
    condition: 1 of selection_*
falsepositives:
    - Other programs that use these command line option and accepts an 'All' parameter
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_hktl_bloodhound_sharphound/info.yml

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_img

selection_img:
    - Product|contains: 'SharpHound'
    - Description|contains: 'SharpHound'
    - Company|contains:
          - 'SpecterOps'
          - 'evil corp'
    - Image|contains:
          - '\Bloodhound.exe'
          - '\SharpHound.exe'

Stage 2: selection_cli_1

selection_cli_1:
    CommandLine|contains:
        - ' -CollectionMethod All '
        - ' --CollectionMethods Session '
        - ' --Loop --Loopduration '
        - ' --PortScanTimeout '
        - '.exe -c All -d '
        - 'Invoke-Bloodhound'
        - 'Get-BloodHoundData'

Stage 3: selection_cli_2

selection_cli_2:
    CommandLine|contains|all:
        - ' -JsonFolder '
        - ' -ZipFileName '

Stage 4: selection_cli_3

selection_cli_3:
    CommandLine|contains|all:
        - ' DCOnly '
        - ' --NoSaveCache '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • --CollectionMethods Session
  • --Loop --Loopduration
  • --NoSaveCache
  • --PortScanTimeout
  • -CollectionMethod All
  • -JsonFolder
  • -ZipFileName
  • DCOnly
  • .exe -c All -d
  • Get-BloodHoundData
  • Invoke-Bloodhound
field:"CommandLine" kind:match
Companymatch
  • SpecterOps
  • evil corp
field:"Company" kind:match
Descriptionmatch
  • SharpHound
field:"Description" kind:match value:"SharpHound"
Imagematch
  • \Bloodhound.exe
  • \SharpHound.exe
field:"Image" kind:match
Productmatch
  • SharpHound
field:"Product" kind:match value:"SharpHound"

Hiding User Account Via SpecialAccounts Registry Key - CommandLine

#
Status
test
Severity
medium
Author
@Kostastsale, TheDFIRReport
Source
github.com/SigmaHQ/sigma

Detects changes to the registry key "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\Userlist" where the value is set to "0" in order to hide user account from being listed on the logon screen.

Known False Positives

  • System administrator activities

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Hiding User Account Via SpecialAccounts Registry Key - CommandLine
id: 9ec9fb1b-e059-4489-9642-f270c207923d
related:
    - id: f8aebc67-a56d-4ec9-9fbe-7b0e8b7b4efd
      type: similar
status: test
description: |
    Detects changes to the registry key "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\Userlist" where the value is set to "0" in order to hide user account from being listed on the logon screen.
references:
    - https://thedfirreport.com/2024/01/29/buzzing-on-christmas-eve-trigona-ransomware-in-3-hours/
    - https://thedfirreport.com/2024/04/01/from-onenote-to-ransomnote-an-ice-cold-intrusion/
    - https://thedfirreport.com/2024/04/29/from-icedid-to-dagon-locker-ransomware-in-29-days/
    - https://thedfirreport.com/2022/07/11/select-xmrig-from-sqlserver/
author: '@Kostastsale, TheDFIRReport'
date: 2022-05-14
modified: 2024-08-23
tags:
    - attack.stealth
    - attack.t1564.002
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\reg.exe'
        CommandLine|contains|all:
            - '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList'
            - 'add'
            - '/v'
            - '/d 0'
    condition: selection
falsepositives:
    - System administrator activities
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_registry_special_accounts_hide_user/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '\reg.exe'
    CommandLine|contains|all:
        - '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList'
        - 'add'
        - '/v'
        - '/d 0'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /d 0 corpus 2 (sigma 2)
  • /v corpus 5 (sigma 5)
  • \SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
  • add corpus 30 (sigma 26, splunk 4)
field:"CommandLine" kind:match
Imageends_with
  • \reg.exe corpus 58 (sigma 58)
field:"Image" kind:ends_with value:"\reg.exe"

ISATAP Router Address Was Set

#
Status
experimental
Severity
medium
Author
hamid
Source
github.com/SigmaHQ/sigma

Detects the configuration of a new ISATAP router on a Windows host. While ISATAP is a legitimate Microsoft technology for IPv6 transition, unexpected or unauthorized ISATAP router configurations could indicate a potential IPv6 DNS Takeover attack using tools like mitm6. In such attacks, adversaries advertise themselves as DHCPv6 servers and set malicious ISATAP routers to intercept traffic. This detection should be correlated with network baselines and known legitimate ISATAP deployments in your environment.

Known False Positives

  • Legitimate ISATAP router configuration in enterprise environments
  • IPv6 transition projects and network infrastructure changes
  • Network administrators configuring dual-stack networking
  • Automatic ISATAP configuration in some Windows deployments

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: ISATAP Router Address Was Set
id: d22df9cd-2aee-4089-93c7-9dc4eae77f2c
status: experimental
description: |
    Detects the configuration of a new ISATAP router on a Windows host. While ISATAP is a legitimate Microsoft technology for IPv6 transition, unexpected or unauthorized ISATAP router configurations could indicate a potential IPv6 DNS Takeover attack using tools like mitm6.
    In such attacks, adversaries advertise themselves as DHCPv6 servers and set malicious ISATAP routers to intercept traffic.
    This detection should be correlated with network baselines and known legitimate ISATAP deployments in your environment.
references:
    - https://www.blackhillsinfosec.com/mitm6-strikes-again-the-dark-side-of-ipv6/
    - https://redfoxsec.com/blog/ipv6-dns-takeover/
    - https://www.securityhq.com/blog/malicious-isatap-tunneling-unearthed-on-windows-server/
    - https://medium.com/@ninnesoturan/detecting-ipv6-dns-takeover-a54a6a88be1f
author: hamid
date: 2025-10-19
tags:
    - attack.impact
    - attack.credential-access
    - attack.collection
    - attack.initial-access
    - attack.privilege-escalation
    - attack.execution
    - attack.t1557
    - attack.t1565.002
logsource:
    product: windows
    service: system
detection:
    selection:
        EventID: 4100
        Provider_Name: 'Microsoft-Windows-Iphlpsvc'
    filter_main_localhost:
        IsatapRouter:
            - '127.0.0.1'
            - '::1'
    filter_optional_null:
        IsatapRouter: null
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
    - Legitimate ISATAP router configuration in enterprise environments
    - IPv6 transition projects and network infrastructure changes
    - Network administrators configuring dual-stack networking
    - Automatic ISATAP configuration in some Windows deployments
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:
    EventID: 4100
    Provider_Name: 'Microsoft-Windows-Iphlpsvc'

Stage 2: not filter_main_localhost

filter_main_localhost:
    IsatapRouter:
        - '127.0.0.1'
        - '::1'

Stage 3: not filter_optional_null

filter_optional_null:
    IsatapRouter: null

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
IsatapRoutereq127.0.0.1excludes:IsatapRouter field:"IsatapRouter" value:"127.0.0.1"
IsatapRoutereq::1excludes:IsatapRouter field:"IsatapRouter" value:"::1"
IsatapRouteris_null(no value, null check)excludes:IsatapRouter

Kapeka Backdoor Scheduled Task Creation

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

Detects Kapeka backdoor scheduled task creation based on attributes such as paths, commands line flags, etc.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Kapeka Backdoor Scheduled Task Creation
id: 6c130acd-0adb-4545-bcc4-2e85d0883c9a
related:
    - id: 64a871dd-83f6-4e5f-80fc-5a7ca3a8a819
      type: similar
status: test
description: Detects Kapeka backdoor scheduled task creation based on attributes such as paths, commands line flags, etc.
references:
    - https://learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4698
    - https://labs.withsecure.com/publications/kapeka
    - https://app.any.run/tasks/1efb3ed4-cc0f-4690-a0ed-24516809bc72/
    - https://www.virustotal.com/gui/file/bd07fb1e9b4768e7202de6cc454c78c6891270af02085c51fce5539db1386c3f/behavior
author: Swachchhanda Shrawan Poudel
date: 2024-07-03
tags:
    - attack.execution
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1053.005
    - detection.emerging-threats
logsource:
    product: windows
    service: security
    definition: 'Requirements: The Advanced Audit Policy setting Object Access > Audit Other Object Access Events has to be configured to trigger this detection.'
detection:
    selection_eid:
        EventID: 4698
    selection_paths:
        TaskContent|contains:
            - ':\ProgramData\'
            - '\AppData\Local\'
    selection_command:
        TaskContent|contains|all:
            - 'rundll32'
            - '.wll'
            - '#1'
    selection_taskname:
        TaskContent|contains:
            - 'OneDrive' # The scheduled task was called “OneDrive” instead of “Sens Api” in some cases
            - 'Sens Api'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_eid

selection_eid:
    EventID: 4698

Stage 2: selection_paths

selection_paths:
    TaskContent|contains:
        - ':\ProgramData\'
        - '\AppData\Local\'

Stage 3: selection_command

selection_command:
    TaskContent|contains|all:
        - 'rundll32'
        - '.wll'
        - '#1'

Stage 4: selection_taskname

selection_taskname:
    TaskContent|contains:
        - 'OneDrive'
        - 'Sens Api'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TaskContentmatch
  • #1
  • .wll
  • :\ProgramData\
  • OneDrive
  • Sens Api
  • \AppData\Local\
  • rundll32 corpus 2 (sigma 2)
field:"TaskContent" kind:match

Potentially Suspicious AccessMask Requested From LSASS

#
Status
test
Severity
medium
Author
Roberto Rodriguez, Teymur Kheirkhabarov, Dimitrios Slamaris, Mark Russinovich, Aleksey Potapov, oscd.community (update)
Source
github.com/SigmaHQ/sigma

Detects process handle on LSASS process with certain access mask

Known False Positives

  • Legitimate software accessing LSASS process for legitimate reason; update the whitelist with it

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

Rule Body

title: Potentially Suspicious AccessMask Requested From LSASS
id: 4a1b6da0-d94f-4fc3-98fc-2d9cb9e5ee76
status: test
description: Detects process handle on LSASS process with certain access mask
references:
    - https://web.archive.org/web/20230208123920/https://cyberwardog.blogspot.com/2017/03/chronicles-of-threat-hunter-hunting-for_22.html
    - https://www.slideshare.net/heirhabarov/hunting-for-credentials-dumping-in-windows-environment
author: Roberto Rodriguez, Teymur Kheirkhabarov, Dimitrios Slamaris, Mark Russinovich, Aleksey Potapov, oscd.community (update)
date: 2019-11-01
modified: 2026-06-29
tags:
    - attack.credential-access
    - car.2019-04-004
    - attack.t1003.001
logsource:
    product: windows
    service: security
detection:
    selection_1:
        EventID: 4656 # A handle to an object was requested.
        ObjectName|endswith: '\lsass.exe'
        AccessMask|contains:
            - '0x40'
            - '0x1400'
            # - '0x1000'  # minimum access requirements to query basic info from service
            - '0x100000'
            - '0x1410'    # car.2019-04-004
            - '0x1010'    # car.2019-04-004
            - '0x1438'    # car.2019-04-004
            - '0x143a'    # car.2019-04-004
            - '0x1418'    # car.2019-04-004
            - '0x1f0fff'
            - '0x1f1fff'
            - '0x1f2fff'
            - '0x1f3fff'
    selection_2:
        EventID: 4663 # An attempt was made to access an object
        ObjectName|endswith: '\lsass.exe'
        AccessList|contains:
            - '4484'
            - '4416'
    filter_main_specific:
        ProcessName|endswith:
            - '\csrss.exe'
            - '\GamingServices.exe'
            - '\lsm.exe'
            - '\MicrosoftEdgeUpdate.exe'
            - '\minionhost.exe'  # Cyberreason
            - '\MRT.exe'         # MS Malware Removal Tool
            - '\MsMpEng.exe'     # Defender
            - '\perfmon.exe'
            - '\procexp.exe'
            - '\procexp64.exe'
            - '\procexp64a.exe'
            - '\svchost.exe'
            - '\taskmgr.exe'
            - '\thor.exe'        # THOR
            - '\thor64.exe'      # THOR
            - '\vmtoolsd.exe'
            - '\VsTskMgr.exe'    # McAfee Enterprise
            - '\wininit.exe'
            - '\wmiprvse.exe'
            - 'RtkAudUService64' # https://medium.com/falconforce/the-curious-case-of-realtek-and-lsass-33fc0c8482ff
        ProcessName|contains:
            - ':\Program Files (x86)\'
            - ':\Program Files\'
            - ':\ProgramData\Microsoft\Windows Defender\Platform\'
            - ':\Windows\SysNative\'
            - ':\Windows\System32\'
            - ':\Windows\SysWow64\'
            - ':\Windows\Temp\asgard2-agent\'
    filter_main_generic:
        ProcessName|contains: ':\Program Files'  # too many false positives with legitimate AV and EDR solutions
    filter_main_exact:
        ProcessName|endswith:
            - ':\Windows\System32\taskhostw.exe'
            - ':\Windows\System32\msiexec.exe'
            - ':\Windows\CCM\CcmExec.exe'
    filter_main_sysmon:
        ProcessName|endswith:
            - ':\Windows\Sysmon64.exe'
            - ':\Windows\Sysmon64a.exe'
        AccessList|contains: '%%4484'
    filter_main_aurora:
        ProcessName|contains: ':\Windows\Temp\asgard2-agent-sc\aurora\'
        ProcessName|endswith: '\aurora-agent-64.exe'
        AccessList|contains: '%%4484'
    filter_main_scenarioengine:
        # Example: C:\a70de9569c3a5aa22184ef52a890177b\x64\SCENARIOENGINE.EXE
        ProcessName|endswith: '\x64\SCENARIOENGINE.EXE'
        AccessList|contains: '%%4484'
    filter_main_avira1:
        ProcessName|contains|all:
            - ':\Users\'
            - '\AppData\Local\Temp\is-'
        ProcessName|endswith: '\avira_system_speedup.tmp'
        AccessList|contains: '%%4484'
    filter_main_avira2:
        ProcessName|contains: ':\Windows\Temp\'
        ProcessName|endswith: '\avira_speedup_setup_update.tmp'
        AccessList|contains: '%%4484'
    filter_main_snmp:
        ProcessName|endswith: ':\Windows\System32\snmp.exe'
        AccessList|contains: '%%4484'
    filter_main_googleupdate:
        ProcessName|contains: ':\Windows\SystemTemp\'
        ProcessName|endswith: '\GoogleUpdate.exe'
        AccessList|contains: '%%4484'
    filter_optional_procmon:
        ProcessName|endswith:
            - '\procmon64.exe'
            - '\procmon64a.exe'
            - '\procmon.exe'
        AccessList|contains: '%%4484'
    condition: 1 of selection_* and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
    - Legitimate software accessing LSASS process for legitimate reason; update the whitelist with it
level: medium

Stages and Predicates

Stage 0: condition

1 of selection_* and not 1 of filter_main_* and not 1 of filter_optional_*

Stage 1: selection_1

selection_1:
    EventID: 4656
    ObjectName|endswith: '\lsass.exe'
    AccessMask|contains:
        - '0x40'
        - '0x1400'
        - '0x100000'
        - '0x1410'
        - '0x1010'
        - '0x1438'
        - '0x143a'
        - '0x1418'
        - '0x1f0fff'
        - '0x1f1fff'
        - '0x1f2fff'
        - '0x1f3fff'

Stage 2: selection_2

selection_2:
    EventID: 4663
    ObjectName|endswith: '\lsass.exe'
    AccessList|contains:
        - '4484'
        - '4416'

Stage 3: not filter_main_*

filter_main_specific:
    ProcessName|endswith:
        - '\csrss.exe'
        - '\GamingServices.exe'
        - '\lsm.exe'
        - '\MicrosoftEdgeUpdate.exe'
        - '\minionhost.exe'
        - '\MRT.exe'
        - '\MsMpEng.exe'
        - '\perfmon.exe'
        - '\procexp.exe'
        - '\procexp64.exe'
        - '\procexp64a.exe'
        - '\svchost.exe'
        - '\taskmgr.exe'
        - '\thor.exe'
        - '\thor64.exe'
        - '\vmtoolsd.exe'
        - '\VsTskMgr.exe'
        - '\wininit.exe'
        - '\wmiprvse.exe'
        - 'RtkAudUService64'
    ProcessName|contains:
        - ':\Program Files (x86)\'
        - ':\Program Files\'
        - ':\ProgramData\Microsoft\Windows Defender\Platform\'
        - ':\Windows\SysNative\'
        - ':\Windows\System32\'
        - ':\Windows\SysWow64\'
        - ':\Windows\Temp\asgard2-agent\'
filter_main_generic:
    ProcessName|contains: ':\Program Files'
filter_main_exact:
    ProcessName|endswith:
        - ':\Windows\System32\taskhostw.exe'
        - ':\Windows\System32\msiexec.exe'
        - ':\Windows\CCM\CcmExec.exe'
filter_main_sysmon:
    ProcessName|endswith:
        - ':\Windows\Sysmon64.exe'
        - ':\Windows\Sysmon64a.exe'
    AccessList|contains: '%%4484'
filter_main_aurora:
    ProcessName|contains: ':\Windows\Temp\asgard2-agent-sc\aurora\'
    ProcessName|endswith: '\aurora-agent-64.exe'
    AccessList|contains: '%%4484'
filter_main_scenarioengine:
    ProcessName|endswith: '\x64\SCENARIOENGINE.EXE'
    AccessList|contains: '%%4484'
filter_main_avira1:
    ProcessName|contains|all:
        - ':\Users\'
        - '\AppData\Local\Temp\is-'
    ProcessName|endswith: '\avira_system_speedup.tmp'
    AccessList|contains: '%%4484'
filter_main_avira2:
    ProcessName|contains: ':\Windows\Temp\'
    ProcessName|endswith: '\avira_speedup_setup_update.tmp'
    AccessList|contains: '%%4484'
filter_main_snmp:
    ProcessName|endswith: ':\Windows\System32\snmp.exe'
    AccessList|contains: '%%4484'
filter_main_googleupdate:
    ProcessName|contains: ':\Windows\SystemTemp\'
    ProcessName|endswith: '\GoogleUpdate.exe'
    AccessList|contains: '%%4484'

Stage 4: not filter_optional_procmon

filter_optional_procmon:
    ProcessName|endswith:
        - '\procmon64.exe'
        - '\procmon64a.exe'
        - '\procmon.exe'
    AccessList|contains: '%%4484'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
AccessListmatch
  • 4416
  • 4484
field:"AccessList" kind:match
AccessMaskmatch
  • 0x100000
  • 0x1010
  • 0x1400
  • 0x1410
  • 0x1418
  • 0x1438
  • 0x143a
  • 0x1f0fff
  • 0x1f1fff
  • 0x1f2fff
  • 0x1f3fff
  • 0x40
field:"AccessMask" kind:match
ObjectNameends_with
  • \lsass.exe corpus 4 (sigma 4)
field:"ObjectName" kind:ends_with value:"\lsass.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ProcessNameends_with:\Windows\Sysmon64.exeexcludes:ProcessName field:"ProcessName" value:":\Windows\Sysmon64.exe"
ProcessNameends_with:\Windows\Sysmon64a.exeexcludes:ProcessName field:"ProcessName" value:":\Windows\Sysmon64a.exe"
AccessListmatch%%4484excludes:AccessList field:"AccessList" value:"%%4484"
ProcessNameends_withRtkAudUService64excludes:ProcessName field:"ProcessName" value:"RtkAudUService64"
ProcessNameends_with\GamingServices.exeexcludes:ProcessName field:"ProcessName" value:"\GamingServices.exe"
ProcessNameends_with\MRT.exeexcludes:ProcessName field:"ProcessName" value:"\MRT.exe"
ProcessNameends_with\MicrosoftEdgeUpdate.exeexcludes:ProcessName field:"ProcessName" value:"\MicrosoftEdgeUpdate.exe"
ProcessNameends_with\MsMpEng.exeexcludes:ProcessName field:"ProcessName" value:"\MsMpEng.exe"
ProcessNameends_with\VsTskMgr.exeexcludes:ProcessName field:"ProcessName" value:"\VsTskMgr.exe"
ProcessNameends_with\csrss.exeexcludes:ProcessName field:"ProcessName" value:"\csrss.exe"
ProcessNameends_with\lsm.exeexcludes:ProcessName field:"ProcessName" value:"\lsm.exe"
ProcessNameends_with\minionhost.exeexcludes:ProcessName field:"ProcessName" value:"\minionhost.exe"
ProcessNameends_with\perfmon.exeexcludes:ProcessName field:"ProcessName" value:"\perfmon.exe"
ProcessNameends_with\procexp.exeexcludes:ProcessName field:"ProcessName" value:"\procexp.exe"
ProcessNameends_with\procexp64.exeexcludes:ProcessName field:"ProcessName" value:"\procexp64.exe"
ProcessNameends_with\procexp64a.exeexcludes:ProcessName field:"ProcessName" value:"\procexp64a.exe"
ProcessNameends_with\svchost.exeexcludes:ProcessName field:"ProcessName" value:"\svchost.exe"
ProcessNameends_with\taskmgr.exeexcludes:ProcessName field:"ProcessName" value:"\taskmgr.exe"
ProcessNameends_with\thor.exeexcludes:ProcessName field:"ProcessName" value:"\thor.exe"
ProcessNameends_with\thor64.exeexcludes:ProcessName field:"ProcessName" value:"\thor64.exe"
ProcessNameends_with\vmtoolsd.exeexcludes:ProcessName field:"ProcessName" value:"\vmtoolsd.exe"
ProcessNameends_with\wininit.exeexcludes:ProcessName field:"ProcessName" value:"\wininit.exe"
ProcessNameends_with\wmiprvse.exeexcludes:ProcessName field:"ProcessName" value:"\wmiprvse.exe"
ProcessNamematch:\Program Files (x86)\excludes:ProcessName field:"ProcessName" value:":\Program Files (x86)\"
ProcessNamematch:\Program Files\excludes:ProcessName field:"ProcessName" value:":\Program Files\"
ProcessNamematch:\ProgramData\Microsoft\Windows Defender\Platform\excludes:ProcessName field:"ProcessName" value:":\ProgramData\Microsoft\Windows Defender\Platform\"
ProcessNamematch:\Windows\SysNative\excludes:ProcessName field:"ProcessName" value:":\Windows\SysNative\"
ProcessNamematch:\Windows\SysWow64\excludes:ProcessName field:"ProcessName" value:":\Windows\SysWow64\"
ProcessNamematch:\Windows\System32\excludes:ProcessName field:"ProcessName" value:":\Windows\System32\"
ProcessNamematch:\Windows\Temp\asgard2-agent\excludes:ProcessName field:"ProcessName" value:":\Windows\Temp\asgard2-agent\"
ProcessNameends_with:\Windows\System32\snmp.exeexcludes:ProcessName field:"ProcessName" value:":\Windows\System32\snmp.exe"
ProcessNameends_with\GoogleUpdate.exeexcludes:ProcessName field:"ProcessName" value:"\GoogleUpdate.exe"
ProcessNamematch:\Windows\SystemTemp\excludes:ProcessName field:"ProcessName" value:":\Windows\SystemTemp\"
ProcessNameends_with\aurora-agent-64.exeexcludes:ProcessName field:"ProcessName" value:"\aurora-agent-64.exe"
ProcessNamematch:\Windows\Temp\asgard2-agent-sc\aurora\excludes:ProcessName field:"ProcessName" value:":\Windows\Temp\asgard2-agent-sc\aurora\"
ProcessNameends_with\avira_speedup_setup_update.tmpexcludes:ProcessName field:"ProcessName" value:"\avira_speedup_setup_update.tmp"
ProcessNamematch:\Windows\Temp\excludes:ProcessName field:"ProcessName" value:":\Windows\Temp\"
ProcessNameends_with\avira_system_speedup.tmpexcludes:ProcessName field:"ProcessName" value:"\avira_system_speedup.tmp"
ProcessNamematch:\Users\excludes:ProcessName field:"ProcessName" value:":\Users\"
ProcessNamematch\AppData\Local\Temp\is-excludes:ProcessName field:"ProcessName" value:"\AppData\Local\Temp\is-"
ProcessNameends_with\x64\SCENARIOENGINE.EXEexcludes:ProcessName field:"ProcessName" value:"\x64\SCENARIOENGINE.EXE"
ProcessNameends_with:\Windows\CCM\CcmExec.exeexcludes:ProcessName field:"ProcessName" value:":\Windows\CCM\CcmExec.exe"
ProcessNameends_with:\Windows\System32\msiexec.exeexcludes:ProcessName field:"ProcessName" value:":\Windows\System32\msiexec.exe"
ProcessNameends_with:\Windows\System32\taskhostw.exeexcludes:ProcessName field:"ProcessName" value:":\Windows\System32\taskhostw.exe"
ProcessNamematch:\Program Filesexcludes:ProcessName field:"ProcessName" value:":\Program Files"
ProcessNameends_with\procmon.exeexcludes:ProcessName field:"ProcessName" value:"\procmon.exe"
ProcessNameends_with\procmon64.exeexcludes:ProcessName field:"ProcessName" value:"\procmon64.exe"
ProcessNameends_with\procmon64a.exeexcludes:ProcessName field:"ProcessName" value:"\procmon64a.exe"

Potentially Suspicious Cabinet File Expansion

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

Detects the expansion or decompression of cabinet files from potentially suspicious or uncommon locations, e.g. seen in Iranian MeteorExpress related attacks

Known False Positives

  • System administrator Usage

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potentially Suspicious Cabinet File Expansion
id: 9f107a84-532c-41af-b005-8d12a607639f
status: test
description: Detects the expansion or decompression of cabinet files from potentially suspicious or uncommon locations, e.g. seen in Iranian MeteorExpress related attacks
references:
    - https://labs.sentinelone.com/meteorexpress-mysterious-wiper-paralyzes-iranian-trains-with-epic-troll
    - https://blog.malwarebytes.com/threat-intelligence/2021/08/new-variant-of-konni-malware-used-in-campaign-targetting-russia/
author: Bhabesh Raj, X__Junior (Nextron Systems)
date: 2021-07-30
modified: 2024-11-13
tags:
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection_cmd:
        Image|endswith: '\expand.exe'
        CommandLine|contains|windash: '-F:'
    selection_folders_1:
        CommandLine|contains:
            - ':\Perflogs\'
            - ':\ProgramData'
            - ':\Users\Public\'
            - ':\Windows\Temp\'
            - '\Admin$\'
            - '\AppData\Local\Temp\'
            - '\AppData\Roaming\'
            - '\C$\'
            - '\Temporary Internet'
    selection_folders_2:
        - CommandLine|contains|all:
              - ':\Users\'
              - '\Favorites\'
        - CommandLine|contains|all:
              - ':\Users\'
              - '\Favourites\'
        - CommandLine|contains|all:
              - ':\Users\'
              - '\Contacts\'
    filter_optional_dell:
        # Launched by Dell ServiceShell.exe
        ParentImage: 'C:\Program Files (x86)\Dell\UpdateService\ServiceShell.exe'
        CommandLine|contains: 'C:\ProgramData\Dell\UpdateService\Temp\'
    condition: selection_cmd and 1 of selection_folders_* and not 1 of filter_optional_*
falsepositives:
    - System administrator Usage
level: medium

Stages and Predicates

Stage 0: condition

selection_cmd and 1 of selection_folders_* and not 1 of filter_optional_*

Stage 1: selection_cmd

selection_cmd:
    Image|endswith: '\expand.exe'
    CommandLine|contains|windash: '-F:'

Stage 2: selection_folders_1

selection_folders_1:
    CommandLine|contains:
        - ':\Perflogs\'
        - ':\ProgramData'
        - ':\Users\Public\'
        - ':\Windows\Temp\'
        - '\Admin$\'
        - '\AppData\Local\Temp\'
        - '\AppData\Roaming\'
        - '\C$\'
        - '\Temporary Internet'

Stage 3: selection_folders_2

selection_folders_2:
    - CommandLine|contains|all:
          - ':\Users\'
          - '\Favorites\'
    - CommandLine|contains|all:
          - ':\Users\'
          - '\Favourites\'
    - CommandLine|contains|all:
          - ':\Users\'
          - '\Contacts\'

Stage 4: not filter_optional_dell

filter_optional_dell:
    ParentImage: 'C:\Program Files (x86)\Dell\UpdateService\ServiceShell.exe'
    CommandLine|contains: 'C:\ProgramData\Dell\UpdateService\Temp\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -F: transforms: windash
  • :\Perflogs\ corpus 11 (sigma 11)
  • :\ProgramData corpus 2 (sigma 2)
  • :\Users\ corpus 6 (sigma 6)
  • :\Users\Public\ corpus 20 (sigma 18, elastic 2)
  • :\Windows\Temp\ corpus 16 (sigma 16)
  • \Admin$\ corpus 2 (sigma 1, splunk 1)
  • \AppData\Local\Temp\ corpus 28 (sigma 26, elastic 2)
  • \AppData\Roaming\ corpus 17 (sigma 16, elastic 1)
  • \C$\ corpus 2 (sigma 1, splunk 1)
  • \Contacts\ corpus 7 (sigma 7)
  • \Favorites\ corpus 7 (sigma 7)
  • \Favourites\ corpus 7 (sigma 7)
  • \Temporary Internet corpus 7 (sigma 7)
field:"CommandLine" kind:match
Imageends_with
  • \expand.exe corpus 2 (sigma 2)
field:"Image" kind:ends_with value:"\expand.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLinematchC:\ProgramData\Dell\UpdateService\Temp\excludes:CommandLine field:"CommandLine" value:"C:\ProgramData\Dell\UpdateService\Temp\"
ParentImageeqC:\Program Files (x86)\Dell\UpdateService\ServiceShell.exeexcludes:ParentImage field:"ParentImage" value:"C:\Program Files (x86)\Dell\UpdateService\ServiceShell.exe"

Potentially Suspicious File Creation by OpenEDR's ITSMService

#
Status
experimental
Severity
medium
Author
@kostastsale
Source
github.com/SigmaHQ/sigma

Detects the creation of potentially suspicious files by OpenEDR's ITSMService process. The ITSMService is responsible for remote management operations and can create files on the system through the Process Explorer or file management features. While legitimate for IT operations, creation of executable or script files could indicate unauthorized file uploads, data staging, or malicious file deployment.

Known False Positives

  • Legitimate OpenEDR file management operations
  • Authorized remote file uploads by IT administrators
  • Software deployment through OpenEDR console

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Potentially Suspicious File Creation by OpenEDR's ITSMService
id: 9e4b7d3a-6f2c-4e9a-8d1b-3c5e7a9f2b4d
status: experimental
description: |
    Detects the creation of potentially suspicious files by OpenEDR's ITSMService process.
    The ITSMService is responsible for remote management operations and can create files on the system through the Process Explorer or file management features.
    While legitimate for IT operations, creation of executable or script files could indicate unauthorized file uploads, data staging, or malicious file deployment.
author: '@kostastsale'
date: 2026-02-19
references:
    - https://kostas-ts.medium.com/detecting-abuse-of-openedrs-permissive-edr-trial-a-security-researcher-s-perspective-fc55bf53972c
tags:
    - attack.command-and-control
    - attack.t1105
    - attack.lateral-movement
    - attack.t1570
    - attack.t1219
logsource:
    product: windows
    category: file_event
detection:
    selection_process:
        Image|endswith: '\COMODO\Endpoint Manager\ITSMService.exe'
    selection_suspicious_extensions:
        TargetFilename|endswith:
            - '.7z'
            - '.bat'
            - '.cmd'
            - '.com'
            - '.dll'
            - '.exe'
            - '.hta'
            - '.js'
            - '.pif'
            - '.ps1'
            - '.rar'
            - '.scr'
            - '.vbe'
            - '.vbs'
            - '.zip'
    condition: all of selection_*
falsepositives:
    - Legitimate OpenEDR file management operations
    - Authorized remote file uploads by IT administrators
    - Software deployment through OpenEDR console
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_process

selection_process:
    Image|endswith: '\COMODO\Endpoint Manager\ITSMService.exe'

Stage 2: selection_suspicious_extensions

selection_suspicious_extensions:
    TargetFilename|endswith:
        - '.7z'
        - '.bat'
        - '.cmd'
        - '.com'
        - '.dll'
        - '.exe'
        - '.hta'
        - '.js'
        - '.pif'
        - '.ps1'
        - '.rar'
        - '.scr'
        - '.vbe'
        - '.vbs'
        - '.zip'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \COMODO\Endpoint Manager\ITSMService.exe
field:"Image" kind:ends_with value:"\COMODO\Endpoint Manager\ITSMService.exe"
TargetFilenameends_with
  • .7z corpus 5 (sigma 5)
  • .bat corpus 17 (sigma 17)
  • .cmd corpus 8 (sigma 8)
  • .com corpus 4 (sigma 4)
  • .dll corpus 24 (sigma 24)
  • .exe corpus 21 (sigma 20, splunk 1)
  • .hta corpus 14 (sigma 14)
  • .js corpus 10 (sigma 10)
  • .pif
  • .ps1 corpus 17 (sigma 17)
  • .rar corpus 5 (sigma 5)
  • .scr corpus 8 (sigma 8)
  • .vbe corpus 16 (sigma 16)
  • .vbs corpus 18 (sigma 18)
  • .zip corpus 7 (sigma 6, splunk 1)
field:"TargetFilename" kind:ends_with

PUA - Kernel Driver Utility (KDU) Execution

#
Status
experimental
Severity
high
Author
Matt Anderson, Dray Agha, Anna Pham (Huntress)
Source
github.com/SigmaHQ/sigma

Detects execution of the Kernel Driver Utility (KDU) tool. KDU can be used to bypass driver signature enforcement and load unsigned or malicious drivers into the Windows kernel. Potentially allowing for privilege escalation, persistence, or evasion of security controls.

Known False Positives

  • Legitimate driver development, testing, or administrative troubleshooting (e.g., enabling/disabling hardware)

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: PUA - Kernel Driver Utility (KDU) Execution
id: e76ca062-4de0-4d79-8d90-160a0d335eca
status: experimental
description: |
    Detects execution of the Kernel Driver Utility (KDU) tool.
    KDU can be used to bypass driver signature enforcement and load unsigned or malicious drivers into the Windows kernel.
    Potentially allowing for privilege escalation, persistence, or evasion of security controls.
references:
    - https://github.com/h4rmy/KDU
    - https://huntress.com/blog/esxi-vm-escape-exploit
author: Matt Anderson, Dray Agha, Anna Pham (Huntress)
date: 2026-01-02
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1543.003
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith:
              - '\kdu.exe'
              - '\hamakaze.exe'
        - OriginalFileName: 'hamakaze.exe'
    selection_cli_suspicious:
        CommandLine|contains:
            - '-map ' # map driver to the kernel and execute it entry point
            - '-prv ' # optional, select vulnerability driver provider
            - '-dse ' # write user defined value to the system DSE state flags; dse=0(disable),dse=1(enable)
            - '-ps ' #  modify process object of given ProcessID;
    condition: all of selection_*
falsepositives:
    - Legitimate driver development, testing, or administrative troubleshooting (e.g., enabling/disabling hardware)
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_pua_kdu_driver_tool/info.yml

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith:
          - '\kdu.exe'
          - '\hamakaze.exe'
    - OriginalFileName: 'hamakaze.exe'

Stage 2: selection_cli_suspicious

selection_cli_suspicious:
    CommandLine|contains:
        - '-map '
        - '-prv '
        - '-dse '
        - '-ps '

Indicators

These rows show field, operator, and value matches.

Python Function Execution Security Warning Disabled In Excel

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

Detects changes to the registry value "PythonFunctionWarnings" that would prevent any warnings or alerts from showing when Python functions are about to be executed. Threat actors could run malicious code through the new Microsoft Excel feature that allows Python to run within the spreadsheet.

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

Rule Body

title: Python Function Execution Security Warning Disabled In Excel
id: 023c654f-8f16-44d9-bb2b-00ff36a62af9
related:
    - id: 17e53739-a1fc-4a62-b1b9-87711c2d5e44
      type: similar
status: test
description: |
    Detects changes to the registry value "PythonFunctionWarnings" that would prevent any warnings or alerts from showing when Python functions are about to be executed.
    Threat actors could run malicious code through the new Microsoft Excel feature that allows Python to run within the spreadsheet.
references:
    - https://support.microsoft.com/en-us/office/data-security-and-python-in-excel-33cc88a4-4a87-485e-9ff9-f35958278327
author: '@Kostastsale'
date: 2023-08-22
tags:
    - attack.defense-impairment
    - attack.t1685
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains|all:
            - '\Microsoft\Office\'
            - '\Excel\Security'
            - 'PythonFunctionWarnings'
        CommandLine|contains: ' 0'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains|all:
        - '\Microsoft\Office\'
        - '\Excel\Security'
        - 'PythonFunctionWarnings'
    CommandLine|contains: ' 0'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • 0 corpus 3 (sigma 3)
  • PythonFunctionWarnings
  • \Excel\Security
  • \Microsoft\Office\
field:"CommandLine" kind:match

RemoteFXvGPUDisablement Abuse Via AtomicTestHarnesses

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

Detects calls to the AtomicTestHarnesses "Invoke-ATHRemoteFXvGPUDisablementCommand" which is designed to abuse the "RemoteFXvGPUDisablement.exe" binary to run custom PowerShell code via module load-order hijacking.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: RemoteFXvGPUDisablement Abuse Via AtomicTestHarnesses
id: a6fc3c46-23b8-4996-9ea2-573f4c4d88c5
related:
    - id: f65e22f9-819e-4f96-9c7b-498364ae7a25 # PS Classic
      type: similar
    - id: 38a7625e-b2cb-485d-b83d-aff137d859f4 # PS Module
      type: similar
    - id: cacef8fc-9d3d-41f7-956d-455c6e881bc5 # PS ScriptBlock
      type: similar
status: test
description: Detects calls to the AtomicTestHarnesses "Invoke-ATHRemoteFXvGPUDisablementCommand" which is designed to abuse the "RemoteFXvGPUDisablement.exe" binary to run custom PowerShell code via module load-order hijacking.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1218/T1218.md
    - https://github.com/redcanaryco/AtomicTestHarnesses/blob/7e1e4da116801e3d6fcc6bedb207064577e40572/TestHarnesses/T1218_SignedBinaryProxyExecution/InvokeRemoteFXvGPUDisablementCommand.ps1
author: frack113
date: 2021-07-13
modified: 2023-05-09
tags:
    - attack.stealth
    - attack.t1218
logsource:
    product: windows
    category: process_creation
detection:
    selection:
        CommandLine|contains:
            - 'Invoke-ATHRemoteFXvGPUDisablementCommand'
            - 'Invoke-ATHRemoteFXvGPUDisableme'
    condition: selection
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_powershell_remotefxvgpudisablement_abuse/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains:
        - 'Invoke-ATHRemoteFXvGPUDisablementCommand'
        - 'Invoke-ATHRemoteFXvGPUDisableme'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • Invoke-ATHRemoteFXvGPUDisableme
  • Invoke-ATHRemoteFXvGPUDisablementCommand
field:"CommandLine" kind:match

Renamed Sysinternals Sdelete Execution

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

Detects the use of a renamed SysInternals Sdelete, which is something an administrator shouldn't do (the renaming)

Known False Positives

  • System administrator usage

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Renamed Sysinternals Sdelete Execution
id: c1d867fe-8d95-4487-aab4-e53f2d339f90
status: test
description: Detects the use of a renamed SysInternals Sdelete, which is something an administrator shouldn't do (the renaming)
references:
    - https://learn.microsoft.com/en-us/sysinternals/downloads/sdelete
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1485/T1485.md
author: Florian Roth (Nextron Systems)
date: 2022-09-06
modified: 2026-06-29
tags:
    - attack.impact
    - attack.t1485
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        OriginalFileName: 'sdelete.exe'
    filter:
        Image|endswith:
            - '\sdelete.exe'
            - '\sdelete64.exe'
            - '\sdelete64a.exe'
    condition: selection and not filter
falsepositives:
    - System administrator usage
level: high

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    OriginalFileName: 'sdelete.exe'

Stage 2: not filter

filter:
    Image|endswith:
        - '\sdelete.exe'
        - '\sdelete64.exe'
        - '\sdelete64a.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
OriginalFileNameeq
  • sdelete.exe corpus 4 (sigma 2, elastic 1, splunk 1)
field:"OriginalFileName" kind:eq value:"sdelete.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\sdelete.exeexcludes:Image field:"Image" value:"\sdelete.exe"
Imageends_with\sdelete64.exeexcludes:Image field:"Image" value:"\sdelete64.exe"
Imageends_with\sdelete64a.exeexcludes:Image field:"Image" value:"\sdelete64a.exe"

Shell32 DLL Execution in Suspicious Directory

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

Detects shell32.dll executing a DLL in a suspicious directory

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Shell32 DLL Execution in Suspicious Directory
id: 32b96012-7892-429e-b26c-ac2bf46066ff
status: test
description: Detects shell32.dll executing a DLL in a suspicious directory
references:
    - https://www.group-ib.com/resources/threat-research/red-curl-2.html
author: Christian Burkard (Nextron Systems)
date: 2021-11-24
modified: 2023-02-09
tags:
    - attack.execution
    - attack.stealth
    - attack.t1218.011
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\rundll32.exe'
        - OriginalFileName: 'RUNDLL32.EXE'
    selection_cli:
        CommandLine|contains|all:
            - 'shell32.dll'
            - 'Control_RunDLL'
        CommandLine|contains:
            - '%AppData%'
            - '%LocalAppData%'
            - '%Temp%'
            - '%tmp%'
            - '\AppData\'
            - '\Temp\'
            - '\Users\Public\'
    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: '\rundll32.exe'
    - OriginalFileName: 'RUNDLL32.EXE'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains|all:
        - 'shell32.dll'
        - 'Control_RunDLL'
    CommandLine|contains:
        - '%AppData%'
        - '%LocalAppData%'
        - '%Temp%'
        - '%tmp%'
        - '\AppData\'
        - '\Temp\'
        - '\Users\Public\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • %AppData% corpus 11 (sigma 11)
  • %LocalAppData% corpus 4 (sigma 4)
  • %Temp% corpus 14 (sigma 13, kusto 1)
  • %tmp% corpus 13 (sigma 13)
  • Control_RunDLL corpus 6 (sigma 3, splunk 2, elastic 1)
  • \AppData\ corpus 11 (sigma 8, elastic 3)
  • \Temp\ corpus 5 (sigma 5)
  • \Users\Public\ corpus 18 (sigma 17, elastic 1)
  • shell32.dll corpus 3 (sigma 3)
field:"CommandLine" kind:match
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"

Steganography Hide Files with Steghide

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

Detects embedding of files with usage of steghide binary, the adversaries may use this technique to prevent the detection of hidden information.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Steganography Hide Files with Steghide
id: ce446a9e-30b9-4483-8e38-d2c9ad0a2280
status: test
description: Detects embedding of files with usage of steghide binary, the adversaries may use this technique to prevent the detection of hidden information.
references:
    - https://vitux.com/how-to-hide-confidential-files-in-images-on-debian-using-steganography/
author: 'Pawel Mazur'
date: 2021-09-11
modified: 2022-10-09
tags:
    - attack.stealth
    - attack.t1027.003
logsource:
    product: linux
    service: auditd
detection:
    selection:
        type: EXECVE
        a0: steghide
        a1: embed
        a2:
            - '-cf'
            - '-ef'
        a4:
            - '-cf'
            - '-ef'
    condition: selection
falsepositives:
    - Unknown
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    type: EXECVE
    a0: steghide
    a1: embed
    a2:
        - '-cf'
        - '-ef'
    a4:
        - '-cf'
        - '-ef'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
a0eq
  • steghide corpus 2 (sigma 2)
field:"a0" kind:eq value:"steghide"
a1eq
  • embed
field:"a1" kind:eq value:"embed"
a2eq
  • -cf
  • -ef
field:"a2" kind:eq
a4eq
  • -cf
  • -ef
field:"a4" kind:eq
typeeq
  • EXECVE corpus 37 (sigma 31, splunk 6)
field:"type" kind:eq value:"EXECVE"

Suspicious Unsigned Thor Scanner Execution

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

Detects loading and execution of an unsigned thor scanner binary.

Known False Positives

  • Other legitimate binaries named "thor.exe" that aren't published by Nextron Systems

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Suspicious Unsigned Thor Scanner Execution
id: ea5c131b-380d-49f9-aeb3-920694da4d4b
status: stable
description: Detects loading and execution of an unsigned thor scanner binary.
references:
    - Internal Research
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-10-29
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        Image|endswith:
            - '\thor.exe'
            - '\thor64.exe'
        ImageLoaded|endswith:
            - '\thor.exe'
            - '\thor64.exe'
    filter_main:
        Signed: 'true'
        SignatureStatus: 'valid'
        Signature: 'Nextron Systems GmbH'
    condition: selection and not filter_main
falsepositives:
    - Other legitimate binaries named "thor.exe" that aren't published by Nextron Systems
level: high

Stages and Predicates

Stage 0: condition

selection and not filter_main

Stage 1: selection

selection:
    Image|endswith:
        - '\thor.exe'
        - '\thor64.exe'
    ImageLoaded|endswith:
        - '\thor.exe'
        - '\thor64.exe'

Stage 2: not filter_main

filter_main:
    Signed: 'true'
    SignatureStatus: 'valid'
    Signature: 'Nextron Systems GmbH'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \thor.exe
  • \thor64.exe
field:"Image" kind:ends_with
ImageLoadedends_with
  • \thor.exe
  • \thor64.exe
field:"ImageLoaded" kind:ends_with

Exclusions

The rule actively suppresses these predicates.

Turla PNG Dropper Service

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

This method detects malicious services mentioned in Turla PNG dropper report by NCC Group in November 2018

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Turla PNG Dropper Service
id: 1228f8e2-7e79-4dea-b0ad-c91f1d5016c1
status: test
description: This method detects malicious services mentioned in Turla PNG dropper report by NCC Group in November 2018
references:
    - https://research.nccgroup.com/2018/11/22/turla-png-dropper-is-back/
author: Florian Roth (Nextron Systems)
date: 2018-11-23
modified: 2021-11-30
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.g0010
    - attack.t1543.003
    - detection.emerging-threats
logsource:
    product: windows
    service: system
detection:
    selection:
        Provider_Name: 'Service Control Manager'
        EventID: 7045
        ServiceName: 'WerFaultSvc'
    condition: selection
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Provider_Name: 'Service Control Manager'
    EventID: 7045
    ServiceName: 'WerFaultSvc'

Indicators

These rows show field, operator, and value matches.

User Logoff Event

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

Detects a user log-off activity. Could be used for example to correlate information during forensic investigations

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: User Logoff Event
id: 0badd08f-c6a3-4630-90d3-6875cca440be
status: test
description: Detects a user log-off activity. Could be used for example to correlate information during forensic investigations
references:
    - https://github.com/Yamato-Security/EnableWindowsLogSettings/blob/7f6d755d45ac7cc9fc35b0cbf498e6aa4ef19def/ConfiguringSecurityLogAuditPolicies.md
    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4634
    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4647
author: frack113
date: 2022-10-14
tags:
    - attack.impact
    - attack.t1531
logsource:
    service: security
    product: windows
detection:
    selection:
        EventID:
            - 4634
            - 4647
    condition: selection
falsepositives:
    - Unknown
level: informational

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID:
        - 4634
        - 4647

User State Changed From Guest To Member

#
Status
test
Severity
medium
Author
MikeDuddington, '@dudders1'
Source
github.com/SigmaHQ/sigma

Detects the change of user type from "Guest" to "Member" for potential elevation of privilege.

Known False Positives

  • If this was approved by System Administrator.

MITRE ATT&CK Coverage

Telemetry Coverage

PlatformRecord / event type
AzureUpdate user

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: User State Changed From Guest To Member
id: 8dee7a0d-43fd-4b3c-8cd1-605e189d195e
status: test
description: Detects the change of user type from "Guest" to "Member" for potential elevation of privilege.
references:
    - https://learn.microsoft.com/en-gb/entra/architecture/security-operations-user-accounts#monitoring-external-user-sign-ins
author: MikeDuddington, '@dudders1'
date: 2022-06-30
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.initial-access
    - attack.stealth
    - attack.t1078.004
logsource:
    product: azure
    service: auditlogs
detection:
    selection:
        Category: 'UserManagement'
        OperationName: 'Update user'
        properties.message: '"displayName":"UserType","oldValue":"[\"Guest\"]","newValue":"[\"Member\"]"'
    condition: selection
falsepositives:
    - If this was approved by System Administrator.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Category: 'UserManagement'
    OperationName: 'Update user'
    properties.message: '"displayName":"UserType","oldValue":"[\"Guest\"]","newValue":"[\"Member\"]"'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Categoryeq
  • UserManagement corpus 7 (sigma 4, kusto 3)
field:"Category" kind:eq value:"UserManagement"
OperationNameeq
  • Update user corpus 4 (sigma 2, kusto 2)
field:"OperationName" kind:eq value:"Update user"
properties.messageeq
  • "displayName":"UserType","oldValue":"[\"Guest\"]","newValue":"[\"Member\"]"
field:"properties.message" kind:eq

Windows Credential Editor Registry

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

Detects the use of Windows Credential Editor (WCE)

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

Rule Body

title: Windows Credential Editor Registry
id: a6b33c02-8305-488f-8585-03cb2a7763f2
status: test
description: Detects the use of Windows Credential Editor (WCE)
references:
    - https://www.ampliasecurity.com/research/windows-credentials-editor/
author: Florian Roth (Nextron Systems)
date: 2019-12-31
modified: 2021-11-27
tags:
    - attack.credential-access
    - attack.t1003.001
    - attack.s0005
logsource:
    category: registry_event
    product: windows
detection:
    selection:
        TargetObject|contains: Services\WCESERVICE\Start
    condition: selection
falsepositives:
    - Unknown
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|contains: Services\WCESERVICE\Start

Indicators

These rows show field, operator, and value matches.

Windows Processes Suspicious Parent Directory

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

Detect suspicious parent processes of well-known Windows processes

Known False Positives

  • Some security products seem to spawn these

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Windows Processes Suspicious Parent Directory
id: 96036718-71cc-4027-a538-d1587e0006a7
status: test
description: Detect suspicious parent processes of well-known Windows processes
references:
    - https://web.archive.org/web/20180718061628/https://securitybytes.io/blue-team-fundamentals-part-two-windows-processes-759fe15965e2
    - https://www.carbonblack.com/2014/06/10/screenshot-demo-hunt-evil-faster-than-ever-with-carbon-black/
    - https://www.13cubed.com/downloads/windows_process_genealogy_v2.pdf
author: vburov
date: 2019-02-23
modified: 2025-03-06
tags:
    - attack.stealth
    - attack.t1036.003
    - attack.t1036.005
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith:
            - '\svchost.exe'
            - '\taskhost.exe'
            - '\lsm.exe'
            - '\lsass.exe'
            - '\services.exe'
            - '\lsaiso.exe'
            - '\csrss.exe'
            - '\wininit.exe'
            - '\winlogon.exe'
    filter_sys:
        - ParentImage|endswith:
              - '\SavService.exe'
              - '\ngen.exe'
        - ParentImage|contains:
              - '\System32\'
              - '\SysWOW64\'
    filter_msmpeng:
        ParentImage|contains:
            - '\Windows Defender\'
            - '\Microsoft Security Client\'
        ParentImage|endswith: '\MsMpEng.exe'
    filter_null:
        - ParentImage: null
        - ParentImage:
              - ''
              - '-'
    condition: selection and not 1 of filter_*
falsepositives:
    - Some security products seem to spawn these
level: low

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_*

Stage 1: selection

selection:
    Image|endswith:
        - '\svchost.exe'
        - '\taskhost.exe'
        - '\lsm.exe'
        - '\lsass.exe'
        - '\services.exe'
        - '\lsaiso.exe'
        - '\csrss.exe'
        - '\wininit.exe'
        - '\winlogon.exe'

Stage 2: not filter_*

filter_sys:
    - ParentImage|endswith:
          - '\SavService.exe'
          - '\ngen.exe'
    - ParentImage|contains:
          - '\System32\'
          - '\SysWOW64\'
filter_msmpeng:
    ParentImage|contains:
        - '\Windows Defender\'
        - '\Microsoft Security Client\'
    ParentImage|endswith: '\MsMpEng.exe'
filter_null:
    - ParentImage: null
    - ParentImage:
          - ''
          - '-'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \csrss.exe corpus 3 (sigma 3)
  • \lsaiso.exe corpus 2 (sigma 2)
  • \lsass.exe corpus 5 (sigma 5)
  • \lsm.exe corpus 2 (sigma 2)
  • \services.exe corpus 2 (sigma 2)
  • \svchost.exe corpus 22 (sigma 22)
  • \taskhost.exe corpus 2 (sigma 2)
  • \wininit.exe corpus 3 (sigma 3)
  • \winlogon.exe corpus 5 (sigma 5)
field:"Image" kind:ends_with

Exclusions

The rule actively suppresses these predicates.

XPC Privilege Escalation Attempt

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

Detects XPC connections from low-privileged processes to high-privileged services which may indicate privilege escalation

Known False Positives

  • System utilities
  • Administrative tools

MITRE ATT&CK Coverage

TacticTechniques
Privilege Escalation

Telemetry Coverage

Rule Body

title: XPC Privilege Escalation Attempt
id: 3d9194fd-230e-40ad-9610-6b15c0ba78c9
status: experimental
description: Detects XPC connections from low-privileged processes to high-privileged
  services which may indicate privilege escalation
references:
- https://attack.mitre.org/techniques/T1068/
- https://wojciechregula.blog/post/learn-xpc-exploitation-part-2-say-no-to-the-dump/
author: Eric Brown - Nebulock, Inc.
date: 2025/10/29
tags:
- attack.privilege_escalation
- attack.t1068
logsource:
  product: macos
  service: endpointsecurity
  category: xpc_connection
detection:
  selection_event:
    esf.event_type: 65
    event.action: xpc_connect
  selection_user:
    UserId: 501-65535
  selection_service:
    XpcServiceName|contains:
    - com.apple.xpc.privileged
    - com.apple.security
    - com.apple.admin
  condition: selection_event and selection_user and selection_service
falsepositives:
- System utilities
- Administrative tools
level: medium
modified: 2025/01/15

Stages and Predicates

Stage 0: condition

selection_event and selection_user and selection_service

Stage 1: selection_event

selection_event:
  esf.event_type: 65
  event.action: xpc_connect

Stage 2: selection_user

selection_user:
  UserId: 501-65535

Stage 3: selection_service

selection_service:
  XpcServiceName|contains:
  - com.apple.xpc.privileged
  - com.apple.security
  - com.apple.admin

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
UserIdeq
  • 501-65535
field:"user" kind:eq value:"501-65535"
XpcServiceNamematch
  • com.apple.admin
  • com.apple.security
  • com.apple.xpc.privileged
field:"XpcServiceName" kind:match
esf.event_typeeq
  • 65 corpus 3 (sigma 3)
field:"esf.event_type" kind:eq value:"65"
event.actioneq
  • xpc_connect corpus 3 (sigma 3)
field:"EventType" kind:eq value:"xpc_connect"

Back to all Sigma rules