Detection rules › Sigma

Sigma rules: 2m

RuleSeverity
AWS STS GetSessionToken Misuselow
HackTool - SILENTTRINITY Stager Executionhigh
Interactive Bash Suspicious Childrenmedium
Loading Diagcab Package From Remote Pathhigh
LSASS Access From Potentially White-Listed Processeshigh
Microsoft 365 - User Restricted from Sending Emailmedium
New DLL Registered Via Odbcconf.EXEmedium
Potential CCleanerDU.DLL Sideloadingmedium
Potential Exploitation Attempt From Office Applicationhigh
Potential Persistence Via Logon Scripts - CommandLinehigh
Potential Registry Reconnaissance Via PowerShell Scriptmedium
Potential Ryuk Ransomware Activityhigh
Psexec Executionmedium
PUA - Sysinternal Tool Execution - Registrylow
RDP Sensitive Settings Changed to Zeromedium
RedSun - Named Pipe Createdcritical
Registry Persistence via Service in Safe Modehigh
Remote Access Tool - ScreenConnect Server Web Shell Executionhigh
Roles Activated Too Frequentlyhigh
Script Interpreter Spawning Credential Scanner - Windowshigh
Suspicious Program Nameshigh
Suspicious Remote Logon with Explicit Credentialsmedium
Suspicious Tasklist Discovery Commandinformational
Suspicious Usage Of Active Directory Diagnostic Tool (ntdsutil.exe)medium
System Shutdown/Reboot - MacOsinformational
User Added to Remote Desktop Users Grouphigh
Wdigest CredGuard Registry Modificationhigh
Weak Encryption Enabled and Kerberoasthigh
Whoami.EXE Execution With Output Optionmedium
Windows Credential Guard Disabled - Registryhigh
Windows native backup deletionhigh
Writing Local Admin Sharemedium
WSL Child Process Anomalymedium
XBAP Execution From Uncommon Locations Via PresentationHost.EXEmedium

AWS STS GetSessionToken Misuse

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

Identifies the suspicious use of GetSessionToken. Tokens could be created and used by attackers to move laterally and escalate privileges.

Known False Positives

  • GetSessionToken may be done by a system or network administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment. GetSessionToken from unfamiliar users or hosts should be investigated. If known behavior is causing false positives, it can be exempted from the rule.

MITRE ATT&CK Coverage

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: AWS STS GetSessionToken Misuse
id: b45ab1d2-712f-4f01-a751-df3826969807
status: test
description: Identifies the suspicious use of GetSessionToken. Tokens could be created and used by attackers to move laterally and escalate privileges.
references:
    - https://github.com/elastic/detection-rules/pull/1213
    - https://docs.aws.amazon.com/STS/latest/APIReference/API_GetSessionToken.html
author: Austin Songer @austinsonger
date: 2021-07-24
modified: 2022-10-09
tags:
    - attack.lateral-movement
    - attack.privilege-escalation
    - attack.t1548
    - attack.t1550
    - attack.t1550.001
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: sts.amazonaws.com
        eventName: GetSessionToken
        userIdentity.type: IAMUser
    condition: selection
falsepositives:
    - GetSessionToken may be done by a system or network administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment. GetSessionToken from unfamiliar users or hosts should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventSource: sts.amazonaws.com
    eventName: GetSessionToken
    userIdentity.type: IAMUser

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
eventNameeq
  • GetSessionToken corpus 2 (sigma 2)
field:"aws::eventName" kind:eq value:"GetSessionToken"
eventSourceeq
  • sts.amazonaws.com corpus 4 (sigma 3, panther 1)
field:"aws::eventSource" kind:eq value:"sts.amazonaws.com"
userIdentity.typeeq
  • IAMUser corpus 5 (elastic 4, sigma 1)
field:"aws::userIdentity.type" kind:eq value:"IAMUser"

HackTool - SILENTTRINITY Stager Execution

#
Status
test
Severity
high
Author
Aleksey Potapov, oscd.community
Source
github.com/SigmaHQ/sigma

Detects SILENTTRINITY stager use via PE metadata

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Command & Control

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: HackTool - SILENTTRINITY Stager Execution
id: 03552375-cc2c-4883-bbe4-7958d5a980be
related:
    - id: 75c505b1-711d-4f68-a357-8c3fe37dbf2d # DLL Load
      type: derived
status: test
description: Detects SILENTTRINITY stager use via PE metadata
references:
    - https://github.com/byt3bl33d3r/SILENTTRINITY
author: Aleksey Potapov, oscd.community
date: 2019-10-22
modified: 2023-02-13
tags:
    - attack.command-and-control
    - attack.t1071
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Description|contains: 'st2stager'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Description|contains: 'st2stager'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Descriptionmatch
  • st2stager corpus 2 (sigma 2)
field:"Description" kind:match value:"st2stager"

Interactive Bash Suspicious Children

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

Detects suspicious interactive bash as a parent to rather uncommon child processes

Known False Positives

  • Legitimate software that uses these patterns

MITRE ATT&CK Coverage

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: Interactive Bash Suspicious Children
id: ea3ecad2-db86-4a89-ad0b-132a10d2db55
status: test
description: Detects suspicious interactive bash as a parent to rather uncommon child processes
references:
    - Internal Research
author: Florian Roth (Nextron Systems)
date: 2022-03-14
tags:
    - attack.execution
    - attack.stealth
    - attack.t1059.004
    - attack.t1036
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        ParentCommandLine: 'bash -i'
    anomaly1:
        CommandLine|contains:
            - '-c import '
            - 'base64'
            - 'pty.spawn'
    anomaly2:
        Image|endswith:
            - 'whoami'
            - 'iptables'
            - '/ncat'
            - '/nc'
            - '/netcat'
    condition: selection and 1 of anomaly*
falsepositives:
    - Legitimate software that uses these patterns
level: medium

Stages and Predicates

Stage 0: condition

selection and 1 of anomaly*

Stage 1: selection

selection:
    ParentCommandLine: 'bash -i'

Stage 2: anomaly1

anomaly1:
    CommandLine|contains:
        - '-c import '
        - 'base64'
        - 'pty.spawn'

Stage 3: anomaly2

anomaly2:
    Image|endswith:
        - 'whoami'
        - 'iptables'
        - '/ncat'
        - '/nc'
        - '/netcat'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -c import
  • base64 corpus 18 (elastic 11, sigma 7)
  • pty.spawn
field:"CommandLine" kind:match
Imageends_with
  • /nc corpus 7 (sigma 7)
  • /ncat corpus 6 (sigma 6)
  • /netcat corpus 6 (sigma 6)
  • iptables
  • whoami
field:"Image" kind:ends_with
ParentCommandLineeq
  • bash -i
field:"ParentCommandLine" kind:eq value:"bash -i"

Loading Diagcab Package From Remote Path

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

Detects loading of diagcab packages from a remote path, as seen in DogWalk vulnerability

Known False Positives

  • Legitimate package hosted on a known and authorized remote location

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

Rule Body

title: Loading Diagcab Package From Remote Path
id: 50cb47b8-2c33-4b23-a2e9-4600657d9746
status: test
description: Detects loading of diagcab packages from a remote path, as seen in DogWalk vulnerability
references:
    - https://twitter.com/nas_bench/status/1539679555908141061
    - https://twitter.com/j00sean/status/1537750439701225472
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-08-14
tags:
    - attack.execution
logsource:
    product: windows
    service: diagnosis-scripted
detection:
    selection:
        EventID: 101
        PackagePath|contains: '\\\\' # Example would be: \\webdav-test.herokuapp.com@ssl\DavWWWRoot\package
    condition: selection
falsepositives:
    - Legitimate package hosted on a known and authorized remote location
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 101
    PackagePath|contains: '\\\\'

Indicators

These rows show field, operator, and value matches.

LSASS Access From Potentially White-Listed Processes

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

Detects a possible process memory dump that uses a white-listed filename like TrolleyExpress.exe as a way to dump the LSASS process memory without Microsoft Defender interference

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 10: ProcessAccess

Rule Body

title: LSASS Access From Potentially White-Listed Processes
id: 4be8b654-0c01-4c9d-a10c-6b28467fc651
status: test
description: |
    Detects a possible process memory dump that uses a white-listed filename like TrolleyExpress.exe as a way to dump the LSASS process memory without Microsoft Defender interference
references:
    - https://twitter.com/_xpn_/status/1491557187168178176
    - https://www.ired.team/offensive-security/credential-access-and-credential-dumping/dump-credentials-from-lsass-process-without-mimikatz
    - https://twitter.com/mrd0x/status/1460597833917251595
author: Florian Roth (Nextron Systems)
date: 2022-02-10
modified: 2023-11-29
tags:
    - attack.credential-access
    - attack.t1003.001
    - attack.s0002
logsource:
    category: process_access
    product: windows
detection:
    selection:
        TargetImage|endswith: '\lsass.exe'
        SourceImage|endswith:
            - '\TrolleyExpress.exe'  # Citrix
            - '\ProcessDump.exe'     # Cisco Jabber
            - '\dump64.exe'          # Visual Studio
        GrantedAccess|endswith:
            - '10'
            - '30'
            - '50'
            - '70'
            - '90'
            - 'B0'
            - 'D0'
            - 'F0'
            - '18'
            - '38'
            - '58'
            - '78'
            - '98'
            - 'B8'
            - 'D8'
            - 'F8'
            - '1A'
            - '3A'
            - '5A'
            - '7A'
            - '9A'
            - 'BA'
            - 'DA'
            - 'FA'
            - '0x14C2'  # https://github.com/b4rtik/ATPMiniDump/blob/76304f93b390af3bb66e4f451ca16562a479bdc9/ATPMiniDump/ATPMiniDump.c
            - 'FF'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetImage|endswith: '\lsass.exe'
    SourceImage|endswith:
        - '\TrolleyExpress.exe'
        - '\ProcessDump.exe'
        - '\dump64.exe'
    GrantedAccess|endswith:
        - '10'
        - '30'
        - '50'
        - '70'
        - '90'
        - 'B0'
        - 'D0'
        - 'F0'
        - '18'
        - '38'
        - '58'
        - '78'
        - '98'
        - 'B8'
        - 'D8'
        - 'F8'
        - '1A'
        - '3A'
        - '5A'
        - '7A'
        - '9A'
        - 'BA'
        - 'DA'
        - 'FA'
        - '0x14C2'
        - 'FF'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
