Detection rules › Sigma

Sigma rules: 00

AddinUtil.EXE Execution From Uncommon Directory

#
Status
test
Severity
medium
Author
Michael McKinley (@McKinleyMike), Tony Latteri (@TheLatteri)
Source
github.com/SigmaHQ/sigma

Detects execution of the Add-In deployment cache updating utility (AddInutil.exe) from a non-standard directory.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: AddinUtil.EXE Execution From Uncommon Directory
id: 6120ac2a-a34b-42c0-a9bd-1fb9f459f348
status: test
description: Detects execution of the Add-In deployment cache updating utility (AddInutil.exe) from a non-standard directory.
references:
    - https://www.blue-prints.blog/content/blog/posts/lolbin/addinutil-lolbas.html
author: Michael McKinley (@McKinleyMike), Tony Latteri (@TheLatteri)
date: 2023-09-18
modified: 2025-02-24
tags:
    - attack.stealth
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - Image|endswith: '\addinutil.exe'
        - OriginalFileName: 'AddInUtil.exe'
    filter_main_legit_location:
        Image|contains:
            - ':\Windows\Microsoft.NET\Framework\'
            - ':\Windows\Microsoft.NET\Framework64\'
            - ':\Windows\Microsoft.NET\FrameworkArm\'
            - ':\Windows\Microsoft.NET\FrameworkArm64\'
            - ':\Windows\WinSxS\'
    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: '\addinutil.exe'
    - OriginalFileName: 'AddInUtil.exe'

Stage 2: not filter_main_legit_location

filter_main_legit_location:
    Image|contains:
        - ':\Windows\Microsoft.NET\Framework\'
        - ':\Windows\Microsoft.NET\Framework64\'
        - ':\Windows\Microsoft.NET\FrameworkArm\'
        - ':\Windows\Microsoft.NET\FrameworkArm64\'
        - ':\Windows\WinSxS\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \addinutil.exe corpus 4 (sigma 4)
field:"Image" kind:ends_with value:"\addinutil.exe"
OriginalFileNameeq
  • AddInUtil.exe corpus 4 (sigma 3, elastic 1)
field:"OriginalFileName" kind:eq value:"AddInUtil.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imagematch:\Windows\Microsoft.NET\Framework64\excludes:Image field:"Image" value:":\Windows\Microsoft.NET\Framework64\"
Imagematch:\Windows\Microsoft.NET\FrameworkArm64\excludes:Image field:"Image" value:":\Windows\Microsoft.NET\FrameworkArm64\"
Imagematch:\Windows\Microsoft.NET\FrameworkArm\excludes:Image field:"Image" value:":\Windows\Microsoft.NET\FrameworkArm\"
Imagematch:\Windows\Microsoft.NET\Framework\excludes:Image field:"Image" value:":\Windows\Microsoft.NET\Framework\"
Imagematch:\Windows\WinSxS\excludes:Image field:"Image" value:":\Windows\WinSxS\"

AppX Package Deployment Failed Due to Signing Requirements

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

Detects an appx package deployment / installation with the error code "0x80073cff" which indicates that the package didn't meet the signing requirements.

Known False Positives

  • Legitimate AppX packages not signed by MS used part of an enterprise.

MITRE ATT&CK Coverage

TacticTechniques
StealthNo specific technique

Telemetry Coverage

Rule Body

title: AppX Package Deployment Failed Due to Signing Requirements
id: 898d5fc9-fbc3-43de-93ad-38e97237c344
status: test
description: |
    Detects an appx package deployment / installation with the error code "0x80073cff" which indicates that the package didn't meet the signing requirements.
references:
    - https://www.sentinelone.com/labs/inside-malicious-windows-apps-for-malware-deployment/
    - https://learn.microsoft.com/en-us/windows/win32/appxpkg/troubleshooting
    - https://news.sophos.com/en-us/2021/11/11/bazarloader-call-me-back-attack-abuses-windows-10-apps-mechanism/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-01-11
modified: 2025-12-03
tags:
    - attack.stealth
logsource:
    product: windows
    service: appxdeployment-server
detection:
    selection:
        EventID: 401
        ErrorCode: '0x80073cff' # Check ref section to learn more about this error code
    condition: selection
falsepositives:
    - Legitimate AppX packages not signed by MS used part of an enterprise.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 401
    ErrorCode: '0x80073cff'

Indicators

These rows show field, operator, and value matches.

AWS ECS Task Definition That Queries The Credential Endpoint

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

Detects when an Elastic Container Service (ECS) Task Definition includes a command to query the credential endpoint. This can indicate a potential adversary adding a backdoor to establish persistence or escalate privileges.

Known False Positives

  • Task Definition being modified to request credentials from the Task Metadata Service for valid reasons

MITRE ATT&CK Coverage

TacticTechniques
Persistence

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: AWS ECS Task Definition That Queries The Credential Endpoint
id: b94bf91e-c2bf-4047-9c43-c6810f43baad
status: test
description: |
    Detects when an Elastic Container Service (ECS) Task Definition includes a command to query the credential endpoint.
    This can indicate a potential adversary adding a backdoor to establish persistence or escalate privileges.
references:
    - https://github.com/RhinoSecurityLabs/pacu/blob/866376cd711666c775bbfcde0524c817f2c5b181/pacu/modules/ecs__backdoor_task_def/main.py
    - https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_RegisterTaskDefinition.html
    - https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html
author: Darin Smith
date: 2022-06-07
modified: 2023-04-24
tags:
    - attack.persistence
    - attack.t1525
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: 'ecs.amazonaws.com'
        eventName:
            - 'DescribeTaskDefinition'
            - 'RegisterTaskDefinition'
            - 'RunTask'
        requestParameters.containerDefinitions.command|contains: '$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI'
    condition: selection
falsepositives:
    - Task Definition being modified to request credentials from the Task Metadata Service for valid reasons
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventSource: 'ecs.amazonaws.com'
    eventName:
        - 'DescribeTaskDefinition'
        - 'RegisterTaskDefinition'
        - 'RunTask'
    requestParameters.containerDefinitions.command|contains: '$AWS_CONTAINER_CREDENTIALS_RELATIVE_URI'

Indicators

These rows show field, operator, and value matches.

AWS ElastiCache Security Group Modified or Deleted

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

Identifies when an ElastiCache security group has been modified or deleted.

Known False Positives

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

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: AWS ElastiCache Security Group Modified or Deleted
id: 7c797da2-9cf2-4523-ba64-33b06339f0cc
status: test
description: Identifies when an ElastiCache security group has been modified or deleted.
references:
    - https://github.com/elastic/detection-rules/blob/7d5efd68603f42be5e125b5a6a503b2ef3ac0f4e/rules/integrations/aws/impact_elasticache_security_group_modified_or_deleted.toml
author: Austin Songer @austinsonger
date: 2021-07-24
modified: 2022-10-09
tags:
    - attack.impact
    - attack.t1531
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: elasticache.amazonaws.com
        eventName:
            - 'DeleteCacheSecurityGroup'
            - 'AuthorizeCacheSecurityGroupIngress'
            - 'RevokeCacheSecurityGroupIngress'
            - 'AuthorizeCacheSecurityGroupEgress'
            - 'RevokeCacheSecurityGroupEgress'
    condition: selection
falsepositives:
    - A ElastiCache security group deletion may be done by a system or network administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment. Security Group deletions from unfamiliar users or hosts should be investigated. If known behavior is causing false positives, it can be exempted from the rule.


level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventSource: elasticache.amazonaws.com
    eventName:
        - 'DeleteCacheSecurityGroup'
        - 'AuthorizeCacheSecurityGroupIngress'
        - 'RevokeCacheSecurityGroupIngress'
        - 'AuthorizeCacheSecurityGroupEgress'
        - 'RevokeCacheSecurityGroupEgress'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
eventNameeq
  • AuthorizeCacheSecurityGroupEgress
  • AuthorizeCacheSecurityGroupIngress
  • DeleteCacheSecurityGroup
  • RevokeCacheSecurityGroupEgress
  • RevokeCacheSecurityGroupIngress
field:"aws::eventName" kind:eq
eventSourceeq
  • elasticache.amazonaws.com corpus 2 (sigma 2)
field:"aws::eventSource" kind:eq value:"elasticache.amazonaws.com"

Certificate-Based Authentication Enabled

#
Status
test
Severity
medium
Author
Harjot Shah Singh, '@cyb3rjy0t'
Source
github.com/SigmaHQ/sigma

Detects when certificate based authentication has been enabled in an Azure Active Directory tenant.

MITRE ATT&CK Coverage

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: Certificate-Based Authentication Enabled
id: c2496b41-16a9-4016-a776-b23f8910dc58
status: test
description: Detects when certificate based authentication has been enabled in an Azure Active Directory tenant.
references:
    - https://posts.specterops.io/passwordless-persistence-and-privilege-escalation-in-azure-98a01310be3f
    - https://goodworkaround.com/2022/02/15/digging-into-azure-ad-certificate-based-authentication/
author: Harjot Shah Singh, '@cyb3rjy0t'
date: 2024-03-26
tags:
    - attack.credential-access
    - attack.persistence
    - attack.privilege-escalation
    - attack.defense-impairment
    - attack.t1556
logsource:
    product: azure
    service: auditlogs
detection:
    selection:
        OperationName: 'Authentication Methods Policy Update'
        TargetResources.modifiedProperties|contains: 'AuthenticationMethodsPolicy'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    OperationName: 'Authentication Methods Policy Update'
    TargetResources.modifiedProperties|contains: 'AuthenticationMethodsPolicy'

Indicators

These rows show field, operator, and value matches.

Cisco ASA Exploitation Activity - Proxy

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

Detects suspicious requests to Cisco ASA WebVpn via proxy logs associated with CVE-2025-20333 and CVE-2025-20362 exploitation.

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Rule Body

title: Cisco ASA Exploitation Activity - Proxy
id: 15697955-6a29-47ca-92e9-0e05efae3260
status: experimental
description: |
    Detects suspicious requests to Cisco ASA WebVpn via proxy logs associated with CVE-2025-20333 and CVE-2025-20362 exploitation.
references:
    - https://x.com/defusedcyber/status/1971492272966598683
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-11-20
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2025-20333
    - cve.2025-20362
    - detection.emerging-threats
logsource:
    category: proxy
detection:
    selection:
        cs-method: 'GET'
        cs-uri-stem:
            - '/+CSCOU+/MacTunnelStart.jar'
            - '/+CSCOL+/csvrloader64.cab'
            - '/+CSCOL+/csvrloader.jar'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    cs-method: 'GET'
    cs-uri-stem:
        - '/+CSCOU+/MacTunnelStart.jar'
        - '/+CSCOL+/csvrloader64.cab'
        - '/+CSCOL+/csvrloader.jar'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
cs-methodeq
  • GET
field:"cs-method" kind:eq value:"GET"
cs-uri-stemeq
  • /+CSCOL+/csvrloader.jar
  • /+CSCOL+/csvrloader64.cab
  • /+CSCOU+/MacTunnelStart.jar
field:"cs-uri-stem" kind:eq

Command Executed Via Run Dialog Box - Registry

#
Status
test
Severity
low
Author
Ahmed Farouk, Nasreddine Bencherchali
Source
github.com/SigmaHQ/sigma

Detects execution of commands via the run dialog box on Windows by checking values of the "RunMRU" registry key. This technique was seen being abused by threat actors to deceive users into pasting and executing malicious commands, often disguised as CAPTCHA verification steps.

Known False Positives

  • Likely

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

Rule Body

title: Command Executed Via Run Dialog Box - Registry
id: f9d091f6-f1c7-4873-a24f-050b4a02b4dd
related:
    - id: a7df0e9e-91a5-459a-a003-4cde67c2ff5d
      type: derived
status: test
description: |
    Detects execution of commands via the run dialog box on Windows by checking values of the "RunMRU" registry key.
    This technique was seen being abused by threat actors to deceive users into pasting and executing malicious commands, often disguised as CAPTCHA verification steps.
references:
    - https://www.forensafe.com/blogs/runmrukey.html
    - https://medium.com/@shaherzakaria8/downloading-trojan-lumma-infostealer-through-capatcha-1f25255a0e71
    - https://redcanary.com/blog/threat-intelligence/intelligence-insights-october-2024/
author: Ahmed Farouk, Nasreddine Bencherchali
date: 2024-11-01
tags:
    - detection.threat-hunting
    - attack.execution
logsource:
    product: windows
    category: registry_set
