Detection rules › Sigma

Sigma rules: 1g

Audit policy disabled by command line

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

Detects scenarios where an attacker attempts disbaled the audit policy for defense evasion purposes.

Known False Positives

  • Administrator debugging audit policy

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Audit policy disabled by command line
description: Detects scenarios where an attacker attempts disbaled the audit policy for defense evasion purposes.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0005-Defense%20Evasion/T1562.002-Disable%20Windows%20Event%20Logging
- https://searchitchannel.techtarget.com/feature/Using-AuditPol-to-audit-Windows-users-and-set-policies
tags:
- attack.defense_evasion
- attack.t1562.002
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection:
    EventID: 4719 # System audit policy was changed.
    AuditPolicyChanges|contains:
      - '%%8448' # Success removed
      - '%%8450' # Failure removed
  filter:
    SubjectUserName|endswith: $ # Excludes system or GPO changes
  condition: selection and not filter
falsepositives:
- Administrator debugging audit policy
level: high

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
  EventID: 4719
  AuditPolicyChanges|contains:
    - '%%8448'
    - '%%8450'

Stage 2: not filter

filter:
  SubjectUserName|endswith: $

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
AuditPolicyChangesmatch
  • %%8448 corpus 3 (sigma 3)
  • %%8450 corpus 3 (sigma 3)
field:"AuditPolicyChanges" kind:match

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
SubjectUserNameends_with$excludes:SubjectUserName field:"SubjectUserName" value:"$"

AWS S3 Data Management Tampering

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

Detects when a user tampers with S3 data management in Amazon Web Services.

Known False Positives

  • A S3 configuration change 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. S3 configuration change 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
Exfiltration

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: AWS S3 Data Management Tampering
id: 78b3756a-7804-4ef7-8555-7b9024a02e2d
status: test
description: Detects when a user tampers with S3 data management in Amazon Web Services.
references:
    - https://github.com/elastic/detection-rules/pull/1145/files
    - https://docs.aws.amazon.com/AmazonS3/latest/API/API_Operations.html
    - https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLogging.html
    - https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketWebsite.html
    - https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html
    - https://docs.aws.amazon.com/AmazonS3/latest/userguide/setting-repl-config-perm-overview.html
    - https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html
author: Austin Songer @austinsonger
date: 2021-07-24
modified: 2022-10-09
tags:
    - attack.exfiltration
    - attack.t1537
logsource:
    product: aws
    service: cloudtrail
detection:
    selection:
        eventSource: s3.amazonaws.com
        eventName:
            - PutBucketLogging
            - PutBucketWebsite
            - PutEncryptionConfiguration
            - PutLifecycleConfiguration
            - PutReplicationConfiguration
            - ReplicateObject
            - RestoreObject
    condition: selection
falsepositives:
    - A S3 configuration change 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. S3 configuration change 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: s3.amazonaws.com
    eventName:
        - PutBucketLogging
        - PutBucketWebsite
        - PutEncryptionConfiguration
        - PutLifecycleConfiguration
        - PutReplicationConfiguration
        - ReplicateObject
        - RestoreObject

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
eventNameeq
  • PutBucketLogging
  • PutBucketWebsite
  • PutEncryptionConfiguration
  • PutLifecycleConfiguration
  • PutReplicationConfiguration
  • ReplicateObject
  • RestoreObject
field:"aws::eventName" kind:eq
eventSourceeq
  • s3.amazonaws.com corpus 7 (sigma 3, splunk 3, panther 1)
field:"aws::eventSource" kind:eq value:"s3.amazonaws.com"

Cisco Denial of Service

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

Detect a system being shutdown or put into different boot mode

Known False Positives

  • Legitimate administrators may run these commands, though rarely.

MITRE ATT&CK Coverage

Rule Body

title: Cisco Denial of Service
id: d94a35f0-7a29-45f6-90a0-80df6159967c
status: test
description: Detect a system being shutdown or put into different boot mode
author: Austin Clark
date: 2019-08-15
modified: 2023-01-04
tags:
    - attack.impact
    - attack.t1495
    - attack.t1529
    - attack.t1565.001
logsource:
    product: cisco
    service: aaa
detection:
    keywords:
        - 'shutdown'
        - 'config-register 0x2100'
        - 'config-register 0x2142'
    condition: keywords
falsepositives:
    - Legitimate administrators may run these commands, though rarely.
level: medium

Stages and Predicates

Stage 0: condition

keywords

Stage 1: keywords

keywords:
    - 'shutdown'
    - 'config-register 0x2100'
    - 'config-register 0x2142'

CreateRemoteThread API and LoadLibrary

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

Detects potential use of CreateRemoteThread api and LoadLibrary function to inject DLL into a process

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 8: CreateRemoteThread

Rule Body

title: CreateRemoteThread API and LoadLibrary
id: 052ec6f6-1adc-41e6-907a-f1c813478bee
status: test
description: Detects potential use of CreateRemoteThread api and LoadLibrary function to inject DLL into a process
references:
    - https://threathunterplaybook.com/hunts/windows/180719-DLLProcessInjectionCreateRemoteThread/notebook.html
author: Roberto Rodriguez @Cyb3rWard0g
date: 2019-08-11
modified: 2024-01-22
tags:
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1055.001
    - detection.threat-hunting
logsource:
    product: windows
    category: create_remote_thread
detection:
    selection:
        StartModule|endswith: '\kernel32.dll'
        StartFunction: 'LoadLibraryA'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    StartModule|endswith: '\kernel32.dll'
    StartFunction: 'LoadLibraryA'

Indicators

These rows show field, operator, and value matches.

CVE-2021-33766 Exchange ProxyToken Exploitation

