forked from SigmaHQ/sigma
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge PR SigmaHQ#4993 from @nasbench - Fix Issues
new: Potential CommandLine Obfuscation Using Unicode Characters From Suspicious Image - A detection replacement for `e0552b19-5a83-4222-b141-b36184bb8d79` remove: OMIGOD SCX RunAsProvider ExecuteShellCommand - Auditd - Moved to "unsupported" folder, due to the need of correlation. remove: Potential Persistence Via COM Search Order Hijacking - Moved to "deprecated" in favour of `790317c0-0a36-4a6a-a105-6e576bf99a14`. update: Potential CommandLine Obfuscation Using Unicode Characters - Moved to "threat-hunting" due to the nature FPs update: Potential Remote WMI ActiveScriptEventConsumers Activity - Moved to "threat-hunting" as its meant as an enrichment rule.
- Loading branch information
Showing
7 changed files
with
95 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
deprecated/windows/registry_set_persistence_com_hijacking_susp_locations.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...registry_set_persistence_search_order.yml → ...registry_set_persistence_search_order.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 14 additions & 13 deletions
27
...tion_win_susp_cli_obfuscation_unicode.yml → ...tion_win_susp_cli_obfuscation_unicode.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,45 @@ | ||
title: Potential Commandline Obfuscation Using Unicode Characters | ||
title: Potential CommandLine Obfuscation Using Unicode Characters | ||
id: e0552b19-5a83-4222-b141-b36184bb8d79 | ||
related: | ||
- id: 584bca0f-3608-4402-80fd-4075ff6072e3 | ||
type: similar | ||
- id: 2c0d2d7b-30d6-4d14-9751-7b9113042ab9 | ||
type: obsolete | ||
status: test | ||
description: | | ||
Detects potential commandline obfuscation using unicode characters. | ||
Detects potential CommandLine obfuscation using unicode characters. | ||
Adversaries may attempt to make an executable or file difficult to discover or analyze by encrypting, encoding, or otherwise obfuscating its contents on the system or in transit. | ||
references: | ||
- https://www.wietzebeukema.nl/blog/windows-command-line-obfuscation | ||
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1027/T1027.md#atomic-test-6---dlp-evasion-via-sensitive-data-in-vba-macro-over-http | ||
author: frack113, Florian Roth (Nextron Systems) | ||
date: 2022-01-15 | ||
modified: 2024-07-22 | ||
modified: 2024-09-02 | ||
tags: | ||
- attack.defense-evasion | ||
- attack.t1027 | ||
- detection.threat-hunting | ||
logsource: | ||
category: process_creation | ||
product: windows | ||
detection: | ||
selection_spacing_modifiers: | ||
CommandLine|contains: # spacing modifier letters that get auto-replaced | ||
selection: | ||
CommandLine|contains: | ||
# spacing modifier letters that get auto-replaced | ||
- 'ˣ' # 0x02E3 | ||
- '˪' # 0x02EA | ||
- 'ˢ' # 0x02E2 | ||
selection_unicode_slashes: # forward slash alternatives | ||
CommandLine|contains: | ||
# Forward slash alternatives | ||
- '∕' # 0x22FF | ||
- '⁄' # 0x206F | ||
selection_unicode_hyphens: # hyphen alternatives | ||
CommandLine|contains: | ||
# Hyphen alternatives | ||
- '―' # 0x2015 | ||
- '—' # 0x2014 | ||
selection_other: | ||
CommandLine|contains: | ||
# Other | ||
- '¯' | ||
- '®' | ||
- '¶' | ||
condition: 1 of selection_* | ||
condition: selection | ||
falsepositives: | ||
- Unknown | ||
level: high | ||
level: medium |
56 changes: 56 additions & 0 deletions
56
rules/windows/process_creation/proc_creation_win_susp_cli_obfuscation_unicode_img.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
title: Potential CommandLine Obfuscation Using Unicode Characters From Suspicious Image | ||
id: 584bca0f-3608-4402-80fd-4075ff6072e3 | ||
related: | ||
- id: e0552b19-5a83-4222-b141-b36184bb8d79 | ||
type: similar | ||
- id: 2c0d2d7b-30d6-4d14-9751-7b9113042ab9 | ||
type: obsolete | ||
status: test | ||
description: | | ||
Detects potential commandline obfuscation using unicode characters. | ||
Adversaries may attempt to make an executable or file difficult to discover or analyze by encrypting, encoding, or otherwise obfuscating its contents on the system or in transit. | ||
references: | ||
- https://www.wietzebeukema.nl/blog/windows-command-line-obfuscation | ||
- https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1027/T1027.md#atomic-test-6---dlp-evasion-via-sensitive-data-in-vba-macro-over-http | ||
author: frack113, Florian Roth (Nextron Systems), Josh Nickels | ||
date: 2024-09-02 | ||
tags: | ||
- attack.defense-evasion | ||
- attack.t1027 | ||
logsource: | ||
category: process_creation | ||
product: windows | ||
detection: | ||
selection_img: | ||
Image|endswith: | ||
- '\cmd.exe' | ||
- '\cscript.exe' | ||
- '\powershell.exe' | ||
- '\pwsh.exe' | ||
- '\wscript.exe' | ||
OriginalFileName: | ||
- 'Cmd.EXE' | ||
- 'cscript.exe' | ||
- 'PowerShell.EXE' | ||
- 'pwsh.dll' | ||
- 'wscript.exe' | ||
selection_special_chars: | ||
CommandLine|contains: | ||
# spacing modifier letters that get auto-replaced | ||
- 'ˣ' # 0x02E3 | ||
- '˪' # 0x02EA | ||
- 'ˢ' # 0x02E2 | ||
# Forward slash alternatives | ||
- '∕' # 0x22FF | ||
- '⁄' # 0x206F | ||
# Hyphen alternatives | ||
- '―' # 0x2015 | ||
- '—' # 0x2014 | ||
# Other | ||
- '¯' | ||
- '®' | ||
- '¶' | ||
condition: all of selection_* | ||
falsepositives: | ||
- Unknown | ||
level: high |
5 changes: 5 additions & 0 deletions
5
rules/windows/registry/registry_set/registry_set_persistence_com_hijacking_builtin.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters