Detection rules › Sigma

Sigma rules: 2w

RuleSeverity
Access To Windows Credential History File By Uncommon Applicationsmedium
Azure Kubernetes Secret or Config Object Accessmedium
Base64 MZ Header In CommandLinehigh
Cmd Launched with Hidden Start Flags to Suspicious Targetsmedium
Creation Of An User Accountmedium
CVE-2023-4966 Potential Exploitation Attempt - Citrix ADC Sensitive Information Disclosure - Webservermedium
DotNET Assembly DLL Loaded Via Office Applicationmedium
Enable Remote Connection Between Anonymous Computer - AllowAnonymousCallbackmedium
HackTool - SharpView Executionhigh
Leviathan Registry Key Activitycritical
Malware Shellcode in Verclsid Target Processhigh
Named Pipe Created Via Mkfifolow
Network Communication With Crypto Mining Poolhigh
New Root or CA or AuthRoot Certificate to Storemedium
Okta API Token Revokedmedium
Operation Wocao Activity - Securityhigh
Potential Dosfuscation Activitymedium
Potential EACore.DLL Sideloadinghigh
Potential Edputil.DLL Sideloadinghigh
Potential Mfdetours.DLL Sideloadingmedium
Potential MOVEit Transfer CVE-2023-34362 Exploitation - File Activityhigh
Potential Persistence Via Scrobj.dll COM Hijackingmedium
PowerShell Module File Createdlow
ProxyLogon MSExchange OabVirtualDirectorycritical
Renamed Msdt.EXE Executionhigh
Scanner PoC for CVE-2019-0708 RDP RCE Vulnhigh
Split A File Into Pieces - Linuxlow
Successful login correlated with suspicious JA4/JA3 TLS fingerprintmedium
Suspicious File Created in Outlook Temporary Directoryhigh
Suspicious File Created In PerfLogsmedium
Suspicious Non-Browser Network Communication With Telegram APImedium
Suspicious RASdial Activitymedium
Time Machine Backup Deletion Attempt Via Tmutil - MacOSmedium
Touch Suspicious Service Filemedium
Unsigned AppX Installation Attempt Using Add-AppxPackagemedium
Win Defender Restored Quarantine Filehigh
WMI spwaning PowerShell process - WMImplanthigh
Zip A Folder With PowerShell For Staging In Temp - PowerShell Modulemedium

Access To Windows Credential History File By Uncommon Applications

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

Detects file access requests to the Windows Credential History File by an uncommon application. This can be a sign of credential stealing. Example case would be usage of mimikatz "dpapi::credhist" function

MITRE ATT&CK Coverage

Rule Body

title: Access To Windows Credential History File By Uncommon Applications
id: 7a2a22ea-a203-4cd3-9abf-20eb1c5c6cd2
status: test
description: |
    Detects file access requests to the Windows Credential History File by an uncommon application.
    This can be a sign of credential stealing. Example case would be usage of mimikatz "dpapi::credhist" function
references:
    - https://tools.thehacker.recipes/mimikatz/modules/dpapi/credhist
    - https://www.passcape.com/windows_password_recovery_dpapi_credhist
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-10-17
modified: 2024-07-29
tags:
    - attack.credential-access
    - attack.t1555.004
logsource:
    category: file_access
    product: windows
    definition: 'Requirements: Microsoft-Windows-Kernel-File ETW provider'
detection:
    selection:
        FileName|endswith: '\Microsoft\Protect\CREDHIST'
    filter_main_system_folders:
        Image|startswith:
            - 'C:\Program Files\'
            - 'C:\Program Files (x86)\'
            - 'C:\Windows\system32\'
            - 'C:\Windows\SysWOW64\'
    filter_main_explorer:
        Image: 'C:\Windows\explorer.exe'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
# Increase level after false positives filters are good enough
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    FileName|endswith: '\Microsoft\Protect\CREDHIST'

Stage 2: not filter_main_*

filter_main_system_folders:
    Image|startswith:
        - 'C:\Program Files\'
        - 'C:\Program Files (x86)\'
        - 'C:\Windows\system32\'
        - 'C:\Windows\SysWOW64\'
filter_main_explorer:
    Image: 'C:\Windows\explorer.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
FileNameends_with
  • \Microsoft\Protect\CREDHIST
field:"file_name" kind:ends_with value:"\Microsoft\Protect\CREDHIST"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageeqC:\Windows\explorer.exeexcludes:Image field:"Image" value:"C:\Windows\explorer.exe"
Imagestarts_withC:\Program Files (x86)\excludes:Image field:"Image" value:"C:\Program Files (x86)\"
Imagestarts_withC:\Program Files\excludes:Image field:"Image" value:"C:\Program Files\"
Imagestarts_withC:\Windows\SysWOW64\excludes:Image field:"Image" value:"C:\Windows\SysWOW64\"
Imagestarts_withC:\Windows\system32\excludes:Image field:"Image" value:"C:\Windows\system32\"

Azure Kubernetes Secret or Config Object Access

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

Identifies when a Kubernetes account access a sensitive objects such as configmaps or secrets.

Known False Positives

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

MITRE ATT&CK Coverage

Rule Body

title: Azure Kubernetes Secret or Config Object Access
id: 7ee0b4aa-d8d4-4088-b661-20efdf41a04c
status: test
description: Identifies when a Kubernetes account access a sensitive objects such as configmaps or secrets.
references:
    - https://learn.microsoft.com/en-us/azure/role-based-access-control/resource-provider-operations#microsoftkubernetes
    - https://www.microsoft.com/security/blog/2021/03/23/secure-containerized-environments-with-updated-threat-matrix-for-kubernetes/
    - https://www.microsoft.com/security/blog/2020/04/02/attack-matrix-kubernetes/
    - https://medium.com/mitre-engenuity/att-ck-for-containers-now-available-4c2359654bf1
author: Austin Songer @austinsonger
date: 2021-08-07
modified: 2022-08-23
tags:
    - attack.impact
    - attack.t1485
    - attack.t1496
    - attack.t1489
logsource:
    product: azure
    service: activitylogs
detection:
    selection:
        operationName:
            - MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/CONFIGMAPS/WRITE
            - MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/CONFIGMAPS/DELETE
            - MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/SECRETS/WRITE
            - MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/SECRETS/DELETE
    condition: selection
falsepositives:
    - Sensitive objects may be accessed by a system administrator. Verify whether the user identity, user agent, and/or hostname should be making changes in your environment. Sensitive objects accessed from unfamiliar users should be investigated. If known behavior is causing false positives, it can be exempted from the rule.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    operationName:
        - MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/CONFIGMAPS/WRITE
        - MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/CONFIGMAPS/DELETE
        - MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/SECRETS/WRITE
        - MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/SECRETS/DELETE

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
operationNameeq
  • MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/CONFIGMAPS/DELETE
  • MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/CONFIGMAPS/WRITE
  • MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/SECRETS/DELETE
  • MICROSOFT.KUBERNETES/CONNECTEDCLUSTERS/SECRETS/WRITE
field:"operationName" kind:eq

Base64 MZ Header In CommandLine

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

Detects encoded base64 MZ header in the commandline

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

Rule Body

title: Base64 MZ Header In CommandLine
id: 22e58743-4ac8-4a9f-bf19-00a0428d8c5f
status: test
description: Detects encoded base64 MZ header in the commandline
references:
    - https://thedfirreport.com/2022/07/11/select-xmrig-from-sqlserver/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-07-12
tags:
    - attack.execution
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains:
            - 'TVqQAAMAAAAEAAAA' # MZ..........
            - 'TVpQAAIAAAAEAA8A'
            - 'TVqAAAEAAAAEABAA'
            - 'TVoAAAAAAAAAAAAA'
            - 'TVpTAQEAAAAEAAAA'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains:
        - 'TVqQAAMAAAAEAAAA'
        - 'TVpQAAIAAAAEAA8A'
        - 'TVqAAAEAAAAEABAA'
        - 'TVoAAAAAAAAAAAAA'
        - 'TVpTAQEAAAAEAAAA'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • TVoAAAAAAAAAAAAA
  • TVpQAAIAAAAEAA8A
  • TVpTAQEAAAAEAAAA
  • TVqAAAEAAAAEABAA
  • TVqQAAMAAAAEAAAA
field:"CommandLine" kind:match

Cmd Launched with Hidden Start Flags to Suspicious Targets

