Detection rules › Sigma

Sigma rules: 28

Account Tampering - Suspicious Failed Logon Reasons

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

This method uses uncommon error codes on failed logons to determine suspicious activity and tampering with accounts that have been disabled or somehow restricted.

Known False Positives

  • User using a disabled account

MITRE ATT&CK Coverage

TacticTechniques
Initial Access
Persistence
Privilege Escalation
Stealth

Telemetry Coverage

Rule Body

title: Account Tampering - Suspicious Failed Logon Reasons
id: 9eb99343-d336-4020-a3cd-67f3819e68ee
status: test
description: This method uses uncommon error codes on failed logons to determine suspicious activity and tampering with accounts that have been disabled or somehow restricted.
references:
    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4625
    - https://twitter.com/SBousseaden/status/1101431884540710913
author: Florian Roth (Nextron Systems)
date: 2017-02-19
modified: 2025-10-17
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.initial-access
    - attack.stealth
    - attack.t1078
logsource:
    product: windows
    service: security
detection:
    selection_eid:
        EventID:
            - 4625
            - 4776
    selection_status:
        - Status:
              - '0xC0000072'  # User logon to account disabled by administrator
              - '0xC000006F'  # User logon outside authorized hours
              - '0xC0000070'  # User logon from unauthorized workstation
              - '0xC0000413'  # Logon Failure: The machine you are logging onto is protected by an authentication firewall. The specified account is not allowed to authenticate to the machine
              - '0xC000018C'  # The logon request failed because the trust relationship between the primary domain and the trusted domain failed
              - '0xC000015B'  # The user has not been granted the requested logon type (aka logon right) at this machine
        - SubStatus:
              - '0xC0000072'  # User logon to account disabled by administrator
              - '0xC000006F'  # User logon outside authorized hours
              - '0xC0000070'  # User logon from unauthorized workstation
              - '0xC0000413'  # Logon Failure: The machine you are logging onto is protected by an authentication firewall. The specified account is not allowed to authenticate to the machine
              - '0xC000018C'  # The logon request failed because the trust relationship between the primary domain and the trusted domain failed
              - '0xC000015B'  # The user has not been granted the requested logon type (aka logon right) at this machine
    filter:
        SubjectUserSid: 'S-1-0-0'
    condition: all of selection_* and not filter
falsepositives:
    - User using a disabled account
level: medium

Stages and Predicates

Stage 0: condition

all of selection_* and not filter

Stage 1: selection_eid

selection_eid:
    EventID:
        - 4625
        - 4776

Stage 2: selection_status

selection_status:
    - Status:
          - '0xC0000072'
          - '0xC000006F'
          - '0xC0000070'
          - '0xC0000413'
          - '0xC000018C'
          - '0xC000015B'
    - SubStatus:
          - '0xC0000072'
          - '0xC000006F'
          - '0xC0000070'
          - '0xC0000413'
          - '0xC000018C'
          - '0xC000015B'

Stage 3: not filter

filter:
    SubjectUserSid: 'S-1-0-0'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Statuseq
  • 0xC000006F corpus 2 (sigma 2)
  • 0xC0000070 corpus 2 (sigma 2)
  • 0xC0000072
  • 0xC000015B corpus 2 (sigma 2)
  • 0xC000018C
  • 0xC0000413 corpus 2 (sigma 2)
field:"Status" kind:eq
SubStatuseq
  • 0xC000006F
  • 0xC0000070
  • 0xC0000072
  • 0xC000015B
  • 0xC000018C
  • 0xC0000413
field:"SubStatus" kind:eq

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
SubjectUserSideqS-1-0-0excludes:SubjectUserSid field:"SubjectUserSid" value:"S-1-0-0"

Antivirus - Hacktool Signature

#
Status
stable
Severity
high
Author
Florian Roth (Nextron Systems), Arnim Rupp
Source
github.com/SigmaHQ/sigma

Detects a highly relevant Antivirus alert that reports a hack tool or other attack tool. This event must not be ignored just because the AV has blocked the malware but investigate, how it came there in the first place.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Execution

Rule Body

title: Antivirus - Hacktool Signature
id: fa0c05b6-8ad3-468d-8231-c1cbccb64fba
status: stable
description: |
    Detects a highly relevant Antivirus alert that reports a hack tool or other attack tool.
    This event must not be ignored just because the AV has blocked the malware but investigate, how it came there in the first place.
references:
    - https://www.nextron-systems.com/2021/08/16/antivirus-event-analysis-cheat-sheet-v1-8-2/
    - https://www.nextron-systems.com/?s=antivirus
author: Florian Roth (Nextron Systems), Arnim Rupp
date: 2021-08-16
modified: 2026-06-15
tags:
    - attack.execution
    - attack.t1204
logsource:
    category: antivirus
detection:
    selection:
        - Signature|startswith:
              - 'ATK/'  # Sophos
              - 'Exploit.Script.CVE'
              - 'HKTL'
              - 'HTOOL'
              - 'PWS.'
              - 'PWSX'
              - 'SecurityTool'
              # - 'FRP.'
        - Signature|contains:
              - 'Adfind'
              - 'BloodH'
              - 'BloodyAD'
              - 'Brutel'
              - 'BruteR'
              - 'Cobalt'
              - 'COBEACON'
              - 'Cometer'
              - 'DumpCreds'
              - 'EDRfreeze'
              - 'FastReverseProxy'
              - 'Hacktool'
              - 'Havoc'
              - 'Impacket'
              - 'Keylogger'
              - 'Koadic'
              - 'Mimikatz'
              - 'Nighthawk'
              - 'PentestPowerShell'
              - 'Potato'
              - 'PowerSploit'
              - 'PowerSSH'
              - 'PshlSpy'
              - 'PSWTool'
              - 'PWCrack'
              - 'PWDump'
              - 'Responder'
              - 'Rozena'
              - 'Rusthound'
              - 'Sbelt'
              - 'Seatbelt'
              - 'SecurityTool'
              - 'SharpDump'
              - 'SharpHound'
              - 'Shellcode'
              - 'Sliver'
              - 'Snaffler'
              - 'SOAPHound'
              - 'Splinter'
              - 'Stowaway'
              - 'Swrort'
              - 'Trojan.Hound'
              - 'TurtleLoader'
              - 'Undefend'
              - 'Undfnd'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - Signature|startswith:
          - 'ATK/'
          - 'Exploit.Script.CVE'
          - 'HKTL'
          - 'HTOOL'
          - 'PWS.'
          - 'PWSX'
          - 'SecurityTool'
    - Signature|contains:
          - 'Adfind'
          - 'BloodH'
          - 'BloodyAD'
          - 'Brutel'
          - 'BruteR'
          - 'Cobalt'
          - 'COBEACON'
          - 'Cometer'
          - 'DumpCreds'
          - 'EDRfreeze'
          - 'FastReverseProxy'
          - 'Hacktool'
          - 'Havoc'
          - 'Impacket'
          - 'Keylogger'
          - 'Koadic'
          - 'Mimikatz'
          - 'Nighthawk'
          - 'PentestPowerShell'
          - 'Potato'
          - 'PowerSploit'
          - 'PowerSSH'
          - 'PshlSpy'
          - 'PSWTool'
          - 'PWCrack'
          - 'PWDump'
          - 'Responder'
          - 'Rozena'
          - 'Rusthound'
          - 'Sbelt'
          - 'Seatbelt'
          - 'SecurityTool'
          - 'SharpDump'
          - 'SharpHound'
          - 'Shellcode'
          - 'Sliver'
          - 'Snaffler'
          - 'SOAPHound'
          - 'Splinter'
          - 'Stowaway'
          - 'Swrort'
          - 'Trojan.Hound'
          - 'TurtleLoader'
          - 'Undefend'
          - 'Undfnd'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Signaturematch
  • Adfind
  • BloodH
  • BloodyAD
  • BruteR corpus 2 (sigma 2)
  • Brutel corpus 2 (sigma 2)
  • COBEACON corpus 2 (sigma 2)
  • Cobalt
  • Cometer corpus 2 (sigma 2)
  • DumpCreds corpus 2 (sigma 2)
  • EDRfreeze
  • FastReverseProxy
  • Hacktool
  • Havoc
  • Impacket
  • Keylogger
  • Koadic
  • Mimikatz corpus 2 (sigma 2)
  • Nighthawk
  • PSWTool corpus 2 (sigma 2)
  • PWCrack corpus 2 (sigma 2)
  • PWDump corpus 2 (sigma 2)
  • PentestPowerShell
  • Potato
  • PowerSSH
  • PowerSploit corpus 2 (sigma 2)
  • PshlSpy corpus 3 (sigma 3)
  • Responder
  • Rozena corpus 2 (sigma 2)
  • Rusthound
  • SOAPHound
  • Sbelt corpus 2 (sigma 2)
  • Seatbelt corpus 2 (sigma 2)
  • SecurityTool corpus 2 (sigma 2)
  • SharpDump corpus 2 (sigma 2)
  • SharpHound
  • Shellcode
  • Sliver corpus 2 (sigma 2)
  • Snaffler
  • Splinter
  • Stowaway
  • Swrort corpus 2 (sigma 2)
  • Trojan.Hound
  • TurtleLoader
  • Undefend
  • Undfnd
field:"Signature" kind:match
Signaturestarts_with
  • ATK/
  • Exploit.Script.CVE
  • HKTL
  • HTOOL
  • PWS.
  • PWSX
  • SecurityTool
field:"Signature" kind:starts_with

Audit Policy Tampering Via Auditpol