GrantedAccessends_with
  • 0x14C2 corpus 4 (sigma 4)
  • 10 corpus 4 (sigma 4)
  • 18 corpus 4 (sigma 4)
  • 1A corpus 4 (sigma 4)
  • 30 corpus 4 (sigma 4)
  • 38 corpus 4 (sigma 4)
  • 3A corpus 4 (sigma 4)
  • 50 corpus 4 (sigma 4)
  • 58 corpus 4 (sigma 4)
  • 5A corpus 4 (sigma 4)
  • 70 corpus 4 (sigma 4)
  • 78 corpus 4 (sigma 4)
  • 7A corpus 4 (sigma 4)
  • 90 corpus 4 (sigma 4)
  • 98 corpus 4 (sigma 4)
  • 9A corpus 4 (sigma 4)
  • B0 corpus 4 (sigma 4)
  • B8 corpus 4 (sigma 4)
  • BA corpus 4 (sigma 4)
  • D0 corpus 4 (sigma 4)
  • D8 corpus 4 (sigma 4)
  • DA corpus 4 (sigma 4)
  • F0 corpus 4 (sigma 4)
  • F8 corpus 4 (sigma 4)
  • FA corpus 4 (sigma 4)
  • FF corpus 3 (sigma 3)
field:"GrantedAccess" kind:ends_with
SourceImageends_with
  • \ProcessDump.exe
  • \TrolleyExpress.exe
  • \dump64.exe
field:"SourceImage" kind:ends_with
TargetImageends_with
  • \lsass.exe corpus 17 (sigma 16, splunk 1)
field:"TargetImage" kind:ends_with value:"\lsass.exe"

Microsoft 365 - User Restricted from Sending Email

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

Detects when a Security Compliance Center reported a user who exceeded sending limits of the service policies and because of this has been restricted from sending email.

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: Microsoft 365 - User Restricted from Sending Email
id: ff246f56-7f24-402a-baca-b86540e3925c
status: test
description: Detects when a Security Compliance Center reported a user who exceeded sending limits of the service policies and because of this has been restricted from sending email.
references:
    - https://learn.microsoft.com/en-us/defender-cloud-apps/anomaly-detection-policy
    - https://learn.microsoft.com/en-us/defender-cloud-apps/policy-template-reference
author: austinsonger
date: 2021-08-19
modified: 2022-10-09
tags:
    - attack.initial-access
    - attack.t1199
logsource:
    service: threat_management
    product: m365
detection:
    selection:
        eventSource: SecurityComplianceCenter
        eventName: 'User restricted from sending email'
        status: success
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventSource: SecurityComplianceCenter
    eventName: 'User restricted from sending email'
    status: success

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
eventNameeq
  • User restricted from sending email
field:"aws::eventName" kind:eq value:"User restricted from sending email"
eventSourceeq
  • SecurityComplianceCenter corpus 14 (sigma 14)
field:"aws::eventSource" kind:eq value:"SecurityComplianceCenter"
statuseq
  • success corpus 21 (sigma 15, splunk 6)
field:"status" kind:eq value:"success"

New DLL Registered Via Odbcconf.EXE

#
Status
test
Severity
medium
Author
Kirill Kiryanov, Beyu Denis, Daniil Yugoslavskiy, oscd.community, Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects execution of "odbcconf" with "REGSVR" in order to register a new DLL (equivalent to running regsvr32). Attackers abuse this to install and run malicious DLLs.

Known False Positives

  • Legitimate DLLs being registered via "odbcconf" will generate false positives. Investigate the path of the DLL and its content to determine if the action is authorized.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: New DLL Registered Via Odbcconf.EXE
id: 9f0a8bf3-a65b-440a-8c1e-5cb1547c8e70
related:
    - id: ba4cfc11-d0fa-4d94-bf20-7c332c412e76
      type: similar
status: test
description: Detects execution of "odbcconf" with "REGSVR" in order to register a new DLL (equivalent to running regsvr32). Attackers abuse this to install and run malicious DLLs.
references:
    - https://learn.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-ver16
    - https://lolbas-project.github.io/lolbas/Binaries/Odbcconf/
    - https://redcanary.com/blog/raspberry-robin/
    - https://web.archive.org/web/20191023232753/https://twitter.com/Hexacorn/status/1187143326673330176
    - https://www.hexacorn.com/blog/2020/08/23/odbcconf-lolbin-trifecta/
    - https://www.trendmicro.com/en_us/research/17/h/backdoor-carrying-emails-set-sights-on-russian-speaking-businesses.html
author: Kirill Kiryanov, Beyu Denis, Daniil Yugoslavskiy, oscd.community, Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-22
tags:
    - attack.stealth
    - attack.t1218.008
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\odbcconf.exe'
        - OriginalFileName: 'odbcconf.exe'
    selection_cli:
        # Note: The "/A" flag is not required to call a specific action
        CommandLine|contains|all:
            - 'REGSVR '
            - '.dll'
    condition: all of selection_*
falsepositives:
    - Legitimate DLLs being registered via "odbcconf" will generate false positives. Investigate the path of the DLL and its content to determine if the action is authorized.
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_cli

selection_cli:
    CommandLine|contains|all:
        - 'REGSVR '
        - '.dll'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • .dll corpus 16 (sigma 16)
  • REGSVR corpus 2 (sigma 2)
field:"CommandLine" kind:match
Imageends_with
  • \odbcconf.exe corpus 11 (sigma 11)
field:"Image" kind:ends_with value:"\odbcconf.exe"
OriginalFileNameeq
  • odbcconf.exe corpus 11 (sigma 9, elastic 2)
field:"OriginalFileName" kind:eq value:"odbcconf.exe"

Potential CCleanerDU.DLL Sideloading

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

Detects potential DLL sideloading of "CCleanerDU.dll"

Known False Positives

  • False positives could occur from other custom installation paths. Apply additional filters accordingly.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Potential CCleanerDU.DLL Sideloading
id: 1fbc0671-5596-4e17-8682-f020a0b995dc
status: test
description: Detects potential DLL sideloading of "CCleanerDU.dll"
references:
    - https://lab52.io/blog/2344-2/
author: X__Junior (Nextron Systems)
date: 2023-07-13
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith: '\CCleanerDU.dll'
    filter_main_path:
        Image|startswith:
            - 'C:\Program Files\CCleaner\'
            - 'C:\Program Files (x86)\CCleaner\'
        Image|endswith:
            - '\CCleaner.exe'
            - '\CCleaner64.exe'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - False positives could occur from other custom installation paths. Apply additional filters accordingly.
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

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

Stage 2: not filter_main_path

filter_main_path:
    Image|startswith:
        - 'C:\Program Files\CCleaner\'
        - 'C:\Program Files (x86)\CCleaner\'
    Image|endswith:
        - '\CCleaner.exe'
        - '\CCleaner64.exe'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\CCleaner.exeexcludes:Image field:"Image" value:"\CCleaner.exe"
Imageends_with\CCleaner64.exeexcludes:Image field:"Image" value:"\CCleaner64.exe"
Imagestarts_withC:\Program Files (x86)\CCleaner\excludes:Image field:"Image" value:"C:\Program Files (x86)\CCleaner\"
Imagestarts_withC:\Program Files\CCleaner\excludes:Image field:"Image" value:"C:\Program Files\CCleaner\"

Potential Exploitation Attempt From Office Application

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

Detects Office applications executing a child process that includes directory traversal patterns. This could be an attempt to exploit CVE-2022-30190 (MSDT RCE) or CVE-2021-40444 (MSHTML RCE)

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique
StealthNo specific technique

Telemetry Coverage

Rule Body

title: Potential Exploitation Attempt From Office Application
id: 868955d9-697e-45d4-a3da-360cefd7c216
status: test
description: Detects Office applications executing a child process that includes directory traversal patterns. This could be an attempt to exploit CVE-2022-30190 (MSDT RCE) or CVE-2021-40444 (MSHTML RCE)
references:
    - https://twitter.com/sbousseaden/status/1531653369546301440
    - https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-40444
    - https://msrc.microsoft.com/update-guide/vulnerability/CVE-2022-30190
author: Christian Burkard (Nextron Systems), @SBousseaden (idea)
date: 2022-06-02
modified: 2023-02-04
tags:
    - attack.execution
    - cve.2021-40444
    - detection.emerging-threats
    - attack.stealth
logsource:
    product: windows
    category: process_creation
detection:
    selection:
        ParentImage|endswith:
            - '\winword.exe'
            - '\excel.exe'
            - '\powerpnt.exe'
            - '\msaccess.exe'
            - '\mspub.exe'
            - '\eqnedt32.exe'
            - '\visio.exe'
        CommandLine|contains:
            - '../../../..'
            - '..\..\..\..'
            - '..//..//..//..'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith:
        - '\winword.exe'
        - '\excel.exe'
        - '\powerpnt.exe'
        - '\msaccess.exe'
        - '\mspub.exe'
        - '\eqnedt32.exe'
        - '\visio.exe'
    CommandLine|contains:
        - '../../../..'
        - '..\..\..\..'
        - '..//..//..//..'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • ../../../..
  • ..//..//..//..
  • ..\..\..\..
field:"CommandLine" kind:match
ParentImageends_with
  • \eqnedt32.exe corpus 5 (sigma 5)
  • \excel.exe corpus 8 (sigma 8)
  • \msaccess.exe corpus 4 (sigma 4)
  • \mspub.exe corpus 4 (sigma 4)
  • \powerpnt.exe corpus 6 (sigma 6)
  • \visio.exe corpus 4 (sigma 4)
  • \winword.exe corpus 10 (sigma 10)
field:"ParentImage" kind:ends_with

Potential Persistence Via Logon Scripts - CommandLine

#
Status
test
Severity
high
Author
Tom Ueltschi (@c_APT_ure)
Source
github.com/SigmaHQ/sigma

Detects the addition of a new LogonScript to the registry value "UserInitMprLogonScript" for potential persistence

