Detection rules › Sigma

Sigma rules: 2e

RuleSeverity
Commvault QOperation Path Traversal Webshell Drop (CVE-2025-57790)high
Creation Of a Suspicious ADS File Outside a Browser Downloadmedium
DNS Query To MEGA Hosting Websitemedium
Download From Suspicious TLD - Blacklistlow
Exchange group membership change to perform DCsync attackhigh
Exploit for CVE-2017-0261medium
Failed Event Log Clear Via WMI NTEventLogFile ClearEventLogmedium
File Download From Browser Process Via Inline URLmedium
Grixba Malware Reconnaissance Activityhigh
Group Membership Reconnaissance Via Whoami.EXEmedium
Invoke-Obfuscation VAR+ Launcher - PowerShell Modulehigh
KrbRelayUp service installation (native)high
Mount Execution With Hidepid Parametermedium
Network proxy configuration changedmedium
Number of oustanding SMB requests increasedmedium
Okta User Account Locked Outmedium
Password Policy Enumeratedmedium
Pingback Backdoor Activityhigh
Potential CVE-2021-40444 Exploitation Attempthigh
Potential CVE-2023-36874 Exploitation - Fake Wermgr.Exe Creationhigh
Potential Pikabot C2 Activityhigh
Potential RjvPlatform.DLL Sideloading From Non-Default Locationhigh
PUA - Restic Backup Tool Executionhigh
PUA - Suspicious ActiveDirectory Enumeration Via AdFind.EXEhigh
Remote Access Tool - Cmd.EXE Execution via AnyViewermedium
Renamed AdFind Executionhigh
Renamed CURL.EXE Executionmedium
Renamed Gpg.EXE Executionhigh
Run PowerShell Script from ADShigh
Sticky key sethc command for replacement by CMDhigh
Suspicious FileFix Execution Patternhigh
Suspicious Program Location Whitelisted In Firewall Via Netsh.EXEhigh
TeamPCP LiteLLM Supply Chain Attack Persistence Indicatorshigh
UAC Bypass Using PkgMgr and DISMhigh
Verclsid.exe Runs COM Objectmedium
VHD Image Download Via Browsermedium
Virtualbox Driver Installation or Starting of VMslow
WDAC Policy File Creation In CodeIntegrity Foldermedium

Commvault QOperation Path Traversal Webshell Drop (CVE-2025-57790)

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

Detects the use of qoperation.exe with the -file argument to write a JSP file to the webroot, indicating a webshell drop. This is a post-authentication step corresponding to CVE-2025-57790.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Commvault QOperation Path Traversal Webshell Drop (CVE-2025-57790)
id: bd3b3fff-a018-4994-9876-68af5809160f
status: experimental
description: |
    Detects the use of qoperation.exe with the -file argument to write a JSP file to the webroot, indicating a webshell drop.
    This is a post-authentication step corresponding to CVE-2025-57790.
references:
    - https://labs.watchtowr.com/guess-who-would-be-stupid-enough-to-rob-the-same-vault-twice-pre-auth-rce-chains-in-commvault/
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-10-20
tags:
    - attack.persistence
    - attack.t1505.003
    - detection.emerging-threats
    - cve.2025-57790
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        # qoperation execute -af F:\Program Files\Commvault\ContentStore\Reports\MetricsUpload\Upload\ABC1234\rekt.xml -file F:\Program Files\Commvault\ContentStore\Apache\webapps\ROOT\wT-poc.jsp
        CommandLine|contains|all:
            - 'qoperation'
            - 'exec'
            - ' -af '
            - '.xml '
            - '\Apache\webapps\ROOT\'
            - '.jsp'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains|all:
        - 'qoperation'
        - 'exec'
        - ' -af '
        - '.xml '
        - '\Apache\webapps\ROOT\'
        - '.jsp'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -af corpus 3 (sigma 3)
  • .jsp corpus 2 (sigma 2)
  • .xml
  • \Apache\webapps\ROOT\
  • exec corpus 9 (elastic 5, sigma 2, splunk 2)
  • qoperation
field:"CommandLine" kind:match

Creation Of a Suspicious ADS File Outside a Browser Download

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

Detects the creation of a suspicious ADS (Alternate Data Stream) file by software other than browsers