#
Status
test
Severity
high
Author
Janantha Marasinghe (https://github.com/blueteam0ps)
Source
github.com/SigmaHQ/sigma

Threat actors can use auditpol binary to change audit policy configuration to impair detection capability. This can be carried out by selectively disabling/removing certain audit policies as well as restoring a custom policy owned by the threat actor.

Known False Positives

  • Administrator or administrator scripts might leverage the flags mentioned in the detection section. Either way, it should always be monitored

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Audit Policy Tampering Via Auditpol
id: 0a13e132-651d-11eb-ae93-0242ac130002
related:
    - id: c6c56ada-612b-42d1-9a29-adad3c5c2c1e # Old auditpol
      type: similar
status: test
description: |
  Threat actors can use auditpol binary to change audit policy configuration to impair detection capability.
  This can be carried out by selectively disabling/removing certain audit policies as well as restoring a custom policy owned by the threat actor.
references:
    - https://www.microsoft.com/security/blog/2021/01/20/deep-dive-into-the-solorigate-second-stage-activation-from-sunburst-to-teardrop-and-raindrop/
author: Janantha Marasinghe (https://github.com/blueteam0ps)
date: 2021-02-02
modified: 2023-02-22
tags:
    - attack.defense-impairment
    - attack.t1685.001
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\auditpol.exe'
        - OriginalFileName: 'AUDITPOL.EXE'
    selection_cli:
        CommandLine|contains:
            - 'disable' # disables a specific audit policy
            - 'clear'   # delete or clears audit policy
            - 'remove'  # removes an audit policy
            - 'restore' # restores an audit policy
    condition: all of selection_*
falsepositives:
    - Administrator or administrator scripts might leverage the flags mentioned in the detection section. Either way, it should always be monitored
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\auditpol.exe'
    - OriginalFileName: 'AUDITPOL.EXE'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains:
        - 'disable'
        - 'clear'
        - 'remove'
        - 'restore'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • clear corpus 3 (sigma 3)
  • disable corpus 13 (sigma 10, splunk 3)
  • remove corpus 3 (sigma 3)
  • restore
field:"CommandLine" kind:match
Imageends_with
  • \auditpol.exe corpus 3 (sigma 3)
field:"Image" kind:ends_with value:"\auditpol.exe"
OriginalFileNameeq
  • AUDITPOL.EXE corpus 9 (splunk 8, sigma 1)
field:"OriginalFileName" kind:eq value:"AUDITPOL.EXE"

DNS Query Tor .Onion Address - Sysmon

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

Detects DNS queries to an ".onion" address related to Tor routing networks

MITRE ATT&CK Coverage

TacticTechniques
Command & Control

Telemetry Coverage

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

Rule Body

title: DNS Query Tor .Onion Address - Sysmon
id: b55ca2a3-7cff-4dda-8bdd-c7bfa63bf544
related:
    - id: 8384bd26-bde6-4da9-8e5d-4174a7a47ca2
      type: similar
    - id: a8322756-015c-42e7-afb1-436e85ed3ff5
      type: similar
status: test
description: Detects DNS queries to an ".onion" address related to Tor routing networks
references:
    - https://www.logpoint.com/en/blog/detecting-tor-use-with-logpoint/
    - https://github.com/Azure/Azure-Sentinel/blob/f99542b94afe0ad2f19a82cc08262e7ac8e1428e/Detections/ASimDNS/imDNS_TorProxies.yaml
author: frack113
date: 2022-02-20
modified: 2025-09-12
tags:
    - attack.command-and-control
    - attack.t1090.003
logsource:
    product: windows
    category: dns_query
detection:
    selection:
        QueryName|endswith:
            - '.hiddenservice.net'
            - '.onion.ca'
            - '.onion.cab'
            - '.onion.casa'
            - '.onion.city'
            - '.onion.direct'
            - '.onion.dog'
            - '.onion.glass'
            - '.onion.gq'
            - '.onion.ink'
            - '.onion.it'
            - '.onion.link'
            - '.onion.lt'
            - '.onion.lu'
            - '.onion.nu'
            - '.onion.pet'
            - '.onion.plus'
            - '.onion.rip'
            - '.onion.sh'
            - '.onion.to'
            - '.onion.top'
            - '.onion'
            - '.s1.tor-gateways.de'
            - '.s2.tor-gateways.de'
            - '.s3.tor-gateways.de'
            - '.s4.tor-gateways.de'
            - '.s5.tor-gateways.de'
            - '.t2w.pw'
            - '.tor2web.ae.org'
            - '.tor2web.blutmagie.de'
            - '.tor2web.com'
            - '.tor2web.fi'
            - '.tor2web.io'
            - '.tor2web.org'
            - '.tor2web.xyz'
            - '.torlink.co'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    QueryName|endswith:
        - '.hiddenservice.net'
        - '.onion.ca'
        - '.onion.cab'
        - '.onion.casa'
        - '.onion.city'
        - '.onion.direct'
        - '.onion.dog'
        - '.onion.glass'
        - '.onion.gq'
        - '.onion.ink'
        - '.onion.it'
        - '.onion.link'
        - '.onion.lt'
        - '.onion.lu'
        - '.onion.nu'
        - '.onion.pet'
        - '.onion.plus'
        - '.onion.rip'
        - '.onion.sh'
        - '.onion.to'
        - '.onion.top'
        - '.onion'
        - '.s1.tor-gateways.de'
        - '.s2.tor-gateways.de'
        - '.s3.tor-gateways.de'
        - '.s4.tor-gateways.de'
        - '.s5.tor-gateways.de'
        - '.t2w.pw'
        - '.tor2web.ae.org'
        - '.tor2web.blutmagie.de'
        - '.tor2web.com'
        - '.tor2web.fi'
        - '.tor2web.io'
        - '.tor2web.org'
        - '.tor2web.xyz'
        - '.torlink.co'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
QueryNameends_with
  • .hiddenservice.net corpus 2 (sigma 2)
  • .onion corpus 3 (sigma 2, elastic 1)
  • .onion.ca corpus 2 (sigma 2)
  • .onion.cab corpus 2 (sigma 2)
  • .onion.casa corpus 2 (sigma 2)
  • .onion.city corpus 2 (sigma 2)
  • .onion.direct corpus 2 (sigma 2)
  • .onion.dog corpus 2 (sigma 2)
  • .onion.glass corpus 2 (sigma 2)
  • .onion.gq corpus 2 (sigma 2)
  • .onion.ink corpus 2 (sigma 2)
  • .onion.it corpus 2 (sigma 2)
  • .onion.link corpus 2 (sigma 2)
  • .onion.lt corpus 2 (sigma 2)
  • .onion.lu corpus 2 (sigma 2)
  • .onion.nu corpus 2 (sigma 2)
  • .onion.pet corpus 2 (sigma 2)
  • .onion.plus corpus 2 (sigma 2)
  • .onion.rip corpus 2 (sigma 2)
  • .onion.sh corpus 2 (sigma 2)
  • .onion.to corpus 2 (sigma 2)
  • .onion.top corpus 2 (sigma 2)
  • .s1.tor-gateways.de corpus 2 (sigma 2)
  • .s2.tor-gateways.de corpus 2 (sigma 2)
  • .s3.tor-gateways.de corpus 2 (sigma 2)
  • .s4.tor-gateways.de corpus 2 (sigma 2)
  • .s5.tor-gateways.de corpus 2 (sigma 2)
  • .t2w.pw corpus 2 (sigma 2)
  • .tor2web.ae.org corpus 2 (sigma 2)
  • .tor2web.blutmagie.de corpus 2 (sigma 2)
  • .tor2web.com corpus 2 (sigma 2)
  • .tor2web.fi corpus 2 (sigma 2)
  • .tor2web.io corpus 2 (sigma 2)
  • .tor2web.org corpus 2 (sigma 2)
  • .tor2web.xyz corpus 2 (sigma 2)
  • .torlink.co corpus 2 (sigma 2)
field:"QueryName" kind:ends_with

DumpStack.log Defender Evasion

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

Detects the use of the filename DumpStack.log to evade Microsoft Defender

MITRE ATT&CK Coverage

TacticTechniques
Defense ImpairmentNo specific technique

Telemetry Coverage

Rule Body

title: DumpStack.log Defender Evasion
id: 4f647cfa-b598-4e12-ad69-c68dd16caef8
status: test
description: Detects the use of the filename DumpStack.log to evade Microsoft Defender
references:
    - https://twitter.com/mrd0x/status/1479094189048713219
author: Florian Roth (Nextron Systems)
date: 2022-01-06
modified: 2022-06-17
tags:
    - attack.defense-impairment
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\DumpStack.log'
    selection_download:
        CommandLine|contains: ' -o DumpStack.log'
    condition: 1 of selection*
falsepositives:
    - Unknown
level: critical

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection

selection:
    Image|endswith: '\DumpStack.log'

Stage 2: selection_download

selection_download:
    CommandLine|contains: ' -o DumpStack.log'

Indicators

These rows show field, operator, and value matches.

Enabled User Right in AD to Control User Objects

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

Detects scenario where if a user is assigned the SeEnableDelegationPrivilege right in Active Directory it would allow control of other AD user objects.

MITRE ATT&CK Coverage

TacticTechniques
Persistence
Privilege Escalation

Telemetry Coverage

Rule Body

title: Enabled User Right in AD to Control User Objects
id: 311b6ce2-7890-4383-a8c2-663a9f6b43cd
status: test
description: Detects scenario where if a user is assigned the SeEnableDelegationPrivilege right in Active Directory it would allow control of other AD user objects.
references:
    - https://blog.harmj0y.net/activedirectory/the-most-dangerous-user-right-you-probably-have-never-heard-of/
author: '@neu5ron'
date: 2017-07-30
modified: 2021-12-02
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1098
logsource:
    product: windows
    service: security
    definition: 'Requirements: Audit Policy : Policy Change > Audit Authorization Policy Change, Group Policy : Computer Configuration\Windows Settings\Security Settings\Advanced Audit Policy Configuration\Audit Policies\Policy Change\Audit Authorization Policy Change'
detection:
    selection_base:
        EventID: 4704
    selection_keywords:
        PrivilegeList|contains: 'SeEnableDelegationPrivilege'
    condition: all of selection*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection*

Stage 1: selection_base

selection_base:
    EventID: 4704

Stage 2: selection_keywords

selection_keywords:
    PrivilegeList|contains: 'SeEnableDelegationPrivilege'

Indicators

These rows show field, operator, and value matches.

File Encoded To Base64 Via Certutil.EXE

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

Detects the execution of certutil with the "encode" flag to encode a file to base64. This can be abused by threat actors and attackers for data exfiltration

Known False Positives

  • As this is a general purpose rule, legitimate usage of the encode functionality will trigger some false positives. Apply additional filters accordingly

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: File Encoded To Base64 Via Certutil.EXE
id: e62a9f0c-ca1e-46b2-85d5-a6da77f86d1a
status: test
description: Detects the execution of certutil with the "encode" flag to encode a file to base64. This can be abused by threat actors and attackers for data exfiltration
references:
    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/certutil
    - https://unit42.paloaltonetworks.com/new-babyshark-malware-targets-u-s-national-security-think-tanks/
    - https://lolbas-project.github.io/lolbas/Binaries/Certutil/
author: Florian Roth (Nextron Systems), Jonhnathan Ribeiro, oscd.community, Nasreddine Bencherchali (Nextron Systems)
date: 2019-02-24
modified: 2024-03-05
tags:
    - attack.stealth
    - attack.t1027
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\certutil.exe'
        - OriginalFileName: 'CertUtil.exe'
    selection_cli:
        CommandLine|contains|windash: '-encode'
    condition: all of selection_*
falsepositives:
    - As this is a general purpose rule, legitimate usage of the encode functionality will trigger some false positives. Apply additional filters accordingly
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_certutil_encode/info.yml

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_cli

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

Indicators

These rows show field, operator, and value matches.

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

Github Delete Action Invoked

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

Detects delete action in the Github audit logs for codespaces, environment, project and repo.

Known False Positives

  • Validate the deletion activity is permitted. The "actor" field need to be validated.

MITRE ATT&CK Coverage

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: Github Delete Action Invoked
id: 16a71777-0b2e-4db7-9888-9d59cb75200b
status: test
description: Detects delete action in the Github audit logs for codespaces, environment, project and repo.
author: Muhammad Faisal (@faisalusuf)
date: 2023-01-19
modified: 2026-03-09
references:
    - https://docs.github.com/en/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization#audit-log-actions
    - https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/security-log-events#codespaces
tags:
    - attack.impact
    - attack.collection
    - attack.t1213.003
logsource:
    product: github
    service: audit
    definition: 'Requirements: The audit log streaming feature must be enabled to be able to receive such logs. You can enable following the documentation here: https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise#setting-up-audit-log-streaming'
detection:
    selection:
        action:
            - 'codespaces.destroy'
            - 'environment.delete'
            - 'project.delete'
            - 'repo.destroy'
    condition: selection
falsepositives:
    - Validate the deletion activity is permitted. The "actor" field need to be validated.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    action:
        - 'codespaces.destroy'
        - 'environment.delete'
        - 'project.delete'
        - 'repo.destroy'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
actioneq
  • codespaces.destroy
  • environment.delete
  • project.delete
  • repo.destroy corpus 2 (sigma 1, splunk 1)
field:"action" kind:eq

Hack Tool User Agent

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

Detects suspicious user agent strings user by hack tools in proxy logs

MITRE ATT&CK Coverage

TacticTechniques
Initial Access
Credential Access

Rule Body

title: Hack Tool User Agent
id: c42a3073-30fb-48ae-8c99-c23ada84b103
status: test
description: Detects suspicious user agent strings user by hack tools in proxy logs
references:
    - https://github.com/fastly/waf_testbed/blob/8bfc406551f3045e418cbaad7596cff8da331dfc/templates/default/scanners-user-agents.data.erb
    - http://rules.emergingthreats.net/open/snort-2.9.0/rules/emerging-user_agents.rules
author: Florian Roth (Nextron Systems)
date: 2017-07-08
modified: 2022-07-07
tags:
    - attack.initial-access
    - attack.t1190
    - attack.credential-access
    - attack.t1110
logsource:
    category: proxy
detection:
    selection:
        c-useragent|contains:
            # Vulnerability scanner and brute force tools
            - '(hydra)'
            - ' arachni/'
            - ' BFAC '
            - ' brutus '
            - ' cgichk '
            - 'core-project/1.0'
            - ' crimscanner/'
            - 'datacha0s'
            - 'dirbuster'
            - 'domino hunter'
            - 'dotdotpwn'
            - 'FHScan Core'
            - 'floodgate'
            - 'get-minimal'
            - 'gootkit auto-rooter scanner'
            - 'grendel-scan'
            - ' inspath '
            - 'internet ninja'
            - 'jaascois'
            - ' zmeu '
            - 'masscan'
            - ' metis '
            - 'morfeus fucking scanner'
            - 'n-stealth'
            - 'nsauditor'
            - 'pmafind'
            - 'security scan'
            - 'springenwerk'
            - 'teh forest lobster'
            - 'toata dragostea'
            - ' vega/'
            - 'voideye'
            - 'webshag'
            - 'webvulnscan'
            - ' whcc/'
            # SQL Injection
            - ' Havij'
            - 'absinthe'
            - 'bsqlbf'
            - 'mysqloit'
            - 'pangolin'
            - 'sql power injector'
            - 'sqlmap'
            - 'sqlninja'
            - 'uil2pn'
            # Hack tool
            - 'ruler'  # https://www.crowdstrike.com/blog/using-outlook-forms-lateral-movement-persistence/
            - 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)'  # SQLi Dumper
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    c-useragent|contains:
        - '(hydra)'
        - ' arachni/'
        - ' BFAC '
        - ' brutus '
        - ' cgichk '
        - 'core-project/1.0'
        - ' crimscanner/'
        - 'datacha0s'
        - 'dirbuster'
        - 'domino hunter'
        - 'dotdotpwn'
        - 'FHScan Core'
        - 'floodgate'
        - 'get-minimal'
        - 'gootkit auto-rooter scanner'
        - 'grendel-scan'
        - ' inspath '
        - 'internet ninja'
        - 'jaascois'
        - ' zmeu '
        - 'masscan'
        - ' metis '
        - 'morfeus fucking scanner'
        - 'n-stealth'
        - 'nsauditor'
        - 'pmafind'
        - 'security scan'
        - 'springenwerk'
        - 'teh forest lobster'
        - 'toata dragostea'
        - ' vega/'
        - 'voideye'
        - 'webshag'
        - 'webvulnscan'
        - ' whcc/'
        - ' Havij'
        - 'absinthe'
        - 'bsqlbf'
        - 'mysqloit'
        - 'pangolin'
        - 'sql power injector'
        - 'sqlmap'
        - 'sqlninja'
        - 'uil2pn'
        - 'ruler'
        - 'Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
c-useragentmatch
  • BFAC
  • Havij
  • arachni/
  • brutus
  • cgichk
  • crimscanner/
  • inspath
  • metis
  • vega/
  • whcc/
  • zmeu
  • (hydra)
  • FHScan Core
  • Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729)
  • absinthe
  • bsqlbf
  • core-project/1.0
  • datacha0s
  • dirbuster
  • domino hunter
  • dotdotpwn
  • floodgate
  • get-minimal
  • gootkit auto-rooter scanner
  • grendel-scan
  • internet ninja
  • jaascois
  • masscan
  • morfeus fucking scanner
  • mysqloit
  • n-stealth
  • nsauditor
  • pangolin
  • pmafind
  • ruler
  • security scan
  • springenwerk
  • sql power injector
  • sqlmap
  • sqlninja
  • teh forest lobster
  • toata dragostea
  • uil2pn
  • voideye
  • webshag
  • webvulnscan