Known False Positives

  • Legitimate addition of Logon Scripts via the command line by administrators or third party tools

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential Persistence Via Logon Scripts - CommandLine
id: 21d856f9-9281-4ded-9377-51a1a6e2a432
related:
    - id: 0a98a10c-685d-4ab0-bddc-b6bdd1d48458
      type: derived
status: test
description: Detects the addition of a new LogonScript to the registry value "UserInitMprLogonScript" for potential persistence
references:
    - https://cocomelonc.github.io/persistence/2022/12/09/malware-pers-20.html
author: Tom Ueltschi (@c_APT_ure)
date: 2019-01-12
modified: 2023-06-09
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1037.001
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains: 'UserInitMprLogonScript'
    condition: selection
falsepositives:
    - Legitimate addition of Logon Scripts via the command line by administrators or third party tools
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_registry_logon_script/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains: 'UserInitMprLogonScript'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • UserInitMprLogonScript
field:"CommandLine" kind:match value:"UserInitMprLogonScript"

Potential Registry Reconnaissance Via PowerShell Script

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

Detects PowerShell scripts with potential registry reconnaissance capabilities. Adversaries may interact with the Windows registry to gather information about the system credentials, configuration, and installed software.

Known False Positives

  • Due to the nature of the script block, the matching of the string could sometimes result in a false positive. Use this rule to hunt for potential malicious or suspicious scripts.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential Registry Reconnaissance Via PowerShell Script
id: 064060aa-09fb-4636-817f-020a32aa7e9e
related:
    - id: 970007b7-ce32-49d0-a4a4-fbef016950bd
      type: similar
status: test
description: Detects PowerShell scripts with potential registry reconnaissance capabilities. Adversaries may interact with the Windows registry to gather information about the system credentials, configuration, and installed software.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1012/T1012.md
author: frack113
date: 2023-07-02
tags:
    - attack.discovery
    - attack.t1012
    - attack.t1007
    - detection.threat-hunting
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection:
        # TODO: switch to |re|i: after sigma specification v2 is released
        ScriptBlockText|re: '(Get-Item|gci|Get-ChildItem).{1,64}-Path.{1,64}\\(currentcontrolset\\services|CurrentVersion\\Policies\\Explorer\\Run|CurrentVersion\\Run|CurrentVersion\\ShellServiceObjectDelayLoad|CurrentVersion\\Windows\winlogon)\\'
    condition: selection
falsepositives:
    - Due to the nature of the script block, the matching of the string could sometimes result in a false positive. Use this rule to hunt for potential malicious or suspicious scripts.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ScriptBlockText|re: '(Get-Item|gci|Get-ChildItem).{1,64}-Path.{1,64}\\(currentcontrolset\\services|CurrentVersion\\Policies\\Explorer\\Run|CurrentVersion\\Run|CurrentVersion\\ShellServiceObjectDelayLoad|CurrentVersion\\Windows\winlogon)\\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ScriptBlockTextregex_match
  • (Get-Item|gci|Get-ChildItem).{1,64}-Path.{1,64}\(currentcontrolset\services|CurrentVersion\Policies\Explorer\Run|CurrentVersion\Run|CurrentVersion\ShellServiceObjectDelayLoad|CurrentVersion\Windows\winlogon)\
field:"ScriptBlockText" kind:regex_match value:"(Get-Item|gci|Get-ChildItem).{1,64}-Path.{1,64}\(currentcontrolset\services|CurrentVersion\Policies\Explorer\Run|CurrentVersion\Run|CurrentVersion\ShellServiceObjectDelayLoad|CurrentVersion\Windows\winlogon)\"

Potential Ryuk Ransomware Activity

#
Status
stable
Severity
high
Author
Florian Roth (Nextron Systems), Vasiliy Burov, Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects Ryuk ransomware activity

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential Ryuk Ransomware Activity
id: c37510b8-2107-4b78-aa32-72f251e7a844
related:
    - id: 58bf96d9-ff5f-44bd-8dcc-1c4f79bf3a27
      type: similar
    - id: 0acaad27-9f02-4136-a243-c357202edd74
      type: obsolete
status: stable
description: Detects Ryuk ransomware activity
references:
    - https://app.any.run/tasks/d860402c-3ff4-4c1f-b367-0237da714ed1/
    - https://research.checkpoint.com/ryuk-ransomware-targeted-campaign-break/
author: Florian Roth (Nextron Systems), Vasiliy Burov, Nasreddine Bencherchali (Nextron Systems)
date: 2019-12-16
modified: 2023-02-03
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1547.001
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection_reg:
        CommandLine|contains|all:
            - 'Microsoft\Windows\CurrentVersion\Run'
            - 'C:\users\Public\'
    selection_del:
        CommandLine|contains|all:
            - 'del /s /f /q c:\'
            - '\*.bac'
            - '\*.bak'
            - '\*.bkf'
    selection_net:
        Image|endswith:
            - '\net.exe'
            - '\net1.exe'
        CommandLine|contains|all:
            - ' stop '
            - ' /y'
        CommandLine|contains:
            - 'samss'
            - 'audioendpointbuilder'
            - 'unistoresvc_'
            - 'AcrSch2Svc'
    condition: 1 of selection_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_reg

selection_reg:
    CommandLine|contains|all:
        - 'Microsoft\Windows\CurrentVersion\Run'
        - 'C:\users\Public\'

Stage 2: selection_del

selection_del:
    CommandLine|contains|all:
        - 'del /s /f /q c:\'
        - '\*.bac'
        - '\*.bak'
        - '\*.bkf'

Stage 3: selection_net

selection_net:
    Image|endswith:
        - '\net.exe'
        - '\net1.exe'
    CommandLine|contains|all:
        - ' stop '
        - ' /y'
    CommandLine|contains:
        - 'samss'
        - 'audioendpointbuilder'
        - 'unistoresvc_'
        - 'AcrSch2Svc'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /y corpus 2 (sigma 2)
  • stop corpus 8 (sigma 6, splunk 2)
  • AcrSch2Svc corpus 2 (sigma 2)
  • C:\users\Public\ corpus 2 (sigma 2)
  • Microsoft\Windows\CurrentVersion\Run corpus 2 (sigma 2)
  • \*.bac
  • \*.bak
  • \*.bkf
  • audioendpointbuilder
  • del /s /f /q c:\
  • samss corpus 2 (sigma 2)
  • unistoresvc_
field:"CommandLine" kind:match
Imageends_with
  • \net.exe corpus 49 (sigma 49)
  • \net1.exe corpus 47 (sigma 47)
field:"Image" kind:ends_with

Psexec Execution

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

Detects user accept agreement execution in psexec commandline

Known False Positives

  • Administrative scripts.

MITRE ATT&CK Coverage

TacticTechniques
Execution
Lateral Movement

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Psexec Execution
id: 730fc21b-eaff-474b-ad23-90fd265d4988
status: test
description: Detects user accept agreement execution in psexec commandline
references:
    - https://www.fireeye.com/blog/threat-research/2020/10/kegtap-and-singlemalt-with-a-ransomware-chaser.html
author: omkar72
date: 2020-10-30
modified: 2023-02-28
tags:
    - attack.execution
    - attack.lateral-movement
    - attack.t1569
    - attack.t1021
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - Image|endswith: '\psexec.exe'
        - OriginalFileName: 'psexec.c'
    condition: selection
falsepositives:
    - Administrative scripts.
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_sysinternals_psexec_execution/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - Image|endswith: '\psexec.exe'
    - OriginalFileName: 'psexec.c'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \psexec.exe corpus 2 (sigma 2)
field:"Image" kind:ends_with value:"\psexec.exe"
OriginalFileNameeq
  • psexec.c corpus 7 (elastic 3, sigma 2, splunk 2)
field:"OriginalFileName" kind:eq value:"psexec.c"

PUA - Sysinternal Tool Execution - Registry

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

Detects the execution of a Sysinternals Tool via the creation of the "accepteula" registry key

Known False Positives

  • Legitimate use of SysInternals tools
  • Programs that use the same Registry Key

MITRE ATT&CK Coverage

TacticTechniques
Resource Development

Telemetry Coverage

Rule Body

title: PUA - Sysinternal Tool Execution - Registry
id: 25ffa65d-76d8-4da5-a832-3f2b0136e133
status: test
description: Detects the execution of a Sysinternals Tool via the creation of the "accepteula" registry key
references:
    - https://twitter.com/Moti_B/status/1008587936735035392
author: Markus Neis
date: 2017-08-28
modified: 2025-10-26
tags:
    - attack.resource-development
    - attack.t1588.002
logsource:
    product: windows
    category: registry_set
detection:
    selection:
        TargetObject|endswith: '\EulaAccepted'
    condition: selection
falsepositives:
    - Legitimate use of SysInternals tools
    - Programs that use the same Registry Key
level: low
regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_pua_sysinternals_execution_via_eula/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|endswith: '\EulaAccepted'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectends_with
  • \EulaAccepted corpus 4 (sigma 4)
field:"TargetObject" kind:ends_with value:"\EulaAccepted"

RDP Sensitive Settings Changed to Zero

#
Status
test
Severity
medium
Author
Samir Bousseaden, David ANDRE, Roberto Rodriguez @Cyb3rWard0g, Nasreddine Bencherchali
Source
github.com/SigmaHQ/sigma

Detects tampering of RDP Terminal Service/Server sensitive settings. Such as allowing unauthorized users access to a system via the 'fAllowUnsolicited' or enabling RDP via 'fDenyTSConnections', etc.

Known False Positives

  • Some of the keys mentioned here could be modified by an administrator while setting group policy (it should be investigated either way)

MITRE ATT&CK Coverage

TacticTechniques
Persistence
Defense Impairment

Telemetry Coverage

Rule Body

title: RDP Sensitive Settings Changed to Zero
id: a2863fbc-d5cb-48d5-83fb-d976d4b1743b
related:
    - id: 3f6b7b62-61aa-45db-96bd-9c31b36b653c
      type: similar
    - id: 4b8f6d3a-9c5e-4f2a-a7d8-6b9c3e5f2a8d
      type: similar
status: test
description: |
    Detects tampering of RDP Terminal Service/Server sensitive settings.
    Such as allowing unauthorized users access to a system via the 'fAllowUnsolicited' or enabling RDP via 'fDenyTSConnections', etc.