detection:
    selection:
        TargetObject|contains: '\Microsoft\Windows\CurrentVersion\Explorer\RunMRU'
    filter_main_mrulist:
        TargetObject|endswith: '\MRUList'
    filter_optional_ping:
        Details|contains: 'ping'
    filter_optional_generic:
        Details:
            - '%appdata%\1'
            - '%localappdata%\1'
            - '%public%\1'
            - '%temp%\1'
            - 'calc\1'
            - 'dxdiag\1'
            - 'explorer\1'
            - 'gpedit.msc\1'
            - 'mmc\1'
            - 'notepad\1'
            - 'regedit\1'
            - 'services.msc\1'
            - 'winver\1'
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
    - Likely
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:
    TargetObject|contains: '\Microsoft\Windows\CurrentVersion\Explorer\RunMRU'

Stage 2: not filter_main_mrulist

filter_main_mrulist:
    TargetObject|endswith: '\MRUList'

Stage 3: not filter_optional_*

filter_optional_ping:
    Details|contains: 'ping'
filter_optional_generic:
    Details:
        - '%appdata%\1'
        - '%localappdata%\1'
        - '%public%\1'
        - '%temp%\1'
        - 'calc\1'
        - 'dxdiag\1'
        - 'explorer\1'
        - 'gpedit.msc\1'
        - 'mmc\1'
        - 'notepad\1'
        - 'regedit\1'
        - 'services.msc\1'
        - 'winver\1'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectmatch
  • \Microsoft\Windows\CurrentVersion\Explorer\RunMRU corpus 2 (sigma 2)
field:"TargetObject" kind:match value:"\Microsoft\Windows\CurrentVersion\Explorer\RunMRU"

Exclusions

The rule actively suppresses these predicates.

Computer Password Change Via Ksetup.EXE

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

Detects password change for the computer's domain account or host principal via "ksetup.exe"

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Computer Password Change Via Ksetup.EXE
id: de16d92c-c446-4d53-8938-10aeef41c8b6
status: test
description: Detects password change for the computer's domain account or host principal via "ksetup.exe"
references:
    - https://twitter.com/Oddvarmoe/status/1641712700605513729
    - https://learn.microsoft.com/en-gb/windows-server/administration/windows-commands/ksetup
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-04-06
tags:
    - attack.execution
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\ksetup.exe'
        - OriginalFileName: 'ksetup.exe'
    selection_cli:
        CommandLine|contains: ' /setcomputerpassword '
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_cli

selection_cli:
    CommandLine|contains: ' /setcomputerpassword '

Indicators

These rows show field, operator, and value matches.

Copy From Or To Admin Share Or Sysvol Folder

#
Status
test
Severity
medium
Author
Florian Roth (Nextron Systems), oscd.community, Teymur Kheirkhabarov @HeirhabarovT, Zach Stanford @svch0st, Nasreddine Bencherchali
Source
github.com/SigmaHQ/sigma

Detects a copy command or a copy utility execution to or from an Admin share or remote

Known False Positives

  • Administrative scripts

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Copy From Or To Admin Share Or Sysvol Folder
id: 855bc8b5-2ae8-402e-a9ed-b889e6df1900
status: test
description: Detects a copy command or a copy utility execution to or from an Admin share or remote
references:
    - https://twitter.com/SBousseaden/status/1211636381086339073
    - https://drive.google.com/file/d/1lKya3_mLnR3UQuCoiYruO3qgu052_iS_/view
    - https://www.elastic.co/guide/en/security/current/remote-file-copy-to-a-hidden-share.html
    - https://www.microsoft.com/en-us/security/blog/2022/10/18/defenders-beware-a-case-for-post-ransomware-investigations/
author: Florian Roth (Nextron Systems), oscd.community, Teymur Kheirkhabarov @HeirhabarovT, Zach Stanford @svch0st, Nasreddine Bencherchali
date: 2019-12-30
modified: 2025-10-22
tags:
    - attack.lateral-movement
    - attack.collection
    - attack.exfiltration
    - attack.t1039
    - attack.t1048
    - attack.t1021.002
logsource:
    category: process_creation
    product: windows
detection:
    selection_target:
        CommandLine|contains:
            - '\\\\*\\*$' # example \\SVR_NAME\ADMIN$
            - '\Sysvol\'
    selection_other_tools:
        - Image|endswith:
              - '\robocopy.exe'
              - '\xcopy.exe'
        - OriginalFileName:
              - 'robocopy.exe'
              - 'XCOPY.EXE'
    selection_cmd_img:
        - Image|endswith: '\cmd.exe'
        - OriginalFileName: 'Cmd.Exe'
    selection_cmd_cli:
        CommandLine|contains: 'copy'
    selection_pwsh_img:
        - Image|contains:
              - '\powershell_ise.exe'
              - '\powershell.exe'
              - '\pwsh.exe'
        - OriginalFileName:
              - 'powershell_ise.exe'
              - 'PowerShell.EXE'
              - 'pwsh.dll'
    selection_pwsh_cli:
        CommandLine|contains:
            - 'copy-item'
            - 'copy '
            - 'cpi '
            - ' cp '
            - 'move '
            - ' move-item'
            - ' mi '
            - ' mv '
    condition: selection_target and (selection_other_tools or all of selection_cmd_* or all of selection_pwsh_*)
falsepositives:
    - Administrative scripts
level: medium

Stages and Predicates

Stage 0: condition

selection_target and (selection_other_tools or all of selection_cmd_* or all of selection_pwsh_*)

Stage 1: selection_target

selection_target:
    CommandLine|contains:
        - '\\\\*\\*$'
        - '\Sysvol\'

Stage 2: selection_other_tools

selection_other_tools:
    - Image|endswith:
          - '\robocopy.exe'
          - '\xcopy.exe'
    - OriginalFileName:
          - 'robocopy.exe'
          - 'XCOPY.EXE'

Stage 3: selection_cmd_img

selection_cmd_img:
    - Image|endswith: '\cmd.exe'
    - OriginalFileName: 'Cmd.Exe'

Stage 4: selection_cmd_cli

selection_cmd_cli:
    CommandLine|contains: 'copy'

Stage 5: selection_pwsh_img

selection_pwsh_img:
    - Image|contains:
          - '\powershell_ise.exe'
          - '\powershell.exe'
          - '\pwsh.exe'
    - OriginalFileName:
          - 'powershell_ise.exe'
          - 'PowerShell.EXE'
          - 'pwsh.dll'

Stage 6: selection_pwsh_cli

selection_pwsh_cli:
    CommandLine|contains:
        - 'copy-item'
        - 'copy '
        - 'cpi '
        - ' cp '
        - 'move '
        - ' move-item'
        - ' mi '
        - ' mv '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • cp corpus 7 (sigma 6, elastic 1)
  • mi corpus 2 (sigma 2)
  • move-item
  • mv corpus 3 (sigma 2, elastic 1)
  • \Sysvol\ corpus 4 (sigma 4)
  • \\\\*\\*$
  • copy corpus 4 (sigma 4)
  • copy corpus 11 (sigma 11)
  • copy-item corpus 5 (sigma 5)
  • cpi corpus 4 (sigma 4)
  • move corpus 2 (sigma 2)
field:"CommandLine" kind:match
Imageends_with
  • \cmd.exe corpus 132 (sigma 130, splunk 2)
  • \robocopy.exe corpus 4 (sigma 4)
  • \xcopy.exe corpus 5 (sigma 5)
field:"Image" kind:ends_with
Imagematch
  • \powershell.exe
  • \powershell_ise.exe
  • \pwsh.exe
field:"Image" kind:match
OriginalFileNameeq
  • Cmd.Exe corpus 75 (sigma 43, splunk 17, elastic 15)
  • PowerShell.EXE corpus 134 (sigma 86, splunk 30, elastic 18)
  • XCOPY.EXE corpus 5 (sigma 4, elastic 1)
  • powershell_ise.exe corpus 52 (splunk 30, sigma 18, elastic 4)
  • pwsh.dll corpus 115 (sigma 81, splunk 30, elastic 4)
  • robocopy.exe corpus 4 (sigma 4)
field:"OriginalFileName" kind:eq

Enable Microsoft Dynamic Data Exchange

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

Enable Dynamic Data Exchange protocol (DDE) in all supported editions of Microsoft Word or Excel.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Enable Microsoft Dynamic Data Exchange
id: 63647769-326d-4dde-a419-b925cc0caf42
status: test
description: Enable Dynamic Data Exchange protocol (DDE) in all supported editions of Microsoft Word or Excel.
references:
    - https://msrc.microsoft.com/update-guide/vulnerability/ADV170021
author: frack113
date: 2022-02-26
modified: 2023-08-17
tags:
    - attack.execution
    - attack.t1559.002
logsource:
    category: registry_set
    product: windows
detection:
    selection_word:
        TargetObject|endswith: '\Word\Security\AllowDDE'
        Details:
            - 'DWORD (0x00000001)'
            - 'DWORD (0x00000002)'
    selection_excel:
        TargetObject|endswith:
            - '\Excel\Security\DisableDDEServerLaunch'
            - '\Excel\Security\DisableDDEServerLookup'
        Details: 'DWORD (0x00000000)'
    condition: 1 of selection_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_word

selection_word:
    TargetObject|endswith: '\Word\Security\AllowDDE'
    Details:
        - 'DWORD (0x00000001)'
        - 'DWORD (0x00000002)'

Stage 2: selection_excel

selection_excel:
    TargetObject|endswith:
        - '\Excel\Security\DisableDDEServerLaunch'
        - '\Excel\Security\DisableDDEServerLookup'
    Details: 'DWORD (0x00000000)'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailseq
  • DWORD (0x00000000) corpus 36 (sigma 36)
  • DWORD (0x00000001) corpus 36 (sigma 36)
  • DWORD (0x00000002) corpus 9 (sigma 9)
field:"Details" kind:eq
TargetObjectends_with
  • \Excel\Security\DisableDDEServerLaunch
  • \Excel\Security\DisableDDEServerLookup
  • \Word\Security\AllowDDE
field:"TargetObject" kind:ends_with

Google Cloud DNS Zone Modified or Deleted

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

Identifies when a DNS Zone is modified or deleted in Google Cloud.

MITRE ATT&CK Coverage

TacticTechniques
ImpactNo specific technique

Telemetry Coverage

Rule Body

title: Google Cloud DNS Zone Modified or Deleted
id: 28268a8f-191f-4c17-85b2-f5aa4fa829c3
status: test
description: Identifies when a DNS Zone is modified or deleted in Google Cloud.
references:
    - https://cloud.google.com/dns/docs/reference/v1/managedZones
author: Austin Songer @austinsonger
date: 2021-08-15
modified: 2022-10-09
tags:
    - attack.impact
logsource:
    product: gcp
    service: gcp.audit
detection:
    selection:
        gcp.audit.method_name:
            - Dns.ManagedZones.Delete
            - Dns.ManagedZones.Update
            - Dns.ManagedZones.Patch
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    gcp.audit.method_name:
        - Dns.ManagedZones.Delete
        - Dns.ManagedZones.Update
        - Dns.ManagedZones.Patch

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
gcp.audit.method_nameeq
  • Dns.ManagedZones.Delete
  • Dns.ManagedZones.Patch
  • Dns.ManagedZones.Update
field:"gcp::method_name" kind:eq

Google Cloud Kubernetes RoleBinding

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

Detects the creation or patching of potential malicious RoleBinding. This includes RoleBindings and ClusterRoleBinding.

Known False Positives

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

MITRE ATT&CK Coverage

TacticTechniques
Credential AccessNo specific technique

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: Google Cloud Kubernetes RoleBinding
id: 0322d9f2-289a-47c2-b5e1-b63c90901a3e
status: test
description: Detects the creation or patching of potential malicious RoleBinding. This includes RoleBindings and ClusterRoleBinding.
references:
    - https://github.com/elastic/detection-rules/pull/1267
    - https://kubernetes.io/docs/reference/kubernetes-api/authorization-resources/cluster-role-v1/#ClusterRole
    - https://cloud.google.com/kubernetes-engine/docs/how-to/role-based-access-control
    - https://kubernetes.io/docs/reference/access-authn-authz/rbac/
    - https://cloud.google.com/kubernetes-engine/docs/how-to/audit-logging
author: Austin Songer @austinsonger
date: 2021-08-09
modified: 2022-10-09
tags:
    - attack.credential-access
logsource:
    product: gcp
    service: gcp.audit
detection:
    selection:
        gcp.audit.method_name:
            - io.k8s.authorization.rbac.v*.clusterrolebindings.create
            - io.k8s.authorization.rbac.v*.rolebindings.create
            - io.k8s.authorization.rbac.v*.clusterrolebindings.patch
            - io.k8s.authorization.rbac.v*.rolebindings.patch
            - io.k8s.authorization.rbac.v*.clusterrolebindings.update
            - io.k8s.authorization.rbac.v*.rolebindings.update
            - io.k8s.authorization.rbac.v*.clusterrolebindings.delete
            - io.k8s.authorization.rbac.v*.rolebindings.delete
    condition: selection
