Detection rules › Sigma

Sigma rules: 1u

Account Lockout

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

Identifies user account which has been locked because the user tried to sign in too many times with an incorrect user ID or password.

MITRE ATT&CK Coverage

TacticTechniques
Credential Access

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: Account Lockout
id: 2b7d6fc0-71ac-4cf7-8ed1-b5788ee5257a
status: test
description: Identifies user account which has been locked because the user tried to sign in too many times with an incorrect user ID or password.
references:
    - https://learn.microsoft.com/en-us/entra/architecture/security-operations-privileged-accounts
author: AlertIQ
date: 2021-10-10
modified: 2022-12-25
tags:
    - attack.credential-access
    - attack.t1110
logsource:
    product: azure
    service: signinlogs
detection:
    selection:
        ResultType: 50053
    condition: selection
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ResultType: 50053

Indicators

These rows show field, operator, and value matches.

ADFS Database Named Pipe Connection By Uncommon Tool

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

Detects suspicious local connections via a named pipe to the AD FS configuration database (Windows Internal Database). Used to access information such as the AD FS configuration settings which contains sensitive information used to sign SAML tokens.

MITRE ATT&CK Coverage

TacticTechniques
Collection

Telemetry Coverage

Rule Body

title: ADFS Database Named Pipe Connection By Uncommon Tool
id: 1ea13e8c-03ea-409b-877d-ce5c3d2c1cb3
status: test
description: |
    Detects suspicious local connections via a named pipe to the AD FS configuration database (Windows Internal Database).
    Used to access information such as the AD FS configuration settings which contains sensitive information used to sign SAML tokens.
references:
    - https://github.com/Azure/Azure-Sentinel/blob/f99542b94afe0ad2f19a82cc08262e7ac8e1428e/Detections/SecurityEvent/ADFSDBNamedPipeConnection.yaml
    - https://o365blog.com/post/adfs/
    - https://github.com/Azure/SimuLand
author: Roberto Rodriguez @Cyb3rWard0g
date: 2021-10-08
modified: 2023-11-30
tags:
    - attack.collection
    - attack.t1005
logsource:
    product: windows
    category: pipe_created
    definition: 'Note that you have to configure logging for Named Pipe Events in Sysmon config (Event ID 17 and Event ID 18). The basic configuration is in popular sysmon configuration (https://github.com/SwiftOnSecurity/sysmon-config), but it is worth verifying. You can also use other repo, e.g. https://github.com/Neo23x0/sysmon-config, https://github.com/olafhartong/sysmon-modular. How to test detection? You can check powershell script from this site https://svch0st.medium.com/guide-to-named-pipes-and-hunting-for-cobalt-strike-pipes-dc46b2c5f575'
detection:
    selection:
        PipeName: '\MICROSOFT##WID\tsql\query'
    filter_main_generic:
        Image|endswith:
            - ':\Windows\System32\mmc.exe'
            - ':\Windows\system32\svchost.exe'
            - ':\Windows\System32\wsmprovhost.exe'
            - ':\Windows\SysWOW64\mmc.exe'
            - ':\Windows\SysWOW64\wsmprovhost.exe'
            - ':\Windows\WID\Binn\sqlwriter.exe'
            - '\AzureADConnect.exe'
            - '\Microsoft.Identity.Health.Adfs.PshSurrogate.exe'
            - '\Microsoft.IdentityServer.ServiceHost.exe'
            - '\Microsoft.Tri.Sensor.exe'
            - '\sqlservr.exe'
            - '\tssdis.exe'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    PipeName: '\MICROSOFT##WID\tsql\query'

Stage 2: not filter_main_generic

filter_main_generic:
    Image|endswith:
        - ':\Windows\System32\mmc.exe'
        - ':\Windows\system32\svchost.exe'
        - ':\Windows\System32\wsmprovhost.exe'
        - ':\Windows\SysWOW64\mmc.exe'
        - ':\Windows\SysWOW64\wsmprovhost.exe'
        - ':\Windows\WID\Binn\sqlwriter.exe'
        - '\AzureADConnect.exe'
        - '\Microsoft.Identity.Health.Adfs.PshSurrogate.exe'
        - '\Microsoft.IdentityServer.ServiceHost.exe'
        - '\Microsoft.Tri.Sensor.exe'
        - '\sqlservr.exe'
        - '\tssdis.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
PipeNameeq
  • \MICROSOFT##WID\tsql\query
field:"PipeName" kind:eq value:"\MICROSOFT##WID\tsql\query"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Imageends_with:\Windows\SysWOW64\mmc.exeexcludes:Image field:"Image" value:":\Windows\SysWOW64\mmc.exe"
Imageends_with:\Windows\SysWOW64\wsmprovhost.exeexcludes:Image field:"Image" value:":\Windows\SysWOW64\wsmprovhost.exe"
Imageends_with:\Windows\System32\mmc.exeexcludes:Image field:"Image" value:":\Windows\System32\mmc.exe"
Imageends_with:\Windows\System32\wsmprovhost.exeexcludes:Image field:"Image" value:":\Windows\System32\wsmprovhost.exe"
Imageends_with:\Windows\WID\Binn\sqlwriter.exeexcludes:Image field:"Image" value:":\Windows\WID\Binn\sqlwriter.exe"
Imageends_with:\Windows\system32\svchost.exeexcludes:Image field:"Image" value:":\Windows\system32\svchost.exe"
Imageends_with\AzureADConnect.exeexcludes:Image field:"Image" value:"\AzureADConnect.exe"
Imageends_with\Microsoft.Identity.Health.Adfs.PshSurrogate.exeexcludes:Image field:"Image" value:"\Microsoft.Identity.Health.Adfs.PshSurrogate.exe"
Imageends_with\Microsoft.IdentityServer.ServiceHost.exeexcludes:Image field:"Image" value:"\Microsoft.IdentityServer.ServiceHost.exe"
Imageends_with\Microsoft.Tri.Sensor.exeexcludes:Image field:"Image" value:"\Microsoft.Tri.Sensor.exe"
Imageends_with\sqlservr.exeexcludes:Image field:"Image" value:"\sqlservr.exe"
Imageends_with\tssdis.exeexcludes:Image field:"Image" value:"\tssdis.exe"

Apache Segmentation Fault

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

Detects a segmentation fault error message caused by a crashing apache worker process

MITRE ATT&CK Coverage

Rule Body

title: Apache Segmentation Fault
id: 1da8ce0b-855d-4004-8860-7d64d42063b1
status: test
description: Detects a segmentation fault error message caused by a crashing apache worker process
references:
    - http://www.securityfocus.com/infocus/1633
author: Florian Roth (Nextron Systems)
date: 2017-02-28
modified: 2021-11-27
tags:
    - attack.impact
    - attack.t1499.004
logsource:
    service: apache
    definition: 'Requirements: Must be able to collect the error.log file'
detection:
    keywords:
        - 'exit signal Segmentation Fault'
    condition: keywords
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

keywords

Stage 1: keywords

keywords:
    - 'exit signal Segmentation Fault'

Bitbucket Project Secret Scanning Allowlist Added

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

Detects when a secret scanning allowlist rule is added for projects.

Known False Positives

  • Legitimate user activity.

MITRE ATT&CK Coverage

TacticTechniques
Defense Impairment

Rule Body

title: Bitbucket Project Secret Scanning Allowlist Added
id: 42ccce6d-7bd3-4930-95cd-e4d83fa94a30
status: test
description: Detects when a secret scanning allowlist rule is added for projects.
references:
    - https://confluence.atlassian.com/bitbucketserver/audit-log-events-776640423.html
    - https://confluence.atlassian.com/bitbucketserver/secret-scanning-1157471613.html
author: Muhammad Faisal (@faisalusuf)
date: 2024-02-25
tags:
    - attack.defense-impairment
    - attack.t1685
logsource:
    product: bitbucket
    service: audit
    definition: 'Requirements: "Basic" log level is required to receive these audit events.'
detection:
    selection:
        auditType.category: 'Projects'
        auditType.action: 'Project secret scanning allowlist rule added'
    condition: selection
falsepositives:
    - Legitimate user activity.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    auditType.category: 'Projects'
    auditType.action: 'Project secret scanning allowlist rule added'

Indicators

These rows show field, operator, and value matches.

Change the Fax Dll

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

Detect possible persistence using Fax DLL load when service restart

MITRE ATT&CK Coverage

TacticTechniques
Persistence
Defense Impairment

Telemetry Coverage

Rule Body

title: Change the Fax Dll
id: 9e3357ba-09d4-4fbd-a7c5-ad6386314513
status: test
description: Detect possible persistence using Fax DLL load when service restart
references:
    - https://twitter.com/dottor_morte/status/1544652325570191361
    - https://raw.githubusercontent.com/RiccardoAncarani/talks/master/F-Secure/unorthodox-lateral-movement.pdf
author: frack113
date: 2022-07-17
modified: 2022-12-30
tags:
    - attack.persistence
    - attack.defense-impairment
    - attack.t1112
logsource:
    product: windows
    category: registry_set
detection:
    selection:
        TargetObject|contains|all:
            - '\Software\Microsoft\Fax\Device Providers\'
            - '\ImageName'
    filter:
        Details: '%systemroot%\system32\fxst30.dll' # Windows 10
    condition: selection and not filter
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    TargetObject|contains|all:
        - '\Software\Microsoft\Fax\Device Providers\'
        - '\ImageName'

Stage 2: not filter

filter:
    Details: '%systemroot%\system32\fxst30.dll'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectmatch
  • \ImageName
  • \Software\Microsoft\Fax\Device Providers\
field:"TargetObject" kind:match

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
Detailseq%systemroot%\system32\fxst30.dllexcludes:Details field:"Details" value:"%systemroot%\system32\fxst30.dll"

CMSTP UAC Bypass via COM Object Access