references:
    - https://web.archive.org/web/20200929062532/https://blog.menasec.net/2019/02/threat-hunting-rdp-hijacking-via.html # Related to RDP hijacking via the "ServiceDll" key
    - http://woshub.com/rds-shadow-how-to-connect-to-a-user-session-in-windows-server-2012-r2/ # Related to the Shadow RPD technique
    - https://twitter.com/SagieSec/status/1469001618863624194?t=HRf0eA0W1YYzkTSHb-Ky1A&s=03 # Related to the Shadow RPD technique
    - https://threathunterplaybook.com/hunts/windows/190407-RegModEnableRDPConnections/notebook.html
    - https://bazaar.abuse.ch/sample/6f3aa9362d72e806490a8abce245331030d1ab5ac77e400dd475748236a6cc81/
    - http://etutorials.org/Microsoft+Products/microsoft+windows+server+2003+terminal+services/Chapter+6+Registry/Registry+Keys+for+Terminal+Services/ # Contain description for most of the keys mentioned here (check it out if you want more information
    - https://admx.help/HKLM/SOFTWARE/Policies/Microsoft/Windows%20NT/Terminal%20Services # Contain description for most of the keys mentioned here (check it out if you want more information)
author: Samir Bousseaden, David ANDRE, Roberto Rodriguez @Cyb3rWard0g, Nasreddine Bencherchali
date: 2022-09-29
modified: 2022-11-26
tags:
    - attack.persistence
    - attack.defense-impairment
    - attack.t1112
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|endswith:
            - '\fDenyTSConnections' # Specifies whether Remote Desktop connections are enabled - When set to zero RDP is enabled
            - '\fSingleSessionPerUser' # When changed to 0 it allows multiple RDP sessions
            - '\UserAuthentication' # Specifies that Network-Level user authentication is not required before the remote desktop connection is established
        Details: 'DWORD (0x00000000)'
    condition: selection
falsepositives:
    - Some of the keys mentioned here could be modified by an administrator while setting group policy (it should be investigated either way)
level: medium
regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_terminal_server_suspicious/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|endswith:
        - '\fDenyTSConnections'
        - '\fSingleSessionPerUser'
        - '\UserAuthentication'
    Details: 'DWORD (0x00000000)'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailseq
  • DWORD (0x00000000) corpus 36 (sigma 36)
field:"Details" kind:eq value:"DWORD (0x00000000)"
TargetObjectends_with
  • \UserAuthentication
  • \fDenyTSConnections
  • \fSingleSessionPerUser
field:"TargetObject" kind:ends_with

RedSun - Named Pipe Created

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

Detects the creation of a named pipe with the hardcoded name "REDSUN". The RedSun exploit tool uses a pipe with this name for synchronisation and command communication between its components during the Cloud Files API + oplock-based AV bypass and privilege escalation chain. RedSun creates the pipe as \??\pipe\REDSUN. The pipe server listens for the token-duplicated elevated process to connect and respond, completing the privilege escalation from user to SYSTEM. Presence of this pipe name indicates active or recent RedSun execution.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Privilege Escalation
Stealth
Defense Impairment

Telemetry Coverage

Rule Body

title: RedSun - Named Pipe Created
id: 9b4e7c2a-3f6d-4a8b-b5e9-1c7d3f2e6a4b
status: experimental
description: |
    Detects the creation of a named pipe with the hardcoded name "REDSUN".
    The RedSun exploit tool uses a pipe with this name for synchronisation and command communication between its components during the Cloud Files API + oplock-based AV bypass and privilege escalation chain.
    RedSun creates the pipe as \\??\pipe\REDSUN.
    The pipe server listens for the token-duplicated elevated process to connect and respond, completing the privilege escalation from user to SYSTEM.
    Presence of this pipe name indicates active or recent RedSun execution.
references:
    - https://github.com/Nightmare-Eclipse/RedSun/blob/7456cc8cf066f5e5fc6cdf7d3272a466ebd6b2f6/RedSun.cpp#L591
    - https://deadeclipse666.blogspot.com/2026/04/public-disclosure-response-for-cve-2026.html
author: Swachchhanda Shrawan Poudel (Nextron Systems), @unresolvedhost
date: 2026-04-17
tags:
    - attack.privilege-escalation
    - attack.stealth
    - attack.defense-impairment
    - attack.t1055
    - attack.t1685
    - detection.emerging-threats
logsource:
    category: pipe_created
    product: windows
detection:
    selection:
        PipeName: '\REDSUN'
    condition: selection
falsepositives:
    - Unlikely
level: critical
regression_tests_path: regression_data/rules-emerging-threats/2026/Exploits/RedSun/pipe_created_win_exploit_redsun_named_pipe/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    PipeName: '\REDSUN'

Indicators

These rows show field, operator, and value matches.

Registry Persistence via Service in Safe Mode

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

Detects the modification of the registry to allow a driver or service to persist in Safe Mode.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Registry Persistence via Service in Safe Mode
id: 1547e27c-3974-43e2-a7d7-7f484fb928ec
status: test
description: Detects the modification of the registry to allow a driver or service to persist in Safe Mode.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md#atomic-test-33---windows-add-registry-value-to-load-service-in-safe-mode-without-network
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md#atomic-test-34---windows-add-registry-value-to-load-service-in-safe-mode-with-network
author: frack113
date: 2022-04-04
modified: 2025-10-22
tags:
    - attack.stealth
    - attack.t1564.001
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|contains:
            - '\Control\SafeBoot\Minimal\'
            - '\Control\SafeBoot\Network\'
        TargetObject|endswith: '\(Default)'
        Details: 'Service'
    filter_optional_sophos:
        Image: 'C:\WINDOWS\system32\msiexec.exe'
        TargetObject|endswith:
            - '\Control\SafeBoot\Minimal\SAVService\(Default)'
            - '\Control\SafeBoot\Network\SAVService\(Default)'
    filter_optional_mbamservice:
        Image|endswith: '\MBAMInstallerService.exe'
        TargetObject|endswith: '\MBAMService\(Default)'
        Details: 'Service'
    filter_optional_hexnode:
        Image: 'C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe'
        TargetObject|endswith:
            - '\Control\SafeBoot\Minimal\Hexnode Updater\(Default)'
            - '\Control\SafeBoot\Network\Hexnode Updater\(Default)'
            - '\Control\SafeBoot\Minimal\Hexnode Agent\(Default)'
            - '\Control\SafeBoot\Network\Hexnode Agent\(Default)'
        Details: 'Service'
    condition: selection and not 1 of filter_optional_*
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_add_load_service_in_safe_mode/info.yml
simulation:
    - type: atomic-red-team
      name: Windows Add Registry Value to Load Service in Safe Mode without Network
      technique: T1112
      atomic_guid: 1dd59fb3-1cb3-4828-805d-cf80b4c3bbb5
    - type: atomic-red-team
      name: Windows Add Registry Value to Load Service in Safe Mode with Network
      technique: T1112
      atomic_guid: c173c948-65e5-499c-afbe-433722ed5bd4

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_optional_*

Stage 1: selection

selection:
    TargetObject|contains:
        - '\Control\SafeBoot\Minimal\'
        - '\Control\SafeBoot\Network\'
    TargetObject|endswith: '\(Default)'
    Details: 'Service'

Stage 2: not filter_optional_*

filter_optional_sophos:
    Image: 'C:\WINDOWS\system32\msiexec.exe'
    TargetObject|endswith:
        - '\Control\SafeBoot\Minimal\SAVService\(Default)'
        - '\Control\SafeBoot\Network\SAVService\(Default)'
filter_optional_mbamservice:
    Image|endswith: '\MBAMInstallerService.exe'
    TargetObject|endswith: '\MBAMService\(Default)'
    Details: 'Service'
filter_optional_hexnode:
    Image: 'C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe'
    TargetObject|endswith:
        - '\Control\SafeBoot\Minimal\Hexnode Updater\(Default)'
        - '\Control\SafeBoot\Network\Hexnode Updater\(Default)'
        - '\Control\SafeBoot\Minimal\Hexnode Agent\(Default)'
        - '\Control\SafeBoot\Network\Hexnode Agent\(Default)'
    Details: 'Service'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailseq
  • Service
field:"Details" kind:eq value:"Service"
TargetObjectends_with
  • \(Default) corpus 2 (sigma 2)
field:"TargetObject" kind:ends_with value:"\(Default)"
TargetObjectmatch
  • \Control\SafeBoot\Minimal\
  • \Control\SafeBoot\Network\
field:"TargetObject" kind:match

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
TargetObjectends_with\Control\SafeBoot\Minimal\Hexnode Agent\(Default)excludes:TargetObject field:"TargetObject" value:"\Control\SafeBoot\Minimal\Hexnode Agent\(Default)"
TargetObjectends_with\Control\SafeBoot\Minimal\Hexnode Updater\(Default)excludes:TargetObject field:"TargetObject" value:"\Control\SafeBoot\Minimal\Hexnode Updater\(Default)"
TargetObjectends_with\Control\SafeBoot\Network\Hexnode Agent\(Default)excludes:TargetObject field:"TargetObject" value:"\Control\SafeBoot\Network\Hexnode Agent\(Default)"
TargetObjectends_with\Control\SafeBoot\Network\Hexnode Updater\(Default)excludes:TargetObject field:"TargetObject" value:"\Control\SafeBoot\Network\Hexnode Updater\(Default)"
DetailseqServiceexcludes:Details field:"Details" value:"Service"
ImageeqC:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exeexcludes:Image field:"Image" value:"C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe"
TargetObjectends_with\Control\SafeBoot\Minimal\SAVService\(Default)excludes:TargetObject field:"TargetObject" value:"\Control\SafeBoot\Minimal\SAVService\(Default)"
TargetObjectends_with\Control\SafeBoot\Network\SAVService\(Default)excludes:TargetObject field:"TargetObject" value:"\Control\SafeBoot\Network\SAVService\(Default)"
ImageeqC:\WINDOWS\system32\msiexec.exeexcludes:Image field:"Image" value:"C:\WINDOWS\system32\msiexec.exe"
Imageends_with\MBAMInstallerService.exeexcludes:Image field:"Image" value:"\MBAMInstallerService.exe"
TargetObjectends_with\MBAMService\(Default)excludes:TargetObject field:"TargetObject" value:"\MBAMService\(Default)"

