Detection rules › Sigma

Sigma rules: 32

AdminSDHolder permissions changed for persistence

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

Detects scenarios where an attacker changes permissions on the AdminSDHolder container to establish persistence.

MITRE ATT&CK Coverage

TacticTechniques
Persistence

Telemetry Coverage

Rule Body

title: AdminSDHolder permissions changed for persistence
description: Detects scenarios where an attacker changes permissions on the AdminSDHolder container to establish persistence.
requirements: auditing SACL "Modify permissions" must be placed on the "AdminSDHolder" container using the Active Directory console (https://www.manageengine.com/products/active-directory-audit/active-directory-auditing-configuration-guide-configure-object-level-auditing-manually.html).
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0003-Persistence/T1546-Event%20Triggered%20Execution
- https://adsecurity.org/?p=1906
- https://stealthbits.com/blog/20170619persistence-using-adminsdholder-and-sdprop/
- https://attack.stealthbits.com/adminsdholder-modification-ad-persistence
- https://adds-security.blogspot.com/2017/08/adminsdholder-backdoor-via-substitution.html
- https://www.netwrix.com/adminsdholder_modification_ad_persistence.html
- https://www.sentinelone.com/blog/protecting-your-active-directory-from-adminsdholder-attacks/
- https://pentestlab.blog/2022/01/04/domain-persistence-adminsdholder/
tags:
- attack.persistence
- attack.t1546
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 5136
    OperationType: '%%14674' # Value added
    AttributeLDAPDisplayName: nTSecurityDescriptor
    ObjectDN|startswith: CN=AdminSDHolder,CN=System,*
  condition: selection
falsepositives:
- Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  EventID: 5136
  OperationType: '%%14674'
  AttributeLDAPDisplayName: nTSecurityDescriptor
  ObjectDN|startswith: CN=AdminSDHolder,CN=System,*

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
AttributeLDAPDisplayNameeq
  • nTSecurityDescriptor corpus 7 (sigma 6, elastic 1)
field:"AttributeLDAPDisplayName" kind:eq value:"nTSecurityDescriptor"
ObjectDNstarts_with
  • CN=AdminSDHolder,CN=System,*
field:"ObjectDN" kind:starts_with value:"CN=AdminSDHolder,CN=System,*"
OperationTypeeq
  • %%14674 corpus 16 (sigma 9, splunk 4, elastic 3)
field:"OperationType" kind:eq value:"%%14674"

Audio Capture via PowerShell

#
Status
test
Severity
medium
Author
E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community, Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects audio capture via PowerShell Cmdlet.

Known False Positives

  • Legitimate audio capture by legitimate user.

MITRE ATT&CK Coverage

TacticTechniques
Collection

Telemetry Coverage

Rule Body

title: Audio Capture via PowerShell
id: 932fb0d8-692b-4b0f-a26e-5643a50fe7d6
status: test
description: Detects audio capture via PowerShell Cmdlet.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1123/T1123.md
    - https://eqllib.readthedocs.io/en/latest/analytics/ab7a6ef4-0983-4275-a4f1-5c6bd3c31c23.html
    - https://github.com/frgnca/AudioDeviceCmdlets
author: E.M. Anhaus (originally from Atomic Blue Detections, Endgame), oscd.community, Nasreddine Bencherchali (Nextron Systems)
date: 2019-10-24
modified: 2023-04-06
tags:
    - attack.collection
    - attack.t1123
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains:
            - 'WindowsAudioDevice-Powershell-Cmdlet'
            - 'Toggle-AudioDevice'
            - 'Get-AudioDevice '
            - 'Set-AudioDevice '
            - 'Write-AudioDevice '
    condition: selection
falsepositives:
    - Legitimate audio capture by legitimate user.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains:
        - 'WindowsAudioDevice-Powershell-Cmdlet'
        - 'Toggle-AudioDevice'
        - 'Get-AudioDevice '
        - 'Set-AudioDevice '
        - 'Write-AudioDevice '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • Get-AudioDevice
  • Set-AudioDevice
  • Toggle-AudioDevice
  • WindowsAudioDevice-Powershell-Cmdlet
  • Write-AudioDevice
field:"CommandLine" kind:match

BITS payload downloaded via commandline

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

Detects scenarios where an attacker downloads a payload by abusing BITS software. For more precise information, inspect "Bits-client" event log and search for ID 59 and 60.

Known False Positives

  • None

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: BITS payload downloaded via commandline
description: Detects scenarios where an attacker downloads a payload by abusing BITS software. For more precise information, inspect "Bits-client" event log and search for ID 59 and 60.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0003-Persistence/T1197-BITS%20jobs
- https://medium.com/@threathuntingteam/background-intelligent-transfer-protocol-ab81cd900aa7
- https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/bitsadmin-examples
- https://www.microsoft.com/security/blog/2019/12/12/multi-stage-downloader-trojan-sload-abuses-bits-almost-exclusively-for-malicious-activities/
- https://medium.com/@threathuntingteam/background-intelligent-transfer-protocol-ab81cd900aa7
- https://www.hackingarticles.in/windows-for-pentester-bitsadmin/
- https://blog.talosintelligence.com/breaking-the-silence-recent-truebot-activity/
tags:
- attack.exfiltration
- attack.t1048 # Exfiltration Over Alternative Protocol
- attack.lateral_movement
- attack.t1570 # Lateral Tool Transfer
- attack.Command_and_control
- attack.t1105 # Ingress Tool Transfer
- attack.persistence
- attack.t1197 # Bits jobs
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: process_creation
detection:
  selection:
    NewProcessName|endswith: '\bitsadmin.exe'
    CommandLine|contains:
    - '/transfer'
    - '/download'
  condition: selection
falsepositives:
- None
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  NewProcessName|endswith: '\bitsadmin.exe'
  CommandLine|contains:
  - '/transfer'
  - '/download'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /download
  • /transfer
field:"CommandLine" kind:match
NewProcessNameends_with
  • \bitsadmin.exe corpus 29 (sigma 29)
field:"Image" kind:ends_with value:"\bitsadmin.exe"

bXOR Operator Usage In PowerShell Command Line - PowerShell Classic

#
Status
test
Severity
low
Author
Teymur Kheirkhabarov, Harish Segar
Source
github.com/SigmaHQ/sigma

Detects powershell execution with that make use of to the bxor (Bitwise XOR). Attackers might use as an alternative obfuscation method to Base64 encoded commands. Investigate the CommandLine and process tree to determine if the activity is malicious.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
PowerShellEvent ID 400

Rule Body

title: bXOR Operator Usage In PowerShell Command Line - PowerShell Classic
id: 812837bb-b17f-45e9-8bd0-0ec35d2e3bd6
status: test
description: |
    Detects powershell execution with that make use of to the bxor (Bitwise XOR).
    Attackers might use as an alternative obfuscation method to Base64 encoded commands.
    Investigate the CommandLine and process tree to determine if the activity is malicious.
references:
    - https://speakerdeck.com/heirhabarov/hunting-for-powershell-abuse?slide=46
    - https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_arithmetic_operators?view=powershell-5.1
author: Teymur Kheirkhabarov, Harish Segar
date: 2020-06-29
modified: 2024-12-11
tags:
    - attack.execution
    - attack.t1059.001
    - detection.threat-hunting
logsource:
    product: windows
    category: ps_classic_start
detection:
    selection:
        Data|contains|all:
            - 'HostName=ConsoleHost'
            - ' -bxor '
    condition: selection
falsepositives:
    - Unknown
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Data|contains|all:
        - 'HostName=ConsoleHost'
        - ' -bxor '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Datamatch
  • -bxor
  • HostName=ConsoleHost corpus 2 (sigma 2)
field:"Data" kind:match

Chromium Browser Headless Execution To Mockbin Like Site

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

Detects the execution of a Chromium based browser process with the "headless" flag and a URL pointing to the mockbin.org service (which can be used to exfiltrate data).

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

Rule Body

title: Chromium Browser Headless Execution To Mockbin Like Site
id: 1c526788-0abe-4713-862f-b520da5e5316
status: test
description: Detects the execution of a Chromium based browser process with the "headless" flag and a URL pointing to the mockbin.org service (which can be used to exfiltrate data).
references:
    - https://www.zscaler.com/blogs/security-research/steal-it-campaign
author: X__Junior (Nextron Systems)
date: 2023-09-11
tags:
    - attack.execution
logsource:
    product: windows
    category: process_creation
detection:
    selection_img:
        Image|endswith:
            - '\brave.exe'
            - '\chrome.exe'
            - '\msedge.exe'
            - '\opera.exe'
            - '\vivaldi.exe'
    selection_headless:
        CommandLine|contains: '--headless'
    selection_url:
        CommandLine|contains:
            - '://run.mocky'
            - '://mockbin'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_browsers_chromium_mockbin_abuse/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_headless

selection_headless:
    CommandLine|contains: '--headless'

Stage 3: selection_url

selection_url:
    CommandLine|contains:
        - '://run.mocky'
        - '://mockbin'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • --headless corpus 8 (sigma 6, splunk 2)
  • ://mockbin
  • ://run.mocky
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

Disable Security Events Logging Adding Reg Key MiniNt

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

Detects the addition of a key 'MiniNt' to the registry. Upon a reboot, Windows Event Log service will stop writing events.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Disable Security Events Logging Adding Reg Key MiniNt
id: 919f2ef0-be2d-4a7a-b635-eb2b41fde044
status: test
description: Detects the addition of a key 'MiniNt' to the registry. Upon a reboot, Windows Event Log service will stop writing events.
references:
    - https://twitter.com/0gtweet/status/1182516740955226112
    - https://www.hackingarticles.in/defense-evasion-windows-event-logging-t1562-002/
author: Ilyas Ochkov, oscd.community
date: 2019-10-25
modified: 2021-11-27
tags:
    - attack.persistence
    - attack.defense-impairment
    - attack.t1685.001
    - attack.t1112
    - car.2022-03-001
logsource:
    category: registry_event
    product: windows
detection:
    selection:
    # Sysmon gives us HKLM\SYSTEM\CurrentControlSet\.. if ControlSetXX is the selected one
        - TargetObject: 'HKLM\SYSTEM\CurrentControlSet\Control\MiniNt'
          EventType: 'CreateKey'    # we don't want deletekey
    # key rename
        - NewName: 'HKLM\SYSTEM\CurrentControlSet\Control\MiniNt'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:

Indicators

These rows show field, operator, and value matches.

Exchange PowerShell Snap-Ins Usage

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

Detects adding and using Exchange PowerShell snap-ins to export mailbox data. As seen used by HAFNIUM and APT27

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Exchange PowerShell Snap-Ins Usage
id: 25676e10-2121-446e-80a4-71ff8506af47
status: test
description: Detects adding and using Exchange PowerShell snap-ins to export mailbox data. As seen used by HAFNIUM and APT27
references:
    - https://www.volexity.com/blog/2021/03/02/active-exploitation-of-microsoft-exchange-zero-day-vulnerabilities/
    - https://www.microsoft.com/security/blog/2021/03/02/hafnium-targeting-exchange-servers/
    - https://www.intrinsec.com/apt27-analysis/
author: FPT.EagleEye, Nasreddine Bencherchali (Nextron Systems)
date: 2021-03-03
modified: 2023-03-24
tags:
    - attack.execution
    - attack.t1059.001
    - attack.collection
    - attack.t1114
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith:
              - '\powershell.exe'
              - '\pwsh.exe'
        - OriginalFileName:
              - 'PowerShell.EXE'
              - 'pwsh.dll'
    selection_cli:
        CommandLine|contains: 'Add-PSSnapin'
    selection_module:
        CommandLine|contains:
            - 'Microsoft.Exchange.Powershell.Snapin'
            - 'Microsoft.Exchange.Management.PowerShell.SnapIn'
    filter_msiexec:
        # ParentCommandLine: C:\Windows\System32\MsiExec.exe -Embedding C9138ECE2536CB4821EB5F55D300D88E E Global\MSI0000
        ParentImage: 'C:\Windows\System32\msiexec.exe'
        CommandLine|contains: '$exserver=Get-ExchangeServer ([Environment]::MachineName) -ErrorVariable exerr 2> $null'
    condition: all of selection_* and not 1 of filter_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection_* and not 1 of filter_*

Stage 1: selection_img

selection_img:
    - Image|endswith:
          - '\powershell.exe'
          - '\pwsh.exe'
    - OriginalFileName:
          - 'PowerShell.EXE'
          - 'pwsh.dll'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains: 'Add-PSSnapin'

Stage 3: selection_module

selection_module:
    CommandLine|contains:
        - 'Microsoft.Exchange.Powershell.Snapin'
        - 'Microsoft.Exchange.Management.PowerShell.SnapIn'

Stage 4: not filter_msiexec

filter_msiexec:
    ParentImage: 'C:\Windows\System32\msiexec.exe'
    CommandLine|contains: '$exserver=Get-ExchangeServer ([Environment]::MachineName) -ErrorVariable exerr 2> $null'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • Add-PSSnapin corpus 2 (sigma 2)
  • Microsoft.Exchange.Management.PowerShell.SnapIn
  • Microsoft.Exchange.Powershell.Snapin
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
OriginalFileNameeq
  • PowerShell.EXE corpus 134 (sigma 86, splunk 30, elastic 18)
  • pwsh.dll corpus 115 (sigma 81, splunk 30, elastic 4)
field:"OriginalFileName" kind:eq

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLinematch$exserver=Get-ExchangeServer ([Environment]::MachineName) -ErrorVariable exerr 2> $nullexcludes:CommandLine field:"CommandLine" value:"$exserver=Get-ExchangeServer ([Environment]::MachineName) -ErrorVariable exerr 2> $null"
ParentImageeqC:\Windows\System32\msiexec.exeexcludes:ParentImage field:"ParentImage" value:"C:\Windows\System32\msiexec.exe"

Hacktool - EDR-Freeze Execution

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

Detects execution of EDR-Freeze, a tool that exploits the MiniDumpWriteDump function and WerFaultSecure.exe to suspend EDR and Antivirus processes on Windows. EDR-Freeze leverages a race-condition attack to put security processes into a dormant state by suspending WerFaultSecure at the moment it freezes the target process. This technique does not require kernel-level exploits or BYOVD, but instead abuses user-mode functionality to temporarily disable monitoring by EDR or Antimalware solutions.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Hacktool - EDR-Freeze Execution
id: c598cc0c-9e70-4852-b9eb-8921af79f598
status: experimental
description: |
    Detects execution of EDR-Freeze, a tool that exploits the MiniDumpWriteDump function and WerFaultSecure.exe to suspend EDR and Antivirus processes on Windows.
    EDR-Freeze leverages a race-condition attack to put security processes into a dormant state by suspending WerFaultSecure at the moment it freezes the target process.
    This technique does not require kernel-level exploits or BYOVD, but instead abuses user-mode functionality to temporarily disable monitoring by EDR or Antimalware solutions.
references:
    - https://www.zerosalarium.com/2025/09/EDR-Freeze-Puts-EDRs-Antivirus-Into-Coma.html
    - https://github.com/TwoSevenOneT/EDR-Freeze
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-09-24
modified: 2025-11-27
tags:
    - attack.defense-impairment
    - attack.t1685
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        Image|contains:
            - '\EDR-Freeze'
            - '\EDRFreeze'
        Image|endswith: '.exe'
    selection_imphash:
        Hashes|contains:
            - 'IMPHASH=1195F7935954A2CD09157390C33F8E8C'
            - 'IMPHASH=129F58DE3D687FB7F012BF6C3D679997'
            - 'IMPHASH=2C617A175D0086251642C6619F7CC8BA'
            - 'IMPHASH=8828F0B906F7844358FB92A899E9520F'
            - 'IMPHASH=AF76D95157EC554DC1EF178E4E66D447'
            - 'IMPHASH=E1B04316B61ACA31DD52ABBEC0A37FD5'
            - 'IMPHASH=8B2D5B54AFCFEC60D54F6B31D80ED4A0'
            - 'IMPHASH=AB8BB31EDD91D2A05FE7B62A535E9EB7'
    condition: 1 of selection_*
falsepositives:
    - Unlikely
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_hktl_edr_freeze/info.yml

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_img

selection_img:
    Image|contains:
        - '\EDR-Freeze'
        - '\EDRFreeze'
    Image|endswith: '.exe'

Stage 2: selection_imphash

selection_imphash:
    Hashes|contains:
        - 'IMPHASH=1195F7935954A2CD09157390C33F8E8C'
        - 'IMPHASH=129F58DE3D687FB7F012BF6C3D679997'
        - 'IMPHASH=2C617A175D0086251642C6619F7CC8BA'
        - 'IMPHASH=8828F0B906F7844358FB92A899E9520F'
        - 'IMPHASH=AF76D95157EC554DC1EF178E4E66D447'
        - 'IMPHASH=E1B04316B61ACA31DD52ABBEC0A37FD5'
        - 'IMPHASH=8B2D5B54AFCFEC60D54F6B31D80ED4A0'
        - 'IMPHASH=AB8BB31EDD91D2A05FE7B62A535E9EB7'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Hashesmatch
  • IMPHASH=1195F7935954A2CD09157390C33F8E8C
  • IMPHASH=129F58DE3D687FB7F012BF6C3D679997
  • IMPHASH=2C617A175D0086251642C6619F7CC8BA
  • IMPHASH=8828F0B906F7844358FB92A899E9520F
  • IMPHASH=8B2D5B54AFCFEC60D54F6B31D80ED4A0
  • IMPHASH=AB8BB31EDD91D2A05FE7B62A535E9EB7
  • IMPHASH=AF76D95157EC554DC1EF178E4E66D447
  • IMPHASH=E1B04316B61ACA31DD52ABBEC0A37FD5
field:"Hashes" kind:match
Imageends_with
  • .exe corpus 4 (sigma 4)
field:"Image" kind:ends_with value:".exe"
Imagematch
  • \EDR-Freeze
  • \EDRFreeze
field:"Image" kind:match

HackTool - SecurityXploded Execution

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

Detects the execution of SecurityXploded Tools

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: HackTool - SecurityXploded Execution
id: 7679d464-4f74-45e2-9e01-ac66c5eb041a
status: stable
description: Detects the execution of SecurityXploded Tools
references:
    - https://securityxploded.com/
    - https://web.archive.org/web/20200601000524/https://cyberx-labs.com/blog/gangnam-industrial-style-apt-campaign-targets-korean-industrial-companies/
author: Florian Roth (Nextron Systems)
date: 2018-12-19
modified: 2023-02-04
tags:
    - attack.credential-access
    - attack.t1555
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - Company: SecurityXploded
        - Image|endswith: 'PasswordDump.exe'
        - OriginalFileName|endswith: 'PasswordDump.exe'
    condition: selection
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - Company: SecurityXploded
    - Image|endswith: 'PasswordDump.exe'
    - OriginalFileName|endswith: 'PasswordDump.exe'

Indicators

These rows show field, operator, and value matches.

Juniper BGP Missing MD5

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

Detects juniper BGP missing MD5 digest. Which may be indicative of brute force attacks to manipulate routing.

Known False Positives

  • Unlikely. Except due to misconfigurations

MITRE ATT&CK Coverage

Rule Body

title: Juniper BGP Missing MD5
id: a7c0ae48-8df8-42bf-91bd-2ea57e2f9d43
status: test
description: Detects juniper BGP missing MD5 digest. Which may be indicative of brute force attacks to manipulate routing.
references:
    - https://www.blackhat.com/presentations/bh-usa-03/bh-us-03-convery-franz-v3.pdf
author: Tim Brown
date: 2023-01-09
modified: 2023-01-23
tags:
    - attack.initial-access
    - attack.persistence
    - attack.privilege-escalation
    - attack.credential-access
    - attack.collection
    - attack.stealth
    - attack.t1078
    - attack.t1110
    - attack.t1557
logsource:
    product: juniper
    service: bgp
    definition: 'Requirements: juniper bgp logs need to be enabled and ingested'
detection:
    keywords_bgp_juniper:
        '|all':
            - ':179' # Protocol
            - 'missing MD5 digest'
    condition: keywords_bgp_juniper
falsepositives:
    - Unlikely. Except due to misconfigurations
level: low

Stages and Predicates

Stage 0: condition

keywords_bgp_juniper

Stage 1: keywords_bgp_juniper

keywords_bgp_juniper:
    '|all':
        - ':179'
        - 'missing MD5 digest'

Load Of RstrtMgr.DLL By An Uncommon Process

#
Status
test
Severity
low
Author
Luc Génaux
Source
github.com/SigmaHQ/sigma

Detects the load of RstrtMgr DLL (Restart Manager) by an uncommon process. This library has been used during ransomware campaigns to kill processes that would prevent file encryption by locking them (e.g. Conti ransomware, Cactus ransomware). It has also recently been seen used by the BiBi wiper for Windows. It could also be used for anti-analysis purposes by shut downing specific processes.

Known False Positives

  • Other legitimate Windows processes not currently listed
  • Processes related to software installation

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment
Impact

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Load Of RstrtMgr.DLL By An Uncommon Process
id: 3669afd2-9891-4534-a626-e5cf03810a61
related:
    - id: b48492dc-c5ef-4572-8dff-32bc241c15c8
      type: derived
status: test
description: |
    Detects the load of RstrtMgr DLL (Restart Manager) by an uncommon process.
    This library has been used during ransomware campaigns to kill processes that would prevent file encryption by locking them (e.g. Conti ransomware, Cactus ransomware). It has also recently been seen used by the BiBi wiper for Windows.
    It could also be used for anti-analysis purposes by shut downing specific processes.
references:
    - https://www.crowdstrike.com/blog/windows-restart-manager-part-1/
    - https://www.crowdstrike.com/blog/windows-restart-manager-part-2/
    - https://web.archive.org/web/20231221193106/https://www.swascan.com/cactus-ransomware-malware-analysis/
    - https://taiwan.postsen.com/business/88601/Hamas-hackers-use-data-destruction-software-BiBi-which-consumes-a-lot-of-processor-resources-to-wipe-Windows-computer-data--iThome.html
author: Luc Génaux
date: 2023-11-28
modified: 2026-07-28
tags:
    - attack.impact
    - attack.defense-impairment
    - attack.t1486
    - attack.t1685
logsource:
    category: image_load
    product: windows
detection:
    selection:
        - ImageLoaded|endswith: '\RstrtMgr.dll'
        - OriginalFileName: 'RstrtMgr.dll'
    filter_main_generic:
        Image|startswith:
            - 'C:\$WINDOWS.~BT\'
            - 'C:\$WinREAgent\'
            - 'C:\Program Files (x86)\'
            - 'C:\Program Files\'
            - 'C:\ProgramData\'
            - 'C:\Windows\explorer.exe'
            - 'C:\Windows\SoftwareDistribution\'
            - 'C:\Windows\SysNative\'
            - 'C:\Windows\System32\'
            - 'C:\Windows\SysWOW64\'
            - 'C:\Windows\WinSxS\'
            - 'C:\WUDownloadCache\'
    filter_main_user_software_installations:
        Image|startswith: 'C:\Users\'
        Image|contains|all:
            - '\AppData\Local\Temp\is-'
            - '.tmp\'
        Image|endswith: '.tmp'
    filter_main_admin_software_installations:
        Image|startswith: 'C:\Windows\Temp\'
    filter_optional_onedrive_1:
        Image|startswith: 'C:\Users\'
        Image|endswith:
            - '\AppData\Local\Microsoft\OneDrive\OneDrive.exe'
            - '\AppData\Local\Microsoft\OneDrive\OneDriveStandaloneUpdater.exe'
    filter_optional_onedrive_2:
        Image|startswith: 'C:\Users\'
        Image|contains: '\AppData\Local\Microsoft\OneDrive\' # AppData\Local\Microsoft\OneDrive\26.062.0402.0002\OneDrive.Sync.Service.exe
        Image|endswith: '\OneDrive.Sync.Service.exe'
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
    - Other legitimate Windows processes not currently listed
    - Processes related to software installation
level: low

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_* and not 1 of filter_optional_*

Stage 1: selection

selection:
    - ImageLoaded|endswith: '\RstrtMgr.dll'
    - OriginalFileName: 'RstrtMgr.dll'

Stage 2: not filter_main_*

filter_main_generic:
    Image|startswith:
        - 'C:\$WINDOWS.~BT\'
        - 'C:\$WinREAgent\'
        - 'C:\Program Files (x86)\'
        - 'C:\Program Files\'
        - 'C:\ProgramData\'
        - 'C:\Windows\explorer.exe'
        - 'C:\Windows\SoftwareDistribution\'
        - 'C:\Windows\SysNative\'
        - 'C:\Windows\System32\'
        - 'C:\Windows\SysWOW64\'
        - 'C:\Windows\WinSxS\'
        - 'C:\WUDownloadCache\'
filter_main_user_software_installations:
    Image|startswith: 'C:\Users\'
    Image|contains|all:
        - '\AppData\Local\Temp\is-'
        - '.tmp\'
    Image|endswith: '.tmp'
filter_main_admin_software_installations:
    Image|startswith: 'C:\Windows\Temp\'

Stage 3: not filter_optional_*

filter_optional_onedrive_1:
    Image|startswith: 'C:\Users\'
    Image|endswith:
        - '\AppData\Local\Microsoft\OneDrive\OneDrive.exe'
        - '\AppData\Local\Microsoft\OneDrive\OneDriveStandaloneUpdater.exe'
filter_optional_onedrive_2:
    Image|startswith: 'C:\Users\'
    Image|contains: '\AppData\Local\Microsoft\OneDrive\'
    Image|endswith: '\OneDrive.Sync.Service.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ImageLoadedends_with
  • \RstrtMgr.dll corpus 2 (sigma 2)
field:"ImageLoaded" kind:ends_with value:"\RstrtMgr.dll"
OriginalFileNameeq
  • RstrtMgr.dll corpus 2 (sigma 2)
field:"OriginalFileName" kind:eq value:"RstrtMgr.dll"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with.tmpexcludes:Image field:"Image" value:".tmp"
Imagematch.tmp\excludes:Image field:"Image" value:".tmp\"
Imagematch\AppData\Local\Temp\is-excludes:Image field:"Image" value:"\AppData\Local\Temp\is-"
Imagestarts_withC:\Users\excludes:Image field:"Image" value:"C:\Users\"
Imagestarts_withC:\$WINDOWS.~BT\excludes:Image field:"Image" value:"C:\$WINDOWS.~BT\"
Imagestarts_withC:\$WinREAgent\excludes:Image field:"Image" value:"C:\$WinREAgent\"
Imagestarts_withC:\Program Files (x86)\excludes:Image field:"Image" value:"C:\Program Files (x86)\"
Imagestarts_withC:\Program Files\excludes:Image field:"Image" value:"C:\Program Files\"
Imagestarts_withC:\ProgramData\excludes:Image field:"Image" value:"C:\ProgramData\"
Imagestarts_withC:\WUDownloadCache\excludes:Image field:"Image" value:"C:\WUDownloadCache\"
Imagestarts_withC:\Windows\SoftwareDistribution\excludes:Image field:"Image" value:"C:\Windows\SoftwareDistribution\"
Imagestarts_withC:\Windows\SysNative\excludes:Image field:"Image" value:"C:\Windows\SysNative\"
Imagestarts_withC:\Windows\SysWOW64\excludes:Image field:"Image" value:"C:\Windows\SysWOW64\"
Imagestarts_withC:\Windows\System32\excludes:Image field:"Image" value:"C:\Windows\System32\"
Imagestarts_withC:\Windows\Temp\excludes:Image field:"Image" value:"C:\Windows\Temp\"
Imagestarts_withC:\Windows\WinSxS\excludes:Image field:"Image" value:"C:\Windows\WinSxS\"
Imagestarts_withC:\Windows\explorer.exeexcludes:Image field:"Image" value:"C:\Windows\explorer.exe"
Imageends_with\AppData\Local\Microsoft\OneDrive\OneDrive.exeexcludes:Image field:"Image" value:"\AppData\Local\Microsoft\OneDrive\OneDrive.exe"
Imageends_with\AppData\Local\Microsoft\OneDrive\OneDriveStandaloneUpdater.exeexcludes:Image field:"Image" value:"\AppData\Local\Microsoft\OneDrive\OneDriveStandaloneUpdater.exe"
Imageends_with\OneDrive.Sync.Service.exeexcludes:Image field:"Image" value:"\OneDrive.Sync.Service.exe"
Imagematch\AppData\Local\Microsoft\OneDrive\excludes:Image field:"Image" value:"\AppData\Local\Microsoft\OneDrive\"

Mass Process Termination

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

Detects a single process terminating multiple other processes which may indicate ransomware or system disruption

Known False Positives

  • System shutdown scripts
  • Process management tools

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: Mass Process Termination
id: 8c803e5c-91b8-42f0-8557-f93308c263b9
status: experimental
description: Detects a single process terminating multiple other processes which may
  indicate ransomware or system disruption
references:
- https://attack.mitre.org/techniques/T1489/
author: Eric Brown - Nebulock, Inc.
date: 2025/10/29
tags:
- attack.impact
- attack.t1489
logsource:
  product: macos
  service: endpointsecurity
  category: process_signal
detection:
  selection:
    esf.event_type: 27
    event.action: signal
    SignalNumber:
    - 9
    - 15
  condition: selection
  # Note: Count aggregation (count by process.pid > 10) would need to be applied
  # at query time in Kibana/Elasticsearch, not in Sigma rule
  timeframe: 1m
falsepositives:
- System shutdown scripts
- Process management tools
level: high
modified: 2025/01/15

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  esf.event_type: 27
  event.action: signal
  SignalNumber:
  - 9
  - 15

Indicators

These rows show field, operator, and value matches.

MaxMpxCt Registry Value Changed

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

Detects changes to the "MaxMpxCt" registry value. MaxMpxCt specifies the maximum outstanding network requests for the server per client, which is used when negotiating a Server Message Block (SMB) connection with a client. Note if the value is set beyond 125 older Windows 9x clients will fail to negotiate. Ransomware threat actors and operators (specifically BlackCat) were seen increasing this value in order to handle a higher volume of traffic.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: MaxMpxCt Registry Value Changed
id: 0e6a9e62-627e-496c-aef5-bfa39da29b5e
status: test
description: |
    Detects changes to the "MaxMpxCt" registry value.
    MaxMpxCt specifies the maximum outstanding network requests for the server per client, which is used when negotiating a Server Message Block (SMB) connection with a client. Note if the value is set beyond 125 older Windows 9x clients will fail to negotiate.
    Ransomware threat actors and operators (specifically BlackCat) were seen increasing this value in order to handle a higher volume of traffic.
references:
    - https://www.huntress.com/blog/blackcat-ransomware-affiliate-ttps
    - https://securityscorecard.com/research/deep-dive-into-alphv-blackcat-ransomware
    - https://www.intrinsec.com/alphv-ransomware-gang-analysis/?cn-reloaded=1
    - https://www.sentinelone.com/labs/blackcat-ransomware-highly-configurable-rust-driven-raas-on-the-prowl-for-victims/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2024-03-19
tags:
    - attack.stealth
    - attack.t1070.005
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|endswith: '\Services\LanmanServer\Parameters\MaxMpxCt'
    condition: selection
falsepositives:
    - Unknown
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|endswith: '\Services\LanmanServer\Parameters\MaxMpxCt'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectends_with
  • \Services\LanmanServer\Parameters\MaxMpxCt
field:"TargetObject" kind:ends_with value:"\Services\LanmanServer\Parameters\MaxMpxCt"

New BITS Job Created Via Bitsadmin

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

Detects the creation of a new bits job by Bitsadmin

Known False Positives

  • Many legitimate applications or scripts could leverage "bitsadmin". This event is best correlated with EID 16403 via the JobID field

MITRE ATT&CK Coverage

TacticTechniques
Execution
Persistence
Stealth

Telemetry Coverage

Rule Body

title: New BITS Job Created Via Bitsadmin
id: 1ff315dc-2a3a-4b71-8dde-873818d25d39
status: test
description: Detects the creation of a new bits job by Bitsadmin
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1197/T1197.md
author: frack113
date: 2022-03-01
modified: 2023-03-27
tags:
    - attack.persistence
    - attack.execution
    - attack.stealth
    - attack.t1197
logsource:
    product: windows
    service: bits-client
detection:
    selection:
        EventID: 3
        processPath|endswith: '\bitsadmin.exe'
    condition: selection
falsepositives:
    - Many legitimate applications or scripts could leverage "bitsadmin". This event is best correlated with EID 16403 via the JobID field
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 3
    processPath|endswith: '\bitsadmin.exe'

Indicators

These rows show field, operator, and value matches.

New BITS Job Created Via PowerShell

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

Detects the creation of a new bits job by PowerShell

Known False Positives

  • Administrator PowerShell scripts

MITRE ATT&CK Coverage

TacticTechniques
Execution
Persistence
Stealth

Telemetry Coverage

Rule Body

title: New BITS Job Created Via PowerShell
id: fe3a2d49-f255-4d10-935c-bda7391108eb
status: test
description: Detects the creation of a new bits job by PowerShell
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1197/T1197.md
author: frack113
date: 2022-03-01
modified: 2023-03-27
tags:
    - attack.persistence
    - attack.execution
    - attack.stealth
    - attack.t1197
logsource:
    product: windows
    service: bits-client
detection:
    selection:
        EventID: 3
        processPath|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
    condition: selection
falsepositives:
    - Administrator PowerShell scripts
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 3
    processPath|endswith:
        - '\powershell.exe'
        - '\pwsh.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
processPathends_with
  • \powershell.exe
  • \pwsh.exe
field:"processPath" kind:ends_with

OneNote.EXE Execution of Malicious Embedded Scripts

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

Detects the execution of malicious OneNote documents that contain embedded scripts. When a user clicks on a OneNote attachment and then on the malicious link inside the ".one" file, it exports and executes the malicious embedded script from specific directories.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: OneNote.EXE Execution of Malicious Embedded Scripts
id: 84b1706c-932a-44c4-ae28-892b28a25b94
status: test
description: |
    Detects the execution of malicious OneNote documents that contain embedded scripts.
    When a user clicks on a OneNote attachment and then on the malicious link inside the ".one" file, it exports and executes the malicious embedded script from specific directories.
references:
    - https://bazaar.abuse.ch/browse/tag/one/
author: '@kostastsale'
date: 2023-02-02
tags:
    - attack.stealth
    - attack.t1218.001
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\onenote.exe'
        Image|endswith:
            - '\cmd.exe'
            - '\cscript.exe'
            - '\mshta.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
            - '\wscript.exe'
        CommandLine|contains:
            - '\exported\'
            - '\onenoteofflinecache_files\'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\onenote.exe'
    Image|endswith:
        - '\cmd.exe'
        - '\cscript.exe'
        - '\mshta.exe'
        - '\powershell.exe'
        - '\pwsh.exe'
        - '\wscript.exe'
    CommandLine|contains:
        - '\exported\'
        - '\onenoteofflinecache_files\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • \exported\
  • \onenoteofflinecache_files\
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)
  • \wscript.exe corpus 74 (sigma 74)
field:"Image" kind:ends_with
ParentImageends_with
  • \onenote.exe corpus 5 (sigma 5)
field:"ParentImage" kind:ends_with value:"\onenote.exe"

Potential CVE-2023-36884 Exploitation - File Downloads

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

Detects files seen being requested by RomCom while potentially exploiting CVE-2023-36884

MITRE ATT&CK Coverage

TacticTechniques
Command & ControlNo specific technique

Rule Body

title: Potential CVE-2023-36884 Exploitation - File Downloads
id: 6af1617f-c179-47e3-bd66-b28034a1052d
status: test
description: Detects files seen being requested by RomCom while potentially exploiting CVE-2023-36884
references:
    - https://blogs.blackberry.com/en/2023/07/romcom-targets-ukraine-nato-membership-talks-at-nato-summit
author: X__Junior
date: 2023-07-12
tags:
    - attack.command-and-control
    - cve.2023-36884
    - detection.emerging-threats
logsource:
    category: proxy
detection:
    selection:
        cs-method: 'GET'
        c-uri|contains:
            - '/ex001.url'
            - '/file001.search-ms'
            - '/file001.url'
            - '/file001.vbs'
            - '/file1.mht'
            - '/o2010.asp'
            - '/redir_obj.html'
            - '/RFile.asp'
            - '/zip_k.asp'
            - '/zip_k2.asp'
            - '/zip_k3.asp'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    cs-method: 'GET'
    c-uri|contains:
        - '/ex001.url'
        - '/file001.search-ms'
        - '/file001.url'
        - '/file001.vbs'
        - '/file1.mht'
        - '/o2010.asp'
        - '/redir_obj.html'
        - '/RFile.asp'
        - '/zip_k.asp'
        - '/zip_k2.asp'
        - '/zip_k3.asp'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
c-urimatch
  • /RFile.asp
  • /ex001.url
  • /file001.search-ms
  • /file001.url
  • /file001.vbs
  • /file1.mht
  • /o2010.asp
  • /redir_obj.html
  • /zip_k.asp
  • /zip_k2.asp
  • /zip_k3.asp
field:"c-uri" kind:match
cs-methodeq
  • GET
field:"cs-method" kind:eq value:"GET"

Potential Malicious AppX Package Installation Attempts

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

Detects potential installation or installation attempts of known malicious appx packages

Known False Positives

  • Rare occasions where a malicious package uses the exact same name and version as a legitimate application.

MITRE ATT&CK Coverage

TacticTechniques
StealthNo specific technique

Telemetry Coverage

Rule Body

title: Potential Malicious AppX Package Installation Attempts
id: 09d3b48b-be17-47f5-bf4e-94e7e75d09ce
status: test
description: Detects potential installation or installation attempts of known malicious appx packages
references:
    - https://www.sentinelone.com/labs/inside-malicious-windows-apps-for-malware-deployment/
    - https://news.sophos.com/en-us/2021/11/11/bazarloader-call-me-back-attack-abuses-windows-10-apps-mechanism/
    - https://forensicitguy.github.io/analyzing-magnitude-magniber-appx/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-01-11
modified: 2023-01-12
tags:
    - attack.stealth
logsource:
    product: windows
    service: appxdeployment-server
detection:
    selection:
        EventID:
            - 400
            - 401
        # Add more malicious package names
        # TODO: Investigate the packages here https://github.com/sophoslabs/IoCs/blob/master/Troj-BazarBackdoor.csv based on this report https://news.sophos.com/en-us/2021/11/11/bazarloader-call-me-back-attack-abuses-windows-10-apps-mechanism/
        PackageFullName|contains: '3669e262-ec02-4e9d-bcb4-3d008b4afac9'
    condition: selection
falsepositives:
    - Rare occasions where a malicious package uses the exact same name and version as a legitimate application.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID:
        - 400
        - 401
    PackageFullName|contains: '3669e262-ec02-4e9d-bcb4-3d008b4afac9'

Indicators

These rows show field, operator, and value matches.

Potential Maze Ransomware Activity

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

Detects specific process characteristics of Maze ransomware word document droppers

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential Maze Ransomware Activity
id: 29fd07fc-9cfd-4331-b7fd-cc18dfa21052
status: test
description: Detects specific process characteristics of Maze ransomware word document droppers
references:
    - https://www.fireeye.com/blog/threat-research/2020/05/tactics-techniques-procedures-associated-with-maze-ransomware-incidents.html
    - https://app.any.run/tasks/51e7185c-52d7-4efb-ac0d-e86340053473/
    - https://app.any.run/tasks/65a79440-373a-4725-8d74-77db9f2abda4/
author: Florian Roth (Nextron Systems)
date: 2020-05-08
modified: 2023-02-13
tags:
    - attack.execution
    - attack.t1204.002
    - attack.t1047
    - attack.impact
    - attack.t1490
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    # Dropper
    selection1:
        ParentImage|endswith: '\WINWORD.exe'
        Image|endswith: '.tmp'
    # Binary Execution
    selection2:
        Image|endswith: '\wmic.exe'
        ParentImage|contains: '\Temp\'
        CommandLine|endswith: 'shadowcopy delete'
    # Specific Pattern
    selection3:
        CommandLine|endswith: 'shadowcopy delete'
        CommandLine|contains: '\..\..\system32'
    condition: 1 of selection*
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection1

selection1:
    ParentImage|endswith: '\WINWORD.exe'
    Image|endswith: '.tmp'

Stage 2: selection2

selection2:
    Image|endswith: '\wmic.exe'
    ParentImage|contains: '\Temp\'
    CommandLine|endswith: 'shadowcopy delete'

Stage 3: selection3

selection3:
    CommandLine|endswith: 'shadowcopy delete'
    CommandLine|contains: '\..\..\system32'

Indicators

These rows show field, operator, and value matches.

PrintBrm ZIP Creation of Extraction

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

Detects the execution of the LOLBIN PrintBrm.exe, which can be used to create or extract ZIP files. PrintBrm.exe should not be run on a normal workstation.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: PrintBrm ZIP Creation of Extraction
id: cafeeba3-01da-4ab4-b6c4-a31b1d9730c7
status: test
description: Detects the execution of the LOLBIN PrintBrm.exe, which can be used to create or extract ZIP files. PrintBrm.exe should not be run on a normal workstation.
references:
    - https://lolbas-project.github.io/lolbas/Binaries/PrintBrm/
author: frack113
date: 2022-05-02
tags:
    - attack.command-and-control
    - attack.stealth
    - attack.t1105
    - attack.t1564.004
logsource:
    product: windows
    category: process_creation
detection:
    selection:
        Image|endswith: '\PrintBrm.exe'
        CommandLine|contains|all:
            - ' -f'
            - '.zip'
    condition: selection
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_lolbin_printbrm/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '\PrintBrm.exe'
    CommandLine|contains|all:
        - ' -f'
        - '.zip'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -f corpus 3 (sigma 3)
  • .zip corpus 5 (sigma 5)
field:"CommandLine" kind:match
Imageends_with
  • \PrintBrm.exe
field:"Image" kind:ends_with value:"\PrintBrm.exe"

PUA - Rclone Execution

#
Status
test
Severity
high
Author
Bhabesh Raj, Sittikorn S, Aaron Greetham (@beardofbinary) - NCC Group
Source
github.com/SigmaHQ/sigma

Detects execution of RClone utility for exfiltration as used by various ransomwares strains like REvil, Conti, FiveHands, etc

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: PUA - Rclone Execution
id: e37db05d-d1f9-49c8-b464-cee1a4b11638
related:
    - id: a0d63692-a531-4912-ad39-4393325b2a9c
      type: obsolete
    - id: cb7286ba-f207-44ab-b9e6-760d82b84253
      type: obsolete
status: test
description: Detects execution of RClone utility for exfiltration as used by various ransomwares strains like REvil, Conti, FiveHands, etc
references:
    - https://research.nccgroup.com/2021/05/27/detecting-rclone-an-effective-tool-for-exfiltration/
    - https://thedfirreport.com/2021/03/29/sodinokibi-aka-revil-ransomware
    - https://us-cert.cisa.gov/ncas/analysis-reports/ar21-126a
    - https://labs.sentinelone.com/egregor-raas-continues-the-chaos-with-cobalt-strike-and-rclone
    - https://www.splunk.com/en_us/blog/security/darkside-ransomware-splunk-threat-update-and-detections.html
author: Bhabesh Raj, Sittikorn S, Aaron Greetham (@beardofbinary) - NCC Group
date: 2021-05-10
modified: 2023-03-05
tags:
    - attack.exfiltration
    - attack.t1567.002
logsource:
    product: windows
    category: process_creation
detection:
    selection_specific_options:
        CommandLine|contains|all:
            - '--config '
            - '--no-check-certificate '
            - ' copy '
    selection_rclone_img:
        - Image|endswith: '\rclone.exe'
        - Description: 'Rsync for cloud storage'
    selection_rclone_cli:
        CommandLine|contains:
            - 'pass'
            - 'user'
            - 'copy'
            - 'sync'
            - 'config'
            - 'lsd'
            - 'remote'
            - 'ls'
            - 'mega'
            - 'pcloud'
            - 'ftp'
            - 'ignore-existing'
            - 'auto-confirm'
            - 'transfers'
            - 'multi-thread-streams'
            - 'no-check-certificate '
    condition: selection_specific_options or all of selection_rclone_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection_specific_options or all of selection_rclone_*

Stage 1: selection_specific_options

selection_specific_options:
    CommandLine|contains|all:
        - '--config '
        - '--no-check-certificate '
        - ' copy '

Stage 2: selection_rclone_img

selection_rclone_img:
    - Image|endswith: '\rclone.exe'
    - Description: 'Rsync for cloud storage'

Stage 3: selection_rclone_cli

selection_rclone_cli:
    CommandLine|contains:
        - 'pass'
        - 'user'
        - 'copy'
        - 'sync'
        - 'config'
        - 'lsd'
        - 'remote'
        - 'ls'
        - 'mega'
        - 'pcloud'
        - 'ftp'
        - 'ignore-existing'
        - 'auto-confirm'
        - 'transfers'
        - 'multi-thread-streams'
        - 'no-check-certificate '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • copy corpus 4 (sigma 4)
  • --config
  • --no-check-certificate
  • auto-confirm
  • config corpus 16 (sigma 15, splunk 1)
  • copy corpus 4 (sigma 4)
  • ftp corpus 2 (sigma 2)
  • ignore-existing
  • ls
  • lsd
  • mega
  • multi-thread-streams
  • no-check-certificate
  • pass corpus 2 (sigma 2)
  • pcloud
  • remote
  • sync
  • transfers
  • user corpus 15 (sigma 11, splunk 4)
field:"CommandLine" kind:match
Descriptioneq
  • Rsync for cloud storage
field:"Description" kind:eq value:"Rsync for cloud storage"
Imageends_with
  • \rclone.exe
field:"Image" kind:ends_with value:"\rclone.exe"

Pulse Connect Secure RCE Attack CVE-2021-22893

#
Status
stable
Severity
high
Author
Sittikorn S
Source
github.com/SigmaHQ/sigma

This rule detects exploitation attempts using Pulse Connect Secure(PCS) vulnerability (CVE-2021-22893)

Known False Positives

  • Vulnerability Scanning

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Rule Body

title: Pulse Connect Secure RCE Attack CVE-2021-22893
id: 5525edac-f599-4bfd-b926-3fa69860e766
status: stable
description: This rule detects exploitation attempts using Pulse Connect Secure(PCS) vulnerability (CVE-2021-22893)
references:
    - https://www.fireeye.com/blog/threat-research/2021/04/suspected-apt-actors-leverage-bypass-techniques-pulse-secure-zero-day.html
    - https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44784
author: Sittikorn S
date: 2021-06-29
modified: 2023-01-02
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2021-22893
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection1:
        cs-uri-query|contains:
            - '/dana-na/auth/'
            - '/dana-ws/'
            - '/dana-cached/'
    selection2:
        cs-uri-query|contains:
            - '?id='
            - '?token='
            - 'Secid_canceltoken.cgi'
            - 'CGI::param'
            - 'meeting'
            - 'smb'
            - 'namedusers'
            - 'metric'
    condition: all of selection*
falsepositives:
    - Vulnerability Scanning
level: high

Stages and Predicates

Stage 0: condition

all of selection*

Stage 1: selection1

selection1:
    cs-uri-query|contains:
        - '/dana-na/auth/'
        - '/dana-ws/'
        - '/dana-cached/'

Stage 2: selection2

selection2:
    cs-uri-query|contains:
        - '?id='
        - '?token='
        - 'Secid_canceltoken.cgi'
        - 'CGI::param'
        - 'meeting'
        - 'smb'
        - 'namedusers'
        - 'metric'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
cs-uri-querymatch
  • /dana-cached/
  • /dana-na/auth/
  • /dana-ws/
  • ?id=
  • ?token=
  • CGI::param
  • Secid_canceltoken.cgi
  • meeting
  • metric
  • namedusers
  • smb
field:"cs-uri-query" kind:match

Regsvr32 Execution From Highly Suspicious Location

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

Detects execution of regsvr32 where the DLL is located in a highly suspicious locations

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Regsvr32 Execution From Highly Suspicious Location
id: 327ff235-94eb-4f06-b9de-aaee571324be
status: test
description: Detects execution of regsvr32 where the DLL is located in a highly suspicious locations
references:
    - Internal Research
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-26
tags:
    - attack.stealth
    - attack.t1218.010
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\regsvr32.exe'
        - OriginalFileName: 'REGSVR32.EXE'
    selection_path_1:
        CommandLine|contains:
            - ':\PerfLogs\'
            - ':\Temp\'
            - '\Windows\Registration\CRMLog'
            - '\Windows\System32\com\dmp\'
            - '\Windows\System32\FxsTmp\'
            - '\Windows\System32\Microsoft\Crypto\RSA\MachineKeys\'
            - '\Windows\System32\spool\drivers\color\'
            - '\Windows\System32\spool\PRINTERS\'
            - '\Windows\System32\spool\SERVERS\'
            - '\Windows\System32\Tasks_Migrated\'
            - '\Windows\System32\Tasks\Microsoft\Windows\SyncCenter\'
            - '\Windows\SysWOW64\com\dmp\'
            - '\Windows\SysWOW64\FxsTmp\'
            - '\Windows\SysWOW64\Tasks\Microsoft\Windows\PLA\System\'
            - '\Windows\SysWOW64\Tasks\Microsoft\Windows\SyncCenter\'
            - '\Windows\Tasks\'
            - '\Windows\Tracing\'
    selection_path_2:
        CommandLine|contains:
            # This is to avoid collisions with CLI starting with "C:\"
            - ' "C:\'
            - ' C:\'
            - " 'C:\\"
            - 'D:\'
    selection_exclude_known_dirs:
        CommandLine|contains:
            # Note: add additional locations that are related to third party applications
            - 'C:\Program Files (x86)\'
            - 'C:\Program Files\'
            - 'C:\ProgramData\'
            - 'C:\Users\'
            # Note: The space added here are to avoid collisions with the "regsvr32" binary full path
            - ' C:\Windows\'
            - ' "C:\Windows\'
            - " 'C:\\Windows\\"
    filter_main_empty:
        CommandLine: ''
    filter_main_null:
        CommandLine: null
    condition: selection_img and (selection_path_1 or (selection_path_2 and not selection_exclude_known_dirs)) and not 1 of filter_main_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection_img and (selection_path_1 or (selection_path_2 and not selection_exclude_known_dirs)) and not 1 of filter_main_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\regsvr32.exe'
    - OriginalFileName: 'REGSVR32.EXE'

Stage 2: selection_path_1

selection_path_1:
    CommandLine|contains:
        - ':\PerfLogs\'
        - ':\Temp\'
        - '\Windows\Registration\CRMLog'
        - '\Windows\System32\com\dmp\'
        - '\Windows\System32\FxsTmp\'
        - '\Windows\System32\Microsoft\Crypto\RSA\MachineKeys\'
        - '\Windows\System32\spool\drivers\color\'
        - '\Windows\System32\spool\PRINTERS\'
        - '\Windows\System32\spool\SERVERS\'
        - '\Windows\System32\Tasks_Migrated\'
        - '\Windows\System32\Tasks\Microsoft\Windows\SyncCenter\'
        - '\Windows\SysWOW64\com\dmp\'
        - '\Windows\SysWOW64\FxsTmp\'
        - '\Windows\SysWOW64\Tasks\Microsoft\Windows\PLA\System\'
        - '\Windows\SysWOW64\Tasks\Microsoft\Windows\SyncCenter\'
        - '\Windows\Tasks\'
        - '\Windows\Tracing\'

Stage 3: selection_path_2

selection_path_2:
    CommandLine|contains:
        - ' "C:\'
        - ' C:\'
        - " 'C:\\"
        - 'D:\'

Stage 4: not selection_exclude_known_dirs

selection_exclude_known_dirs:
    CommandLine|contains:
        - 'C:\Program Files (x86)\'
        - 'C:\Program Files\'
        - 'C:\ProgramData\'
        - 'C:\Users\'
        - ' C:\Windows\'
        - ' "C:\Windows\'
        - " 'C:\\Windows\\"

Stage 5: not filter_main_*

filter_main_empty:
    CommandLine: ''
filter_main_null:
    CommandLine: null

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • "C:\
  • 'C:\
  • C:\ corpus 2 (sigma 2)
  • :\PerfLogs\ corpus 11 (sigma 11)
  • :\Temp\ corpus 14 (sigma 14)
  • D:\
  • \Windows\Registration\CRMLog
  • \Windows\SysWOW64\FxsTmp\
  • \Windows\SysWOW64\Tasks\Microsoft\Windows\PLA\System\
  • \Windows\SysWOW64\Tasks\Microsoft\Windows\SyncCenter\
  • \Windows\SysWOW64\com\dmp\
  • \Windows\System32\FxsTmp\
  • \Windows\System32\Microsoft\Crypto\RSA\MachineKeys\
  • \Windows\System32\Tasks\Microsoft\Windows\SyncCenter\
  • \Windows\System32\Tasks_Migrated\
  • \Windows\System32\com\dmp\
  • \Windows\System32\spool\PRINTERS\
  • \Windows\System32\spool\SERVERS\
  • \Windows\System32\spool\drivers\color\
  • \Windows\Tasks\
  • \Windows\Tracing\
field:"CommandLine" kind:match
Imageends_with
  • \regsvr32.exe corpus 64 (sigma 64)
field:"Image" kind:ends_with value:"\regsvr32.exe"
OriginalFileNameeq
  • REGSVR32.EXE corpus 37 (sigma 17, elastic 15, splunk 5)
field:"OriginalFileName" kind:eq value:"REGSVR32.EXE"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLinematch 'C:\Windows\excludes:CommandLine field:"CommandLine" value:" 'C:\Windows\"
CommandLinematch C:\Windows\excludes:CommandLine field:"CommandLine" value:" C:\Windows\"
CommandLinematch "C:\Windows\excludes:CommandLine
CommandLinematchC:\Program Files (x86)\excludes:CommandLine field:"CommandLine" value:"C:\Program Files (x86)\"
CommandLinematchC:\Program Files\excludes:CommandLine field:"CommandLine" value:"C:\Program Files\"
CommandLinematchC:\ProgramData\excludes:CommandLine field:"CommandLine" value:"C:\ProgramData\"
CommandLinematchC:\Users\excludes:CommandLine field:"CommandLine" value:"C:\Users\"
CommandLineis_null(no value, null check)excludes:CommandLine

Rubeus Kerberos unconstrained delegation abuse

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

Detects scenarios where an attacker abuse Kerberos unconstrained delegation for domain persistence.

Known False Positives

  • Accounts with unconstrained delegation enabled

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

Rule Body

title: Rubeus Kerberos unconstrained delegation abuse
description: Detects scenarios where an attacker abuse Kerberos unconstrained delegation for domain persistence.
references:
- https://dirkjanm.io/krbrelayx-unconstrained-delegation-abuse-toolkit/
- https://www.harmj0y.net/blog/activedirectory/s4u2pwnage/
- https://shenaniganslabs.io/2019/01/28/Wagging-the-Dog.html
- https://www.ired.team/offensive-security-experiments/active-directory-kerberos-abuse/abusing-kerberos-constrained-delegation
- https://www.guidepointsecurity.com/delegating-like-a-boss-abusing-kerberos-delegation-in-active-directory/
- https://stealthbits.com/blog/what-is-kerberos-delegation-an-overview-of-kerberos-delegation/
- https://www.thehacker.recipes/ad/movement/kerberos/delegations#talk
tags:
- attack.credential_access
- attack.t1558
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 4769
    TransmittedServices|contains: '@'
    ServiceSid|endswith: '-502' # Krbtgt account SID
  filter:
    - TargetUserName: '%allowed_unconstrained_accounts%' # User accounts allowed to perform unconstrained delegation
    - IpAddress: '%domain_controllers_ips%'              # reduce amount of false positives
  condition: selection and not filter
falsepositives:
- Accounts with unconstrained delegation enabled
level: high

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
  EventID: 4769
  TransmittedServices|contains: '@'
  ServiceSid|endswith: '-502'

Stage 2: not filter

filter:
  - TargetUserName: '%allowed_unconstrained_accounts%'
  - IpAddress: '%domain_controllers_ips%'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
IpAddresseq%domain_controllers_ips%excludes:IpAddress field:"IpAddress" value:"%domain_controllers_ips%"
TargetUserNameeq%allowed_unconstrained_accounts%excludes:TargetUserName field:"TargetUserName" value:"%allowed_unconstrained_accounts%"

Security Eventlog Cleared

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

One of the Windows Eventlogs has been cleared. e.g. caused by "wevtutil cl" command execution

Known False Positives

  • Rollout of log collection agents (the setup routine often includes a reset of the local Eventlog)
  • System provisioning (system reset before the golden image creation)

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Security Eventlog Cleared
id: d99b79d2-0a6f-4f46-ad8b-260b6e17f982
related:
    - id: f2f01843-e7b8-4f95-a35a-d23584476423
      type: obsolete
    - id: a122ac13-daf8-4175-83a2-72c387be339d
      type: obsolete
status: test
description: One of the Windows Eventlogs has been cleared. e.g. caused by "wevtutil cl" command execution
references:
    - https://twitter.com/deviouspolack/status/832535435960209408
    - https://www.hybrid-analysis.com/sample/027cc450ef5f8c5f653329641ec1fed91f694e0d229928963b30f6b0d7d3a745?environmentId=100
    - https://github.com/Azure/Azure-Sentinel/blob/f99542b94afe0ad2f19a82cc08262e7ac8e1428e/Detections/SecurityEvent/SecurityEventLogCleared.yaml
author: Florian Roth (Nextron Systems)
date: 2017-01-10
modified: 2022-02-24
tags:
    - attack.defense-impairment
    - attack.t1685.005
    - car.2016-04-002
logsource:
    product: windows
    service: security
detection:
    selection_517:
        EventID: 517
        Provider_Name: Security
    selection_1102:
        EventID: 1102
        Provider_Name: Microsoft-Windows-Eventlog
    condition: 1 of selection_*
falsepositives:
    - Rollout of log collection agents (the setup routine often includes a reset of the local Eventlog)
    - System provisioning (system reset before the golden image creation)
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_517

selection_517:
    EventID: 517
    Provider_Name: Security

Stage 2: selection_1102

selection_1102:
    EventID: 1102
    Provider_Name: Microsoft-Windows-Eventlog

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Provider_Nameeq
  • Microsoft-Windows-Eventlog corpus 3 (sigma 3)
  • Security
field:"Provider_Name" kind:eq

SIGKILL Sent to Security Tools

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

Detects SIGKILL signals sent to security tools which may indicate defense evasion

Known False Positives

  • System updates
  • Legitimate process management

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

Rule Body

title: SIGKILL Sent to Security Tools
id: 3028231e-acae-4e0b-88a6-3044502c7478
status: experimental
description: Detects SIGKILL signals sent to security tools which may indicate defense
  evasion
references:
- https://attack.mitre.org/techniques/T1562/001/
author: Eric Brown - Nebulock, Inc.
date: 2025/10/29
tags:
- attack.defense_evasion
- attack.t1562.001
logsource:
  product: macos
  service: endpointsecurity
  category: process_signal
detection:
  selection:
    esf.event_type: 27
    event.action: signal
    SignalNumber: 9
    TargetImage|contains:
    - LittleSnitch
    - BlockBlock
    - KnockKnock
    - OverSight
    - ReiKey
    - Santa
    - /xprotectd
    - /MRT
    - CrowdStrike
    - SentinelOne
  condition: selection
falsepositives:
- System updates
- Legitimate process management
level: high
modified: 2025/01/15

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  esf.event_type: 27
  event.action: signal
  SignalNumber: 9
  TargetImage|contains:
  - LittleSnitch
  - BlockBlock
  - KnockKnock
  - OverSight
  - ReiKey
  - Santa
  - /xprotectd
  - /MRT
  - CrowdStrike
  - SentinelOne

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
SignalNumbereq
  • 9 corpus 2 (sigma 2)
field:"SignalNumber" kind:eq value:"9"
TargetImagematch
  • /MRT
  • /xprotectd
  • BlockBlock
  • CrowdStrike
  • KnockKnock
  • LittleSnitch
  • OverSight
  • ReiKey
  • Santa
  • SentinelOne
field:"TargetImage" kind:match
esf.event_typeeq
  • 27 corpus 3 (sigma 3)
field:"esf.event_type" kind:eq value:"27"
event.actioneq
  • signal corpus 3 (sigma 3)
field:"EventType" kind:eq value:"signal"

Suspicious Outbound SMTP Connections

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

Adversaries may steal data by exfiltrating it over an un-encrypted network protocol other than that of the existing command and control channel. The data may also be sent to an alternate network location from the main command and control server.

Known False Positives

  • Other SMTP tools

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 3: Network connection

Rule Body

title: Suspicious Outbound SMTP Connections
id: 9976fa64-2804-423c-8a5b-646ade840773
status: test
description: |
    Adversaries may steal data by exfiltrating it over an un-encrypted network protocol other than that of the existing command and control channel.
    The data may also be sent to an alternate network location from the main command and control server.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1048.003/T1048.003.md#atomic-test-5---exfiltration-over-alternative-protocol---smtp
    - https://www.ietf.org/rfc/rfc2821.txt
author: frack113
date: 2022-01-07
modified: 2022-09-21
tags:
    - attack.exfiltration
    - attack.t1048.003
logsource:
    category: network_connection
    product: windows
detection:
    selection:
        DestinationPort:
            - 25
            - 587
            - 465
            - 2525
        Initiated: 'true'
    filter_clients:
        Image|endswith:
            - \thunderbird.exe
            - \outlook.exe
    filter_mailserver:
        Image|startswith: 'C:\Program Files\Microsoft\Exchange Server\'
    filter_outlook:
        Image|startswith: 'C:\Program Files\WindowsApps\microsoft.windowscommunicationsapps_'
        Image|endswith: '\HxTsr.exe'
    condition: selection and not 1 of filter_*
falsepositives:
    - Other SMTP tools
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_*

Stage 1: selection

selection:
    DestinationPort:
        - 25
        - 587
        - 465
        - 2525
    Initiated: 'true'

Stage 2: not filter_*

filter_clients:
    Image|endswith:
        - \thunderbird.exe
        - \outlook.exe
filter_mailserver:
    Image|startswith: 'C:\Program Files\Microsoft\Exchange Server\'
filter_outlook:
    Image|startswith: 'C:\Program Files\WindowsApps\microsoft.windowscommunicationsapps_'
    Image|endswith: '\HxTsr.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
DestinationPorteq
  • 25
  • 2525
  • 465
  • 587
field:"DestinationPort" kind:eq
Initiatedeq
  • true corpus 50 (sigma 50)
field:"Initiated" kind:eq value:"true"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\HxTsr.exeexcludes:Image field:"Image" value:"\HxTsr.exe"
Imagestarts_withC:\Program Files\WindowsApps\microsoft.windowscommunicationsapps_excludes:Image field:"Image" value:"C:\Program Files\WindowsApps\microsoft.windowscommunicationsapps_"
Imageends_with\outlook.exeexcludes:Image field:"Image" value:"\outlook.exe"
Imageends_with\thunderbird.exeexcludes:Image field:"Image" value:"\thunderbird.exe"
Imagestarts_withC:\Program Files\Microsoft\Exchange Server\excludes:Image field:"Image" value:"C:\Program Files\Microsoft\Exchange Server\"

Suspicious Windows ANONYMOUS LOGON Local Account Created

#
Status
test
Severity
high
Author
James Pemberton / @4A616D6573
Source
github.com/SigmaHQ/sigma

Detects the creation of suspicious accounts similar to ANONYMOUS LOGON, such as using additional spaces. Created as an covering detection for exclusion of Logon Type 3 from ANONYMOUS LOGON accounts.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Suspicious Windows ANONYMOUS LOGON Local Account Created
id: 1bbf25b9-8038-4154-a50b-118f2a32be27
status: test
description: Detects the creation of suspicious accounts similar to ANONYMOUS LOGON, such as using additional spaces. Created as an covering detection for exclusion of Logon Type 3 from ANONYMOUS LOGON accounts.
references:
    - https://twitter.com/SBousseaden/status/1189469425482829824
author: James Pemberton / @4A616D6573
date: 2019-10-31
modified: 2022-10-09
tags:
    - attack.persistence
    - attack.t1136.001
    - attack.t1136.002
logsource:
    product: windows
    service: security
detection:
    selection:
        EventID: 4720
        SamAccountName|contains|all:
            - 'ANONYMOUS'
            - 'LOGON'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 4720
    SamAccountName|contains|all:
        - 'ANONYMOUS'
        - 'LOGON'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
SamAccountNamematch
  • ANONYMOUS
  • LOGON
field:"SamAccountName" kind:match

User Added To Admin Group Via DseditGroup

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

Detects attempts to create and/or add an account to the admin group, thus granting admin privileges.

Known False Positives

  • Legitimate administration activities

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: User Added To Admin Group Via DseditGroup
id: 5d0fdb62-f225-42fb-8402-3dfe64da468a
status: test
description: Detects attempts to create and/or add an account to the admin group, thus granting admin privileges.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1078.003/T1078.003.md#atomic-test-5---add-a-newexisting-user-to-the-admin-group-using-dseditgroup-utility---macos
    - https://ss64.com/osx/dseditgroup.html
author: Sohan G (D4rkCiph3r)
date: 2023-08-22
tags:
    - attack.persistence
    - attack.initial-access
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1078.003
logsource:
    category: process_creation
    product: macos
detection:
    selection:
        Image|endswith: '/dseditgroup'
        CommandLine|contains|all:
            - ' -o edit ' # edit operation
            - ' -a ' # username
            - ' -t user'
            - 'admin' # Group name
    condition: selection
falsepositives:
    - Legitimate administration activities
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '/dseditgroup'
    CommandLine|contains|all:
        - ' -o edit '
        - ' -a '
        - ' -t user'
        - 'admin'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -a corpus 5 (sigma 5)
  • -o edit
  • -t user
  • admin corpus 4 (sigma 3, splunk 1)
field:"CommandLine" kind:match
Imageends_with
  • /dseditgroup
field:"Image" kind:ends_with value:"/dseditgroup"

User Added To Root/Sudoers Group Using Usermod

#
Status
test
Severity
medium
Author
TuanLe (GTSC)
Source
github.com/SigmaHQ/sigma

Detects usage of the "usermod" binary to add users add users to the root or suoders groups

Known False Positives

  • Legitimate administrator activities

MITRE ATT&CK Coverage

TacticTechniques
PersistenceNo specific technique
Privilege EscalationNo specific technique

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: User Added To Root/Sudoers Group Using Usermod
id: 6a50f16c-3b7b-42d1-b081-0fdd3ba70a73
status: test
description: Detects usage of the "usermod" binary to add users add users to the root or suoders groups
references:
    - https://pberba.github.io/security/2021/11/23/linux-threat-hunting-for-persistence-account-creation-manipulation/
    - https://www.configserverfirewall.com/ubuntu-linux/ubuntu-add-user-to-root-group/
author: TuanLe (GTSC)
date: 2022-12-21
tags:
    - attack.privilege-escalation
    - attack.persistence
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith: '/usermod'
        CommandLine|contains:
            - '-aG root'
            - '-aG sudoers'
    condition: selection
falsepositives:
    - Legitimate administrator activities
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '/usermod'
    CommandLine|contains:
        - '-aG root'
        - '-aG sudoers'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -aG root
  • -aG sudoers
field:"CommandLine" kind:match
Imageends_with
  • /usermod
field:"Image" kind:ends_with value:"/usermod"

User Enumeration

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

An attacker may have enumerated users with aws iam list-users.

MITRE ATT&CK Coverage

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: User Enumeration 
id: 6125226d-0eb4-4dc8-8cb6-ac5ad01973ab
status: test
description: An attacker may have enumerated users with `aws iam list-users`.
references:
    - https://attack.mitre.org/techniques/T1087/004/
author: Zach Mathis (@yamatosecurity)
date: 2025-04-24
modified: 2025-04-24
tags:
    - attack.discovery
    - attack.t1087.004 # Account Discovery: Cloud Accounts
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: 'iam.amazonaws.com'
        eventName: 'ListUsers'
    condition: selection
falsepositives:
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventSource: 'iam.amazonaws.com'
    eventName: 'ListUsers'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
eventNameeq
  • ListUsers corpus 2 (sigma 2)
field:"aws::eventName" kind:eq value:"ListUsers"
eventSourceeq
  • iam.amazonaws.com corpus 22 (sigma 18, splunk 4)
field:"aws::eventSource" kind:eq value:"iam.amazonaws.com"

Winscp Execution From Non Standard Folder

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

Detects the execution of Winscp from an a non standard folder. This could indicate the execution of Winscp portable.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Winscp Execution From Non Standard Folder
id: 7674f8ef-7141-4cf0-a311-ee359264c64c
status: experimental
description: Detects the execution of Winscp from an a non standard folder. This could indicate the execution of Winscp portable.
references:
    - https://blogs.blackberry.com/en/2024/07/akira-ransomware-targets-the-latam-airline-industry
author: frack113
date: 2025-10-12
tags:
    - attack.exfiltration
    - attack.t1048
    - detection.threat-hunting
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - Image|endswith: '\WinSCP.exe'
        - OriginalFileName: 'winscp.exe'
    filter_main_location:
        Image|startswith: 'C:\Program Files (x86)\WinSCP\'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    - Image|endswith: '\WinSCP.exe'
    - OriginalFileName: 'winscp.exe'

Stage 2: not filter_main_location

filter_main_location:
    Image|startswith: 'C:\Program Files (x86)\WinSCP\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \WinSCP.exe corpus 2 (sigma 2)
field:"Image" kind:ends_with value:"\WinSCP.exe"
OriginalFileNameeq
  • winscp.exe corpus 2 (sigma 2)
field:"OriginalFileName" kind:eq value:"winscp.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imagestarts_withC:\Program Files (x86)\WinSCP\excludes:Image field:"Image" value:"C:\Program Files (x86)\WinSCP\"

Zip A Folder With PowerShell For Staging In Temp - PowerShell Script

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

Detects PowerShell scripts that make use of the "Compress-Archive" Cmdlet in order to compress folders and files where the output is stored in a potentially suspicious location that is used often by malware for exfiltration. An adversary might compress data (e.g., sensitive documents) that is collected prior to exfiltration in order to make it portable and minimize the amount of data sent over the network.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Zip A Folder With PowerShell For Staging In Temp - PowerShell Script
id: b7a3c9a3-09ea-4934-8864-6a32cacd98d9 # PowerShell Script
related:
    - id: 71ff406e-b633-4989-96ec-bc49d825a412 # PowerShell Classic
      type: similar
    - id: daf7eb81-35fd-410d-9d7a-657837e602bb # PowerShell Module
      type: similar
    - id: 85a8e5ba-bd03-4bfb-bbfa-a4409a8f8b98 # Process Creation
      type: similar
status: test
description: |
    Detects PowerShell scripts that make use of the "Compress-Archive" Cmdlet in order to compress folders and files where the output is stored in a potentially suspicious location that is used often by malware for exfiltration.
    An adversary might compress data (e.g., sensitive documents) that is collected prior to exfiltration in order to make it portable and minimize the amount of data sent over the network.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1074.001/T1074.001.md
    - https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-347a
author: Nasreddine Bencherchali (Nextron Systems), frack113
date: 2021-07-20
modified: 2023-12-18
tags:
    - attack.collection
    - attack.t1074.001
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection:
        ScriptBlockText|contains:
            - 'Compress-Archive -Path*-DestinationPath $env:TEMP'
            - 'Compress-Archive -Path*-DestinationPath*\AppData\Local\Temp\'
            - 'Compress-Archive -Path*-DestinationPath*:\Windows\Temp\'
    condition: selection
falsepositives:
    - Unknown
level: medium
regression_tests_path: regression_data/rules/windows/powershell/powershell_script/posh_ps_susp_zip_compress/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ScriptBlockText|contains:
        - 'Compress-Archive -Path*-DestinationPath $env:TEMP'
        - 'Compress-Archive -Path*-DestinationPath*\AppData\Local\Temp\'
        - 'Compress-Archive -Path*-DestinationPath*:\Windows\Temp\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ScriptBlockTextmatch
  • Compress-Archive -Path*-DestinationPath $env:TEMP
  • Compress-Archive -Path*-DestinationPath*:\Windows\Temp\
  • Compress-Archive -Path*-DestinationPath*\AppData\Local\Temp\
field:"ScriptBlockText" kind:match

Back to all Sigma rules