falsepositives:
    - RoleBindings and ClusterRoleBinding being modified or deleted may be performed by a system administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment.
    - RoleBindings and ClusterRoleBinding modified or deleted from unfamiliar users should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    gcp.audit.method_name:
        - io.k8s.authorization.rbac.v*.clusterrolebindings.create
        - io.k8s.authorization.rbac.v*.rolebindings.create
        - io.k8s.authorization.rbac.v*.clusterrolebindings.patch
        - io.k8s.authorization.rbac.v*.rolebindings.patch
        - io.k8s.authorization.rbac.v*.clusterrolebindings.update
        - io.k8s.authorization.rbac.v*.rolebindings.update
        - io.k8s.authorization.rbac.v*.clusterrolebindings.delete
        - io.k8s.authorization.rbac.v*.rolebindings.delete

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
gcp.audit.method_namewildcard
  • io.k8s.authorization.rbac.v*.clusterrolebindings.create
  • io.k8s.authorization.rbac.v*.clusterrolebindings.delete
  • io.k8s.authorization.rbac.v*.clusterrolebindings.patch
  • io.k8s.authorization.rbac.v*.clusterrolebindings.update
  • io.k8s.authorization.rbac.v*.rolebindings.create
  • io.k8s.authorization.rbac.v*.rolebindings.delete
  • io.k8s.authorization.rbac.v*.rolebindings.patch
  • io.k8s.authorization.rbac.v*.rolebindings.update
field:"gcp::method_name" kind:wildcard

Gpresult Display Group Policy Information

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

Detects cases in which a user uses the built-in Windows utility gpresult to display the Resultant Set of Policy (RSoP) information

MITRE ATT&CK Coverage

TacticTechniques
Discovery

Telemetry Coverage

Rule Body

title: Gpresult Display Group Policy Information
id: e56d3073-83ff-4021-90fe-c658e0709e72
status: test
description: Detects cases in which a user uses the built-in Windows utility gpresult to display the Resultant Set of Policy (RSoP) information
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1615/T1615.md
    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/gpresult
    - https://unit42.paloaltonetworks.com/emissary-trojan-changelog-did-operation-lotus-blossom-cause-it-to-evolve/
    - https://www.welivesecurity.com/wp-content/uploads/2020/05/ESET_Turla_ComRAT.pdf
author: frack113
date: 2022-05-01
tags:
    - attack.discovery
    - attack.t1615
logsource:
    product: windows
    category: process_creation
detection:
    selection:
        Image|endswith: '\gpresult.exe'
        CommandLine|contains:
            - '/z'
            - '/v'
    condition: selection
falsepositives:
    - Unknown
level: medium
simulation:
    - type: atomic-red-team
      name: Display group policy information via gpresult
      technique: T1615
      atomic_guid: 0976990f-53b1-4d3f-a185-6df5be429d3b
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_gpresult_execution/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '\gpresult.exe'
    CommandLine|contains:
        - '/z'
        - '/v'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /v corpus 5 (sigma 5)
  • /z
field:"CommandLine" kind:match
Imageends_with
  • \gpresult.exe
field:"Image" kind:ends_with value:"\gpresult.exe"

HackTool - Htran/NATBypass Execution

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

Detects executable names or flags used by Htran or Htran-like tools (e.g. NATBypass)

MITRE ATT&CK Coverage

TacticTechniques
Command & Control

Telemetry Coverage

Rule Body

title: HackTool - Htran/NATBypass Execution
id: f5e3b62f-e577-4e59-931e-0a15b2b94e1e
status: test
description: Detects executable names or flags used by Htran or Htran-like tools (e.g. NATBypass)
references:
    - https://github.com/HiwinCN/HTran
    - https://github.com/cw1997/NATBypass
author: Florian Roth (Nextron Systems)
date: 2022-12-27
modified: 2023-02-04
tags:
    - attack.command-and-control
    - attack.t1090
    - attack.s0040
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        Image|endswith:
            - '\htran.exe'
            - '\lcx.exe'
    selection_cli:
        CommandLine|contains:
            - '.exe -tran '
            - '.exe -slave '
    condition: 1 of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_img

selection_img:
    Image|endswith:
        - '\htran.exe'
        - '\lcx.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains:
        - '.exe -tran '
        - '.exe -slave '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • .exe -slave
  • .exe -tran
field:"CommandLine" kind:match
Imageends_with
  • \htran.exe
  • \lcx.exe
field:"Image" kind:ends_with

HackTool - RemoteKrbRelay Execution

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

Detects the use of RemoteKrbRelay, a Kerberos relaying tool via CommandLine flags and PE metadata.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: HackTool - RemoteKrbRelay Execution
id: a7664b14-75fb-4a50-a223-cb9bc0afbacf
status: test
description: |
    Detects the use of RemoteKrbRelay, a Kerberos relaying tool via CommandLine flags and PE metadata.
references:
    - https://github.com/CICADA8-Research/RemoteKrbRelay
author: Nasreddine Bencherchali (Nextron Systems)
date: 2024-06-27
tags:
    - attack.credential-access
    - attack.t1558.003
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\RemoteKrbRelay.exe'
        - OriginalFileName: 'RemoteKrbRelay.exe'
    selection_cli_required:
        CommandLine|contains|all:
            - ' -clsid '
            - ' -target '
            - ' -victim '
    # selection_cli_attacks:
    #     # Note: In the current implementation these flags do not require any other flags. Which means they can't be used on their own. They're already covered by "selection_cli_required"
    #     CommandLine|contains:
    #         - '-adcs ' # relay to HTTP Web Enrollment and get certificate
    #         - '-laps ' # relay to LDAP and extract LAPS passwords
    #         - '-ldapwhoami ' # relay to LDAP and get info about relayed user
    #         - '-shadowcred ' # relay to LDAP and setup Shadow Credentials
    selection_cli_attack_smb:
        CommandLine|contains|all:
            - '-smb ' # relay to SMB
            - '--smbkeyword '
        CommandLine|contains:
            - 'interactive'
            - 'secrets'
            - 'service-add'
    selection_cli_attack_rbcd_main:
        CommandLine|contains: '-rbcd ' # relay to LDAP and setup RBCD
    selection_cli_attack_rbcd_options:
        CommandLine|contains:
            - '-cn ' # Computer name that will be written to msDs-AllowedToActOnBehalfOfOtherIdentity
            - '--computername ' # Computer name that will be written to msDs-AllowedToActOnBehalfOfOtherIdentity
    selection_cli_attack_changepass:
        CommandLine|contains: '-chp ' # relay to LDAP and change user password
        CommandLine|contains|all:
            - '-chpPass ' # new password
            - '-chpUser ' # the name of the user whose password you want to change
    selection_cli_attack_addgrpname:
        CommandLine|contains|all:
            - '-addgroupmember ' # relay to LDAP and add user to group
            - '-group '
            - '-groupuser '
    condition: selection_img or selection_cli_required or all of selection_cli_attack_rbcd_* or selection_cli_attack_changepass or selection_cli_attack_addgrpname or selection_cli_attack_smb
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection_img or selection_cli_required or all of selection_cli_attack_rbcd_* or selection_cli_attack_changepass or selection_cli_attack_addgrpname or selection_cli_attack_smb

Stage 1: selection_img

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

Stage 2: selection_cli_required

selection_cli_required:
    CommandLine|contains|all:
        - ' -clsid '
        - ' -target '
        - ' -victim '

Stage 3: selection_cli_attack_rbcd_main

selection_cli_attack_rbcd_main:
    CommandLine|contains: '-rbcd '

Stage 4: selection_cli_attack_rbcd_options

selection_cli_attack_rbcd_options:
    CommandLine|contains:
        - '-cn '
        - '--computername '

Stage 5: selection_cli_attack_changepass

selection_cli_attack_changepass:
    CommandLine|contains: '-chp '
    CommandLine|contains|all:
        - '-chpPass '
        - '-chpUser '

Stage 6: selection_cli_attack_addgrpname

selection_cli_attack_addgrpname:
    CommandLine|contains|all:
        - '-addgroupmember '
        - '-group '
        - '-groupuser '

Stage 7: selection_cli_attack_smb

selection_cli_attack_smb:
    CommandLine|contains|all:
        - '-smb '
        - '--smbkeyword '
    CommandLine|contains:
        - 'interactive'
        - 'secrets'
        - 'service-add'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -clsid corpus 2 (sigma 2)
  • -target
  • -victim
  • --computername
  • --smbkeyword
  • -addgroupmember
  • -chp
  • -chpPass
  • -chpUser
  • -cn
  • -group
  • -groupuser
  • -rbcd
  • -smb
  • interactive corpus 3 (sigma 3)
  • secrets
  • service-add
field:"CommandLine" kind:match
Imageends_with
  • \RemoteKrbRelay.exe
field:"Image" kind:ends_with value:"\RemoteKrbRelay.exe"
OriginalFileNameeq
  • RemoteKrbRelay.exe
field:"OriginalFileName" kind:eq value:"RemoteKrbRelay.exe"

ISO or Image Mount Indicator in Recent Files

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

Detects the creation of recent element file that points to an .ISO, .IMG, .VHD or .VHDX file as often used in phishing attacks. This can be a false positive on server systems but on workstations users should rarely mount .iso or .img files.

Known False Positives

  • Cases in which a user mounts an image file for legitimate reasons

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: ISO or Image Mount Indicator in Recent Files
id: 4358e5a5-7542-4dcb-b9f3-87667371839b
status: test
description: |
    Detects the creation of recent element file that points to an .ISO, .IMG, .VHD or .VHDX file as often used in phishing attacks.
    This can be a false positive on server systems but on workstations users should rarely mount .iso or .img files.
references:
    - https://www.microsoft.com/security/blog/2021/05/27/new-sophisticated-email-based-attack-from-nobelium/
    - https://www.trendmicro.com/vinfo/us/security/news/cybercrime-and-digital-threats/malicious-spam-campaign-uses-iso-image-files-to-deliver-lokibot-and-nanocore
    - https://blog.emsisoft.com/en/32373/beware-new-wave-of-malware-spreads-via-iso-file-email-attachments/
    - https://insights.sei.cmu.edu/blog/the-dangers-of-vhd-and-vhdx-files/
author: Florian Roth (Nextron Systems)
date: 2022-02-11
tags:
    - attack.initial-access
    - attack.t1566.001
logsource:
    product: windows
    category: file_event
detection:
    selection:
        TargetFilename|endswith:
            - '.iso.lnk'
            - '.img.lnk'
            - '.vhd.lnk'
            - '.vhdx.lnk'
        TargetFilename|contains: '\Microsoft\Windows\Recent\'
    condition: selection
falsepositives:
    - Cases in which a user mounts an image file for legitimate reasons
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|endswith:
        - '.iso.lnk'
        - '.img.lnk'
        - '.vhd.lnk'
        - '.vhdx.lnk'
    TargetFilename|contains: '\Microsoft\Windows\Recent\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • .img.lnk
  • .iso.lnk
  • .vhd.lnk
  • .vhdx.lnk
field:"TargetFilename" kind:ends_with
TargetFilenamematch
  • \Microsoft\Windows\Recent\ corpus 2 (sigma 1, splunk 1)
field:"TargetFilename" kind:match value:"\Microsoft\Windows\Recent\"

Kerberos Network Traffic RC4 Ticket Encryption

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

Detects kerberos TGS request using RC4 encryption which may be indicative of kerberoasting

Known False Positives

  • Normal enterprise SPN requests activity

MITRE ATT&CK Coverage

Rule Body

title: Kerberos Network Traffic RC4 Ticket Encryption
id: 503fe26e-b5f2-4944-a126-eab405cc06e5
status: test
description: Detects kerberos TGS request using RC4 encryption which may be indicative of kerberoasting
references:
    - https://adsecurity.org/?p=3458
author: sigma
date: 2020-02-12
modified: 2021-11-27
tags:
    - attack.credential-access
    - attack.t1558.003
logsource:
    product: zeek
    service: kerberos
detection:
    selection:
        request_type: 'TGS'
        cipher: 'rc4-hmac'
    computer_acct:
        service|startswith: '$'
    condition: selection and not computer_acct
falsepositives:
    - Normal enterprise SPN requests activity
level: medium

Stages and Predicates

Stage 0: condition

selection and not computer_acct

Stage 1: selection

selection:
    request_type: 'TGS'
    cipher: 'rc4-hmac'

Stage 2: not computer_acct

computer_acct:
    service|startswith: '$'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