Remote Access Tool - ScreenConnect Server Web Shell Execution

#
Status
test
Severity
high
Author
Jason Rathbun (Blackpoint Cyber)
Source
github.com/SigmaHQ/sigma

Detects potential web shell execution from the ScreenConnect server process.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Telemetry Coverage

Rule Body

title: Remote Access Tool - ScreenConnect Server Web Shell Execution
id: b19146a3-25d4-41b4-928b-1e2a92641b1b
status: test
description: Detects potential web shell execution from the ScreenConnect server process.
references:
    - https://blackpointcyber.com/resources/blog/breaking-through-the-screen/
    - https://www.connectwise.com/company/trust/security-bulletins/connectwise-screenconnect-23.9.8
author: Jason Rathbun (Blackpoint Cyber)
date: 2024-02-26
tags:
    - attack.initial-access
    - attack.t1190
logsource:
    product: windows
    category: process_creation
detection:
    selection:
        ParentImage|endswith: '\ScreenConnect.Service.exe'
        Image|endswith:
            - '\cmd.exe'
            - '\csc.exe'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\ScreenConnect.Service.exe'
    Image|endswith:
        - '\cmd.exe'
        - '\csc.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \cmd.exe corpus 132 (sigma 130, splunk 2)
  • \csc.exe corpus 9 (sigma 9)
field:"Image" kind:ends_with
ParentImageends_with
  • \ScreenConnect.Service.exe
field:"ParentImage" kind:ends_with value:"\ScreenConnect.Service.exe"

Roles Activated Too Frequently

#
Status
test
Severity
high
Author
Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo'
Source
github.com/SigmaHQ/sigma

Identifies when the same privilege role has multiple activations by the same user.

Known False Positives

  • Investigate where if active time period for a role is set too short.

MITRE ATT&CK Coverage

TacticTechniques
Initial Access
Persistence
Privilege Escalation
Stealth

Rule Body

title: Roles Activated Too Frequently
id: 645fd80d-6c07-435b-9e06-7bc1b5656cba
status: test
description: Identifies when the same privilege role has multiple activations by the same user.
references:
    - https://learn.microsoft.com/en-us/entra/id-governance/privileged-identity-management/pim-how-to-configure-security-alerts#roles-are-being-activated-too-frequently
author: Mark Morowczynski '@markmorow', Gloria Lee, '@gleeiamglo'
date: 2023-09-14
tags:
    - attack.initial-access
    - attack.stealth
    - attack.t1078
    - attack.persistence
    - attack.privilege-escalation
logsource:
    product: azure
    service: pim
detection:
    selection:
        riskEventType: 'sequentialActivationRenewalsAlertIncident'
    condition: selection
falsepositives:
    - Investigate where if active time period for a role is set too short.
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    riskEventType: 'sequentialActivationRenewalsAlertIncident'

Indicators

These rows show field, operator, and value matches.

Script Interpreter Spawning Credential Scanner - Windows

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

Detects a script interpreter process (like node.js or bun) spawning a known credential scanning tool (e.g., trufflehog, gitleaks). This behavior is indicative of an attempt to find and steal secrets, as seen in the "Shai-Hulud: The Second Coming" campaign.

Known False Positives

  • Legitimate pre-commit hooks or CI/CD pipeline jobs that use a script to run a credential scanner as part of a security check.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Script Interpreter Spawning Credential Scanner - Windows
id: 0f60b28c-64dd-4e2c-9a63-5334d3e3a6e6
related:
    - id: f0025a69-e1b7-4dda-a53c-db21fa2d4071
      type: similar
status: experimental
description: |
    Detects a script interpreter process (like node.js or bun) spawning a known credential scanning tool (e.g., trufflehog, gitleaks).
    This behavior is indicative of an attempt to find and steal secrets, as seen in the "Shai-Hulud: The Second Coming" campaign.
references:
    - https://github.com/asyncapi/cli/blob/2efa4dff59bc3d3cecdf897ccf178f99b115d63d/bun_environment.js
    - https://www.stepsecurity.io/blog/sha1-hulud-the-second-coming-zapier-ens-domains-and-other-prominent-npm-packages-compromised
    - https://www.endorlabs.com/learn/shai-hulud-2-malware-campaign-targets-github-and-cloud-credentials-using-bun-runtime
    - https://semgrep.dev/blog/2025/digging-for-secrets-sha1-hulud-the-second-coming-of-the-npm-worm/
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-11-25
tags:
    - attack.credential-access
    - attack.t1552
    - attack.collection
    - attack.execution
    - attack.t1005
    - attack.t1059.007
logsource:
    category: process_creation
    product: windows
detection:
    selection_parent:
        ParentImage|endswith:
           # Add more script interpreters as needed
            - '\node.exe'
            - '\bun.exe'
    selection_child:
        - Image|endswith:
              - 'trufflehog.exe'
              - 'gitleaks.exe'
        - CommandLine|contains:
              - 'trufflehog'
              - 'gitleaks'
    condition: all of selection_*
falsepositives:
    - Legitimate pre-commit hooks or CI/CD pipeline jobs that use a script to run a credential scanner as part of a security check.
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_susp_script_interpretor_spawn_credential_scanner/info.yml

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_parent

selection_parent:
    ParentImage|endswith:
        - '\node.exe'
        - '\bun.exe'

Stage 2: selection_child

selection_child:
    - Image|endswith:
          - 'trufflehog.exe'
          - 'gitleaks.exe'
    - CommandLine|contains:
          - 'trufflehog'
          - 'gitleaks'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • gitleaks corpus 2 (sigma 2)
  • trufflehog corpus 2 (sigma 2)
field:"CommandLine" kind:match
Imageends_with
  • gitleaks.exe
  • trufflehog.exe
field:"Image" kind:ends_with
ParentImageends_with
  • \bun.exe corpus 2 (sigma 2)
  • \node.exe corpus 4 (sigma 4)
field:"ParentImage" kind:ends_with

Suspicious Program Names

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

Detects suspicious patterns in program names or folders that are often found in malicious samples or hacktools

Known False Positives

  • Legitimate tools that accidentally match on the searched patterns

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Suspicious Program Names
id: efdd8dd5-cee8-4e59-9390-7d4d5e4dd6f6
status: test
description: Detects suspicious patterns in program names or folders that are often found in malicious samples or hacktools
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1560.001/T1560.001.md
author: Florian Roth (Nextron Systems)
date: 2022-02-11
modified: 2023-03-22
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: process_creation
    product: windows
detection:
    selection_image:
        - Image|contains:
              - '\CVE-202' # Update this when we reach the year 2100
              - '\CVE202' # Update this when we reach the year 2100
        - Image|endswith:
              - '\poc.exe'
              - '\artifact.exe'
              - '\artifact64.exe'
              - '\artifact_protected.exe'
              - '\artifact32.exe'
              - '\artifact32big.exe'
              - 'obfuscated.exe'
              - 'obfusc.exe'
              - '\meterpreter'
    selection_commandline:
        CommandLine|contains:
            - 'inject.ps1'
            - 'Invoke-CVE'
            - 'pupy.ps1'
            - 'payload.ps1'
            - 'beacon.ps1'
            - 'PowerView.ps1'
            - 'bypass.ps1'
            - 'obfuscated.ps1'
            - 'obfusc.ps1'
            - 'obfus.ps1'
            - 'obfs.ps1'
            - 'evil.ps1'
            - 'MiniDogz.ps1'
            - '_enc.ps1'
            - '\shell.ps1'
            - '\rshell.ps1'
            - 'revshell.ps1'
            - '\av.ps1'
            - '\av_test.ps1'
            - 'adrecon.ps1'
            - 'mimikatz.ps1'
            - '\PowerUp_'
            - 'powerup.ps1'
            - '\Temp\a.ps1'
            - '\Temp\p.ps1'
            - '\Temp\1.ps1'
            - 'Hound.ps1'
            - 'encode.ps1'
            - 'powercat.ps1'
    condition: 1 of selection*
falsepositives:
    - Legitimate tools that accidentally match on the searched patterns
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_susp_progname/info.yml

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection_image

selection_image:
    - Image|contains:
          - '\CVE-202'
          - '\CVE202'
    - Image|endswith:
          - '\poc.exe'
          - '\artifact.exe'
          - '\artifact64.exe'
          - '\artifact_protected.exe'
          - '\artifact32.exe'
          - '\artifact32big.exe'
          - 'obfuscated.exe'
          - 'obfusc.exe'
          - '\meterpreter'

Stage 2: selection_commandline

selection_commandline:
    CommandLine|contains:
        - 'inject.ps1'
        - 'Invoke-CVE'
        - 'pupy.ps1'
        - 'payload.ps1'
        - 'beacon.ps1'
        - 'PowerView.ps1'
        - 'bypass.ps1'
        - 'obfuscated.ps1'
        - 'obfusc.ps1'
        - 'obfus.ps1'
        - 'obfs.ps1'
        - 'evil.ps1'
        - 'MiniDogz.ps1'
        - '_enc.ps1'
        - '\shell.ps1'
        - '\rshell.ps1'
        - 'revshell.ps1'
        - '\av.ps1'
        - '\av_test.ps1'
        - 'adrecon.ps1'
        - 'mimikatz.ps1'
        - '\PowerUp_'
        - 'powerup.ps1'
        - '\Temp\a.ps1'
        - '\Temp\p.ps1'
        - '\Temp\1.ps1'
        - 'Hound.ps1'
        - 'encode.ps1'
        - 'powercat.ps1'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • Hound.ps1
  • Invoke-CVE
  • MiniDogz.ps1
  • PowerView.ps1
  • \PowerUp_
  • \Temp\1.ps1
  • \Temp\a.ps1
  • \Temp\p.ps1
  • \av.ps1
  • \av_test.ps1
  • \rshell.ps1
  • \shell.ps1
  • _enc.ps1
  • adrecon.ps1
  • beacon.ps1
  • bypass.ps1
  • encode.ps1
  • evil.ps1
  • inject.ps1
  • mimikatz.ps1
  • obfs.ps1
  • obfus.ps1
  • obfusc.ps1
  • obfuscated.ps1
  • payload.ps1
  • powercat.ps1
  • powerup.ps1
  • pupy.ps1
  • revshell.ps1