field:"c-useragent" kind:match

HackTool - SharpUp PrivEsc Tool Execution

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

Detects the use of SharpUp, a tool for local privilege escalation

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: HackTool - SharpUp PrivEsc Tool Execution
id: c484e533-ee16-4a93-b6ac-f0ea4868b2f1
status: test
description: Detects the use of SharpUp, a tool for local privilege escalation
references:
    - https://github.com/GhostPack/SharpUp
author: Florian Roth (Nextron Systems)
date: 2022-08-20
modified: 2023-02-13
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.discovery
    - attack.execution
    - attack.stealth
    - attack.t1615
    - attack.t1569.002
    - attack.t1574.005
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - Image|endswith: '\SharpUp.exe'
        - Description: 'SharpUp'
        - CommandLine|contains:
              - 'HijackablePaths'
              - 'UnquotedServicePath'
              - 'ProcessDLLHijack'
              - 'ModifiableServiceBinaries'
              - 'ModifiableScheduledTask'
              - 'DomainGPPPassword'
              - 'CachedGPPPassword'
    condition: selection
falsepositives:
    - Unknown
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - Image|endswith: '\SharpUp.exe'
    - Description: 'SharpUp'
    - CommandLine|contains:
          - 'HijackablePaths'
          - 'UnquotedServicePath'
          - 'ProcessDLLHijack'
          - 'ModifiableServiceBinaries'
          - 'ModifiableScheduledTask'
          - 'DomainGPPPassword'
          - 'CachedGPPPassword'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • CachedGPPPassword
  • DomainGPPPassword
  • HijackablePaths
  • ModifiableScheduledTask
  • ModifiableServiceBinaries
  • ProcessDLLHijack
  • UnquotedServicePath