servicestarts_with$excludes:service field:"service" value:"$"

Launch-VsDevShell.PS1 Proxy Execution

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

Detects the use of the 'Launch-VsDevShell.ps1' Microsoft signed script to execute commands.

Known False Positives

  • Legitimate usage of the script by a developer

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Launch-VsDevShell.PS1 Proxy Execution
id: 45d3a03d-f441-458c-8883-df101a3bb146
status: test
description: Detects the use of the 'Launch-VsDevShell.ps1' Microsoft signed script to execute commands.
references:
    - https://twitter.com/nas_bench/status/1535981653239255040
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-08-19
tags:
    - attack.stealth
    - attack.t1216.001
logsource:
    category: process_creation
    product: windows
detection:
    selection_script:
        CommandLine|contains: 'Launch-VsDevShell.ps1'
    selection_flags:
        CommandLine|contains:
            - 'VsWherePath '
            - 'VsInstallationPath '
    condition: all of selection_*
falsepositives:
    - Legitimate usage of the script by a developer
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_script

selection_script:
    CommandLine|contains: 'Launch-VsDevShell.ps1'

Stage 2: selection_flags

selection_flags:
    CommandLine|contains:
        - 'VsWherePath '
        - 'VsInstallationPath '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • Launch-VsDevShell.ps1
  • VsInstallationPath
  • VsWherePath
field:"CommandLine" kind:match

LSASS Crash Via Netlogon Stack Buffer Overflow - CVE-2026-41089

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

Detects a crash of the LSASS process where netlogon.dll is the faulting module and the exception code is STATUS_STACK_BUFFER_OVERRUN (0xc0000409). This crash, especially on Domain Controllers, might indicate the exploitation of CVE-2026-41089, a denial of service (DoS) vulnerability, which exists in the Netlogon component of Windows and can be triggered by sending specially crafted requests to the Netlogon service, leading to a stack-based buffer overflow and subsequent crash of the LSASS process.

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: LSASS Crash Via Netlogon Stack Buffer Overflow - CVE-2026-41089
id: f8a66a02-4a16-46e5-b7fd-a42c8a93d137
status: experimental
description: |
    Detects a crash of the LSASS process where netlogon.dll is the faulting module and the exception code is STATUS_STACK_BUFFER_OVERRUN (0xc0000409).
    This crash, especially on Domain Controllers, might indicate the exploitation of CVE-2026-41089, a denial of service (DoS) vulnerability,
    which exists in the Netlogon component of Windows and can be triggered by sending specially crafted requests to the Netlogon service,
    leading to a stack-based buffer overflow and subsequent crash of the LSASS process.
references:
    - https://aretiq.ai/research/vul260513-cve-2026-41089-microsoft-windows-netlogon-buildsamlogonresponse-stack-based-buffer-overflow-rce/
    - https://learn.microsoft.com/en-us/shows/inside/c0000409
    - https://github.com/p3Nt3st3r-sTAr/CVE-2026-41089
    - https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-41089
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2026-06-02
tags:
    - attack.impact
    - attack.t1499
    - cve.2026-41089
    - detection.emerging-threats
logsource:
    product: windows
    service: application
detection:
    selection:
        Provider_Name: 'Application Error'
        EventID: 1000
        AppName: 'lsass.exe'
        ModuleName: 'netlogon.dll'
        ExceptionCode: 'c0000409' # STATUS_STACK_BUFFER_OVERRUN
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Provider_Name: 'Application Error'
    EventID: 1000
    AppName: 'lsass.exe'
    ModuleName: 'netlogon.dll'
    ExceptionCode: 'c0000409'

Indicators

These rows show field, operator, and value matches.

New Connection Initiated To Potential Dead Drop Resolver Domain

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

Detects an executable, which is not an internet browser or known application, initiating network connections to legit popular websites, which were seen to be used as dead drop resolvers in previous attacks. In this context attackers leverage known websites such as "facebook", "youtube", etc. In order to pass through undetected.

Known False Positives

  • One might need to exclude other internet browsers found in it's network or other applications like ones mentioned above from Microsoft Defender.
  • Ninite contacting githubusercontent.com

MITRE ATT&CK Coverage

TacticTechniques
Command & Control

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 3: Network connection

Rule Body

title: New Connection Initiated To Potential Dead Drop Resolver Domain
id: 297ae038-edc2-4b2e-bb3e-7c5fc94dd5c7
related:
    - id: d7b09985-95a3-44be-8450-b6eadf49833e
      type: obsolete
    - id: 8b48ad89-10d8-4382-a546-50588c410f0d
      type: similar
    - id: d635249d-86b5-4dad-a8c7-d7272b788586
      type: similar
    - id: 52182dfb-afb7-41db-b4bc-5336cb29b464
      type: similar
    - id: ae02ed70-11aa-4a22-b397-c0d0e8f6ea99
      type: similar
    - id: e0f8ab85-0ac9-423b-a73a-81b3c7b1aa97
      type: similar
    - id: 7b434893-c57d-4f41-908d-6a17bf1ae98f
      type: similar
    - id: 8518ed3d-f7c9-4601-a26c-f361a4256a0c
      type: similar
    - id: 42a5f1e7-9603-4f6d-97ae-3f37d130d794
      type: similar
    - id: 56454143-524f-49fb-b1c6-3fb8b1ad41fb
      type: similar
    - id: b6e04788-29e1-4557-bb14-77f761848ab8
      type: similar
    - id: a0d7e4d2-bede-4141-8896-bc6e237e977c
      type: similar
status: test
description: |
    Detects an executable, which is not an internet browser or known application, initiating network connections to legit popular websites, which were seen to be used as dead drop resolvers in previous attacks.
    In this context attackers leverage known websites such as "facebook", "youtube", etc. In order to pass through undetected.
references:
    - https://web.archive.org/web/20220830134315/https://content.fireeye.com/apt-41/rpt-apt41/
    - https://securelist.com/the-tetrade-brazilian-banking-malware/97779/
    - https://blog.bushidotoken.net/2021/04/dead-drop-resolvers-espionage-inspired.html
    - https://github.com/kleiton0x00/RedditC2
    - https://twitter.com/kleiton0x7e/status/1600567316810551296
    - https://www.linkedin.com/posts/kleiton-kurti_github-kleiton0x00redditc2-abusing-reddit-activity-7009939662462984192-5DbI/?originalSubdomain=al
author: Sorina Ionescu, X__Junior (Nextron Systems)
date: 2022-08-17
modified: 2026-03-29
tags:
    - attack.command-and-control
    - attack.t1102
    - attack.t1102.001
logsource:
    category: network_connection
    product: windows
detection:
    selection:
        Initiated: 'true'
        DestinationHostname|endswith:
            - '.t.me'
            - '0x0.st'
            - '4shared.com'
            - 'abuse.ch'
            - 'anonfiles.com'
            - 'bashupload.com'
            - 'cdn.discordapp.com'
            - 'chunk.io'
            - 'cloudflare.com'
            - 'ddns.net'
            - 'discord.com'
            - 'docs.google.com'
            - 'drive.google.com'
            - 'dropbox.com'
            - 'dropmefiles.com'
            - 'facebook.com'
            - 'feeds.rapidfeeds.com'
            - 'fotolog.com'
            - 'ghostbin.co/'
            - 'githubusercontent.com'
            - 'gofile.io'
            - 'hastebin.com'
            - 'imgur.com'
            - 'livejournal.com'
            - 'mediafire.com'
            - 'mega.co.nz'
            - 'mega.nz'
            - 'onedrive.com'
            - 'pages.dev'
            - 'paste.ee'
            - 'pastebin.com'
            - 'pastebin.pl'
            - 'pastetext.net'
            - 'pixeldrain.com'
            - 'privatlab.com'
            - 'privatlab.net'
            - 'reddit.com'
            - 'send.exploit.in'
            - 'sendspace.com'
            - 'steamcommunity.com'
            - 'storage.googleapis.com'
            - 'technet.microsoft.com'
            - 'temp.sh'
            - 'transfer.sh'
            - 'trycloudflare.com'
            - 'twitter.com'
            - 'ufile.io'
            - 'vimeo.com'
            - 'w3spaces.com'
            - 'wetransfer.com'
            - 'workers.dev'
            - 'x0.at'
            - 'youtube.com'
    # Note: Add/Remove browsers/applications that you don't use or those that have custom install locations
    # Note: To avoid complex conditions the filters for some apps are generic by name only. A custom tuning is recommended for best results
    filter_main_chrome:
        Image:
            - 'C:\Program Files\Google\Chrome\Application\chrome.exe'
            - 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'
    filter_main_chrome_appdata:
        Image|startswith: 'C:\Users\'
        Image|endswith: '\AppData\Local\Google\Chrome\Application\chrome.exe'
    filter_main_firefox:
        Image:
            - 'C:\Program Files\Mozilla Firefox\firefox.exe'
            - 'C:\Program Files (x86)\Mozilla Firefox\firefox.exe'
    filter_main_firefox_appdata:
        Image|startswith: 'C:\Users\'
        Image|endswith: '\AppData\Local\Mozilla Firefox\firefox.exe'
    filter_main_ie:
        Image:
            - 'C:\Program Files (x86)\Internet Explorer\iexplore.exe'
            - 'C:\Program Files\Internet Explorer\iexplore.exe'
    filter_main_edge_1:
        - Image|startswith: 'C:\Program Files (x86)\Microsoft\EdgeWebView\Application\'
        - Image|endswith: '\WindowsApps\MicrosoftEdge.exe'
        - Image:
              - 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
              - 'C:\Program Files\Microsoft\Edge\Application\msedge.exe'
    filter_main_edge_2:
        Image|startswith:
            - 'C:\Program Files (x86)\Microsoft\EdgeCore\'
            - 'C:\Program Files\Microsoft\EdgeCore\'
        Image|endswith:
            - '\msedge.exe'
            - '\msedgewebview2.exe'
    filter_main_safari:
        Image|contains:
            - 'C:\Program Files (x86)\Safari\'
            - 'C:\Program Files\Safari\'
        Image|endswith: '\safari.exe'
    filter_main_defender:
        Image|contains:
            - 'C:\Program Files\Windows Defender Advanced Threat Protection\'
            - 'C:\Program Files\Windows Defender\'
            - 'C:\ProgramData\Microsoft\Windows Defender\Platform\'
        Image|endswith:
            - '\MsMpEng.exe' # Microsoft Defender executable
            - '\MsSense.exe' # Windows Defender Advanced Threat Protection Service Executable
    filter_main_prtg:
        # Paessler's PRTG Network Monitor
        Image|endswith:
            - 'C:\Program Files (x86)\PRTG Network Monitor\PRTG Probe.exe'
            - 'C:\Program Files\PRTG Network Monitor\PRTG Probe.exe'
    filter_main_brave:
        Image|startswith: 'C:\Program Files\BraveSoftware\'
        Image|endswith: '\brave.exe'
    filter_main_maxthon:
        Image|contains: '\AppData\Local\Maxthon\'
        Image|endswith: '\maxthon.exe'
    filter_main_opera:
        Image|contains: '\AppData\Local\Programs\Opera\'
        Image|endswith: '\opera.exe'
    filter_main_seamonkey:
        Image|startswith:
            - 'C:\Program Files\SeaMonkey\'
            - 'C:\Program Files (x86)\SeaMonkey\'
        Image|endswith: '\seamonkey.exe'
    filter_main_vivaldi:
        Image|contains: '\AppData\Local\Vivaldi\'
        Image|endswith: '\vivaldi.exe'
    filter_main_whale:
        Image|startswith:
            - 'C:\Program Files\Naver\Naver Whale\'
            - 'C:\Program Files (x86)\Naver\Naver Whale\'
        Image|endswith: '\whale.exe'
    # Note: The TOR browser shouldn't be something you allow in your corporate network.
    # filter_main_tor:
    #     Image|contains: '\Tor Browser\'
    filter_main_whaterfox:
        Image|startswith:
            - 'C:\Program Files\Waterfox\'
            - 'C:\Program Files (x86)\Waterfox\'
        Image|endswith: '\Waterfox.exe'
    filter_main_midori:
        Image|contains: '\AppData\Local\Programs\midori-ng\'
        Image|endswith: '\Midori Next Generation.exe'
    filter_main_slimbrowser:
        Image|startswith:
            - 'C:\Program Files\SlimBrowser\'
            - 'C:\Program Files (x86)\SlimBrowser\'
        Image|endswith: '\slimbrowser.exe'
    filter_main_flock:
        Image|contains: '\AppData\Local\Flock\'
        Image|endswith: '\Flock.exe'
    filter_main_phoebe:
        Image|contains: '\AppData\Local\Phoebe\'
        Image|endswith: '\Phoebe.exe'
    filter_main_falkon:
        Image|startswith:
            - 'C:\Program Files\Falkon\'
            - 'C:\Program Files (x86)\Falkon\'
        Image|endswith: '\falkon.exe'
    filter_main_qtweb:
        Image|startswith:
            - 'C:\Program Files (x86)\QtWeb\'
            - 'C:\Program Files\QtWeb\'
        Image|endswith: '\QtWeb.exe'
    filter_main_avant:
        Image|startswith:
            - 'C:\Program Files (x86)\Avant Browser\'
            - 'C:\Program Files\Avant Browser\'
        Image|endswith: '\avant.exe'
    filter_main_whatsapp:
        Image|startswith:
            - 'C:\Program Files (x86)\WindowsApps\'
            - 'C:\Program Files\WindowsApps\'
        Image|endswith: '\WhatsApp.exe'
        DestinationHostname|endswith: 'facebook.com'
    filter_main_telegram:
        Image|contains: '\AppData\Roaming\Telegram Desktop\'
        Image|endswith: '\Telegram.exe'
        DestinationHostname|endswith: '.t.me'
    filter_main_onedrive:
        Image|contains: '\AppData\Local\Microsoft\OneDrive\'
        Image|endswith: '\OneDrive.exe'
        DestinationHostname|endswith: 'onedrive.com'
    filter_main_dropbox:
        Image|startswith:
            - 'C:\Program Files (x86)\Dropbox\Client\'
            - 'C:\Program Files\Dropbox\Client\'
        Image|endswith:
            - '\Dropbox.exe'
            - '\DropboxInstaller.exe'
        DestinationHostname|endswith: 'dropbox.com'
    filter_main_mega:
        Image|endswith:
            # Note: This is a basic/best effort filter in order to avoid FP with the MEGA installer and executable.
            #       In practice please apply exact path to avoid basic path bypass techniques.
            - '\MEGAsync.exe'
            - '\MEGAsyncSetup32_*RC.exe' # Beta versions
            - '\MEGAsyncSetup32.exe' # Installers 32bit
            - '\MEGAsyncSetup64.exe' # Installers 64bit
            - '\MEGAupdater.exe'
        DestinationHostname|endswith:
            - 'mega.co.nz'
            - 'mega.nz'
    filter_main_googledrive:
        Image|contains:
            - 'C:\Program Files\Google\Drive File Stream\'
            - 'C:\Program Files (x86)\Google\Drive File Stream\'
        Image|endswith: 'GoogleDriveFS.exe'
        DestinationHostname|endswith: 'drive.google.com'
    filter_main_discord:
        Image|contains: '\AppData\Local\Discord\'
        Image|endswith: '\Discord.exe'
        DestinationHostname|endswith:
            - 'discord.com'
            - 'cdn.discordapp.com'
    filter_main_null:
        Image: null
    filter_main_empty:
        Image: ''
    # filter_optional_qlik:
    #     Image|endswith: '\Engine.exe' # Process from qlik.com app
    condition: selection and not 1 of filter_main_*