field:"CommandLine" kind:match
Imageends_with
  • \artifact.exe
  • \artifact32.exe
  • \artifact32big.exe
  • \artifact64.exe
  • \artifact_protected.exe
  • \meterpreter
  • \poc.exe
  • obfusc.exe
  • obfuscated.exe
field:"Image" kind:ends_with
Imagematch
  • \CVE-202
  • \CVE202
field:"Image" kind:match

Suspicious Remote Logon with Explicit Credentials

#
Status
test
Severity
medium
Author
oscd.community, Teymur Kheirkhabarov @HeirhabarovT, Zach Stanford @svch0st, Tim Shelton
Source
github.com/SigmaHQ/sigma

Detects suspicious processes logging on with explicit credentials

Known False Positives

  • Administrators that use the RunAS command or scheduled tasks

MITRE ATT&CK Coverage

TacticTechniques
Initial Access
Persistence
Privilege Escalation
Stealth

Telemetry Coverage

Rule Body

title: Suspicious Remote Logon with Explicit Credentials
id: 941e5c45-cda7-4864-8cea-bbb7458d194a
status: test
description: Detects suspicious processes logging on with explicit credentials
references:
    - https://drive.google.com/file/d/1lKya3_mLnR3UQuCoiYruO3qgu052_iS_/view
author: oscd.community, Teymur Kheirkhabarov @HeirhabarovT, Zach Stanford @svch0st, Tim Shelton
date: 2020-10-05
modified: 2022-08-03
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.initial-access
    - attack.stealth
    - attack.t1078
    - attack.lateral-movement
logsource:
    product: windows
    service: security
detection:
    selection:
        EventID: 4648
        ProcessName|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
            - '\winrs.exe'
            - '\wmic.exe'
            - '\net.exe'
            - '\net1.exe'
            - '\reg.exe'
    filter1:
        TargetServerName: 'localhost'
    filter2:
        SubjectUserName|endswith: '$'
        TargetUserName|endswith: '$'
    condition: selection and not 1 of filter*
falsepositives:
    - Administrators that use the RunAS command or scheduled tasks
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter*

Stage 1: selection

selection:
    EventID: 4648
    ProcessName|endswith:
        - '\cmd.exe'
        - '\powershell.exe'
        - '\pwsh.exe'
        - '\winrs.exe'
        - '\wmic.exe'
        - '\net.exe'
        - '\net1.exe'
        - '\reg.exe'

Stage 2: not filter*

filter1:
    TargetServerName: 'localhost'
filter2:
    SubjectUserName|endswith: '$'
    TargetUserName|endswith: '$'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ProcessNameends_with
  • \cmd.exe
  • \net.exe
  • \net1.exe
  • \powershell.exe
  • \pwsh.exe
  • \reg.exe
  • \winrs.exe
  • \wmic.exe
field:"process_name" kind:ends_with

Exclusions

The rule actively suppresses these predicates.

Suspicious Tasklist Discovery Command

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

Adversaries may attempt to get information about running processes on a system. Information obtained could be used to gain an understanding of common software/applications running on systems within the network

Known False Positives

  • Likely from users, administrator and different internal and third party applications.

MITRE ATT&CK Coverage

TacticTechniques
Discovery

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Suspicious Tasklist Discovery Command
id: 63332011-f057-496c-ad8d-d2b6afb27f96
status: test
description: Adversaries may attempt to get information about running processes on a system. Information obtained could be used to gain an understanding of common software/applications running on systems within the network
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1057/T1057.md#atomic-test-2---process-discovery---tasklist
author: frack113
date: 2021-12-11
modified: 2022-12-25
tags:
    - attack.discovery
    - attack.t1057
    - detection.threat-hunting
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - CommandLine|contains: 'tasklist'
        - Image|endswith: '\tasklist.exe'
        - OriginalFileName: 'tasklist.exe'
    condition: selection
falsepositives:
    - Likely from users, administrator and different internal and third party applications.
level: informational

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - CommandLine|contains: 'tasklist'
    - Image|endswith: '\tasklist.exe'
    - OriginalFileName: 'tasklist.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • tasklist corpus 5 (sigma 5)
field:"CommandLine" kind:match value:"tasklist"
Imageends_with
  • \tasklist.exe corpus 5 (sigma 5)
field:"Image" kind:ends_with value:"\tasklist.exe"
OriginalFileNameeq
  • tasklist.exe corpus 4 (sigma 3, elastic 1)
field:"OriginalFileName" kind:eq value:"tasklist.exe"

Suspicious Usage Of Active Directory Diagnostic Tool (ntdsutil.exe)

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

Detects execution of ntdsutil.exe to perform different actions such as restoring snapshots...etc.

Known False Positives

  • Legitimate usage to restore snapshots
  • Legitimate admin activity

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Suspicious Usage Of Active Directory Diagnostic Tool (ntdsutil.exe)
id: a58353df-af43-4753-bad0-cd83ef35eef5
related:
    - id: 2afafd61-6aae-4df4-baed-139fa1f4c345
      type: derived
status: test
description: Detects execution of ntdsutil.exe to perform different actions such as restoring snapshots...etc.
references:
    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/cc731620(v=ws.11)
    - https://symantec-enterprise-blogs.security.com/blogs/threat-intelligence/espionage-asia-governments
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-09-14
tags:
    - attack.credential-access
    - attack.t1003.003
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\ntdsutil.exe'
        - OriginalFileName: 'ntdsutil.exe'
    selection_cli:
        - CommandLine|contains|all:
              - 'snapshot'
              - 'mount ' # mounts a specific snapshot - Ex: ntdsutil snapshot "mount c2b3e2c6-1ffb-4625-ba8e-3503c27a9fcb" quit quit
        - CommandLine|contains|all:
              # This offers more coverage to the "selection_oneliner_1" case in rule 8bc64091-6875-4881-aaf9-7bd25b5dda08
              # The shorest form of "activate" can "ac". But "act", "acti"...etc are also valid forms
              # Same case with the "instance" flag
              - 'ac'
              - ' i'
              - ' ntds'
    condition: all of selection_*
falsepositives:
    - Legitimate usage to restore snapshots
    - Legitimate admin activity
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_cli

selection_cli:
    - CommandLine|contains|all:
          - 'snapshot'
          - 'mount '
    - CommandLine|contains|all:
          - 'ac'
          - ' i'
          - ' ntds'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • i corpus 2 (sigma 2)
  • ntds
  • ac
  • mount corpus 2 (sigma 2)
  • snapshot corpus 3 (sigma 3)
field:"CommandLine" kind:match
Imageends_with
  • \ntdsutil.exe corpus 5 (sigma 5)
field:"Image" kind:ends_with value:"\ntdsutil.exe"
OriginalFileNameeq
  • ntdsutil.exe corpus 2 (sigma 1, elastic 1)
field:"OriginalFileName" kind:eq value:"ntdsutil.exe"

System Shutdown/Reboot - MacOs

#
Status
test
Severity
informational
Author
Igor Fits, Mikhail Larin, oscd.community
Source
github.com/SigmaHQ/sigma

Adversaries may shutdown/reboot systems to interrupt access to, or aid in the destruction of, those systems.

Known False Positives

  • Legitimate administrative activity

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: System Shutdown/Reboot - MacOs
id: 40b1fbe2-18ea-4ee7-be47-0294285811de
status: test
description: Adversaries may shutdown/reboot systems to interrupt access to, or aid in the destruction of, those systems.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1529/T1529.md
author: 'Igor Fits, Mikhail Larin, oscd.community'
date: 2020-10-19
modified: 2022-11-26
tags:
    - attack.impact
    - attack.t1529
logsource:
    product: macos
    category: process_creation
detection:
    selection:
        Image|endswith:
            - '/shutdown'
            - '/reboot'
            - '/halt'
    condition: selection
falsepositives:
    - Legitimate administrative activity
level: informational

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith:
        - '/shutdown'
        - '/reboot'
        - '/halt'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • /halt
  • /reboot
  • /shutdown
field:"Image" kind:ends_with

User Added to Remote Desktop Users Group

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

Detects addition of users to the local Remote Desktop Users group via "Net" or "Add-LocalGroupMember".

Known False Positives

  • Administrative activity

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: User Added to Remote Desktop Users Group
id: ffa28e60-bdb1-46e0-9f82-05f7a61cc06e
related:
    - id: ad720b90-25ad-43ff-9b5e-5c841facc8e5 # Admin groups
      type: similar
    - id: 10fb649c-3600-4d37-b1e6-56ea90bb7e09 # Privileged groups
      type: similar
status: test
description: Detects addition of users to the local Remote Desktop Users group via "Net" or "Add-LocalGroupMember".
references:
    - https://www.microsoft.com/security/blog/2021/11/16/evolving-trends-in-iranian-threat-actor-activity-mstic-presentation-at-cyberwarcon-2021/
author: Florian Roth (Nextron Systems)
date: 2021-12-06
modified: 2022-09-09
tags:
    - attack.initial-access
    - attack.persistence
    - attack.lateral-movement
    - attack.t1133
    - attack.t1136.001
    - attack.t1021.001
logsource:
    category: process_creation
    product: windows
detection:
    selection_main:
        - CommandLine|contains|all:
              - 'localgroup '
              - ' /add'
        - CommandLine|contains|all:
              - 'Add-LocalGroupMember '
              - ' -Group '
    selection_group:
        CommandLine|contains:
            - 'Remote Desktop Users'
            - 'Utilisateurs du Bureau à distance' # French for "Remote Desktop Users"
            - 'Usuarios de escritorio remoto' # Spanish for "Remote Desktop Users"
    condition: all of selection_*
falsepositives:
    - Administrative activity
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_main

selection_main:
    - CommandLine|contains|all:
          - 'localgroup '
          - ' /add'
    - CommandLine|contains|all:
          - 'Add-LocalGroupMember '
          - ' -Group '

Stage 2: selection_group