#
Status
test
Severity
critical
Author
Florian Roth (Nextron Systems), Max Altgelt (Nextron Systems), Christian Burkard (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects the exploitation of Microsoft Exchange ProxyToken vulnerability as described in CVE-2021-33766

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Rule Body

title: CVE-2021-33766 Exchange ProxyToken Exploitation
id: 56973b50-3382-4b56-bdf5-f51a3183797a
status: test
description: Detects the exploitation of Microsoft Exchange ProxyToken vulnerability as described in CVE-2021-33766
references:
    - https://www.zerodayinitiative.com/blog/2021/8/30/proxytoken-an-authentication-bypass-in-microsoft-exchange-server
author: Florian Roth (Nextron Systems), Max Altgelt (Nextron Systems), Christian Burkard (Nextron Systems)
date: 2021-08-30
modified: 2023-01-02
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2021-33766
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection_1:
        cs-method: 'POST'
        cs-uri-query|contains|all:
            - '/ecp/'
            - '/RulesEditor/InboxRules.svc/NewObject'
        sc-status: 500
    selection_2:
        cs-uri-query|contains|all:
            - 'SecurityToken='
            - '/ecp/'
        sc-status: 500
    condition: 1 of selection_*
falsepositives:
    - Unknown
level: critical

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_1

selection_1:
    cs-method: 'POST'
    cs-uri-query|contains|all:
        - '/ecp/'
        - '/RulesEditor/InboxRules.svc/NewObject'
    sc-status: 500

Stage 2: selection_2

selection_2:
    cs-uri-query|contains|all:
        - 'SecurityToken='
        - '/ecp/'
    sc-status: 500

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
cs-methodeq
  • POST
field:"cs-method" kind:eq value:"POST"
cs-uri-querymatch
  • /RulesEditor/InboxRules.svc/NewObject
  • /ecp/
  • SecurityToken=
field:"cs-uri-query" kind:match
sc-statuseq
  • 500
field:"sc-status" kind:eq value:"500"

CVE-2023-22518 Exploitation Attempt - Suspicious Confluence Child Process (Linux)

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

Detects exploitation attempt of CVE-2023-22518 (Confluence Data Center / Confluence Server), where an attacker can exploit vulnerable endpoints to e.g. create admin accounts and execute arbitrary commands.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: CVE-2023-22518 Exploitation Attempt - Suspicious Confluence Child Process (Linux)
id: f8987c03-4290-4c96-870f-55e75ee377f4
related:
    - id: 1ddaa9a4-eb0b-4398-a9fe-7b018f9e23db
      type: similar
status: test
description: |
    Detects exploitation attempt of CVE-2023-22518 (Confluence Data Center / Confluence Server), where an attacker can exploit vulnerable endpoints to e.g. create admin accounts and execute arbitrary commands.
references:
    - https://confluence.atlassian.com/security/cve-2023-22518-improper-authorization-vulnerability-in-confluence-data-center-and-server-1311473907.html
    - https://www.huntress.com/blog/confluence-to-cerber-exploitation-of-cve-2023-22518-for-ransomware-deployment
    - https://github.com/ForceFledgling/CVE-2023-22518
author: Andreas Braathen (mnemonic.io)
date: 2023-11-14
tags:
    - attack.execution
    - attack.t1059
    - attack.initial-access
    - attack.t1190
    - cve.2023-22518
    - detection.emerging-threats
logsource:
    category: process_creation
    product: linux
detection:
    selection_parent:
        ParentImage|endswith: '/java'
        ParentCommandLine|contains: 'confluence'
    selection_child:
        # Only children associated with known campaigns
        Image|endswith:
            - '/bash'
            - '/curl'
            - '/echo'
            - '/wget'
    filter_main_ulimit:
        CommandLine|contains: 'ulimit -u'
    condition: all of selection_* and not 1 of filter_main_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

all of selection_* and not 1 of filter_main_*

Stage 1: selection_parent

selection_parent:
    ParentImage|endswith: '/java'
    ParentCommandLine|contains: 'confluence'

Stage 2: selection_child

selection_child:
    Image|endswith:
        - '/bash'
        - '/curl'
        - '/echo'
        - '/wget'

Stage 3: not filter_main_ulimit

filter_main_ulimit:
    CommandLine|contains: 'ulimit -u'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • /bash corpus 13 (sigma 13)
  • /curl corpus 22 (sigma 22)
  • /echo corpus 2 (sigma 2)
  • /wget corpus 14 (sigma 14)
field:"Image" kind:ends_with
ParentCommandLinematch
  • confluence corpus 2 (sigma 2)
field:"ParentCommandLine" kind:match value:"confluence"
ParentImageends_with
  • /java corpus 3 (sigma 3)
field:"ParentImage" kind:ends_with value:"/java"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLinematchulimit -uexcludes:CommandLine field:"CommandLine" value:"ulimit -u"

DLL ServerLevelPluginDll registration (Reg via Sysmon)

#
Status
experimental
Severity
critical
Author
Florian Roth (shortly adapted my mdecrevoisier)
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects scenarios where a DLL is loaded by the DNS server in order to escalate privileges or initiate a remote shell.

Known False Positives

  • None

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: DLL ServerLevelPluginDll registration (Reg via Sysmon)
description: Detects scenarios where a DLL is loaded by the DNS server in order to escalate privileges or initiate a remote shell.
references:
- https://medium.com/@esnesenon/feature-not-bug-dnsadmin-to-dc-compromise-in-one-line-a0f779b8dc83
- https://medium.com/r3d-buck3t/escalating-privileges-with-dnsadmins-group-active-directory-6f7adbc7005b
- https://medium.com/techzap/dns-admin-privesc-in-active-directory-ad-windows-ecc7ed5a21a2
- https://phackt.com/dnsadmins-group-exploitation-write-permissions
- http://www.labofapenetrationtester.com/2017/05/abusing-dnsadmins-privilege-for-escalation-in-active-directory.html
- https://www.ired.team/offensive-security-experiments/active-directory-kerberos-abuse/from-dnsadmins-to-system-to-domain-compromise
- http://www.labofapenetrationtester.com/2017/05/abusing-dnsadmins-privilege-for-escalation-in-active-directory.html
- https://lolbas-project.github.io/lolbas/Binaries/Dnscmd/
- https://blog.3or.de/hunting-dns-server-level-plugin-dll-injection.html
tags:
- attack.persistence
- attack.t1574.002
author: Florian Roth (shortly adapted my mdecrevoisier)
status: experimental
logsource:
  product: windows
  category: registry_set # 13
detection:
  selection:
    TargetObject|endswith: '\services\DNS\Parameters\ServerLevelPluginDll'
  condition: selection
falsepositives:
- None
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  TargetObject|endswith: '\services\DNS\Parameters\ServerLevelPluginDll'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectends_with
  • \services\DNS\Parameters\ServerLevelPluginDll corpus 2 (sigma 2)
field:"TargetObject" kind:ends_with value:"\services\DNS\Parameters\ServerLevelPluginDll"

Failed DNS Zone Transfer

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

Detects when a DNS zone transfer failed.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Failed DNS Zone Transfer
id: 6d444368-6da1-43fe-b2fc-44202430480e
status: test
description: Detects when a DNS zone transfer failed.
references:
    - https://kb.eventtracker.com/evtpass/evtpages/EventId_6004_Microsoft-Windows-DNS-Server-Service_65410.asp
author: Zach Mathis
date: 2023-05-24
tags:
    - attack.reconnaissance
    - attack.t1590.002
logsource:
    product: windows
    service: dns-server
detection:
    selection:
        EventID: 6004 # The DNS server received a zone transfer request from %1 for a non-existent or non-authoritative zone %2.
    condition: selection
falsepositives:
    - Unlikely
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 6004

GCP Break-glass Container Workload Deployed

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

Detects the deployment of workloads that are deployed by using the break-glass flag to override Binary Authorization controls.

MITRE ATT&CK Coverage

TacticTechniques
Privilege Escalation

Telemetry Coverage

PlatformRecord / event type
Kubernetescreate-pods: create pods

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: GCP Break-glass Container Workload Deployed
id: 76737c19-66ee-4c07-b65a-a03301d1573d
status: test
description: |
    Detects the deployment of workloads that are deployed by using the break-glass flag to override Binary Authorization controls.
references:
    - https://cloud.google.com/binary-authorization
author: Bryan Lim
date: 2024-01-12
tags:
    - attack.privilege-escalation
    - attack.t1548
logsource:
    product: gcp
    service: gcp.audit
detection:
    selection:
        data.protoPayload.resource.type: 'k8s_cluster'
        data.protoPayload.logName:
            - 'cloudaudit.googleapis.com/activity'
            - 'cloudaudit.googleapis.com%2Factivity'
        data.protoPayload.methodName: 'io.k8s.core.v1.pods.create'
    keywords:
        - 'image-policy.k8s.io/break-glass'
    condition: selection and keywords
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection and keywords

Stage 1: selection

selection:
    data.protoPayload.resource.type: 'k8s_cluster'
    data.protoPayload.logName:
        - 'cloudaudit.googleapis.com/activity'
        - 'cloudaudit.googleapis.com%2Factivity'
    data.protoPayload.methodName: 'io.k8s.core.v1.pods.create'

Stage 2: keywords

keywords:
    - 'image-policy.k8s.io/break-glass'

Indicators

These rows show field, operator, and value matches.

HackTool - EDRSilencer Execution - Filter Added

#
Status
test
Severity
high
Author
Thodoris Polyzos (@SmoothDeploy)
Source
github.com/SigmaHQ/sigma

Detects execution of EDRSilencer, a tool that abuses the Windows Filtering Platform (WFP) to block the outbound traffic of running EDR agents based on specific hardcoded filter names.

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

Rule Body

title: HackTool - EDRSilencer Execution - Filter Added
id: 98054878-5eab-434c-85d4-72d4e5a3361b
status: test
description: |
    Detects execution of EDRSilencer, a tool that abuses the Windows Filtering Platform (WFP) to block the outbound traffic of running EDR agents based on specific hardcoded filter names.
references:
    - https://github.com/netero1010/EDRSilencer
author: Thodoris Polyzos (@SmoothDeploy)
date: 2024-01-29
modified: 2024-01-30
tags:
    - attack.defense-impairment
    - attack.t1685
logsource:
    product: windows
    service: security
    definition: 'Requirements: Audit Filtering Platform Policy Change needs to be enabled'
detection:
    selection:
        EventID:
            - 5441
            - 5447
        FilterName|contains: 'Custom Outbound Filter'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID:
        - 5441
        - 5447
    FilterName|contains: 'Custom Outbound Filter'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
FilterNamematch
  • Custom Outbound Filter
field:"FilterName" kind:match value:"Custom Outbound Filter"

HackTool - NPPSpy Hacktool Usage

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

Detects the use of NPPSpy hacktool that stores cleartext passwords of users that logged in to a local file

MITRE ATT&CK Coverage

TacticTechniques
Credential AccessNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: HackTool - NPPSpy Hacktool Usage
id: cad1fe90-2406-44dc-bd03-59d0b58fe722
status: test
description: Detects the use of NPPSpy hacktool that stores cleartext passwords of users that logged in to a local file
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1003/T1003.md#atomic-test-2---credential-dumping-with-nppspy
    - https://twitter.com/0gtweet/status/1465282548494487554
author: Florian Roth (Nextron Systems)
date: 2021-11-29
modified: 2024-06-27
tags:
    - attack.credential-access
logsource:
    product: windows
    category: file_event
detection:
    selection:
        TargetFilename|endswith:
            - '\NPPSpy.txt'
            - '\NPPSpy.dll'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|endswith:
        - '\NPPSpy.txt'
        - '\NPPSpy.dll'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • \NPPSpy.dll
  • \NPPSpy.txt
field:"TargetFilename" kind:ends_with

Host set with constrained delegation

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

Detects scenarios where an attacker modifies host delegation settings for privilege escalation.

Known False Positives

  • Rare administrator modifying host delegation settings

MITRE ATT&CK Coverage

TacticTechniques
Persistence

Telemetry Coverage

Rule Body

title: Host set with constrained delegation
description: Detects scenarios where an attacker modifies host delegation settings for privilege escalation.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0003-Persistence/T1098.xxx-Account%20manipulation
- https://dirkjanm.io/krbrelayx-unconstrained-delegation-abuse-toolkit/
- https://www.alsid.com/crb_article/kerberos-delegation/
- https://www.harmj0y.net/blog/activedirectory/s4u2pwnage/
- https://shenaniganslabs.io/2019/01/28/Wagging-the-Dog.html
- https://www.ired.team/offensive-security-experiments/active-directory-kerberos-abuse/abusing-kerberos-constrained-delegation
- https://www.guidepointsecurity.com/delegating-like-a-boss-abusing-kerberos-delegation-in-active-directory/
- https://stealthbits.com/blog/what-is-kerberos-delegation-an-overview-of-kerberos-delegation/
- https://posts.specterops.io/hunting-in-active-directory-unconstrained-delegation-forests-trusts-71f2b33688e1
- https://www.thehacker.recipes/ad/movement/kerberos/delegations#talk
tags:
- attack.persistence
- attack.t1098
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: security
detection:
  selection: # Delegation to specified service, any protocol
    EventID: 4742
  
  selection1:
    UserAccountControl: '%%2098' # Enable option "Approved for authenticated delegation"
  
  selection2:
    AllowedToDelegateTo: '-' # Can be: "cifs/srv01 cifs/srv02.demo.lan dcom/dc03..."
    
  condition: selection and (selection1 OR NOT selection2) 
falsepositives:
- Rare administrator modifying host delegation settings
level: high

Stages and Predicates

Stage 0: condition

selection and (selection1 OR NOT selection2)

Stage 1: selection

selection:
  EventID: 4742

Stage 2: selection1

selection1:
  UserAccountControl: '%%2098'

Stage 3: not selection2

selection2:
  AllowedToDelegateTo: '-'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
UserAccountControleq
  • %%2098 corpus 2 (sigma 2)
field:"UserAccountControl" kind:eq value:"%%2098"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
AllowedToDelegateToeq-excludes:AllowedToDelegateTo field:"AllowedToDelegateTo" value:"-"

Lace Tempest Malware Loader Execution

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

Detects execution of a specific binary based on filename and hash used by Lace Tempest to load additional malware as reported by SysAid Team

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Lace Tempest Malware Loader Execution
id: 745ea50b-9673-4ba7-9426-cb45cf4a8e6d
status: test
description: Detects execution of a specific binary based on filename and hash used by Lace Tempest to load additional malware as reported by SysAid Team
references:
    - https://www.sysaid.com/blog/service-desk/on-premise-software-security-vulnerability-notification
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-11-09
tags:
    - attack.execution
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        Image|endswith: ':\Program Files\SysAidServer\tomcat\webapps\usersfiles\user.exe'
    selection_hash:
        Hashes|contains: 'SHA256=B5ACF14CDAC40BE590318DEE95425D0746E85B1B7B1CBD14DA66F21F2522BF4D'
    condition: 1 of selection_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_img

selection_img:
    Image|endswith: ':\Program Files\SysAidServer\tomcat\webapps\usersfiles\user.exe'

Stage 2: selection_hash

selection_hash:
    Hashes|contains: 'SHA256=B5ACF14CDAC40BE590318DEE95425D0746E85B1B7B1CBD14DA66F21F2522BF4D'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Hashesmatch
  • SHA256=B5ACF14CDAC40BE590318DEE95425D0746E85B1B7B1CBD14DA66F21F2522BF4D
field:"Hashes" kind:match value:"SHA256=B5ACF14CDAC40BE590318DEE95425D0746E85B1B7B1CBD14DA66F21F2522BF4D"
Imageends_with
  • :\Program Files\SysAidServer\tomcat\webapps\usersfiles\user.exe
field:"Image" kind:ends_with value:":\Program Files\SysAidServer\tomcat\webapps\usersfiles\user.exe"

Metasploit SMB Authentication

#
Status
test
Severity
high
Author
Chakib Gzenayi (@Chak092), Hosni Mribah
Source
github.com/SigmaHQ/sigma

Alerts on Metasploit host's authentications on the domain.

Known False Positives

  • Linux hostnames composed of 16 characters.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Metasploit SMB Authentication
id: 72124974-a68b-4366-b990-d30e0b2a190d
status: test
description: Alerts on Metasploit host's authentications on the domain.
references:
    - https://github.com/rapid7/metasploit-framework/blob/1416b5776d963f21b7b5b45d19f3e961201e0aed/lib/rex/proto/smb/client.rb
author: Chakib Gzenayi (@Chak092), Hosni Mribah
date: 2020-05-06
modified: 2024-01-25
tags:
    - attack.lateral-movement
    - attack.t1021.002
logsource:
    product: windows
    service: security
detection:
    selection1:
        EventID:
            - 4625
            - 4624
        LogonType: 3
        AuthenticationPackageName: 'NTLM'
        WorkstationName|re: '^[A-Za-z0-9]{16}$'
    selection2:
        EventID: 4776
        Workstation|re: '^[A-Za-z0-9]{16}$'
    condition: 1 of selection*
falsepositives:
    - Linux hostnames composed of 16 characters.
level: high

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection1

selection1:
    EventID:
        - 4625
        - 4624
    LogonType: 3
    AuthenticationPackageName: 'NTLM'
    WorkstationName|re: '^[A-Za-z0-9]{16}$'

Stage 2: selection2

selection2:
    EventID: 4776
    Workstation|re: '^[A-Za-z0-9]{16}$'

Indicators

These rows show field, operator, and value matches.

Meterpreter or Cobalt Strike Getsystem Service Installation - System

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

Detects the use of getsystem Meterpreter/Cobalt Strike command by detecting a specific service installation

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Meterpreter or Cobalt Strike Getsystem Service Installation - System
id: 843544a7-56e0-4dcc-a44f-5cc266dd97d6
status: test
description: Detects the use of getsystem Meterpreter/Cobalt Strike command by detecting a specific service installation
references:
    - https://speakerdeck.com/heirhabarov/hunting-for-privilege-escalation-in-windows-environment
    - https://blog.cobaltstrike.com/2014/04/02/what-happens-when-i-type-getsystem/
author: Teymur Kheirkhabarov, Ecco, Florian Roth (Nextron Systems)
date: 2019-10-26
modified: 2023-11-15
tags:
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1134.001
    - attack.t1134.002
logsource:
    product: windows
    service: system
detection:
    selection_id:
        Provider_Name: 'Service Control Manager'
        EventID: 7045
    selection_cli_cmd:
        # meterpreter getsystem technique 1: cmd.exe /c echo 559891bb017 > \\.\pipe\5e120a
        # cobaltstrike getsystem technique 1: %COMSPEC% /c echo 559891bb017 > \\.\pipe\5e120a
        # cobaltstrike getsystem technique 1b (expanded %COMSPEC%): %COMSPEC% /c echo 559891bb017 > \\.\pipe\5e120a
        ImagePath|contains|all:
            - '/c'
            - 'echo'
            - '\pipe\'
        ImagePath|contains:
        - 'cmd'
        - '%COMSPEC%'
    selection_cli_rundll:
        # meterpreter getsystem technique 2: rundll32.exe C:\Users\test\AppData\Local\Temp\tmexsn.dll,a /p:tmexsn
        ImagePath|contains|all:
            - 'rundll32'
            - '.dll,a'
            - '/p:'
    selection_cli_share:
        ImagePath|startswith: '\\\\127.0.0.1\\ADMIN$\'  # https://twitter.com/svch0st/status/1413688851877416960?lang=en
    condition: selection_id and 1 of selection_cli_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection_id and 1 of selection_cli_*

Stage 1: selection_id

selection_id:
    Provider_Name: 'Service Control Manager'
    EventID: 7045

Stage 2: selection_cli_cmd

selection_cli_cmd:
    ImagePath|contains|all:
        - '/c'
        - 'echo'
        - '\pipe\'
    ImagePath|contains:
    - 'cmd'
    - '%COMSPEC%'

Stage 3: selection_cli_rundll

selection_cli_rundll:
    ImagePath|contains|all:
        - 'rundll32'
        - '.dll,a'
        - '/p:'

Stage 4: selection_cli_share

selection_cli_share:
    ImagePath|startswith: '\\\\127.0.0.1\\ADMIN$\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ImagePathmatch
  • %COMSPEC% corpus 2 (sigma 2)
  • .dll,a
  • /c corpus 4 (sigma 4)
  • /p:
  • \pipe\
  • cmd corpus 5 (sigma 5)
  • echo
  • rundll32 corpus 4 (sigma 4)
field:"ImagePath" kind:match
ImagePathstarts_with
  • \\\\127.0.0.1\\ADMIN$\
field:"ImagePath" kind:starts_with value:"\\\\127.0.0.1\\ADMIN$\"
Provider_Nameeq
  • Service Control Manager corpus 50 (sigma 50)
field:"Provider_Name" kind:eq value:"Service Control Manager"

Microsoft Defender massive virus outbreach

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

Detects scenarios where a same threat is detected on different hosts in a short period of time

Known False Positives

  • EICAR test file

Telemetry Coverage

Rule Body

title: Microsoft Defender massive virus outbreach
description: Detects scenarios where a same threat is detected on different hosts in a short period of time
references:
- https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-antivirus/troubleshoot-microsoft-defender-antivirus
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/Antivirus
tags:
- malware
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: windefend
detection:
  selection:
    EventID: 1116 # Threat detected, no action taken
  condition: selection | count(Computer) by ThreatName > 10
  timeframe: 30m
falsepositives:
- EICAR test file
level: high

Stages and Predicates

Stage 0: condition

selection | count(Computer) by ThreatName > 10

Stage 1: selection

selection:
  EventID: 1116
Threshold
> 10

Netsh helper DLL abuse (Reg via Sysmon)

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

Detects scenarios where an attacker abuses the Netsh DLL feature to perform some code execution.

Known False Positives

  • None

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Netsh helper DLL abuse (Reg via Sysmon)
description: Detects scenarios where an attacker abuses the Netsh DLL feature to perform some code execution.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0003-Persistence/T1546-Event%20Triggered%20Execution
- https://www.hackingarticles.in/windows-persistence-using-netsh/
- https://liberty-shell.com/sec/2018/07/28/netshlep/
- https://github.com/outflanknl/NetshHelperBeacon
- https://www.ired.team/offensive-security/persistence/t1128-netsh-helper-dll
- https://lolbas-project.github.io/lolbas/Binaries/Netsh/
- https://pentestlab.blog/2019/10/29/persistence-netsh-helper-dll/
tags:
- attack.persistence
- attack.t1546.007
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: registry_event
detection:
  selection:
    NewProcessName|endswith: '\netsh.exe' # Full path "C:\Windows\system32\netsh.exe"
    TargetObject|endswith: '\SOFTWARE\Microsoft\NetSh'
  condition: selection
falsepositives:
- None
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  NewProcessName|endswith: '\netsh.exe'
  TargetObject|endswith: '\SOFTWARE\Microsoft\NetSh'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
NewProcessNameends_with
  • \netsh.exe corpus 28 (sigma 28)
field:"Image" kind:ends_with value:"\netsh.exe"
TargetObjectends_with
  • \SOFTWARE\Microsoft\NetSh
field:"TargetObject" kind:ends_with value:"\SOFTWARE\Microsoft\NetSh"

Potential Access Token Abuse

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

Detects potential token impersonation and theft. Example, when using "DuplicateToken(Ex)" and "ImpersonateLoggedOnUser" with the "LOGON32_LOGON_NEW_CREDENTIALS flag".

Known False Positives

  • Anti-Virus

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential Access Token Abuse
id: 02f7c9c1-1ae8-4c6a-8add-04693807f92f
status: test
description: Detects potential token impersonation and theft. Example, when using "DuplicateToken(Ex)" and "ImpersonateLoggedOnUser" with the "LOGON32_LOGON_NEW_CREDENTIALS flag".
references:
    - https://www.elastic.co/fr/blog/how-attackers-abuse-access-token-manipulation
    - https://www.manageengine.com/log-management/cyber-security/access-token-manipulation.html
author: Michaela Adams, Zach Mathis
date: 2022-11-06
modified: 2023-04-26
tags:
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1134.001
    - stp.4u
logsource:
    product: windows
    service: security
detection:
    selection:
        EventID: 4624
        LogonType: 9
        LogonProcessName: 'Advapi'
        AuthenticationPackageName: 'Negotiate'
        ImpersonationLevel: '%%1833' # Impersonation
    condition: selection
falsepositives:
    - Anti-Virus
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 4624
    LogonType: 9
    LogonProcessName: 'Advapi'
    AuthenticationPackageName: 'Negotiate'
    ImpersonationLevel: '%%1833'

Indicators

These rows show field, operator, and value matches.

Potential APT Mustang Panda Activity Against Australian Gov

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

Detects specific command line execution used by Mustang Panda in a targeted attack against the Australian government as reported by Lab52

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

Rule Body

title: Potential APT Mustang Panda Activity Against Australian Gov
id: 7806bb49-f653-48d3-a915-5115c1a85234
status: test
description: Detects specific command line execution used by Mustang Panda in a targeted attack against the Australian government as reported by Lab52
references:
    - https://lab52.io/blog/new-mustang-pandas-campaing-against-australia/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-15
tags:
    - attack.execution
    - attack.g0129
    - detection.emerging-threats
logsource:
    category: process_creation
    product: windows
detection:
    selection_1:
        CommandLine|contains|all:
            - 'copy SolidPDFCreator.dll'
            - 'C:\Users\Public\Libraries\PhotoTvRHD\SolidPDFCreator.dll'
    selection_2:
        CommandLine|contains|all:
            - 'reg '
            - '\Windows\CurrentVersion\Run'
            - 'SolidPDF'
            - 'C:\Users\Public\Libraries\PhotoTvRHD\'
    condition: 1 of selection_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_1

selection_1:
    CommandLine|contains|all:
        - 'copy SolidPDFCreator.dll'
        - 'C:\Users\Public\Libraries\PhotoTvRHD\SolidPDFCreator.dll'

Stage 2: selection_2

selection_2:
    CommandLine|contains|all:
        - 'reg '
        - '\Windows\CurrentVersion\Run'
        - 'SolidPDF'
        - 'C:\Users\Public\Libraries\PhotoTvRHD\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • C:\Users\Public\Libraries\PhotoTvRHD\
  • C:\Users\Public\Libraries\PhotoTvRHD\SolidPDFCreator.dll
  • SolidPDF
  • \Windows\CurrentVersion\Run
  • copy SolidPDFCreator.dll
  • reg corpus 5 (sigma 5)
field:"CommandLine" kind:match

Potential DLL Sideloading Via JsSchHlp

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

Detects potential DLL sideloading using JUSTSYSTEMS Japanese word processor

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Potential DLL Sideloading Via JsSchHlp
id: 68654bf0-4412-43d5-bfe8-5eaa393cd939
status: test
description: Detects potential DLL sideloading using JUSTSYSTEMS Japanese word processor
references:
    - https://www.welivesecurity.com/2022/12/14/unmasking-mirrorface-operation-liberalface-targeting-japanese-political-entities/
    - http://www.windowexe.com/bbs/board.php?q=jsschhlp-exe-c-program-files-common-files-justsystem-jsschhlp-jsschhlp
author: frack113
date: 2022-12-14
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith: '\JSESPR.dll'
    filter:
        ImageLoaded|startswith: 'C:\Program Files\Common Files\Justsystem\JsSchHlp\'
    condition: selection and not filter
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

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

Stage 2: not filter

filter:
    ImageLoaded|startswith: 'C:\Program Files\Common Files\Justsystem\JsSchHlp\'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageLoadedstarts_withC:\Program Files\Common Files\Justsystem\JsSchHlp\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Program Files\Common Files\Justsystem\JsSchHlp\"

Potential Mpclient.DLL Sideloading Via Defender Binaries

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

Detects potential sideloading of "mpclient.dll" by Windows Defender processes ("MpCmdRun" and "NisSrv") from their non-default directory.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential Mpclient.DLL Sideloading Via Defender Binaries
id: 7002aa10-b8d4-47ae-b5ba-51ab07e228b9
related:
    - id: 418dc89a-9808-4b87-b1d7-e5ae0cb6effc
      type: similar
status: test
description: Detects potential sideloading of "mpclient.dll" by Windows Defender processes ("MpCmdRun" and "NisSrv") from their non-default directory.
references:
    - https://www.sentinelone.com/blog/living-off-windows-defender-lockbit-ransomware-sideloads-cobalt-strike-through-microsoft-security-tool
author: Bhabesh Raj
date: 2022-08-01
modified: 2023-08-04
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    product: windows
    category: process_creation
detection:
    selection:
        Image|endswith:
            - '\MpCmdRun.exe'
            - '\NisSrv.exe'
    filter_main_known_locations:
        Image|startswith:
            - 'C:\Program Files (x86)\Windows Defender\'
            - 'C:\Program Files\Microsoft Security Client\'
            - 'C:\Program Files\Windows Defender\'
            - 'C:\ProgramData\Microsoft\Windows Defender\Platform\'
            - 'C:\Windows\WinSxS\'
    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:
    Image|endswith:
        - '\MpCmdRun.exe'
        - '\NisSrv.exe'

Stage 2: not filter_main_known_locations

filter_main_known_locations:
    Image|startswith:
        - 'C:\Program Files (x86)\Windows Defender\'
        - 'C:\Program Files\Microsoft Security Client\'
        - 'C:\Program Files\Windows Defender\'
        - 'C:\ProgramData\Microsoft\Windows Defender\Platform\'
        - 'C:\Windows\WinSxS\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \MpCmdRun.exe corpus 4 (sigma 4)
  • \NisSrv.exe corpus 2 (sigma 2)
field:"Image" kind:ends_with

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imagestarts_withC:\Program Files (x86)\Windows Defender\excludes:Image field:"Image" value:"C:\Program Files (x86)\Windows Defender\"
Imagestarts_withC:\Program Files\Microsoft Security Client\excludes:Image field:"Image" value:"C:\Program Files\Microsoft Security Client\"
Imagestarts_withC:\Program Files\Windows Defender\excludes:Image field:"Image" value:"C:\Program Files\Windows Defender\"
Imagestarts_withC:\ProgramData\Microsoft\Windows Defender\Platform\excludes:Image field:"Image" value:"C:\ProgramData\Microsoft\Windows Defender\Platform\"
Imagestarts_withC:\Windows\WinSxS\excludes:Image field:"Image" value:"C:\Windows\WinSxS\"

Potential Rundll32 Execution With DLL Stored In ADS

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

Detects execution of rundll32 where the DLL being called is stored in an Alternate Data Stream (ADS).

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Potential Rundll32 Execution With DLL Stored In ADS
id: 9248c7e1-2bf3-4661-a22c-600a8040b446
status: test
description: Detects execution of rundll32 where the DLL being called is stored in an Alternate Data Stream (ADS).
references:
    - https://lolbas-project.github.io/lolbas/Binaries/Rundll32
author: Harjot Singh, '@cyb3rjy0t'
date: 2023-01-21
modified: 2026-03-16
tags:
    - attack.stealth
    - attack.t1564.004
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\rundll32.exe'
        - OriginalFileName: 'RUNDLL32.EXE'
    selection_cli:
        # Example:
        #   rundll32 "C:\ads\file.txt:ADSDLL.dll",DllMain
        # Note: This doesn't cover the use case where a full path for the DLL isn't used. As it requires a more expensive regex
        CommandLine|re: '[Rr][Uu][Nn][Dd][Ll][Ll]32(?:\.[Ee][Xx][Ee])? \S+?\w:\S+?:'
    condition: all of selection_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '\rundll32.exe'
    - OriginalFileName: 'RUNDLL32.EXE'

Stage 2: selection_cli

selection_cli:
    CommandLine|re: '[Rr][Uu][Nn][Dd][Ll][Ll]32(?:\.[Ee][Xx][Ee])? \S+?\w:\S+?:'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLineregex_match
  • [Rr][Uu][Nn][Dd][Ll][Ll]32(?:.[Ee][Xx][Ee])? \S+?\w:\S+?:
field:"CommandLine" kind:regex_match value:"[Rr][Uu][Nn][Dd][Ll][Ll]32(?:.[Ee][Xx][Ee])? \S+?\w:\S+?:"
Imageends_with
  • \rundll32.exe corpus 94 (sigma 94)
field:"Image" kind:ends_with value:"\rundll32.exe"
OriginalFileNameeq
  • RUNDLL32.EXE corpus 72 (sigma 35, splunk 21, elastic 16)
field:"OriginalFileName" kind:eq value:"RUNDLL32.EXE"

QuickAssist Execution

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

Detects the execution of Microsoft Quick Assist tool "QuickAssist.exe". This utility can be used by attackers to gain remote access.

Known False Positives

  • Legitimate use of Quick Assist in the environment.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: QuickAssist Execution
id: e20b5b14-ce93-4230-88af-981983ef6e74
status: experimental
description: |
    Detects the execution of Microsoft Quick Assist tool "QuickAssist.exe". This utility can be used by attackers to gain remote access.
references:
    - https://www.microsoft.com/en-us/security/blog/2024/05/15/threat-actors-misusing-quick-assist-in-social-engineering-attacks-leading-to-ransomware/
    - https://www.linkedin.com/posts/kevin-beaumont-security_ive-been-assisting-a-few-orgs-hit-with-successful-activity-7268055739116445701-xxjZ/
    - https://x.com/cyb3rops/status/1862406110365245506
    - https://learn.microsoft.com/en-us/windows/client-management/client-tools/quick-assist
author: Muhammad Faisal (@faisalusuf)
date: 2024-12-19
tags:
    - attack.command-and-control
    - attack.t1219.002
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\QuickAssist.exe'
    condition: selection
falsepositives:
    - Legitimate use of Quick Assist in the environment.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

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

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \QuickAssist.exe corpus 2 (sigma 2)
field:"Image" kind:ends_with value:"\QuickAssist.exe"

Response File Execution Via Odbcconf.EXE

#
Status
test
Severity
medium
Author
Kirill Kiryanov, Beyu Denis, Daniil Yugoslavskiy, oscd.community, Nasreddine Bencherchali (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects execution of "odbcconf" with the "-f" flag in order to load a response file which might contain a malicious action.

Known False Positives

  • The rule is looking for any usage of response file, which might generate false positive when this function is used legitimately. Investigate the contents of the ".rsp" file to determine if it is malicious and apply additional filters if necessary.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Response File Execution Via Odbcconf.EXE
id: 5f03babb-12db-4eec-8c82-7b4cb5580868
related:
    - id: 2d32dd6f-3196-4093-b9eb-1ad8ab088ca5
      type: similar
    - id: 65d2be45-8600-4042-b4c0-577a1ff8a60e
      type: obsolete
status: test
description: Detects execution of "odbcconf" with the "-f" flag in order to load a response file which might contain a malicious action.
references:
    - https://learn.microsoft.com/en-us/sql/odbc/odbcconf-exe?view=sql-server-ver16
    - https://lolbas-project.github.io/lolbas/Binaries/Odbcconf/
    - https://www.cybereason.com/blog/threat-analysis-report-bumblebee-loader-the-high-road-to-enterprise-domain-control
    - https://www.hexacorn.com/blog/2020/08/23/odbcconf-lolbin-trifecta/
author: Kirill Kiryanov, Beyu Denis, Daniil Yugoslavskiy, oscd.community, Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-22
modified: 2024-03-05
tags:
    - attack.stealth
    - attack.t1218.008
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith: '\odbcconf.exe'
        - OriginalFileName: 'odbcconf.exe'
    selection_cli:
        CommandLine|contains|windash: ' -f '
    selection_rsp_ext:
        CommandLine|contains: '.rsp'
    condition: all of selection_*
falsepositives:
    - The rule is looking for any usage of response file, which might generate false positive when this function is used legitimately. Investigate the contents of the ".rsp" file to determine if it is malicious and apply additional filters if necessary.
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_cli

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

Stage 3: selection_rsp_ext

selection_rsp_ext:
    CommandLine|contains: '.rsp'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -f corpus 7 (sigma 7)
  • /f corpus 5 (sigma 5)
  • –f corpus 4 (sigma 4)
  • —f corpus 4 (sigma 4)
  • ―f corpus 4 (sigma 4)
  • .rsp corpus 2 (sigma 1, splunk 1)
field:"CommandLine" kind:match
Imageends_with
  • \odbcconf.exe corpus 11 (sigma 11)
field:"Image" kind:ends_with value:"\odbcconf.exe"
OriginalFileNameeq
  • odbcconf.exe corpus 11 (sigma 9, elastic 2)
field:"OriginalFileName" kind:eq value:"odbcconf.exe"

Rundll32 Spawned Via Explorer.EXE

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

Detects execution of "rundll32.exe" with a parent process of Explorer.exe. This has been observed by variants of Raspberry Robin, as first reported by Red Canary.

MITRE ATT&CK Coverage

TacticTechniques
StealthNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Rundll32 Spawned Via Explorer.EXE
id: 1723e720-616d-4ddc-ab02-f7e3685a4713
status: test
description: Detects execution of "rundll32.exe" with a parent process of Explorer.exe. This has been observed by variants of Raspberry Robin, as first reported by Red Canary.
references:
    - https://redcanary.com/blog/raspberry-robin/
    - https://thedfirreport.com/2022/09/26/bumblebee-round-two/
author: CD_ROM_
date: 2022-05-21
modified: 2023-08-31
tags:
    - attack.stealth
logsource:
    category: process_creation
    product: windows
detection:
    selection_parent:
        ParentImage|endswith: '\explorer.exe'
    selection_img:
        - Image|endswith: '\rundll32.exe'
        - OriginalFileName: 'RUNDLL32.EXE'
    filter_main_generic:
        - CommandLine|contains: ' C:\Windows\System32\' # The space at the start is required
        - CommandLine|endswith: ' -localserver 22d8c27b-47a1-48d1-ad08-7da7abd79617' # Windows 10 volume control
    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_parent

selection_parent:
    ParentImage|endswith: '\explorer.exe'

Stage 2: selection_img

selection_img:
    - Image|endswith: '\rundll32.exe'
    - OriginalFileName: 'RUNDLL32.EXE'

Stage 3: not filter_main_generic

filter_main_generic:
    - CommandLine|contains: ' C:\Windows\System32\'
    - CommandLine|endswith: ' -localserver 22d8c27b-47a1-48d1-ad08-7da7abd79617'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \rundll32.exe corpus 94 (sigma 94)
field:"Image" kind:ends_with value:"\rundll32.exe"
OriginalFileNameeq
  • RUNDLL32.EXE corpus 72 (sigma 35, splunk 21, elastic 16)
field:"OriginalFileName" kind:eq value:"RUNDLL32.EXE"
ParentImageends_with
  • \explorer.exe corpus 15 (sigma 13, splunk 2)
field:"ParentImage" kind:ends_with value:"\explorer.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLineends_with -localserver 22d8c27b-47a1-48d1-ad08-7da7abd79617excludes:CommandLine field:"CommandLine" value:" -localserver 22d8c27b-47a1-48d1-ad08-7da7abd79617"
CommandLinematch C:\Windows\System32\excludes:CommandLine field:"CommandLine" value:" C:\Windows\System32\"

Shell Execution via Rsync - Linux

#
Status
experimental
Severity
high
Author
Li Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.), Florian Roth
Source
github.com/SigmaHQ/sigma

Detects the use of the "rsync" utility to execute a shell. Such behavior may be associated with privilege escalation, unauthorized command execution, or to break out from restricted environments.

Known False Positives

  • Legitimate cases in which "rsync" is used to execute a shell

MITRE ATT&CK Coverage

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: Shell Execution via Rsync - Linux
id: e2326866-609f-4015-aea9-7ec634e8aa04
status: experimental
description: |
    Detects the use of the "rsync" utility to execute a shell. Such behavior may be associated with privilege escalation, unauthorized command execution, or to break out from restricted environments.
references:
    - https://gtfobins.github.io/gtfobins/rsync/#shell
author: Li Ling, Andy Parkidomo, Robert Rakowski, Blake Hartstein (Bloomberg L.P.), Florian Roth
date: 2024-09-02
modified: 2025-01-18
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: process_creation
    product: linux
detection:
    selection_img:
        Image|endswith:
            - '/rsync'
            - '/rsyncd'
        CommandLine|contains: ' -e '
    selection_cli:
        CommandLine|contains:
            - '/ash '
            - '/bash '
            - '/dash '
            - '/csh '
            - '/sh '
            - '/zsh '
            - '/tcsh '
            - '/ksh '
            - "'ash "
            - "'bash "
            - "'dash "
            - "'csh "
            - "'sh "
            - "'zsh "
            - "'tcsh "
            - "'ksh "
    condition: all of selection_*
falsepositives:
    - Legitimate cases in which "rsync" is used to execute a shell
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    Image|endswith:
        - '/rsync'
        - '/rsyncd'
    CommandLine|contains: ' -e '

Stage 2: selection_cli

selection_cli:
    CommandLine|contains:
        - '/ash '
        - '/bash '
        - '/dash '
        - '/csh '
        - '/sh '
        - '/zsh '
        - '/tcsh '
        - '/ksh '
        - "'ash "
        - "'bash "
        - "'dash "
        - "'csh "
        - "'sh "
        - "'zsh "
        - "'tcsh "
        - "'ksh "

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -e corpus 17 (sigma 14, elastic 3)
  • 'ash
  • 'bash
  • 'csh
  • 'dash
  • 'ksh
  • 'sh
  • 'tcsh
  • 'zsh
  • /ash
  • /bash
  • /csh
  • /dash
  • /ksh
  • /sh
  • /tcsh
  • /zsh
field:"CommandLine" kind:match
Imageends_with
  • /rsync corpus 2 (sigma 2)
  • /rsyncd
field:"Image" kind:ends_with

Suspicious Space Characters in TypedPaths Registry Path - FileFix

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

Detects the occurrence of numerous space characters in TypedPaths registry paths, which may indicate execution via phishing lures using file-fix techniques to hide malicious commands.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Suspicious Space Characters in TypedPaths Registry Path - FileFix
id: 8f2a5c3d-9e4b-4a7c-8d1f-2e5a6b9c3d7e
related:
    - id: 3ae9974a-eb09-4044-8e70-8980a50c12c8
      type: similar
status: experimental
description: |
    Detects the occurrence of numerous space characters in TypedPaths registry paths, which may indicate execution via phishing lures using file-fix techniques to hide malicious commands.
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
tags:
    - attack.execution
    - attack.stealth
    - attack.t1204.004
    - attack.t1027.010
logsource:
    category: registry_set
    product: windows
detection:
    selection_key:
        TargetObject|endswith: '\Software\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths\url1'
        Details|contains: '#'
    selection_space_variation:
        Details|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
    condition: all of selection_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_key

selection_key:
    TargetObject|endswith: '\Software\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths\url1'
    Details|contains: '#'

Stage 2: selection_space_variation

selection_space_variation:
    Details|contains:
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '
        - '            '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailsmatch
  • corpus 2 (sigma 2)
  • # corpus 3 (sigma 3)
  •              corpus 2 (sigma 2)
  •              corpus 2 (sigma 2)
  •              corpus 2 (sigma 2)
  •              corpus 2 (sigma 2)
  •              corpus 2 (sigma 2)
  •              corpus 2 (sigma 2)
  •              corpus 2 (sigma 2)
  •              corpus 2 (sigma 2)
  •              corpus 2 (sigma 2)
  •              corpus 2 (sigma 2)
  •              corpus 2 (sigma 2)
  •              corpus 2 (sigma 2)
field:"Details" kind:match
TargetObjectends_with
  • \Software\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths\url1 corpus 2 (sigma 2)
field:"TargetObject" kind:ends_with value:"\Software\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths\url1"

Suspicious Windows Service Tampering

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

Detects the usage of binaries such as 'net', 'sc' or 'powershell' in order to stop, pause, disable or delete critical or important Windows services such as AV, Backup, etc. As seen being used in some ransomware scripts

Known False Positives

  • Administrators or tools shutting down the services due to upgrade or removal purposes. If you experience some false positive, please consider adding filters to the parent process launching this command and not removing the entry

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment
Impact

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Suspicious Windows Service Tampering
id: ce72ef99-22f1-43d4-8695-419dcb5d9330
related:
    - id: eb87818d-db5d-49cc-a987-d5da331fbd90
      type: obsolete
    - id: 6783aa9e-0dc3-49d4-a94a-8b39c5fd700b
      type: obsolete
    - id: 7fd4bb39-12d0-45ab-bb36-cebabc73dc7b
      type: obsolete
status: test
description: |
    Detects the usage of binaries such as 'net', 'sc' or 'powershell' in order to stop, pause, disable or delete critical or important Windows services such as AV, Backup, etc. As seen being used in some ransomware scripts
references:
    - https://www.trendmicro.com/content/dam/trendmicro/global/en/research/22/h/ransomware-actor-abuses-genshin-impact-anti-cheat-driver-to-kill-antivirus/Genshin%20Impact%20Figure%2010.jpg
    - https://www.trellix.com/en-sg/about/newsroom/stories/threat-labs/lockergoga-ransomware-family-used-in-targeted-attacks.html
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1562.001/T1562.001.md
    - https://research.nccgroup.com/2022/08/19/back-in-black-unlocking-a-lockbit-3-0-ransomware-attack/
    - https://www.virustotal.com/gui/file/38283b775552da8981452941ea74191aa0d203edd3f61fb2dee7b0aea3514955
    - https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/delete-method-in-class-win32-service
author: Nasreddine Bencherchali (Nextron Systems), frack113 , X__Junior (Nextron Systems)
date: 2022-09-01
modified: 2025-08-27
tags:
    - attack.impact
    - attack.defense-impairment
    - attack.t1489
    - attack.t1685
logsource:
    category: process_creation
    product: windows
detection:
    selection_tools_img:
        - OriginalFileName:
              - 'net.exe'
              - 'net1.exe'
              - 'PowerShell_ISE.EXE'
              - 'PowerShell.EXE'
              - 'psservice.exe'
              - 'pwsh.dll'
              - 'sc.exe'
              - 'wmic.exe'
        - Image|endswith:
              - '\net.exe'
              - '\net1.exe'
              - '\PowerShell_ISE.EXE'
              - '\powershell.exe'
              - '\PsService.exe'
              - '\PsService64.exe'
              - '\pwsh.exe'
              - '\sc.exe'
              - '\wmic.exe' # wmic process call win32_service where name='servicename' delete
    selection_tools_cli:
        - CommandLine|contains:
              - ' delete '
              - '.delete()' # Get-WmiObject win32_service -Filter "name='$serviceName'" ).delete()
              - ' pause ' # Covers flags from: PsService and Sc.EXE
              - ' stop ' # Covers flags from: PsService.EXE, Net.EXE and Sc.EXE
              - 'Stop-Service '
              - 'Remove-Service '
        - CommandLine|contains|all:
              - 'config'
              - 'start=disabled'
    selection_services:
        CommandLine|contains:
            - '143Svc'
            - 'Acronis VSS Provider'
            - 'AcronisAgent'
            - 'AcrSch2Svc'
            - 'AdobeARMservice'
            - 'AHS Service'
            - 'Antivirus'
            - 'Apache4'
            - 'ARSM'
            - 'aswBcc'
            - 'AteraAgent'
            - 'Avast Business Console Client Antivirus Service'
            - 'avast! Antivirus'
            - 'AVG Antivirus'
            - 'avgAdminClient'
            - 'AvgAdminServer'
            - 'AVP1'
            - 'BackupExec'
            - 'bedbg'
            - 'BITS'
            - 'BrokerInfrastructure'
            - 'CASLicenceServer'
            - 'CASWebServer'
            - 'Client Agent 7.60'
            - 'Core Browsing Protection'
            - 'Core Mail Protection'
            - 'Core Scanning Server'
            - 'DCAgent'
            - 'dwmrcs'
            - 'EhttpSr'
            - 'ekrn'
            - 'Enterprise Client Service'
            - 'epag'
            - 'EPIntegrationService'
            - 'EPProtectedService'
            - 'EPRedline'
            - 'EPSecurityService'
            - 'EPUpdateService'
            - 'EraserSvc11710'
            - 'EsgShKernel'
            - 'ESHASRV'
            - 'FA_Scheduler'
            - 'FirebirdGuardianDefaultInstance'
            - 'FirebirdServerDefaultInstance'
            - 'FontCache3.0.0.0'
            - 'HealthTLService'
            - 'hmpalertsvc'
            - 'HMS'
            - 'HostControllerService'
            - 'hvdsvc'
            - 'IAStorDataMgrSvc'
            - 'IBMHPS'
            - 'ibmspsvc'
            - 'IISAdmin'
            - 'IMANSVC'
            - 'IMAP4Svc'
            - 'instance2'
            - 'KAVFS'
            - 'KAVFSGT'
            - 'kavfsslp'
            - 'KeyIso'
            - 'klbackupdisk'
            - 'klbackupflt'
            - 'klflt'
            - 'klhk'
            - 'KLIF'
            - 'klim6'
            - 'klkbdflt'
            - 'klmouflt'
            - 'klnagent'
            - 'klpd'
            - 'kltap'
            - 'KSDE1.0.0'
            - 'LogProcessorService'
            - 'M8EndpointAgent'
            - 'macmnsvc'
            - 'masvc'
            - 'MBAMService'
            - 'MBCloudEA'
            - 'MBEndpointAgent'
            - 'McAfeeDLPAgentService'
            - 'McAfeeEngineService'
            - 'MCAFEEEVENTPARSERSRV'
            - 'McAfeeFramework'
            - 'MCAFEETOMCATSRV530'
            - 'McShield'
            - 'McTaskManager'
            - 'mfefire'
            - 'mfemms'
            - 'mfevto'
            - 'mfevtp'
            - 'mfewc'
            - 'MMS'
            - 'mozyprobackup'
            - 'mpssvc'
            - 'MSComplianceAudit'
            - 'MSDTC'
            - 'MsDtsServer'
            - 'MSExchange'
            - 'msftesq1SPROO'
            - 'msftesql$PROD'
            - 'msftesql$SQLEXPRESS'
            - 'MSOLAP$SQL_2008'
            - 'MSOLAP$SYSTEM_BGC'
            - 'MSOLAP$TPS'
            - 'MSOLAP$TPSAMA'
            - 'MSOLAPSTPS'
            - 'MSOLAPSTPSAMA'
            - 'mssecflt'
            - 'MSSQ!I.SPROFXENGAGEMEHT'
            - 'MSSQ0SHAREPOINT'
            - 'MSSQ0SOPHOS'
            - 'MSSQL'
            - 'MSSQLFDLauncher$'
            - 'MySQL'
            - 'NanoServiceMain'
            - 'NetMsmqActivator'
            - 'NetPipeActivator'
            - 'netprofm'
            - 'NetTcpActivator'
            - 'NetTcpPortSharing'
            - 'ntrtscan'
            - 'nvspwmi'
            - 'ofcservice'
            - 'Online Protection System'
            - 'OracleClientCache80'
            - 'OracleDBConsole'
            - 'OracleMTSRecoveryService'
            - 'OracleOraDb11g_home1'
            - 'OracleService'
            - 'OracleVssWriter'
            - 'osppsvc'
            - 'PandaAetherAgent'
            - 'PccNTUpd'
            - 'PDVFSService'
            - 'POP3Svc'
            - 'postgresql-x64-9.4'
            - 'POVFSService'
            - 'PSUAService'
            - 'Quick Update Service'
            - 'RepairService'
            - 'ReportServer'
            - 'ReportServer$'
            - 'RESvc'
            - 'RpcEptMapper'
            - 'sacsvr'
            - 'SamSs'
            - 'SAVAdminService'
            - 'SAVService'
            - 'ScSecSvc'
            - 'SDRSVC'
            - 'SearchExchangeTracing'
            - 'sense'
            - 'SentinelAgent'
            - 'SentinelHelperService'
            - 'SepMasterService'
            - 'ShMonitor'
            - 'Smcinst'
            - 'SmcService'
            - 'SMTPSvc'
            - 'SNAC'
            - 'SntpService'
            - 'Sophos'
            - 'SQ1SafeOLRService'
            - 'SQL Backups'
            - 'SQL Server'
            - 'SQLAgent'
            - 'SQLANYs_Sage_FAS_Fixed_Assets'
            - 'SQLBrowser'
            - 'SQLsafe'
            - 'SQLSERVERAGENT'
            - 'SQLTELEMETRY'
            - 'SQLWriter'
            - 'SSISTELEMETRY130'
            - 'SstpSvc'
            - 'storflt'
            - 'svcGenericHost'
            - 'swc_service'
            - 'swi_filter'
            - 'swi_service'
            - 'swi_update'
            - 'Symantec'
            - 'sysmon'
            - 'TeamViewer'
            - 'Telemetryserver'
            - 'ThreatLockerService'
            - 'TMBMServer'
            - 'TmCCSF'
            - 'TmFilter'
            - 'TMiCRCScanService'
            - 'tmlisten'
            - 'TMLWCSService'
            - 'TmPfw'
            - 'TmPreFilter'
            - 'TmProxy'
            - 'TMSmartRelayService'
            - 'tmusa'
            - 'Tomcat'
            - 'Trend Micro Deep Security Manager'
            - 'TrueKey'
            - 'UFNet'
            - 'UI0Detect'
            - 'UniFi'
            - 'UTODetect'
            - 'vds'
            - 'Veeam'
            - 'VeeamDeploySvc'
            - 'Veritas System Recovery'
            - 'vmic'
            - 'VMTools'
            - 'vmvss'
            - 'VSApiNt'
            - 'VSS'
            - 'W3Svc'
            - 'wbengine'
            - 'WdNisSvc'
            - 'WeanClOudSve'
            - 'Weems JY'
            - 'WinDefend'
            - 'wmms'
            - 'wozyprobackup'
            - 'WPFFontCache_v0400'
            - 'WRSVC'
            - 'wsbexchange'
            - 'WSearch'
            - 'wscsvc'
            - 'Zoolz 2 Service'
    condition: all of selection_*
falsepositives:
    - Administrators or tools shutting down the services due to upgrade or removal purposes. If you experience some false positive, please consider adding filters to the parent process launching this command and not removing the entry
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_tools_img

selection_tools_img:
    - OriginalFileName:
          - 'net.exe'
          - 'net1.exe'
          - 'PowerShell_ISE.EXE'
          - 'PowerShell.EXE'
          - 'psservice.exe'
          - 'pwsh.dll'
          - 'sc.exe'
          - 'wmic.exe'
    - Image|endswith:
          - '\net.exe'
          - '\net1.exe'
          - '\PowerShell_ISE.EXE'
          - '\powershell.exe'
          - '\PsService.exe'
          - '\PsService64.exe'
          - '\pwsh.exe'
          - '\sc.exe'
          - '\wmic.exe'

Stage 2: selection_tools_cli

selection_tools_cli:
    - CommandLine|contains:
          - ' delete '
          - '.delete()'
          - ' pause '
          - ' stop '
          - 'Stop-Service '
          - 'Remove-Service '
    - CommandLine|contains|all:
          - 'config'
          - 'start=disabled'

Stage 3: selection_services

selection_services:
    CommandLine|contains:
        - '143Svc'
        - 'Acronis VSS Provider'
        - 'AcronisAgent'
        - 'AcrSch2Svc'
        - 'AdobeARMservice'
        - 'AHS Service'
        - 'Antivirus'
        - 'Apache4'
        - 'ARSM'
        - 'aswBcc'
        - 'AteraAgent'
        - 'Avast Business Console Client Antivirus Service'
        - 'avast! Antivirus'
        - 'AVG Antivirus'
        - 'avgAdminClient'
        - 'AvgAdminServer'
        - 'AVP1'
        - 'BackupExec'
        - 'bedbg'
        - 'BITS'
        - 'BrokerInfrastructure'
        - 'CASLicenceServer'
        - 'CASWebServer'
        - 'Client Agent 7.60'
        - 'Core Browsing Protection'
        - 'Core Mail Protection'
        - 'Core Scanning Server'
        - 'DCAgent'
        - 'dwmrcs'
        - 'EhttpSr'
        - 'ekrn'
        - 'Enterprise Client Service'
        - 'epag'
        - 'EPIntegrationService'
        - 'EPProtectedService'
        - 'EPRedline'
        - 'EPSecurityService'
        - 'EPUpdateService'
        - 'EraserSvc11710'
        - 'EsgShKernel'
        - 'ESHASRV'
        - 'FA_Scheduler'
        - 'FirebirdGuardianDefaultInstance'
        - 'FirebirdServerDefaultInstance'
        - 'FontCache3.0.0.0'
        - 'HealthTLService'
        - 'hmpalertsvc'
        - 'HMS'
        - 'HostControllerService'
        - 'hvdsvc'
        - 'IAStorDataMgrSvc'
        - 'IBMHPS'
        - 'ibmspsvc'
        - 'IISAdmin'
        - 'IMANSVC'
        - 'IMAP4Svc'
        - 'instance2'
        - 'KAVFS'
        - 'KAVFSGT'
        - 'kavfsslp'
        - 'KeyIso'
        - 'klbackupdisk'
        - 'klbackupflt'
        - 'klflt'
        - 'klhk'
        - 'KLIF'
        - 'klim6'
        - 'klkbdflt'
        - 'klmouflt'
        - 'klnagent'
        - 'klpd'
        - 'kltap'
        - 'KSDE1.0.0'
        - 'LogProcessorService'
        - 'M8EndpointAgent'
        - 'macmnsvc'
        - 'masvc'
        - 'MBAMService'
        - 'MBCloudEA'
        - 'MBEndpointAgent'
        - 'McAfeeDLPAgentService'
        - 'McAfeeEngineService'
        - 'MCAFEEEVENTPARSERSRV'
        - 'McAfeeFramework'
        - 'MCAFEETOMCATSRV530'
        - 'McShield'
        - 'McTaskManager'
        - 'mfefire'
        - 'mfemms'
        - 'mfevto'
        - 'mfevtp'
        - 'mfewc'
        - 'MMS'
        - 'mozyprobackup'
        - 'mpssvc'
        - 'MSComplianceAudit'
        - 'MSDTC'
        - 'MsDtsServer'
        - 'MSExchange'
        - 'msftesq1SPROO'
        - 'msftesql$PROD'
        - 'msftesql$SQLEXPRESS'
        - 'MSOLAP$SQL_2008'
        - 'MSOLAP$SYSTEM_BGC'
        - 'MSOLAP$TPS'
        - 'MSOLAP$TPSAMA'
        - 'MSOLAPSTPS'
        - 'MSOLAPSTPSAMA'
        - 'mssecflt'
        - 'MSSQ!I.SPROFXENGAGEMEHT'
        - 'MSSQ0SHAREPOINT'
        - 'MSSQ0SOPHOS'
        - 'MSSQL'
        - 'MSSQLFDLauncher$'
        - 'MySQL'
        - 'NanoServiceMain'
        - 'NetMsmqActivator'
        - 'NetPipeActivator'
        - 'netprofm'
        - 'NetTcpActivator'
        - 'NetTcpPortSharing'
        - 'ntrtscan'
        - 'nvspwmi'
        - 'ofcservice'
        - 'Online Protection System'
        - 'OracleClientCache80'
        - 'OracleDBConsole'
        - 'OracleMTSRecoveryService'
        - 'OracleOraDb11g_home1'
        - 'OracleService'
        - 'OracleVssWriter'
        - 'osppsvc'
        - 'PandaAetherAgent'
        - 'PccNTUpd'
        - 'PDVFSService'
        - 'POP3Svc'
        - 'postgresql-x64-9.4'
        - 'POVFSService'
        - 'PSUAService'
        - 'Quick Update Service'
        - 'RepairService'
        - 'ReportServer'
        - 'ReportServer$'
        - 'RESvc'
        - 'RpcEptMapper'
        - 'sacsvr'
        - 'SamSs'
        - 'SAVAdminService'
        - 'SAVService'
        - 'ScSecSvc'
        - 'SDRSVC'
        - 'SearchExchangeTracing'
        - 'sense'
        - 'SentinelAgent'
        - 'SentinelHelperService'
        - 'SepMasterService'
        - 'ShMonitor'
        - 'Smcinst'
        - 'SmcService'
        - 'SMTPSvc'
        - 'SNAC'
        - 'SntpService'
        - 'Sophos'
        - 'SQ1SafeOLRService'
        - 'SQL Backups'
        - 'SQL Server'
        - 'SQLAgent'
        - 'SQLANYs_Sage_FAS_Fixed_Assets'
        - 'SQLBrowser'
        - 'SQLsafe'
        - 'SQLSERVERAGENT'
        - 'SQLTELEMETRY'
        - 'SQLWriter'
        - 'SSISTELEMETRY130'
        - 'SstpSvc'
        - 'storflt'
        - 'svcGenericHost'
        - 'swc_service'
        - 'swi_filter'
        - 'swi_service'
        - 'swi_update'
        - 'Symantec'
        - 'sysmon'
        - 'TeamViewer'
        - 'Telemetryserver'
        - 'ThreatLockerService'
        - 'TMBMServer'
        - 'TmCCSF'
        - 'TmFilter'
        - 'TMiCRCScanService'
        - 'tmlisten'
        - 'TMLWCSService'
        - 'TmPfw'
        - 'TmPreFilter'
        - 'TmProxy'
        - 'TMSmartRelayService'
        - 'tmusa'
        - 'Tomcat'
        - 'Trend Micro Deep Security Manager'
        - 'TrueKey'
        - 'UFNet'
        - 'UI0Detect'
        - 'UniFi'
        - 'UTODetect'
        - 'vds'
        - 'Veeam'
        - 'VeeamDeploySvc'
        - 'Veritas System Recovery'
        - 'vmic'
        - 'VMTools'
        - 'vmvss'
        - 'VSApiNt'
        - 'VSS'
        - 'W3Svc'
        - 'wbengine'
        - 'WdNisSvc'
        - 'WeanClOudSve'
        - 'Weems JY'
        - 'WinDefend'
        - 'wmms'
        - 'wozyprobackup'
        - 'WPFFontCache_v0400'
        - 'WRSVC'
        - 'wsbexchange'
        - 'WSearch'
        - 'wscsvc'
        - 'Zoolz 2 Service'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • delete corpus 5 (sigma 4, splunk 1)
  • pause
  • stop corpus 8 (sigma 6, splunk 2)
  • .delete() corpus 2 (sigma 2)
  • 143Svc
  • AHS Service
  • ARSM
  • AVG Antivirus
  • AVP1
  • AcrSch2Svc corpus 2 (sigma 2)
  • Acronis VSS Provider
  • AcronisAgent
  • AdobeARMservice
  • Antivirus corpus 2 (sigma 2)
  • Apache4
  • AteraAgent
  • Avast Business Console Client Antivirus Service
  • AvgAdminServer
  • BITS
  • BackupExec
  • BrokerInfrastructure
  • CASLicenceServer
  • CASWebServer
  • Client Agent 7.60
  • Core Browsing Protection
  • Core Mail Protection
  • Core Scanning Server
  • DCAgent
  • EPIntegrationService
  • EPProtectedService
  • EPRedline
  • EPSecurityService
  • EPUpdateService
  • ESHASRV
  • EhttpSr
  • Enterprise Client Service
  • EraserSvc11710
  • EsgShKernel
  • FA_Scheduler
  • FirebirdGuardianDefaultInstance
  • +195 more values (see full rule source)
field:"CommandLine" kind:match
Imageends_with
  • \PowerShell_ISE.EXE corpus 41 (sigma 41)
  • \PsService.exe corpus 3 (sigma 3)
  • \PsService64.exe corpus 3 (sigma 3)
  • \net.exe corpus 49 (sigma 49)
  • \net1.exe corpus 47 (sigma 47)
  • \powershell.exe corpus 181 (sigma 180, splunk 1)
  • \pwsh.exe corpus 166 (sigma 166)
  • \sc.exe corpus 30 (sigma 30)
  • \wmic.exe corpus 62 (sigma 62)
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)
  • net.exe corpus 25 (sigma 19, elastic 4, splunk 2)
  • net1.exe corpus 39 (sigma 19, splunk 19, elastic 1)
  • psservice.exe corpus 2 (sigma 2)
  • pwsh.dll corpus 115 (sigma 81, splunk 30, elastic 4)
  • sc.exe corpus 28 (sigma 12, splunk 10, elastic 6)
  • wmic.exe corpus 74 (sigma 38, elastic 18, splunk 18)