falsepositives:
    - One might need to exclude other internet browsers found in it's network or other applications like ones mentioned above from Microsoft Defender.
    - Ninite contacting githubusercontent.com
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    Initiated: 'true'
    DestinationHostname|endswith:
        - '.t.me'
        - '0x0.st'
        - '4shared.com'
        - 'abuse.ch'
        - 'anonfiles.com'
        - 'bashupload.com'
        - 'cdn.discordapp.com'
        - 'chunk.io'
        - 'cloudflare.com'
        - 'ddns.net'
        - 'discord.com'
        - 'docs.google.com'
        - 'drive.google.com'
        - 'dropbox.com'
        - 'dropmefiles.com'
        - 'facebook.com'
        - 'feeds.rapidfeeds.com'
        - 'fotolog.com'
        - 'ghostbin.co/'
        - 'githubusercontent.com'
        - 'gofile.io'
        - 'hastebin.com'
        - 'imgur.com'
        - 'livejournal.com'
        - 'mediafire.com'
        - 'mega.co.nz'
        - 'mega.nz'
        - 'onedrive.com'
        - 'pages.dev'
        - 'paste.ee'
        - 'pastebin.com'
        - 'pastebin.pl'
        - 'pastetext.net'
        - 'pixeldrain.com'
        - 'privatlab.com'
        - 'privatlab.net'
        - 'reddit.com'
        - 'send.exploit.in'
        - 'sendspace.com'
        - 'steamcommunity.com'
        - 'storage.googleapis.com'
        - 'technet.microsoft.com'
        - 'temp.sh'
        - 'transfer.sh'
        - 'trycloudflare.com'
        - 'twitter.com'
        - 'ufile.io'
        - 'vimeo.com'
        - 'w3spaces.com'
        - 'wetransfer.com'
        - 'workers.dev'
        - 'x0.at'
        - 'youtube.com'

Stage 2: not filter_main_*

filter_main_chrome:
    Image:
        - 'C:\Program Files\Google\Chrome\Application\chrome.exe'
        - 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'
filter_main_chrome_appdata:
    Image|startswith: 'C:\Users\'
    Image|endswith: '\AppData\Local\Google\Chrome\Application\chrome.exe'
filter_main_firefox:
    Image:
        - 'C:\Program Files\Mozilla Firefox\firefox.exe'
        - 'C:\Program Files (x86)\Mozilla Firefox\firefox.exe'
filter_main_firefox_appdata:
    Image|startswith: 'C:\Users\'
    Image|endswith: '\AppData\Local\Mozilla Firefox\firefox.exe'
filter_main_ie:
    Image:
        - 'C:\Program Files (x86)\Internet Explorer\iexplore.exe'
        - 'C:\Program Files\Internet Explorer\iexplore.exe'
filter_main_edge_1:
    - Image|startswith: 'C:\Program Files (x86)\Microsoft\EdgeWebView\Application\'
    - Image|endswith: '\WindowsApps\MicrosoftEdge.exe'
    - Image:
          - 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
          - 'C:\Program Files\Microsoft\Edge\Application\msedge.exe'
filter_main_edge_2:
    Image|startswith:
        - 'C:\Program Files (x86)\Microsoft\EdgeCore\'
        - 'C:\Program Files\Microsoft\EdgeCore\'
    Image|endswith:
        - '\msedge.exe'
        - '\msedgewebview2.exe'
filter_main_safari:
    Image|contains:
        - 'C:\Program Files (x86)\Safari\'
        - 'C:\Program Files\Safari\'
    Image|endswith: '\safari.exe'
filter_main_defender:
    Image|contains:
        - 'C:\Program Files\Windows Defender Advanced Threat Protection\'
        - 'C:\Program Files\Windows Defender\'
        - 'C:\ProgramData\Microsoft\Windows Defender\Platform\'
    Image|endswith:
        - '\MsMpEng.exe'
        - '\MsSense.exe'
filter_main_prtg:
    Image|endswith:
        - 'C:\Program Files (x86)\PRTG Network Monitor\PRTG Probe.exe'
        - 'C:\Program Files\PRTG Network Monitor\PRTG Probe.exe'
filter_main_brave:
    Image|startswith: 'C:\Program Files\BraveSoftware\'
    Image|endswith: '\brave.exe'
filter_main_maxthon:
    Image|contains: '\AppData\Local\Maxthon\'
    Image|endswith: '\maxthon.exe'
filter_main_opera:
    Image|contains: '\AppData\Local\Programs\Opera\'
    Image|endswith: '\opera.exe'
filter_main_seamonkey:
    Image|startswith:
        - 'C:\Program Files\SeaMonkey\'
        - 'C:\Program Files (x86)\SeaMonkey\'
    Image|endswith: '\seamonkey.exe'
filter_main_vivaldi:
    Image|contains: '\AppData\Local\Vivaldi\'
    Image|endswith: '\vivaldi.exe'
filter_main_whale:
    Image|startswith:
        - 'C:\Program Files\Naver\Naver Whale\'
        - 'C:\Program Files (x86)\Naver\Naver Whale\'
    Image|endswith: '\whale.exe'
filter_main_whaterfox:
    Image|startswith:
        - 'C:\Program Files\Waterfox\'
        - 'C:\Program Files (x86)\Waterfox\'
    Image|endswith: '\Waterfox.exe'
filter_main_midori:
    Image|contains: '\AppData\Local\Programs\midori-ng\'
    Image|endswith: '\Midori Next Generation.exe'
filter_main_slimbrowser:
    Image|startswith:
        - 'C:\Program Files\SlimBrowser\'
        - 'C:\Program Files (x86)\SlimBrowser\'
    Image|endswith: '\slimbrowser.exe'
filter_main_flock:
    Image|contains: '\AppData\Local\Flock\'
    Image|endswith: '\Flock.exe'
filter_main_phoebe:
    Image|contains: '\AppData\Local\Phoebe\'
    Image|endswith: '\Phoebe.exe'
filter_main_falkon:
    Image|startswith:
        - 'C:\Program Files\Falkon\'
        - 'C:\Program Files (x86)\Falkon\'
    Image|endswith: '\falkon.exe'
filter_main_qtweb:
    Image|startswith:
        - 'C:\Program Files (x86)\QtWeb\'
        - 'C:\Program Files\QtWeb\'
    Image|endswith: '\QtWeb.exe'
filter_main_avant:
    Image|startswith:
        - 'C:\Program Files (x86)\Avant Browser\'
        - 'C:\Program Files\Avant Browser\'
    Image|endswith: '\avant.exe'
filter_main_whatsapp:
    Image|startswith:
        - 'C:\Program Files (x86)\WindowsApps\'
        - 'C:\Program Files\WindowsApps\'
    Image|endswith: '\WhatsApp.exe'
    DestinationHostname|endswith: 'facebook.com'
filter_main_telegram:
    Image|contains: '\AppData\Roaming\Telegram Desktop\'
    Image|endswith: '\Telegram.exe'
    DestinationHostname|endswith: '.t.me'
filter_main_onedrive:
    Image|contains: '\AppData\Local\Microsoft\OneDrive\'
    Image|endswith: '\OneDrive.exe'
    DestinationHostname|endswith: 'onedrive.com'
filter_main_dropbox:
    Image|startswith:
        - 'C:\Program Files (x86)\Dropbox\Client\'
        - 'C:\Program Files\Dropbox\Client\'
    Image|endswith:
        - '\Dropbox.exe'
        - '\DropboxInstaller.exe'
    DestinationHostname|endswith: 'dropbox.com'
filter_main_mega:
    Image|endswith:
        - '\MEGAsync.exe'
        - '\MEGAsyncSetup32_*RC.exe'
        - '\MEGAsyncSetup32.exe'
        - '\MEGAsyncSetup64.exe'
        - '\MEGAupdater.exe'
    DestinationHostname|endswith:
        - 'mega.co.nz'
        - 'mega.nz'
filter_main_googledrive:
    Image|contains:
        - 'C:\Program Files\Google\Drive File Stream\'
        - 'C:\Program Files (x86)\Google\Drive File Stream\'
    Image|endswith: 'GoogleDriveFS.exe'
    DestinationHostname|endswith: 'drive.google.com'
filter_main_discord:
    Image|contains: '\AppData\Local\Discord\'
    Image|endswith: '\Discord.exe'
    DestinationHostname|endswith:
        - 'discord.com'
        - 'cdn.discordapp.com'
filter_main_null:
    Image: null
filter_main_empty:
    Image: ''

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
DestinationHostnameends_with
  • .t.me
  • 0x0.st corpus 2 (sigma 2)
  • 4shared.com
  • abuse.ch
  • anonfiles.com corpus 2 (sigma 2)
  • bashupload.com corpus 2 (sigma 2)
  • cdn.discordapp.com corpus 2 (sigma 2)
  • chunk.io corpus 2 (sigma 2)
  • cloudflare.com
  • ddns.net corpus 2 (sigma 2)
  • discord.com
  • docs.google.com
  • drive.google.com
  • dropbox.com
  • dropmefiles.com
  • facebook.com
  • feeds.rapidfeeds.com
  • fotolog.com
  • ghostbin.co/
  • githubusercontent.com
  • gofile.io corpus 2 (sigma 2)
  • hastebin.com corpus 2 (sigma 2)
  • imgur.com
  • livejournal.com
  • mediafire.com corpus 2 (sigma 2)
  • mega.co.nz corpus 3 (sigma 3)
  • mega.nz corpus 3 (sigma 3)
  • onedrive.com
  • pages.dev corpus 2 (sigma 2)
  • paste.ee corpus 2 (sigma 2)
  • pastebin.com corpus 2 (sigma 2)
  • pastebin.pl corpus 2 (sigma 2)
  • pastetext.net corpus 2 (sigma 2)
  • pixeldrain.com corpus 2 (sigma 2)
  • privatlab.com corpus 2 (sigma 2)
  • privatlab.net corpus 2 (sigma 2)
  • reddit.com
  • send.exploit.in corpus 2 (sigma 2)
  • sendspace.com corpus 2 (sigma 2)
  • steamcommunity.com
  • storage.googleapis.com corpus 2 (sigma 2)
  • technet.microsoft.com
  • temp.sh corpus 2 (sigma 2)
  • transfer.sh corpus 2 (sigma 2)
  • trycloudflare.com corpus 3 (sigma 3)
  • twitter.com
  • ufile.io corpus 2 (sigma 2)
  • vimeo.com
  • w3spaces.com corpus 2 (sigma 2)
  • wetransfer.com
  • workers.dev corpus 2 (sigma 2)
  • x0.at corpus 2 (sigma 2)
  • youtube.com