#
Status
experimental
Severity
medium
Author
Vladan Sekulic, Swachchhanda Shrawan Poudel (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects cmd.exe executing commands with the "start" utility using "/b" (no window) or "/min" (minimized) flags. To reduce false positives from standard background tasks, detection is restricted to scenarios where the target is a known script extension or located in suspicious temporary/public directories. This technique was observed in Chaos, DarkSide, and Emotet malware campaigns.

Known False Positives

  • Legitimate administrative scripts running from temporary folders.
  • Niche software updaters utilizing hidden batch files in ProgramData.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Cmd Launched with Hidden Start Flags to Suspicious Targets
id: 5a6b7c8d-9e0f-1a2b-3c4d-5e6f7a8b9c0d
status: experimental
description: |
    Detects cmd.exe executing commands with the "start" utility using "/b" (no window) or "/min" (minimized) flags.
    To reduce false positives from standard background tasks, detection is restricted to scenarios where the target is a known script extension or located in suspicious temporary/public directories.
    This technique was observed in Chaos, DarkSide, and Emotet malware campaigns.
references:
    - https://www.fortinet.com/blog/threat-research/evolution-of-chaos-ransomware-faster-smarter-and-more-dangerous
    - https://www.fortinet.com/blog/threat-research/newly-discovered-function-in-darkside-ransomware-variant-targets-disk-partitions
    - https://www.fortinet.com/blog/threat-research/ms-office-files-involved-in-emotet-trojan-campaign-pt-one
    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/start
tags:
    - attack.stealth
    - attack.t1564.003
author: Vladan Sekulic, Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2026-01-24
logsource:
    category: process_creation
    product: windows
detection:
    selection_cmd_img:
        - Image|endswith: '\cmd.exe'
        - OriginalFileName: 'Cmd.Exe'
    selection_cmd_hidden_start_1:
        CommandLine|contains|windash:
            - 'start '
            - 'start/b'
            - 'start/min'
    selection_cmd_hidden_start_2:
        CommandLine|contains|windash:
            - '/b '
            - '/b"'
            - '/min '
            - '/min"'
    selection_cli_uncommon_location:
        CommandLine|contains:
            - ':\Perflogs\'
            - ':\Temp\'
            - ':\Users\Default\'
            - ':\Windows\Temp\'
            - '\AppData\Roaming\'
            - '\Contacts\'
            - '\Documents\'
            - '\Downloads\'
            - '\Favorites\'
            - '\Favourites\'
            - '\inetpub\'
            - '\Music\'
            - '\Photos\'
            - '\Temporary Internet\'
            - '\Users\Public\'
            - '\Videos\'
    selection_cli_susp_extension:
        CommandLine|contains:
            - '.bat'
            - '.cmd'
            - '.cpl'
            - '.hta'
            - '.js'
            - '.ps1'
            - '.scr'
            - '.vbe'
            - '.vbs'
    selection_cli_susp_pattern:
        CommandLine|contains:
            - ' -nop '
            - ' -sta '
            - '.downloadfile(' # PowerShell download command
            - '.downloadstring(' # PowerShell download command
            - '-noni '
            - '-w hidden '
    condition: all of selection_cmd_* and 1 of selection_cli_*
falsepositives:
    - Legitimate administrative scripts running from temporary folders.
    - Niche software updaters utilizing hidden batch files in ProgramData.
level: medium # Can be increased after an initial baseline and tuning
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_cmd_launched_with_hidden_start_flag/info.yml

Stages and Predicates

Stage 0: condition

all of selection_cmd_* and 1 of selection_cli_*

Stage 1: selection_cmd_img

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

Stage 2: selection_cmd_hidden_start_1

selection_cmd_hidden_start_1:
    CommandLine|contains|windash:
        - 'start '
        - 'start/b'
        - 'start/min'

Stage 3: selection_cmd_hidden_start_2

selection_cmd_hidden_start_2:
    CommandLine|contains|windash:
        - '/b '
        - '/b"'
        - '/min '
        - '/min"'

Stage 4: selection_cli_uncommon_location

selection_cli_uncommon_location:
    CommandLine|contains:
        - ':\Perflogs\'
        - ':\Temp\'
        - ':\Users\Default\'
        - ':\Windows\Temp\'
        - '\AppData\Roaming\'
        - '\Contacts\'
        - '\Documents\'
        - '\Downloads\'
        - '\Favorites\'
        - '\Favourites\'
        - '\inetpub\'
        - '\Music\'
        - '\Photos\'
        - '\Temporary Internet\'
        - '\Users\Public\'
        - '\Videos\'

Stage 5: selection_cli_susp_extension

selection_cli_susp_extension:
    CommandLine|contains:
        - '.bat'
        - '.cmd'
        - '.cpl'
        - '.hta'
        - '.js'
        - '.ps1'
        - '.scr'
        - '.vbe'
        - '.vbs'

Stage 6: selection_cli_susp_pattern

selection_cli_susp_pattern:
    CommandLine|contains:
        - ' -nop '
        - ' -sta '
        - '.downloadfile('
        - '.downloadstring('
        - '-noni '
        - '-w hidden '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -nop corpus 3 (sigma 3)
  • -sta
  • -noni
  • -w hidden
  • .bat corpus 10 (sigma 9, elastic 1)
  • .cmd corpus 6 (sigma 5, elastic 1)
  • .cpl corpus 3 (sigma 3)
  • .downloadfile( corpus 7 (sigma 7)
  • .downloadstring( corpus 7 (sigma 7)
  • .hta corpus 6 (sigma 6)
  • .js corpus 9 (sigma 9)
  • .ps1 corpus 4 (sigma 3, elastic 1)
  • .scr corpus 5 (sigma 5)
  • .vbe corpus 5 (sigma 5)
  • .vbs corpus 7 (sigma 7)
  • /b transforms: windash
  • /b" transforms: windash
  • /min transforms: windash
  • /min" transforms: windash
  • :\Perflogs\ corpus 11 (sigma 11)
  • :\Temp\ corpus 14 (sigma 14)
  • :\Users\Default\ corpus 3 (sigma 3)
  • :\Windows\Temp\ corpus 16 (sigma 16)
  • \AppData\Roaming\ corpus 17 (sigma 16, elastic 1)
  • \Contacts\ corpus 7 (sigma 7)
  • \Documents\ corpus 2 (sigma 2)
  • \Downloads\ corpus 15 (sigma 14, elastic 1)
  • \Favorites\ corpus 7 (sigma 7)
  • \Favourites\ corpus 7 (sigma 7)
  • \Music\ corpus 4 (sigma 4)
  • \Photos\
  • \Temporary Internet\
  • \Users\Public\ corpus 18 (sigma 17, elastic 1)
  • \Videos\ corpus 4 (sigma 4)
  • \inetpub\
  • start
  • start/b
  • start/min
field:"CommandLine" kind:match
Imageends_with
  • \cmd.exe corpus 132 (sigma 130, splunk 2)
field:"Image" kind:ends_with value:"\cmd.exe"
OriginalFileNameeq
  • Cmd.Exe corpus 75 (sigma 43, splunk 17, elastic 15)
field:"OriginalFileName" kind:eq value:"Cmd.Exe"

Creation Of An User Account

#
Status
test
Severity
medium
Author
Marie Euler, Pawel Mazur
Source
github.com/SigmaHQ/sigma

Detects the creation of a new user account. Such accounts may be used for persistence that do not require persistent remote access tools to be deployed on the system.

Known False Positives

  • Admin activity

MITRE ATT&CK Coverage

TacticTechniques
Persistence

Telemetry Coverage

Rule Body

title: Creation Of An User Account
id: 759d0d51-bc99-4b5e-9add-8f5b2c8e7512
status: test
description: Detects the creation of a new user account. Such accounts may be used for persistence that do not require persistent remote access tools to be deployed on the system.
references:
    - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/security_guide/sec-understanding_audit_log_files
    - https://access.redhat.com/articles/4409591#audit-record-types-2
    - https://www.youtube.com/watch?v=VmvY5SQm5-Y&ab_channel=M45C07
author: Marie Euler, Pawel Mazur
date: 2020-05-18
modified: 2022-12-20
tags:
    - attack.t1136.001
    - attack.persistence
logsource:
    product: linux
    service: auditd
detection:
    selection_syscall_record_type:
        type: 'SYSCALL'
        exe|endswith: '/useradd'
    selection_add_user_record_type:
        type: 'ADD_USER' # This is logged without having to configure audit rules on both Ubuntu and Centos
    condition: 1 of selection_*
falsepositives:
    - Admin activity
level: medium

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_syscall_record_type

selection_syscall_record_type:
    type: 'SYSCALL'
    exe|endswith: '/useradd'

Stage 2: selection_add_user_record_type

selection_add_user_record_type:
    type: 'ADD_USER'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
exeends_with
  • /useradd
field:"exe" kind:ends_with value:"/useradd"
typeeq
  • ADD_USER corpus 2 (sigma 1, splunk 1)
  • SYSCALL corpus 27 (splunk 15, sigma 12)
field:"type" kind:eq

CVE-2023-4966 Potential Exploitation Attempt - Citrix ADC Sensitive Information Disclosure - Webserver

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

Detects potential exploitation attempt of CVE-2023-4966 a Citrix ADC and NetScaler Gateway sensitive information disclosure vulnerability via webserver logs.

Known False Positives

  • Vulnerability scanners

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Rule Body

title: CVE-2023-4966 Potential Exploitation Attempt - Citrix ADC Sensitive Information Disclosure - Webserver
id: 87c83d8e-5390-44ce-aa4a-d3b37e54d0a0
related:
    - id: ff349b81-617f-4af4-924f-dbe8ea9bab41 # Proxy Attempt
      type: similar
    - id: aee7681f-b53d-4594-a9de-ac51e6ad3362 # Proxy Exploit
      type: similar
    - id: a4e068b5-e27c-4f21-85b3-e69e5a4f7ce1 # Webserver Exploit
      type: similar
status: test
description: Detects potential exploitation attempt of CVE-2023-4966 a Citrix ADC and NetScaler Gateway sensitive information disclosure vulnerability via webserver logs.
references:
    - https://support.citrix.com/article/CTX579459/netscaler-adc-and-netscaler-gateway-security-bulletin-for-cve20234966-and-cve20234967
    - https://attackerkb.com/topics/2faW2CxJgQ/cve-2023-4966
    - https://www.rapid7.com/blog/post/2023/10/25/etr-cve-2023-4966-exploitation-of-citrix-netscaler-information-disclosure-vulnerability/
    - https://www.assetnote.io/resources/research/citrix-bleed-leaking-session-tokens-with-cve-2023-4966
    - https://github.com/assetnote/exploits/tree/main/citrix/CVE-2023-4966
author: Nasreddine Bencherchali (Nextron Systems), Michael Haag (STRT)
date: 2023-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2023-4966
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-method: 'GET'
        cs-uri-stem|contains: '/oauth/idp/.well-known/openid-configuration'
        sc-status: 200
    condition: selection
falsepositives:
    - Vulnerability scanners
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    cs-method: 'GET'
    cs-uri-stem|contains: '/oauth/idp/.well-known/openid-configuration'
    sc-status: 200

Indicators

These rows show field, operator, and value matches.

DotNET Assembly DLL Loaded Via Office Application

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

Detects any assembly DLL being loaded by an Office Product

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: DotNET Assembly DLL Loaded Via Office Application
id: ff0f2b05-09db-4095-b96d-1b75ca24894a
status: test
description: Detects any assembly DLL being loaded by an Office Product
references:
    - https://medium.com/threatpunter/detecting-adversary-tradecraft-with-image-load-event-logging-and-eql-8de93338c16
author: Antonlovesdnb
date: 2020-02-19
modified: 2023-03-29
tags:
    - attack.execution
    - attack.t1204.002
logsource:
    category: image_load
    product: windows
detection:
    selection:
        Image|endswith:
            - '\excel.exe'
            - '\mspub.exe'
            - '\onenote.exe'
            - '\onenoteim.exe' # Just in case
            - '\outlook.exe'
            - '\powerpnt.exe'
            - '\winword.exe'
        ImageLoaded|startswith: 'C:\Windows\assembly\'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith:
        - '\excel.exe'
        - '\mspub.exe'
        - '\onenote.exe'
        - '\onenoteim.exe'
        - '\outlook.exe'
        - '\powerpnt.exe'
        - '\winword.exe'
    ImageLoaded|startswith: 'C:\Windows\assembly\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \excel.exe corpus 16 (sigma 16)
  • \mspub.exe corpus 10 (sigma 10)
  • \onenote.exe corpus 6 (sigma 6)
  • \onenoteim.exe corpus 6 (sigma 6)
  • \outlook.exe corpus 13 (sigma 13)
  • \powerpnt.exe corpus 14 (sigma 14)
  • \winword.exe corpus 17 (sigma 17)
field:"Image" kind:ends_with
ImageLoadedstarts_with
  • C:\Windows\assembly\
field:"ImageLoaded" kind:starts_with value:"C:\Windows\assembly\"

Enable Remote Connection Between Anonymous Computer - AllowAnonymousCallback

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

Detects enabling of the "AllowAnonymousCallback" registry value, which allows a remote connection between computers that do not have a trust relationship.

Known False Positives

  • Administrative activity

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

Rule Body

title: Enable Remote Connection Between Anonymous Computer - AllowAnonymousCallback
id: 4d431012-2ab5-4db7-a84e-b29809da2172
status: test
description: Detects enabling of the "AllowAnonymousCallback" registry value, which allows a remote connection between computers that do not have a trust relationship.
references:
    - https://learn.microsoft.com/en-us/windows/win32/wmisdk/connecting-to-wmi-remotely-starting-with-vista
author: X__Junior (Nextron Systems)
date: 2023-11-03
tags:
    - attack.defense-impairment
    - attack.t1685
logsource:
    product: windows
    category: registry_set
detection:
    selection:
        TargetObject|contains: '\Microsoft\WBEM\CIMOM\AllowAnonymousCallback'
        Details: 'DWORD (0x00000001)'
    condition: selection
falsepositives:
    - Administrative activity
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|contains: '\Microsoft\WBEM\CIMOM\AllowAnonymousCallback'
    Details: 'DWORD (0x00000001)'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailseq
  • DWORD (0x00000001) corpus 36 (sigma 36)
field:"Details" kind:eq value:"DWORD (0x00000001)"
TargetObjectmatch
  • \Microsoft\WBEM\CIMOM\AllowAnonymousCallback
field:"TargetObject" kind:match value:"\Microsoft\WBEM\CIMOM\AllowAnonymousCallback"

HackTool - SharpView Execution

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

Adversaries may look for details about the network configuration and settings of systems they access or through information discovery of remote systems

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: HackTool - SharpView Execution
id: b2317cfa-4a47-4ead-b3ff-297438c0bc2d
related:
    - id: dcd74b95-3f36-4ed9-9598-0490951643aa
      type: similar
status: test
description: Adversaries may look for details about the network configuration and settings of systems they access or through information discovery of remote systems
references:
    - https://github.com/tevora-threat/SharpView/
    - https://github.com/PowerShellMafia/PowerSploit/blob/d943001a7defb5e0d1657085a77a0e78609be58f/Recon/PowerView.ps1
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1049/T1049.md#atomic-test-4---system-discovery-using-sharpview
author: frack113
date: 2021-12-10
modified: 2023-02-14
tags:
    - attack.discovery
    - attack.t1049
    - attack.t1069.002
    - attack.t1482
    - attack.t1135
    - attack.t1033
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        - OriginalFileName: 'SharpView.exe'
        - Image|endswith: '\SharpView.exe'
        - CommandLine|contains:
              # - 'Add-DomainGroupMember'
              # - 'Add-DomainObjectAcl'
              # - 'Add-ObjectAcl'
              - 'Add-RemoteConnection'
              - 'Convert-ADName'
              - 'ConvertFrom-SID'
              - 'ConvertFrom-UACValue'
              - 'Convert-SidToName'
              # - 'ConvertTo-SID'
              - 'Export-PowerViewCSV'
              # - 'Find-DomainLocalGroupMember'
              - 'Find-DomainObjectPropertyOutlier'
              - 'Find-DomainProcess'
              - 'Find-DomainShare'
              - 'Find-DomainUserEvent'
              - 'Find-DomainUserLocation'
              - 'Find-ForeignGroup'
              - 'Find-ForeignUser'
              - 'Find-GPOComputerAdmin'
              - 'Find-GPOLocation'
              - 'Find-Interesting' # 'Find-InterestingDomainAcl', 'Find-InterestingDomainShareFile', 'Find-InterestingFile'
              - 'Find-LocalAdminAccess'
              - 'Find-ManagedSecurityGroups'
              # - 'Get-ADObject'
              - 'Get-CachedRDPConnection'
              - 'Get-DFSshare'
              # - 'Get-DNSRecord'
              # - 'Get-DNSZone'
              # - 'Get-Domain'
              - 'Get-DomainComputer'
              - 'Get-DomainController'
              - 'Get-DomainDFSShare'
              - 'Get-DomainDNSRecord'
              # - 'Get-DomainDNSZone'
              - 'Get-DomainFileServer'
              - 'Get-DomainForeign' # 'Get-DomainForeignGroupMember', 'Get-DomainForeignUser'
              - 'Get-DomainGPO' # 'Get-DomainGPOComputerLocalGroupMapping', 'Get-DomainGPOLocalGroup', 'Get-DomainGPOUserLocalGroupMapping'
              - 'Get-DomainGroup' # 'Get-DomainGroupMember'
              - 'Get-DomainGUIDMap'
              - 'Get-DomainManagedSecurityGroup'
              - 'Get-DomainObject' # 'Get-DomainObjectAcl'
              - 'Get-DomainOU'
              - 'Get-DomainPolicy' # 'Get-DomainPolicyData'
              - 'Get-DomainSID'
              - 'Get-DomainSite'
              - 'Get-DomainSPNTicket'
              - 'Get-DomainSubnet'
              - 'Get-DomainTrust' # 'Get-DomainTrustMapping'
              # - 'Get-DomainUser'
              - 'Get-DomainUserEvent'
              # - 'Get-Forest'
              - 'Get-ForestDomain'
              - 'Get-ForestGlobalCatalog'
              - 'Get-ForestTrust'
              - 'Get-GptTmpl'
              - 'Get-GroupsXML'
              # - 'Get-GUIDMap'
              # - 'Get-IniContent'
              # - 'Get-IPAddress'
              - 'Get-LastLoggedOn'
              - 'Get-LoggedOnLocal'
              - 'Get-NetComputer' # 'Get-NetComputerSiteName'
              - 'Get-NetDomain' # 'Get-NetDomainController', 'Get-NetDomainTrust'
              - 'Get-NetFileServer'
              - 'Get-NetForest' # 'Get-NetForestCatalog', 'Get-NetForestDomain', 'Get-NetForestTrust'
              - 'Get-NetGPO' # 'Get-NetGPOGroup'
              # - 'Get-NetGroup'
              - 'Get-NetGroupMember'
              - 'Get-NetLocalGroup' # 'Get-NetLocalGroupMember'
              - 'Get-NetLoggedon'
              - 'Get-NetOU'
              - 'Get-NetProcess'
              - 'Get-NetRDPSession'
              - 'Get-NetSession'
              - 'Get-NetShare'
              - 'Get-NetSite'
              - 'Get-NetSubnet'
              - 'Get-NetUser'
              # - 'Get-ObjectAcl'
              - 'Get-PathAcl'
              - 'Get-PrincipalContext'
              # - 'Get-Proxy'
              - 'Get-RegistryMountedDrive'
              - 'Get-RegLoggedOn'
              # - 'Get-SiteName'
              # - 'Get-UserEvent'
              # - 'Get-WMIProcess'
              - 'Get-WMIRegCachedRDPConnection'
              - 'Get-WMIRegLastLoggedOn'
              - 'Get-WMIRegMountedDrive'
              - 'Get-WMIRegProxy'
              - 'Invoke-ACLScanner'
              - 'Invoke-CheckLocalAdminAccess'
              - 'Invoke-Kerberoast'
              - 'Invoke-MapDomainTrust'
              - 'Invoke-RevertToSelf'
              - 'Invoke-Sharefinder'
              - 'Invoke-UserImpersonation'
              # - 'New-DomainGroup'
              # - 'New-DomainUser'
              - 'Remove-DomainObjectAcl'
              - 'Remove-RemoteConnection'
              - 'Request-SPNTicket'
              # - 'Resolve-IPAddress'
              # - 'Set-ADObject'
              - 'Set-DomainObject'
              # - 'Set-DomainUserPassword'
              - 'Test-AdminAccess'
    condition: selection
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_hktl_sharpview/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - OriginalFileName: 'SharpView.exe'
    - Image|endswith: '\SharpView.exe'
    - CommandLine|contains:
          - 'Add-RemoteConnection'
          - 'Convert-ADName'
          - 'ConvertFrom-SID'
          - 'ConvertFrom-UACValue'
          - 'Convert-SidToName'
          - 'Export-PowerViewCSV'
          - 'Find-DomainObjectPropertyOutlier'
          - 'Find-DomainProcess'
          - 'Find-DomainShare'
          - 'Find-DomainUserEvent'
          - 'Find-DomainUserLocation'
          - 'Find-ForeignGroup'
          - 'Find-ForeignUser'
          - 'Find-GPOComputerAdmin'
          - 'Find-GPOLocation'
          - 'Find-Interesting'
          - 'Find-LocalAdminAccess'
          - 'Find-ManagedSecurityGroups'
          - 'Get-CachedRDPConnection'
          - 'Get-DFSshare'
          - 'Get-DomainComputer'
          - 'Get-DomainController'
          - 'Get-DomainDFSShare'
          - 'Get-DomainDNSRecord'
          - 'Get-DomainFileServer'
          - 'Get-DomainForeign'
          - 'Get-DomainGPO'
          - 'Get-DomainGroup'
          - 'Get-DomainGUIDMap'
          - 'Get-DomainManagedSecurityGroup'
          - 'Get-DomainObject'
          - 'Get-DomainOU'
          - 'Get-DomainPolicy'
          - 'Get-DomainSID'
          - 'Get-DomainSite'
          - 'Get-DomainSPNTicket'
          - 'Get-DomainSubnet'
          - 'Get-DomainTrust'
          - 'Get-DomainUserEvent'
          - 'Get-ForestDomain'
          - 'Get-ForestGlobalCatalog'
          - 'Get-ForestTrust'
          - 'Get-GptTmpl'
          - 'Get-GroupsXML'
          - 'Get-LastLoggedOn'
          - 'Get-LoggedOnLocal'
          - 'Get-NetComputer'
          - 'Get-NetDomain'
          - 'Get-NetFileServer'
          - 'Get-NetForest'
          - 'Get-NetGPO'
          - 'Get-NetGroupMember'
          - 'Get-NetLocalGroup'
          - 'Get-NetLoggedon'
          - 'Get-NetOU'
          - 'Get-NetProcess'
          - 'Get-NetRDPSession'
          - 'Get-NetSession'
          - 'Get-NetShare'
          - 'Get-NetSite'
          - 'Get-NetSubnet'
          - 'Get-NetUser'
          - 'Get-PathAcl'
          - 'Get-PrincipalContext'
          - 'Get-RegistryMountedDrive'
          - 'Get-RegLoggedOn'
          - 'Get-WMIRegCachedRDPConnection'
          - 'Get-WMIRegLastLoggedOn'
          - 'Get-WMIRegMountedDrive'
          - 'Get-WMIRegProxy'
          - 'Invoke-ACLScanner'
          - 'Invoke-CheckLocalAdminAccess'
          - 'Invoke-Kerberoast'
          - 'Invoke-MapDomainTrust'
          - 'Invoke-RevertToSelf'
          - 'Invoke-Sharefinder'
          - 'Invoke-UserImpersonation'
          - 'Remove-DomainObjectAcl'
          - 'Remove-RemoteConnection'
          - 'Request-SPNTicket'
          - 'Set-DomainObject'
          - 'Test-AdminAccess'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • Add-RemoteConnection
  • Convert-ADName
  • Convert-SidToName
  • ConvertFrom-SID
  • ConvertFrom-UACValue
  • Export-PowerViewCSV
  • Find-DomainObjectPropertyOutlier
  • Find-DomainProcess
  • Find-DomainShare
  • Find-DomainUserEvent
  • Find-DomainUserLocation
  • Find-ForeignGroup
  • Find-ForeignUser
  • Find-GPOComputerAdmin
  • Find-GPOLocation corpus 2 (sigma 2)
  • Find-Interesting
  • Find-LocalAdminAccess
  • Find-ManagedSecurityGroups
  • Get-CachedRDPConnection
  • Get-DFSshare
  • Get-DomainComputer corpus 2 (sigma 1, splunk 1)
  • Get-DomainController corpus 2 (sigma 1, splunk 1)
  • Get-DomainDFSShare
  • Get-DomainDNSRecord
  • Get-DomainFileServer
  • Get-DomainForeign
  • Get-DomainGPO
  • Get-DomainGUIDMap
  • Get-DomainGroup corpus 2 (sigma 1, splunk 1)
  • Get-DomainManagedSecurityGroup
  • Get-DomainOU
  • Get-DomainObject
  • Get-DomainPolicy corpus 2 (sigma 1, splunk 1)
  • Get-DomainSID
  • Get-DomainSPNTicket
  • Get-DomainSite
  • Get-DomainSubnet
  • Get-DomainTrust corpus 2 (sigma 1, splunk 1)
  • Get-DomainUserEvent
  • Get-ForestDomain
  • +42 more values (see full rule source)
field:"CommandLine" kind:match
Imageends_with
  • \SharpView.exe
field:"Image" kind:ends_with value:"\SharpView.exe"
OriginalFileNameeq
  • SharpView.exe
field:"OriginalFileName" kind:eq value:"SharpView.exe"

Leviathan Registry Key Activity

#
Status
test
Severity
critical
Author
Aidan Bracher
Source
github.com/SigmaHQ/sigma

Detects registry key used by Leviathan APT in Malaysian focused campaign

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Leviathan Registry Key Activity
id: 70d43542-cd2d-483c-8f30-f16b436fd7db
status: test
description: Detects registry key used by Leviathan APT in Malaysian focused campaign
references:
    - https://www.elastic.co/blog/advanced-techniques-used-in-malaysian-focused-apt-campaign
author: Aidan Bracher
date: 2020-07-07
modified: 2023-09-19
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1547.001
    - detection.emerging-threats
logsource:
    category: registry_event
    product: windows
detection:
    selection:
        TargetObject|contains: '\Software\Microsoft\Windows\CurrentVersion\Run\ntkd'
    condition: selection
level: critical

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|contains: '\Software\Microsoft\Windows\CurrentVersion\Run\ntkd'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectmatch
  • \Software\Microsoft\Windows\CurrentVersion\Run\ntkd
field:"TargetObject" kind:match value:"\Software\Microsoft\Windows\CurrentVersion\Run\ntkd"

Malware Shellcode in Verclsid Target Process

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

Detects a process access to verclsid.exe that injects shellcode from a Microsoft Office application / VBA macro

MITRE ATT&CK Coverage

TacticTechniques
Privilege Escalation
Stealth

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 10: ProcessAccess

Rule Body

title: Malware Shellcode in Verclsid Target Process
id: b7967e22-3d7e-409b-9ed5-cdae3f9243a1
status: test
description: Detects a process access to verclsid.exe that injects shellcode from a Microsoft Office application / VBA macro
references:
    - https://twitter.com/JohnLaTwC/status/837743453039534080
author: John Lambert (tech), Florian Roth (Nextron Systems)
date: 2017-03-04
modified: 2021-11-27
tags:
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1055
    - detection.emerging-threats
logsource:
    category: process_access
    product: windows
    definition: 'Requirements: The following config is required to generate the necessary Event ID 10 Process Access events: <ProcessAccess onmatch="include"><CallTrace condition="contains">VBE7.DLL</CallTrace></ProcessAccess><ProcessAccess onmatch="exclude"><CallTrace condition="excludes">UNKNOWN</CallTrace></ProcessAccess>'
detection:
    selection_target:
        TargetImage|endswith: '\verclsid.exe'
        GrantedAccess: '0x1FFFFF'
    selection_calltrace_1:
        CallTrace|contains|all:
            - '|UNKNOWN('
            - 'VBE7.DLL'
    selection_calltrace_2:
        SourceImage|contains: '\Microsoft Office\'
        CallTrace|contains: '|UNKNOWN'
    condition: selection_target and 1 of selection_calltrace_*
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection_target and 1 of selection_calltrace_*

Stage 1: selection_target

selection_target:
    TargetImage|endswith: '\verclsid.exe'
    GrantedAccess: '0x1FFFFF'

Stage 2: selection_calltrace_1

selection_calltrace_1:
    CallTrace|contains|all:
        - '|UNKNOWN('
        - 'VBE7.DLL'

Stage 3: selection_calltrace_2

selection_calltrace_2:
    SourceImage|contains: '\Microsoft Office\'
    CallTrace|contains: '|UNKNOWN'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CallTracematch
  • VBE7.DLL
  • |UNKNOWN
  • |UNKNOWN( corpus 2 (sigma 2)
field:"CallTrace" kind:match
GrantedAccesseq
  • 0x1FFFFF corpus 9 (sigma 7, splunk 1, kusto 1)
field:"GrantedAccess" kind:eq value:"0x1FFFFF"
SourceImagematch
  • \Microsoft Office\
field:"SourceImage" kind:match value:"\Microsoft Office\"
TargetImageends_with
  • \verclsid.exe
field:"TargetImage" kind:ends_with value:"\verclsid.exe"

Named Pipe Created Via Mkfifo

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

Detects the creation of a new named pipe using the "mkfifo" utility

MITRE ATT&CK Coverage

TacticTechniques
ExecutionNo specific technique

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: Named Pipe Created Via Mkfifo
id: 9d779ce8-5256-4b13-8b6f-b91c602b43f4
status: test
description: Detects the creation of a new named pipe using the "mkfifo" utility
references:
    - https://dev.to/0xbf/use-mkfifo-to-create-named-pipe-linux-tips-5bbk
    - https://www.mandiant.com/resources/blog/barracuda-esg-exploited-globally
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-06-16
tags:
    - attack.execution
logsource:
    category: process_creation
    product: linux
detection:
    selection:
        Image|endswith: '/mkfifo'
    condition: selection
falsepositives:
    - Unknown
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '/mkfifo'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • /mkfifo corpus 2 (sigma 2)
field:"Image" kind:ends_with value:"/mkfifo"

Network Communication With Crypto Mining Pool

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

Detects initiated network connections to crypto mining pools. It indicates that the system is likely infected with a crypto miner malware or is being used for crypto mining.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 3: Network connection

Rule Body

title: Network Communication With Crypto Mining Pool
id: fa5b1358-b040-4403-9868-15f7d9ab6329
status: stable
description: |
    Detects initiated network connections to crypto mining pools.
    It indicates that the system is likely infected with a crypto miner malware or is being used for crypto mining.
references:
    - https://www.poolwatch.io/coin/monero
    - https://github.com/stamparm/maltrail/blob/da082537e0f37b9dece3a6998583e43bb5709c4e/trails/static/suspicious/crypto_mining.txt
    - https://www.virustotal.com/gui/search/behaviour_network%253A*.miningocean.org/files
author: Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
date: 2021-10-26
modified: 2026-07-24
tags:
    - attack.impact
    - attack.t1496
logsource:
    category: network_connection
    product: windows
detection:
    selection:
        DestinationHostname:
            - 'aeon-pool.com'
            - 'alimabi.cn'
            - 'ap.luckpool.net'
            - 'api.fastpool.xyz'
            - 'auto.c3pool.org'
            - 'awgoaigartnj-xmr.com'
            - 'backup.fastpool.xyz'
            - 'bcn.pool.minergate.com'
            - 'bcn.vip.pool.minergate.com'
            - 'bizxmr.cc'
            - 'bmpool.org'
            - 'bohemianpool.com'
            - 'byw.dscloud.me'
            - 'c3.wptask.cyou'
            - 'c3pool.org'
            - 'ca-aipg.miningocean.org'
            - 'ca-dynex.miningocean.org'
            - 'ca-neurai.miningocean.org'
            - 'ca-qrl.miningocean.org'
            - 'ca-upx.miningocean.org'
            - 'ca-zephyr.miningocean.org'
            - 'ca.minexmr.com'
            - 'ca.monero.herominers.com'
            - 'cbd.monerpool.org'
            - 'cbdv2.monerpool.org'
            - 'community-pools.mysrv.cloud'
            - 'covid19crypto.com'
            - 'cryptmonero.com'
            - 'crypto-pool.fr'
            - 'crypto-pool.info'
            - 'cryptominded.com'
            - 'cryptonight-hub.miningpoolhub.com'
            - 'd1pool.ddns.net'
            - 'd5pool.us'
            - 'daili01.monerpool.org'
            - 'de-aipg.miningocean.org'
            - 'de-dynex.miningocean.org'
            - 'de-zephyr.miningocean.org'
            - 'de.minexmr.com'
            - 'de.moneroocean.stream'
            - 'de.salvium.herominers.com'
            - 'de.zephyr.herominers.com'
            - 'dl.nbminer.com'
            - 'donate.graef.in'
            - 'donate.ssl.xmrig.com'
            - 'donate.v2.xmrig.com'
            - 'donate.xmrig.com'
            - 'donate2.graef.in'
            - 'drill.moneroworld.com'
            - 'dwarfpool.com'
            - 'emercoin.com'
            - 'emercoin.net'
            - 'emergate.net'
            - 'ethereumpool.co'
            - 'eu.luckpool.net'
            - 'eu.minerpool.pw'
            - 'f2pool.com'
            - 'fastpool.xyz'
            - 'fcn-xmr.pool.minergate.com'
            - 'fee.xmrig.com'
            - 'fi.moneroocean.stream'
            - 'fr-aipg.miningocean.org'
            - 'fr-dynex.miningocean.org'
            - 'fr-neurai.miningocean.org'
            - 'fr-qrl.miningocean.org'
            - 'fr-tarirx.luckypool.io'
            - 'fr-upx.miningocean.org'
            - 'fr-zephyr.miningocean.org'
            - 'fr.minexmr.com'
            - 'fr.moneroocean.stream'
            - 'friendspool.club'
            - 'ftp.fastpool.xyz'
            - 'gandalph3000.com'
            - 'googleminer.com'
            - 'grin.2miners.com'
            - 'gulf.moneroocean.stream'
            - 'hellominer.com'
            - 'herominers.com'
            - 'hk-aipg.miningocean.org'
            - 'hk-dynex.miningocean.org'
            - 'hk-neurai.miningocean.org'
            - 'hk-qrl.miningocean.org'
            - 'hk-upx.miningocean.org'
            - 'hk-zephyr.miningocean.org'
            - 'hns.f2pool.com'
            - 'huadong1-aeon.ppxxmr.com'
            - 'imap.fastpool.xyz'
            - 'iwanttoearn.money'
            - 'joulecoin.org'
            - 'jp.moneroocean.stream'
            - 'jw-js1.ppxxmr.com'
            - 'koto-pool.work'
            - 'kronecoin.org'
            - 'kryptex.network'
            - 'kubo.ultra-pool.com'
            - 'lhr.nbminer.com'
            - 'lhr3.nbminer.com'
            - 'linux.monerpool.org'
            - 'litecoinpool.org'
            - 'lokiturtle.herominers.com'
            - 'luckpool.net'
            - 'luckypool.io'
            - 'mail.fastpool.xyz'
            - 'masari.miner.rocks'
            - 'mine.aeon-pool.com'
            - 'mine.bmpool.org'
            - 'mine.c3pool.com'
            - 'mine.fastpool.xyz'
            - 'mine.lesliejust.is'
            - 'mine.moneropool.com'
            - 'mine.ppxxmr.com'
            - 'mine.zpool.ca'
            - 'mine1.ppxxmr.com'
            - 'minemonero.gq'
            - 'miner.ppxxmr.com'
            - 'miner.rocks'
            - 'minercircle.com'
            - 'minergate.com'
            - 'minerpool.pw'
            - 'minerrocks.com'
            - 'miners.pro'
            - 'minerxmr.ru'
            - 'minexmr.cn'
            - 'minexmr.com'
            - 'mining-help.ru'
            - 'mining.bittubeapp.com'
            - 'miningocean.org'
            - 'miningpoolhub.com'
            - 'miningrigrentals.com'
            - 'mixpools.org'
            - 'moner.monerpool.org'
            - 'moner1min.monerpool.org'
            - 'monero-master.crypto-pool.fr'
            - 'monero.crypto-pool.fr'
            - 'monero.hashvault.pro'
            - 'monero.herominers.com'
            - 'monero.lindon-pool.win'
            - 'monero.miners.pro'
            - 'monero.riefly.id'
            - 'monero.us.to'
            - 'monerocean.stream'
            - 'monerogb.com'
            - 'monerohash.com'
            - 'moneroocean.stream'
            - 'monerooceans.stream'
            - 'moneropool.com'
            - 'moneropool.nl'
            - 'monerorx.com'
            - 'monerpool.org'
            - 'moriaxmr.com'
            - 'mro.pool.minergate.com'
            - 'multipool.us'
            - 'myxmr.pw'
            - 'na.luckpool.net'
            - 'nanopool.org'
            - 'nbminer.com'
            - 'node.btx.tools'
            - 'node3.luckpool.net'
            - 'noobxmr.com'
            - 'p06.2miners.com'
            - 'pangolinminer.com'
            - 'pool-de.supportxmr.com'
            - 'pool-fr.supportxmr.com'
            - 'pool-nyc.supportxmr.com'
            - 'pool-phx.supportxmr.com'
            - 'pool.4i7i.com'
            - 'pool.armornetwork.org'
            - 'pool.awgoaigartnj-xmr.com'
            - 'pool.cortins.tk'
            - 'pool.gntl.co.uk'
            - 'pool.hashvault.pro'
            - 'pool.minergate.com'
            - 'pool.minexmr.com'
            - 'pool.minexmr.uk'
            - 'pool.monero.hashvault.pro'
            - 'pool.ppxxmr.com'
            - 'pool.somec.cc'
            - 'pool.support'
            - 'pool.supportxmr.com'
            - 'pool.usa-138.com'
            - 'pool.xmr.pt'
            - 'pool.xmrfast.com'
            - 'pool2.armornetwork.org'
            - 'poolchange.ppxxmr.com'
            - 'pooldd.com'
            - 'poolmining.org'
            - 'poolto.be'
            - 'pop.fastpool.xyz'
            - 'ppxvip1.ppxxmr.com'
            - 'ppxxmr.com'
            - 'prohash.net'
            - 'r.twotouchauthentication.online'
            - 'randomx.xmrig.com'
            - 'ratchetmining.com'
            - 'rx.unmineable.com'
            - 'salvium.herominers.com'
            - 'seed.emercoin.com'
            - 'seed.emercoin.net'
            - 'seed.emergate.net'
            - 'seed.kronecoin.org'
            - 'seed.titcoinpool.com'
            - 'seed.titcoins.info'
            - 'seed1.joulecoin.org'
            - 'seed2.joulecoin.org'
            - 'seed3.joulecoin.org'
            - 'seed4.joulecoin.org'
            - 'seed5.joulecoin.org'
            - 'seed6.joulecoin.org'
            - 'seed7.joulecoin.org'
            - 'seed8.joulecoin.org'
            - 'sg-aipg.miningocean.org'
            - 'sg-dynex.miningocean.org'
            - 'sg-neurai.miningocean.org'
            - 'sg-qrl.miningocean.org'
            - 'sg-upx.miningocean.org'
            - 'sg-zephyr.miningocean.org'
            - 'sg.minexmr.com'
            - 'sheepman.mine.bz'
            - 'siamining.com'
            - 'smtp.fastpool.xyz'
            - 'solarray.club'
            - 'solo-grin.2miners.com'
            - 'solo-grin.2miners.ru'
            - 'solo-xmr.2miners.com'
            - 'solo-xmr.2miners.ru'
            - 'soloxmr2min.dyndns.org'
            - 'sparechange.io'
            - 'ssl.fastpool.xyz'
            - 'sumokoin.minerrocks.com'
            - 'supportxmr.com'
            - 'suprnova.cc'
            - 'system-check.services'
            - 'system-update.info'
            - 'teracycle.net'
            - 'titcoinpool.com'
            - 'titcoins.info'
            - 'tpool.yiluzhuanqian.com'
            - 'trtl.cnpool.cc'
            - 'trtl.pool.mine2gether.com'
            - 'turtle.miner.rocks'
            - 'ultra-pool.com'
            - 'unmineable.com'
            - 'us-aipg.miningocean.org'
            - 'us-dynex.miningocean.org'
            - 'us-grin.2miners.com'
            - 'us-neurai.miningocean.org'
            - 'us-west.minexmr.com'
            - 'us-zephyr.miningocean.org'
            - 'usxmrpool.com'
            - 'viaxmr.com'
            - 'web.xmrpool.eu'
            - 'webservicepag.webhop.net'
            - 'winxmr.club'
            - 'x109.node.btx.tools'
            - 'xcn1.yiluzhuanqian.com'
            - 'xiazai.monerpool.org'
            - 'xiazai1.monerpool.org'
            - 'xmc.pool.minergate.com'
            - 'xmo.pool.minergate.com'
            - 'xmr-asia1.nanopool.org'
            - 'xmr-au1.nanopool.org'
            - 'xmr-eu1.nanopool.org'
            - 'xmr-eu2.nanopool.org'
            - 'xmr-jp1.nanopool.org'
            - 'xmr-us-east1.nanopool.org'
            - 'xmr-us-west1.nanopool.org'
            - 'xmr-us.suprnova.cc'
            - 'xmr-usa.dwarfpool.com'
            - 'xmr.2miners.com'
            - 'xmr.5b6b7b.ru'
            - 'xmr.748pz.net'
            - 'xmr.alimabi.cn'
            - 'xmr.bepooh.com'
            - 'xmr.bohemianpool.com'
            - 'xmr.crypto-pool.fr'
            - 'xmr.crypto-pool.info'
            - 'xmr.f2pool.com'
            - 'xmr.hashcity.org'
            - 'xmr.hex7e4.ru'
            - 'xmr.ip28.net'
            - 'xmr.kryptex.network'
            - 'xmr.monerpool.org'
            - 'xmr.mypool.online'
            - 'xmr.nanopool.org'
            - 'xmr.pool.gntl.co.uk'
            - 'xmr.pool.minergate.com'
            - 'xmr.poolto.be'
            - 'xmr.ppxxmr.com'
            - 'xmr.prohash.net'
            - 'xmr.simka.pw'
            - 'xmr.somec.cc'
            - 'xmr.suprnova.cc'
            - 'xmr.usa-138.com'
            - 'xmr.vip.pool.minergate.com'
            - 'xmr.yiluzhuanqian.com'
            - 'xmr1min.monerpool.org'
            - 'xmrf.520fjh.org'
            - 'xmrf.fjhan.club'
            - 'xmrfast.com'
            - 'xmrigcc.graef.in'
            - 'xmrminer.cc'
            - 'xmrpool.de'
            - 'xmrpool.eu'
            - 'xmrpool.me'
            - 'xmrpool.net'
            - 'xmrpool.xyz'
            - 'xx11m.monerpool.org'
            - 'xx11mv2.monerpool.org'
            - 'xxx.hex7e4.ru'
            - 'yes.fastpool.xyz'
            - 'zarabotaibitok.ru'
            - 'zeph-eu2.nanopool.org'
            - 'zeph.2miners.com'
            - 'zephyr.herominers.com'
            - 'zer0day.ru'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    DestinationHostname:
        - 'aeon-pool.com'
        - 'alimabi.cn'
        - 'ap.luckpool.net'
        - 'api.fastpool.xyz'
        - 'auto.c3pool.org'
        - 'awgoaigartnj-xmr.com'
        - 'backup.fastpool.xyz'
        - 'bcn.pool.minergate.com'
        - 'bcn.vip.pool.minergate.com'
        - 'bizxmr.cc'
        - 'bmpool.org'
        - 'bohemianpool.com'
        - 'byw.dscloud.me'
        - 'c3.wptask.cyou'
        - 'c3pool.org'
        - 'ca-aipg.miningocean.org'
        - 'ca-dynex.miningocean.org'
        - 'ca-neurai.miningocean.org'
        - 'ca-qrl.miningocean.org'
        - 'ca-upx.miningocean.org'
        - 'ca-zephyr.miningocean.org'
        - 'ca.minexmr.com'
        - 'ca.monero.herominers.com'
        - 'cbd.monerpool.org'
        - 'cbdv2.monerpool.org'
        - 'community-pools.mysrv.cloud'
        - 'covid19crypto.com'
        - 'cryptmonero.com'
        - 'crypto-pool.fr'
        - 'crypto-pool.info'
        - 'cryptominded.com'
        - 'cryptonight-hub.miningpoolhub.com'
        - 'd1pool.ddns.net'
        - 'd5pool.us'
        - 'daili01.monerpool.org'
        - 'de-aipg.miningocean.org'
        - 'de-dynex.miningocean.org'
        - 'de-zephyr.miningocean.org'
        - 'de.minexmr.com'
        - 'de.moneroocean.stream'
        - 'de.salvium.herominers.com'
        - 'de.zephyr.herominers.com'
        - 'dl.nbminer.com'
        - 'donate.graef.in'
        - 'donate.ssl.xmrig.com'
        - 'donate.v2.xmrig.com'
        - 'donate.xmrig.com'
        - 'donate2.graef.in'
        - 'drill.moneroworld.com'
        - 'dwarfpool.com'
        - 'emercoin.com'
        - 'emercoin.net'
        - 'emergate.net'
        - 'ethereumpool.co'
        - 'eu.luckpool.net'
        - 'eu.minerpool.pw'
        - 'f2pool.com'
        - 'fastpool.xyz'
        - 'fcn-xmr.pool.minergate.com'
        - 'fee.xmrig.com'
        - 'fi.moneroocean.stream'
        - 'fr-aipg.miningocean.org'
        - 'fr-dynex.miningocean.org'
        - 'fr-neurai.miningocean.org'
        - 'fr-qrl.miningocean.org'
        - 'fr-tarirx.luckypool.io'
        - 'fr-upx.miningocean.org'
        - 'fr-zephyr.miningocean.org'
        - 'fr.minexmr.com'
        - 'fr.moneroocean.stream'
        - 'friendspool.club'
        - 'ftp.fastpool.xyz'
        - 'gandalph3000.com'
        - 'googleminer.com'
        - 'grin.2miners.com'
        - 'gulf.moneroocean.stream'
        - 'hellominer.com'
        - 'herominers.com'
        - 'hk-aipg.miningocean.org'
        - 'hk-dynex.miningocean.org'
        - 'hk-neurai.miningocean.org'
        - 'hk-qrl.miningocean.org'
        - 'hk-upx.miningocean.org'
        - 'hk-zephyr.miningocean.org'
        - 'hns.f2pool.com'
        - 'huadong1-aeon.ppxxmr.com'
        - 'imap.fastpool.xyz'
        - 'iwanttoearn.money'
        - 'joulecoin.org'
        - 'jp.moneroocean.stream'
        - 'jw-js1.ppxxmr.com'
        - 'koto-pool.work'
        - 'kronecoin.org'
        - 'kryptex.network'
        - 'kubo.ultra-pool.com'
        - 'lhr.nbminer.com'
        - 'lhr3.nbminer.com'
        - 'linux.monerpool.org'
        - 'litecoinpool.org'
        - 'lokiturtle.herominers.com'
        - 'luckpool.net'
        - 'luckypool.io'
        - 'mail.fastpool.xyz'
        - 'masari.miner.rocks'
        - 'mine.aeon-pool.com'
        - 'mine.bmpool.org'
        - 'mine.c3pool.com'
        - 'mine.fastpool.xyz'
        - 'mine.lesliejust.is'
        - 'mine.moneropool.com'
        - 'mine.ppxxmr.com'
        - 'mine.zpool.ca'
        - 'mine1.ppxxmr.com'
        - 'minemonero.gq'
        - 'miner.ppxxmr.com'
        - 'miner.rocks'
        - 'minercircle.com'
        - 'minergate.com'
        - 'minerpool.pw'
        - 'minerrocks.com'
        - 'miners.pro'
        - 'minerxmr.ru'
        - 'minexmr.cn'
        - 'minexmr.com'
        - 'mining-help.ru'
        - 'mining.bittubeapp.com'
        - 'miningocean.org'
        - 'miningpoolhub.com'
        - 'miningrigrentals.com'
        - 'mixpools.org'
        - 'moner.monerpool.org'
        - 'moner1min.monerpool.org'
        - 'monero-master.crypto-pool.fr'
        - 'monero.crypto-pool.fr'
        - 'monero.hashvault.pro'
        - 'monero.herominers.com'
        - 'monero.lindon-pool.win'
        - 'monero.miners.pro'
        - 'monero.riefly.id'
        - 'monero.us.to'
        - 'monerocean.stream'
        - 'monerogb.com'
        - 'monerohash.com'
        - 'moneroocean.stream'
        - 'monerooceans.stream'
        - 'moneropool.com'
        - 'moneropool.nl'
        - 'monerorx.com'
        - 'monerpool.org'
        - 'moriaxmr.com'
        - 'mro.pool.minergate.com'
        - 'multipool.us'
        - 'myxmr.pw'
        - 'na.luckpool.net'
        - 'nanopool.org'
        - 'nbminer.com'
        - 'node.btx.tools'
        - 'node3.luckpool.net'
        - 'noobxmr.com'
        - 'p06.2miners.com'
        - 'pangolinminer.com'
        - 'pool-de.supportxmr.com'
        - 'pool-fr.supportxmr.com'
        - 'pool-nyc.supportxmr.com'
        - 'pool-phx.supportxmr.com'
        - 'pool.4i7i.com'
        - 'pool.armornetwork.org'
        - 'pool.awgoaigartnj-xmr.com'
        - 'pool.cortins.tk'
        - 'pool.gntl.co.uk'
        - 'pool.hashvault.pro'
        - 'pool.minergate.com'
        - 'pool.minexmr.com'
        - 'pool.minexmr.uk'
        - 'pool.monero.hashvault.pro'
        - 'pool.ppxxmr.com'
        - 'pool.somec.cc'
        - 'pool.support'
        - 'pool.supportxmr.com'
        - 'pool.usa-138.com'
        - 'pool.xmr.pt'
        - 'pool.xmrfast.com'
        - 'pool2.armornetwork.org'
        - 'poolchange.ppxxmr.com'
        - 'pooldd.com'
        - 'poolmining.org'
        - 'poolto.be'
        - 'pop.fastpool.xyz'
        - 'ppxvip1.ppxxmr.com'
        - 'ppxxmr.com'
        - 'prohash.net'
        - 'r.twotouchauthentication.online'
        - 'randomx.xmrig.com'
        - 'ratchetmining.com'
        - 'rx.unmineable.com'
        - 'salvium.herominers.com'
        - 'seed.emercoin.com'
        - 'seed.emercoin.net'
        - 'seed.emergate.net'
        - 'seed.kronecoin.org'
        - 'seed.titcoinpool.com'
        - 'seed.titcoins.info'
        - 'seed1.joulecoin.org'
        - 'seed2.joulecoin.org'
        - 'seed3.joulecoin.org'
        - 'seed4.joulecoin.org'
        - 'seed5.joulecoin.org'
        - 'seed6.joulecoin.org'
        - 'seed7.joulecoin.org'
        - 'seed8.joulecoin.org'
        - 'sg-aipg.miningocean.org'
        - 'sg-dynex.miningocean.org'
        - 'sg-neurai.miningocean.org'
        - 'sg-qrl.miningocean.org'
        - 'sg-upx.miningocean.org'
        - 'sg-zephyr.miningocean.org'
        - 'sg.minexmr.com'
        - 'sheepman.mine.bz'
        - 'siamining.com'
        - 'smtp.fastpool.xyz'
        - 'solarray.club'
        - 'solo-grin.2miners.com'
        - 'solo-grin.2miners.ru'
        - 'solo-xmr.2miners.com'
        - 'solo-xmr.2miners.ru'
        - 'soloxmr2min.dyndns.org'
        - 'sparechange.io'
        - 'ssl.fastpool.xyz'
        - 'sumokoin.minerrocks.com'
        - 'supportxmr.com'
        - 'suprnova.cc'
        - 'system-check.services'
        - 'system-update.info'
        - 'teracycle.net'
        - 'titcoinpool.com'
        - 'titcoins.info'
        - 'tpool.yiluzhuanqian.com'
        - 'trtl.cnpool.cc'
        - 'trtl.pool.mine2gether.com'
        - 'turtle.miner.rocks'
        - 'ultra-pool.com'
        - 'unmineable.com'
        - 'us-aipg.miningocean.org'
        - 'us-dynex.miningocean.org'
        - 'us-grin.2miners.com'
        - 'us-neurai.miningocean.org'
        - 'us-west.minexmr.com'
        - 'us-zephyr.miningocean.org'
        - 'usxmrpool.com'
        - 'viaxmr.com'
        - 'web.xmrpool.eu'
        - 'webservicepag.webhop.net'
        - 'winxmr.club'
        - 'x109.node.btx.tools'
        - 'xcn1.yiluzhuanqian.com'
        - 'xiazai.monerpool.org'
        - 'xiazai1.monerpool.org'
        - 'xmc.pool.minergate.com'
        - 'xmo.pool.minergate.com'
        - 'xmr-asia1.nanopool.org'
        - 'xmr-au1.nanopool.org'
        - 'xmr-eu1.nanopool.org'
        - 'xmr-eu2.nanopool.org'
        - 'xmr-jp1.nanopool.org'
        - 'xmr-us-east1.nanopool.org'
        - 'xmr-us-west1.nanopool.org'
        - 'xmr-us.suprnova.cc'
        - 'xmr-usa.dwarfpool.com'
        - 'xmr.2miners.com'
        - 'xmr.5b6b7b.ru'
        - 'xmr.748pz.net'
        - 'xmr.alimabi.cn'
        - 'xmr.bepooh.com'
        - 'xmr.bohemianpool.com'
        - 'xmr.crypto-pool.fr'
        - 'xmr.crypto-pool.info'
        - 'xmr.f2pool.com'
        - 'xmr.hashcity.org'
        - 'xmr.hex7e4.ru'
        - 'xmr.ip28.net'
        - 'xmr.kryptex.network'
        - 'xmr.monerpool.org'
        - 'xmr.mypool.online'
        - 'xmr.nanopool.org'
        - 'xmr.pool.gntl.co.uk'
        - 'xmr.pool.minergate.com'
        - 'xmr.poolto.be'
        - 'xmr.ppxxmr.com'
        - 'xmr.prohash.net'
        - 'xmr.simka.pw'
        - 'xmr.somec.cc'
        - 'xmr.suprnova.cc'
        - 'xmr.usa-138.com'
        - 'xmr.vip.pool.minergate.com'
        - 'xmr.yiluzhuanqian.com'
        - 'xmr1min.monerpool.org'
        - 'xmrf.520fjh.org'
        - 'xmrf.fjhan.club'
        - 'xmrfast.com'
        - 'xmrigcc.graef.in'
        - 'xmrminer.cc'
        - 'xmrpool.de'
        - 'xmrpool.eu'
        - 'xmrpool.me'
        - 'xmrpool.net'
        - 'xmrpool.xyz'
        - 'xx11m.monerpool.org'
        - 'xx11mv2.monerpool.org'
        - 'xxx.hex7e4.ru'
        - 'yes.fastpool.xyz'
        - 'zarabotaibitok.ru'
        - 'zeph-eu2.nanopool.org'
        - 'zeph.2miners.com'
        - 'zephyr.herominers.com'
        - 'zer0day.ru'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
DestinationHostnameeq
  • aeon-pool.com
  • alimabi.cn
  • ap.luckpool.net
  • api.fastpool.xyz
  • auto.c3pool.org
  • awgoaigartnj-xmr.com
  • backup.fastpool.xyz
  • bcn.pool.minergate.com
  • bcn.vip.pool.minergate.com
  • bizxmr.cc
  • bmpool.org
  • bohemianpool.com
  • byw.dscloud.me
  • c3.wptask.cyou
  • c3pool.org
  • ca-aipg.miningocean.org
  • ca-dynex.miningocean.org
  • ca-neurai.miningocean.org
  • ca-qrl.miningocean.org
  • ca-upx.miningocean.org
  • ca-zephyr.miningocean.org
  • ca.minexmr.com corpus 2 (sigma 2)
  • ca.monero.herominers.com
  • cbd.monerpool.org
  • cbdv2.monerpool.org
  • community-pools.mysrv.cloud
  • covid19crypto.com
  • cryptmonero.com
  • crypto-pool.fr
  • crypto-pool.info
  • cryptominded.com
  • cryptonight-hub.miningpoolhub.com
  • d1pool.ddns.net
  • d5pool.us
  • daili01.monerpool.org
  • de-aipg.miningocean.org
  • de-dynex.miningocean.org
  • de-zephyr.miningocean.org
  • de.minexmr.com corpus 2 (sigma 2)
  • de.moneroocean.stream
  • +275 more values (see full rule source)
field:"DestinationHostname" kind:eq

New Root or CA or AuthRoot Certificate to Store

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

Detects the addition of new root, CA or AuthRoot certificates to the Windows registry

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: New Root or CA or AuthRoot Certificate to Store
id: d223b46b-5621-4037-88fe-fda32eead684
status: test
description: Detects the addition of new root, CA or AuthRoot certificates to the Windows registry
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1553.004/T1553.004.md#atomic-test-6---add-root-certificate-to-currentuser-certificate-store
    - https://posts.specterops.io/code-signing-certificate-cloning-attacks-and-defenses-6f98657fc6ec
author: frack113
date: 2022-04-04
modified: 2023-08-17
tags:
    - attack.impact
    - attack.t1490
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|contains:
            - '\SOFTWARE\Microsoft\SystemCertificates\Root\Certificates\'
            - '\SOFTWARE\Policies\Microsoft\SystemCertificates\Root\Certificates\'
            - '\SOFTWARE\Microsoft\EnterpriseCertificates\Root\Certificates\'
            - '\SOFTWARE\Microsoft\SystemCertificates\CA\Certificates\'
            - '\SOFTWARE\Policies\Microsoft\SystemCertificates\CA\Certificates\'
            - '\SOFTWARE\Microsoft\EnterpriseCertificates\CA\Certificates\'
            - '\SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\'
            - '\SOFTWARE\Policies\Microsoft\SystemCertificates\AuthRoot\Certificates\'
            - '\SOFTWARE\Microsoft\EnterpriseCertificates\AuthRoot\Certificates\'
        TargetObject|endswith: '\Blob'
        Details: 'Binary Data'
    condition: selection
falsepositives:
    - Unknown
level: medium
simulation:
    - type: atomic-red-team
      name: Add Root Certificate to CurrentUser Certificate Store
      technique: T1553.004
      atomic_guid: ca20a3f1-42b5-4e21-ad3f-1049199ec2e0
regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_install_root_or_ca_certificat/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|contains:
        - '\SOFTWARE\Microsoft\SystemCertificates\Root\Certificates\'
        - '\SOFTWARE\Policies\Microsoft\SystemCertificates\Root\Certificates\'
        - '\SOFTWARE\Microsoft\EnterpriseCertificates\Root\Certificates\'
        - '\SOFTWARE\Microsoft\SystemCertificates\CA\Certificates\'
        - '\SOFTWARE\Policies\Microsoft\SystemCertificates\CA\Certificates\'
        - '\SOFTWARE\Microsoft\EnterpriseCertificates\CA\Certificates\'
        - '\SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\'
        - '\SOFTWARE\Policies\Microsoft\SystemCertificates\AuthRoot\Certificates\'
        - '\SOFTWARE\Microsoft\EnterpriseCertificates\AuthRoot\Certificates\'
    TargetObject|endswith: '\Blob'
    Details: 'Binary Data'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Detailseq
  • Binary Data corpus 5 (splunk 3, sigma 2)
field:"Details" kind:eq value:"Binary Data"
TargetObjectends_with
  • \Blob
field:"TargetObject" kind:ends_with value:"\Blob"
TargetObjectmatch
  • \SOFTWARE\Microsoft\EnterpriseCertificates\AuthRoot\Certificates\
  • \SOFTWARE\Microsoft\EnterpriseCertificates\CA\Certificates\
  • \SOFTWARE\Microsoft\EnterpriseCertificates\Root\Certificates\
  • \SOFTWARE\Microsoft\SystemCertificates\AuthRoot\Certificates\
  • \SOFTWARE\Microsoft\SystemCertificates\CA\Certificates\
  • \SOFTWARE\Microsoft\SystemCertificates\Root\Certificates\
  • \SOFTWARE\Policies\Microsoft\SystemCertificates\AuthRoot\Certificates\
  • \SOFTWARE\Policies\Microsoft\SystemCertificates\CA\Certificates\
  • \SOFTWARE\Policies\Microsoft\SystemCertificates\Root\Certificates\
field:"TargetObject" kind:match

Okta API Token Revoked

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

Detects when a API Token is revoked.

MITRE ATT&CK Coverage

TacticTechniques
ImpactNo specific technique

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: Okta API Token Revoked
id: cf1dbc6b-6205-41b4-9b88-a83980d2255b
status: test
description: Detects when a API Token is revoked.
references:
    - https://developer.okta.com/docs/reference/api/system-log/
    - https://developer.okta.com/docs/reference/api/event-types/
author: Austin Songer @austinsonger
date: 2021-09-12
modified: 2026-04-27
tags:
    - attack.impact
logsource:
    product: okta
    service: okta
detection:
    selection:
        eventType: system.api_token.revoke
    condition: selection
falsepositives:
    - Unknown

level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    eventType: system.api_token.revoke

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
eventTypeeq
  • system.api_token.revoke
field:"eventType" kind:eq value:"system.api_token.revoke"

Operation Wocao Activity - Security

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

Detects activity mentioned in Operation Wocao report

Known False Positives

  • Administrators that use checkadmin.exe tool to enumerate local administrators

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Operation Wocao Activity - Security
id: 74ad4314-482e-4c3e-b237-3f7ed3b9ca8d
status: test
description: Detects activity mentioned in Operation Wocao report
references:
    - https://web.archive.org/web/20200226212615/https://www.fox-it.com/en/news/whitepapers/operation-wocao-shining-a-light-on-one-of-chinas-hidden-hacking-groups/
    - https://web.archive.org/web/20200226212615/https://resources.fox-it.com/rs/170-CAK-271/images/201912_Report_Operation_Wocao.pdf
    - https://twitter.com/SBousseaden/status/1207671369963646976
author: Florian Roth (Nextron Systems), frack113
date: 2019-12-20
modified: 2022-11-27
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.discovery
    - attack.stealth
    - attack.t1012
    - attack.t1036.004
    - attack.t1027
    - attack.execution
    - attack.t1053.005
    - attack.t1059.001
    - detection.emerging-threats
logsource:
    product: windows
    service: security
detection:
    selection:
        EventID: 4799
        TargetUserName|startswith: 'Administr'
        CallerProcessName|endswith: '\checkadmin.exe'
    condition: selection
falsepositives:
    - Administrators that use checkadmin.exe tool to enumerate local administrators
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 4799
    TargetUserName|startswith: 'Administr'
    CallerProcessName|endswith: '\checkadmin.exe'

Indicators

These rows show field, operator, and value matches.

Potential Dosfuscation Activity

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

Detects possible payload obfuscation via the commandline

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential Dosfuscation Activity
id: a77c1610-fc73-4019-8e29-0f51efc04a51
status: test
description: Detects possible payload obfuscation via the commandline
references:
    - https://www.fireeye.com/content/dam/fireeye-www/blog/pdfs/dosfuscation-report.pdf
    - https://github.com/danielbohannon/Invoke-DOSfuscation
author: frack113, Nasreddine Bencherchali (Nextron Systems)
date: 2022-02-15
modified: 2023-03-06
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        CommandLine|contains:
            - '^^'
            - '^|^'
            - ',;,'
            - ';;;;'
            - ';; ;;'
            - '(,(,'
            - '%COMSPEC:~'
            - ' c^m^d'
            - '^c^m^d'
            - ' c^md'
            - ' cm^d'
            - '^cm^d'
            - ' s^et '
            - ' s^e^t '
            - ' se^t '
            # - '%%'
            # - '&&'
            # - '""'
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    CommandLine|contains:
        - '^^'
        - '^|^'
        - ',;,'
        - ';;;;'
        - ';; ;;'
        - '(,(,'
        - '%COMSPEC:~'
        - ' c^m^d'
        - '^c^m^d'
        - ' c^md'
        - ' cm^d'
        - '^cm^d'
        - ' s^et '
        - ' s^e^t '
        - ' se^t '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • c^m^d
  • c^md
  • cm^d
  • s^e^t
  • s^et
  • se^t
  • %COMSPEC:~
  • (,(,
  • ,;,
  • ;; ;;
  • ;;;;
  • ^^
  • ^c^m^d
  • ^cm^d
  • ^|^
field:"CommandLine" kind:match

Potential EACore.DLL Sideloading

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

Detects potential DLL sideloading of "EACore.dll"

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Potential EACore.DLL Sideloading
id: edd3ddc3-386f-4ba5-9ada-4376b2cfa7b5
status: test
description: Detects potential DLL sideloading of "EACore.dll"
references:
    - https://research.checkpoint.com/2023/beyond-the-horizon-traveling-the-world-on-camaro-dragons-usb-flash-drives/
author: X__Junior (Nextron Systems)
date: 2023-08-03
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith: '\EACore.dll'
    filter_main_legit_path:
        Image|contains|all:
            - 'C:\Program Files\Electronic Arts\EA Desktop\'
            - '\EACoreServer.exe'
        ImageLoaded|startswith: 'C:\Program Files\Electronic Arts\EA Desktop\'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

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

Stage 2: not filter_main_legit_path

filter_main_legit_path:
    Image|contains|all:
        - 'C:\Program Files\Electronic Arts\EA Desktop\'
        - '\EACoreServer.exe'
    ImageLoaded|startswith: 'C:\Program Files\Electronic Arts\EA Desktop\'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImagematchC:\Program Files\Electronic Arts\EA Desktop\excludes:Image field:"Image" value:"C:\Program Files\Electronic Arts\EA Desktop\"
Imagematch\EACoreServer.exeexcludes:Image field:"Image" value:"\EACoreServer.exe"
ImageLoadedstarts_withC:\Program Files\Electronic Arts\EA Desktop\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Program Files\Electronic Arts\EA Desktop\"

Potential Edputil.DLL Sideloading

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

Detects potential DLL sideloading of "edputil.dll"

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Potential Edputil.DLL Sideloading
id: e4903324-1a10-4ed3-981b-f6fe3be3a2c2
status: test
description: Detects potential DLL sideloading of "edputil.dll"
references:
    - https://alternativeto.net/news/2023/5/cybercriminals-use-wordpad-vulnerability-to-spread-qbot-malware/
author: X__Junior (Nextron Systems)
date: 2023-06-09
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith: '\edputil.dll'
    filter_main_generic:
        ImageLoaded|startswith:
            - 'C:\Windows\System32\'
            - 'C:\Windows\SysWOW64\'
            - '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:
    ImageLoaded|endswith: '\edputil.dll'

Stage 2: not filter_main_generic

filter_main_generic:
    ImageLoaded|startswith:
        - 'C:\Windows\System32\'
        - 'C:\Windows\SysWOW64\'
        - 'C\Windows\WinSxS\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ImageLoadedends_with
  • \edputil.dll corpus 2 (sigma 2)
field:"ImageLoaded" kind:ends_with value:"\edputil.dll"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageLoadedstarts_withC:\Windows\SysWOW64\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Windows\SysWOW64\"
ImageLoadedstarts_withC:\Windows\System32\excludes:ImageLoaded field:"ImageLoaded" value:"C:\Windows\System32\"
ImageLoadedstarts_withC\Windows\WinSxS\excludes:ImageLoaded field:"ImageLoaded" value:"C\Windows\WinSxS\"

Potential Mfdetours.DLL Sideloading

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

Detects potential DLL sideloading of "mfdetours.dll". While using "mftrace.exe" it can be abused to attach to an arbitrary process and force load any DLL named "mfdetours.dll" from the current directory of execution.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 7: Image loaded

Rule Body

title: Potential Mfdetours.DLL Sideloading
id: d2605a99-2218-4894-8fd3-2afb7946514d
status: test
description: Detects potential DLL sideloading of "mfdetours.dll". While using "mftrace.exe" it can be abused to attach to an arbitrary process and force load any DLL named "mfdetours.dll" from the current directory of execution.
references:
    - Internal Research
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-08-03
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.execution
    - attack.stealth
    - attack.t1574.001
logsource:
    category: image_load
    product: windows
detection:
    selection:
        ImageLoaded|endswith: '\mfdetours.dll'
    filter_main_legit_path:
        ImageLoaded|contains: ':\Program Files (x86)\Windows Kits\10\bin\'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unlikely
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

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

Stage 2: not filter_main_legit_path

filter_main_legit_path:
    ImageLoaded|contains: ':\Program Files (x86)\Windows Kits\10\bin\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ImageLoadedends_with
  • \mfdetours.dll corpus 2 (sigma 2)
field:"ImageLoaded" kind:ends_with value:"\mfdetours.dll"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageLoadedmatch:\Program Files (x86)\Windows Kits\10\bin\excludes:ImageLoaded field:"ImageLoaded" value:":\Program Files (x86)\Windows Kits\10\bin\"

Potential MOVEit Transfer CVE-2023-34362 Exploitation - File Activity

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

Detects file indicators of potential exploitation of MOVEit CVE-2023-34362.

Known False Positives

  • To avoid FP, this rule should only be applied on MOVEit servers.

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Potential MOVEit Transfer CVE-2023-34362 Exploitation - File Activity
id: c3b2a774-3152-4989-83c1-7afc48fd1599
status: test
description: Detects file indicators of potential exploitation of MOVEit CVE-2023-34362.
references:
    - https://www.bleepingcomputer.com/news/security/new-moveit-transfer-zero-day-mass-exploited-in-data-theft-attacks/
    - https://community.progress.com/s/article/MOVEit-Transfer-Critical-Vulnerability-31May2023
    - https://www.rapid7.com/blog/post/2023/06/01/rapid7-observed-exploitation-of-critical-moveit-transfer-vulnerability/
    - https://www.reddit.com/r/sysadmin/comments/13wxuej/comment/jmhdg55/
author: Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems)
date: 2023-06-01
modified: 2024-08-13
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2023-34362
    - detection.emerging-threats
logsource:
    category: file_event
    product: windows
detection:
    selection_generic:
        TargetFilename|contains:
            - '\MOVEit Transfer\wwwroot\'
            - '\MOVEitTransfer\wwwroot\'
        TargetFilename|endswith:
            - '.7z'
            - '.bat'
            - '.dll'
            - '.exe'
            - '.ps1'
            - '.rar'
            - '.vbe'
            - '.vbs'
            - '.zip'
    selection_known_ioc:
        TargetFilename|endswith:
            - '\MOVEit Transfer\wwwroot\_human2.aspx.lnk'
            - '\MOVEit Transfer\wwwroot\_human2.aspx'
            - '\MOVEit Transfer\wwwroot\human2.aspx.lnk'
            - '\MOVEit Transfer\wwwroot\human2.aspx'
            - '\MOVEitTransfer\wwwroot\_human2.aspx.lnk'
            - '\MOVEitTransfer\wwwroot\_human2.aspx'
            - '\MOVEitTransfer\wwwroot\human2.aspx.lnk'
            - '\MOVEitTransfer\wwwroot\human2.aspx'
    # Uncomment selection if you wanna threat hunt for additional artifacts
    # selection_cmdline:
    #    TargetFilename|contains: ':\Windows\TEMP\'
    #    TargetFilename|endswith: '.cmdline'
    selection_compiled_asp:
        CreationUtcTime|startswith:
            - '2023-03- '
            - '2023-04- '
            - '2023-05- '
            - '2023-06- '
        TargetFilename|contains|all:
            - '\Windows\Microsoft.net\Framework64\v'
            - '\Temporary ASP.NET Files\'
            - 'App_Web_'
        TargetFilename|endswith: '.dll'
    condition: 1 of selection_*
falsepositives:
    - To avoid FP, this rule should only be applied on MOVEit servers.
level: high

Stages and Predicates

Stage 0: condition

1 of selection_*

Stage 1: selection_generic

selection_generic:
    TargetFilename|contains:
        - '\MOVEit Transfer\wwwroot\'
        - '\MOVEitTransfer\wwwroot\'
    TargetFilename|endswith:
        - '.7z'
        - '.bat'
        - '.dll'
        - '.exe'
        - '.ps1'
        - '.rar'
        - '.vbe'
        - '.vbs'
        - '.zip'

Stage 2: selection_known_ioc

selection_known_ioc:
    TargetFilename|endswith:
        - '\MOVEit Transfer\wwwroot\_human2.aspx.lnk'
        - '\MOVEit Transfer\wwwroot\_human2.aspx'
        - '\MOVEit Transfer\wwwroot\human2.aspx.lnk'
        - '\MOVEit Transfer\wwwroot\human2.aspx'
        - '\MOVEitTransfer\wwwroot\_human2.aspx.lnk'
        - '\MOVEitTransfer\wwwroot\_human2.aspx'
        - '\MOVEitTransfer\wwwroot\human2.aspx.lnk'
        - '\MOVEitTransfer\wwwroot\human2.aspx'

Stage 3: selection_compiled_asp

selection_compiled_asp:
    CreationUtcTime|startswith:
        - '2023-03- '
        - '2023-04- '
        - '2023-05- '
        - '2023-06- '
    TargetFilename|contains|all:
        - '\Windows\Microsoft.net\Framework64\v'
        - '\Temporary ASP.NET Files\'
        - 'App_Web_'
    TargetFilename|endswith: '.dll'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CreationUtcTimestarts_with
  • 2023-03-
  • 2023-04-
  • 2023-05-
  • 2023-06-
field:"CreationUtcTime" kind:starts_with
TargetFilenameends_with
  • .7z corpus 5 (sigma 5)
  • .bat corpus 17 (sigma 17)
  • .dll corpus 24 (sigma 24)
  • .exe corpus 21 (sigma 20, splunk 1)
  • .ps1 corpus 17 (sigma 17)
  • .rar corpus 5 (sigma 5)
  • .vbe corpus 16 (sigma 16)
  • .vbs corpus 18 (sigma 18)
  • .zip corpus 7 (sigma 6, splunk 1)
  • \MOVEit Transfer\wwwroot\_human2.aspx
  • \MOVEit Transfer\wwwroot\_human2.aspx.lnk
  • \MOVEit Transfer\wwwroot\human2.aspx
  • \MOVEit Transfer\wwwroot\human2.aspx.lnk
  • \MOVEitTransfer\wwwroot\_human2.aspx
  • \MOVEitTransfer\wwwroot\_human2.aspx.lnk
  • \MOVEitTransfer\wwwroot\human2.aspx
  • \MOVEitTransfer\wwwroot\human2.aspx.lnk
field:"TargetFilename" kind:ends_with
TargetFilenamematch
  • App_Web_
  • \MOVEit Transfer\wwwroot\
  • \MOVEitTransfer\wwwroot\ corpus 2 (sigma 1, splunk 1)
  • \Temporary ASP.NET Files\ corpus 2 (sigma 2)
  • \Windows\Microsoft.net\Framework64\v
field:"TargetFilename" kind:match

Potential Persistence Via Scrobj.dll COM Hijacking

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

Detect use of scrobj.dll as this DLL looks for the ScriptletURL key to get the location of the script to execute

Known False Positives

  • Legitimate use of the dll.

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Potential Persistence Via Scrobj.dll COM Hijacking
id: fe20dda1-6f37-4379-bbe0-a98d400cae90
status: test
description: Detect use of scrobj.dll as this DLL looks for the ScriptletURL key to get the location of the script to execute
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/40b77d63808dd4f4eafb83949805636735a1fd15/atomics/T1546.015/T1546.015.md
author: frack113
date: 2022-08-20
modified: 2023-08-17
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.t1546.015
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|endswith: 'InprocServer32\(Default)'
        Details: 'C:\WINDOWS\system32\scrobj.dll'
    condition: selection
falsepositives:
    - Legitimate use of the dll.
level: medium
simulation:
    - type: atomic-red-team
      name: COM Hijacking - InprocServer32
      technique: T1546.015
      atomic_guid: 48117158-d7be-441b-bc6a-d9e36e47b52b

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|endswith: 'InprocServer32\(Default)'
    Details: 'C:\WINDOWS\system32\scrobj.dll'

Indicators

These rows show field, operator, and value matches.

PowerShell Module File Created

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

Detects the creation of a new PowerShell module ".psm1", ".psd1", ".dll", ".ps1", etc.

Known False Positives

  • Likely

MITRE ATT&CK Coverage

TacticTechniques
PersistenceNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: PowerShell Module File Created
id: e36941d0-c0f0-443f-bc6f-cb2952eb69ea
status: test
description: Detects the creation of a new PowerShell module ".psm1", ".psd1", ".dll", ".ps1", etc.
references:
    - Internal Research
    - https://learn.microsoft.com/en-us/powershell/scripting/developer/module/understanding-a-windows-powershell-module?view=powershell-7.3
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-09
tags:
    - attack.persistence
logsource:
    category: file_event
    product: windows
detection:
    selection:
        Image|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
        TargetFilename|contains:
            - '\WindowsPowerShell\Modules\'
            - '\PowerShell\7\Modules\'
    condition: selection
falsepositives:
    - Likely
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith:
        - '\powershell.exe'
        - '\pwsh.exe'
    TargetFilename|contains:
        - '\WindowsPowerShell\Modules\'
        - '\PowerShell\7\Modules\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \powershell.exe corpus 181 (sigma 180, splunk 1)
  • \pwsh.exe corpus 166 (sigma 166)
field:"Image" kind:ends_with
TargetFilenamematch
  • \PowerShell\7\Modules\ corpus 2 (sigma 2)
  • \WindowsPowerShell\Modules\ corpus 2 (sigma 2)
field:"TargetFilename" kind:match

ProxyLogon MSExchange OabVirtualDirectory

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

Detects specific patterns found after a successful ProxyLogon exploitation in relation to a Commandlet invocation of Set-OabVirtualDirectory

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Resource Development

Rule Body

title: ProxyLogon MSExchange OabVirtualDirectory
id: 550d3350-bb8a-4ff3-9533-2ba533f4a1c0
status: test
description: Detects specific patterns found after a successful ProxyLogon exploitation in relation to a Commandlet invocation of Set-OabVirtualDirectory
references:
    - https://bi-zone.medium.com/hunting-down-ms-exchange-attacks-part-1-proxylogon-cve-2021-26855-26858-27065-26857-6e885c5f197c
author: Florian Roth (Nextron Systems)
date: 2021-08-09
modified: 2023-01-23
tags:
    - attack.t1587.001
    - attack.resource-development
logsource:
    product: windows
    service: msexchange-management
detection:
    keywords_cmdlet:
        '|all':
            - 'OabVirtualDirectory'
            - ' -ExternalUrl '
    keywords_params:
        - 'eval(request'
        - 'http://f/<script'
        - '"unsafe"};'
        - 'function Page_Load()'
    condition: keywords_cmdlet and keywords_params
falsepositives:
    - Unlikely
level: critical

Stages and Predicates

Stage 0: condition

keywords_cmdlet and keywords_params

Stage 1: keywords_cmdlet

keywords_cmdlet:
    '|all':
        - 'OabVirtualDirectory'
        - ' -ExternalUrl '

Stage 2: keywords_params

keywords_params:
    - 'eval(request'
    - 'http://f/<script'
    - '"unsafe"};'
    - 'function Page_Load()'

Renamed Msdt.EXE Execution

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

Detects the execution of a renamed "Msdt.exe" binary

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Renamed Msdt.EXE Execution
id: bd1c6866-65fc-44b2-be51-5588fcff82b9
status: test
description: Detects the execution of a renamed "Msdt.exe" binary
references:
    - https://lolbas-project.github.io/lolbas/Binaries/Msdt/
author: pH-T (Nextron Systems)
date: 2022-06-03
modified: 2023-02-03
tags:
    - attack.stealth
    - attack.t1036.003
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        OriginalFileName: 'msdt.exe'
    filter:
        Image|endswith: '\msdt.exe'
    condition: selection and not filter
falsepositives:
    - Unlikely
level: high
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_renamed_msdt/info.yml

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    OriginalFileName: 'msdt.exe'

Stage 2: not filter

filter:
    Image|endswith: '\msdt.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
OriginalFileNameeq
  • msdt.exe corpus 7 (sigma 6, elastic 1)
field:"OriginalFileName" kind:eq value:"msdt.exe"

Exclusions

The rule actively suppresses these predicates.

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

Scanner PoC for CVE-2019-0708 RDP RCE Vuln

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

Detects the use of a scanner by zerosum0x0 that discovers targets vulnerable to CVE-2019-0708 RDP RCE aka BlueKeep

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Lateral Movement

Telemetry Coverage

Rule Body

title: Scanner PoC for CVE-2019-0708 RDP RCE Vuln
id: 8400629e-79a9-4737-b387-5db940ab2367
status: test
description: Detects the use of a scanner by zerosum0x0 that discovers targets vulnerable to  CVE-2019-0708 RDP RCE aka BlueKeep
references:
    - https://twitter.com/AdamTheAnalyst/status/1134394070045003776
    - https://web.archive.org/web/20190710034152/https://github.com/zerosum0x0/CVE-2019-0708
author: Florian Roth (Nextron Systems), Adam Bradbury (idea)
date: 2019-06-02
modified: 2022-12-25
tags:
    - attack.lateral-movement
    - attack.t1210
    - car.2013-07-002
    - detection.emerging-threats
    - cve.2019-0708
logsource:
    product: windows
    service: security
detection:
    selection:
        EventID: 4625
        TargetUserName: AAAAAAA
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 4625
    TargetUserName: AAAAAAA

Indicators

These rows show field, operator, and value matches.

Split A File Into Pieces - Linux

#
Status
test
Severity
low
Author
Igor Fits, oscd.community
Source
github.com/SigmaHQ/sigma

Detection use of the command "split" to split files into parts and possible transfer.

Known False Positives

  • Legitimate administrative activity

MITRE ATT&CK Coverage

TacticTechniques
Exfiltration

Telemetry Coverage

Rule Body

title: Split A File Into Pieces - Linux
id: 2dad0cba-c62a-4a4f-949f-5f6ecd619769
status: test
description: 'Detection use of the command "split" to split files into parts and possible transfer.'
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1030/T1030.md
author: 'Igor Fits, oscd.community'
date: 2020-10-15
modified: 2022-11-28
tags:
    - attack.exfiltration
    - attack.t1030
logsource:
    product: linux
    service: auditd
detection:
    selection:
        type: 'SYSCALL'
        comm: 'split'
    condition: selection
falsepositives:
    - Legitimate administrative activity
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    type: 'SYSCALL'
    comm: 'split'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
commeq
  • split corpus 2 (sigma 1, splunk 1)
field:"comm" kind:eq value:"split"
typeeq
  • SYSCALL corpus 27 (splunk 15, sigma 12)
field:"type" kind:eq value:"SYSCALL"

Successful login correlated with suspicious JA4/JA3 TLS fingerprint

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

Detects if there are successful logins from JA3 or JA4 signatures seen in credential stuffing patterns. This is a strong indication that the respective accounts have been compromised.

Known False Positives

  • JA3/JA4 might be attributed to legitimate traffic. This can happen when selected {threshold_events_per_ip} is too low and reacts on legitimate failed events.

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Rule Body

title: Successful login correlated with suspicious JA4/JA3 TLS fingerprint
id: 0c71d42b-d918-4698-a849-d5d5ee5b208b
status: experimental
description: |
    Detects if there are successful logins from JA3 or JA4 signatures seen in credential stuffing patterns.
    This is a strong indication that the respective accounts have been compromised.
author: Okta
date: 2025-10-16
modified: 2025-10-16
references:
    - https://auth0.com/docs/secure/attack-protection/view-attack-protection-events
logsource:
    product: auth0
detection:
    selection:
        data.type:
            - s # Successful login
            - scoa # Successful cross-origin authentication
    condition: selection
explanation: >
    This detection is designed to identify potential account compromise by correlating successful logins
    with the TLS fingerprint (JA4 hash) seen in recent failed attempts and requests alerted by attacked protection features.
    The Splunk query first identifies suspicious JA4 hashes by looking for IPs that generated high number of failed logins
    or attack protection events.
    Thereafter, it filters successful events (s and scoa), retaining only those that share a JA4 hash with the previously
    identified suspicious traffic.
    The final output lists the successful login, the suspicious hash, and the username,
    providing a high-fidelity indicator that an account was successfully breached using the same automated attack tool
    or infrastructure responsible for the failed attempts.

    The Sigma detection block is used only to identify the successful login events.
    The query generated by Sigma CLI, should be extended with listing JA3/JA4 fingerprints, e.g. `| table data.user_name data.security_context.ja4` in Splunk.
    Thereafter, these can be manually compared to suspicious fingerprints returned by the credential_stuffing_signals.yml detection.
    Additional steps for Sigma rule are needed due to limitations of the Sigma language, while the splunk block already implements all this correlation.
splunk: |
    index=auth0 data.tenant_name="{your-tenant-name}"
    | bin _time span=1h
    ``` Successful login events and associated JA4 ```
    | search data.type IN (s, scoa)
    | rename data.security_context.ja4 as seen_ja4_hash
    | fields _time, data.type, seen_ja4_hash, data.user_name
    ``` Filter these events using the list of JA4 hashes seen in failed events pointing to credential stuffing ```
    | join type=inner seen_ja4_hash [
        search index=auth0 data.type IN (f, fu, fp, pwd_leak, limit_wc, limit_sul, limit_mu, fcoa)
        | stats count as cnt_events_per_ip by data.security_context.ja4 data.ip
        | where cnt_events_per_ip > {threshold_events_per_ip}
        | fields data.security_context.ja4
        | rename data.security_context.ja4 as seen_ja4_hash
    ]
    ```Final output ```
    | table data.type, seen_ja4_hash, data.user_name
comments:
    - The Splunk query above shall be tuned to reflect a valid tenant name,
      and a threshold for number of events per IP, i.e. {threshold_events_per_ip}.
    - The detection can be adjusted to monitor the attack protection feature in use.
    - Failed login events (f, fu, fp, fcoa) can be considered separately from Attack protection events
     (pwd_leak, limit_wc, limit_sul, limit_mu).
    - Other patterns indicating credential stuffing attack can be plugged in in this query.
      See three signals from the detection credential_stuffing_signals.yml.
    - As an alternative to JA4, a JA3 fingerprint can be used for correlation.
     Note, that JA4 are more stable and less sensitive to small changes to violitily of TLS handshake details.
    - Filter out JA4 fingerprints from known browsers/applications/tools https://ja4db.com/
tenant_logs: |
    type: (s scoa)
prevention:
    - Block or monitor the traffic from suspicious JA4/JA3 with the Network ACL feature.
    - Initiate password reset for identified accounts.
    - General preventions applied to credential stuffing listed in credential_stuffing_signals.yml.
falsepositives:
    - JA3/JA4 might be attributed to legitimate traffic. This can happen when selected {threshold_events_per_ip} is too low and reacts on legitimate failed events.
level: medium
tags:
    - attack.credential-access
    - attack.t1110.004

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    data.type:
        - s
        - scoa

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
data.typeeq
  • s
  • scoa
field:"data.type" kind:eq

Suspicious File Created in Outlook Temporary Directory

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

Detects the creation of files with suspicious file extensions in the temporary directory that Outlook uses when opening attachments. This can be used to detect spear-phishing campaigns that use suspicious files as attachments, which may contain malicious code.

Known False Positives

  • Opening of headers or footers in email signatures that include SVG images or legitimate SVG attachments

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Suspicious File Created in Outlook Temporary Directory
id: fabb0e80-030c-4e3e-a104-d09676991ac3
related:
    - id: f748c45a-f8d3-4e6f-b617-fe176f695b8f
      type: obsolete
status: experimental
description: |
    Detects the creation of files with suspicious file extensions in the temporary directory that Outlook uses when opening attachments.
    This can be used to detect spear-phishing campaigns that use suspicious files as attachments, which may contain malicious code.
references:
    - https://vipre.com/blog/svg-phishing-attacks-the-new-trick-in-the-cybercriminals-playbook/
    - https://thecyberexpress.com/rogue-rdp-files-used-in-ukraine-cyberattacks/
    - https://www.microsoft.com/en-us/security/blog/2024/10/29/midnight-blizzard-conducts-large-scale-spear-phishing-campaign-using-rdp-files/
author: Florian Roth (Nextron Systems), Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-07-22
tags:
    - attack.initial-access
    - attack.t1566.001
logsource:
    product: windows
    category: file_event
detection:
    selection_extension:
        TargetFilename|endswith:
            - '.cpl'
            - '.hta'
            - '.iso'
            - '.rdp'
            - '.svg'
            - '.vba'
            - '.vbe'
            - '.vbs'
    selection_location:
        - TargetFilename|contains:
              - '\AppData\Local\Packages\Microsoft.Outlook_'
              - '\AppData\Local\Microsoft\Olk\Attachments\'
        - TargetFilename|contains|all:
              - '\AppData\Local\Microsoft\Windows\'
              - '\Content.Outlook\'
    condition: all of selection_*
falsepositives:
    - Opening of headers or footers in email signatures that include SVG images or legitimate SVG attachments
level: high

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_extension

selection_extension:
    TargetFilename|endswith:
        - '.cpl'
        - '.hta'
        - '.iso'
        - '.rdp'
        - '.svg'
        - '.vba'
        - '.vbe'
        - '.vbs'

Stage 2: selection_location

selection_location:
    - TargetFilename|contains:
          - '\AppData\Local\Packages\Microsoft.Outlook_'
          - '\AppData\Local\Microsoft\Olk\Attachments\'
    - TargetFilename|contains|all:
          - '\AppData\Local\Microsoft\Windows\'
          - '\Content.Outlook\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • .cpl corpus 2 (sigma 2)
  • .hta corpus 14 (sigma 14)
  • .iso corpus 5 (sigma 5)
  • .rdp corpus 2 (sigma 2)
  • .svg corpus 2 (sigma 2)
  • .vba corpus 3 (sigma 3)
  • .vbe corpus 16 (sigma 16)
  • .vbs corpus 18 (sigma 18)
field:"TargetFilename" kind:ends_with
TargetFilenamematch
  • \AppData\Local\Microsoft\Olk\Attachments\
  • \AppData\Local\Microsoft\Windows\
  • \AppData\Local\Packages\Microsoft.Outlook_
  • \Content.Outlook\
field:"TargetFilename" kind:match

Suspicious File Created In PerfLogs

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

Detects suspicious file based on their extension being created in "C:\PerfLogs". Note that this directory mostly contains ".etl" files

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: Suspicious File Created In PerfLogs
id: bbb7e38c-0b41-4a11-b306-d2a457b7ac2b
status: test
description: Detects suspicious file based on their extension being created in "C:\PerfLogs\". Note that this directory mostly contains ".etl" files
references:
    - Internal Research
    - https://labs.withsecure.com/publications/fin7-target-veeam-servers
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-05
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: file_event
    product: windows
detection:
    selection:
        TargetFilename|startswith: 'C:\PerfLogs\'
        TargetFilename|endswith:
            - '.7z'
            - '.bat'
            - '.bin'
            - '.chm'
            - '.dll'
            - '.exe'
            - '.hta'
            - '.lnk'
            - '.ps1'
            - '.psm1'
            - '.py'
            - '.scr'
            - '.sys'
            - '.vbe'
            - '.vbs'
            - '.zip'
    condition: selection
falsepositives:
    - Unlikely
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetFilename|startswith: 'C:\PerfLogs\'
    TargetFilename|endswith:
        - '.7z'
        - '.bat'
        - '.bin'
        - '.chm'
        - '.dll'
        - '.exe'
        - '.hta'
        - '.lnk'
        - '.ps1'
        - '.psm1'
        - '.py'
        - '.scr'
        - '.sys'
        - '.vbe'
        - '.vbs'
        - '.zip'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameends_with
  • .7z corpus 5 (sigma 5)
  • .bat corpus 17 (sigma 17)
  • .bin
  • .chm corpus 4 (sigma 4)
  • .dll corpus 24 (sigma 24)
  • .exe corpus 21 (sigma 20, splunk 1)
  • .hta corpus 14 (sigma 14)
  • .lnk corpus 6 (sigma 6)
  • .ps1 corpus 17 (sigma 17)
  • .psm1 corpus 4 (sigma 4)
  • .py corpus 3 (sigma 3)
  • .scr corpus 8 (sigma 8)
  • .sys corpus 6 (sigma 6)
  • .vbe corpus 16 (sigma 16)
  • .vbs corpus 18 (sigma 18)
  • .zip corpus 7 (sigma 6, splunk 1)
field:"TargetFilename" kind:ends_with
TargetFilenamestarts_with
  • C:\PerfLogs\ corpus 2 (sigma 2)
field:"TargetFilename" kind:starts_with value:"C:\PerfLogs\"

Suspicious Non-Browser Network Communication With Telegram API

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

Detects an a non-browser process interacting with the Telegram API which could indicate use of a covert C2

Known False Positives

  • Legitimate applications communicating with the Telegram API e.g. web browsers not in the exclusion list, app with an RSS etc.

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 3: Network connection

Rule Body

title: Suspicious Non-Browser Network Communication With Telegram API
id: c3dbbc9f-ef1d-470a-a90a-d343448d5875
status: test
description: Detects an a non-browser process interacting with the Telegram API which could indicate use of a covert C2
references:
    - https://www.ncsc.gov.uk/static-assets/documents/malware-analysis-reports/small-sieve/NCSC-MAR-Small-Sieve.pdf
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-05-19
tags:
    - attack.command-and-control
    - attack.exfiltration
    - attack.t1102
    - attack.t1567
    - attack.t1105
logsource:
    product: windows
    category: network_connection
detection:
    selection:
        DestinationHostname|contains: 'api.telegram.org'
    # Other browsers or apps known to use telegram should be added
    # TODO: Add full paths for default install locations
    filter_main_brave:
        Image|endswith: '\brave.exe'
    filter_main_chrome:
        Image:
            - 'C:\Program Files\Google\Chrome\Application\chrome.exe'
            - 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'
    filter_main_firefox:
        Image:
            - 'C:\Program Files\Mozilla Firefox\firefox.exe'
            - 'C:\Program Files (x86)\Mozilla Firefox\firefox.exe'
    filter_main_ie:
        Image:
            - 'C:\Program Files (x86)\Internet Explorer\iexplore.exe'
            - 'C:\Program Files\Internet Explorer\iexplore.exe'
    filter_main_maxthon:
        Image|endswith: '\maxthon.exe'
    filter_main_edge_1:
        - Image|startswith: 'C:\Program Files (x86)\Microsoft\EdgeWebView\Application\'
        - Image|endswith: '\WindowsApps\MicrosoftEdge.exe'
        - Image:
              - 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
              - 'C:\Program Files\Microsoft\Edge\Application\msedge.exe'
    filter_main_edge_2:
        Image|startswith:
            - 'C:\Program Files (x86)\Microsoft\EdgeCore\'
            - 'C:\Program Files\Microsoft\EdgeCore\'
        Image|endswith:
            - '\msedge.exe'
            - '\msedgewebview2.exe'
    filter_main_opera:
        Image|endswith: '\opera.exe'
    filter_main_safari:
        Image|endswith: '\safari.exe'
    filter_main_seamonkey:
        Image|endswith: '\seamonkey.exe'
    filter_main_vivaldi:
        Image|endswith: '\vivaldi.exe'
    filter_main_whale:
        Image|endswith: '\whale.exe'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Legitimate applications communicating with the Telegram API e.g. web browsers not in the exclusion list, app with an RSS  etc.
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    DestinationHostname|contains: 'api.telegram.org'

Stage 2: not filter_main_*

filter_main_brave:
    Image|endswith: '\brave.exe'
filter_main_chrome:
    Image:
        - 'C:\Program Files\Google\Chrome\Application\chrome.exe'
        - 'C:\Program Files (x86)\Google\Chrome\Application\chrome.exe'
filter_main_firefox:
    Image:
        - 'C:\Program Files\Mozilla Firefox\firefox.exe'
        - 'C:\Program Files (x86)\Mozilla Firefox\firefox.exe'
filter_main_ie:
    Image:
        - 'C:\Program Files (x86)\Internet Explorer\iexplore.exe'
        - 'C:\Program Files\Internet Explorer\iexplore.exe'
filter_main_maxthon:
    Image|endswith: '\maxthon.exe'
filter_main_edge_1:
    - Image|startswith: 'C:\Program Files (x86)\Microsoft\EdgeWebView\Application\'
    - Image|endswith: '\WindowsApps\MicrosoftEdge.exe'
    - Image:
          - 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
          - 'C:\Program Files\Microsoft\Edge\Application\msedge.exe'
filter_main_edge_2:
    Image|startswith:
        - 'C:\Program Files (x86)\Microsoft\EdgeCore\'
        - 'C:\Program Files\Microsoft\EdgeCore\'
    Image|endswith:
        - '\msedge.exe'
        - '\msedgewebview2.exe'
filter_main_opera:
    Image|endswith: '\opera.exe'
filter_main_safari:
    Image|endswith: '\safari.exe'
filter_main_seamonkey:
    Image|endswith: '\seamonkey.exe'
filter_main_vivaldi:
    Image|endswith: '\vivaldi.exe'
filter_main_whale:
    Image|endswith: '\whale.exe'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with\msedge.exeexcludes:Image field:"Image" value:"\msedge.exe"
Imageends_with\msedgewebview2.exeexcludes:Image field:"Image" value:"\msedgewebview2.exe"
Imagestarts_withC:\Program Files (x86)\Microsoft\EdgeCore\excludes:Image field:"Image" value:"C:\Program Files (x86)\Microsoft\EdgeCore\"
Imagestarts_withC:\Program Files\Microsoft\EdgeCore\excludes:Image field:"Image" value:"C:\Program Files\Microsoft\EdgeCore\"
Imageends_with\WindowsApps\MicrosoftEdge.exeexcludes:Image field:"Image" value:"\WindowsApps\MicrosoftEdge.exe"
Imageends_with\brave.exeexcludes:Image field:"Image" value:"\brave.exe"
Imageends_with\maxthon.exeexcludes:Image field:"Image" value:"\maxthon.exe"
Imageends_with\opera.exeexcludes:Image field:"Image" value:"\opera.exe"
Imageends_with\safari.exeexcludes:Image field:"Image" value:"\safari.exe"
Imageends_with\seamonkey.exeexcludes:Image field:"Image" value:"\seamonkey.exe"
Imageends_with\vivaldi.exeexcludes:Image field:"Image" value:"\vivaldi.exe"
Imageends_with\whale.exeexcludes:Image field:"Image" value:"\whale.exe"
ImageeqC:\Program Files (x86)\Google\Chrome\Application\chrome.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
ImageeqC:\Program Files (x86)\Internet Explorer\iexplore.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Internet Explorer\iexplore.exe"
ImageeqC:\Program Files (x86)\Microsoft\Edge\Application\msedge.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"
ImageeqC:\Program Files (x86)\Mozilla Firefox\firefox.exeexcludes:Image field:"Image" value:"C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
ImageeqC:\Program Files\Google\Chrome\Application\chrome.exeexcludes:Image field:"Image" value:"C:\Program Files\Google\Chrome\Application\chrome.exe"
ImageeqC:\Program Files\Internet Explorer\iexplore.exeexcludes:Image field:"Image" value:"C:\Program Files\Internet Explorer\iexplore.exe"
ImageeqC:\Program Files\Microsoft\Edge\Application\msedge.exeexcludes:Image field:"Image" value:"C:\Program Files\Microsoft\Edge\Application\msedge.exe"
ImageeqC:\Program Files\Mozilla Firefox\firefox.exeexcludes:Image field:"Image" value:"C:\Program Files\Mozilla Firefox\firefox.exe"
Imagestarts_withC:\Program Files (x86)\Microsoft\EdgeWebView\Application\excludes:Image field:"Image" value:"C:\Program Files (x86)\Microsoft\EdgeWebView\Application\"

Suspicious RASdial Activity

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

Detects suspicious process related to rasdial.exe

Known False Positives

  • False positives depend on scripts and administrative tools used in the monitored environment

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Suspicious RASdial Activity
id: 6bba49bf-7f8c-47d6-a1bb-6b4dece4640e
status: test
description: Detects suspicious process related to rasdial.exe
references:
    - https://twitter.com/subTee/status/891298217907830785
author: juju4
date: 2019-01-16
modified: 2021-11-27
tags:
    - attack.execution
    - attack.t1059
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: 'rasdial.exe'
    condition: selection
falsepositives:
    - False positives depend on scripts and administrative tools used in the monitored environment
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: 'rasdial.exe'

Indicators

These rows show field, operator, and value matches.

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

Time Machine Backup Deletion Attempt Via Tmutil - MacOS

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

Detects deletion attempts of MacOS Time Machine backups via the native backup utility "tmutil". An adversary may perform this action before launching a ransonware attack to prevent the victim from restoring their files.

Known False Positives

  • Legitimate activities

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: Time Machine Backup Deletion Attempt Via Tmutil - MacOS
id: 452df256-da78-427a-866f-49fa04417d74
status: test
description: |
    Detects deletion attempts of MacOS Time Machine backups via the native backup utility "tmutil".
    An adversary may perform this action before launching a ransonware attack to prevent the victim from restoring their files.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1490/T1490.md#atomic-test-12---disable-time-machine
    - https://www.loobins.io/binaries/tmutil/
author: Pratinav Chandra
date: 2024-05-29
tags:
    - attack.impact
    - attack.t1490
logsource:
    category: process_creation
    product: macos
detection:
    selection_img:
        - Image|endswith: '/tmutil'
        - CommandLine|contains: 'tmutil'
    selection_cmd:
        CommandLine|contains: 'delete'
    condition: all of selection_*
falsepositives:
    - Legitimate activities
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith: '/tmutil'
    - CommandLine|contains: 'tmutil'

Stage 2: selection_cmd

selection_cmd:
    CommandLine|contains: 'delete'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • delete corpus 30 (sigma 16, elastic 8, splunk 6)
  • tmutil corpus 3 (sigma 3)
field:"CommandLine" kind:match
Imageends_with
  • /tmutil corpus 3 (sigma 3)
field:"Image" kind:ends_with value:"/tmutil"

Touch Suspicious Service File

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

Detects usage of the "touch" process in service file.

Known False Positives

  • Admin changing date of files.

MITRE ATT&CK Coverage

Telemetry Coverage

PlatformRecord / event type
LinuxEvent ID 1: Process Create

Rule Body

title: Touch Suspicious Service File
id: 31545105-3444-4584-bebf-c466353230d2
status: test
description: Detects usage of the "touch" process in service file.
references:
    - https://blogs.blackberry.com/
    - https://twitter.com/Joseliyo_Jstnk/status/1620131033474822144
author: Joseliyo Sanchez, @Joseliyo_Jstnk
date: 2023-01-11
tags:
    - attack.stealth
    - attack.t1070.006
logsource:
    product: linux
    category: process_creation
detection:
    selection:
        Image|endswith: '/touch'
        CommandLine|contains: ' -t '
        CommandLine|endswith: '.service'
    condition: selection
falsepositives:
    - Admin changing date of files.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    Image|endswith: '/touch'
    CommandLine|contains: ' -t '
    CommandLine|endswith: '.service'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLineends_with
  • .service corpus 2 (sigma 1, splunk 1)
field:"CommandLine" kind:ends_with value:".service"
CommandLinematch
  • -t
field:"CommandLine" kind:match value:" -t "
Imageends_with
  • /touch corpus 2 (sigma 2)
field:"Image" kind:ends_with value:"/touch"

Unsigned AppX Installation Attempt Using Add-AppxPackage

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

Detects usage of the "Add-AppxPackage" or it's alias "Add-AppPackage" to install unsigned AppX packages

Known False Positives

  • Installation of unsigned packages for testing purposes

MITRE ATT&CK Coverage

TacticTechniques
PersistenceNo specific technique
StealthNo specific technique

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Unsigned AppX Installation Attempt Using Add-AppxPackage
id: 37651c2a-42cd-4a69-ae0d-22a4349aa04a
related:
    - id: 975b2262-9a49-439d-92a6-0709cccdf0b2
      type: similar
    - id: 9a025188-6f2d-42f8-bb2f-d3a83d24a5af
      type: similar
status: test
description: Detects usage of the "Add-AppxPackage" or it's alias "Add-AppPackage" to install unsigned AppX packages
references:
    - https://learn.microsoft.com/en-us/windows/msix/package/unsigned-package
    - https://twitter.com/WindowsDocs/status/1620078135080325122
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-01-31
tags:
    - attack.persistence
    - attack.stealth
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith:
              - '\powershell.exe'
              - '\pwsh.exe'
        - OriginalFileName:
              - 'PowerShell.EXE'
              - 'pwsh.dll'
    selection_cmdlet:
        CommandLine|contains:
            - 'Add-AppPackage '
            - 'Add-AppxPackage '
    selection_flag:
        CommandLine|contains: ' -AllowUnsigned'
    condition: all of selection_*
falsepositives:
    - Installation of unsigned packages for testing purposes
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

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

Stage 2: selection_cmdlet

selection_cmdlet:
    CommandLine|contains:
        - 'Add-AppPackage '
        - 'Add-AppxPackage '

Stage 3: selection_flag

selection_flag:
    CommandLine|contains: ' -AllowUnsigned'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -AllowUnsigned
  • Add-AppPackage
  • Add-AppxPackage
field:"CommandLine" kind:match
Imageends_with
  • \powershell.exe corpus 181 (sigma 180, splunk 1)
  • \pwsh.exe corpus 166 (sigma 166)
field:"Image" kind:ends_with
OriginalFileNameeq
  • PowerShell.EXE corpus 134 (sigma 86, splunk 30, elastic 18)
  • pwsh.dll corpus 115 (sigma 81, splunk 30, elastic 4)
field:"OriginalFileName" kind:eq

Win Defender Restored Quarantine File

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

Detects the restoration of files from the defender quarantine

Known False Positives

  • Legitimate administrator activity restoring a file

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Telemetry Coverage

Rule Body

title: Win Defender Restored Quarantine File
id: bc92ca75-cd42-4d61-9a37-9d5aa259c88b
status: test
description: Detects the restoration of files from the defender quarantine
references:
    - https://learn.microsoft.com/en-us/defender-endpoint/troubleshoot-microsoft-defender-antivirus?view=o365-worldwide
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-12-06
tags:
    - attack.defense-impairment
    - attack.t1685
logsource:
    product: windows
    service: windefend
detection:
    selection:
        EventID: 1009 # The antimalware platform restored an item from quarantine.
    condition: selection
falsepositives:
    - Legitimate administrator activity restoring a file
level: high
regression_tests_path: regression_data/rules/windows/builtin/windefend/win_defender_restored_quarantine_file/info.yml

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 1009

WMI spwaning PowerShell process - WMImplant

#
Status
experimental
Severity
high
Author
Markus Neis/@Karneades, adapted by mdecrevoisier
Source
github.com/mdecrevoisier/SIGMA-detection-rules

Detects scenarios where an attacker WMIimplant

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: WMI spwaning PowerShell process - WMImplant
description: Detects scenarios where an attacker WMIimplant
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0002-Execution/T1047-Windows%20Management%20Instrumentation
- https://github.com/FortyNorthSecurity/WMImplant/
- https://www.darkoperator.com/blog/2017/10/14/basics-of-tracking-wmi-activity
- Inspired from https://github.com/SigmaHQ/sigma/blob/7bca85e40618126643b9712b80bd663c21908e26/rules/windows/process_creation/win_wmi_spwns_powershell.yml
tags:
- attack.execution
- attack.t1047
author: Markus Neis/@Karneades, adapted by mdecrevoisier
status: experimental
logsource:
  product: windows
  category: process_creation
detection:

  selection_basic:
    EventID: 4688
    Version: 2
    ParentProcessName|endswith: \WmiPrvSE.exe
    NewProcessName|endswith:
      - \powershell.exe
      - \pwsh.exe # PowerShell v6
      - \powershell_ise.exe # Development GUI


  selection_sysmon:
    EventID: 1
    ParentImage|endswith: \WmiPrvSE.exe
    Image|endswith|endswith:
      - \powershell.exe
      - \pwsh.exe # PowerShell v6
      - \powershell_ise.exe # Development GUI

  filter:
    CommandLine: "-" # Exclude empty command line

  condition: (selection_basic or selection_sysmon) and not filter
falsepositives:
- Unknown
level: high

Stages and Predicates

Stage 0: condition

(selection_basic or selection_sysmon) and not filter

Stage 1: selection_basic

selection_basic:
  EventID: 4688
  Version: 2
  ParentProcessName|endswith: \WmiPrvSE.exe
  NewProcessName|endswith:
    - \powershell.exe
    - \pwsh.exe
    - \powershell_ise.exe

Stage 2: selection_sysmon

selection_sysmon:
  EventID: 1
  ParentImage|endswith: \WmiPrvSE.exe
  Image|endswith|endswith:
    - \powershell.exe
    - \pwsh.exe
    - \powershell_ise.exe

Stage 3: not filter

filter:
  CommandLine: "-"

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
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
NewProcessNameends_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
ParentImageends_with
  • \WmiPrvSE.exe corpus 8 (sigma 8)
field:"ParentImage" kind:ends_with value:"\WmiPrvSE.exe"
ParentProcessNameends_with
  • \WmiPrvSE.exe corpus 2 (sigma 2)
field:"parent_process_name" kind:ends_with value:"\WmiPrvSE.exe"
Versioneq
  • 2 corpus 7 (sigma 7)
field:"Version" kind:eq value:"2"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLineeq-excludes:CommandLine field:"CommandLine" value:"-"

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

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

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

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

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

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

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

Indicators

These rows show field, operator, and value matches.

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

Back to all Sigma rules