field:"OriginalFileName" kind:eq

UAC Bypass Using NTFS Reparse Point - File

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

Detects the pattern of UAC Bypass using NTFS reparse point and wusa.exe DLL hijacking (UACMe 36)

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: UAC Bypass Using NTFS Reparse Point - File
id: 7fff6773-2baa-46de-a24a-b6eec1aba2d1
status: test
description: Detects the pattern of UAC Bypass using NTFS reparse point and wusa.exe DLL hijacking (UACMe 36)
references:
    - https://github.com/hfiref0x/UACME
author: Christian Burkard (Nextron Systems)
date: 2021-08-30
modified: 2022-10-09
tags:
    - attack.privilege-escalation
    - attack.t1548.002
logsource:
    category: file_event
    product: windows
detection:
    selection:
        TargetFilename|startswith: 'C:\Users\'
        TargetFilename|endswith: '\AppData\Local\Temp\api-ms-win-core-kernel32-legacy-l1.DLL'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|startswith: 'C:\Users\'
    TargetFilename|endswith: '\AppData\Local\Temp\api-ms-win-core-kernel32-legacy-l1.DLL'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • \AppData\Local\Temp\api-ms-win-core-kernel32-legacy-l1.DLL
field:"TargetFilename" kind:ends_with value:"\AppData\Local\Temp\api-ms-win-core-kernel32-legacy-l1.DLL"
TargetFilenamestarts_with
  • C:\Users\ corpus 13 (sigma 9, elastic 4)