field:"CommandLine" kind:match
Descriptioneq
  • SharpUp
field:"Description" kind:eq value:"SharpUp"
Imageends_with
  • \SharpUp.exe
field:"Image" kind:ends_with value:"\SharpUp.exe"

HTTP Request With Empty User Agent

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

Detects a potentially suspicious empty user agent strings in proxy log. Could potentially indicate an uncommon request method.

MITRE ATT&CK Coverage

Rule Body

title: HTTP Request With Empty User Agent
id: 21e44d78-95e7-421b-a464-ffd8395659c4
status: test
description: |
    Detects a potentially suspicious empty user agent strings in proxy log.
    Could potentially indicate an uncommon request method.
references:
    - https://twitter.com/Carlos_Perez/status/883455096645931008
author: Florian Roth (Nextron Systems)
date: 2017-07-08
modified: 2021-11-27
tags:
    - attack.command-and-control
    - attack.t1071.001
logsource:
    category: proxy
detection:
    selection:
      # Empty string - as used by Powershell's (New-Object Net.WebClient).DownloadString
        c-useragent: ''
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    c-useragent: ''

Linux Crypto Mining Pool Connections

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

Detects process connections to a Monero crypto mining pool

Known False Positives

  • Legitimate use of crypto miners

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 3: Network connection

Rule Body

title: Linux Crypto Mining Pool Connections
id: a46c93b7-55ed-4d27-a41b-c259456c4746
status: stable
description: Detects process connections to a Monero crypto mining pool
references:
    - https://www.poolwatch.io/coin/monero
author: Florian Roth (Nextron Systems)
date: 2021-10-26
tags:
    - attack.impact
    - attack.t1496
logsource:
    product: linux
    category: network_connection
detection:
    selection:
        DestinationHostname:
            - 'pool.minexmr.com'
            - 'fr.minexmr.com'
            - 'de.minexmr.com'
            - 'sg.minexmr.com'
            - 'ca.minexmr.com'
            - 'us-west.minexmr.com'
            - 'pool.supportxmr.com'
            - 'mine.c3pool.com'
            - 'xmr-eu1.nanopool.org'
            - 'xmr-eu2.nanopool.org'
            - 'xmr-us-east1.nanopool.org'
            - 'xmr-us-west1.nanopool.org'
            - 'xmr-asia1.nanopool.org'
            - 'xmr-jp1.nanopool.org'
            - 'xmr-au1.nanopool.org'
            - 'xmr.2miners.com'
            - 'xmr.hashcity.org'
            - 'xmr.f2pool.com'
            - 'xmrpool.eu'
            - 'pool.hashvault.pro'
            - 'moneroocean.stream'
            - 'monerocean.stream'
    condition: selection
falsepositives:
    - Legitimate use of crypto miners
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    DestinationHostname:
        - 'pool.minexmr.com'
        - 'fr.minexmr.com'
        - 'de.minexmr.com'
        - 'sg.minexmr.com'
        - 'ca.minexmr.com'
        - 'us-west.minexmr.com'
        - 'pool.supportxmr.com'
        - 'mine.c3pool.com'
        - 'xmr-eu1.nanopool.org'
        - 'xmr-eu2.nanopool.org'
        - 'xmr-us-east1.nanopool.org'
        - 'xmr-us-west1.nanopool.org'
        - 'xmr-asia1.nanopool.org'
        - 'xmr-jp1.nanopool.org'
        - 'xmr-au1.nanopool.org'
        - 'xmr.2miners.com'
        - 'xmr.hashcity.org'
        - 'xmr.f2pool.com'
        - 'xmrpool.eu'
        - 'pool.hashvault.pro'
        - 'moneroocean.stream'
        - 'monerocean.stream'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
DestinationHostnameeq
  • ca.minexmr.com corpus 2 (sigma 2)
  • de.minexmr.com corpus 2 (sigma 2)
  • fr.minexmr.com corpus 2 (sigma 2)
  • mine.c3pool.com corpus 2 (sigma 2)
  • monerocean.stream corpus 2 (sigma 2)
  • moneroocean.stream corpus 2 (sigma 2)
  • pool.hashvault.pro corpus 2 (sigma 2)
  • pool.minexmr.com corpus 2 (sigma 2)
  • pool.supportxmr.com corpus 2 (sigma 2)
  • sg.minexmr.com corpus 2 (sigma 2)
  • us-west.minexmr.com corpus 2 (sigma 2)
  • xmr-asia1.nanopool.org corpus 2 (sigma 2)
  • xmr-au1.nanopool.org corpus 2 (sigma 2)
  • xmr-eu1.nanopool.org corpus 2 (sigma 2)
  • xmr-eu2.nanopool.org corpus 2 (sigma 2)
  • xmr-jp1.nanopool.org corpus 2 (sigma 2)
  • xmr-us-east1.nanopool.org corpus 2 (sigma 2)
  • xmr-us-west1.nanopool.org corpus 2 (sigma 2)
  • xmr.2miners.com corpus 2 (sigma 2)
  • xmr.f2pool.com corpus 2 (sigma 2)
  • xmr.hashcity.org corpus 2 (sigma 2)
  • xmrpool.eu corpus 2 (sigma 2)
field:"DestinationHostname" kind:eq

Lummac Stealer Activity - Execution Of More.com And Vbc.exe

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

Detects the execution of more.com and vbc.exe in the process tree. This behavior was observed by a set of samples related to Lummac Stealer. The Lummac payload is injected into the vbc.exe process.

MITRE ATT&CK Coverage

TacticTechniques
Privilege Escalation
Stealth

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Lummac Stealer Activity - Execution Of More.com And Vbc.exe
id: 19b3806e-46f2-4b4c-9337-e3d8653245ea
status: experimental
description: |
    Detects the execution of more.com and vbc.exe in the process tree.
    This behavior was observed by a set of samples related to Lummac Stealer.
    The Lummac payload is injected into the vbc.exe process.
references:
    - https://www.virustotal.com/gui/search/behaviour_processes%253A%2522C%253A%255C%255CWindows%255C%255CSysWOW64%255C%255Cmore.com%2522%2520behaviour_processes%253A%2522C%253A%255C%255CWindows%255C%255CMicrosoft.NET%255C%255CFramework%255C%255Cv4.0.30319%255C%255Cvbc.exe%2522/files
    - https://www.virustotal.com/gui/file/14d886517fff2cc8955844b252c985ab59f2f95b2849002778f03a8f07eb8aef
    - https://strontic.github.io/xcyclopedia/library/more.com-EDB3046610020EE614B5B81B0439895E.html
    - https://strontic.github.io/xcyclopedia/library/vbc.exe-A731372E6F6978CE25617AE01B143351.html
author: Joseliyo Sanchez, @Joseliyo_Jstnk
date: 2024-12-19
tags:
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1055
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    # VT Query: behaviour_processes:"C:\\Windows\\SysWOW64\\more.com" behaviour_processes:"C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\vbc.exe"
    selection_parent:
        ParentImage|endswith: '\more.com'
    selection_child:
        - Image|endswith: '\vbc.exe'
        - OriginalFileName: 'vbc.exe'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_parent

selection_parent:
    ParentImage|endswith: '\more.com'

Stage 2: selection_child

selection_child:
    - Image|endswith: '\vbc.exe'
    - OriginalFileName: 'vbc.exe'

Indicators

These rows show field, operator, and value matches.

Mail Forwarding/Redirecting Activity Via ExchangePowerShell Cmdlet

#
Status
experimental
Severity
medium
Author
Nasreddine Bencherchali (Nextron Systems), Marco Pedrinazzi (@pedrinazziM) (InTheCyber)
Source
github.com/SigmaHQ/sigma

Detects email forwarding or redirecting activity via ExchangePowerShell Cmdlet

Known False Positives

  • Legitimate mail forwarding rules created by users or administrators to forward email to designated internal or external recipients for business or operational purposes.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Mail Forwarding/Redirecting Activity Via ExchangePowerShell Cmdlet
id: 0c7686d5-c74e-4292-b224-2a08e956ebc4
related:
    - id: c726e007-2cd0-4a55-abfb-79730fbedee5
      type: similar
    - id: 15b7abbb-8b40-4d01-9ee2-b51994b1d474
      type: obsolete
status: experimental
description: Detects email forwarding or redirecting activity via ExchangePowerShell Cmdlet
references:
    - https://redcanary.com/blog/email-forwarding-rules/
    - https://github.com/PwC-IR/Business-Email-Compromise-Guide/blob/fe29ce06aef842efe4eb448c26bbe822bf5b895d/PwC-Business_Email_Compromise-Guide.pdf
author: Nasreddine Bencherchali (Nextron Systems), Marco Pedrinazzi (@pedrinazziM) (InTheCyber)
date: 2026-03-01
tags:
    - attack.collection
    - attack.stealth
    - attack.t1114.003
    - attack.t1564.008
    - attack.exfiltration
    - attack.t1020
    - detection.threat-hunting
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection_cmdlet:
        ScriptBlockText|contains:
            - 'New-InboxRule'
            - 'Set-InboxRule'
            - 'Set-Mailbox'
    selection_params:
        ScriptBlockText|contains:
            - 'ForwardAsAttachmentTo'
            - 'ForwardingAddress'
            - 'ForwardingSmtpAddress'
            - 'ForwardTo'
            - 'RedirectTo' # Also covers "RedirectToRecipients"
    condition: all of selection_*
falsepositives:
    - Legitimate mail forwarding rules created by users or administrators to forward email to designated internal or external recipients for business or operational purposes.
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_cmdlet