selection_group:
    CommandLine|contains:
        - 'Remote Desktop Users'
        - 'Utilisateurs du Bureau à distance'
        - 'Usuarios de escritorio remoto'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -Group corpus 3 (sigma 3)
  • /add corpus 4 (sigma 4)
  • Add-LocalGroupMember corpus 3 (sigma 3)
  • Remote Desktop Users corpus 3 (sigma 3)
  • Usuarios de escritorio remoto corpus 3 (sigma 3)
  • Utilisateurs du Bureau à distance corpus 3 (sigma 3)
  • localgroup corpus 3 (sigma 3)
field:"CommandLine" kind:match

Wdigest CredGuard Registry Modification

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

Detects potential malicious modification of the property value of IsCredGuardEnabled from HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\WDigest to disable Cred Guard on a system. This is usually used with UseLogonCredential to manipulate the caching credentials.

MITRE ATT&CK Coverage

TacticTechniques
Persistence
Defense Impairment

Telemetry Coverage

Rule Body

title: Wdigest CredGuard Registry Modification
id: 1a2d6c47-75b0-45bd-b133-2c0be75349fd
status: test
description: |
  Detects potential malicious modification of the property value of IsCredGuardEnabled from
  HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\WDigest to disable Cred Guard on a system.
  This is usually used with UseLogonCredential to manipulate the caching credentials.
references:
    - https://teamhydra.blog/2020/08/25/bypassing-credential-guard/
author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
date: 2019-08-25
modified: 2021-11-27
tags:
    - attack.persistence
    - attack.defense-impairment
    - attack.t1112
logsource:
    category: registry_event
    product: windows
detection:
    selection:
        TargetObject|endswith: '\IsCredGuardEnabled'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|endswith: '\IsCredGuardEnabled'

Indicators

These rows show field, operator, and value matches.

Weak Encryption Enabled and Kerberoast

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

Detects scenario where weak encryption is enabled for a user profile which could be used for hash/password cracking.

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

Rule Body

title: Weak Encryption Enabled and Kerberoast
id: f6de9536-0441-4b3f-a646-f4e00f300ffd
status: test
description: Detects scenario where weak encryption is enabled for a user profile which could be used for hash/password cracking.
references:
    - https://adsecurity.org/?p=2053
    - https://blog.harmj0y.net/redteaming/another-word-on-delegation/
author: '@neu5ron'
date: 2017-07-30
modified: 2021-11-27
tags:
    - attack.defense-impairment
    - attack.t1685
logsource:
    product: windows
    service: security
    definition: 'Requirements: Audit Policy : Account Management > Audit User Account Management, Group Policy : Computer Configuration\Windows Settings\Security Settings\Advanced Audit Policy Configuration\Audit Policies\Account Management\Audit User Account Management'
detection:
    selection:
        EventID: 4738
    # According to Microsoft, the bit values are listed here: https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4720
    # However, that seems to be a simple copy from https://learn.microsoft.com/en-us/troubleshoot/windows-server/active-directory/useraccountcontrol-manipulate-account-properties
    # and the actual flags that are used are quite different and, unfortunately, not documented.
    # https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/ contains a number of EVTX files with relevant events, which can be used to extract
    # the following values.
    olduac_des: # 0x8000
        OldUacValue|endswith:
            - 8???
            - 9???
            - A???
            - B???
            - C???
            - D???
            - E???
            - F???
    newuac_des:
        NewUacValue|endswith:
            - 8???
            - 9???
            - A???
            - B???
            - C???
            - D???
            - E???
            - F???
    olduac_preauth: # 0x10000
        OldUacValue|endswith:
            - 1????
            - 3????
            - 5????
            - 7????
            - 9????
            - B????
            - D????
            - F????
    newuac_preauth:
        NewUacValue|endswith:
            - 1????
            - 3????
            - 5????
            - 7????
            - 9????
            - B????
            - D????
            - F????
    olduac_encrypted: # 0x800
        OldUacValue|endswith:
            - 8??
            - 9??
            - A??
            - B??
            - C??
            - D??
            - E??
            - F??
    newuac_encrypted:
        NewUacValue|endswith:
            - 8??
            - 9??
            - A??
            - B??
            - C??
            - D??
            - E??
            - F??
    condition: selection and ((newuac_des and not olduac_des) or (newuac_preauth and not olduac_preauth) or (newuac_encrypted and not olduac_encrypted))
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and ((newuac_des and not olduac_des) or (newuac_preauth and not olduac_preauth) or (newuac_encrypted and not olduac_encrypted))

Stage 1: selection

selection:
    EventID: 4738

Stage 2: newuac_des

newuac_des:
    NewUacValue|endswith:
        - 8???
        - 9???
        - A???
        - B???
        - C???
        - D???
        - E???
        - F???

Stage 3: not olduac_des

olduac_des:
    OldUacValue|endswith:
        - 8???
        - 9???
        - A???
        - B???
        - C???
        - D???
        - E???
        - F???

Stage 4: newuac_preauth

newuac_preauth:
    NewUacValue|endswith:
        - 1????
        - 3????
        - 5????
        - 7????
        - 9????
        - B????
        - D????
        - F????

Stage 5: not olduac_preauth

olduac_preauth:
    OldUacValue|endswith:
        - 1????
        - 3????
        - 5????
        - 7????
        - 9????
        - B????
        - D????
        - F????

Stage 6: newuac_encrypted

newuac_encrypted:
    NewUacValue|endswith:
        - 8??
        - 9??
        - A??
        - B??
        - C??
        - D??
        - E??
        - F??

Stage 7: not olduac_encrypted

olduac_encrypted:
    OldUacValue|endswith:
        - 8??
        - 9??
        - A??
        - B??
        - C??
        - D??
        - E??
        - F??

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
NewUacValueends_with
  • 1????
  • 3????
  • 5????
  • 7????
  • 8??
  • 8???
  • 9??
  • 9???
  • 9????
  • A??
  • A???
  • B??
  • B???
  • B????
  • C??
  • C???
  • D??
  • D???
  • D????
  • E??
  • E???
  • F??
  • F???
  • F????
field:"NewUacValue" kind:ends_with

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
OldUacValueends_with8???excludes:OldUacValue field:"OldUacValue" value:"8???"
OldUacValueends_with9???excludes:OldUacValue field:"OldUacValue" value:"9???"
OldUacValueends_withA???excludes:OldUacValue field:"OldUacValue" value:"A???"
OldUacValueends_withB???excludes:OldUacValue field:"OldUacValue" value:"B???"
OldUacValueends_withC???excludes:OldUacValue field:"OldUacValue" value:"C???"
OldUacValueends_withD???excludes:OldUacValue field:"OldUacValue" value:"D???"
OldUacValueends_withE???excludes:OldUacValue field:"OldUacValue" value:"E???"
OldUacValueends_withF???excludes:OldUacValue field:"OldUacValue" value:"F???"
OldUacValueends_with1????excludes:OldUacValue field:"OldUacValue" value:"1????"
OldUacValueends_with3????excludes:OldUacValue field:"OldUacValue" value:"3????"
OldUacValueends_with5????excludes:OldUacValue field:"OldUacValue" value:"5????"
OldUacValueends_with7????excludes:OldUacValue field:"OldUacValue" value:"7????"
OldUacValueends_with9????excludes:OldUacValue field:"OldUacValue" value:"9????"
OldUacValueends_withB????excludes:OldUacValue field:"OldUacValue" value:"B????"
OldUacValueends_withD????excludes:OldUacValue field:"OldUacValue" value:"D????"
OldUacValueends_withF????excludes:OldUacValue field:"OldUacValue" value:"F????"
OldUacValueends_with8??excludes:OldUacValue field:"OldUacValue" value:"8??"
OldUacValueends_with9??excludes:OldUacValue field:"OldUacValue" value:"9??"
OldUacValueends_withA??excludes:OldUacValue field:"OldUacValue" value:"A??"
OldUacValueends_withB??excludes:OldUacValue field:"OldUacValue" value:"B??"
OldUacValueends_withC??excludes:OldUacValue field:"OldUacValue" value:"C??"
OldUacValueends_withD??excludes:OldUacValue field:"OldUacValue" value:"D??"
OldUacValueends_withE??excludes:OldUacValue field:"OldUacValue" value:"E??"
OldUacValueends_withF??excludes:OldUacValue field:"OldUacValue" value:"F??"

Whoami.EXE Execution With Output Option

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

Detects the execution of "whoami.exe" with the "/FO" flag to choose CSV as output format or with redirection options to export the results to a file for later use.

MITRE ATT&CK Coverage

TacticTechniques
Discovery

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Whoami.EXE Execution With Output Option
id: c30fb093-1109-4dc8-88a8-b30d11c95a5d
status: test
description: Detects the execution of "whoami.exe" with the "/FO" flag to choose CSV as output format or with redirection options to export the results to a file for later use.
references:
    - https://brica.de/alerts/alert/public/1247926/agent-tesla-keylogger-delivered-inside-a-power-iso-daa-archive/
    - https://app.any.run/tasks/7eaba74e-c1ea-400f-9c17-5e30eee89906/
    - https://www.youtube.com/watch?v=DsJ9ByX84o4&t=6s
author: Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
date: 2023-02-28
modified: 2023-12-04
tags:
    - attack.discovery
    - attack.t1033
    - car.2016-03-001
logsource:
    category: process_creation
    product: windows
detection:
    selection_main_img:
        - Image|endswith: '\whoami.exe'
        - OriginalFileName: 'whoami.exe'
    selection_main_cli:
        CommandLine|contains:
            - ' /FO CSV'
            - ' -FO CSV'
    selection_special:
        CommandLine|contains: 'whoami*>'
    condition: all of selection_main_* or selection_special
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

all of selection_main_* or selection_special

Stage 1: selection_main_img

selection_main_img:
    - Image|endswith: '\whoami.exe'
    - OriginalFileName: 'whoami.exe'

Stage 2: selection_main_cli

selection_main_cli:
    CommandLine|contains:
        - ' /FO CSV'
        - ' -FO CSV'

Stage 3: selection_special

selection_special:
    CommandLine|contains: 'whoami*>'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -FO CSV
  • /FO CSV
  • whoami*>
field:"CommandLine" kind:match
Imageends_with
  • \whoami.exe corpus 19 (sigma 19)
field:"Image" kind:ends_with value:"\whoami.exe"
OriginalFileNameeq
  • whoami.exe corpus 11 (sigma 9, elastic 1, splunk 1)