field:"TargetFilename" kind:starts_with value:"C:\Users\"

Uncommon File Created by Notepad++ Updater Gup.EXE

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

Detects when the Notepad++ updater (gup.exe) creates files in suspicious or uncommon locations. This could indicate potential exploitation of the updater component to deliver unwanted malware or unwarranted files.

Known False Positives

  • Custom or portable Notepad++ installations in non-standard directories.
  • Legitimate update processes creating temporary files in unexpected locations.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Uncommon File Created by Notepad++ Updater Gup.EXE
id: 3b8f4c92-6a51-4d7e-9c3a-8e2d1f5a7b09
status: experimental
description: |
    Detects when the Notepad++ updater (gup.exe) creates files in suspicious or uncommon locations.
    This could indicate potential exploitation of the updater component to deliver unwanted malware or unwarranted files.
references:
    - https://notepad-plus-plus.org/news/v889-released/
    - https://www.heise.de/en/news/Notepad-updater-installed-malware-11109726.html
    - https://www.rapid7.com/blog/post/tr-chrysalis-backdoor-dive-into-lotus-blossoms-toolkit/
    - https://www.validin.com/blog/exploring_notepad_plus_plus_network_indicators/
    - https://securelist.com/notepad-supply-chain-attack/118708/
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2026-02-03
modified: 2026-03-16
tags:
    - attack.collection
    - attack.credential-access
    - attack.t1195.002
    - attack.initial-access
    - attack.t1557