selection_cmdlet:
    ScriptBlockText|contains:
        - 'New-InboxRule'
        - 'Set-InboxRule'
        - 'Set-Mailbox'

Stage 2: selection_params

selection_params:
    ScriptBlockText|contains:
        - 'ForwardAsAttachmentTo'
        - 'ForwardingAddress'
        - 'ForwardingSmtpAddress'
        - 'ForwardTo'
        - 'RedirectTo'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ScriptBlockTextmatch
  • ForwardAsAttachmentTo
  • ForwardTo
  • ForwardingAddress
  • ForwardingSmtpAddress
  • New-InboxRule corpus 2 (sigma 2)
  • RedirectTo
  • Set-InboxRule corpus 2 (sigma 2)
  • Set-Mailbox
field:"ScriptBlockText" kind:match

New User Created Via Net.EXE

#
Status
test
Severity
medium
Author
Endgame, JHasenbusch (adapted to Sigma for oscd.community)
Source
github.com/SigmaHQ/sigma

Identifies the creation of local users via the net.exe command.

Known False Positives

  • Legitimate user creation.
  • Better use event IDs for user creation rather than command line rules.

MITRE ATT&CK Coverage

TacticTechniques
Persistence

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: New User Created Via Net.EXE
id: cd219ff3-fa99-45d4-8380-a7d15116c6dc
related:
    - id: b9f0e6f5-09b4-4358-bae4-08408705bd5c
      type: similar
status: test
description: Identifies the creation of local users via the net.exe command.
references:
    - https://eqllib.readthedocs.io/en/latest/analytics/014c3f51-89c6-40f1-ac9c-5688f26090ab.html
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1136.001/T1136.001.md
author: Endgame, JHasenbusch (adapted to Sigma for oscd.community)
date: 2018-10-30
modified: 2023-02-21
tags:
    - attack.persistence
    - attack.t1136.001
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith:
              - '\net.exe'
              - '\net1.exe'
        - OriginalFileName:
              - 'net.exe'
              - 'net1.exe'
    selection_cli:
        CommandLine|contains|all:
            - 'user'
            - 'add'
    condition: all of selection_*
falsepositives:
    - Legitimate user creation.
    - Better use event IDs for user creation rather than command line rules.
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith:
          - '\net.exe'
          - '\net1.exe'
    - OriginalFileName:
          - 'net.exe'
          - 'net1.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains|all:
        - 'user'
        - 'add'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • add corpus 30 (sigma 26, splunk 4)
  • user corpus 15 (sigma 11, splunk 4)
field:"CommandLine" kind:match
Imageends_with
  • \net.exe corpus 49 (sigma 49)
  • \net1.exe corpus 47 (sigma 47)
field:"Image" kind:ends_with
OriginalFileNameeq
  • net.exe corpus 25 (sigma 19, elastic 4, splunk 2)
  • net1.exe corpus 39 (sigma 19, splunk 19, elastic 1)
field:"OriginalFileName" kind:eq

NTFS symbolic link configuration change

#

NTLM Brute Force

#
Status
test
Severity
medium
Author
Jerry Shockley '@jsh0x'
Source
github.com/SigmaHQ/sigma

Detects common NTLM brute force device names

Known False Positives

  • Systems with names equal to the spoofed ones used by the brute force tools

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

Rule Body

title: NTLM Brute Force
id: 9c8acf1a-cbf9-4db6-b63c-74baabe03e59
status: test
description: Detects common NTLM brute force device names
references:
    - https://www.varonis.com/blog/investigate-ntlm-brute-force
author: Jerry Shockley '@jsh0x'
date: 2022-02-02
tags:
    - attack.credential-access
    - attack.t1110
logsource:
    product: windows
    service: ntlm
    definition: Requires events from Microsoft-Windows-NTLM/Operational
detection:
    selection:
        EventID: 8004
    devicename:
        WorkstationName:
            - 'Rdesktop'
            - 'Remmina'
            - 'Freerdp'
            - 'Windows7'
            - 'Windows8'
            - 'Windows2012'
            - 'Windows2016'
            - 'Windows2019'
    condition: selection and devicename
falsepositives:
    - Systems with names equal to the spoofed ones used by the brute force tools
level: medium

Stages and Predicates

Stage 0: condition

selection and devicename

Stage 1: selection

selection:
    EventID: 8004

Stage 2: devicename

devicename:
    WorkstationName:
        - 'Rdesktop'
        - 'Remmina'
        - 'Freerdp'
        - 'Windows7'
        - 'Windows8'
        - 'Windows2012'
        - 'Windows2016'
        - 'Windows2019'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
WorkstationNameeq
  • Freerdp
  • Rdesktop
  • Remmina
  • Windows2012
  • Windows2016
  • Windows2019
  • Windows7
  • Windows8
field:"WorkstationName" kind:eq

NTLM Hash Leak Via Curl NTLM Authentication

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

Detects the use of curl with NTLM authentication and empty credentials (-u :), which can be abused to leak the currently logged-in user's NTLMv2 challenge-response to an attacker-controlled server, enabling offline cracking or relay attacks. When no credentials are provided, the Microsoft-shipped curl passes a NULL identity to Windows SSPI, which automatically falls back to the current user's logon session credentials stored in LSASS — without requiring a plaintext password. This behavior is exclusive to the curl binary shipped by Microsoft (available since Windows 10 / Windows Server 2019), which is built with SSPI support.

Known False Positives

  • Should be very rare as it's not widely known or used, but could occur in legitimate use cases where curl is used with NTLM authentication and empty credentials, such as in certain scripts or automation tasks.

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: NTLM Hash Leak Via Curl NTLM Authentication
id: 916eb839-895e-47f8-99ee-3008bf377a3e
status: test
description: |
    Detects the use of curl with NTLM authentication and empty credentials (-u :), which can be abused to leak the currently logged-in user's NTLMv2 challenge-response to an
    attacker-controlled server, enabling offline cracking or relay attacks.
    When no credentials are provided, the Microsoft-shipped curl passes a NULL identity to Windows SSPI, which automatically falls back to the current user's logon session credentials
    stored in LSASS — without requiring a plaintext password.
    This behavior is exclusive to the curl binary shipped by Microsoft (available since Windows 10 / Windows Server 2019), which is built with SSPI support.
references:
    - https://github.com/curl/curl/blob/master/lib/vauth/ntlm_sspi.c#L128-L140
    - https://learn.microsoft.com/en-us/windows/win32/secauthn/acquirecredentialshandle--ntlm
    - https://curl.se/docs/manpage.html#--ntlm
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2026-06-04
tags:
    - attack.credential-access
    - attack.t1187
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\curl.exe'
        - OriginalFileName: 'curl.exe'
    selection_ntlm_flag:
        CommandLine|contains: '--ntlm'
    selection_empty_creds:
        CommandLine|re: '(?i)\s(-u|--user)\s*:'
    condition: all of selection_*
falsepositives:
    - Should be very rare as it's not widely known or used, but could occur in legitimate use cases where curl is used with NTLM authentication and empty credentials, such as in certain scripts or automation tasks.
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_curl_ntlm_hash_leak_attempt/info.yml

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_ntlm_flag

selection_ntlm_flag:
    CommandLine|contains: '--ntlm'

Stage 3: selection_empty_creds

selection_empty_creds:
    CommandLine|re: '(?i)\s(-u|--user)\s*:'

Indicators

These rows show field, operator, and value matches.

OCSP responder auditing settings changed or disabled

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

Detects scenarios where an attacker would attempt to alter or disable OCSP responder auditing settings to evade detection and perform further escalation via ADCS vulnerabilities.

Known False Positives

  • Rare PKI/ADCS/OSCP admin changes

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: OCSP responder auditing settings changed or disabled
description: Detects scenarios where an attacker would attempt to alter or disable OCSP responder auditing settings to evade detection and perform further escalation via ADCS vulnerabilities.
requirements: requires to have the OCSP role installed and to have enabled auditing in the responder properties.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0005-Defense%20Evasion/T1222.001-File%20and%20Directory%20Permissions%20Modification
- https://www.gradenegger.eu/en/overview-of-the-audit-events-generated-by-the-online-responder-ocsp/
- https://services.google.com/fh/files/misc/active-directory-certificate-services-hardening-wp-en.pdf
- https://speakerdeck.com/heirhabarov/hunting-for-active-directory-certificate-services-abuse
- https://www.crowdstrike.com/wp-content/uploads/2023/12/investigating-active-directory-certificate-abuse.pdf
tags:
- attack.defense_evasion
- attack.t1562.002 # Impair Defenses: Disable or Modify Tools 
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 5123
    PropertyName: AuditFilter
  condition: selection
falsepositives:
- Rare PKI/ADCS/OSCP admin changes
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  EventID: 5123
  PropertyName: AuditFilter

Indicators

These rows show field, operator, and value matches.

OpenCanary - FTP Login Attempt

#
Status
test
Severity
high
Author
Security Onion Solutions
Source
github.com/SigmaHQ/sigma

Detects instances where an FTP service on an OpenCanary node has had a login attempt.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Initial Access
Lateral Movement

Rule Body

title: OpenCanary - FTP Login Attempt
id: 6991bc2b-ae2e-447f-bc55-3a1ba04c14e5
status: test
description: Detects instances where an FTP service on an OpenCanary node has had a login attempt.
references:
    - https://opencanary.readthedocs.io/en/latest/starting/configuration.html#services-configuration
    - https://github.com/thinkst/opencanary/blob/a0896adfcaf0328cfd5829fe10d2878c7445138e/opencanary/logger.py#L52