field:"DestinationHostname" kind:ends_with
Initiatedeq
  • true corpus 50 (sigma 50)
field:"Initiated" kind:eq value:"true"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
DestinationHostnameends_withcdn.discordapp.comexcludes:DestinationHostname field:"DestinationHostname" value:"cdn.discordapp.com"
DestinationHostnameends_withdiscord.comexcludes:DestinationHostname field:"DestinationHostname" value:"discord.com"
Imageends_with\Discord.exeexcludes:Image field:"Image" value:"\Discord.exe"
Imagematch\AppData\Local\Discord\excludes:Image field:"Image" value:"\AppData\Local\Discord\"
DestinationHostnameends_withmega.co.nzexcludes:DestinationHostname field:"DestinationHostname" value:"mega.co.nz"
DestinationHostnameends_withmega.nzexcludes:DestinationHostname field:"DestinationHostname" value:"mega.nz"
Imageends_with\MEGAsync.exeexcludes:Image field:"Image" value:"\MEGAsync.exe"
Imageends_with\MEGAsyncSetup32.exeexcludes:Image field:"Image" value:"\MEGAsyncSetup32.exe"
Imageends_with\MEGAsyncSetup32_*RC.exeexcludes:Image field:"Image" value:"\MEGAsyncSetup32_*RC.exe"
Imageends_with\MEGAsyncSetup64.exeexcludes:Image field:"Image" value:"\MEGAsyncSetup64.exe"
Imageends_with\MEGAupdater.exeexcludes:Image field:"Image" value:"\MEGAupdater.exe"
Imageends_with\Dropbox.exeexcludes:Image field:"Image" value:"\Dropbox.exe"
Imageends_with\DropboxInstaller.exeexcludes:Image field:"Image" value:"\DropboxInstaller.exe"
Imagestarts_withC:\Program Files (x86)\Dropbox\Client\excludes:Image field:"Image" value:"C:\Program Files (x86)\Dropbox\Client\"
Imagestarts_withC:\Program Files\Dropbox\Client\excludes:Image field:"Image" value:"C:\Program Files\Dropbox\Client\"
DestinationHostnameends_withdropbox.comexcludes:DestinationHostname field:"DestinationHostname" value:"dropbox.com"
Imageends_with\MsMpEng.exeexcludes:Image field:"Image" value:"\MsMpEng.exe"
Imageends_with\MsSense.exeexcludes:Image field:"Image" value:"\MsSense.exe"
ImagematchC:\Program Files\Windows Defender Advanced Threat Protection\excludes:Image field:"Image" value:"C:\Program Files\Windows Defender Advanced Threat Protection\"
ImagematchC:\Program Files\Windows Defender\excludes:Image field:"Image" value:"C:\Program Files\Windows Defender\"
ImagematchC:\ProgramData\Microsoft\Windows Defender\Platform\excludes:Image field:"Image" value:"C:\ProgramData\Microsoft\Windows Defender\Platform\"
Imageends_with\msedge.exeexcludes:Image field:"Image" value:"\msedge.exe"
Imageends_with\msedgewebview2.exeexcludes:Image field:"Image" value:"\msedgewebview2.exe"
Imagestarts_withC:\Program Files (x86)\Microsoft\EdgeCore\excludes:Image field:"Image" value:"C:\Program Files (x86)\Microsoft\EdgeCore\"
Imagestarts_withC:\Program Files\Microsoft\EdgeCore\excludes:Image field:"Image" value:"C:\Program Files\Microsoft\EdgeCore\"
ImagematchC:\Program Files (x86)\Google\Drive File Stream\excludes:Image field:"Image" value:"C:\Program Files (x86)\Google\Drive File Stream\"
ImagematchC:\Program Files\Google\Drive File Stream\excludes:Image field:"Image" value:"C:\Program Files\Google\Drive File Stream\"
DestinationHostnameends_withdrive.google.comexcludes:DestinationHostname field:"DestinationHostname" value:"drive.google.com"
Imageends_withGoogleDriveFS.exeexcludes:Image field:"Image" value:"GoogleDriveFS.exe"
ImagematchC:\Program Files (x86)\Safari\excludes:Image field:"Image" value:"C:\Program Files (x86)\Safari\"
ImagematchC:\Program Files\Safari\excludes:Image field:"Image" value:"C:\Program Files\Safari\"
Imageends_with\safari.exeexcludes:Image field:"Image" value:"\safari.exe"
Imagestarts_withC:\Program Files (x86)\Avant Browser\excludes:Image field:"Image" value:"C:\Program Files (x86)\Avant Browser\"
Imagestarts_withC:\Program Files\Avant Browser\excludes:Image field:"Image" value:"C:\Program Files\Avant Browser\"
Imageends_with\avant.exeexcludes:Image field:"Image" value:"\avant.exe"
Imagestarts_withC:\Program Files (x86)\Falkon\excludes:Image field:"Image" value:"C:\Program Files (x86)\Falkon\"
Imagestarts_withC:\Program Files\Falkon\excludes:Image field:"Image" value:"C:\Program Files\Falkon\"
Imageends_with\falkon.exeexcludes:Image field:"Image" value:"\falkon.exe"
Imagestarts_withC:\Program Files (x86)\Naver\Naver Whale\excludes:Image field:"Image" value:"C:\Program Files (x86)\Naver\Naver Whale\"
Imagestarts_withC:\Program Files\Naver\Naver Whale\excludes:Image field:"Image" value:"C:\Program Files\Naver\Naver Whale\"
Imageends_with\whale.exeexcludes:Image field:"Image" value:"\whale.exe"
Imagestarts_withC:\Program Files (x86)\QtWeb\excludes:Image field:"Image" value:"C:\Program Files (x86)\QtWeb\"
Imagestarts_withC:\Program Files\QtWeb\excludes:Image field:"Image" value:"C:\Program Files\QtWeb\"
Imageends_with\QtWeb.exeexcludes:Image field:"Image" value:"\QtWeb.exe"
Imagestarts_withC:\Program Files (x86)\SeaMonkey\excludes:Image field:"Image" value:"C:\Program Files (x86)\SeaMonkey\"
Imagestarts_withC:\Program Files\SeaMonkey\excludes:Image field:"Image" value:"C:\Program Files\SeaMonkey\"
Imageends_with\seamonkey.exeexcludes:Image field:"Image" value:"\seamonkey.exe"
Imagestarts_withC:\Program Files (x86)\SlimBrowser\excludes:Image field:"Image" value:"C:\Program Files (x86)\SlimBrowser\"
Imagestarts_withC:\Program Files\SlimBrowser\excludes:Image field:"Image" value:"C:\Program Files\SlimBrowser\"
Imageends_with\slimbrowser.exeexcludes:Image field:"Image" value:"\slimbrowser.exe"
Imagestarts_withC:\Program Files (x86)\Waterfox\excludes:Image field:"Image" value:"C:\Program Files (x86)\Waterfox\"
Imagestarts_withC:\Program Files\Waterfox\excludes:Image field:"Image" value:"C:\Program Files\Waterfox\"
Imageends_with\Waterfox.exeexcludes:Image field:"Image" value:"\Waterfox.exe"
Imagestarts_withC:\Program Files (x86)\WindowsApps\excludes:Image field:"Image" value:"C:\Program Files (x86)\WindowsApps\"
Imagestarts_withC:\Program Files\WindowsApps\excludes:Image field:"Image" value:"C:\Program Files\WindowsApps\"
DestinationHostnameends_withfacebook.comexcludes:DestinationHostname field:"DestinationHostname" value:"facebook.com"
Imageends_with\WhatsApp.exeexcludes:Image field:"Image" value:"\WhatsApp.exe"
DestinationHostnameends_with.t.meexcludes:DestinationHostname field:"DestinationHostname" value:".t.me"
Imageends_with\Telegram.exeexcludes:Image field:"Image" value:"\Telegram.exe"
Imagematch\AppData\Roaming\Telegram Desktop\excludes:Image field:"Image" value:"\AppData\Roaming\Telegram Desktop\"
DestinationHostnameends_withonedrive.comexcludes:DestinationHostname field:"DestinationHostname" value:"onedrive.com"
Imageends_with\OneDrive.exeexcludes:Image field:"Image" value:"\OneDrive.exe"
Imagematch\AppData\Local\Microsoft\OneDrive\excludes:Image field:"Image" value:"\AppData\Local\Microsoft\OneDrive\"
Imageends_with\AppData\Local\Google\Chrome\Application\chrome.exeexcludes:Image field:"Image" value:"\AppData\Local\Google\Chrome\Application\chrome.exe"
Imagestarts_withC:\Users\excludes:Image field:"Image" value:"C:\Users\"
Imageends_with\AppData\Local\Mozilla Firefox\firefox.exeexcludes:Image field:"Image" value:"\AppData\Local\Mozilla Firefox\firefox.exe"
Imageends_with\Flock.exeexcludes:Image field:"Image" value:"\Flock.exe"
Imagematch\AppData\Local\Flock\excludes:Image field:"Image" value:"\AppData\Local\Flock\"
Imageends_with\Midori Next Generation.exeexcludes:Image field:"Image" value:"\Midori Next Generation.exe"
Imagematch\AppData\Local\Programs\midori-ng\excludes:Image field:"Image" value:"\AppData\Local\Programs\midori-ng\"
Imageends_with\Phoebe.exeexcludes:Image field:"Image" value:"\Phoebe.exe"
Imagematch\AppData\Local\Phoebe\excludes:Image field:"Image" value:"\AppData\Local\Phoebe\"
Imageends_with\brave.exeexcludes:Image field:"Image" value:"\brave.exe"
Imagestarts_withC:\Program Files\BraveSoftware\excludes:Image field:"Image" value:"C:\Program Files\BraveSoftware\"
Imageends_with\maxthon.exeexcludes:Image field:"Image" value:"\maxthon.exe"
Imagematch\AppData\Local\Maxthon\excludes:Image field:"Image" value:"\AppData\Local\Maxthon\"
Imageends_with\opera.exeexcludes:Image field:"Image" value:"\opera.exe"
Imagematch\AppData\Local\Programs\Opera\excludes:Image field:"Image" value:"\AppData\Local\Programs\Opera\"
Imageends_with\vivaldi.exeexcludes:Image field:"Image" value:"\vivaldi.exe"
Imagematch\AppData\Local\Vivaldi\excludes:Image field:"Image" value:"\AppData\Local\Vivaldi\"
Imageends_withC:\Program Files (x86)\PRTG Network Monitor\PRTG Probe.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\PRTG Network Monitor\PRTG Probe.exe"
Imageends_withC:\Program Files\PRTG Network Monitor\PRTG Probe.exeexcludes:Image field:"Image" value:"C:\Program Files\PRTG Network Monitor\PRTG Probe.exe"
Imageends_with\WindowsApps\MicrosoftEdge.exeexcludes:Image field:"Image" value:"\WindowsApps\MicrosoftEdge.exe"
ImageeqC:\Program Files (x86)\Google\Chrome\Application\chrome.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
ImageeqC:\Program Files (x86)\Internet Explorer\iexplore.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Internet Explorer\iexplore.exe"
ImageeqC:\Program Files (x86)\Microsoft\Edge\Application\msedge.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
ImageeqC:\Program Files (x86)\Mozilla Firefox\firefox.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
ImageeqC:\Program Files\Google\Chrome\Application\chrome.exeexcludes:Image field:"Image" value:"C:\Program Files\Google\Chrome\Application\chrome.exe"
ImageeqC:\Program Files\Internet Explorer\iexplore.exeexcludes:Image field:"Image" value:"C:\Program Files\Internet Explorer\iexplore.exe"
ImageeqC:\Program Files\Microsoft\Edge\Application\msedge.exeexcludes:Image field:"Image" value:"C:\Program Files\Microsoft\Edge\Application\msedge.exe"
ImageeqC:\Program Files\Mozilla Firefox\firefox.exeexcludes:Image field:"Image" value:"C:\Program Files\Mozilla Firefox\firefox.exe"
Imageis_null(no value, null check)excludes:Image
Imagestarts_withC:\Program Files (x86)\Microsoft\EdgeWebView\Application\excludes:Image field:"Image" value:"C:\Program Files (x86)\Microsoft\EdgeWebView\Application\"