Known False Positives

  • Other legitimate browsers not currently included in the filter (please add them)
  • Legitimate downloads via scripting or command-line tools (Investigate to determine if it's legitimate)

MITRE ATT&CK Coverage

TacticTechniques
StealthNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 15: FileCreateStreamHash

Rule Body

title: Creation Of a Suspicious ADS File Outside a Browser Download
id: 573df571-a223-43bc-846e-3f98da481eca
status: test
description: Detects the creation of a suspicious ADS (Alternate Data Stream) file by software other than browsers
references:
    - https://www.bleepingcomputer.com/news/security/exploited-windows-zero-day-lets-javascript-files-bypass-security-warnings/
author: frack113
date: 2022-10-22
modified: 2023-06-12
tags:
    - attack.stealth
logsource:
    product: windows
    category: create_stream_hash
detection:
    selection:
        Contents|startswith: '[ZoneTransfer]  ZoneId=3'
        TargetFilename|endswith: ':Zone.Identifier'
        TargetFilename|contains:
            - '.exe'
            - '.scr'
            - '.bat'
            - '.cmd'
            - '.docx'
            - '.hta'
            - '.jse'
            - '.lnk'
            - '.pptx'
            - '.ps'
            - '.reg'
            - '.sct'
            - '.vb'
            - '.wsc'
            - '.wsf'
            - '.xlsx'
    filter_optional_brave:
        Image|endswith: '\brave.exe'
    filter_optional_chrome:
        Image:
            - 'C:\Program Files\Google\Chrome\Application\chrome.exe'
            - 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'
    filter_optional_firefox:
        Image:
            - 'C:\Program Files\Mozilla Firefox\firefox.exe'
            - 'C:\Program Files (x86)\Mozilla Firefox\firefox.exe'
    filter_optional_ie:
        Image:
            - 'C:\Program Files (x86)\Internet Explorer\iexplore.exe'
            - 'C:\Program Files\Internet Explorer\iexplore.exe'
    filter_optional_maxthon:
        Image|endswith: '\maxthon.exe'
    filter_optional_edge_1:
        - Image|startswith: 'C:\Program Files (x86)\Microsoft\EdgeWebView\Application\'
        - Image|endswith: '\WindowsApps\MicrosoftEdge.exe'
        - Image:
              - 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
              - 'C:\Program Files\Microsoft\Edge\Application\msedge.exe'
    filter_optional_edge_2:
        Image|startswith:
            - 'C:\Program Files (x86)\Microsoft\EdgeCore\'
            - 'C:\Program Files\Microsoft\EdgeCore\'
        Image|endswith:
            - '\msedge.exe'
            - '\msedgewebview2.exe'
    filter_optional_opera:
        Image|endswith: '\opera.exe'
    filter_optional_safari:
        Image|endswith: '\safari.exe'
    filter_optional_seamonkey:
        Image|endswith: '\seamonkey.exe'
    filter_optional_vivaldi:
        Image|endswith: '\vivaldi.exe'
    filter_optional_whale:
        Image|endswith: '\whale.exe'
    filter_optional_snipping_tool:
        Image|startswith: 'C:\Program Files\WindowsApps\Microsoft.ScreenSketch_'
        Image|endswith: '\SnippingTool\SnippingTool.exe'
        TargetFilename|startswith: 'C:\Users\'
        TargetFilename|contains|all:
            - '\AppData\Local\Packages\Microsoft.ScreenSketch_'
            - '\TempState\Screenshot '
        TargetFilename|endswith: '.png:Zone.Identifier'
    condition: selection and not 1 of filter_optional_*
falsepositives:
    - Other legitimate browsers not currently included in the filter (please add them)
    - Legitimate downloads via scripting or command-line tools (Investigate to determine if it's legitimate)
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_optional_*

Stage 1: selection

selection:
    Contents|startswith: '[ZoneTransfer]  ZoneId=3'
    TargetFilename|endswith: ':Zone.Identifier'
    TargetFilename|contains:
        - '.exe'
        - '.scr'
        - '.bat'
        - '.cmd'
        - '.docx'
        - '.hta'
        - '.jse'
        - '.lnk'
        - '.pptx'
        - '.ps'
        - '.reg'
        - '.sct'
        - '.vb'
        - '.wsc'
        - '.wsf'
        - '.xlsx'

Stage 2: not filter_optional_*

filter_optional_brave:
    Image|endswith: '\brave.exe'
filter_optional_chrome:
    Image:
        - 'C:\Program Files\Google\Chrome\Application\chrome.exe'
        - 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'
filter_optional_firefox:
    Image:
        - 'C:\Program Files\Mozilla Firefox\firefox.exe'
        - 'C:\Program Files (x86)\Mozilla Firefox\firefox.exe'
filter_optional_ie:
    Image:
        - 'C:\Program Files (x86)\Internet Explorer\iexplore.exe'
        - 'C:\Program Files\Internet Explorer\iexplore.exe'
filter_optional_maxthon:
    Image|endswith: '\maxthon.exe'
filter_optional_edge_1:
    - Image|startswith: 'C:\Program Files (x86)\Microsoft\EdgeWebView\Application\'
    - Image|endswith: '\WindowsApps\MicrosoftEdge.exe'
    - Image:
          - 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
          - 'C:\Program Files\Microsoft\Edge\Application\msedge.exe'
filter_optional_edge_2:
    Image|startswith:
        - 'C:\Program Files (x86)\Microsoft\EdgeCore\'
        - 'C:\Program Files\Microsoft\EdgeCore\'
    Image|endswith:
        - '\msedge.exe'
        - '\msedgewebview2.exe'
filter_optional_opera:
    Image|endswith: '\opera.exe'
filter_optional_safari:
    Image|endswith: '\safari.exe'
filter_optional_seamonkey:
    Image|endswith: '\seamonkey.exe'
filter_optional_vivaldi:
    Image|endswith: '\vivaldi.exe'
filter_optional_whale:
    Image|endswith: '\whale.exe'
filter_optional_snipping_tool:
    Image|startswith: 'C:\Program Files\WindowsApps\Microsoft.ScreenSketch_'
    Image|endswith: '\SnippingTool\SnippingTool.exe'
    TargetFilename|startswith: 'C:\Users\'
    TargetFilename|contains|all:
        - '\AppData\Local\Packages\Microsoft.ScreenSketch_'
        - '\TempState\Screenshot '
    TargetFilename|endswith: '.png:Zone.Identifier'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Contentsstarts_with
  • [ZoneTransfer] ZoneId=3 corpus 2 (sigma 2)
field:"Contents" kind:starts_with value:"[ZoneTransfer] ZoneId=3"
TargetFilenameends_with
  • :Zone.Identifier corpus 6 (sigma 4, splunk 2)
field:"TargetFilename" kind:ends_with value:":Zone.Identifier"
TargetFilenamematch
  • .bat
  • .cmd
  • .docx
  • .exe corpus 2 (sigma 2)
  • .hta
  • .jse
  • .lnk
  • .pptx
  • .ps
  • .reg
  • .scr
  • .sct
  • .vb
  • .wsc
  • .wsf
  • .xlsx
field:"TargetFilename" kind:match

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\msedge.exeexcludes:Image field:"Image" value:"\msedge.exe"
Imageends_with\msedgewebview2.exeexcludes:Image field:"Image" value:"\msedgewebview2.exe"
Imagestarts_withC:\Program Files (x86)\Microsoft\EdgeCore\excludes:Image field:"Image" value:"C:\Program Files (x86)\Microsoft\EdgeCore\"
Imagestarts_withC:\Program Files\Microsoft\EdgeCore\excludes:Image field:"Image" value:"C:\Program Files\Microsoft\EdgeCore\"
Imageends_with\SnippingTool\SnippingTool.exeexcludes:Image field:"Image" value:"\SnippingTool\SnippingTool.exe"
Imagestarts_withC:\Program Files\WindowsApps\Microsoft.ScreenSketch_excludes:Image field:"Image" value:"C:\Program Files\WindowsApps\Microsoft.ScreenSketch_"
TargetFilenameends_with.png:Zone.Identifierexcludes:TargetFilename field:"TargetFilename" value:".png:Zone.Identifier"
TargetFilenamematch\AppData\Local\Packages\Microsoft.ScreenSketch_excludes:TargetFilename field:"TargetFilename" value:"\AppData\Local\Packages\Microsoft.ScreenSketch_"
TargetFilenamematch\TempState\Screenshot excludes:TargetFilename field:"TargetFilename" value:"\TempState\Screenshot "
TargetFilenamestarts_withC:\Users\excludes:TargetFilename field:"TargetFilename" value:"C:\Users\"
Imageends_with\WindowsApps\MicrosoftEdge.exeexcludes:Image field:"Image" value:"\WindowsApps\MicrosoftEdge.exe"
Imageends_with\brave.exeexcludes:Image field:"Image" value:"\brave.exe"
Imageends_with\maxthon.exeexcludes:Image field:"Image" value:"\maxthon.exe"
Imageends_with\opera.exeexcludes:Image field:"Image" value:"\opera.exe"
Imageends_with\safari.exeexcludes:Image field:"Image" value:"\safari.exe"
Imageends_with\seamonkey.exeexcludes:Image field:"Image" value:"\seamonkey.exe"
Imageends_with\vivaldi.exeexcludes:Image field:"Image" value:"\vivaldi.exe"
Imageends_with\whale.exeexcludes:Image field:"Image" value:"\whale.exe"
ImageeqC:\Program Files (x86)\Google\Chrome\Application\chrome.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
ImageeqC:\Program Files (x86)\Internet Explorer\iexplore.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Internet Explorer\iexplore.exe"
ImageeqC:\Program Files (x86)\Microsoft\Edge\Application\msedge.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
ImageeqC:\Program Files (x86)\Mozilla Firefox\firefox.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
ImageeqC:\Program Files\Google\Chrome\Application\chrome.exeexcludes:Image field:"Image" value:"C:\Program Files\Google\Chrome\Application\chrome.exe"
ImageeqC:\Program Files\Internet Explorer\iexplore.exeexcludes:Image field:"Image" value:"C:\Program Files\Internet Explorer\iexplore.exe"
ImageeqC:\Program Files\Microsoft\Edge\Application\msedge.exeexcludes:Image field:"Image" value:"C:\Program Files\Microsoft\Edge\Application\msedge.exe"
ImageeqC:\Program Files\Mozilla Firefox\firefox.exeexcludes:Image field:"Image" value:"C:\Program Files\Mozilla Firefox\firefox.exe"
Imagestarts_withC:\Program Files (x86)\Microsoft\EdgeWebView\Application\excludes:Image field:"Image" value:"C:\Program Files (x86)\Microsoft\EdgeWebView\Application\"

DNS Query To MEGA Hosting Website

#
Status
test
Severity
medium
Author
Aaron Greetham (@beardofbinary) - NCC Group
Source
github.com/SigmaHQ/sigma

Detects DNS queries for subdomains related to MEGA sharing website

Known False Positives

  • Legitimate DNS queries and usage of Mega

MITRE ATT&CK Coverage

Telemetry Coverage

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

Rule Body

title: DNS Query To MEGA Hosting Website
id: 613c03ba-0779-4a53-8a1f-47f914a4ded3
related:
    - id: 66474410-b883-415f-9f8d-75345a0a66a6
      type: similar
status: test
description: Detects DNS queries for subdomains related to MEGA sharing website
references:
    - https://research.nccgroup.com/2021/05/27/detecting-rclone-an-effective-tool-for-exfiltration/
author: Aaron Greetham (@beardofbinary) - NCC Group
date: 2021-05-26
modified: 2023-09-18
tags:
    - attack.exfiltration
    - attack.t1567.002
logsource:
    product: windows
    category: dns_query
detection:
    selection:
        QueryName|contains: 'userstorage.mega.co.nz'
    condition: selection
falsepositives:
    - Legitimate DNS queries and usage of Mega
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    QueryName|contains: 'userstorage.mega.co.nz'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
QueryNamematch
  • userstorage.mega.co.nz corpus 2 (sigma 2)
field:"QueryName" kind:match value:"userstorage.mega.co.nz"

Download From Suspicious TLD - Blacklist

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

Detects download of certain file types from hosts in suspicious TLDs

Known False Positives

  • All kinds of software downloads

MITRE ATT&CK Coverage

Rule Body

title: Download From Suspicious TLD - Blacklist
id: 00d0b5ab-1f55-4120-8e83-487c0a7baf19
related:
    - id: b5de2919-b74a-4805-91a7-5049accbaefe
      type: similar
status: test
description: Detects download of certain file types from hosts in suspicious TLDs
references:
    - https://www.symantec.com/connect/blogs/shady-tld-research-gdn-and-our-2016-wrap
    - https://promos.mcafee.com/en-US/PDF/MTMW_Report.pdf
    - https://www.spamhaus.org/statistics/tlds/
    - https://krebsonsecurity.com/2018/06/bad-men-at-work-please-dont-click/
author: Florian Roth (Nextron Systems)
date: 2017-11-07
modified: 2023-05-18
tags:
    - attack.initial-access
    - attack.t1566
    - attack.execution
    - attack.t1203
    - attack.t1204.002
logsource:
    category: proxy
detection:
    selection:
        c-uri-extension:
            - 'exe'
            - 'vbs'
            - 'bat'
            - 'rar'
            - 'ps1'
            - 'doc'
            - 'docm'
            - 'xls'
            - 'xlsm'
            - 'pptm'
            - 'rtf'
            - 'hta'
            - 'dll'
            - 'ws'
            - 'wsf'
            - 'sct'
            - 'zip'
            # If you want to add more extensions - see https://docs.google.com/spreadsheets/d/1TWS238xacAto-fLKh1n5uTsdijWdCEsGIM0Y0Hvmc5g/
        cs-host|endswith:
            # Symantec / Chris Larsen analysis
            - '.country'
            - '.stream'
            - '.gdn'
            - '.mom'
            - '.xin'
            - '.kim'
            - '.men'
            - '.loan'
            - '.download'
            - '.racing'
            - '.online'
            - '.science'
            - '.ren'
            - '.gb'
            - '.win'
            - '.top'
            - '.review'
            - '.vip'
            - '.party'
            - '.tech'
            - '.xyz'
            - '.date'
            - '.faith'
            - '.zip'
            - '.cricket'
            - '.space'
            # McAfee report
            - '.info'
            - '.vn'
            - '.cm'
            - '.am'
            - '.cc'
            - '.asia'
            - '.ws'
            - '.tk'
            - '.biz'
            - '.su'
            - '.st'
            - '.ro'
            - '.ge'
            - '.ms'
            - '.pk'
            - '.nu'
            - '.me'
            - '.ph'
            - '.to'
            - '.tt'
            - '.name'
            - '.tv'
            - '.kz'
            - '.tc'
            - '.mobi'
            # Spamhaus
            - '.study'
            - '.click'
            - '.link'
            - '.trade'
            - '.accountant'
            # Spamhaus 2018 https://krebsonsecurity.com/2018/06/bad-men-at-work-please-dont-click/
            - '.cf'
            - '.gq'
            - '.ml'
            - '.ga'
            # Custom
            - '.pw'
    condition: selection
falsepositives:
    - All kinds of software downloads
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    c-uri-extension:
        - 'exe'
        - 'vbs'
        - 'bat'
        - 'rar'
        - 'ps1'
        - 'doc'
        - 'docm'
        - 'xls'
        - 'xlsm'
        - 'pptm'
        - 'rtf'
        - 'hta'
        - 'dll'
        - 'ws'
        - 'wsf'
        - 'sct'
        - 'zip'
    cs-host|endswith:
        - '.country'
        - '.stream'
        - '.gdn'
        - '.mom'
        - '.xin'
        - '.kim'
        - '.men'
        - '.loan'
        - '.download'
        - '.racing'
        - '.online'
        - '.science'
        - '.ren'
        - '.gb'
        - '.win'
        - '.top'
        - '.review'
        - '.vip'
        - '.party'
        - '.tech'
        - '.xyz'
        - '.date'
        - '.faith'
        - '.zip'
        - '.cricket'
        - '.space'
        - '.info'
        - '.vn'
        - '.cm'
        - '.am'
        - '.cc'
        - '.asia'
        - '.ws'
        - '.tk'
        - '.biz'
        - '.su'
        - '.st'
        - '.ro'
        - '.ge'
        - '.ms'
        - '.pk'
        - '.nu'
        - '.me'
        - '.ph'
        - '.to'
        - '.tt'
        - '.name'
        - '.tv'
        - '.kz'
        - '.tc'
        - '.mobi'
        - '.study'
        - '.click'
        - '.link'
        - '.trade'
        - '.accountant'
        - '.cf'
        - '.gq'
        - '.ml'
        - '.ga'
        - '.pw'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
c-uri-extensioneq
  • bat
  • dll
  • doc
  • docm
  • exe
  • hta
  • pptm
  • ps1
  • rar
  • rtf
  • sct
  • vbs
  • ws
  • wsf
  • xls
  • xlsm
  • zip
field:"c-uri-extension" kind:eq
cs-hostends_with
  • .accountant
  • .am
  • .asia
  • .biz
  • .cc
  • .cf
  • .click
  • .cm
  • .country
  • .cricket
  • .date
  • .download
  • .faith
  • .ga
  • .gb
  • .gdn
  • .ge
  • .gq
  • .info
  • .kim
  • .kz
  • .link
  • .loan
  • .me
  • .men
  • .ml
  • .mobi
  • .mom
  • .ms
  • .name
  • .nu
  • .online
  • .party
  • .ph
  • .pk
  • .pw
  • .racing
  • .ren
  • .review
  • .ro
  • +21 more values (see full rule source)
field:"cs-host" kind:ends_with

Exchange group membership change to perform DCsync attack

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

Detects scenarios where an attacker adds its account into a sensitive Exchange group to obtain "Replicating Directory Changes /all" and perform DCsync attack.

Known False Positives

  • Exchange administrator updating server configuration
  • Exchange upgrade or migration

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

Rule Body

title: Exchange group membership change to perform DCsync attack
description: Detects scenarios where an attacker adds its account into a sensitive Exchange group to obtain "Replicating Directory Changes /all" and perform DCsync attack.
references:
- https://adsecurity.org/?p=4119
- https://pentestlab.blog/2019/09/12/microsoft-exchange-acl/
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0006-Credential%20Access
- https://blog.fox-it.com/2018/04/26/escalating-privileges-with-acls-in-active-directory/
tags:
- attack.credential_access
- attack.t1003.006
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID:
      - 4728 # security global group member added
      - 4756 # universal group member added > groups below are per default with this group type
      - 4732 # local and domain local group member added
    TargetUserName:
      - 'Exchange Trusted Subsystem'
      - 'Exchange Windows Permissions'
  condition: selection
falsepositives:
- Exchange administrator updating server configuration
- Exchange upgrade or migration
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  EventID:
    - 4728
    - 4756
    - 4732
  TargetUserName:
    - 'Exchange Trusted Subsystem'
    - 'Exchange Windows Permissions'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetUserNameeq
  • Exchange Trusted Subsystem
  • Exchange Windows Permissions
field:"TargetUserName" kind:eq

Exploit for CVE-2017-0261

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

Detects Winword starting uncommon sub process FLTLDR.exe as used in exploits for CVE-2017-0261 and CVE-2017-0262

Known False Positives

  • Several false positives identified, check for suspicious file names or locations (e.g. Temp folders)

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Exploit for CVE-2017-0261
id: 864403a1-36c9-40a2-a982-4c9a45f7d833
status: test
description: Detects Winword starting uncommon sub process FLTLDR.exe as used in exploits for CVE-2017-0261 and CVE-2017-0262
references:
    - https://www.fireeye.com/blog/threat-research/2017/05/eps-processing-zero-days.html
author: Florian Roth (Nextron Systems)
date: 2018-02-22
modified: 2021-11-27
tags:
    - attack.execution
    - attack.t1203
    - attack.t1204.002
    - attack.initial-access
    - attack.t1566.001
    - cve.2017-0261
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\WINWORD.EXE'
        Image|contains: '\FLTLDR.exe'
    condition: selection
falsepositives:
    - Several false positives identified, check for suspicious file names or locations (e.g. Temp folders)
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\WINWORD.EXE'
    Image|contains: '\FLTLDR.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imagematch
  • \FLTLDR.exe
field:"Image" kind:match value:"\FLTLDR.exe"
ParentImageends_with
  • \WINWORD.EXE corpus 10 (sigma 10)
field:"ParentImage" kind:ends_with value:"\WINWORD.EXE"

Failed Event Log Clear Via WMI NTEventLogFile ClearEventLog

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

Detects failed attempts to clear Windows event logs via the WMI NTEventLogFile ClearEventLog method. Event 5858 in the WMI-Activity operational log is an error event, meaning it is only generated when the WMI operation encounters an error (e.g. access denied, provider failure). It could be an indication of an attacker attempting to clear event logs via WMI, but failing due to insufficient privileges or other issues. Successful clearing operations will NOT produce this event; for those, correlate with Security event 1102 or System event 104.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Failed Event Log Clear Via WMI NTEventLogFile ClearEventLog
id: d4f1a2b3-7c8e-4d5f-b6a9-1e0c2d3f4e5b
status: test
description: |
    Detects failed attempts to clear Windows event logs via the WMI NTEventLogFile ClearEventLog method.
    Event 5858 in the WMI-Activity operational log is an error event, meaning it is only generated
    when the WMI operation encounters an error (e.g. access denied, provider failure).
    It could be an indication of an attacker attempting to clear event logs via WMI, but failing due to insufficient privileges or other issues.
    Successful clearing operations will NOT produce this event; for those, correlate with
    Security event 1102 or System event 104.
references:
    - https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/cleareventlog-method-in-class-win32-nteventlogfile
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2026-07-01
tags:
    - attack.defense-impairment
    - attack.t1685.005
logsource:
    product: windows
    service: wmi
detection:
    selection:
        EventID: 5858
        Operation|contains|all:
            - 'Win32_NTEventlogFile'
            - 'cleareventlog'
    condition: selection
falsepositives:
    - Unknown
level: medium
regression_tests_path: regression_data/rules/windows/builtin/wmi/win_wmi_activity_nteventlogfile_cleareventlog/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 5858
    Operation|contains|all:
        - 'Win32_NTEventlogFile'
        - 'cleareventlog'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Operationmatch
  • Win32_NTEventlogFile
  • cleareventlog
field:"Operation" kind:match

File Download From Browser Process Via Inline URL

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

Detects execution of a browser process with a URL argument pointing to a file with a potentially interesting extension. This can be abused to download arbitrary files or to hide from the user for example by launching the browser in a minimized state.

MITRE ATT&CK Coverage

TacticTechniques
Command & Control

Telemetry Coverage

Rule Body

title: File Download From Browser Process Via Inline URL
id: 94771a71-ba41-4b6e-a757-b531372eaab6
status: test
description: Detects execution of a browser process with a URL argument pointing to a file with a potentially interesting extension. This can be abused to download arbitrary files or to hide from the user for example by launching the browser in a minimized state.
references:
    - https://twitter.com/mrd0x/status/1478116126005641220
    - https://lolbas-project.github.io/lolbas/Binaries/Msedge/
author: Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
date: 2022-01-11
modified: 2025-10-27
tags:
    - attack.command-and-control
    - attack.t1105
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        Image|endswith:
            - '\brave.exe'
            - '\chrome.exe'
            - '\msedge.exe'
            - '\opera.exe'
            - '\vivaldi.exe'
    selection_http:
        CommandLine|contains: 'http'
    selection_extensions:
        - CommandLine|endswith:
              - '.7z'
              - '.dat'
              - '.dll'
              - '.exe'
              - '.hta'
              - '.ps1'
              - '.psm1'
              - '.txt'
              - '.vbe'
              - '.vbs'
              - '.zip'
        - CommandLine|contains:
              - '.7z"'
              - '.dat"'
              - '.dll"'
              - '.hta"'
              - '.ps1"'
              - '.psm1"'
              - '.txt"'
              - '.vbe"'
              - '.vbs"'
              - '.zip"'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_browsers_inline_file_download/info.yml

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    Image|endswith:
        - '\brave.exe'
        - '\chrome.exe'
        - '\msedge.exe'
        - '\opera.exe'
        - '\vivaldi.exe'

Stage 2: selection_http

selection_http:
    CommandLine|contains: 'http'

Stage 3: selection_extensions

selection_extensions:
    - CommandLine|endswith:
          - '.7z'
          - '.dat'
          - '.dll'
          - '.exe'
          - '.hta'
          - '.ps1'
          - '.psm1'
          - '.txt'
          - '.vbe'
          - '.vbs'
          - '.zip'
    - CommandLine|contains:
          - '.7z"'
          - '.dat"'
          - '.dll"'
          - '.hta"'
          - '.ps1"'
          - '.psm1"'
          - '.txt"'
          - '.vbe"'
          - '.vbs"'
          - '.zip"'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLineends_with
  • .7z
  • .dat corpus 6 (sigma 6)
  • .dll corpus 7 (sigma 7)
  • .exe corpus 6 (sigma 6)
  • .hta corpus 6 (sigma 6)
  • .ps1 corpus 6 (sigma 6)
  • .psm1 corpus 5 (sigma 5)
  • .txt corpus 4 (sigma 4)
  • .vbe corpus 7 (sigma 7)
  • .vbs corpus 7 (sigma 7)
  • .zip corpus 2 (sigma 2)
field:"CommandLine" kind:ends_with
CommandLinematch
  • .7z"
  • .dat"
  • .dll"
  • .hta"
  • .ps1"
  • .psm1"
  • .txt"
  • .vbe"
  • .vbs"
  • .zip"
  • http corpus 45 (sigma 34, elastic 10, splunk 1)
field:"CommandLine" kind:match
Imageends_with
  • \brave.exe corpus 11 (sigma 11)
  • \chrome.exe corpus 13 (sigma 13)
  • \msedge.exe corpus 14 (sigma 14)
  • \opera.exe corpus 11 (sigma 11)
  • \vivaldi.exe corpus 11 (sigma 11)
field:"Image" kind:ends_with

Grixba Malware Reconnaissance Activity

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

Detects execution of the Grixba reconnaissance tool based on suspicious command-line parameter combinations. This tool is used by the Play ransomware group for network enumeration, data gathering, and event log clearing.

Known False Positives

  • Legitimate tools that use similar command-line argument structures (e.g., a tool with '--mode scan' and '--input file.txt') could trigger this rule. However, the specific combinations are indicative of reconnaissance or defense evasion.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Grixba Malware Reconnaissance Activity
id: af688c76-4ce4-4309-bfdd-e896f01acf27
status: experimental
description: |
    Detects execution of the Grixba reconnaissance tool based on suspicious command-line parameter combinations.
    This tool is used by the Play ransomware group for network enumeration, data gathering, and event log clearing.
references:
    - https://fieldeffect.com/blog/grixba-play-ransomware-impersonates-sentinelone
    - https://thedfirreport.com/2025/09/08/blurring-the-lines-intrusion-shows-connection-with-three-major-ransomware-gangs/
author: yxinmiracle, Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-11-26
tags:
    - attack.reconnaissance
    - attack.t1595.001
    - attack.discovery
    - attack.t1046
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection_mode_flag:
        CommandLine|contains:
            - '-m '
            - '-mode '
            - '-m:'
            - '-mode:'
    selection_input_flag:
        CommandLine|contains:
            - '-i '
            - '-input '
            - '-i:'
            - '-input:'
    selection_scan_value:
        CommandLine|contains:
            - 'scan '
            - 'scanall '
    selection_input_options:
        CommandLine|contains:
            - ':f '
            - ':r '
            - ':s '
            - ' f '
            - ' r '
            - ' s '
    condition: all of selection_*
falsepositives:
    - Legitimate tools that use similar command-line argument structures (e.g., a tool with '--mode scan' and '--input file.txt') could trigger this rule. However, the specific combinations are indicative of reconnaissance or defense evasion.
level: high
regression_tests_path: regression_data/rules-emerging-threats/2025/Malware/Grixba/proc_creation_win_malware_grixba_recon/info.yml

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_mode_flag

selection_mode_flag:
    CommandLine|contains:
        - '-m '
        - '-mode '
        - '-m:'
        - '-mode:'

Stage 2: selection_input_flag

selection_input_flag:
    CommandLine|contains:
        - '-i '
        - '-input '
        - '-i:'
        - '-input:'

Stage 3: selection_scan_value

selection_scan_value:
    CommandLine|contains:
        - 'scan '
        - 'scanall '

Stage 4: selection_input_options

selection_input_options:
    CommandLine|contains:
        - ':f '
        - ':r '
        - ':s '
        - ' f '
        - ' r '
        - ' s '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • f
  • r
  • s
  • -i corpus 2 (sigma 2)
  • -i:
  • -input
  • -input:
  • -m corpus 4 (sigma 4)
  • -m:
  • -mode
  • -mode:
  • :f
  • :r
  • :s
  • scan
  • scanall
field:"CommandLine" kind:match

Group Membership Reconnaissance Via Whoami.EXE

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

Detects the execution of whoami.exe with the /group command line flag to show group membership for the current user, account type, security identifiers (SID), and attributes.

MITRE ATT&CK Coverage

TacticTechniques
Discovery

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Group Membership Reconnaissance Via Whoami.EXE
id: bd8b828d-0dca-48e1-8a63-8a58ecf2644f
status: test
description: Detects the execution of whoami.exe with the /group command line flag to show group membership for the current user, account type, security identifiers (SID), and attributes.
references:
    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/whoami
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-02-28
tags:
    - attack.discovery
    - attack.t1033
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\whoami.exe'
        - OriginalFileName: 'whoami.exe'
    selection_cli:
        CommandLine|contains:
            - ' /groups'
            - ' -groups'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_cli

selection_cli:
    CommandLine|contains:
        - ' /groups'
        - ' -groups'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -groups
  • /groups
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"

Invoke-Obfuscation VAR+ Launcher - PowerShell Module

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

Detects Obfuscated use of Environment Variables to execute PowerShell

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Invoke-Obfuscation VAR+ Launcher - PowerShell Module
id: 6bfb8fa7-b2e7-4f6c-8d9d-824e5d06ea9e
related:
    - id: 0adfbc14-0ed1-11eb-adc1-0242ac120002
      type: derived
status: test
description: Detects Obfuscated use of Environment Variables to execute PowerShell
references:
    - https://github.com/SigmaHQ/sigma/issues/1009  # (Task 24)
author: Jonathan Cheong, oscd.community
date: 2020-10-15
modified: 2024-04-05
tags:
    - attack.stealth
    - attack.t1027
    - attack.execution
    - attack.t1059.001
logsource:
    product: windows
    category: ps_module
    definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
detection:
    selection_4103:
        Payload|re: 'cmd.{0,5}(?:/c|/r)(?:\s|)"set\s[a-zA-Z]{3,6}.*(?:\{\d\}){1,}\\"\s+?-f(?:.*\)){1,}.*"'
    condition: selection_4103
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection_4103

Stage 1: selection_4103

selection_4103:
    Payload|re: 'cmd.{0,5}(?:/c|/r)(?:\s|)"set\s[a-zA-Z]{3,6}.*(?:\{\d\}){1,}\\"\s+?-f(?:.*\)){1,}.*"'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Payloadregex_match
  • cmd.{0,5}(?:/c|/r)(?:\s|)"set\s[a-zA-Z]{3,6}.*(?:{\d}){1,}\"\s+?-f(?:.*)){1,}.*"
field:"Payload" kind:regex_match

KrbRelayUp service installation (native)

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

Detects scenarios where an attacker attempts to escalate privileges while abusing KrbRelayUp attack.

Known False Positives

  • None

MITRE ATT&CK Coverage

TacticTechniques
Execution

Telemetry Coverage

Rule Body

title: KrbRelayUp service installation (native)
description: Detects scenarios where an attacker attempts to escalate privileges while abusing KrbRelayUp attack.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0002-Execution/T1569.002-Service%20execution
- https://www.hub.trimarcsecurity.com/post/webcast-top-10-ways-to-improve-active-directory-security-quickly
- https://github.com/Dec0ne/KrbRelayUp/blob/main/README.md
tags:
- attack.execution
- attack.t1569
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: system
detection:
  selection:
    EventID: 7045 # service installation
    ServiceName: 'KrbSCM'
  condition: selection
falsepositives:
- None
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  EventID: 7045
  ServiceName: 'KrbSCM'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ServiceNameeq
  • KrbSCM corpus 3 (sigma 2, splunk 1)
field:"ServiceName" kind:eq value:"KrbSCM"

Mount Execution With Hidepid Parameter

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

Detects execution of the "mount" command with "hidepid" parameter to make invisible processes to other users from the system

MITRE ATT&CK Coverage

TacticTechniques
Stealth

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: Mount Execution With Hidepid Parameter
id: ec52985a-d024-41e3-8ff6-14169039a0b3
status: test
description: Detects execution of the "mount" command with "hidepid" parameter to make invisible processes to other users from the system
references:
    - https://blogs.blackberry.com/
    - https://www.cyberciti.biz/faq/linux-hide-processes-from-other-users/
    - https://twitter.com/Joseliyo_Jstnk/status/1620131033474822144
author: Joseliyo Sanchez, @Joseliyo_Jstnk
date: 2023-01-12
tags:
    - attack.credential-access
    - attack.stealth
    - attack.t1564
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith: '/mount'
        CommandLine|contains|all:
            - 'hidepid=2'
            - ' -o '
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '/mount'
    CommandLine|contains|all:
        - 'hidepid=2'
        - ' -o '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -o corpus 4 (sigma 4)
  • hidepid=2
field:"CommandLine" kind:match
Imageends_with
  • /mount corpus 2 (sigma 2)
field:"Image" kind:ends_with value:"/mount"

Network proxy configuration changed

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

Detects scenarios where an attacker attempts to modify proxy configuration in order to bypass network restrictions.

Known False Positives

  • admin proxy debugging
  • new proxy configuration applied

MITRE ATT&CK Coverage

TacticTechniques
Command & Control
Command and Control

Telemetry Coverage

ProviderRecord / event type
WinINet-ConfigEvent ID 5600: task_0

Rule Body

title: Network proxy configuration changed
description: Detects scenarios where an attacker attempts to modify proxy configuration in order to bypass network restrictions.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack
tags:
- attack.command_and_control
- attack.t1090 # proxy
- attack.t0884 # connection proxy
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: proxy_configuration
detection:
  selection_baseline:
    Channel: Microsoft-Windows-WinINet-Config/ProxyConfigChanged
    EventID: 5600
  selection_proxy:
    - pwszAutoConfigUrl|startswith: http
    - pwszProxy|startswith: http
    - pwszProxyBypass|startswith: http
  filter:
    - pwszAutoConfigUrl: #<http://your_company_url_proxy.lan>
    - pwszProxy: #<http://your_company_url_proxy.lan>
  condition: selection_baseline and selection_proxy and not filter
falsepositives:
- admin proxy debugging
- new proxy configuration applied 
level: medium

Stages and Predicates

Stage 0: condition

selection_baseline and selection_proxy and not filter

Stage 1: selection_baseline

selection_baseline:
  Channel: Microsoft-Windows-WinINet-Config/ProxyConfigChanged
  EventID: 5600

Stage 2: selection_proxy

selection_proxy:
  - pwszAutoConfigUrl|startswith: http
  - pwszProxy|startswith: http
  - pwszProxyBypass|startswith: http

Stage 3: not filter

filter:
  - pwszAutoConfigUrl:
  - pwszProxy:

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
pwszAutoConfigUrlis_null(no value, null check)excludes:pwszAutoConfigUrl
pwszProxyis_null(no value, null check)excludes:pwszProxy

Number of oustanding SMB requests increased

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

Detects scenarios where an attacker (specially Blackcat) increase the number of oufstanding requests to distribute malware payloads.

Known False Positives

  • system administrator activity or debugging

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Number of oustanding SMB requests increased
description: Detects scenarios where an attacker (specially Blackcat) increase the number of oufstanding requests to distribute malware payloads.
references:
- https://www.microsoft.com/en-us/security/blog/2022/06/13/the-many-lives-of-blackcat-ransomware/
- https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-2000-server/cc960259(v=technet.10)
tags:
- attack.persistence
- attack.t1021.002 # Remote Services: SMB/Windows Admin Shares 
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: process_creation
detection:  # reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services \LanmanServer\Parameters /v MaxMpxCt /d 65535 /t REG_DWORD /f
  selection:
    NewProcessName|endswith: '\reg.exe'
    CommandLine|contains|all:
      - 'REG ADD'
      - '\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters'
      - 'MaxMpxCt'
  condition: selection
falsepositives:
- system administrator activity or debugging
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  NewProcessName|endswith: '\reg.exe'
  CommandLine|contains|all:
    - 'REG ADD'
    - '\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters'
    - 'MaxMpxCt'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • MaxMpxCt
  • REG ADD corpus 13 (sigma 13)
  • \SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
field:"CommandLine" kind:match
NewProcessNameends_with
  • \reg.exe corpus 58 (sigma 58)
field:"Image" kind:ends_with value:"\reg.exe"

Okta User Account Locked Out

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

Detects when an user account is locked out.

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: Okta User Account Locked Out
id: 14701da0-4b0f-4ee6-9c95-2ffb4e73bb9a
status: test
description: Detects when an user account is locked out.
references:
    - https://developer.okta.com/docs/reference/api/system-log/
    - https://developer.okta.com/docs/reference/api/event-types/
author: Austin Songer @austinsonger
date: 2021-09-12
modified: 2026-04-27
tags:
    - attack.impact
    - attack.t1531
logsource:
    product: okta
    service: okta
detection:
    selection:
        displayMessage: Max sign in attempts exceeded
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    displayMessage: Max sign in attempts exceeded

Indicators

These rows show field, operator, and value matches.

Password Policy Enumerated

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

Detects when the password policy is enumerated.

MITRE ATT&CK Coverage

TacticTechniques
Discovery

Telemetry Coverage

Rule Body

title: Password Policy Enumerated
id: 12ba6a38-adb3-4d6b-91ba-a7fb248e3199
status: test
description: Detects when the password policy is enumerated.
references:
    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4661
    - https://github.com/jpalanco/alienvault-ossim/blob/f74359c0c027e42560924b5cff25cdf121e5505a/os-sim/agent/src/ParserUtil.py#L951
author: Zach Mathis
date: 2023-05-19
tags:
    - attack.discovery
    - attack.t1201
logsource:
    product: windows
    service: security
    definition: dfd8c0f4-e6ad-4e07-b91b-f2fca0ddef64
detection:
    selection:
        EventID: 4661 # A handle to an object was requested.
        AccessList|contains: '%%5392' # ReadPasswordParameters
        ObjectServer: 'Security Account Manager'
    condition: selection
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 4661
    AccessList|contains: '%%5392'
    ObjectServer: 'Security Account Manager'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
AccessListmatch
  • %%5392 corpus 2 (sigma 2)
field:"AccessList" kind:match value:"%%5392"
ObjectServereq
  • Security Account Manager corpus 7 (sigma 7)
field:"ObjectServer" kind:eq value:"Security Account Manager"

Pingback Backdoor Activity

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

Detects the use of Pingback backdoor that creates ICMP tunnel for C2 as described in the trustwave report

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Pingback Backdoor Activity
id: b2400ffb-7680-47c0-b08a-098a7de7e7a9
related:
    - id: 35a7dc42-bc6f-46e0-9f83-81f8e56c8d4b # DLL Load
      type: similar
    - id: 2bd63d53-84d4-4210-80ff-bf0658f1bf78 # File Indicators
      type: similar
status: test
description: Detects the use of Pingback backdoor that creates ICMP tunnel for C2 as described in the trustwave report
references:
    - https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/backdoor-at-the-end-of-the-icmp-tunnel
    - https://app.any.run/tasks/4a54c651-b70b-4b72-84d7-f34d301d6406
author: Bhabesh Raj
date: 2021-05-05
modified: 2023-02-17
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.execution
    - attack.stealth
    - attack.t1574.001
    - detection.emerging-threats
logsource:
    product: windows
    category: process_creation
detection:
    selection:
        ParentImage|endswith: '\updata.exe'
        CommandLine|contains|all:
            - 'config'
            - 'msdtc'
            - 'start'
            - 'auto'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\updata.exe'
    CommandLine|contains|all:
        - 'config'
        - 'msdtc'
        - 'start'
        - 'auto'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • auto
  • config corpus 16 (sigma 15, splunk 1)
  • msdtc corpus 3 (sigma 3)
  • start corpus 13 (sigma 11, splunk 2)
field:"CommandLine" kind:match
ParentImageends_with
  • \updata.exe
field:"ParentImage" kind:ends_with value:"\updata.exe"

Potential CVE-2021-40444 Exploitation Attempt

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

Detects potential exploitation of CVE-2021-40444 via suspicious process patterns seen in in-the-wild exploitations

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential CVE-2021-40444 Exploitation Attempt
id: 894397c6-da03-425c-a589-3d09e7d1f750
status: test
description: Detects potential exploitation of CVE-2021-40444 via suspicious process patterns seen in in-the-wild exploitations
references:
    - https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-40444
    - https://twitter.com/neonprimetime/status/1435584010202255375
    - https://www.joesandbox.com/analysis/476188/1/iochtml
author: Florian Roth (Nextron Systems), @neonprimetime
date: 2021-09-08
modified: 2023-02-04
tags:
    - attack.execution
    - attack.t1059
    - cve.2021-40444
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\control.exe'
        ParentImage|endswith:
            - '\winword.exe'
            - '\powerpnt.exe'
            - '\excel.exe'
    filter:
        CommandLine|endswith:
            - '\control.exe input.dll'
            - '\control.exe" input.dll'
    condition: selection and not filter
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    Image|endswith: '\control.exe'
    ParentImage|endswith:
        - '\winword.exe'
        - '\powerpnt.exe'
        - '\excel.exe'

Stage 2: not filter

filter:
    CommandLine|endswith:
        - '\control.exe input.dll'
        - '\control.exe" input.dll'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \control.exe corpus 5 (sigma 5)
field:"Image" kind:ends_with value:"\control.exe"
ParentImageends_with
  • \excel.exe corpus 8 (sigma 8)
  • \powerpnt.exe corpus 6 (sigma 6)
  • \winword.exe corpus 10 (sigma 10)
field:"ParentImage" kind:ends_with

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLineends_with\control.exe input.dllexcludes:CommandLine field:"CommandLine" value:"\control.exe input.dll"
CommandLineends_with\control.exe" input.dllexcludes:CommandLine

Potential CVE-2023-36874 Exploitation - Fake Wermgr.Exe Creation

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

Detects the creation of a file named "wermgr.exe" being created in an uncommon directory. This could be a sign of potential exploitation of CVE-2023-36874.

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Potential CVE-2023-36874 Exploitation - Fake Wermgr.Exe Creation
id: ad0960eb-0015-4d16-be13-b3d9f18f1342
status: test
description: Detects the creation of a file named "wermgr.exe" being created in an uncommon directory. This could be a sign of potential exploitation of CVE-2023-36874.
references:
    - https://github.com/Wh04m1001/CVE-2023-36874
    - https://www.crowdstrike.com/blog/falcon-complete-zero-day-exploit-cve-2023-36874/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-08-23
modified: 2025-01-13
tags:
    - attack.execution
    - cve.2023-36874
    - detection.emerging-threats
logsource:
    category: file_event
    product: windows
detection:
    selection:
        TargetFilename|endswith: '\wermgr.exe'
    filter_main_locations:
        TargetFilename|contains:
            - ':\$WINDOWS.~BT\NewOS\'
            - ':\$WinREAgent\' # From "wuauclt.exe"
            - ':\Windows\servicing\LCU\'
            - ':\Windows\System32\'
            - ':\Windows\SysWOW64\'
            - ':\Windows\WinSxS\'
            - ':\WUDownloadCache\' # Windows Update Download Cache
            - ':\Windows\SoftwareDistribution\Download\'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

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

Stage 2: not filter_main_locations

filter_main_locations:
    TargetFilename|contains:
        - ':\$WINDOWS.~BT\NewOS\'
        - ':\$WinREAgent\'
        - ':\Windows\servicing\LCU\'
        - ':\Windows\System32\'
        - ':\Windows\SysWOW64\'
        - ':\Windows\WinSxS\'
        - ':\WUDownloadCache\'
        - ':\Windows\SoftwareDistribution\Download\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • \wermgr.exe corpus 2 (sigma 2)
field:"TargetFilename" kind:ends_with value:"\wermgr.exe"

Exclusions

The rule actively suppresses these predicates.

Potential Pikabot C2 Activity

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

Detects the execution of rundll32 that leads to an external network connection. The malware Pikabot has been seen to use this technique to initiate C2-communication through hard-coded Windows binaries.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Command & Control

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 3: Network connection

Rule Body

title: Potential Pikabot C2 Activity
id: cae6cee6-0244-44d2-84ed-e65f548eb7dc
status: test
description: |
    Detects the execution of rundll32 that leads to an external network connection.
    The malware Pikabot has been seen to use this technique to initiate C2-communication through hard-coded Windows binaries.
references:
    - https://www.virustotal.com/gui/file/d72af640b71b8e3eca3eba660dd7c7f029ff8852bcacaa379e7b6c57cf4d9b44
    - https://www.virustotal.com/gui/file/6bb4cdbaef03b732a93559a58173e7f16b29bfb159a1065fae9185000ff23b4b
    - https://github.com/pr0xylife/Pikabot/blob/7f7723a74ca325ec54c6e61e076acce9a4b20538/Pikabot_06.12.2023.txt
author: Andreas Braathen (mnemonic.io)
date: 2023-10-27
modified: 2024-01-26
tags:
    - attack.command-and-control
    - attack.t1573
    - detection.emerging-threats
logsource:
    product: windows
    category: network_connection
    definition: 'Requirements: By default the network_connection type event might not contain the ParentImage. Make sure you collect such fields in order to use this rule'
detection:
    selection:
        ParentImage|endswith: '\rundll32.exe'
        Image|endswith:
            # Note: Only add processes seen used by Pikabot to avoid collision with other strains of malware
            - '\SearchFilterHost.exe'
            - '\SearchProtocolHost.exe'
            - '\sndvol.exe'
            - '\wermgr.exe'
            - '\wwahost.exe'
        Protocol: tcp
        Initiated: 'true'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\rundll32.exe'
    Image|endswith:
        - '\SearchFilterHost.exe'
        - '\SearchProtocolHost.exe'
        - '\sndvol.exe'
        - '\wermgr.exe'
        - '\wwahost.exe'
    Protocol: tcp
    Initiated: 'true'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \SearchFilterHost.exe corpus 3 (sigma 3)
  • \SearchProtocolHost.exe corpus 2 (sigma 2)
  • \sndvol.exe corpus 2 (sigma 2)
  • \wermgr.exe corpus 6 (sigma 5, splunk 1)
  • \wwahost.exe corpus 2 (sigma 2)
field:"Image" kind:ends_with
Initiatedeq
  • true corpus 50 (sigma 50)
field:"Initiated" kind:eq value:"true"
ParentImageends_with
  • \rundll32.exe corpus 15 (sigma 15)
field:"ParentImage" kind:ends_with value:"\rundll32.exe"
Protocoleq
  • tcp corpus 11 (elastic 10, sigma 1)
field:"Protocol" kind:eq value:"tcp"

Potential RjvPlatform.DLL Sideloading From Non-Default Location

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

Detects potential DLL sideloading of "RjvPlatform.dll" by "SystemResetPlatform.exe" located in a non-default location.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Potential RjvPlatform.DLL Sideloading From Non-Default Location
id: 0e0bc253-07ed-43f1-816d-e1b220fe8971
status: test
description: Detects potential DLL sideloading of "RjvPlatform.dll" by "SystemResetPlatform.exe" located in a non-default location.
references:
    - https://twitter.com/0gtweet/status/1666716511988330499
author: X__Junior (Nextron Systems)
date: 2023-06-09
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith: '\RjvPlatform.dll'
        Image: '\SystemResetPlatform.exe'
    filter_main_legit_path:
        Image|startswith: 'C:\Windows\System32\SystemResetPlatform\'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    ImageLoaded|endswith: '\RjvPlatform.dll'
    Image: '\SystemResetPlatform.exe'

Stage 2: not filter_main_legit_path

filter_main_legit_path:
    Image|startswith: 'C:\Windows\System32\SystemResetPlatform\'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imagestarts_withC:\Windows\System32\SystemResetPlatform\excludes:Image field:"Image" value:"C:\Windows\System32\SystemResetPlatform\"

PUA - Restic Backup Tool Execution

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

Detects the execution of the Restic backup tool, which can be used for data exfiltration. Threat actors may leverage Restic to back up and exfiltrate sensitive data to remote storage locations, including cloud services. If not legitimately used in the enterprise environment, its presence may indicate malicious activity.

Known False Positives

  • Legitimate use of Restic for backup purposes within the organization.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: PUA - Restic Backup Tool Execution
id: 6ddff2e8-ea1a-45d0-8938-93dfc1d67ae7
status: experimental
description: |
    Detects the execution of the Restic backup tool, which can be used for data exfiltration.
    Threat actors may leverage Restic to back up and exfiltrate sensitive data to remote storage locations, including cloud services.
    If not legitimately used in the enterprise environment, its presence may indicate malicious activity.
references:
    - https://thedfirreport.com/2024/09/30/nitrogen-campaign-drops-sliver-and-ends-with-blackcat-ransomware/#exfiltration
    - https://restic.net/
    - https://restic.readthedocs.io/en/stable/030_preparing_a_new_repo.html
author: Nounou Mbeiri, Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-10-17
tags:
    - attack.exfiltration
    - attack.t1048
    - attack.t1567.002
logsource:
    product: windows
    category: process_creation
detection:
    selection_specific:
        - CommandLine|contains|all:
              - '--password-file'
              - 'init'
              - ' -r '
        - CommandLine|contains|all:
              - '--use-fs-snapshot'
              - 'backup'
              - ' -r '
    selection_restic:
        CommandLine|contains:
            - 'sftp:'
            - 'rest:http'
            - 's3:s3.'
            - 's3.http'
            - 'azure:'
            - ' gs:'
            - 'rclone:'
            - 'swift:'
            - ' b2:'
        CommandLine|contains|all:
            - ' init '
            - ' -r '
    condition: 1 of selection_*
falsepositives:
    - Legitimate use of Restic for backup purposes within the organization.
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_specific

selection_specific:
    - CommandLine|contains|all:
          - '--password-file'
          - 'init'
          - ' -r '
    - CommandLine|contains|all:
          - '--use-fs-snapshot'
          - 'backup'
          - ' -r '

Stage 2: selection_restic

selection_restic:
    CommandLine|contains:
        - 'sftp:'
        - 'rest:http'
        - 's3:s3.'
        - 's3.http'
        - 'azure:'
        - ' gs:'
        - 'rclone:'
        - 'swift:'
        - ' b2:'
    CommandLine|contains|all:
        - ' init '
        - ' -r '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -r corpus 10 (sigma 10)
  • b2:
  • gs:
  • init
  • --password-file
  • --use-fs-snapshot
  • azure:
  • backup corpus 6 (sigma 5, splunk 1)
  • init
  • rclone:
  • rest:http
  • s3.http
  • s3:s3.
  • sftp:
  • swift:
field:"CommandLine" kind:match

PUA - Suspicious ActiveDirectory Enumeration Via AdFind.EXE

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

Detects active directory enumeration activity using known AdFind CLI flags

Known False Positives

  • Authorized administrative activity

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: PUA - Suspicious ActiveDirectory Enumeration Via AdFind.EXE
id: 455b9d50-15a1-4b99-853f-8d37655a4c1b
related:
    - id: 9a132afa-654e-11eb-ae93-0242ac130002
      type: similar
    - id: 514e7e3e-b3b4-4a67-af60-be20f139198b
      type: similar
status: test
description: Detects active directory enumeration activity using known AdFind CLI flags
references:
    - https://www.joeware.net/freetools/tools/adfind/
    - https://social.technet.microsoft.com/wiki/contents/articles/7535.adfind-command-examples.aspx
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1087.002/T1087.002.md
author: frack113
date: 2021-12-13
modified: 2023-03-05
tags:
    - attack.discovery
    - attack.t1087.002
logsource:
    product: windows
    category: process_creation
detection:
    selection_password: # Listing password policy
        CommandLine|contains:
            - lockoutduration
            - lockoutthreshold
            - lockoutobservationwindow
            - maxpwdage
            - minpwdage
            - minpwdlength
            - pwdhistorylength
            - pwdproperties
    selection_enum_ad: # Enumerate Active Directory Admins
        CommandLine|contains: '-sc admincountdmp'
    selection_enum_exchange: # Enumerate Active Directory Exchange AD Objects
        CommandLine|contains: '-sc exchaddresses'
    condition: 1 of selection_*
falsepositives:
    - Authorized administrative activity
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_pua_adfind_enumeration/info.yml

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_password

selection_password:
    CommandLine|contains:
        - lockoutduration
        - lockoutthreshold
        - lockoutobservationwindow
        - maxpwdage
        - minpwdage
        - minpwdlength
        - pwdhistorylength
        - pwdproperties

Stage 2: selection_enum_ad

selection_enum_ad:
    CommandLine|contains: '-sc admincountdmp'

Stage 3: selection_enum_exchange

selection_enum_exchange:
    CommandLine|contains: '-sc exchaddresses'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -sc admincountdmp
  • -sc exchaddresses
  • lockoutduration
  • lockoutobservationwindow
  • lockoutthreshold
  • maxpwdage
  • minpwdage
  • minpwdlength
  • pwdhistorylength
  • pwdproperties
field:"CommandLine" kind:match

Remote Access Tool - Cmd.EXE Execution via AnyViewer

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

Detects execution of "cmd.exe" via the AnyViewer RMM agent on a remote management sessions.

Known False Positives

  • Legitimate use for admin activity.

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique
PersistenceNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Remote Access Tool - Cmd.EXE Execution via AnyViewer
id: bc533330-fc29-44c0-b245-7dc6e5939c87
status: test
description: |
    Detects execution of "cmd.exe" via the AnyViewer RMM agent on a remote management sessions.
references:
    - https://www.anyviewer.com/help/remote-technical-support.html
author: '@kostastsale'
date: 2024-08-03
tags:
    - attack.execution
    - attack.persistence
    - detection.threat-hunting
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\AVCore.exe'
        ParentCommandLine|contains: 'AVCore.exe" -d'
        Image|endswith: '\cmd.exe'
    condition: selection
falsepositives:
    - Legitimate use for admin activity.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\AVCore.exe'
    ParentCommandLine|contains: 'AVCore.exe" -d'
    Image|endswith: '\cmd.exe'

Indicators

These rows show field, operator, and value matches.

Renamed AdFind Execution

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

Detects the use of a renamed Adfind.exe. AdFind continues to be seen across majority of breaches. It is used to domain trust discovery to plan out subsequent steps in the attack chain.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Renamed AdFind Execution
id: df55196f-f105-44d3-a675-e9dfb6cc2f2b
status: test
description: Detects the use of a renamed Adfind.exe. AdFind continues to be seen across majority of breaches. It is used to domain trust discovery to plan out subsequent steps in the attack chain.
references:
    - https://www.joeware.net/freetools/tools/adfind/
    - https://thedfirreport.com/2020/05/08/adfind-recon/
    - https://thedfirreport.com/2021/01/11/trickbot-still-alive-and-well/
    - https://www.microsoft.com/security/blog/2021/01/20/deep-dive-into-the-solorigate-second-stage-activation-from-sunburst-to-teardrop-and-raindrop/
    - https://social.technet.microsoft.com/wiki/contents/articles/7535.adfind-command-examples.aspx
    - https://github.com/center-for-threat-informed-defense/adversary_emulation_library/blob/bf62ece1c679b07b5fb49c4bae947fe24c81811f/fin6/Emulation_Plan/Phase1.md
author: Florian Roth (Nextron Systems)
date: 2022-08-21
modified: 2025-02-26
tags:
    - attack.discovery
    - attack.t1018
    - attack.t1087.002
    - attack.t1482
    - attack.t1069.002
logsource:
    category: process_creation
    product: windows
detection:
    selection_1:
        CommandLine|contains:
            - 'domainlist'
            - 'trustdmp'
            - 'dcmodes'
            - 'adinfo'
            - ' dclist '
            - 'computer_pwdnotreqd'
            - 'objectcategory='
            - '-subnets -f'
            - 'name="Domain Admins"'
            - '-sc u:'
            - 'domainncs'
            - 'dompol'
            - ' oudmp '
            - 'subnetdmp'
            - 'gpodmp'
            - 'fspdmp'
            - 'users_noexpire'
            - 'computers_active'
            - 'computers_pwdnotreqd'
    selection_2:
        Hashes|contains:
            - 'IMPHASH=BCA5675746D13A1F246E2DA3C2217492'
            - 'IMPHASH=53E117A96057EAF19C41380D0E87F1C2'
            - 'IMPHASH=d144de8117df2beceaba2201ad304764'
            - 'IMPHASH=12ce1c0f3f5837ecc18a3782408fa975'
            - 'IMPHASH=4fbf3f084fbbb2470b80b2013134df35'
            - 'IMPHASH=49b639b4acbecc49d72a01f357aa4930'
            - 'IMPHASH=680dad9e300346e05a85023965867201'
            - 'IMPHASH=21aa085d54992511b9f115355e468782'
    selection_3:
        OriginalFileName: 'AdFind.exe'
    filter:
        Image|endswith: '\AdFind.exe'
    condition: 1 of selection* and not filter
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_renamed_adfind/info.yml

Stages and Predicates

Stage 0: condition

1 of selection* and not filter

Stage 1: selection_1

selection_1:
    CommandLine|contains:
        - 'domainlist'
        - 'trustdmp'
        - 'dcmodes'
        - 'adinfo'
        - ' dclist '
        - 'computer_pwdnotreqd'
        - 'objectcategory='
        - '-subnets -f'
        - 'name="Domain Admins"'
        - '-sc u:'
        - 'domainncs'
        - 'dompol'
        - ' oudmp '
        - 'subnetdmp'
        - 'gpodmp'
        - 'fspdmp'
        - 'users_noexpire'
        - 'computers_active'
        - 'computers_pwdnotreqd'

Stage 2: selection_2

selection_2:
    Hashes|contains:
        - 'IMPHASH=BCA5675746D13A1F246E2DA3C2217492'
        - 'IMPHASH=53E117A96057EAF19C41380D0E87F1C2'
        - 'IMPHASH=d144de8117df2beceaba2201ad304764'
        - 'IMPHASH=12ce1c0f3f5837ecc18a3782408fa975'
        - 'IMPHASH=4fbf3f084fbbb2470b80b2013134df35'
        - 'IMPHASH=49b639b4acbecc49d72a01f357aa4930'
        - 'IMPHASH=680dad9e300346e05a85023965867201'
        - 'IMPHASH=21aa085d54992511b9f115355e468782'

Stage 3: selection_3

selection_3:
    OriginalFileName: 'AdFind.exe'

Stage 4: not filter

filter:
    Image|endswith: '\AdFind.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • dclist
  • oudmp corpus 2 (sigma 2)
  • -sc u: corpus 2 (sigma 2)
  • -subnets -f corpus 2 (sigma 2)
  • adinfo corpus 2 (sigma 2)
  • computer_pwdnotreqd corpus 2 (sigma 2)
  • computers_active corpus 2 (sigma 2)
  • computers_pwdnotreqd corpus 2 (sigma 2)
  • dcmodes corpus 2 (sigma 2)
  • domainlist corpus 2 (sigma 2)
  • domainncs corpus 2 (sigma 2)
  • dompol corpus 2 (sigma 2)
  • fspdmp corpus 2 (sigma 2)
  • gpodmp corpus 2 (sigma 2)
  • name="Domain Admins" corpus 2 (sigma 2)
  • objectcategory= corpus 3 (sigma 2, splunk 1)
  • subnetdmp corpus 2 (sigma 2)
  • trustdmp corpus 2 (sigma 2)
  • users_noexpire corpus 2 (sigma 2)
field:"CommandLine" kind:match
Hashesmatch
  • IMPHASH=12ce1c0f3f5837ecc18a3782408fa975 corpus 2 (sigma 2)
  • IMPHASH=21aa085d54992511b9f115355e468782 corpus 2 (sigma 2)
  • IMPHASH=49b639b4acbecc49d72a01f357aa4930 corpus 2 (sigma 2)
  • IMPHASH=4fbf3f084fbbb2470b80b2013134df35 corpus 2 (sigma 2)
  • IMPHASH=53E117A96057EAF19C41380D0E87F1C2 corpus 2 (sigma 2)
  • IMPHASH=680dad9e300346e05a85023965867201 corpus 2 (sigma 2)
  • IMPHASH=BCA5675746D13A1F246E2DA3C2217492 corpus 2 (sigma 2)
  • IMPHASH=d144de8117df2beceaba2201ad304764 corpus 2 (sigma 2)
field:"Hashes" kind:match
OriginalFileNameeq
  • AdFind.exe corpus 3 (sigma 2, splunk 1)
field:"OriginalFileName" kind:eq value:"AdFind.exe"

Exclusions

The rule actively suppresses these predicates.

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

Renamed CURL.EXE Execution

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

Detects the execution of a renamed "CURL.exe" binary based on the PE metadata fields

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Renamed CURL.EXE Execution
id: 7530cd3d-7671-43e3-b209-976966f6ea48
status: test
description: Detects the execution of a renamed "CURL.exe" binary based on the PE metadata fields
references:
    - https://twitter.com/Kostastsale/status/1700965142828290260
author: X__Junior (Nextron Systems)
date: 2023-09-11
modified: 2023-10-12
tags:
    - attack.execution
    - attack.stealth
    - attack.t1059
    - attack.t1202
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - OriginalFileName: 'curl.exe'
        - Description: 'The curl executable'
    filter_main_img:
        Image|contains: '\curl'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_renamed_curl/info.yml

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    - OriginalFileName: 'curl.exe'
    - Description: 'The curl executable'

Stage 2: not filter_main_img

filter_main_img:
    Image|contains: '\curl'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Descriptioneq
  • The curl executable
field:"Description" kind:eq value:"The curl executable"
OriginalFileNameeq
  • curl.exe corpus 22 (sigma 13, elastic 6, splunk 3)
field:"OriginalFileName" kind:eq value:"curl.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imagematch\curlexcludes:Image field:"Image" value:"\curl"

Renamed Gpg.EXE Execution

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

Detects the execution of a renamed "gpg.exe". Often used by ransomware and loaders to decrypt/encrypt data.

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Renamed Gpg.EXE Execution
id: ec0722a3-eb5c-4a56-8ab2-bf6f20708592
status: test
description: Detects the execution of a renamed "gpg.exe". Often used by ransomware and loaders to decrypt/encrypt data.
references:
    - https://securelist.com/locked-out/68960/
author: Nasreddine Bencherchali (Nextron Systems), frack113
date: 2023-08-09
tags:
    - attack.impact
    - attack.t1486
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        OriginalFileName: 'gpg.exe'
    filter_main_img:
        Image|endswith:
            - '\gpg.exe'
            - '\gpg2.exe'
    condition: selection and not 1 of filter_main_*
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    OriginalFileName: 'gpg.exe'

Stage 2: not filter_main_img

filter_main_img:
    Image|endswith:
        - '\gpg.exe'
        - '\gpg2.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
OriginalFileNameeq
  • gpg.exe corpus 2 (sigma 2)
field:"OriginalFileName" kind:eq value:"gpg.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\gpg.exeexcludes:Image field:"Image" value:"\gpg.exe"
Imageends_with\gpg2.exeexcludes:Image field:"Image" value:"\gpg2.exe"

Run PowerShell Script from ADS

#
Status
test
Severity
high
Author
Sergey Soldatov, Kaspersky Lab, oscd.community
Source
github.com/SigmaHQ/sigma

Detects PowerShell script execution from Alternate Data Stream (ADS)

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Run PowerShell Script from ADS
id: 45a594aa-1fbd-4972-a809-ff5a99dd81b8
status: test
description: Detects PowerShell script execution from Alternate Data Stream (ADS)
references:
    - https://github.com/p0shkatz/Get-ADS/blob/1c3a3562e713c254edce1995a7d9879c687c7473/Get-ADS.ps1
author: Sergey Soldatov, Kaspersky Lab, oscd.community
date: 2019-10-30
modified: 2022-07-14
tags:
    - attack.stealth
    - attack.t1564.004
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
        Image|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
        CommandLine|contains|all:
            - 'Get-Content'
            - '-Stream'
    condition: selection
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_powershell_run_script_from_ads/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith:
        - '\powershell.exe'
        - '\pwsh.exe'
    Image|endswith:
        - '\powershell.exe'
        - '\pwsh.exe'
    CommandLine|contains|all:
        - 'Get-Content'
        - '-Stream'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -Stream
  • Get-Content corpus 2 (sigma 2)
field:"CommandLine" kind:match
Imageends_with
  • \powershell.exe corpus 181 (sigma 180, splunk 1)
  • \pwsh.exe corpus 166 (sigma 166)
field:"Image" kind:ends_with
ParentImageends_with
  • \powershell.exe corpus 24 (sigma 24)
  • \pwsh.exe corpus 21 (sigma 21)
field:"ParentImage" kind:ends_with

Sticky key sethc command for replacement by CMD

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

Detects scenarios where an attacker attempts to replace the original sethc.exe file by cmd.exe.

Known False Positives

  • None

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Sticky key sethc command for replacement by CMD
description: Detects scenarios where an attacker attempts to replace the original sethc.exe file by cmd.exe.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0004-Privilege%20Escalation/T1546-Image%20File%20Execution%20Options%20Injection
- https://blogs.technet.microsoft.com/jonathantrull/2016/10/03/detecting-sticky-key-backdoors/
- https://www.mandiant.com/resources/apt29-domain-frontin
- https://www.clearskysec.com/wp-content/uploads/2020/02/ClearSky-Fox-Kitten-Campaign-v1.pdf
tags:
- attack.privilege_escalation
- attack.t1546.008
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: process_creation
detection:
  selection:
    EventID: 4688
    CommandLine|contains|all: # full command 'copy /y C:\windows\system32\cmd.exe C:\windows\system32\sethc.exe'
      - copy
      - cmd.exe
      - sethc.exe
  condition: selection
falsepositives:
- None
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  EventID: 4688
  CommandLine|contains|all:
    - copy
    - cmd.exe
    - sethc.exe

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • cmd.exe corpus 3 (sigma 3)
  • copy corpus 4 (sigma 4)
  • sethc.exe corpus 4 (sigma 4)
field:"CommandLine" kind:match

Suspicious FileFix Execution Pattern

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

Detects suspicious FileFix execution patterns where users are tricked into running malicious commands through browser file upload dialog manipulation. This attack typically begins when users visit malicious websites impersonating legitimate services or news platforms, which may display fake CAPTCHA challenges or direct instructions to open file explorer and paste clipboard content. The clipboard content usually contains commands that download and execute malware, such as information stealing tools.

Known False Positives

  • Legitimate use of PowerShell or other utilities launched from browser extensions or automation tools

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Suspicious FileFix Execution Pattern
id: b5b29e4e-31fa-4fdf-b058-296e7a1aa0c2
related:
    - id: 4fee3d51-8069-4a4c-a0f7-924fcaff2c70
      type: similar
    - id: 4be03877-d5b6-4520-85c9-a5911c0a656c
      type: obsolete
status: experimental
description: |
    Detects suspicious FileFix execution patterns where users are tricked into running malicious commands through browser file upload dialog manipulation.
    This attack typically begins when users visit malicious websites impersonating legitimate services or news platforms,
    which may display fake CAPTCHA challenges or direct instructions to open file explorer and paste clipboard content.
    The clipboard content usually contains commands that download and execute malware, such as information stealing tools.
references:
    - https://mrd0x.com/filefix-clickfix-alternative/
    - https://expel.com/blog/cache-smuggling-when-a-picture-isnt-a-thousand-words/ # phishing lure directly asking users to open file explorer and paste command
    - https://blog.checkpoint.com/research/filefix-the-new-social-engineering-attack-building-on-clickfix-tested-in-the-wild/
author: 0xFustang, Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-11-24
tags:
    - attack.execution
    - attack.t1204.004
logsource:
    category: process_creation
    product: windows
detection:
    selection_exec_parent:
        # This is case where phishing pages trick users to paste commands in browser file upload dialog
        ParentImage|endswith:
            - '\brave.exe'
            - '\chrome.exe'
            - '\firefox.exe'
            - '\msedge.exe'
        CommandLine|contains: '#'
    selection_cli_lolbin:
        CommandLine|contains:
            - '%comspec%'
            - 'bitsadmin'
            - 'certutil'
            - 'cmd'
            - 'cscript'
            - 'curl'
            - 'finger'
            - 'mshta'
            - 'powershell'
            - 'pwsh'
            - 'regsvr32'
            - 'rundll32'
            - 'schtasks'
            - 'wget'
            - 'wscript'
    selection_cli_captcha:
        CommandLine|contains:
            - 'account'
            - 'anti-bot'
            - 'botcheck'
            - 'captcha'
            - 'challenge'
            - 'confirmation'
            - 'fraud'
            - 'human'
            - 'identification'
            - 'identificator'
            - 'identity'
            - 'robot'
            - 'validation'
            - 'verification'
            - 'verify'
    condition: selection_exec_parent and 1 of selection_cli_*
falsepositives:
    - Legitimate use of PowerShell or other utilities launched from browser extensions or automation tools
level: high

Stages and Predicates

Stage 0: condition

selection_exec_parent and 1 of selection_cli_*

Stage 1: selection_exec_parent

selection_exec_parent:
    ParentImage|endswith:
        - '\brave.exe'
        - '\chrome.exe'
        - '\firefox.exe'
        - '\msedge.exe'
    CommandLine|contains: '#'

Stage 2: selection_cli_lolbin

selection_cli_lolbin:
    CommandLine|contains:
        - '%comspec%'
        - 'bitsadmin'
        - 'certutil'
        - 'cmd'
        - 'cscript'
        - 'curl'
        - 'finger'
        - 'mshta'
        - 'powershell'
        - 'pwsh'
        - 'regsvr32'
        - 'rundll32'
        - 'schtasks'
        - 'wget'
        - 'wscript'

Stage 3: selection_cli_captcha

selection_cli_captcha:
    CommandLine|contains:
        - 'account'
        - 'anti-bot'
        - 'botcheck'
        - 'captcha'
        - 'challenge'
        - 'confirmation'
        - 'fraud'
        - 'human'
        - 'identification'
        - 'identificator'
        - 'identity'
        - 'robot'
        - 'validation'
        - 'verification'
        - 'verify'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • # corpus 3 (sigma 3)
  • %comspec% corpus 6 (sigma 5, splunk 1)
  • account corpus 2 (sigma 2)
  • anti-bot corpus 2 (sigma 2)
  • bitsadmin corpus 10 (sigma 10)
  • botcheck corpus 2 (sigma 2)
  • captcha corpus 2 (sigma 2)
  • certutil corpus 10 (sigma 10)
  • challenge corpus 2 (sigma 2)
  • cmd corpus 8 (sigma 8)
  • confirmation corpus 2 (sigma 2)
  • cscript corpus 15 (sigma 15)
  • curl corpus 17 (sigma 14, elastic 2, splunk 1)
  • finger corpus 2 (sigma 2)
  • fraud corpus 2 (sigma 2)
  • human corpus 2 (sigma 2)
  • identification corpus 2 (sigma 2)
  • identificator corpus 2 (sigma 2)
  • identity corpus 2 (sigma 2)
  • mshta corpus 14 (sigma 14)
  • powershell corpus 24 (sigma 24)
  • pwsh corpus 7 (sigma 7)
  • regsvr32 corpus 15 (sigma 15)
  • robot corpus 2 (sigma 2)
  • rundll32 corpus 23 (sigma 23)
  • schtasks corpus 5 (sigma 5)
  • validation corpus 2 (sigma 2)
  • verification corpus 2 (sigma 2)
  • verify corpus 2 (sigma 2)
  • wget corpus 10 (sigma 8, elastic 1, splunk 1)
  • wscript corpus 16 (sigma 16)
field:"CommandLine" kind:match
ParentImageends_with
  • \brave.exe corpus 2 (sigma 2)
  • \chrome.exe corpus 5 (sigma 5)
  • \firefox.exe corpus 4 (sigma 4)
  • \msedge.exe corpus 4 (sigma 4)
field:"ParentImage" kind:ends_with

Suspicious Program Location Whitelisted In Firewall Via Netsh.EXE

#
Status
test
Severity
high
Author
Sander Wiebing, Jonhnathan Ribeiro, Daniil Yugoslavskiy, oscd.community
Source
github.com/SigmaHQ/sigma

Detects Netsh command execution that whitelists a program located in a suspicious location in the Windows Firewall

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Suspicious Program Location Whitelisted In Firewall Via Netsh.EXE
id: a35f5a72-f347-4e36-8895-9869b0d5fc6d
status: test
description: Detects Netsh command execution that whitelists a program located in a suspicious location in the Windows Firewall
references:
    - https://www.virusradar.com/en/Win32_Kasidet.AD/description
    - https://www.hybrid-analysis.com/sample/07e789f4f2f3259e7559fdccb36e96814c2dbff872a21e1fa03de9ee377d581f?environmentId=100
author: Sander Wiebing, Jonhnathan Ribeiro, Daniil Yugoslavskiy, oscd.community
date: 2020-05-25
modified: 2023-12-11
tags:
    - attack.defense-impairment
    - attack.t1686.003
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\netsh.exe'
        - OriginalFileName: 'netsh.exe'
    selection_cli:
        - CommandLine|contains|all:
              - 'firewall'
              - 'add'
              - 'allowedprogram'
        - CommandLine|contains|all:
              - 'advfirewall'
              - 'firewall'
              - 'add'
              - 'rule'
              - 'action=allow'
              - 'program='
    selection_paths:
        CommandLine|contains:
            - ':\$Recycle.bin\'
            - ':\RECYCLER.BIN\'
            - ':\RECYCLERS.BIN\'
            - ':\SystemVolumeInformation\'
            - ':\Temp\'
            - ':\Users\Default\'
            - ':\Users\Desktop\'
            - ':\Users\Public\'
            - ':\Windows\addins\'
            - ':\Windows\cursors\'
            - ':\Windows\debug\'
            - ':\Windows\drivers\'
            - ':\Windows\fonts\'
            - ':\Windows\help\'
            - ':\Windows\system32\tasks\'
            - ':\Windows\Tasks\'
            - ':\Windows\Temp\'
            - '\Downloads\'
            - '\Local Settings\Temporary Internet Files\'
            - '\Temporary Internet Files\Content.Outlook\'
            - '%Public%\'
            - '%TEMP%'
            - '%TMP%'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_cli

selection_cli:
    - CommandLine|contains|all:
          - 'firewall'
          - 'add'
          - 'allowedprogram'
    - CommandLine|contains|all:
          - 'advfirewall'
          - 'firewall'
          - 'add'
          - 'rule'
          - 'action=allow'
          - 'program='

Stage 3: selection_paths

selection_paths:
    CommandLine|contains:
        - ':\$Recycle.bin\'
        - ':\RECYCLER.BIN\'
        - ':\RECYCLERS.BIN\'
        - ':\SystemVolumeInformation\'
        - ':\Temp\'
        - ':\Users\Default\'
        - ':\Users\Desktop\'
        - ':\Users\Public\'
        - ':\Windows\addins\'
        - ':\Windows\cursors\'
        - ':\Windows\debug\'
        - ':\Windows\drivers\'
        - ':\Windows\fonts\'
        - ':\Windows\help\'
        - ':\Windows\system32\tasks\'
        - ':\Windows\Tasks\'
        - ':\Windows\Temp\'
        - '\Downloads\'
        - '\Local Settings\Temporary Internet Files\'
        - '\Temporary Internet Files\Content.Outlook\'
        - '%Public%\'
        - '%TEMP%'
        - '%TMP%'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • %Public%\
  • %TEMP% corpus 14 (sigma 13, kusto 1)
  • %TMP% corpus 13 (sigma 13)
  • :\$Recycle.bin\
  • :\RECYCLER.BIN\
  • :\RECYCLERS.BIN\
  • :\SystemVolumeInformation\
  • :\Temp\ corpus 14 (sigma 14)
  • :\Users\Default\ corpus 3 (sigma 3)
  • :\Users\Desktop\
  • :\Users\Public\ corpus 20 (sigma 18, elastic 2)
  • :\Windows\Tasks\ corpus 6 (sigma 6)
  • :\Windows\Temp\ corpus 16 (sigma 16)
  • :\Windows\addins\
  • :\Windows\cursors\
  • :\Windows\debug\
  • :\Windows\drivers\
  • :\Windows\fonts\
  • :\Windows\help\ corpus 2 (sigma 2)
  • :\Windows\system32\tasks\ corpus 4 (sigma 4)
  • \Downloads\ corpus 15 (sigma 14, elastic 1)
  • \Local Settings\Temporary Internet Files\
  • \Temporary Internet Files\Content.Outlook\
  • action=allow corpus 2 (sigma 1, splunk 1)
  • add corpus 30 (sigma 26, splunk 4)
  • advfirewall corpus 6 (sigma 6)
  • allowedprogram
  • firewall corpus 13 (sigma 7, splunk 6)
  • program=
  • rule corpus 2 (sigma 2)
field:"CommandLine" kind:match
Imageends_with
  • \netsh.exe corpus 28 (sigma 28)
field:"Image" kind:ends_with value:"\netsh.exe"
OriginalFileNameeq
  • netsh.exe corpus 21 (sigma 14, splunk 7)
field:"OriginalFileName" kind:eq value:"netsh.exe"

TeamPCP LiteLLM Supply Chain Attack Persistence Indicators

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

Detects the creation of specific persistence files as observed in the LiteLLM PyPI supply chain attack. In March 2026, a supply chain attack was discovered involving the popular open-source LLM framework LiteLLM by Threat Actor TeamPCP. The malicious package harvests every credential on the system, encrypts and exfiltrates them, and installs a persistent C2 backdoor.

MITRE ATT&CK Coverage

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 11: File created

Rule Body

title: TeamPCP LiteLLM Supply Chain Attack Persistence Indicators
id: 81c0b7f5-81c9-435e-a291-bc32fc2b72cd
status: experimental
description: |
    Detects the creation of specific persistence files as observed in the LiteLLM PyPI supply chain attack.
    In March 2026, a supply chain attack was discovered involving the popular open-source LLM framework LiteLLM by Threat Actor TeamPCP.
    The malicious package harvests every credential on the system, encrypts and exfiltrates them, and installs a persistent C2 backdoor.
references:
    - https://novasky.io/hunts/hunting-litellm-supply-chain
    - https://www.virustotal.com/gui/file/71e35aef03099cd1f2d6446734273025a163597de93912df321ef118bf135238/
    - https://huskyhacks.io/posts/litellm-cred-stealer/
    - https://www.wiz.io/blog/threes-a-crowd-teampcp-trojanizes-litellm-in-continuation-of-campaign
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2026-03-30
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1543.002
    - attack.initial-access
    - attack.t1195.002
    - detection.emerging-threats
logsource:
    category: file_event
    product: linux
detection:
    selection:
        Image|contains: '/python3'
        TargetFilename|endswith:
            - '/.config/sysmon/sysmon.py'
            - '/.config/systemd/user/sysmon.service'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|contains: '/python3'
    TargetFilename|endswith:
        - '/.config/sysmon/sysmon.py'
        - '/.config/systemd/user/sysmon.service'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imagematch
  • /python3 corpus 3 (sigma 3)
field:"Image" kind:match value:"/python3"
TargetFilenameends_with
  • /.config/sysmon/sysmon.py
  • /.config/systemd/user/sysmon.service
field:"TargetFilename" kind:ends_with

UAC Bypass Using PkgMgr and DISM

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

Detects the pattern of UAC Bypass using pkgmgr.exe and dism.exe (UACMe 23)

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: UAC Bypass Using PkgMgr and DISM
id: a743ceba-c771-4d75-97eb-8a90f7f4844c
status: test
description: Detects the pattern of UAC Bypass using pkgmgr.exe and dism.exe (UACMe 23)
references:
    - https://github.com/hfiref0x/UACME
author: Christian Burkard (Nextron Systems)
date: 2021-08-23
modified: 2024-12-01
tags:
    - attack.privilege-escalation
    - attack.t1548.002
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\pkgmgr.exe'
        Image|endswith: '\dism.exe'
        IntegrityLevel:
            - 'High'
            - 'System'
            - 'S-1-16-16384' # System
            - 'S-1-16-12288' # High
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\pkgmgr.exe'
    Image|endswith: '\dism.exe'
    IntegrityLevel:
        - 'High'
        - 'System'
        - 'S-1-16-16384'
        - 'S-1-16-12288'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \dism.exe corpus 6 (sigma 6)
field:"Image" kind:ends_with value:"\dism.exe"
IntegrityLeveleq
  • High corpus 18 (sigma 17, splunk 1)
  • S-1-16-12288 corpus 18 (sigma 17, splunk 1)
  • S-1-16-16384 corpus 31 (sigma 22, splunk 5, elastic 3, kusto 1)
  • System corpus 31 (sigma 22, splunk 5, elastic 3, kusto 1)
field:"IntegrityLevel" kind:eq
ParentImageends_with
  • \pkgmgr.exe
field:"ParentImage" kind:ends_with value:"\pkgmgr.exe"

Verclsid.exe Runs COM Object

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

Detects when verclsid.exe is used to run COM object via GUID

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Verclsid.exe Runs COM Object
id: d06be4b9-8045-428b-a567-740a26d9db25
status: test
description: Detects when verclsid.exe is used to run COM object via GUID
references:
    - https://lolbas-project.github.io/lolbas/Binaries/Verclsid/
    - https://gist.github.com/NickTyrer/0598b60112eaafe6d07789f7964290d5
    - https://bohops.com/2018/08/18/abusing-the-com-registry-structure-part-2-loading-techniques-for-evasion-and-persistence/
author: Victor Sergeev, oscd.community
date: 2020-10-09
modified: 2025-10-07
tags:
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\verclsid.exe'
        - OriginalFileName: 'verclsid.exe'
    selection_cli:
        CommandLine|contains|all:
            - '/S'
            - '/C'
    filter_main_runtimebroker:
        ParentImage|endswith: 'C:\Windows\System32\RuntimeBroker.exe'
        CommandLine|contains|all:
            - 'verclsid.exe" /S /C {'
            - '} /I {'
    condition: all of selection_* and not 1 of filter_main_*
falsepositives:
    - Unknown
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: '\verclsid.exe'
    - OriginalFileName: 'verclsid.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains|all:
        - '/S'
        - '/C'

Stage 3: not filter_main_runtimebroker

filter_main_runtimebroker:
    ParentImage|endswith: 'C:\Windows\System32\RuntimeBroker.exe'
    CommandLine|contains|all:
        - 'verclsid.exe" /S /C {'
        - '} /I {'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /C corpus 16 (sigma 14, splunk 2)
  • /S corpus 10 (sigma 8, splunk 2)
field:"CommandLine" kind:match
Imageends_with
  • \verclsid.exe corpus 4 (sigma 4)
field:"Image" kind:ends_with value:"\verclsid.exe"
OriginalFileNameeq
  • verclsid.exe corpus 2 (sigma 1, splunk 1)
field:"OriginalFileName" kind:eq value:"verclsid.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLinematchverclsid.exe" /S /C {excludes:CommandLine
CommandLinematch} /I {excludes:CommandLine field:"CommandLine" value:"} /I {"
ParentImageends_withC:\Windows\System32\RuntimeBroker.exeexcludes:ParentImage field:"ParentImage" value:"C:\Windows\System32\RuntimeBroker.exe"

VHD Image Download Via Browser

#
Status
test
Severity
medium
Author
frack113, Christopher Peacock '@securepeacock', SCYTHE '@scythe_io'
Source
github.com/SigmaHQ/sigma

Detects creation of ".vhd"/".vhdx" files by browser processes. Malware can use mountable Virtual Hard Disk ".vhd" files to encapsulate payloads and evade security controls.

Known False Positives

  • Legitimate downloads of ".vhd" files would also trigger this

MITRE ATT&CK Coverage

TacticTechniques
Resource Development

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: VHD Image Download Via Browser
id: 8468111a-ef07-4654-903b-b863a80bbc95
status: test
description: |
    Detects creation of ".vhd"/".vhdx" files by browser processes.
    Malware can use mountable Virtual Hard Disk ".vhd" files to encapsulate payloads and evade security controls.
references:
    - https://redcanary.com/blog/intelligence-insights-october-2021/
    - https://www.kaspersky.com/blog/lazarus-vhd-ransomware/36559/
    - https://securelist.com/lazarus-on-the-hunt-for-big-game/97757/
author: frack113, Christopher Peacock '@securepeacock', SCYTHE '@scythe_io'
date: 2021-10-25
modified: 2023-05-05
tags:
    - attack.resource-development
    - attack.t1587.001
logsource:
    category: file_event
    product: windows
detection:
    selection:
        Image|endswith:
            - '\brave.exe'
            - '\chrome.exe'
            - '\firefox.exe'
            - '\iexplore.exe'
            - '\maxthon.exe'
            - '\MicrosoftEdge.exe'
            - '\msedge.exe'
            - '\msedgewebview2.exe'
            - '\opera.exe'
            - '\safari.exe'
            - '\seamonkey.exe'
            - '\vivaldi.exe'
            - '\whale.exe'
        # We don't use "endswith" to also match with ADS logs and ".vhdx". Example: "TargetFilename: C:\Users\xxx\Downloads\windows.vhd:Zone.Identifier"
        TargetFilename|contains: '.vhd'
    condition: selection
falsepositives:
    - Legitimate downloads of ".vhd" files would also trigger this
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith:
        - '\brave.exe'
        - '\chrome.exe'
        - '\firefox.exe'
        - '\iexplore.exe'
        - '\maxthon.exe'
        - '\MicrosoftEdge.exe'
        - '\msedge.exe'
        - '\msedgewebview2.exe'
        - '\opera.exe'
        - '\safari.exe'
        - '\seamonkey.exe'
        - '\vivaldi.exe'
        - '\whale.exe'
    TargetFilename|contains: '.vhd'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \MicrosoftEdge.exe corpus 3 (sigma 3)
  • \brave.exe corpus 11 (sigma 11)
  • \chrome.exe corpus 13 (sigma 13)
  • \firefox.exe corpus 6 (sigma 6)
  • \iexplore.exe corpus 4 (sigma 4)
  • \maxthon.exe corpus 3 (sigma 3)
  • \msedge.exe corpus 14 (sigma 14)
  • \msedgewebview2.exe corpus 3 (sigma 3)
  • \opera.exe corpus 11 (sigma 11)
  • \safari.exe corpus 2 (sigma 2)
  • \seamonkey.exe corpus 3 (sigma 3)
  • \vivaldi.exe corpus 11 (sigma 11)
  • \whale.exe corpus 3 (sigma 3)
field:"Image" kind:ends_with
TargetFilenamematch
  • .vhd
field:"TargetFilename" kind:match value:".vhd"

Virtualbox Driver Installation or Starting of VMs

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

Adversaries can carry out malicious operations using a virtual instance to avoid detection. This rule is built to detect the registration of the Virtualbox driver or start of a Virtualbox VM.

Known False Positives

  • This may have false positives on hosts where Virtualbox is legitimately being used for operations

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Virtualbox Driver Installation or Starting of VMs
id: bab049ca-7471-4828-9024-38279a4c04da
status: test
description: Adversaries can carry out malicious operations using a virtual instance to avoid detection. This rule is built to detect the registration of the Virtualbox driver or start of a Virtualbox VM.
references:
    - https://news.sophos.com/en-us/2020/05/21/ragnar-locker-ransomware-deploys-virtual-machine-to-dodge-security/
    - https://threatpost.com/maze-ransomware-ragnar-locker-virtual-machine/159350/
author: Janantha Marasinghe
date: 2020-09-26
modified: 2025-07-29
tags:
    - attack.stealth
    - attack.t1564.006
    - attack.t1564
logsource:
    category: process_creation
    product: windows
detection:
    selection_1:
        CommandLine|contains:
            - 'VBoxRT.dll,RTR3Init'
            - 'VBoxC.dll'
            - 'VBoxDrv.sys'
    selection_2:
        CommandLine|contains:
            - 'startvm'
            - 'controlvm'
    condition: 1 of selection_*
falsepositives:
    - This may have false positives on hosts where Virtualbox is legitimately being used for operations
level: low

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_1

selection_1:
    CommandLine|contains:
        - 'VBoxRT.dll,RTR3Init'
        - 'VBoxC.dll'
        - 'VBoxDrv.sys'

Stage 2: selection_2

selection_2:
    CommandLine|contains:
        - 'startvm'
        - 'controlvm'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • VBoxC.dll
  • VBoxDrv.sys
  • VBoxRT.dll,RTR3Init
  • controlvm
  • startvm
field:"CommandLine" kind:match

WDAC Policy File Creation In CodeIntegrity Folder

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

Attackers can craft a custom Windows Defender Application Control (WDAC) policy that blocks Endpoint Detection and Response (EDR) components while allowing their own malicious code. The policy is placed in the privileged Windows Code Integrity folder (C:\Windows\System32\CodeIntegrity). Upon reboot, the policy prevents EDR drivers from loading, effectively bypassing security measures and may further enable undetected lateral movement within an Active Directory environment.

Known False Positives

  • May occur legitimately as part of admin activity, but rarely with interactive elevation.

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: WDAC Policy File Creation In CodeIntegrity Folder
id: 121b25f7-b9d6-4b37-afa0-cba317ec52f3
status: experimental
description: |
    Attackers can craft a custom Windows Defender Application Control (WDAC) policy that blocks Endpoint Detection and Response (EDR) components while allowing their own malicious code. The policy is placed in the privileged Windows Code Integrity folder (C:\Windows\System32\CodeIntegrity\). Upon reboot, the policy prevents EDR drivers from loading, effectively bypassing security measures and may further enable undetected lateral movement within an Active Directory environment.
references:
    - https://beierle.win/2024-12-20-Weaponizing-WDAC-Killing-the-Dreams-of-EDR/
    - https://www.virustotal.com/gui/file/d2a4f52a9923336f119a52e531bbb1e66f18322fd8efa9af1a64b94f4d36dc97
author: Andreas Braathen (mnemonic.io)
date: 2025-01-30
tags:
    - attack.defense-impairment
    - attack.t1685
    - detection.threat-hunting
logsource:
    category: file_event
    product: windows
    definition: 'Requirements: By default the file_event log source might not contain the IntegrityLevel of the Process. It should be collected in order to use this rule'
detection:
    selection:
        TargetFilename|contains: ':\Windows\System32\CodeIntegrity\'
        TargetFilename|endswith:
            - '.cip'
            - '.p7b'
        IntegrityLevel: 'High'
    condition: selection
falsepositives:
    - May occur legitimately as part of admin activity, but rarely with interactive elevation.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|contains: ':\Windows\System32\CodeIntegrity\'
    TargetFilename|endswith:
        - '.cip'
        - '.p7b'
    IntegrityLevel: 'High'

Indicators

These rows show field, operator, and value matches.

Back to all Sigma rules