author: Security Onion Solutions
date: 2024-03-08
tags:
    - attack.initial-access
    - attack.exfiltration
    - attack.lateral-movement
    - attack.t1190
    - attack.t1021
logsource:
    category: application
    product: opencanary
detection:
    selection:
        logtype: 2000
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    logtype: 2000

Indicators

These rows show field, operator, and value matches.

Potential DLL File Download Via PowerShell Invoke-WebRequest

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

Detects potential DLL files being downloaded using the PowerShell Invoke-WebRequest or Invoke-RestMethod cmdlets.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential DLL File Download Via PowerShell Invoke-WebRequest
id: 0f0450f3-8b47-441e-a31b-15a91dc243e2
status: test
description: Detects potential DLL files being downloaded using the PowerShell Invoke-WebRequest or Invoke-RestMethod cmdlets.
references:
    - https://www.zscaler.com/blogs/security-research/onenote-growing-threat-malware-distribution
author: Florian Roth (Nextron Systems), Hieu Tran
date: 2023-03-13
modified: 2025-07-18
tags:
    - attack.command-and-control
    - attack.execution
    - attack.t1059.001
    - attack.t1105
logsource:
    product: windows
    category: process_creation
detection:
    selection:
        CommandLine|contains:
            - 'Invoke-RestMethod '
            - 'Invoke-WebRequest '
            - 'IRM '
            - 'IWR '
        CommandLine|contains|all:
            - 'http'
            - 'OutFile'
            - '.dll'
    condition: selection
falsepositives:
    - Unknown
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_powershell_download_dll/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains:
        - 'Invoke-RestMethod '
        - 'Invoke-WebRequest '
        - 'IRM '
        - 'IWR '
    CommandLine|contains|all:
        - 'http'
        - 'OutFile'
        - '.dll'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • .dll corpus 16 (sigma 16)
  • IRM corpus 5 (sigma 5)
  • IWR corpus 11 (sigma 11)
  • Invoke-RestMethod corpus 2 (sigma 2)
  • Invoke-WebRequest corpus 4 (sigma 4)
  • OutFile
  • http corpus 45 (sigma 34, elastic 10, splunk 1)
field:"CommandLine" kind:match

Potential NTLM Coercion Via Certutil.EXE

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

Detects possible NTLM coercion via certutil using the 'syncwithWU' flag

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Potential NTLM Coercion Via Certutil.EXE
id: 6c6d9280-e6d0-4b9d-80ac-254701b64916
status: test
description: Detects possible NTLM coercion via certutil using the 'syncwithWU' flag
references:
    - https://github.com/LOLBAS-Project/LOLBAS/issues/243
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-09-01
modified: 2023-02-14
tags:
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\certutil.exe'
        - OriginalFileName: 'CertUtil.exe'
    selection_cli:
        CommandLine|contains|all:
            - ' -syncwithWU '
            - ' \\\\'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_certutil_ntlm_coercion/info.yml

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_cli

selection_cli:
    CommandLine|contains|all:
        - ' -syncwithWU '
        - ' \\\\'

Indicators

These rows show field, operator, and value matches.

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

Potential Persistence Via Event Viewer Events.asp

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

Detects potential registry persistence technique using the Event Viewer "Events.asp" technique

MITRE ATT&CK Coverage

TacticTechniques
Persistence
Defense Impairment

Telemetry Coverage

Rule Body

title: Potential Persistence Via Event Viewer Events.asp
id: a1e11042-a74a-46e6-b07c-c4ce8ecc239b
status: test
description: Detects potential registry persistence technique using the Event Viewer "Events.asp" technique
references:
    - https://twitter.com/nas_bench/status/1626648985824788480
    - https://admx.help/?Category=Windows_7_2008R2&Policy=Microsoft.Policies.InternetCommunicationManagement::EventViewer_DisableLinks
    - https://www.hexacorn.com/blog/2019/02/15/beyond-good-ol-run-key-part-103/
    - https://github.com/redcanaryco/atomic-red-team/blob/f296668303c29d3f4c07e42bdd2b28d8dd6625f9/atomics/T1112/T1112.md
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-02-17
modified: 2023-03-05
tags:
    - attack.persistence
    - attack.defense-impairment
    - attack.t1112
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        # Covers both "\Policies\" and "\Software\" paths for both "Machine" and "User" level configs
        # Also "MicrosoftRedirectionProgramCommandLineParameters" key
        TargetObject|contains:
            - '\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgram'
            - '\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionURL'
    filter_default_redirect_program:
        Image|endswith: 'C:\WINDOWS\system32\svchost.exe' # Set via GPO
        TargetObject|endswith: '\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgram'
        Details: '%%SystemRoot%%\PCHealth\HelpCtr\Binaries\HelpCtr.exe'
    filter_default_redirect_program_cli:
        Image|endswith: 'C:\WINDOWS\system32\svchost.exe' # Set via GPO
        TargetObject|endswith: '\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgramCommandLineParameters'
        Details: '-url hcp://services/centers/support?topic=%%s'
    filter_url:
        Details: 'http://go.microsoft.com/fwlink/events.asp'
    filter_cleaner:
        Details: '(Empty)'
    condition: selection and not 1 of filter_*
falsepositives:
    - Unknown
level: medium
simulation:
    - type: atomic-red-team
      name: Event Viewer Registry Modification - Redirection URL
      technique: T1112
      atomic_guid: 6174be7f-5153-4afd-92c5-e0c3b7cdb5ae
    - type: atomic-red-team
      name: Event Viewer Registry Modification - Redirection Program
      technique: T1112
      atomic_guid: 81483501-b8a5-4225-8b32-52128e2f69db

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_*

Stage 1: selection

selection:
    TargetObject|contains:
        - '\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgram'
        - '\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionURL'

Stage 2: not filter_*

filter_default_redirect_program:
    Image|endswith: 'C:\WINDOWS\system32\svchost.exe'
    TargetObject|endswith: '\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgram'
    Details: '%%SystemRoot%%\PCHealth\HelpCtr\Binaries\HelpCtr.exe'
filter_default_redirect_program_cli:
    Image|endswith: 'C:\WINDOWS\system32\svchost.exe'
    TargetObject|endswith: '\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgramCommandLineParameters'
    Details: '-url hcp://services/centers/support?topic=%%s'
filter_url:
    Details: 'http://go.microsoft.com/fwlink/events.asp'
filter_cleaner:
    Details: '(Empty)'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectmatch
  • \Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgram
  • \Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionURL
field:"TargetObject" kind:match

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Detailseq%%SystemRoot%%\PCHealth\HelpCtr\Binaries\HelpCtr.exeexcludes:Details field:"Details" value:"%%SystemRoot%%\PCHealth\HelpCtr\Binaries\HelpCtr.exe"
Imageends_withC:\WINDOWS\system32\svchost.exeexcludes:Image field:"Image" value:"C:\WINDOWS\system32\svchost.exe"
TargetObjectends_with\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgramexcludes:TargetObject field:"TargetObject" value:"\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgram"
Detailseq-url hcp://services/centers/support?topic=%%sexcludes:Details field:"Details" value:"-url hcp://services/centers/support?topic=%%s"
TargetObjectends_with\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgramCommandLineParametersexcludes:TargetObject field:"TargetObject" value:"\Microsoft\Windows NT\CurrentVersion\Event Viewer\MicrosoftRedirectionProgramCommandLineParameters"
Detailseq(Empty)excludes:Details field:"Details" value:"(Empty)"
Detailseqhttp://go.microsoft.com/fwlink/events.aspexcludes:Details field:"Details" value:"http://go.microsoft.com/fwlink/events.asp"

Potential WerFault ReflectDebugger Registry Value Abuse

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

Detects potential WerFault "ReflectDebugger" registry value abuse for persistence.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential WerFault ReflectDebugger Registry Value Abuse
id: 0cf2e1c6-8d10-4273-8059-738778f981ad
related:
    - id: fabfb3a7-3ce1-4445-9c7c-3c27f1051cdd
      type: derived
status: test
description: Detects potential WerFault "ReflectDebugger" registry value abuse for persistence.
references:
    - https://cocomelonc.github.io/malware/2022/11/02/malware-pers-18.html
    - https://www.hexacorn.com/blog/2018/08/31/beyond-good-ol-run-key-part-85/
author: X__Junior
date: 2023-05-18
tags:
    - attack.stealth
    - attack.t1036.003
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|endswith: '\Microsoft\Windows\Windows Error Reporting\Hangs\ReflectDebugger'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|endswith: '\Microsoft\Windows\Windows Error Reporting\Hangs\ReflectDebugger'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectends_with
  • \Microsoft\Windows\Windows Error Reporting\Hangs\ReflectDebugger
field:"TargetObject" kind:ends_with value:"\Microsoft\Windows\Windows Error Reporting\Hangs\ReflectDebugger"

PUA- IOX Tunneling Tool Execution

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

Detects the use of IOX - a tool for port forwarding and intranet proxy purposes

Known False Positives

  • Legitimate use

MITRE ATT&CK Coverage

TacticTechniques
Command & Control

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: PUA- IOX Tunneling Tool Execution
id: d7654f02-e04b-4934-9838-65c46f187ebc
status: test
description: Detects the use of IOX - a tool for port forwarding and intranet proxy purposes
references:
    - https://github.com/EddieIvan01/iox