logsource:
    category: file_event
    product: windows
detection:
    selection:
        Image|endswith: '\gup.exe'
    filter_main_legit_paths:
        TargetFilename|startswith:
            - 'C:\Program Files\Notepad++\'
            - 'C:\Program Files (x86)\Notepad++\'
    filter_main_temp_update_installer:
        TargetFilename|startswith: 'C:\Users\'
        TargetFilename|contains|all:
            - '\AppData\Local\Temp\'
            - 'npp.'
            - '.Installer.'
            - '.exe'
    filter_main_temp_generic_zip:
        TargetFilename|startswith: 'C:\Users\'
        TargetFilename|contains|all:
            - '\AppData\Local\Temp\'
            - '.zip'
    filter_main_recycle_bin:
        TargetFilename|startswith: 'C:\$Recycle.Bin\S-1-5-21'
    filter_main_plugins:
        - TargetFilename|contains:
              - '\plugins\JsonTools\testfiles\'
              - '\Notepad++\plugins\ComparePlugin\'
        - TargetFilename|contains|all:
              - 'npp.'
              - '.portable.'
              - '\plugins\'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Custom or portable Notepad++ installations in non-standard directories.
    - Legitimate update processes creating temporary files in unexpected locations.
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

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

Stage 2: not filter_main_*