field:"OriginalFileName" kind:eq value:"whoami.exe"

Windows Credential Guard Disabled - Registry

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

Detects attempts to disable Windows Credential Guard by setting registry values to 0. Credential Guard uses virtualization-based security to isolate secrets so that only privileged system software can access them. Adversaries may disable Credential Guard to gain access to sensitive credentials stored in the system, such as NTLM hashes and Kerberos tickets, which can be used for lateral movement and privilege escalation.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

Rule Body

title: Windows Credential Guard Disabled - Registry
id: 73921b9c-cafd-4446-b0c6-fdb0ace42bc0
related:
    - id: c17d47b7-dcd6-4109-87eb-d1817bd4cbc9
      type: similar
status: experimental
description: |
    Detects attempts to disable Windows Credential Guard by setting registry values to 0. Credential Guard uses virtualization-based security to isolate secrets so that only privileged system software can access them.
    Adversaries may disable Credential Guard to gain access to sensitive credentials stored in the system, such as NTLM hashes and Kerberos tickets, which can be used for lateral movement and privilege escalation.
references:
    - https://woshub.com/disable-credential-guard-windows/
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-12-26
tags:
    - attack.defense-impairment
    - attack.t1685
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|endswith:
            - '\DeviceGuard\EnableVirtualizationBasedSecurity'
            - '\DeviceGuard\LsaCfgFlags'
            - '\Lsa\LsaCfgFlags'
        Details: 'DWORD (0x00000000)'
    condition: selection
falsepositives:
    - Unlikely
level: high
regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_credential_guard_disabled/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|endswith:
        - '\DeviceGuard\EnableVirtualizationBasedSecurity'
        - '\DeviceGuard\LsaCfgFlags'
        - '\Lsa\LsaCfgFlags'
    Details: 'DWORD (0x00000000)'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailseq
  • DWORD (0x00000000) corpus 36 (sigma 36)
field:"Details" kind:eq value:"DWORD (0x00000000)"
TargetObjectends_with
  • \DeviceGuard\EnableVirtualizationBasedSecurity corpus 2 (sigma 2)
  • \DeviceGuard\LsaCfgFlags corpus 2 (sigma 2)
  • \Lsa\LsaCfgFlags corpus 2 (sigma 2)
field:"TargetObject" kind:ends_with

Windows native backup deletion

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

Detects scenarios where an attacker attempts to delete existing Windows native backup (only available on Windows Server).

Known False Positives

  • administrator cleaning outdated backup

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: Windows native backup deletion
description: Detects scenarios where an attacker attempts to delete existing Windows native backup (only available on Windows Server).
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0040-Impact/T1490-Inhibit%20System%20Recovery
- https://www.picussecurity.com/resource/blog/how-to-beat-nefilim-ransomware-attacks
- https://www.itechtics.com/volume-shadow-copies/
- https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/wbadmin
- https://www.picussecurity.com/resource/blog/technique-to-delete-volume-shadow-copies-deviceiocontrol
tags:
- attack.impact
- attack.t1490
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: process_creation
detection:
  selection: # wbadmin delete backup -backupTarget:G:\ -deleteOldest
    NewProcessName|endswith: '\wbadmin.exe'
    CommandLine|contains:
      - wbadmin
      - delete
  condition: selection
falsepositives:
- administrator cleaning outdated backup
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  NewProcessName|endswith: '\wbadmin.exe'
  CommandLine|contains:
    - wbadmin
    - delete

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • delete corpus 30 (sigma 16, elastic 8, splunk 6)
  • wbadmin corpus 3 (sigma 3)
field:"CommandLine" kind:match
NewProcessNameends_with
  • \wbadmin.exe corpus 7 (sigma 7)
field:"Image" kind:ends_with value:"\wbadmin.exe"

Writing Local Admin Share

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

Aversaries may use to interact with a remote network share using Server Message Block (SMB). This technique is used by post-exploitation frameworks.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Writing Local Admin Share
id: 4aafb0fa-bff5-4b9d-b99e-8093e659c65f
status: test
description: |
    Aversaries may use to interact with a remote network share using Server Message Block (SMB).
    This technique is used by post-exploitation frameworks.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1021.002/T1021.002.md#atomic-test-4---execute-command-writing-output-to-local-admin-share
author: frack113
date: 2022-01-01
modified: 2022-08-13
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.lateral-movement
    - attack.t1546.002
logsource:
    product: windows
    category: file_event
detection:
    selection:
        TargetFilename|contains|all:
            - '\\\\127.0.0'
            - '\ADMIN$\'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|contains|all:
        - '\\\\127.0.0'
        - '\ADMIN$\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenamematch
  • \ADMIN$\
  • \\\\127.0.0
field:"TargetFilename" kind:match

WSL Child Process Anomaly

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

Detects uncommon or suspicious child processes spawning from a WSL process. This could indicate an attempt to evade parent/child relationship detections or persistence attempts via cron using WSL

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: WSL Child Process Anomaly
id: 2267fe65-0681-42ad-9a6d-46553d3f3480
related:
    - id: dec44ca7-61ad-493c-bfd7-8819c5faa09b # LOLBIN Rule
      type: derived
status: test
description: Detects uncommon or suspicious child processes spawning from a WSL process. This could indicate an attempt to evade parent/child relationship detections or persistence attempts via cron using WSL
references:
    - https://lolbas-project.github.io/lolbas/OtherMSBinaries/Wsl/
    - https://twitter.com/nas_bench/status/1535431474429808642
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-01-23
modified: 2023-08-15
tags:
    - attack.execution
    - attack.stealth
    - attack.t1218
    - attack.t1202
logsource:
    category: process_creation
    product: windows
detection:
    selection_parent:
        ParentImage|endswith:
            - '\wsl.exe'
            - '\wslhost.exe'
    selection_children_images:
        Image|endswith:
            # Add more suspicious/uncommon "lolbin" processes
            - '\calc.exe'
            - '\cmd.exe'
            - '\cscript.exe'
            - '\mshta.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
            - '\regsvr32.exe'
            - '\rundll32.exe'
            - '\wscript.exe'
    selection_children_paths:
        Image|contains:
            - '\AppData\Local\Temp\'
            - 'C:\Users\Public\'
            - 'C:\Windows\Temp\'
            - 'C:\Temp\'
            - '\Downloads\'
            - '\Desktop\'
    condition: selection_parent and 1 of selection_children_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection_parent and 1 of selection_children_*

Stage 1: selection_parent

selection_parent:
    ParentImage|endswith:
        - '\wsl.exe'
        - '\wslhost.exe'

Stage 2: selection_children_images

selection_children_images:
    Image|endswith:
        - '\calc.exe'
        - '\cmd.exe'
        - '\cscript.exe'
        - '\mshta.exe'
        - '\powershell.exe'
        - '\pwsh.exe'
        - '\regsvr32.exe'
        - '\rundll32.exe'
        - '\wscript.exe'

Stage 3: selection_children_paths

selection_children_paths:
    Image|contains:
        - '\AppData\Local\Temp\'
        - 'C:\Users\Public\'
        - 'C:\Windows\Temp\'
        - 'C:\Temp\'
        - '\Downloads\'
        - '\Desktop\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \calc.exe corpus 15 (sigma 14, splunk 1)
  • \cmd.exe corpus 132 (sigma 130, splunk 2)
  • \cscript.exe corpus 72 (sigma 72)
  • \mshta.exe corpus 67 (sigma 66, splunk 1)
  • \powershell.exe corpus 181 (sigma 180, splunk 1)
  • \pwsh.exe corpus 166 (sigma 166)
  • \regsvr32.exe corpus 64 (sigma 64)
  • \rundll32.exe corpus 94 (sigma 94)
  • \wscript.exe corpus 74 (sigma 74)
field:"Image" kind:ends_with
Imagematch
  • C:\Temp\
  • C:\Users\Public\ corpus 2 (sigma 2)
  • C:\Windows\Temp\ corpus 2 (sigma 2)
  • \AppData\Local\Temp\ corpus 11 (sigma 10, splunk 1)
  • \Desktop\ corpus 6 (sigma 6)
  • \Downloads\ corpus 9 (sigma 9)
field:"Image" kind:match
ParentImageends_with
  • \wsl.exe corpus 4 (sigma 4)
  • \wslhost.exe corpus 2 (sigma 2)
field:"ParentImage" kind:ends_with

XBAP Execution From Uncommon Locations Via PresentationHost.EXE

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

Detects the execution of ".xbap" (Browser Applications) files via PresentationHost.EXE from an uncommon location. These files can be abused to run malicious ".xbap" files any bypass AWL

Known False Positives

  • Legitimate ".xbap" being executed via "PresentationHost"

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: XBAP Execution From Uncommon Locations Via PresentationHost.EXE
id: d22e2925-cfd8-463f-96f6-89cec9d9bc5f
status: test
description: |
    Detects the execution of ".xbap" (Browser Applications) files via PresentationHost.EXE from an uncommon location. These files can be abused to run malicious ".xbap" files any bypass AWL
references:
    - https://lolbas-project.github.io/lolbas/Binaries/Presentationhost/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-07-01
modified: 2023-11-09
tags:
    - attack.execution
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\presentationhost.exe'
        - OriginalFileName: 'PresentationHost.exe'
    selection_cli:
        CommandLine|contains: '.xbap'
    filter_main_generic:
        CommandLine|contains: # Filter out legitimate locations if you find them
            - ' C:\Windows\'
            - ' C:\Program Files'
    condition: all of selection* and not 1 of filter_main_*
falsepositives:
    - Legitimate ".xbap" being executed via "PresentationHost"
level: medium

Stages and Predicates

Stage 0: condition

all of selection* and not 1 of filter_main_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\presentationhost.exe'
    - OriginalFileName: 'PresentationHost.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains: '.xbap'

Stage 3: not filter_main_generic

filter_main_generic:
    CommandLine|contains:
        - ' C:\Windows\'
        - ' C:\Program Files'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLinematch C:\Program Filesexcludes:CommandLine field:"CommandLine" value:" C:\Program Files"
CommandLinematch C:\Windows\excludes:CommandLine field:"CommandLine" value:" C:\Windows\"

Back to all Sigma rules