New Generic Credentials Added Via Cmdkey.EXE

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

Detects usage of "cmdkey.exe" to add generic credentials. As an example, this can be used before connecting to an RDP session via command line interface.

Known False Positives

  • Legitimate usage for administration purposes

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: New Generic Credentials Added Via Cmdkey.EXE
id: b1ec66c6-f4d1-4b5c-96dd-af28ccae7727
status: test
description: |
    Detects usage of "cmdkey.exe" to add generic credentials.
    As an example, this can be used before connecting to an RDP session via command line interface.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1021.001/T1021.001.md#t1021001---remote-desktop-protocol
author: frack113, Nasreddine Bencherchali (Nextron Systems)
date: 2023-02-03
modified: 2024-03-05
tags:
    - attack.credential-access
    - attack.t1003.005
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\cmdkey.exe'
        - OriginalFileName: 'cmdkey.exe'
    selection_cli_generic:
        CommandLine|contains|windash: ' -g' # Generic
    selection_cli_user:
        CommandLine|contains|windash: ' -u' # User
    selection_cli_password:
        CommandLine|contains|windash: ' -p' # Password
    condition: all of selection_*
falsepositives:
    - Legitimate usage for administration purposes
level: medium
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_cmdkey_adding_generic_creds/info.yml
simulation:
    - type: atomic-red-team
      name: RDP to DomainController
      technique: T1021.001
      atomic_guid: 355d4632-8cb9-449d-91ce-b566d0253d3e

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_cli_generic

selection_cli_generic:
    CommandLine|contains|windash: ' -g'

Stage 3: selection_cli_user

selection_cli_user:
    CommandLine|contains|windash: ' -u'

Stage 4: selection_cli_password

selection_cli_password:
    CommandLine|contains|windash: ' -p'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -g corpus 2 (sigma 2)
  • -p corpus 4 (sigma 4)
  • -u corpus 2 (sigma 1, splunk 1)
  • /g corpus 2 (sigma 2)
  • /p corpus 2 (sigma 2)
  • /u corpus 2 (sigma 1, elastic 1)
  • –g corpus 2 (sigma 2)
  • –p
  • –u
  • —g corpus 2 (sigma 2)
  • —p
  • —u
  • ―g corpus 2 (sigma 2)
  • ―p
  • ―u
field:"CommandLine" kind:match
Imageends_with
  • \cmdkey.exe corpus 3 (sigma 3)
field:"Image" kind:ends_with value:"\cmdkey.exe"
OriginalFileNameeq
  • cmdkey.exe corpus 6 (splunk 3, sigma 2, elastic 1)
field:"OriginalFileName" kind:eq value:"cmdkey.exe"

Potential Server Side Template Injection In Velocity

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

Detects exceptions in velocity template renderer, this most likely happens due to dynamic rendering of user input and may lead to RCE.

Known False Positives

  • Application bugs
  • Missing .vm files

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Rule Body

title: Potential Server Side Template Injection In Velocity
id: 16c86189-b556-4ee8-b4c7-7e350a195a4f
status: test
description: Detects exceptions in velocity template renderer, this most likely happens due to dynamic rendering of user input and may lead to RCE.
references:
    - https://antgarsil.github.io/posts/velocity/
    - https://www.wix.engineering/post/threat-and-vulnerability-hunting-with-application-server-error-logs
author: Moti Harmats
date: 2023-02-11
tags:
    - attack.initial-access
    - attack.t1190
logsource:
    category: application
    product: velocity
    definition: 'Requirements: application error logs must be collected (with LOG_LEVEL=ERROR and above)'
detection:
    keywords:
        - 'ParseErrorException'
        - 'VelocityException'
        - 'TemplateInitException'
    condition: keywords
falsepositives:
    - Application bugs
    - Missing .vm files
level: high

Stages and Predicates

Stage 0: condition

keywords

Stage 1: keywords

keywords:
    - 'ParseErrorException'
    - 'VelocityException'
    - 'TemplateInitException'

Potential Waveedit.DLL Sideloading

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

Detects potential DLL sideloading of "waveedit.dll", which is part of the Nero WaveEditor audio editing software.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Potential Waveedit.DLL Sideloading
id: 71b31e99-9ad0-47d4-aeb5-c0ca3928eeeb
status: test
description: Detects potential DLL sideloading of "waveedit.dll", which is part of the Nero WaveEditor audio editing software.
references:
    - https://www.trendmicro.com/en_us/research/23/f/behind-the-scenes-unveiling-the-hidden-workings-of-earth-preta.html
author: X__Junior (Nextron Systems)
date: 2023-06-14
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith: '\waveedit.dll'
    filter_main_legit_path:
        Image:
            - 'C:\Program Files (x86)\Nero\Nero Apps\Nero WaveEditor\waveedit.exe'
            - 'C:\Program Files\Nero\Nero Apps\Nero WaveEditor\waveedit.exe'
        ImageLoaded|startswith:
            - 'C:\Program Files (x86)\Nero\Nero Apps\Nero WaveEditor\'
            - 'C:\Program Files\Nero\Nero Apps\Nero WaveEditor\'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

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

Stage 2: not filter_main_legit_path

filter_main_legit_path:
    Image:
        - 'C:\Program Files (x86)\Nero\Nero Apps\Nero WaveEditor\waveedit.exe'
        - 'C:\Program Files\Nero\Nero Apps\Nero WaveEditor\waveedit.exe'
    ImageLoaded|startswith:
        - 'C:\Program Files (x86)\Nero\Nero Apps\Nero WaveEditor\'
        - 'C:\Program Files\Nero\Nero Apps\Nero WaveEditor\'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageeqC:\Program Files (x86)\Nero\Nero Apps\Nero WaveEditor\waveedit.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Nero\Nero Apps\Nero WaveEditor\waveedit.exe"
ImageeqC:\Program Files\Nero\Nero Apps\Nero WaveEditor\waveedit.exeexcludes:Image field:"Image" value:"C:\Program Files\Nero\Nero Apps\Nero WaveEditor\waveedit.exe"
ImageLoadedstarts_withC:\Program Files (x86)\Nero\Nero Apps\Nero WaveEditor\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Program Files (x86)\Nero\Nero Apps\Nero WaveEditor\"
ImageLoadedstarts_withC:\Program Files\Nero\Nero Apps\Nero WaveEditor\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Program Files\Nero\Nero Apps\Nero WaveEditor\"

Process Execution From Shared Memory Directory

#
Status
experimental
Severity
high
Author
Stan Beukers
Source
github.com/SigmaHQ/sigma

Detects the execution of a binary from the Linux shared memory directory /dev/shm. This directory is a tmpfs mount backed entirely by RAM and is abused by attackers for fileless malware staging because files written there never touch physical disk and may evade disk-based detection.

Known False Positives

  • Unlikely in production environments; some container runtimes or IPC frameworks may use /dev/shm for inter-process communication but should not spawn executables.

MITRE ATT&CK Coverage

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: Process Execution From Shared Memory Directory
id: 5cd16c8f-44a6-4654-81e7-a84d6db507d4
status: experimental
description: |
    Detects the execution of a binary from the Linux shared memory directory /dev/shm.
    This directory is a tmpfs mount backed entirely by RAM and is abused by attackers for fileless malware staging because files written there never touch physical disk and may evade disk-based detection.
references:
    - https://www.sysdig.com/blog/containers-read-only-fileless-malware
    - https://unfinished.bike/fun-with-the-new-bpfdoor-2023
    - https://asiapacificdefencereporter.com/wp-content/uploads/2023/08/Final-CRWD-2023-Threat-Hunting-Report.pdf
    - https://www.crowdstrike.com/en-us/blog/how-to-hunt-for-decisivearchitect-and-justforfun-implant/
    - https://www.linkedin.com/posts/avradeep_malware-apt-infostealer-activity-7373203959697719296-JR-7
    - https://www.stormshield.com/news/orbit-analysis-of-a-linux-dedicated-malware/
author: Stan Beukers
date: 2026-06-20
tags:
    - attack.stealth
    - attack.execution
    - attack.t1027.011
logsource:
    category: process_creation
    product: linux
detection:
    selection:
        Image|startswith: '/dev/shm/'
    condition: selection
falsepositives:
    - Unlikely in production environments; some container runtimes or IPC frameworks may use /dev/shm for inter-process communication but should not spawn executables.
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|startswith: '/dev/shm/'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imagestarts_with
  • /dev/shm/ corpus 25 (elastic 23, sigma 2)
field:"Image" kind:starts_with value:"/dev/shm/"

PUA - Seatbelt Execution

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

Detects the execution of the PUA/Recon tool Seatbelt via PE information of command line parameters

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: PUA - Seatbelt Execution
id: 38646daa-e78f-4ace-9de0-55547b2d30da
status: test
description: Detects the execution of the PUA/Recon tool Seatbelt via PE information of command line parameters
references:
    - https://github.com/GhostPack/Seatbelt
    - https://www.bluetangle.dev/2022/08/fastening-seatbelt-on-threat-hunting.html
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-10-18
modified: 2023-02-04
tags:
    - attack.discovery
    - attack.t1526
    - attack.t1087
    - attack.t1083
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\Seatbelt.exe'
        - OriginalFileName: 'Seatbelt.exe'
        - Description: 'Seatbelt'
        - CommandLine|contains:
              # This just a list of the commands that will produce the least amount of FP in "theory"
              # Comment out/in as needed in your environment
              # To get the full list of commands see reference section
              - ' DpapiMasterKeys'
              - ' InterestingProcesses'
              - ' InterestingFiles'
              - ' CertificateThumbprints'
              - ' ChromiumBookmarks'
              - ' ChromiumHistory'
              - ' ChromiumPresence'
              - ' CloudCredentials'
              - ' CredEnum'
              - ' CredGuard'
              - ' FirefoxHistory'
              - ' ProcessCreationEvents'
              # - ' RDPSessions'
              # - ' PowerShellHistory'
    selection_group_list:
        CommandLine|contains:
            - ' -group=misc'
            - ' -group=remote'
            - ' -group=chromium'
            - ' -group=slack'
            - ' -group=system'
            - ' -group=user'
            - ' -group=all'
    selection_group_output:
        CommandLine|contains: ' -outputfile='
    condition: selection_img or all of selection_group_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection_img or all of selection_group_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\Seatbelt.exe'
    - OriginalFileName: 'Seatbelt.exe'
    - Description: 'Seatbelt'
    - CommandLine|contains:
          - ' DpapiMasterKeys'
          - ' InterestingProcesses'
          - ' InterestingFiles'
          - ' CertificateThumbprints'
          - ' ChromiumBookmarks'
          - ' ChromiumHistory'
          - ' ChromiumPresence'
          - ' CloudCredentials'
          - ' CredEnum'
          - ' CredGuard'
          - ' FirefoxHistory'
          - ' ProcessCreationEvents'

Stage 2: selection_group_list

selection_group_list:
    CommandLine|contains:
        - ' -group=misc'
        - ' -group=remote'
        - ' -group=chromium'
        - ' -group=slack'
        - ' -group=system'
        - ' -group=user'
        - ' -group=all'

Stage 3: selection_group_output

selection_group_output:
    CommandLine|contains: ' -outputfile='

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -group=all
  • -group=chromium
  • -group=misc
  • -group=remote
  • -group=slack
  • -group=system
  • -group=user
  • -outputfile=
  • CertificateThumbprints
  • ChromiumBookmarks
  • ChromiumHistory
  • ChromiumPresence
  • CloudCredentials
  • CredEnum
  • CredGuard
  • DpapiMasterKeys
  • FirefoxHistory
  • InterestingFiles
  • InterestingProcesses
  • ProcessCreationEvents
field:"CommandLine" kind:match
Descriptioneq
  • Seatbelt
field:"Description" kind:eq value:"Seatbelt"
Imageends_with
  • \Seatbelt.exe
field:"Image" kind:ends_with value:"\Seatbelt.exe"
OriginalFileNameeq
  • Seatbelt.exe
field:"OriginalFileName" kind:eq value:"Seatbelt.exe"

Scheduled Task/Job At

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

Detects the use of at/atd which are utilities that are used to schedule tasks. They are often abused by adversaries to maintain persistence or to perform task scheduling for initial or recurring execution of malicious code

