Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ references:
- https://twitter.com/filip_dragovic/status/1590104354727436290
author: Florian Roth (Nextron Systems), Tim Shelton (fp werfault)
date: 2022-11-10
modified: 2023-10-23
modified: 2025-07-04
tags:
- attack.privilege-escalation
- attack.t1068
Expand All @@ -22,6 +22,13 @@ detection:
ParentImage|endswith:
- '\Sysmon.exe'
- '\Sysmon64.exe'
filter_main_temp_sysmon:
# C:\Users\ADMINI~1\AppData\Local\Temp\2\Sysmon.exe
Image|startswith: 'C:\Users\'
Image|contains: '\AppData\Local\Temp\'
Image|endswith:
- '\Sysmon.exe'
- '\Sysmon64.exe'
filter_main_generic:
Image|contains:
- ':\Windows\Sysmon.exe'
Expand All @@ -31,7 +38,6 @@ detection:
- ':\Windows\System32\WerFaultSecure.exe' # When Sysmon crashes
- ':\Windows\System32\wevtutil.exe'
- ':\Windows\SysWOW64\wevtutil.exe'
- '\AppData\Local\Temp\Sysmon.exe' # When launching Sysmon 32bit version.
filter_main_null:
Image: null
condition: selection and not 1 of filter_main_*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ references:
- https://www.binarydefense.com/resources/blog/icedid-gziploader-analysis/
author: Splunk Research Team
date: 2024-07-29
modified: 2025-06-16
modified: 2025-07-04
tags:
- attack.defense-evasion
- attack.t1055
Expand All @@ -24,11 +24,13 @@ detection:
- '\powershell.exe'
- '\pwsh.exe'
filter_main_system:
SourceImage: 'C:\Windows\System32\csrss.exe'
SourceImage|startswith:
- 'C:\Windows\System32\'
- 'C:\Windows\SysWOW64\'
- 'C:\Program Files (x86)\'
- 'C:\Program Files\'
filter_optional_defender:
SourceImage|endswith: '\MsMpEng.exe'
filter_optional_malwarebytes:
SourceImage: 'C:\Program Files\Malwarebytes\Anti-Malware\MBAMService.exe'
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
- Unknown
Expand Down
4 changes: 2 additions & 2 deletions rules/windows/builtin/ldap/win_ldap_recon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ references:
- https://ipurple.team/2024/07/15/sharphound-detection/
author: Adeem Mawani
date: 2021-06-22
modified: 2024-08-27
modified: 2025-07-04
tags:
- attack.discovery
- attack.t1069.002
Expand All @@ -37,7 +37,7 @@ detection:
- '(sAMAccountType=268435456)'
- '(objectCategory=groupPolicyContainer)'
- '(objectCategory=organizationalUnit)'
- '(objectCategory=Computer)'
# - '(objectCategory=Computer)' Prone to false positives
- '(objectCategory=nTDSDSA)'
- '(objectCategory=server)'
- '(objectCategory=domain)'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ references:
- https://lolbas-project.github.io
author: Perez Diego (@darkquassar), oscd.community
date: 2019-10-27
modified: 2025-05-13
modified: 2025-07-04
tags:
- attack.privilege-escalation
- attack.defense-evasion
Expand Down Expand Up @@ -62,12 +62,17 @@ detection:
- '\winword.exe'
- '\wmic.exe'
- '\wscript.exe'
filter_main_defrag_conhost:
SourceImage: 'C:\Windows\System32\Defrag.exe'
filter_main_conhost:
SourceImage:
- 'C:\Windows\System32\Defrag.exe'
- 'C:\Windows\System32\makecab.exe'
TargetImage: 'C:\Windows\System32\conhost.exe'
filter_main_provtol_svchost:
SourceImage: 'C:\Windows\System32\provtool.exe'
TargetImage: 'C:\Windows\System32\svchost.exe'
filter_main_userinit:
SourceImage: 'C:\Windows\System32\userinit.exe'
TargetImage: 'C:\Windows\explorer.exe'
filter_optional_explorer_vmtools:
SourceImage|endswith: '\SysWOW64\explorer.exe'
TargetImage:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ references:
- https://lolbas-project.github.io
author: Perez Diego (@darkquassar), oscd.community
date: 2019-10-27
modified: 2025-03-07
modified: 2025-07-04
tags:
- attack.privilege-escalation
- attack.defense-evasion
Expand All @@ -35,6 +35,10 @@ detection:
- 'C:\Windows\System32\csrss.exe' # multiple OS
- 'C:\Windows\System32\LogonUI.exe' # multiple OS
- 'C:\Windows\System32\wlrmdr.exe'
- 'C:\Windows\System32\AtBroker.exe'
- 'C:\Windows\System32\dwm.exe'
- 'C:\Windows\System32\fontdrvhost.exe'
- 'C:\Windows\System32\userinit.exe'
filter_main_winlogon_2:
SourceImage: 'C:\Windows\System32\winlogon.exe'
TargetParentProcessId: 4
Expand All @@ -59,6 +63,11 @@ detection:
- '\AppData\Local\'
- 'C:\Program Files (x86)\'
- 'C:\Program Files\'
filter_main_iexplore:
SourceImage: 'C:\Program Files\Internet Explorer\iexplore.exe'
TargetImage:
- 'C:\Program Files (x86)\Internet Explorer\iexplore.exe'
- 'C:\Windows\System32\rundll32.exe'
filter_optional_aurora_smartconsole1:
SourceImage: 'C:\Program Files\internet explorer\iexplore.exe'
SourceCommandLine|contains|all:
Expand Down Expand Up @@ -86,6 +95,9 @@ detection:
filter_optional_onedrive:
SourceImage: 'C:\Windows\explorer.exe'
TargetImage|endswith: '\AppData\Local\Microsoft\OneDrive\OneDrive.exe'
filter_optional_aurora:
SourceImage: 'C:\Windows\explorer.exe'
TargetImage|endswith: '\aurora-dashboard.exe'
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
- This rule is best put in testing first in order to create a baseline that reflects the data in your environment.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ references:
- https://web.archive.org/web/20220319032520/https://blog.redbluepurple.io/offensive-research/bypassing-injection-detection
author: Florian Roth (Nextron Systems)
date: 2022-03-16
modified: 2024-07-15
modified: 2025-07-04
tags:
- attack.defense-evasion
- attack.privilege-escalation
Expand All @@ -31,6 +31,14 @@ detection:
- '\write.exe'
filter_main_csrss:
SourceImage: 'C:\Windows\System32\csrss.exe'
filter_main_notepad:
SourceImage:
- 'C:\Windows\System32\explorer.exe'
- 'C:\Windows\System32\OpenWith.exe'
TargetImage: 'C:\Windows\System32\notepad.exe'
filter_main_sethc:
SourceImage: 'C:\Windows\System32\AtBroker.exe'
TargetImage: 'C:\Windows\System32\Sethc.exe'
filter_optional_aurora_1:
StartFunction: 'EtwpNotificationThread'
filter_optional_aurora_2:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ references:
- Internal Research
author: Nasreddine Bencherchali (Nextron Systems)
date: 2023-09-04
modified: 2024-04-26
modified: 2025-07-04
tags:
- attack.defense-evasion
- attack.t1070.004
Expand All @@ -37,6 +37,10 @@ detection:
Image:
- 'C:\Program Files (x86)\Mozilla Firefox\firefox.exe'
- 'C:\Program Files\Mozilla Firefox\firefox.exe'
filter_optional_browsers_msedge:
Image:
- 'C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe'
- 'C:\Program Files\Microsoft\Edge\Application\msedge.exe'
condition: selection and not 1 of filter_main_* and not 1 of filter_optional_*
falsepositives:
- Other third party applications not listed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ references:
- https://www.zscaler.com/blogs/security-research/onenote-growing-threat-malware-distribution
author: frack113, Nasreddine Bencherchali (Nextron Systems)
date: 2023-03-17
modified: 2025-03-05
modified: 2025-07-04
tags:
- attack.persistence
logsource:
Expand All @@ -16,6 +16,7 @@ detection:
selection:
Image|endswith:
- '\powershell.exe'
- '\powershell_ise.exe'
- '\pwsh.exe'
TargetFilename|endswith:
- '.bat'
Expand Down Expand Up @@ -47,6 +48,13 @@ detection:
TargetFilename|endswith:
- '.dll'
- '.exe'
filter_main_powershell_module:
TargetFilename|startswith: 'C:\Users\'
TargetFilename|contains: '\WindowsPowerShell\Modules\' # C:\Users\xxxx\Documents\WindowsPowerShell\Modules\powershell-yaml\0.4.12\lib\net47\PowerShellYamlSerializer.dll
TargetFilename|endswith: '.dll'
filter_main_nuget:
TargetFilename|startswith: 'C:\Program Files\PackageManagement\ProviderAssemblies\nuget\'
TargetFilename|endswith: '\Microsoft.PackageManagement.NuGetProvider.dll'
condition: selection and not 1 of filter_main_*
falsepositives:
- False positives will differ depending on the environment and scripts used. Apply additional filters accordingly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ references:
- https://twitter.com/frack113/status/1555830623633375232
author: frack113, Nasreddine Bencherchali
date: 2022-08-07
modified: 2022-10-26
modified: 2025-07-04
tags:
- attack.defense-evasion
- attack.t1564.004
Expand All @@ -34,6 +34,8 @@ detection:
- '\veam.backup.shell.exe'
- '\winget.exe'
- '\Everything\Everything.exe'
- '\aurora-agent-64.exe'
- '\aurora-agent.exe'
- ParentImage|contains: '\AppData\Local\Temp\WinGet\'
- CommandLine|contains:
- '\appdata\local\webex\webex64\meetings\wbxreport.exe'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ references:
- https://twitter.com/SBousseaden/status/1139811587760562176
author: Florian Roth (Nextron Systems), Samir Bousseaden (idea)
date: 2019-06-17
modified: 2022-12-09
modified: 2025-07-04
tags:
- attack.defense-evasion
- attack.t1055
Expand All @@ -16,12 +16,14 @@ logsource:
detection:
selection:
ParentImage|endswith: '\userinit.exe'
filter1:
filter_main_netlogon:
CommandLine|contains: '\netlogon\'
filter2:
filter_main_explorer:
- Image|endswith: '\explorer.exe'
- OriginalFileName: 'explorer.exe'
condition: selection and not 1 of filter*
filter_main_null:
Image: null
condition: selection and not 1 of filter_main_*
fields:
- CommandLine
- ParentCommandLine
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ references:
- https://gist.github.com/GlebSukhodolskiy/0fc5fa5f482903064b448890db1eaf9d # a list with registry keys
author: Victor Sergeev, Daniil Yugoslavskiy, Gleb Sukhodolskiy, Timur Zinniatullin, oscd.community, Tim Shelton, frack113 (split)
date: 2019-10-25
modified: 2023-08-17
modified: 2025-07-04
tags:
- attack.persistence
- attack.t1547.001
logsource:
category: registry_set
product: windows
detection:
nt_current_version_base:
selection_nt_current_version_base:
TargetObject|contains: '\SOFTWARE\Microsoft\Windows NT\CurrentVersion'
nt_current_version:
selection_nt_current_version:
TargetObject|contains:
- '\Winlogon\VmApplet'
- '\Winlogon\Userinit'
Expand All @@ -37,45 +37,48 @@ detection:
- '\Drivers32'
- '\Windows\Run'
- '\Windows\Load'
filter_empty:
filter_main_empty:
Details: '(Empty)'
filter_legitimate_subkey: # Legitimately used subkeys of \Image File Execution Options, which are not used for persistence (see https://pentestlab.blog/2020/01/13/persistence-image-file-execution-options-injection/)
filter_main_legitimate_subkey: # Legitimately used subkeys of \Image File Execution Options, which are not used for persistence (see https://pentestlab.blog/2020/01/13/persistence-image-file-execution-options-injection/)
TargetObject|contains: '\Image File Execution Options\'
TargetObject|endswith:
- '\DisableExceptionChainValidation'
- '\MitigationOptions'
filter_edge:
filter_main_security_extension_dc:
Image: 'C:\Windows\system32\svchost.exe'
TargetObject|contains:
- '\Winlogon\GPExtensions\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}\PreviousPolicyAreas'
- '\Winlogon\GPExtensions\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}\MaxNoGPOListChangesInterval'
Details:
- 'DWORD (0x00000009)'
- 'DWORD (0x000003c0)'
filter_main_runtimebroker:
Image: 'C:\Windows\System32\RuntimeBroker.exe'
TargetObject|contains: '\runtimebroker.exe\Microsoft.Windows.ShellExperienceHost'
filter_optional_edge:
Image|startswith: 'C:\Program Files (x86)\Microsoft\Temp\'
Image|endswith: '\MicrosoftEdgeUpdate.exe'
filter_msoffice:
filter_optional_msoffice:
- TargetObject|contains:
- '\ClickToRunStore\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\'
- '\ClickToRun\REGISTRY\MACHINE\Software\Microsoft\Windows NT\CurrentVersion\'
- Image:
- 'C:\Program Files\Microsoft Office\root\integration\integrator.exe'
- 'C:\Program Files (x86)\Microsoft Office\root\integration\integrator.exe'
filter_officeclicktorun:
filter_optional_officeclicktorun:
Image|startswith:
- 'C:\Program Files\Common Files\Microsoft Shared\ClickToRun\'
- 'C:\Program Files\Common Files\Microsoft Shared\ClickToRun\Updates\'
Image|endswith: '\OfficeClickToRun.exe'
filter_security_extension_dc:
Image: 'C:\Windows\system32\svchost.exe'
TargetObject|contains:
- '\Winlogon\GPExtensions\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}\PreviousPolicyAreas'
- '\Winlogon\GPExtensions\{827D319E-6EAC-11D2-A4EA-00C04F79F83A}\MaxNoGPOListChangesInterval'
Details:
- 'DWORD (0x00000009)'
- 'DWORD (0x000003c0)'
filter_ngen:
filter_optional_ngen:
Image|startswith: 'C:\Windows\Microsoft.NET\Framework'
Image|endswith: '\ngen.exe'
filter_onedrive:
filter_optional_onedrive:
Image|endswith: '\AppData\Local\Microsoft\OneDrive\StandaloneUpdater\OneDriveSetup.exe'
TargetObject|endswith: '\Microsoft\Windows\CurrentVersion\RunOnce\Delete Cached Update Binary'
Details|startswith: 'C:\Windows\system32\cmd.exe /q /c del /q "C:\Users\'
Details|endswith: '\AppData\Local\Microsoft\OneDrive\Update\OneDriveSetup.exe"'
condition: nt_current_version_base and nt_current_version and not 1 of filter_*
condition: all of selection_* and not 1 of filter_main_* and not 1 of filter_optional_*
fields:
- SecurityID
- ObjectName
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
title: Modification of IE Registry Settings
id: d88d0ab2-e696-4d40-a2ed-9790064e66b3
status: test
description: Detects modification of the registry settings used for Internet Explorer and other Windows components that use these settings. An attacker can abuse this registry key to add a domain to the trusted sites Zone or insert javascript for persistence
description: Detects modification of the registry settings used for Internet Explorer and other Windows components that use these settings. An attacker can abuse this registry key to add a domain to the trusted sites Zone or insert JavaScript for persistence
references:
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md#atomic-test-4---add-domain-to-trusted-sites-zone
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md#atomic-test-5---javascript-in-registry
author: frack113
date: 2022-01-22
modified: 2023-08-17
modified: 2025-07-04
tags:
- attack.defense-evasion
- attack.t1112
Expand All @@ -34,6 +34,8 @@ detection:
filter_accepted_documents:
# Spotted during office installations
TargetObject|contains: '\Accepted Documents\'
filter_runtimebroker:
Image: 'C:\Windows\System32\RuntimeBroker.exe'
condition: selection_domains and not 1 of filter_*
falsepositives:
- Unknown
Expand Down
Loading
Loading