author: Florian Roth (Nextron Systems)
date: 2022-10-08
modified: 2024-11-23
tags:
    - attack.command-and-control
    - attack.t1090
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\iox.exe'
    selection_commandline:
        CommandLine|contains:
            - '.exe fwd -l '
            - '.exe fwd -r '
            - '.exe proxy -l '
            - '.exe proxy -r '
    selection_hashes:
        # v0.4
        Hashes|contains:
            - "MD5=9DB2D314DD3F704A02051EF5EA210993"
            - "SHA1=039130337E28A6623ECF9A0A3DA7D92C5964D8DD"
            - "SHA256=C6CF82919B809967D9D90EA73772A8AA1C1EB3BC59252D977500F64F1A0D6731"
    condition: 1 of selection*
falsepositives:
    - Legitimate use
level: high

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection

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

Stage 2: selection_commandline

selection_commandline:
    CommandLine|contains:
        - '.exe fwd -l '
        - '.exe fwd -r '
        - '.exe proxy -l '
        - '.exe proxy -r '

Stage 3: selection_hashes

selection_hashes:
    Hashes|contains:
        - "MD5=9DB2D314DD3F704A02051EF5EA210993"
        - "SHA1=039130337E28A6623ECF9A0A3DA7D92C5964D8DD"
        - "SHA256=C6CF82919B809967D9D90EA73772A8AA1C1EB3BC59252D977500F64F1A0D6731"

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • .exe fwd -l
  • .exe fwd -r
  • .exe proxy -l
  • .exe proxy -r
field:"CommandLine" kind:match
Hashesmatch
  • MD5=9DB2D314DD3F704A02051EF5EA210993
  • SHA1=039130337E28A6623ECF9A0A3DA7D92C5964D8DD
  • SHA256=C6CF82919B809967D9D90EA73772A8AA1C1EB3BC59252D977500F64F1A0D6731
field:"Hashes" kind:match
Imageends_with
  • \iox.exe
field:"Image" kind:ends_with value:"\iox.exe"

Renamed PingCastle Binary Execution

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

Detects the execution of a renamed "PingCastle" 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 PingCastle Binary Execution
id: 2433a154-bb3d-42e4-86c3-a26bdac91c45
status: test
description: Detects the execution of a renamed "PingCastle" binary based on the PE metadata fields.
references:
    - https://thedfirreport.com/2023/10/30/netsupport-intrusion-results-in-domain-compromise/
    - https://www.pingcastle.com/documentation/scanner/
author: Nasreddine Bencherchali (Nextron Systems), X__Junior (Nextron Systems)
date: 2024-01-11
tags:
    - attack.execution
    - attack.stealth
    - attack.t1059
    - attack.t1202
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - OriginalFileName:
              - 'PingCastleReporting.exe'
              - 'PingCastleCloud.exe'
              - 'PingCastle.exe'
        - CommandLine|contains:
              - '--scanner aclcheck'
              - '--scanner antivirus'
              - '--scanner computerversion'
              - '--scanner foreignusers'
              - '--scanner laps_bitlocker'
              - '--scanner localadmin'
              - '--scanner nullsession'
              - '--scanner nullsession-trust'
              - '--scanner oxidbindings'
              - '--scanner remote'
              - '--scanner share'
              - '--scanner smb'
              - '--scanner smb3querynetwork'
              - '--scanner spooler'
              - '--scanner startup'
              - '--scanner zerologon'
        - CommandLine|contains: '--no-enum-limit'
        - CommandLine|contains|all:
              - '--healthcheck'
              - '--level Full'
        - CommandLine|contains|all:
              - '--healthcheck'
              - '--server '
    filter_main_img:
        Image|endswith:
            - '\PingCastleReporting.exe'
            - '\PingCastleCloud.exe'
            - '\PingCastle.exe'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    - OriginalFileName:
          - 'PingCastleReporting.exe'
          - 'PingCastleCloud.exe'
          - 'PingCastle.exe'
    - CommandLine|contains:
          - '--scanner aclcheck'
          - '--scanner antivirus'
          - '--scanner computerversion'
          - '--scanner foreignusers'
          - '--scanner laps_bitlocker'
          - '--scanner localadmin'
          - '--scanner nullsession'
          - '--scanner nullsession-trust'
          - '--scanner oxidbindings'
          - '--scanner remote'
          - '--scanner share'
          - '--scanner smb'
          - '--scanner smb3querynetwork'
          - '--scanner spooler'
          - '--scanner startup'
          - '--scanner zerologon'
    - CommandLine|contains: '--no-enum-limit'
    - CommandLine|contains|all:
          - '--healthcheck'
          - '--level Full'
    - CommandLine|contains|all:
          - '--healthcheck'
          - '--server '

Stage 2: not filter_main_img

filter_main_img:
    Image|endswith:
        - '\PingCastleReporting.exe'
        - '\PingCastleCloud.exe'
        - '\PingCastle.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • --healthcheck corpus 3 (sigma 3)
  • --level Full corpus 3 (sigma 3)
  • --no-enum-limit corpus 3 (sigma 3)
  • --scanner aclcheck corpus 3 (sigma 3)
  • --scanner antivirus corpus 3 (sigma 3)
  • --scanner computerversion corpus 3 (sigma 3)
  • --scanner foreignusers corpus 3 (sigma 3)
  • --scanner laps_bitlocker corpus 3 (sigma 3)
  • --scanner localadmin corpus 3 (sigma 3)
  • --scanner nullsession corpus 3 (sigma 3)
  • --scanner nullsession-trust corpus 3 (sigma 3)
  • --scanner oxidbindings corpus 3 (sigma 3)
  • --scanner remote corpus 3 (sigma 3)
  • --scanner share corpus 3 (sigma 3)
  • --scanner smb corpus 3 (sigma 3)
  • --scanner smb3querynetwork corpus 3 (sigma 3)
  • --scanner spooler corpus 3 (sigma 3)
  • --scanner startup corpus 3 (sigma 3)
  • --scanner zerologon corpus 3 (sigma 3)
  • --server corpus 3 (sigma 3)
field:"CommandLine" kind:match
OriginalFileNameeq
  • PingCastle.exe corpus 3 (sigma 3)
  • PingCastleCloud.exe
  • PingCastleReporting.exe
field:"OriginalFileName" kind:eq

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\PingCastle.exeexcludes:Image field:"Image" value:"\PingCastle.exe"
Imageends_with\PingCastleCloud.exeexcludes:Image field:"Image" value:"\PingCastleCloud.exe"
Imageends_with\PingCastleReporting.exeexcludes:Image field:"Image" value:"\PingCastleReporting.exe"

SMB over QUIC Via PowerShell Script

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

Detects the mounting of Windows SMB shares over QUIC, which can be an unexpected event in some enterprise environments

Known False Positives

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

MITRE ATT&CK Coverage

TacticTechniques
Lateral Movement

Telemetry Coverage

Rule Body

title: SMB over QUIC Via PowerShell Script
id: 6df07c3b-8456-4f8b-87bb-fe31ec964cae
related:
    - id: 2238d337-42fb-4971-9a68-63570f2aede4
      type: similar
status: test
description: Detects the mounting of Windows SMB shares over QUIC, which can be an unexpected event in some enterprise environments
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/74438b0237d141ee9c99747976447dc884cb1a39/atomics/T1570/T1570.md
    - https://learn.microsoft.com/en-us/powershell/module/smbshare/new-smbmapping?view=windowsserver2022-ps
    - https://www.trustedsec.com/blog/making-smb-accessible-with-ntlmquic/
author: frack113
date: 2023-07-21
tags:
    - attack.lateral-movement
    - attack.t1570
    - detection.threat-hunting
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection:
        ScriptBlockText|contains|all:
            - 'New-SmbMapping'
            - '-TransportType QUIC'
    condition: selection
falsepositives:
    - Due to the nature of the script block, the matching of the string could sometimes result in a false positive. Use this rule to hunt for potential malicious or suspicious scripts.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ScriptBlockText|contains|all:
        - 'New-SmbMapping'
        - '-TransportType QUIC'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ScriptBlockTextmatch
  • -TransportType QUIC
  • New-SmbMapping
field:"ScriptBlockText" kind:match

Spring Framework Exceptions

#
Status
stable
Severity
medium
Author
Thomas Patzke
Source
github.com/SigmaHQ/sigma

Detects suspicious Spring framework exceptions that could indicate exploitation attempts

Known False Positives

  • Application bugs

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Rule Body

title: Spring Framework Exceptions
id: ae48ab93-45f7-4051-9dfe-5d30a3f78e33
status: stable
description: Detects suspicious Spring framework exceptions that could indicate exploitation attempts
references:
    - https://docs.spring.io/spring-security/site/docs/current/api/overview-tree.html
author: Thomas Patzke
date: 2017-08-06
modified: 2020-09-01
tags:
    - attack.initial-access
    - attack.t1190
logsource:
    category: application
    product: spring
detection:
    keywords:
        - AccessDeniedException
        - CsrfException
        - InvalidCsrfTokenException
        - MissingCsrfTokenException
        - CookieTheftException
        - InvalidCookieException
        - RequestRejectedException
    condition: keywords
falsepositives:
    - Application bugs
level: medium

Stages and Predicates

Stage 0: condition

keywords

Stage 1: keywords

keywords:
    - AccessDeniedException
    - CsrfException
    - InvalidCsrfTokenException
    - MissingCsrfTokenException
    - CookieTheftException
    - InvalidCookieException
    - RequestRejectedException

Sticky Key Like Backdoor Execution

#
Status
test
Severity
critical
Author
Florian Roth (Nextron Systems), @twjackomo, Jonhnathan Ribeiro, oscd.community
Source
github.com/SigmaHQ/sigma

Detects the usage and installation of a backdoor that uses an option to register a malicious debugger for built-in tools that are accessible in the login screen

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Sticky Key Like Backdoor Execution
id: 2fdefcb3-dbda-401e-ae23-f0db027628bc
related:
    - id: baca5663-583c-45f9-b5dc-ea96a22ce542
      type: derived