filter_main_legit_paths:
    TargetFilename|startswith:
        - 'C:\Program Files\Notepad++\'
        - 'C:\Program Files (x86)\Notepad++\'
filter_main_temp_update_installer:
    TargetFilename|startswith: 'C:\Users\'
    TargetFilename|contains|all:
        - '\AppData\Local\Temp\'
        - 'npp.'
        - '.Installer.'
        - '.exe'
filter_main_temp_generic_zip:
    TargetFilename|startswith: 'C:\Users\'
    TargetFilename|contains|all:
        - '\AppData\Local\Temp\'
        - '.zip'
filter_main_recycle_bin:
    TargetFilename|startswith: 'C:\$Recycle.Bin\S-1-5-21'
filter_main_plugins:
    - TargetFilename|contains:
          - '\plugins\JsonTools\testfiles\'
          - '\Notepad++\plugins\ComparePlugin\'
    - TargetFilename|contains|all:
          - 'npp.'
          - '.portable.'
          - '\plugins\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \gup.exe corpus 5 (sigma 5)
field:"Image" kind:ends_with value:"\gup.exe"

Exclusions

The rule actively suppresses these predicates.

Windows Share Mount Via Net.EXE

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

Detects when a share is mounted using the "net.exe" utility

Known False Positives

  • Legitimate activity by administrators and scripts

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Windows Share Mount Via Net.EXE
id: f117933c-980c-4f78-b384-e3d838111165
related:
    - id: 3abd6094-7027-475f-9630-8ab9be7b9725
      type: similar