Known False Positives

  • Legitimate administration activities

MITRE ATT&CK Coverage

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: Scheduled Task/Job At
id: d2d642d7-b393-43fe-bae4-e81ed5915c4b
status: stable
description: |
  Detects the use of at/atd which are utilities that are used to schedule tasks.
  They are often abused by adversaries to maintain persistence or to perform task scheduling for initial or recurring execution of malicious code
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1053.002/T1053.002.md
author: Ömer Günal, oscd.community
date: 2020-10-06
modified: 2022-07-07
tags:
    - attack.privilege-escalation
    - attack.execution
    - attack.persistence
    - attack.t1053.002
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith:
            - '/at'
            - '/atd'
    condition: selection
falsepositives:
    - Legitimate administration activities
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith:
        - '/at'
        - '/atd'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • /at
  • /atd
field:"Image" kind:ends_with

Suspicious Camera and Microphone Access

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

Detects Processes accessing the camera and microphone from suspicious folder

Known False Positives

  • Unlikely, there could be conferencing software running from a Temp folder accessing the devices

MITRE ATT&CK Coverage

TacticTechniques
Collection

Telemetry Coverage

Rule Body

title: Suspicious Camera and Microphone Access
id: 62120148-6b7a-42be-8b91-271c04e281a3
status: test
description: Detects Processes accessing the camera and microphone from suspicious folder
references:
    - https://medium.com/@7a616368/can-you-track-processes-accessing-the-camera-and-microphone-7e6885b37072
author: Den Iuzvyk
date: 2020-06-07
modified: 2022-10-09
tags:
    - attack.collection
    - attack.t1125
    - attack.t1123
logsource:
    category: registry_event
    product: windows
detection:
    selection_1:
        TargetObject|contains|all:
            - '\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\'
            - '\NonPackaged'
    selection_2:
        TargetObject|contains:
            - microphone
            - webcam
    selection_3:
        TargetObject|contains:
            - ':#Windows#Temp#'
            - ':#$Recycle.bin#'
            - ':#Temp#'
            - ':#Users#Public#'
            - ':#Users#Default#'
            - ':#Users#Desktop#'
    condition: all of selection_*
falsepositives:
    - Unlikely, there could be conferencing software running from a Temp folder accessing the devices
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_1

selection_1:
    TargetObject|contains|all:
        - '\Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\'
        - '\NonPackaged'

Stage 2: selection_2

selection_2:
    TargetObject|contains:
        - microphone
        - webcam

Stage 3: selection_3

selection_3:
    TargetObject|contains:
        - ':#Windows#Temp#'
        - ':#$Recycle.bin#'
        - ':#Temp#'
        - ':#Users#Public#'
        - ':#Users#Default#'
        - ':#Users#Desktop#'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectmatch
  • :#$Recycle.bin#
  • :#Temp#
  • :#Users#Default#
  • :#Users#Desktop#
  • :#Users#Public#
  • :#Windows#Temp#
  • \NonPackaged
  • \Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\
  • microphone
  • webcam
field:"TargetObject" kind:match

Suspicious Non PowerShell WSMAN COM Provider

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

Detects suspicious use of the WSMAN provider without PowerShell.exe as the host application.

MITRE ATT&CK Coverage

Rule Body

title: Suspicious Non PowerShell WSMAN COM Provider
id: df9a0e0e-fedb-4d6c-8668-d765dfc92aa7
status: test
description: Detects suspicious use of the WSMAN provider without PowerShell.exe as the host application.
references:
    - https://twitter.com/chadtilbury/status/1275851297770610688
    - https://bohops.com/2020/05/12/ws-management-com-another-approach-for-winrm-lateral-movement/
    - https://github.com/bohops/WSMan-WinRM
author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
date: 2020-06-24
modified: 2025-10-22
tags:
    - attack.execution
    - attack.t1059.001
    - attack.lateral-movement
    - attack.t1021.003
logsource:
    product: windows
    service: powershell-classic
detection:
    selection:
        Data|contains: 'ProviderName=WSMan'
    filter_main_ps:
        Data|contains:
            - 'HostApplication=powershell'
            - 'HostApplication=C:\Windows\System32\WindowsPowerShell\v1.0\powershell'
            - 'HostApplication=C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell'
            # In some cases powershell was invoked with inverted slashes
            - 'HostApplication=C:/Windows/System32/WindowsPowerShell/v1.0/powershell'
            - 'HostApplication=C:/Windows/SysWOW64/WindowsPowerShell/v1.0/powershell'
    filter_main_host_application_null:
        # Note: Since we're using the raw data field to match. There is no easy way to filter out cases where the "HostApplication" field is null (i.e doesn't exist). We're practically forced to use a regex.
        # If you're already mapping and extracting the field, then obviously use that directly.
        Data|re: 'HostId=[a-zA-Z0-9-]{36}\s+EngineVersion='
    filter_optional_hexnode:
        Data|contains: 'HostApplication=C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe'
    condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

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

Stage 1: selection

selection:
    Data|contains: 'ProviderName=WSMan'

Stage 2: not filter_main_*

filter_main_ps:
    Data|contains:
        - 'HostApplication=powershell'
        - 'HostApplication=C:\Windows\System32\WindowsPowerShell\v1.0\powershell'
        - 'HostApplication=C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell'
        - 'HostApplication=C:/Windows/System32/WindowsPowerShell/v1.0/powershell'
        - 'HostApplication=C:/Windows/SysWOW64/WindowsPowerShell/v1.0/powershell'
filter_main_host_application_null:
    Data|re: 'HostId=[a-zA-Z0-9-]{36}\s+EngineVersion='

Stage 3: not filter_optional_hexnode

filter_optional_hexnode:
    Data|contains: 'HostApplication=C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Datamatch
  • ProviderName=WSMan
field:"Data" kind:match value:"ProviderName=WSMan"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
DatamatchHostApplication=C:/Windows/SysWOW64/WindowsPowerShell/v1.0/powershellexcludes:Data field:"Data" value:"HostApplication=C:/Windows/SysWOW64/WindowsPowerShell/v1.0/powershell"
DatamatchHostApplication=C:/Windows/System32/WindowsPowerShell/v1.0/powershellexcludes:Data field:"Data" value:"HostApplication=C:/Windows/System32/WindowsPowerShell/v1.0/powershell"
DatamatchHostApplication=C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershellexcludes:Data field:"Data" value:"HostApplication=C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell"
DatamatchHostApplication=C:\Windows\System32\WindowsPowerShell\v1.0\powershellexcludes:Data field:"Data" value:"HostApplication=C:\Windows\System32\WindowsPowerShell\v1.0\powershell"
DatamatchHostApplication=powershellexcludes:Data field:"Data" value:"HostApplication=powershell"
Dataregex_matchHostId=[a-zA-Z0-9-]{36}\s+EngineVersion=excludes:Data field:"Data" value:"HostId=[a-zA-Z0-9-]{36}\s+EngineVersion="
DatamatchHostApplication=C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exeexcludes:Data field:"Data" value:"HostApplication=C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe"

Suspicious Service Binary Directory

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

Detects a service binary running in a suspicious directory

MITRE ATT&CK Coverage

TacticTechniques
Stealth

Telemetry Coverage

Rule Body

title: Suspicious Service Binary Directory
id: 883faa95-175a-4e22-8181-e5761aeb373c
status: test
description: Detects a service binary running in a suspicious directory
references:
    - https://blog.truesec.com/2021/03/07/exchange-zero-day-proxylogon-and-hafnium/
author: Florian Roth (Nextron Systems)
date: 2021-03-09
modified: 2022-10-09
tags:
    - attack.stealth
    - attack.t1202
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|contains:
            - '\Users\Public\'
            - '\$Recycle.bin'
            - '\Users\All Users\'
            - '\Users\Default\'
            - '\Users\Contacts\'
            - '\Users\Searches\'
            - 'C:\Perflogs\'
            - '\config\systemprofile\'
            - '\Windows\Fonts\'
            - '\Windows\IME\'
            - '\Windows\addins\'
        ParentImage|endswith:
            - '\services.exe'
            - '\svchost.exe'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|contains:
        - '\Users\Public\'
        - '\$Recycle.bin'
        - '\Users\All Users\'
        - '\Users\Default\'
        - '\Users\Contacts\'
        - '\Users\Searches\'
        - 'C:\Perflogs\'
        - '\config\systemprofile\'
        - '\Windows\Fonts\'
        - '\Windows\IME\'
        - '\Windows\addins\'
    ParentImage|endswith:
        - '\services.exe'
        - '\svchost.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imagematch
  • C:\Perflogs\
  • \$Recycle.bin corpus 2 (sigma 2)
  • \Users\All Users\
  • \Users\Contacts\ corpus 2 (sigma 2)
  • \Users\Default\ corpus 3 (sigma 3)
  • \Users\Public\ corpus 9 (sigma 9)
  • \Users\Searches\ corpus 2 (sigma 2)
  • \Windows\Fonts\ corpus 2 (sigma 2)
  • \Windows\IME\ corpus 2 (sigma 2)
  • \Windows\addins\ corpus 4 (sigma 4)
  • \config\systemprofile\ corpus 4 (sigma 4)
field:"Image" kind:match
ParentImageends_with
  • \services.exe corpus 8 (sigma 8)
  • \svchost.exe corpus 14 (sigma 14)
field:"ParentImage" kind:ends_with

Ursnif Redirection Of Discovery Commands

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

Detects the redirection of Ursnif discovery commands as part of the initial execution of the malware.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Ursnif Redirection Of Discovery Commands
id: 7aaa5739-12fc-41aa-b98b-23ec27d42bdf
status: test
description: |
    Detects the redirection of Ursnif discovery commands as part of the initial execution of the malware.
references:
    - Internal Research
author: '@kostastsale'
date: 2023-07-16
tags:
    - attack.execution
    - attack.t1059
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\explorer.exe'
        Image|endswith: '\cmd.exe'
        CommandLine|contains|all:
            - '/C '
            - ' >> *\AppData\local\temp\*.bin'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\explorer.exe'
    Image|endswith: '\cmd.exe'
    CommandLine|contains|all:
        - '/C '
        - ' >> *\AppData\local\temp\*.bin'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • >> *\AppData\local\temp\*.bin
  • /C corpus 4 (sigma 4)
field:"CommandLine" kind:match
Imageends_with
  • \cmd.exe corpus 132 (sigma 130, splunk 2)
field:"Image" kind:ends_with value:"\cmd.exe"
ParentImageends_with
  • \explorer.exe corpus 15 (sigma 13, splunk 2)
field:"ParentImage" kind:ends_with value:"\explorer.exe"

WinSxS Executable File Creation By Non-System Process

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

Detects the creation of binaries in the WinSxS folder by non-system processes

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: WinSxS Executable File Creation By Non-System Process
id: 34746e8c-5fb8-415a-b135-0abc167e912a
related:
    - id: 64827580-e4c3-4c64-97eb-c72325d45399
      type: derived
status: test
description: Detects the creation of binaries in the WinSxS folder by non-system processes
references:
    - https://media.defense.gov/2023/May/09/2003218554/-1/-1/0/JOINT_CSA_HUNTING_RU_INTEL_SNAKE_MALWARE_20230509.PDF
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-11
tags:
    - attack.execution
logsource:
    category: file_event
    product: windows
detection:
    selection:
        TargetFilename|startswith: 'C:\Windows\WinSxS\'
        TargetFilename|endswith: '.exe'
    filter_main_system_location:
        Image|startswith:
            - 'C:\Windows\Systems32\'
            - 'C:\Windows\SysWOW64\'
            - 'C:\Windows\WinSxS\'
    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:
    TargetFilename|startswith: 'C:\Windows\WinSxS\'
    TargetFilename|endswith: '.exe'

Stage 2: not filter_main_system_location

filter_main_system_location:
    Image|startswith:
        - 'C:\Windows\Systems32\'
        - 'C:\Windows\SysWOW64\'
        - 'C:\Windows\WinSxS\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • .exe corpus 21 (sigma 20, splunk 1)
field:"TargetFilename" kind:ends_with value:".exe"
TargetFilenamestarts_with
  • C:\Windows\WinSxS\ corpus 2 (sigma 2)
field:"TargetFilename" kind:starts_with value:"C:\Windows\WinSxS\"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imagestarts_withC:\Windows\SysWOW64\excludes:Image field:"Image" value:"C:\Windows\SysWOW64\"
Imagestarts_withC:\Windows\Systems32\excludes:Image field:"Image" value:"C:\Windows\Systems32\"
Imagestarts_withC:\Windows\WinSxS\excludes:Image field:"Image" value:"C:\Windows\WinSxS\"

Back to all Sigma rules