#
Status
stable
Severity
high
Author
Nik Seetharaman, Christian Burkard (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects UAC Bypass Attempt Using Microsoft Connection Manager Profile Installer Autoelevate-capable COM Objects (e.g. UACMe ID of 41, 43, 58 or 65)

Known False Positives

  • Legitimate CMSTP use (unlikely in modern enterprise environments)

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: CMSTP UAC Bypass via COM Object Access
id: 4b60e6f2-bf39-47b4-b4ea-398e33cfe253
status: stable
description: Detects UAC Bypass Attempt Using Microsoft Connection Manager Profile Installer Autoelevate-capable COM Objects (e.g. UACMe ID of 41, 43, 58 or 65)
references:
    - https://web.archive.org/web/20190720093911/http://www.endurant.io/cmstp/detecting-cmstp-enabled-code-execution-and-uac-bypass-with-sysmon/
    - https://twitter.com/hFireF0X/status/897640081053364225
    - https://medium.com/falconforce/falconfriday-detecting-uac-bypasses-0xff16-86c2a9107abf
    - https://github.com/hfiref0x/UACME
author: Nik Seetharaman, Christian Burkard (Nextron Systems)
date: 2019-07-31
modified: 2024-12-01
tags:
    - attack.execution
    - attack.privilege-escalation
    - attack.stealth
    - attack.t1548.002
    - attack.t1218.003
    - attack.g0069
    - car.2019-04-001
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        ParentImage|endswith: '\DllHost.exe'
        ParentCommandLine|contains:
            - ' /Processid:{3E5FC7F9-9A51-4367-9063-A120244FBEC7}' # cmstplua.dll
            - ' /Processid:{3E000D72-A845-4CD9-BD83-80C07C3B881F}' # CMLUAUTIL
            - ' /Processid:{BD54C901-076B-434E-B6C7-17C531F4AB41}' # EditionUpgradeManagerObj.dll
            - ' /Processid:{D2E7041B-2927-42FB-8E9F-7CE93B6DC937}' # colorui.dll
            - ' /Processid:{E9495B87-D950-4AB5-87A5-FF6D70BF3E90}' # wscui.cpl
        IntegrityLevel:
            - 'High'
            - 'System'
            - 'S-1-16-16384' # System
            - 'S-1-16-12288' # High
    condition: selection
falsepositives:
    - Legitimate CMSTP use (unlikely in modern enterprise environments)
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ParentImage|endswith: '\DllHost.exe'
    ParentCommandLine|contains:
        - ' /Processid:{3E5FC7F9-9A51-4367-9063-A120244FBEC7}'
        - ' /Processid:{3E000D72-A845-4CD9-BD83-80C07C3B881F}'
        - ' /Processid:{BD54C901-076B-434E-B6C7-17C531F4AB41}'
        - ' /Processid:{D2E7041B-2927-42FB-8E9F-7CE93B6DC937}'
        - ' /Processid:{E9495B87-D950-4AB5-87A5-FF6D70BF3E90}'
    IntegrityLevel:
        - 'High'
        - 'System'
        - 'S-1-16-16384'
        - 'S-1-16-12288'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
IntegrityLeveleq
  • High corpus 18 (sigma 17, splunk 1)
  • S-1-16-12288 corpus 18 (sigma 17, splunk 1)
  • S-1-16-16384 corpus 31 (sigma 22, splunk 5, elastic 3, kusto 1)
  • System corpus 31 (sigma 22, splunk 5, elastic 3, kusto 1)
field:"IntegrityLevel" kind:eq
ParentCommandLinematch
  • /Processid:{3E000D72-A845-4CD9-BD83-80C07C3B881F}
  • /Processid:{3E5FC7F9-9A51-4367-9063-A120244FBEC7}
  • /Processid:{BD54C901-076B-434E-B6C7-17C531F4AB41}
  • /Processid:{D2E7041B-2927-42FB-8E9F-7CE93B6DC937}
  • /Processid:{E9495B87-D950-4AB5-87A5-FF6D70BF3E90}
field:"ParentCommandLine" kind:match
ParentImageends_with
  • \DllHost.exe corpus 7 (sigma 7)
field:"ParentImage" kind:ends_with value:"\DllHost.exe"

Deletion of Volume Shadow Copies via WMI with PowerShell - PS Script

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

Detects deletion of Windows Volume Shadow Copies with PowerShell code and Get-WMIObject. This technique is used by numerous ransomware families such as Sodinokibi/REvil

MITRE ATT&CK Coverage

TacticTechniques
Impact

Telemetry Coverage

Rule Body

title: Deletion of Volume Shadow Copies via WMI with PowerShell - PS Script
id: c1337eb8-921a-4b59-855b-4ba188ddcc42
related:
    - id: e17121b4-ef2a-4418-8a59-12fb1631fa9e
      type: derived
    - id: 21ff4ca9-f13a-41ad-b828-0077b2af2e40
      type: similar
status: test
description: Detects deletion of Windows Volume Shadow Copies with PowerShell code and Get-WMIObject. This technique is used by numerous ransomware families such as Sodinokibi/REvil
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1490/T1490.md#atomic-test-5---windows---delete-volume-shadow-copies-via-wmi-with-powershell
    - https://www.elastic.co/guide/en/security/current/volume-shadow-copy-deletion-via-powershell.html
author: Tim Rauch, frack113
date: 2022-09-20
modified: 2022-12-02
tags:
    - attack.impact
    - attack.t1490
logsource:
    category: ps_script
    product: windows
detection:
    selection_get:
        ScriptBlockText|contains:
            - 'Get-WmiObject'
            - 'gwmi'
            - 'Get-CimInstance'
            - 'gcim'
    selection_shadowcopy:
        ScriptBlockText|contains: 'Win32_ShadowCopy'
    selection_delete:
        ScriptBlockText|contains:
            - '.Delete()'
            - 'Remove-WmiObject'
            - 'rwmi'
            - 'Remove-CimInstance'
            - 'rcim'
    condition: all of selection*
falsepositives:
    - Unknown
level: high
regression_tests_path: regression_data/rules/windows/powershell/powershell_script/posh_ps_susp_win32_shadowcopy_deletion/info.yml

Stages and Predicates

Stage 0: condition

all of selection*

Stage 1: selection_get

selection_get:
    ScriptBlockText|contains:
        - 'Get-WmiObject'
        - 'gwmi'
        - 'Get-CimInstance'
        - 'gcim'

Stage 2: selection_shadowcopy

selection_shadowcopy:
    ScriptBlockText|contains: 'Win32_ShadowCopy'

Stage 3: selection_delete

selection_delete:
    ScriptBlockText|contains:
        - '.Delete()'
        - 'Remove-WmiObject'
        - 'rwmi'
        - 'Remove-CimInstance'
        - 'rcim'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ScriptBlockTextmatch
  • .Delete()
  • Get-CimInstance corpus 2 (sigma 1, splunk 1)
  • Get-WmiObject corpus 7 (splunk 5, sigma 2)
  • Remove-CimInstance corpus 2 (sigma 2)
  • Remove-WmiObject corpus 2 (sigma 2)
  • Win32_ShadowCopy corpus 2 (sigma 2)
  • gcim
  • gwmi corpus 2 (sigma 2)
  • rcim corpus 2 (sigma 2)
  • rwmi corpus 2 (sigma 2)
field:"ScriptBlockText" kind:match

DNS Query by Finger Utility

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

Detects DNS queries made by the finger utility, which can be abused by threat actors to retrieve remote commands for execution on Windows devices. In one ClickFix malware campaign, adversaries leveraged the finger protocol to fetch commands from a remote server. Since the finger utility is not commonly used in modern Windows environments, its presence already raises suspicion. Investigating such DNS queries can also help identify potential malicious infrastructure used by threat actors for command and control (C2) communication.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

Telemetry Coverage

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

Rule Body

title: DNS Query by Finger Utility
id: c082c2b0-525b-4dbc-9a26-a57dc4692074
related:
    - id: 2fdaf50b-9fd5-449f-ba69-f17248119af6
      type: similar
    - id: af491bca-e752-4b44-9c86-df5680533dbc
      type: similar
status: experimental
description: |
    Detects DNS queries made by the finger utility, which can be abused by threat actors to retrieve remote commands for execution on Windows devices.
    In one ClickFix malware campaign, adversaries leveraged the finger protocol to fetch commands from a remote server.
    Since the finger utility is not commonly used in modern Windows environments, its presence already raises suspicion.
    Investigating such DNS queries can also help identify potential malicious infrastructure used by threat actors for command and control (C2) communication.
references:
    - https://www.bleepingcomputer.com/news/security/decades-old-finger-protocol-abused-in-clickfix-malware-attacks/
author: Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2025-11-19
tags:
    - attack.command-and-control
    - attack.t1071.004
    - attack.execution
    - attack.t1059.003
logsource:
    product: windows
    category: dns_query
detection:
    selection:
        Image|endswith: '\finger.exe'
    condition: selection
falsepositives:
    - Unlikely
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

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

Indicators

These rows show field, operator, and value matches.

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

Enable Local Manifest Installation With Winget

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

Detects changes to the AppInstaller (winget) policy. Specifically the activation of the local manifest installation, which allows a user to install new packages via custom manifests.

Known False Positives

  • Administrators or developers might enable this for testing purposes or to install custom private packages

MITRE ATT&CK Coverage

TacticTechniques
PersistenceNo specific technique
StealthNo specific technique

Telemetry Coverage

Rule Body

title: Enable Local Manifest Installation With Winget
id: fa277e82-9b78-42dd-b05c-05555c7b6015
status: test
description: Detects changes to the AppInstaller (winget) policy. Specifically the activation of the local manifest installation, which allows a user to install new packages via custom manifests.
references:
    - https://github.com/nasbench/Misc-Research/tree/b9596e8109dcdb16ec353f316678927e507a5b8d/LOLBINs/Winget
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-04-17
modified: 2023-08-17
tags:
    - attack.persistence
    - attack.stealth
logsource:
    product: windows
    category: registry_set
detection:
    selection:
        TargetObject|endswith: '\AppInstaller\EnableLocalManifestFiles'
        Details: 'DWORD (0x00000001)'
    condition: selection
falsepositives:
    - Administrators or developers might enable this for testing purposes or to install custom private packages
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|endswith: '\AppInstaller\EnableLocalManifestFiles'
    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)"
TargetObjectends_with
  • \AppInstaller\EnableLocalManifestFiles
field:"TargetObject" kind:ends_with value:"\AppInstaller\EnableLocalManifestFiles"

Firewall rule added using PowerShell or CMD

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

Detects scenarios where a firewall rule is added using PowerShell or CMD.

Known False Positives

  • Administrator activity
  • New application installation

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Firewall rule added using PowerShell or CMD
description: Detects scenarios where a firewall rule is added using PowerShell or CMD.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0005-Defense%20Evasion/T1562.004-Impair%20Defenses-Disable%20or%20Modify%20System%20Firewall
- https://kb.eventtracker.com/evtpass/evtPages/EventId_2004_Microsoft-Windows-WindowsFirewallwithAdvancedS_65673.asp
tags:
- attack.defense_evasion
- attack.t1562.004
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  service: firewall-as
detection:
  selection:
    EventID: 2004
    ModifyingApplication|endswith:
      - '\WmiPrvSE.exe' # PowerShell
      - '\netsh.exe' # CMD console
  condition: selection
falsepositives:
- Administrator activity
- New application installation
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
  EventID: 2004
  ModifyingApplication|endswith:
    - '\WmiPrvSE.exe'
    - '\netsh.exe'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ModifyingApplicationends_with
  • \WmiPrvSE.exe
  • \netsh.exe
field:"ModifyingApplication" kind:ends_with

HackTool - Typical HiveNightmare SAM File Export

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

Detects files written by the different tools that exploit HiveNightmare

Known False Positives

  • Files that accidentally contain these strings

MITRE ATT&CK Coverage

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 11: FileCreate

Rule Body

title: HackTool - Typical HiveNightmare SAM File Export
id: 6ea858a8-ba71-4a12-b2cc-5d83312404c7
status: test
description: Detects files written by the different tools that exploit HiveNightmare
references:
    - https://github.com/GossiTheDog/HiveNightmare
    - https://github.com/FireFart/hivenightmare/
    - https://github.com/WiredPulse/Invoke-HiveNightmare
    - https://twitter.com/cube0x0/status/1418920190759378944
author: Florian Roth (Nextron Systems)
date: 2021-07-23
modified: 2024-06-27
tags:
    - attack.credential-access
    - attack.t1552.001
    - cve.2021-36934
logsource:
    product: windows
    category: file_event
detection:
    selection:
        - TargetFilename|contains:
              - '\hive_sam_'  # Go version
              - '\SAM-2021-'  # C++ version
              - '\SAM-2022-'  # C++ version
              - '\SAM-2023-'  # C++ version
              - '\SAM-haxx'   # Early C++ versions
              - '\Sam.save'   # PowerShell version
        - TargetFilename: 'C:\windows\temp\sam'  # C# version of HiveNightmare
    condition: selection