status: test
description: Detects when a share is mounted using the "net.exe" utility
references:
    - https://drive.google.com/file/d/1lKya3_mLnR3UQuCoiYruO3qgu052_iS_/view
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-02-02
modified: 2023-02-21
tags:
    - attack.lateral-movement
    - attack.t1021.002
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith:
              - '\net.exe'
              - '\net1.exe'
        - OriginalFileName:
              - 'net.exe'
              - 'net1.exe'
    selection_cli:
        CommandLine|contains:
            - ' use '
            - ' \\\\'
    condition: all of selection_*
falsepositives:
    - Legitimate activity by administrators and scripts
level: low

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_cli

selection_cli:
    CommandLine|contains:
        - ' use '
        - ' \\\\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • \\\\ corpus 8 (sigma 8)
  • use corpus 6 (sigma 6)
field:"CommandLine" kind:match
Imageends_with
  • \net.exe corpus 49 (sigma 49)
  • \net1.exe corpus 47 (sigma 47)
field:"Image" kind:ends_with
OriginalFileNameeq
  • net.exe corpus 25 (sigma 19, elastic 4, splunk 2)
  • net1.exe corpus 39 (sigma 19, splunk 19, elastic 1)
field:"OriginalFileName" kind:eq

WMI Backdoor Exchange Transport Agent

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