status: test
description: Detects the usage and installation of a backdoor that uses an option to register a malicious debugger for built-in tools that are accessible in the login screen
references:
    - https://learn.microsoft.com/en-us/archive/blogs/jonathantrull/detecting-sticky-key-backdoors
author: Florian Roth (Nextron Systems), @twjackomo, Jonhnathan Ribeiro, oscd.community
date: 2018-03-15
modified: 2023-03-07
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1546.008
    - car.2014-11-003
    - car.2014-11-008
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\winlogon.exe'
        Image|endswith:
            - '\cmd.exe'
            - '\cscript.exe'
            - '\mshta.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
            - '\regsvr32.exe'
            - '\rundll32.exe'
            - '\wscript.exe'
            - '\wt.exe'
        CommandLine|contains:
            - 'sethc.exe'
            - 'utilman.exe'
            - 'osk.exe'
            - 'Magnify.exe'
            - 'Narrator.exe'
            - 'DisplaySwitch.exe'
    condition: selection
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\winlogon.exe'
    Image|endswith:
        - '\cmd.exe'
        - '\cscript.exe'
        - '\mshta.exe'
        - '\powershell.exe'
        - '\pwsh.exe'
        - '\regsvr32.exe'
        - '\rundll32.exe'
        - '\wscript.exe'
        - '\wt.exe'
    CommandLine|contains:
        - 'sethc.exe'
        - 'utilman.exe'
        - 'osk.exe'
        - 'Magnify.exe'
        - 'Narrator.exe'
        - 'DisplaySwitch.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • DisplaySwitch.exe corpus 3 (sigma 3)
  • Magnify.exe corpus 3 (sigma 3)
  • Narrator.exe corpus 3 (sigma 3)
  • osk.exe corpus 3 (sigma 3)
  • sethc.exe corpus 4 (sigma 4)
  • utilman.exe corpus 3 (sigma 3)
field:"CommandLine" kind:match
Imageends_with
  • \cmd.exe corpus 132 (sigma 130, splunk 2)
  • \cscript.exe corpus 72 (sigma 72)
  • \mshta.exe corpus 67 (sigma 66, splunk 1)
  • \powershell.exe corpus 181 (sigma 180, splunk 1)
  • \pwsh.exe corpus 166 (sigma 166)
  • \regsvr32.exe corpus 64 (sigma 64)
  • \rundll32.exe corpus 94 (sigma 94)
  • \wscript.exe corpus 74 (sigma 74)
  • \wt.exe corpus 5 (sigma 5)
field:"Image" kind:ends_with
ParentImageends_with
  • \winlogon.exe corpus 5 (sigma 5)
field:"ParentImage" kind:ends_with value:"\winlogon.exe"

Suspicious Startup Folder Persistence

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

Detects the creation of potentially malicious script and executable files in Windows startup folders, which is a common persistence technique used by threat actors. These files (.ps1, .vbs, .js, .bat, etc.) are automatically executed when a user logs in, making the Startup folder an attractive target for attackers. This technique is frequently observed in malvertising campaigns and malware distribution where attackers attempt to maintain long-term access to compromised systems.

Known False Positives

  • Rare legitimate usage of some of the extensions mentioned in the rule

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Suspicious Startup Folder Persistence
id: 28208707-fe31-437f-9a7f-4b1108b94d2e
related:
    - id: 2aa0a6b4-a865-495b-ab51-c28249537b75
      type: similar
status: test
description: |
    Detects the creation of potentially malicious script and executable files in Windows startup folders, which is a common persistence technique used by threat actors.
    These files (.ps1, .vbs, .js, .bat, etc.) are automatically executed when a user logs in, making the Startup folder an attractive target for attackers.
    This technique is frequently observed in malvertising campaigns and malware distribution where attackers attempt to maintain long-term access to compromised systems.
references:
    - https://github.com/last-byte/PersistenceSniper
    - https://www.microsoft.com/en-us/security/blog/2025/03/06/malvertising-campaign-leads-to-info-stealers-hosted-on-github/
    - https://github.com/redcanaryco/atomic-red-team/blob/5ede8f21e42ebe37e0a6eff757dba60bcfa85859/atomics/T1547.001/T1547.001.md
author: Nasreddine Bencherchali (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2022-08-10
modified: 2025-10-12
tags:
    - attack.privilege-escalation
    - attack.execution
    - attack.t1204.002
    - attack.persistence
    - attack.t1547.001
logsource:
    product: windows
    category: file_event
detection:
    selection:
        TargetFilename|contains: '\Windows\Start Menu\Programs\Startup\'
        TargetFilename|endswith:
            # Add or remove suspicious extensions according to your env needs
            - '.bat'
            - '.cmd'
            - '.dll'
            - '.hta'
            - '.jar'
            - '.js'
            - '.jse'
            - '.msi'
            - '.ps1'
            - '.psd1'
            - '.psm1'
            - '.scr'
            - '.url'
            - '.vba'
            - '.vbe'
            - '.vbs'
            - '.wsf'
    condition: selection
falsepositives:
    - Rare legitimate usage of some of the extensions mentioned in the rule
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|contains: '\Windows\Start Menu\Programs\Startup\'
    TargetFilename|endswith:
        - '.bat'
        - '.cmd'
        - '.dll'
        - '.hta'
        - '.jar'
        - '.js'
        - '.jse'
        - '.msi'
        - '.ps1'
        - '.psd1'
        - '.psm1'
        - '.scr'
        - '.url'
        - '.vba'
        - '.vbe'
        - '.vbs'
        - '.wsf'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • .bat corpus 17 (sigma 17)
  • .cmd corpus 8 (sigma 8)
  • .dll corpus 24 (sigma 24)
  • .hta corpus 14 (sigma 14)
  • .jar corpus 3 (sigma 3)
  • .js corpus 10 (sigma 10)
  • .jse corpus 3 (sigma 3)
  • .msi corpus 2 (sigma 2)
  • .ps1 corpus 17 (sigma 17)
  • .psd1
  • .psm1 corpus 4 (sigma 4)
  • .scr corpus 8 (sigma 8)
  • .url
  • .vba corpus 3 (sigma 3)
  • .vbe corpus 16 (sigma 16)
  • .vbs corpus 18 (sigma 18)
  • .wsf corpus 7 (sigma 7)
field:"TargetFilename" kind:ends_with
TargetFilenamematch
  • \Windows\Start Menu\Programs\Startup\
field:"TargetFilename" kind:match value:"\Windows\Start Menu\Programs\Startup\"

TeamViewer Log File Deleted

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

Detects the deletion of the TeamViewer log files which may indicate an attempt to destroy forensic evidence

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: TeamViewer Log File Deleted
id: b1decb61-ed83-4339-8e95-53ea51901720
status: test
description: Detects the deletion of the TeamViewer log files which may indicate an attempt to destroy forensic evidence
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1070.004/T1070.004.md
author: frack113
date: 2022-01-16
modified: 2023-02-15
tags:
    - attack.stealth
    - attack.t1070.004
logsource:
    product: windows
    category: file_delete
detection:
    selection:
        TargetFilename|contains: '\TeamViewer_'
        TargetFilename|endswith: '.log'
    filter:
        Image: C:\Windows\system32\svchost.exe
    condition: selection and not filter
falsepositives:
    - Unknown
level: low

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    TargetFilename|contains: '\TeamViewer_'
    TargetFilename|endswith: '.log'

Stage 2: not filter

filter:
    Image: C:\Windows\system32\svchost.exe

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageeqC:\Windows\system32\svchost.exeexcludes:Image field:"Image" value:"C:\Windows\system32\svchost.exe"

UAC Bypass Using IEInstal - File

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

Detects the pattern of UAC Bypass using IEInstal.exe (UACMe 64)

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: UAC Bypass Using IEInstal - File
id: bdd8157d-8e85-4397-bb82-f06cc9c71dbb
status: test
description: Detects the pattern of UAC Bypass using IEInstal.exe (UACMe 64)
references:
    - https://github.com/hfiref0x/UACME
author: Christian Burkard (Nextron Systems)
date: 2021-08-30
modified: 2022-10-09
tags:
    - attack.privilege-escalation
    - attack.t1548.002
logsource:
    category: file_event
    product: windows
detection:
    selection:
        Image: 'C:\Program Files\Internet Explorer\IEInstal.exe'
        TargetFilename|startswith: 'C:\Users\'
        TargetFilename|contains: '\AppData\Local\Temp\'
        TargetFilename|endswith: 'consent.exe'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image: 'C:\Program Files\Internet Explorer\IEInstal.exe'
    TargetFilename|startswith: 'C:\Users\'
    TargetFilename|contains: '\AppData\Local\Temp\'
    TargetFilename|endswith: 'consent.exe'

Indicators

These rows show field, operator, and value matches.

UAC Bypass WSReset

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

Detects the pattern of UAC Bypass via WSReset usable by default sysmon-config

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: UAC Bypass WSReset
id: 89a9a0e0-f61a-42e5-8957-b1479565a658
status: test
description: Detects the pattern of UAC Bypass via WSReset usable by default sysmon-config
references:
    - https://lolbas-project.github.io/lolbas/Binaries/Wsreset/
    - https://github.com/hfiref0x/UACME
    - https://medium.com/falconforce/falconfriday-detecting-uac-bypasses-0xff16-86c2a9107abf
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:
        Image|endswith: '\wsreset.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:
    Image|endswith: '\wsreset.exe'
    IntegrityLevel:
        - 'High'
        - 'System'
        - 'S-1-16-16384'
        - 'S-1-16-12288'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \wsreset.exe
field:"Image" kind:ends_with value:"\wsreset.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

Back to all Sigma rules