falsepositives:
    - Files that accidentally contain these strings
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    - TargetFilename|contains:
          - '\hive_sam_'
          - '\SAM-2021-'
          - '\SAM-2022-'
          - '\SAM-2023-'
          - '\SAM-haxx'
          - '\Sam.save'
    - TargetFilename: 'C:\windows\temp\sam'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetFilenameeq
  • C:\windows\temp\sam
field:"TargetFilename" kind:eq value:"C:\windows\temp\sam"
TargetFilenamematch
  • \SAM-2021-
  • \SAM-2022-
  • \SAM-2023-
  • \SAM-haxx
  • \Sam.save corpus 2 (sigma 2)
  • \hive_sam_ corpus 2 (sigma 2)
field:"TargetFilename" kind:match

Indirect Inline Command Execution Via Bash.EXE

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

Detects execution of Microsoft bash launcher with the "-c" flag. This can be used to potentially bypass defenses and execute Linux or Windows-based binaries directly via bash.

MITRE ATT&CK Coverage

TacticTechniques
Stealth

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Indirect Inline Command Execution Via Bash.EXE
id: 5edc2273-c26f-406c-83f3-f4d948e740dd
related:
    - id: 2d22a514-e024-4428-9dba-41505bd63a5b
      type: similar
status: test
description: |
    Detects execution of Microsoft bash launcher with the "-c" flag.
    This can be used to potentially bypass defenses and execute Linux or Windows-based binaries directly via bash.
references:
    - https://lolbas-project.github.io/lolbas/Binaries/Bash/
author: frack113
date: 2021-11-24
modified: 2023-08-15
tags:
    - attack.stealth
    - attack.t1202
logsource:
    category: process_creation
    product: windows
detection:
    selection_img:
        - Image|endswith:
              - ':\Windows\System32\bash.exe'
              - ':\Windows\SysWOW64\bash.exe'
        - OriginalFileName: 'Bash.exe'
    selection_cli:
        CommandLine|contains: ' -c '
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_img

selection_img:
    - Image|endswith:
          - ':\Windows\System32\bash.exe'
          - ':\Windows\SysWOW64\bash.exe'
    - OriginalFileName: 'Bash.exe'

Stage 2: selection_cli

selection_cli:
    CommandLine|contains: ' -c '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -c corpus 13 (sigma 13)
field:"CommandLine" kind:match value:" -c "
Imageends_with
  • :\Windows\SysWOW64\bash.exe corpus 2 (sigma 2)
  • :\Windows\System32\bash.exe corpus 2 (sigma 2)
field:"Image" kind:ends_with
OriginalFileNameeq
  • Bash.exe corpus 3 (sigma 3)
field:"OriginalFileName" kind:eq value:"Bash.exe"

Invoke-Obfuscation Obfuscated IEX Invocation - PowerShell Module

#
Status
test
Severity
high
Author
Daniel Bohannon (@Mandiant/@FireEye), oscd.community
Source
github.com/SigmaHQ/sigma

Detects all variations of obfuscated powershell IEX invocation code generated by Invoke-Obfuscation framework from the code block cited in the reference section below

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Invoke-Obfuscation Obfuscated IEX Invocation - PowerShell Module
id: 2f211361-7dce-442d-b78a-c04039677378
related:
    - id: 1b9dc62e-6e9e-42a3-8990-94d7a10007f7
      type: derived
status: test
description: Detects all variations of obfuscated powershell IEX invocation code generated by Invoke-Obfuscation framework from the code block cited in the reference section below
references:
    - https://github.com/danielbohannon/Invoke-Obfuscation/blob/f20e7f843edd0a3a7716736e9eddfa423395dd26/Out-ObfuscatedStringCommand.ps1#L873-L888
author: Daniel Bohannon (@Mandiant/@FireEye), oscd.community
date: 2019-11-08
modified: 2022-12-31
tags:
    - attack.stealth
    - attack.t1027
    - attack.execution
    - attack.t1059.001
logsource:
    product: windows
    category: ps_module
    definition: 0ad03ef1-f21b-4a79-8ce8-e6900c54b65b
detection:
    selection_payload:
        - Payload|re: '\$PSHome\[\s*\d{1,3}\s*\]\s*\+\s*\$PSHome\['
        - Payload|re: '\$ShellId\[\s*\d{1,3}\s*\]\s*\+\s*\$ShellId\['
        - Payload|re: '\$env:Public\[\s*\d{1,3}\s*\]\s*\+\s*\$env:Public\['
        - Payload|re: '\$env:ComSpec\[(\s*\d{1,3}\s*,){2}'
        - Payload|re: '\*mdr\*\W\s*\)\.Name'
        - Payload|re: '\$VerbosePreference\.ToString\('
        - Payload|re: '\[String\]\s*\$VerbosePreference'
    condition: selection_payload
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection_payload

Stage 1: selection_payload