Detects a WMI backdoor in Exchange Transport Agents via WMI event filters

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: WMI Backdoor Exchange Transport Agent
id: 797011dc-44f4-4e6f-9f10-a8ceefbe566b
status: test
description: Detects a WMI backdoor in Exchange Transport Agents via WMI event filters
references:
    - https://twitter.com/cglyer/status/1182389676876980224
    - https://twitter.com/cglyer/status/1182391019633029120
author: Florian Roth (Nextron Systems)
date: 2019-10-11
modified: 2023-02-08
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1546.003
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\EdgeTransport.exe'
    filter_conhost:
        Image: 'C:\Windows\System32\conhost.exe'
    filter_oleconverter:  # FP also documented in https://speakerdeck.com/heirhabarov/hunting-for-persistence-via-microsoft-exchange-server-or-outlook?slide=18
        Image|startswith: 'C:\Program Files\Microsoft\Exchange Server\'
        Image|endswith: '\Bin\OleConverter.exe'
    condition: selection and not 1 of filter_*
falsepositives:
    - Unknown
level: critical

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_*

Stage 1: selection

selection:
    ParentImage|endswith: '\EdgeTransport.exe'

Stage 2: not filter_*

filter_conhost:
    Image: 'C:\Windows\System32\conhost.exe'
filter_oleconverter:
    Image|startswith: 'C:\Program Files\Microsoft\Exchange Server\'
    Image|endswith: '\Bin\OleConverter.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ParentImageends_with
  • \EdgeTransport.exe
field:"ParentImage" kind:ends_with value:"\EdgeTransport.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\Bin\OleConverter.exeexcludes:Image field:"Image" value:"\Bin\OleConverter.exe"
Imagestarts_withC:\Program Files\Microsoft\Exchange Server\excludes:Image field:"Image" value:"C:\Program Files\Microsoft\Exchange Server\"
ImageeqC:\Windows\System32\conhost.exeexcludes:Image field:"Image" value:"C:\Windows\System32\conhost.exe"

Back to all Sigma rules