selection_payload:
    - Payload|re: '\$PSHome\[\s*\d{1,3}\s*\]\s*\+\s*\$PSHome\['
    - Payload|re: '\$ShellId\[\s*\d{1,3}\s*\]\s*\+\s*\$ShellId\['
    - Payload|re: '\$env:Public\[\s*\d{1,3}\s*\]\s*\+\s*\$env:Public\['
    - Payload|re: '\$env:ComSpec\[(\s*\d{1,3}\s*,){2}'
    - Payload|re: '\*mdr\*\W\s*\)\.Name'
    - Payload|re: '\$VerbosePreference\.ToString\('
    - Payload|re: '\[String\]\s*\$VerbosePreference'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Payloadregex_match
  • $PSHome[\s*\d{1,3}\s*]\s*+\s*$PSHome[
  • $ShellId[\s*\d{1,3}\s*]\s*+\s*$ShellId[
  • $VerbosePreference.ToString(
  • $env:ComSpec[(\s*\d{1,3}\s*,){2}
  • $env:Public[\s*\d{1,3}\s*]\s*+\s*$env:Public[
  • *mdr*\W\s*).Name
  • [String]\s*$VerbosePreference
field:"Payload" kind:regex_match

Local Groups Discovery - MacOs

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

Detects enumeration of local system groups

Known False Positives

  • Legitimate administration activities

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Local Groups Discovery - MacOs
id: 89bb1f97-c7b9-40e8-b52b-7d6afbd67276
status: test
description: Detects enumeration of local system groups
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1069.001/T1069.001.md
author: Ömer Günal, Alejandro Ortuno, oscd.community
date: 2020-10-11
modified: 2022-11-27
tags:
    - attack.discovery
    - attack.t1069.001
logsource:
    category: process_creation
    product: macos
detection:
    selection_1:
        Image|endswith: '/dscacheutil'
        CommandLine|contains|all:
            - '-q'
            - 'group'
    selection_2:
        Image|endswith: '/cat'
        CommandLine|contains: '/etc/group'
    selection_3:
        Image|endswith: '/dscl'
        CommandLine|contains|all:
            - '-list'
            - '/groups'
    condition: 1 of selection*
falsepositives:
    - Legitimate administration activities
level: informational

Stages and Predicates

Stage 0: condition

1 of selection*

Stage 1: selection_1

selection_1:
    Image|endswith: '/dscacheutil'
    CommandLine|contains|all:
        - '-q'
        - 'group'

Stage 2: selection_2

selection_2:
    Image|endswith: '/cat'
    CommandLine|contains: '/etc/group'

Stage 3: selection_3

selection_3:
    Image|endswith: '/dscl'
    CommandLine|contains|all:
        - '-list'
        - '/groups'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -list
  • -q corpus 8 (sigma 7, splunk 1)
  • /etc/group corpus 2 (sigma 2)
  • /groups
  • group corpus 7 (splunk 4, sigma 3)
field:"CommandLine" kind:match
Imageends_with
  • /cat corpus 10 (sigma 10)
  • /dscacheutil corpus 2 (sigma 2)
  • /dscl corpus 5 (sigma 5)
field:"Image" kind:ends_with

macOS Suspicious Keychain Access

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

Detects suspicious access to the macOS Keychain, which stores passwords, certificates, and encryption keys. Attackers may attempt to dump credentials or access stored secrets.

Known False Positives

  • Legitimate password manager applications
  • System services accessing credentials
  • SSH key access

MITRE ATT&CK Coverage

Rule Body

title: macOS Suspicious Keychain Access
id: d4e5f6a7-b8c9-4012-def0-123456789012
status: experimental
description: |
  Detects suspicious access to the macOS Keychain, which stores passwords,
  certificates, and encryption keys. Attackers may attempt to dump credentials
  or access stored secrets.
references:
  - https://attack.mitre.org/techniques/T1555/001/
  - https://www.sentinelone.com/blog/macos-keychain-extraction/
author: Eric Brown - Nebulock, Inc.
date: 2025/01/22
modified: 2025/01/22
logsource:
  product: macos
  service: unifiedlog
detection:
  selection_subsystem:
    subsystem: com.apple.securityd
  selection_keychain:
    message|contains:
      - 'keychain'
      - 'SecKeychainItemCopyContent'
      - 'SecKeychainFindGenericPassword'
      - 'SecKeychainFindInternetPassword'
      - 'security find-generic-password'
      - 'security find-internet-password'
      - 'security dump-keychain'
  selection_suspicious:
    message|contains:
      - 'denied'
      - 'unauthorized'
      - 'failed'
      - 'dump'
      - 'export'
  condition: selection_subsystem and selection_keychain and selection_suspicious
falsepositives:
  - Legitimate password manager applications
  - System services accessing credentials
  - SSH key access
level: high
tags:
  - attack.credential_access
  - attack.t1555.001

Stages and Predicates

Stage 0: condition

selection_subsystem and selection_keychain and selection_suspicious

Stage 1: selection_subsystem

selection_subsystem:
  subsystem: com.apple.securityd

Stage 2: selection_keychain

selection_keychain:
  message|contains:
    - 'keychain'
    - 'SecKeychainItemCopyContent'
    - 'SecKeychainFindGenericPassword'
    - 'SecKeychainFindInternetPassword'
    - 'security find-generic-password'
    - 'security find-internet-password'
    - 'security dump-keychain'

Stage 3: selection_suspicious

selection_suspicious:
  message|contains:
    - 'denied'
    - 'unauthorized'
    - 'failed'
    - 'dump'
    - 'export'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
messagematch
  • SecKeychainFindGenericPassword
  • SecKeychainFindInternetPassword
  • SecKeychainItemCopyContent
  • denied
  • dump
  • export
  • failed
  • keychain
  • security dump-keychain
  • security find-generic-password
  • security find-internet-password
  • unauthorized
field:"message" kind:match
subsystemeq
  • com.apple.securityd
field:"subsystem" kind:eq value:"com.apple.securityd"

Metasploit Or Impacket Service Installation Via SMB PsExec

#
Status
test
Severity
high
Author
Bartlomiej Czyz, Relativity
Source
github.com/SigmaHQ/sigma

Detects usage of Metasploit SMB PsExec (exploit/windows/smb/psexec) and Impacket psexec.py by triggering on specific service installation

Known False Positives

  • Possible, different agents with a 8 character binary and a 4, 8 or 16 character service name

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Metasploit Or Impacket Service Installation Via SMB PsExec
id: 6fb63b40-e02a-403e-9ffd-3bcc1d749442
related:
    - id: 1a17ce75-ff0d-4f02-9709-2b7bb5618cf0
      type: derived
status: test
description: Detects usage of Metasploit SMB PsExec (exploit/windows/smb/psexec) and Impacket psexec.py by triggering on specific service installation
references:
    - https://bczyz1.github.io/2021/01/30/psexec.html
author: Bartlomiej Czyz, Relativity
date: 2021-01-21
modified: 2022-10-05
tags:
    - attack.lateral-movement
    - attack.t1021.002
    - attack.t1570
    - attack.execution
    - attack.t1569.002
logsource:
    product: windows
    service: security
    definition: The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697
detection:
    selection:
        EventID: 4697
        ServiceFileName|re: '^%systemroot%\\[a-zA-Z]{8}\.exe$'
        ServiceName|re: '(^[a-zA-Z]{4}$)|(^[a-zA-Z]{8}$)|(^[a-zA-Z]{16}$)'
        ServiceStartType: 3  # on-demand start, see https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4697
        ServiceType: '0x10'
    filter:
        ServiceName: 'PSEXESVC'
    condition: selection and not filter
falsepositives:
    - Possible, different agents with a 8 character binary and a 4, 8 or 16 character service name
level: high

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    EventID: 4697
    ServiceFileName|re: '^%systemroot%\\[a-zA-Z]{8}\.exe$'
    ServiceName|re: '(^[a-zA-Z]{4}$)|(^[a-zA-Z]{8}$)|(^[a-zA-Z]{16}$)'
    ServiceStartType: 3
    ServiceType: '0x10'

Stage 2: not filter

filter:
    ServiceName: 'PSEXESVC'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ServiceNameeqPSEXESVCexcludes:ServiceName field:"ServiceName" value:"PSEXESVC"

New User Account Creation Attempt Via ADSI

#
Status
experimental
Severity
medium
Author
William Gokah (idea), Raylee Hawkins, Swachchhanda Shrawan Poudel (Nextron Systems)
Source
github.com/SigmaHQ/sigma

Detects an attempt to create a new user account via ADSI (Active Directory Service Interfaces) using either the WinNT or LDAP provider. This is an uncommon method to create user accounts and may indicate an attempt to evade detection by avoiding more commonly monitored commands such as "net user", "New-LocalUser" or "New-ADUser".

Known False Positives

  • Legitimate administrative scripts that use ADSI to provision user accounts but should be rare in most environments

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: New User Account Creation Attempt Via ADSI
id: e50d5d26-0cf6-4045-b82b-13c0a4e316be
related:
    - id: 7c9fed65-039a-4055-8c23-fa763d94aff6
      type: similar
status: experimental
description: |
    Detects an attempt to create a new user account via ADSI (Active Directory Service Interfaces)
    using either the WinNT or LDAP provider. This is an uncommon method to create user accounts
    and may indicate an attempt to evade detection by avoiding more commonly monitored commands
    such as "net user", "New-LocalUser" or "New-ADUser".
references:
    - https://learn.microsoft.com/en-us/windows/win32/adsi/user-creation-with-the-adsi-ldap-provider
    - https://learn.microsoft.com/en-us/windows/win32/adsi/adsi-winnt-provider
author: William Gokah (idea), Raylee Hawkins, Swachchhanda Shrawan Poudel (Nextron Systems)
date: 2026-08-13
tags:
    - attack.persistence
    - attack.t1136.001
    - attack.t1136.002
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection_adsi:
        ScriptBlockText|contains: '[ADSI]'
    selection_create_user:
        # Example (WinNT - local user):
        #   $computer = [ADSI]"WinNT://localhost"; $user = $computer.Create("User", "NewUser"); $user.SetPassword("P@ssw0rd!"); $user.SetInfo()
        # Example (LDAP - domain user):
        #   $ou = [ADSI]"LDAP://CN=Users,DC=domain,DC=com"; $user = $ou.Create("user", "CN=NewUser"); $user.Put("sAMAccountName","NewUser"); $user.SetInfo()
        ScriptBlockText|contains:
            - '.create("user'
            - ".create('user"
    selection_adsi_provider:
        ScriptBlockText|contains:
            - 'WinNT://' # Local user creation via WinNT provider
            - 'LDAP://' # Domain user creation via LDAP provider
    condition: all of selection_*
falsepositives:
    - Legitimate administrative scripts that use ADSI to provision user accounts but should be rare in most environments
level: medium
regression_tests_path: regression_data/rules/windows/powershell/powershell_script/posh_ps_adsi_create_user/info.yml

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_adsi

selection_adsi:
    ScriptBlockText|contains: '[ADSI]'

Stage 2: selection_create_user

selection_create_user:
    ScriptBlockText|contains:
        - '.create("user'
        - ".create('user"

Stage 3: selection_adsi_provider

selection_adsi_provider:
    ScriptBlockText|contains:
        - 'WinNT://'
        - 'LDAP://'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ScriptBlockTextmatch
  • .create("user
  • .create('user
  • LDAP://
  • WinNT://
  • [ADSI]
field:"ScriptBlockText" kind:match

Node Process Executions

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

Detects the execution of other scripts using the Node executable packaged with Adobe Creative Cloud

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Node Process Executions
id: df1f26d3-bea7-4700-9ea2-ad3e990cf90e
status: test
description: Detects the execution of other scripts using the Node executable packaged with Adobe Creative Cloud
references:
    - https://twitter.com/mttaggart/status/1511804863293784064
author: Max Altgelt (Nextron Systems)
date: 2022-04-06
tags:
    - attack.execution
    - attack.stealth
    - attack.t1127
    - attack.t1059.007
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\Adobe Creative Cloud Experience\libs\node.exe'
    filter:
        CommandLine|contains: 'Adobe Creative Cloud Experience\js' # Folder where Creative Cloud's JS resources are located
    condition: selection and not filter
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

selection and not filter

Stage 1: selection

selection:
    Image|endswith: '\Adobe Creative Cloud Experience\libs\node.exe'

Stage 2: not filter

filter:
    CommandLine|contains: 'Adobe Creative Cloud Experience\js'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
Imageends_with
  • \Adobe Creative Cloud Experience\libs\node.exe
field:"Image" kind:ends_with value:"\Adobe Creative Cloud Experience\libs\node.exe"

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
CommandLinematchAdobe Creative Cloud Experience\jsexcludes:CommandLine field:"CommandLine" value:"Adobe Creative Cloud Experience\js"

Potential OWASSRF Exploitation Attempt - Proxy

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

Detects exploitation attempt of the OWASSRF variant targeting exchange servers It uses the OWA endpoint to access the powershell backend endpoint

Known False Positives

  • Web vulnerability scanners

MITRE ATT&CK Coverage

TacticTechniques
Initial Access

Rule Body

title: Potential OWASSRF Exploitation Attempt - Proxy
id: 1ddf4596-1908-43c9-add2-1d2c2fcc4797
status: test
description: Detects exploitation attempt of the OWASSRF variant targeting exchange servers It uses the OWA endpoint to access the powershell backend endpoint
references:
    - https://www.crowdstrike.com/blog/owassrf-exploit-analysis-and-recommendations/
    - https://www.rapid7.com/blog/post/2022/12/21/cve-2022-41080-cve-2022-41082-rapid7-observed-exploitation-of-owassrf-in-exchange-for-rce/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-12-22
tags:
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
logsource:
    category: proxy
detection:
    selection:
        cs-method: 'POST'
        sc-status: 200
        c-uri|contains|all:
            - '/owa/'
            - '/powershell'
        c-uri|contains:
            - '@'
            - '%40'
    filter_main_ua:
        c-useragent:
            - 'ClientInfo'
            - 'Microsoft WinRM Client'
            - 'Exchange BackEnd Probes'
    condition: selection and not 1 of filter_main_*
falsepositives:
    - Web vulnerability scanners
level: high

Stages and Predicates

Stage 0: condition

selection and not 1 of filter_main_*

Stage 1: selection

selection:
    cs-method: 'POST'
    sc-status: 200
    c-uri|contains|all:
        - '/owa/'
        - '/powershell'
    c-uri|contains:
        - '@'
        - '%40'

Stage 2: not filter_main_ua

filter_main_ua:
    c-useragent:
        - 'ClientInfo'
        - 'Microsoft WinRM Client'
        - 'Exchange BackEnd Probes'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

Registry-Free Process Scope COR_PROFILER

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

Adversaries may leverage the COR_PROFILER environment variable to hijack the execution flow of programs that load the .NET CLR. The COR_PROFILER is a .NET Framework feature which allows developers to specify an unmanaged (or external of .NET) profiling DLL to be loaded into each .NET process that loads the Common Language Runtime (CLR). These profiliers are designed to monitor, troubleshoot, and debug managed code executed by the .NET CLR. (Citation: Microsoft Profiling Mar 2017) (Citation: Microsoft COR_PROFILER Feb 2013)

Known False Positives

  • Legitimate administrative script

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Registry-Free Process Scope COR_PROFILER
id: 23590215-4702-4a70-8805-8dc9e58314a2
status: test
description: |
    Adversaries may leverage the COR_PROFILER environment variable to hijack the execution flow of programs that load the .NET CLR.
    The COR_PROFILER is a .NET Framework feature which allows developers to specify an unmanaged (or external of .NET) profiling DLL to be loaded into each .NET process that loads the Common Language Runtime (CLR).
    These profiliers are designed to monitor, troubleshoot, and debug managed code executed by the .NET CLR.
    (Citation: Microsoft Profiling Mar 2017)
    (Citation: Microsoft COR_PROFILER Feb 2013)
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1574.012/T1574.012.md#atomic-test-3---registry-free-process-scope-cor_profiler
author: frack113
date: 2021-12-30
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.execution
    - attack.stealth
    - attack.t1574.012
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection:
        ScriptBlockText|contains|all:
            - '$env:COR_ENABLE_PROFILING'
            - '$env:COR_PROFILER'
            - '$env:COR_PROFILER_PATH'
    condition: selection
falsepositives:
    - Legitimate administrative script
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ScriptBlockText|contains|all:
        - '$env:COR_ENABLE_PROFILING'
        - '$env:COR_PROFILER'
        - '$env:COR_PROFILER_PATH'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ScriptBlockTextmatch
  • $env:COR_ENABLE_PROFILING
  • $env:COR_PROFILER
  • $env:COR_PROFILER_PATH
field:"ScriptBlockText" kind:match

Remote Access Tool Services Have Been Installed - Security

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

Detects service installation of different remote access tools software. These software are often abused by threat actors to perform

Known False Positives

  • The rule doesn't look for anything suspicious so false positives are expected. If you use one of the tools mentioned, comment it out

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Remote Access Tool Services Have Been Installed - Security
id: c8b00925-926c-47e3-beea-298fd563728e
related:
    - id: 1a31b18a-f00c-4061-9900-f735b96c99fc
      type: similar
status: test
description: Detects service installation of different remote access tools software. These software are often abused by threat actors to perform
references:
    - https://redcanary.com/blog/misbehaving-rats/
author: Connor Martin, Nasreddine Bencherchali (Nextron Systems)
date: 2022-12-23
modified: 2024-12-07
tags:
    - attack.privilege-escalation
    - attack.persistence
    - attack.execution
    - attack.t1543.003
    - attack.t1569.002
logsource:
    product: windows
    service: security
    definition: The 'System Security Extension' audit subcategory need to be enabled to log the EID 4697
detection:
    selection:
        EventID: 4697
        ServiceName|contains:
            # Based on https://github.com/SigmaHQ/sigma/pull/2841
            - 'AmmyyAdmin' # https://www.ammyy.com/en/
            - 'AnyDesk' # https://usersince99.medium.com/windows-privilege-escalation-8214ceaf4db8
            - 'Atera'
            - 'BASupportExpressSrvcUpdater' # https://www.systemlookup.com/O23/6837-BASupSrvcUpdater_exe.html
            - 'BASupportExpressStandaloneService' # https://www.systemlookup.com/O23/6839-BASupSrvc_exe.html
            - 'chromoting'
            - 'GoToAssist' # https://www.goto.com/it-management/resolve
            - 'GoToMyPC' # https://get.gotomypc.com/
            - 'jumpcloud'
            - 'LMIGuardianSvc' # https://www.logmein.com/
            - 'LogMeIn' # https://www.logmein.com/
            - 'monblanking'
            - 'Parsec'
            - 'RManService' # https://www.systemlookup.com/O23/7855-rutserv_exe.html
            - 'RPCPerformanceService' # https://www.remotepc.com/
            - 'RPCService' # https://www.remotepc.com/
            - 'SplashtopRemoteService' # https://www.splashtop.com/
            - 'SSUService'
            - 'TeamViewer'
            - 'TightVNC' # https://www.tightvnc.com/
            - 'vncserver'
            - 'Zoho'
    condition: selection
falsepositives:
    - The rule doesn't look for anything suspicious so false positives are expected. If you use one of the tools mentioned, comment it out
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 4697
    ServiceName|contains:
        - 'AmmyyAdmin'
        - 'AnyDesk'
        - 'Atera'
        - 'BASupportExpressSrvcUpdater'
        - 'BASupportExpressStandaloneService'
        - 'chromoting'
        - 'GoToAssist'
        - 'GoToMyPC'
        - 'jumpcloud'
        - 'LMIGuardianSvc'
        - 'LogMeIn'
        - 'monblanking'
        - 'Parsec'
        - 'RManService'
        - 'RPCPerformanceService'
        - 'RPCService'
        - 'SplashtopRemoteService'
        - 'SSUService'
        - 'TeamViewer'
        - 'TightVNC'
        - 'vncserver'
        - 'Zoho'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ServiceNamematch
  • AmmyyAdmin corpus 2 (sigma 2)
  • AnyDesk corpus 2 (sigma 2)
  • Atera corpus 2 (sigma 2)
  • BASupportExpressSrvcUpdater corpus 2 (sigma 2)
  • BASupportExpressStandaloneService corpus 2 (sigma 2)
  • GoToAssist corpus 2 (sigma 2)
  • GoToMyPC corpus 2 (sigma 2)
  • LMIGuardianSvc corpus 2 (sigma 2)
  • LogMeIn corpus 2 (sigma 2)
  • Parsec corpus 2 (sigma 2)
  • RManService corpus 2 (sigma 2)
  • RPCPerformanceService corpus 2 (sigma 2)
  • RPCService corpus 2 (sigma 2)
  • SSUService corpus 2 (sigma 2)
  • SplashtopRemoteService corpus 2 (sigma 2)
  • TeamViewer corpus 2 (sigma 2)
  • TightVNC corpus 2 (sigma 2)
  • Zoho corpus 2 (sigma 2)
  • chromoting corpus 2 (sigma 2)
  • jumpcloud corpus 2 (sigma 2)
  • monblanking corpus 2 (sigma 2)
  • vncserver corpus 2 (sigma 2)
field:"ServiceName" kind:match

Running Chrome VPN Extensions via the Registry 2 VPN Extension

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

Running Chrome VPN Extensions via the Registry install 2 vpn extension

MITRE ATT&CK Coverage

TacticTechniques
Initial Access
Persistence

Telemetry Coverage

Rule Body

title: Running Chrome VPN Extensions via the Registry 2 VPN Extension
id: b64a026b-8deb-4c1d-92fd-98893209dff1
status: test
description: Running Chrome VPN Extensions via the Registry install 2 vpn extension
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1133/T1133.md#atomic-test-1---running-chrome-vpn-extensions-via-the-registry-2-vpn-extension
author: frack113
date: 2021-12-28
modified: 2023-08-17
tags:
    - attack.initial-access
    - attack.persistence
    - attack.t1133
logsource:
    category: registry_set
    product: windows
detection:
    chrome_ext:
        TargetObject|contains: 'Software\Wow6432Node\Google\Chrome\Extensions'
        TargetObject|endswith: 'update_url'
    chrome_vpn:
        TargetObject|contains:
            - fdcgdnkidjaadafnichfpabhfomcebme # ZenMate VPN
            - fcfhplploccackoneaefokcmbjfbkenj # 1clickVPN
            - bihmplhobchoageeokmgbdihknkjbknd # Touch VPN
            - gkojfkhlekighikafcpjkiklfbnlmeio # Hola Free VPN
            - jajilbjjinjmgcibalaakngmkilboobh # Astar VPN
            - gjknjjomckknofjidppipffbpoekiipm # VPN Free
            - nabbmpekekjknlbkgpodfndbodhijjem # Earth VPN
            - kpiecbcckbofpmkkkdibbllpinceiihk # DotVPN
            - nlbejmccbhkncgokjcmghpfloaajcffj # Hotspot Shield Free VPN
            - omghfjlpggmjjaagoclmmobgdodcjboh # Browsec VPN
            - bibjcjfmgapbfoljiojpipaooddpkpai # VPN-free.pro
            - mpcaainmfjjigeicjnlkdfajbioopjko # VPN Unlimited Free
            - jljopmgdobloagejpohpldgkiellmfnc # PP VPN
            - lochiccbgeohimldjooaakjllnafhaid # IP Unblock
            - nhnfcgpcbfclhfafjlooihdfghaeinfc # Surf VPN
            - ookhnhpkphagefgdiemllfajmkdkcaim # iNinja VPN
            - namfblliamklmeodpcelkokjbffgmeoo # Daily VPN
            - nbcojefnccbanplpoffopkoepjmhgdgh # Hoxx VPN Proxy
            - majdfhpaihoncoakbjgbdhglocklcgno # Free VPN
            - lnfdmdhmfbimhhpaeocncdlhiodoblbd # VPN PROXY MASTER
            - eppiocemhmnlbhjplcgkofciiegomcon # Urban Free VPN
            - cocfojppfigjeefejbpfmedgjbpchcng # SaferVPN Proxy
            - foiopecknacmiihiocgdjgbjokkpkohc # VPN Professional
            - hhdobjgopfphlmjbmnpglhfcgppchgje # AdGuard VPN
            - jgbaghohigdbgbolncodkdlpenhcmcge # Free VPN
            - inligpkjkhbpifecbdjhmdpcfhnlelja # Free One Touch VPN
            - higioemojdadgdbhbbbkfbebbdlfjbip # Unlimited VPN & Proxy by ibVPN
            - hipncndjamdcmphkgngojegjblibadbe # RusVPN
            - iolonopooapdagdemdoaihahlfkncfgg # Azino VPN
            - nhfjkakglbnnpkpldhjmpmmfefifedcj # Pron VPN
            - jpgljfpmoofbmlieejglhonfofmahini # Free Residential VPN
            - fgddmllnllkalaagkghckoinaemmogpe # ExpressVPN
            - ejkaocphofnobjdedneohbbiilggdlbi # Hotspot Shield Elite VPN Proxy
            - keodbianoliadkoelloecbhllnpiocoi # Hide My IP VPN
            - hoapmlpnmpaehilehggglehfdlnoegck # Tunnello VPN
            - poeojclicodamonabcabmapamjkkmnnk # HMA VPN Proxy Unblocker
            - dfkdflfgjdajbhocmfjolpjbebdkcjog # Free Avira Phantom VPN
            - kcdahmgmaagjhocpipbodaokikjkampi # Hola VPN
            - klnkiajpmpkkkgpgbogmcgfjhdoljacg # Free VPN for Chrome
            - lneaocagcijjdpkcabeanfpdbmapcjjg # Hub VPN
            - pgfpignfckbloagkfnamnolkeaecfgfh # Free Proxy VPN
            - jplnlifepflhkbkgonidnobkakhmpnmh # Private Internet Access
            - jliodmnojccaloajphkingdnpljdhdok # Turbo VPN for PC
            - hnmpcagpplmpfojmgmnngilcnanddlhb # Windscribe
            - ffbkglfijbcbgblgflchnbphjdllaogb # CyberGhost VPN
            - kcndmbbelllkmioekdagahekgimemejo # VPN.AC
            - jdgilggpfmjpbodmhndmhojklgfdlhob # Browser VPN
            - bihhflimonbpcfagfadcnbbdngpopnjb # DEEPRISM VPN
            - ppajinakbfocjfnijggfndbdmjggcmde # My Browser Vpn
            - oofgbpoabipfcfjapgnbbjjaenockbdp # SetupVPN
            - bhnhkdgoefpmekcgnccpnhjfdgicfebm # Wachee VPN
            - knmmpciebaoojcpjjoeonlcjacjopcpf # Thunder Proxy
            - dhadilbmmjiooceioladdphemaliiobo # Free Proxy VPN
            - jedieiamjmoflcknjdjhpieklepfglin # FastestVPN Proxy
            - mhngpdlhojliikfknhfaglpnddniijfh # WorkingVPN
            - omdakjcmkglenbhjadbccaookpfjihpa # TunnelBear VPN
            - npgimkapccfidfkfoklhpkgmhgfejhbj # BelkaVPN
            - akeehkgglkmpapdnanoochpfmeghfdln # VPN Master
            - gbmdmipapolaohpinhblmcnpmmlgfgje # Unblock Websites
            - aigmfoeogfnljhnofglledbhhfegannp # Lethean Proxy VPN
            - cgojmfochfikphincbhokimmmjenhhgk # Whoer VPN
            - ficajfeojakddincjafebjmfiefcmanc # Best VPN USA
            - ifnaibldjfdmaipaddffmgcmekjhiloa # FREE VPN DEWELOPMENT
            - jbnmpdkcfkochpanomnkhnafobppmccn # apkfold free vpn
            - apcfdffemoinopelidncddjbhkiblecc # Soul VPN
            - mjolnodfokkkaichkcjipfgblbfgojpa # DotVPN
            - oifjbnnafapeiknapihcmpeodaeblbkn # rderzh VPN Proxy
            - plpmggfglncceinmilojdkiijhmajkjh # Red Panda VPN
            - mjnbclmflcpookeapghfhapeffmpodij # Ultrareach VPN
            - bblcccknbdbplgmdjnnikffefhdlobhp # FastStunnel VPN
            - aojlhgbkmkahabcmcpifbolnoichfeep # VirtualShield VPN
            - lcmammnjlbmlbcaniggmlejfjpjagiia # Adblock Office VPN Proxy Server
            - knajdeaocbpmfghhmijicidfcmdgbdpm # Guru VPN & Proxy
            - bdlcnpceagnkjnjlbbbcepohejbheilk # Malus VPN
            - edknjdjielmpdlnllkdmaghlbpnmjmgb # Muscle VPN
            - eidnihaadmmancegllknfbliaijfmkgo # Push VPN
            - ckiahbcmlmkpfiijecbpflfahoimklke # Gom VPN
            - macdlemfnignjhclfcfichcdhiomgjjb # Free Fast VPN
            - chioafkonnhbpajpengbalkececleldf # BullVPN
            - amnoibeflfphhplmckdbiajkjaoomgnj # HideAll VPN
            - llbhddikeonkpbhpncnhialfbpnilcnc # ProxyFlow
            - pcienlhnoficegnepejpfiklggkioccm # Cloud VPN
            - iocnglnmfkgfedpcemdflhkchokkfeii # sVPN
            - igahhbkcppaollcjeaaoapkijbnphfhb # Social VPN
            - njpmifchgidinihmijhcfpbdmglecdlb # Trellonet Trellonet
            - ggackgngljinccllcmbgnpgpllcjepgc # WindmillVPN
            - kchocjcihdgkoplngjemhpplmmloanja # IPBurger Proxy & VPN
            - bnijmipndnicefcdbhgcjoognndbgkep # Veee
            - lklekjodgannjcccdlbicoamibgbdnmi # Anonymous Proxy Vpn Browser
            - dbdbnchagbkhknegmhgikkleoogjcfge # Hideman VPN
            - egblhcjfjmbjajhjhpmnlekffgaemgfh # Fornex VPN
            - ehbhfpfdkmhcpaehaooegfdflljcnfec # WeVPN
            - bkkgdjpomdnfemhhkalfkogckjdkcjkg # VPNMatic
            - almalgbpmcfpdaopimbdchdliminoign # Urban Shield
            - akkbkhnikoeojlhiiomohpdnkhbkhieh # Prime VPN
            - gbfgfbopcfokdpkdigfmoeaajfmpkbnh # westwind
            - bniikohfmajhdcffljgfeiklcbgffppl # Upnet
            - lejgfmmlngaigdmmikblappdafcmkndb # uVPN
            - ffhhkmlgedgcliajaedapkdfigdobcif # Nucleus VPN
            - gcknhkkoolaabfmlnjonogaaifnjlfnp # FoxyProxy Standard
            - pooljnboifbodgifngpppfklhifechoe # GeoProxy
            - fjoaledfpmneenckfbpdfhkmimnjocfa # NordVPN
            - aakchaleigkohafkfjfjbblobjifikek # ProxFlow
            - dpplabbmogkhghncfbfdeeokoefdjegm # Proxy SwitchySharp
            - padekgcemlokbadohgkifijomclgjgif # Proxy SwitchyOmega
            - bfidboloedlamgdmenmlbipfnccokknp # PureVPN
    condition: all of chrome_*
falsepositives:
    - Unknown
level: high
simulation:
    - type: atomic-red-team
      name: Running Chrome VPN Extensions via the Registry 2 vpn extension
      technique: T1133
      atomic_guid: 4c8db261-a58b-42a6-a866-0a294deedde4

Stages and Predicates

Stage 0: condition

all of chrome_*

Stage 1: chrome_ext

chrome_ext:
    TargetObject|contains: 'Software\Wow6432Node\Google\Chrome\Extensions'
    TargetObject|endswith: 'update_url'

Stage 2: chrome_vpn

chrome_vpn:
    TargetObject|contains:
        - fdcgdnkidjaadafnichfpabhfomcebme
        - fcfhplploccackoneaefokcmbjfbkenj
        - bihmplhobchoageeokmgbdihknkjbknd
        - gkojfkhlekighikafcpjkiklfbnlmeio
        - jajilbjjinjmgcibalaakngmkilboobh
        - gjknjjomckknofjidppipffbpoekiipm
        - nabbmpekekjknlbkgpodfndbodhijjem
        - kpiecbcckbofpmkkkdibbllpinceiihk
        - nlbejmccbhkncgokjcmghpfloaajcffj
        - omghfjlpggmjjaagoclmmobgdodcjboh
        - bibjcjfmgapbfoljiojpipaooddpkpai
        - mpcaainmfjjigeicjnlkdfajbioopjko
        - jljopmgdobloagejpohpldgkiellmfnc
        - lochiccbgeohimldjooaakjllnafhaid
        - nhnfcgpcbfclhfafjlooihdfghaeinfc
        - ookhnhpkphagefgdiemllfajmkdkcaim
        - namfblliamklmeodpcelkokjbffgmeoo
        - nbcojefnccbanplpoffopkoepjmhgdgh
        - majdfhpaihoncoakbjgbdhglocklcgno
        - lnfdmdhmfbimhhpaeocncdlhiodoblbd
        - eppiocemhmnlbhjplcgkofciiegomcon
        - cocfojppfigjeefejbpfmedgjbpchcng
        - foiopecknacmiihiocgdjgbjokkpkohc
        - hhdobjgopfphlmjbmnpglhfcgppchgje
        - jgbaghohigdbgbolncodkdlpenhcmcge
        - inligpkjkhbpifecbdjhmdpcfhnlelja
        - higioemojdadgdbhbbbkfbebbdlfjbip
        - hipncndjamdcmphkgngojegjblibadbe
        - iolonopooapdagdemdoaihahlfkncfgg
        - nhfjkakglbnnpkpldhjmpmmfefifedcj
        - jpgljfpmoofbmlieejglhonfofmahini
        - fgddmllnllkalaagkghckoinaemmogpe
        - ejkaocphofnobjdedneohbbiilggdlbi
        - keodbianoliadkoelloecbhllnpiocoi
        - hoapmlpnmpaehilehggglehfdlnoegck
        - poeojclicodamonabcabmapamjkkmnnk
        - dfkdflfgjdajbhocmfjolpjbebdkcjog
        - kcdahmgmaagjhocpipbodaokikjkampi
        - klnkiajpmpkkkgpgbogmcgfjhdoljacg
        - lneaocagcijjdpkcabeanfpdbmapcjjg
        - pgfpignfckbloagkfnamnolkeaecfgfh
        - jplnlifepflhkbkgonidnobkakhmpnmh
        - jliodmnojccaloajphkingdnpljdhdok
        - hnmpcagpplmpfojmgmnngilcnanddlhb
        - ffbkglfijbcbgblgflchnbphjdllaogb
        - kcndmbbelllkmioekdagahekgimemejo
        - jdgilggpfmjpbodmhndmhojklgfdlhob
        - bihhflimonbpcfagfadcnbbdngpopnjb
        - ppajinakbfocjfnijggfndbdmjggcmde
        - oofgbpoabipfcfjapgnbbjjaenockbdp
        - bhnhkdgoefpmekcgnccpnhjfdgicfebm
        - knmmpciebaoojcpjjoeonlcjacjopcpf
        - dhadilbmmjiooceioladdphemaliiobo
        - jedieiamjmoflcknjdjhpieklepfglin
        - mhngpdlhojliikfknhfaglpnddniijfh
        - omdakjcmkglenbhjadbccaookpfjihpa
        - npgimkapccfidfkfoklhpkgmhgfejhbj
        - akeehkgglkmpapdnanoochpfmeghfdln
        - gbmdmipapolaohpinhblmcnpmmlgfgje
        - aigmfoeogfnljhnofglledbhhfegannp
        - cgojmfochfikphincbhokimmmjenhhgk
        - ficajfeojakddincjafebjmfiefcmanc
        - ifnaibldjfdmaipaddffmgcmekjhiloa
        - jbnmpdkcfkochpanomnkhnafobppmccn
        - apcfdffemoinopelidncddjbhkiblecc
        - mjolnodfokkkaichkcjipfgblbfgojpa
        - oifjbnnafapeiknapihcmpeodaeblbkn
        - plpmggfglncceinmilojdkiijhmajkjh
        - mjnbclmflcpookeapghfhapeffmpodij
        - bblcccknbdbplgmdjnnikffefhdlobhp
        - aojlhgbkmkahabcmcpifbolnoichfeep
        - lcmammnjlbmlbcaniggmlejfjpjagiia
        - knajdeaocbpmfghhmijicidfcmdgbdpm
        - bdlcnpceagnkjnjlbbbcepohejbheilk
        - edknjdjielmpdlnllkdmaghlbpnmjmgb
        - eidnihaadmmancegllknfbliaijfmkgo
        - ckiahbcmlmkpfiijecbpflfahoimklke
        - macdlemfnignjhclfcfichcdhiomgjjb
        - chioafkonnhbpajpengbalkececleldf
        - amnoibeflfphhplmckdbiajkjaoomgnj
        - llbhddikeonkpbhpncnhialfbpnilcnc
        - pcienlhnoficegnepejpfiklggkioccm
        - iocnglnmfkgfedpcemdflhkchokkfeii
        - igahhbkcppaollcjeaaoapkijbnphfhb
        - njpmifchgidinihmijhcfpbdmglecdlb
        - ggackgngljinccllcmbgnpgpllcjepgc
        - kchocjcihdgkoplngjemhpplmmloanja
        - bnijmipndnicefcdbhgcjoognndbgkep
        - lklekjodgannjcccdlbicoamibgbdnmi
        - dbdbnchagbkhknegmhgikkleoogjcfge
        - egblhcjfjmbjajhjhpmnlekffgaemgfh
        - ehbhfpfdkmhcpaehaooegfdflljcnfec
        - bkkgdjpomdnfemhhkalfkogckjdkcjkg
        - almalgbpmcfpdaopimbdchdliminoign
        - akkbkhnikoeojlhiiomohpdnkhbkhieh
        - gbfgfbopcfokdpkdigfmoeaajfmpkbnh
        - bniikohfmajhdcffljgfeiklcbgffppl
        - lejgfmmlngaigdmmikblappdafcmkndb
        - ffhhkmlgedgcliajaedapkdfigdobcif
        - gcknhkkoolaabfmlnjonogaaifnjlfnp
        - pooljnboifbodgifngpppfklhifechoe
        - fjoaledfpmneenckfbpdfhkmimnjocfa
        - aakchaleigkohafkfjfjbblobjifikek
        - dpplabbmogkhghncfbfdeeokoefdjegm
        - padekgcemlokbadohgkifijomclgjgif
        - bfidboloedlamgdmenmlbipfnccokknp

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectends_with
  • update_url
field:"TargetObject" kind:ends_with value:"update_url"
TargetObjectmatch
  • Software\Wow6432Node\Google\Chrome\Extensions
  • aakchaleigkohafkfjfjbblobjifikek
  • aigmfoeogfnljhnofglledbhhfegannp
  • akeehkgglkmpapdnanoochpfmeghfdln
  • akkbkhnikoeojlhiiomohpdnkhbkhieh
  • almalgbpmcfpdaopimbdchdliminoign
  • amnoibeflfphhplmckdbiajkjaoomgnj
  • aojlhgbkmkahabcmcpifbolnoichfeep
  • apcfdffemoinopelidncddjbhkiblecc
  • bblcccknbdbplgmdjnnikffefhdlobhp
  • bdlcnpceagnkjnjlbbbcepohejbheilk
  • bfidboloedlamgdmenmlbipfnccokknp
  • bhnhkdgoefpmekcgnccpnhjfdgicfebm
  • bibjcjfmgapbfoljiojpipaooddpkpai
  • bihhflimonbpcfagfadcnbbdngpopnjb
  • bihmplhobchoageeokmgbdihknkjbknd
  • bkkgdjpomdnfemhhkalfkogckjdkcjkg
  • bniikohfmajhdcffljgfeiklcbgffppl
  • bnijmipndnicefcdbhgcjoognndbgkep
  • cgojmfochfikphincbhokimmmjenhhgk
  • chioafkonnhbpajpengbalkececleldf
  • ckiahbcmlmkpfiijecbpflfahoimklke
  • cocfojppfigjeefejbpfmedgjbpchcng
  • dbdbnchagbkhknegmhgikkleoogjcfge
  • dfkdflfgjdajbhocmfjolpjbebdkcjog
  • dhadilbmmjiooceioladdphemaliiobo
  • dpplabbmogkhghncfbfdeeokoefdjegm
  • edknjdjielmpdlnllkdmaghlbpnmjmgb
  • egblhcjfjmbjajhjhpmnlekffgaemgfh
  • ehbhfpfdkmhcpaehaooegfdflljcnfec
  • eidnihaadmmancegllknfbliaijfmkgo
  • ejkaocphofnobjdedneohbbiilggdlbi
  • eppiocemhmnlbhjplcgkofciiegomcon
  • fcfhplploccackoneaefokcmbjfbkenj
  • fdcgdnkidjaadafnichfpabhfomcebme
  • ffbkglfijbcbgblgflchnbphjdllaogb
  • ffhhkmlgedgcliajaedapkdfigdobcif
  • fgddmllnllkalaagkghckoinaemmogpe
  • ficajfeojakddincjafebjmfiefcmanc
  • fjoaledfpmneenckfbpdfhkmimnjocfa
  • +67 more values (see full rule source)
field:"TargetObject" kind:match

Scheduled Tasks Names Used By SVR For GraphicalProton Backdoor

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

Hunts for known SVR-specific scheduled task names

MITRE ATT&CK Coverage

TacticTechniques
PersistenceNo specific technique

Telemetry Coverage

Rule Body

title: Scheduled Tasks Names Used By SVR For GraphicalProton Backdoor
id: 8fa65166-f463-4fd2-ad4f-1436133c52e1
related:
    - id: 2bfc1373-0220-4fbd-8b10-33ddafd2a142
      type: similar
status: test
description: Hunts for known SVR-specific scheduled task names
author: CISA
references:
    - https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-347a
date: 2023-12-18
tags:
    - attack.persistence
    - detection.emerging-threats
logsource:
    service: security
    product: windows
detection:
    selection:
        EventID:
            - 4698
            - 4699
            - 4702
        TaskName:
            - '\defender'
            - '\Microsoft\DefenderService'
            - '\Microsoft\Windows\Application Experience\StartupAppTaskCheck'
            - '\Microsoft\Windows\Application Experience\StartupAppTaskCkeck'
            - '\Microsoft\Windows\ATPUpd'
            - '\Microsoft\Windows\Data Integrity Scan\Data Integrity Update'
            - '\Microsoft\Windows\DefenderUPDService'
            - '\Microsoft\Windows\IISUpdateService'
            - '\Microsoft\Windows\Speech\SpeechModelInstallTask'
            - '\Microsoft\Windows\WiMSDFS'
            - '\Microsoft\Windows\Windows Defender\Defender Update Service'
            - '\Microsoft\Windows\Windows Defender\Service Update'
            - '\Microsoft\Windows\Windows Error Reporting\CheckReporting'
            - '\Microsoft\Windows\Windows Error Reporting\SubmitReporting'
            - '\Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStart'
            - '\Microsoft\Windows\WindowsDefenderService'
            - '\Microsoft\Windows\WindowsDefenderService2'
            - '\Microsoft\Windows\WindowsUpdate\Scheduled AutoCheck'
            - '\Microsoft\Windows\WindowsUpdate\Scheduled Check'
            - '\WindowUpdate'
    condition: selection
falsepositives:
    - Unknown
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID:
        - 4698
        - 4699
        - 4702
    TaskName:
        - '\defender'
        - '\Microsoft\DefenderService'
        - '\Microsoft\Windows\Application Experience\StartupAppTaskCheck'
        - '\Microsoft\Windows\Application Experience\StartupAppTaskCkeck'
        - '\Microsoft\Windows\ATPUpd'
        - '\Microsoft\Windows\Data Integrity Scan\Data Integrity Update'
        - '\Microsoft\Windows\DefenderUPDService'
        - '\Microsoft\Windows\IISUpdateService'
        - '\Microsoft\Windows\Speech\SpeechModelInstallTask'
        - '\Microsoft\Windows\WiMSDFS'
        - '\Microsoft\Windows\Windows Defender\Defender Update Service'
        - '\Microsoft\Windows\Windows Defender\Service Update'
        - '\Microsoft\Windows\Windows Error Reporting\CheckReporting'
        - '\Microsoft\Windows\Windows Error Reporting\SubmitReporting'
        - '\Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStart'
        - '\Microsoft\Windows\WindowsDefenderService'
        - '\Microsoft\Windows\WindowsDefenderService2'
        - '\Microsoft\Windows\WindowsUpdate\Scheduled AutoCheck'
        - '\Microsoft\Windows\WindowsUpdate\Scheduled Check'
        - '\WindowUpdate'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TaskNameeq
  • \Microsoft\DefenderService corpus 2 (sigma 2)
  • \Microsoft\Windows\ATPUpd corpus 2 (sigma 2)
  • \Microsoft\Windows\Application Experience\StartupAppTaskCheck corpus 2 (sigma 2)
  • \Microsoft\Windows\Application Experience\StartupAppTaskCkeck corpus 2 (sigma 2)
  • \Microsoft\Windows\Data Integrity Scan\Data Integrity Update corpus 2 (sigma 2)
  • \Microsoft\Windows\DefenderUPDService corpus 2 (sigma 2)
  • \Microsoft\Windows\IISUpdateService corpus 2 (sigma 2)
  • \Microsoft\Windows\Speech\SpeechModelInstallTask corpus 2 (sigma 2)
  • \Microsoft\Windows\WiMSDFS corpus 2 (sigma 2)
  • \Microsoft\Windows\Windows Defender\Defender Update Service corpus 2 (sigma 2)
  • \Microsoft\Windows\Windows Defender\Service Update corpus 2 (sigma 2)
  • \Microsoft\Windows\Windows Error Reporting\CheckReporting corpus 2 (sigma 2)
  • \Microsoft\Windows\Windows Error Reporting\SubmitReporting corpus 2 (sigma 2)
  • \Microsoft\Windows\Windows Filtering Platform\BfeOnServiceStart corpus 2 (sigma 2)
  • \Microsoft\Windows\WindowsDefenderService corpus 2 (sigma 2)
  • \Microsoft\Windows\WindowsDefenderService2 corpus 2 (sigma 2)
  • \Microsoft\Windows\WindowsUpdate\Scheduled AutoCheck corpus 2 (sigma 2)
  • \Microsoft\Windows\WindowsUpdate\Scheduled Check corpus 2 (sigma 2)
  • \WindowUpdate corpus 2 (sigma 2)
  • \defender corpus 2 (sigma 2)
field:"TaskName" kind:eq

SearchIndexer suspicious process activity

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

Detects scenarios where SearchIndexer spwaned another process with the same name, or when SearchIndexer process exists in an unexpected directory.

Known False Positives

  • None

MITRE ATT&CK Coverage

TacticTechniques
Stealth

Telemetry Coverage

Rule Body

title: SearchIndexer suspicious process activity
description: Detects scenarios where SearchIndexer spwaned another process with the same name, or when SearchIndexer process exists in an unexpected directory.
references:
- https://securityaffairs.co/wordpress/75782/cyber-crime/hacking-hacker-botnet.html
- https://www.joesandbox.com/analysis/213580/1/html
- https://www.virustotal.com/gui/file/eb8417d0cf40160474faf587f3e1fdf94a0a2c9636ad1cf32005ff29ef3852dc
- https://www.filescan.io/uploads/62ad24c8473553ed319b5fe3/reports/104d3e08-1bdb-43ce-beb8-07c5688cef03/details
- https://any.run/report/eb8417d0cf40160474faf587f3e1fdf94a0a2c9636ad1cf32005ff29ef3852dc/c323438a-a3ec-4dcc-b304-dc47882a1eab
tags:
- attack.defense_evasion
- attack.t1036 # masquerading
author: mdecrevoisier
status: experimental
logsource:
  product: windows
  category: process_creation
detection:

  selection_parent_image:
    ParentImage|endswith: '\SearchIndexer.exe' 

  selection_image:
    Image|endswith: '\SearchIndexer.exe'

  selection_image_path:
    Image: 'C:\WINDOWS\system32\SearchIndexer.exe'

  selection_commandline:
    CommandLine|contains: 'c1 c2 c3 c4 c5 c6 c7 c8'

  condition: (selection_parent_image and selection_image) or (selection_image and not selection_image_path) or (selection_image and selection_commandline)
falsepositives:
- None 
level: medium

Stages and Predicates

Stage 0: condition

(selection_parent_image and selection_image) or (selection_image and not selection_image_path) or (selection_image and selection_commandline)

Stage 1: selection_parent_image

selection_parent_image:
  ParentImage|endswith: '\SearchIndexer.exe'

Stage 2: selection_image

selection_image:
  Image|endswith: '\SearchIndexer.exe'

Stage 3: selection_image

selection_image:
  Image|endswith: '\SearchIndexer.exe'

Stage 4: not selection_image_path

selection_image_path:
  Image: 'C:\WINDOWS\system32\SearchIndexer.exe'

Stage 5: selection_image

selection_image:
  Image|endswith: '\SearchIndexer.exe'

Stage 6: selection_commandline

selection_commandline:
  CommandLine|contains: 'c1 c2 c3 c4 c5 c6 c7 c8'

Indicators

These rows show field, operator, and value matches.

Exclusions

The rule actively suppresses these predicates.

FieldKindExcluded valuesSearch
ImageeqC:\WINDOWS\system32\SearchIndexer.exeexcludes:Image field:"Image" value:"C:\WINDOWS\system32\SearchIndexer.exe"

Shell Context Menu Command Tampering

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

Detects changes to shell context menu commands. Use this rule to hunt for potential anomalies and suspicious shell commands.

Known False Positives

  • Likely from new software installation suggesting to add context menu items. Such as "PowerShell", "Everything", "Git", etc.

MITRE ATT&CK Coverage

TacticTechniques
PersistenceNo specific technique

Telemetry Coverage

Rule Body

title: Shell Context Menu Command Tampering
id: 868df2d1-0939-4562-83a7-27408c4a1ada
status: test
description: Detects changes to shell context menu commands. Use this rule to hunt for potential anomalies and suspicious shell commands.
references:
    - https://mrd0x.com/sentinelone-persistence-via-menu-context/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2024-03-06
tags:
    - attack.persistence
    - detection.threat-hunting
logsource:
    category: registry_set
    product: windows
detection:
    selection:
        TargetObject|contains|all:
            - '\Software\Classes\'
            - '\shell\'
            - '\command\'
    condition: selection
falsepositives:
    - Likely from new software installation suggesting to add context menu items. Such as "PowerShell", "Everything", "Git", etc.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    TargetObject|contains|all:
        - '\Software\Classes\'
        - '\shell\'
        - '\command\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
TargetObjectmatch
  • \Software\Classes\
  • \command\
  • \shell\
field:"TargetObject" kind:match

Suspicious Extrac32 Execution

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

Download or Copy file with Extrac32

MITRE ATT&CK Coverage

TacticTechniques
Command & Control

Telemetry Coverage

ProviderRecord / event type
SysmonEvent ID 1: Process creation

Rule Body

title: Suspicious Extrac32 Execution
id: aa8e035d-7be4-48d3-a944-102aec04400d
status: test
description: Download or Copy file with Extrac32
references:
    - https://lolbas-project.github.io/lolbas/Binaries/Extrac32/
author: frack113
date: 2021-11-26
modified: 2022-08-13
tags:
    - attack.command-and-control
    - attack.t1105
logsource:
    category: process_creation
    product: windows
detection:
    selection_lolbas:
        - CommandLine|contains: extrac32.exe
        - Image|endswith: '\extrac32.exe'
        - OriginalFileName: 'extrac32.exe'
    selection_archive:
        CommandLine|contains: '.cab'
    selection_options:
        CommandLine|contains:
            - /C
            - /Y
            - ' \\\\'
    condition: all of selection_*
falsepositives:
    - Unknown
level: medium

Stages and Predicates

Stage 0: condition

all of selection_*

Stage 1: selection_lolbas

selection_lolbas:
    - CommandLine|contains: extrac32.exe
    - Image|endswith: '\extrac32.exe'
    - OriginalFileName: 'extrac32.exe'

Stage 2: selection_archive

selection_archive:
    CommandLine|contains: '.cab'

Stage 3: selection_options

selection_options:
    CommandLine|contains:
        - /C
        - /Y
        - ' \\\\'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • \\\\ corpus 8 (sigma 8)
  • .cab corpus 5 (sigma 5)
  • /C corpus 16 (sigma 14, splunk 2)
  • /Y
  • extrac32.exe corpus 2 (sigma 2)
field:"CommandLine" kind:match
Imageends_with
  • \extrac32.exe corpus 2 (sigma 2)
field:"Image" kind:ends_with value:"\extrac32.exe"
OriginalFileNameeq
  • extrac32.exe corpus 2 (sigma 1, elastic 1)
field:"OriginalFileName" kind:eq value:"extrac32.exe"

Suspicious LDAP-Attributes Used

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

Detects the usage of particular AttributeLDAPDisplayNames, which are known for data exchange via LDAP by the tool LDAPFragger and are additionally not commonly used in companies.

Known False Positives

  • Companies, who may use these default LDAP-Attributes for personal information

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Suspicious LDAP-Attributes Used
id: d00a9a72-2c09-4459-ad03-5e0a23351e36
status: test
description: Detects the usage of particular AttributeLDAPDisplayNames, which are known for data exchange via LDAP by the tool LDAPFragger and are additionally not commonly used in companies.
references:
    - https://medium.com/@ivecodoe/detecting-ldapfragger-a-newly-released-cobalt-strike-beacon-using-ldap-for-c2-communication-c274a7f00961
    - https://blog.fox-it.com/2020/03/19/ldapfragger-command-and-control-over-ldap-attributes/
    - https://github.com/fox-it/LDAPFragger
author: xknow @xknow_infosec
date: 2019-03-24
modified: 2022-10-05
tags:
    - attack.t1001.003
    - attack.command-and-control
logsource:
    product: windows
    service: security
    definition: The "Audit Directory Service Changes" logging policy must be configured in order to receive events. Audit events are generated only for objects with configured system access control lists (SACLs). Audit events are generated only for objects with configured system access control lists (SACLs) and only when accessed in a manner that matches their SACL settings. This policy covers the following events ids - 5136, 5137, 5138, 5139, 5141. Note that the default policy does not cover User objects. For that a custom AuditRule need to be setup (See https://github.com/OTRF/Set-AuditRule)
detection:
    selection:
        EventID: 5136
        AttributeValue|contains: '*'
        AttributeLDAPDisplayName:
            - 'primaryInternationalISDNNumber'
            - 'otherFacsimileTelephoneNumber'
            - 'primaryTelexNumber'
    condition: selection
falsepositives:
    - Companies, who may use these default LDAP-Attributes for personal information
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    EventID: 5136
    AttributeValue|contains: '*'
    AttributeLDAPDisplayName:
        - 'primaryInternationalISDNNumber'
        - 'otherFacsimileTelephoneNumber'
        - 'primaryTelexNumber'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
AttributeLDAPDisplayNameeq
  • otherFacsimileTelephoneNumber
  • primaryInternationalISDNNumber
  • primaryTelexNumber
field:"AttributeLDAPDisplayName" kind:eq
AttributeValuematch
  • *
field:"AttributeValue" kind:match value:"*"

Suspicious Mount-DiskImage

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

Adversaries may abuse container files such as disk image (.iso, .vhd) file formats to deliver malicious payloads that may not be tagged with MOTW.

Known False Positives

  • Legitimate PowerShell scripts

MITRE ATT&CK Coverage

Telemetry Coverage

Rule Body

title: Suspicious Mount-DiskImage
id: 29e1c216-6408-489d-8a06-ee9d151ef819
status: test
description: Adversaries may abuse container files such as disk image (.iso, .vhd) file formats to deliver malicious payloads that may not be tagged with MOTW.
references:
    - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1553.005/T1553.005.md#atomic-test-1---mount-iso-image
    - https://learn.microsoft.com/en-us/powershell/module/storage/mount-diskimage?view=windowsserver2022-ps
author: frack113
date: 2022-02-01
tags:
    - attack.defense-impairment
    - attack.t1553.005
logsource:
    product: windows
    category: ps_script
    definition: 'Requirements: Script Block Logging must be enabled'
detection:
    selection:
        ScriptBlockText|contains|all:
            - 'Mount-DiskImage '
            - '-ImagePath '
    condition: selection
falsepositives:
    - Legitimate PowerShell scripts
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    ScriptBlockText|contains|all:
        - 'Mount-DiskImage '
        - '-ImagePath '

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
ScriptBlockTextmatch
  • -ImagePath corpus 2 (sigma 2)
  • Mount-DiskImage corpus 2 (sigma 2)
field:"ScriptBlockText" kind:match

System Information Discovery via Registry Queries

#
Status
experimental
Severity
low
Author
lazarg
Source
github.com/SigmaHQ/sigma

Detects attempts to query system information directly from the Windows Registry.

Known False Positives

  • Unlikely

MITRE ATT&CK Coverage

TacticTechniques
Discovery

Telemetry Coverage

Rule Body

title: System Information Discovery via Registry Queries
id: 0022869c-49f7-4ff2-ba03-85ac42ddac58
status: experimental
description: Detects attempts to query system information directly from the Windows Registry.
references:
    - https://cert.gov.ua/article/6277849
    - https://github.com/redcanaryco/atomic-red-team/blob/75fa21076dcefa348a7521403cdd6bfc4e88623c/atomics/T1082/T1082.md
    - https://github.com/redcanaryco/atomic-red-team/blob/75fa21076dcefa348a7521403cdd6bfc4e88623c/atomics/T1124/T1124.md
author: lazarg
date: 2025-06-12
modified: 2025-10-25
tags:
    - attack.discovery
    - attack.t1082
logsource:
    category: process_creation
    product: windows
detection:
    selection_cmd_reg:
        Image|endswith: '\reg.exe'
        CommandLine|contains: 'query'
        CommandLine|contains|windash: '-v'
    selection_cmd_powershell:
        Image|endswith:
            - '\powershell.exe'
            - '\pwsh.exe'
        CommandLine|contains:
            - 'Get-ItemPropertyValue'
            - 'gpv'
    selection_keys:
        CommandLine|contains:
            - '\SOFTWARE\Microsoft\Windows Defender' # Details about defender state
            - '\SOFTWARE\Microsoft\Windows NT\CurrentVersion' # Provides details about the OS
            - '\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall' # Lists installed programs
            - '\SYSTEM\CurrentControlSet\Control\TimeZoneInformation' # Contains time zone details
            - '\SYSTEM\CurrentControlSet\Services' # Details about existing services
    condition: 1 of selection_cmd_* and selection_keys
falsepositives:
    - Unlikely
level: low
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_discovery_via_reg_queries/info.yml
simulation:
    - type: atomic-red-team
      name: System Information Discovery
      technique: T1010
      atomic_guid: 66703791-c902-4560-8770-42b8a91f7667
    - type: atomic-red-team
      name: Discover OS Product Name via Registry
      technique: T1082
      atomic_guid: be3b5fe3-a575-4fb8-83f6-ad4a68dd5ce7
    - type: atomic-red-team
      name: Discover OS Build Number via Registry
      technique: T1082
      atomic_guid: acfcd709-0013-4f1e-b9ee-bc1e7bafaaec

Stages and Predicates

Stage 0: condition

1 of selection_cmd_* and selection_keys

Stage 1: selection_cmd_reg

selection_cmd_reg:
    Image|endswith: '\reg.exe'
    CommandLine|contains: 'query'
    CommandLine|contains|windash: '-v'

Stage 2: selection_cmd_powershell

selection_cmd_powershell:
    Image|endswith:
        - '\powershell.exe'
        - '\pwsh.exe'
    CommandLine|contains:
        - 'Get-ItemPropertyValue'
        - 'gpv'

Stage 3: selection_keys

selection_keys:
    CommandLine|contains:
        - '\SOFTWARE\Microsoft\Windows Defender'
        - '\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
        - '\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall'
        - '\SYSTEM\CurrentControlSet\Control\TimeZoneInformation'
        - '\SYSTEM\CurrentControlSet\Services'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
CommandLinematch
  • -v
  • /v corpus 5 (sigma 5)
  • Get-ItemPropertyValue
  • \SOFTWARE\Microsoft\Windows Defender
  • \SOFTWARE\Microsoft\Windows NT\CurrentVersion
  • \SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall
  • \SYSTEM\CurrentControlSet\Control\TimeZoneInformation
  • \SYSTEM\CurrentControlSet\Services
  • gpv
  • query corpus 8 (sigma 7, splunk 1)
  • –v
  • —v
  • ―v
field:"CommandLine" kind:match
Imageends_with
  • \powershell.exe corpus 181 (sigma 180, splunk 1)
  • \pwsh.exe corpus 166 (sigma 166)
  • \reg.exe corpus 58 (sigma 58)
field:"Image" kind:ends_with

User Risk and MFA Registration Policy Updated

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

Detects changes and updates to the user risk and MFA registration policy. Attackers can modified the policies to Bypass MFA, weaken security thresholds, facilitate further attacks, maintain persistence.

Known False Positives

  • Known updates by administrators.

MITRE ATT&CK Coverage

TacticTechniques
PersistenceNo specific technique

Telemetry Coverage

Rules Detecting the Same Action

These rules filter on the same operation.

Rule Body

title: User Risk and MFA Registration Policy Updated
id: d4c7758e-9417-4f2e-9109-6125d66dabef
status: test
description: |
    Detects changes and updates to the user risk and MFA registration policy.
    Attackers can modified the policies to Bypass MFA, weaken security thresholds, facilitate further attacks, maintain persistence.
references:
    - https://learn.microsoft.com/en-us/entra/id-protection/howto-identity-protection-configure-mfa-policy
    - https://learn.microsoft.com/en-us/entra/identity/monitoring-health/reference-audit-activities
author: Harjot Singh (@cyb3rjy0t)
date: 2024-08-13
tags:
    - attack.persistence
logsource:
    product: azure
    service: auditlogs
detection:
    selection:
        LoggedByService: 'AAD Management UX'
        Category: 'Policy'
        OperationName: 'Update User Risk and MFA Registration Policy'
    condition: selection
falsepositives:
    - Known updates by administrators.
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    LoggedByService: 'AAD Management UX'
    Category: 'Policy'
    OperationName: 'Update User Risk and MFA Registration Policy'

Indicators

These rows show field, operator, and value matches.

Back to all Sigma rules