Skip to content

Commit de97c83

Browse files
Merge PR SigmaHQ#5533 from @swachchhanda000 - fix: github reported issues
new: AWS IAM user with Console Access Login Without MFA (SigmaHQ#5074) new: Suspicious BitLocker Access Agent Update Utility Execution (SigmaHQ#5502) new: BaaUpdate.exe Suspicious DLL Load update: Suspicious C2 Activities - update definition (SigmaHQ#5142) fix: Firewall Configuration Discovery Via Netsh.EXE - fix logic (SigmaHQ#5171) fix: WannaCry Ransomware Activity - remove generic indicators (SigmaHQ#5131) fix: Rare Remote Thread Creation By Uncommon Source Image - filter office FPs (SigmaHQ#5529) --------- Co-authored-by: phantinuss <79651203+phantinuss@users.noreply.github.com>
1 parent ed93a47 commit de97c83

7 files changed

Lines changed: 151 additions & 26 deletions

File tree

rules-emerging-threats/2017/Malware/WannaCry/proc_creation_win_malware_wannacry.yml

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ status: test
44
description: Detects WannaCry ransomware activity
55
references:
66
- https://www.hybrid-analysis.com/sample/ed01ebfbc9eb5bbea545af4d01bf5f1071661840480439c6e5babe8e080e41aa?environmentId=100
7+
- https://x.com/nas_bench/status/1868639048484425963
78
author: Florian Roth (Nextron Systems), Tom U. @c_APT_ure (collection), oscd.community, Jonhnathan Ribeiro
89
date: 2019-01-16
9-
modified: 2023-02-03
10+
modified: 2025-10-18
1011
tags:
1112
- attack.lateral-movement
1213
- attack.t1210
@@ -22,7 +23,7 @@ logsource:
2223
category: process_creation
2324
product: windows
2425
detection:
25-
selection1:
26+
selection_img:
2627
- Image|endswith:
2728
- '\tasksche.exe'
2829
- '\mssecsvc.exe'
@@ -35,27 +36,9 @@ detection:
3536
- '\linuxnew.exe'
3637
- '\wannacry.exe'
3738
- Image|contains: 'WanaDecryptor'
38-
selection2:
39-
- CommandLine|contains|all:
40-
- 'icacls'
41-
- '/grant'
42-
- 'Everyone:F'
43-
- '/T'
44-
- '/C'
45-
- '/Q'
46-
- CommandLine|contains|all:
47-
- 'bcdedit'
48-
- '/set'
49-
- '{default}'
50-
- 'recoveryenabled'
51-
- 'no'
52-
- CommandLine|contains|all:
53-
- 'wbadmin'
54-
- 'delete'
55-
- 'catalog'
56-
- '-quiet'
57-
- CommandLine|contains: '@Please_Read_Me@.txt'
58-
condition: 1 of selection*
39+
selection_cmd:
40+
CommandLine|contains: '@Please_Read_Me@.txt'
41+
condition: 1 of selection_*
5942
fields:
6043
- CommandLine
6144
- ParentCommandLine
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
title: AWS IAM User with Console Access Login Without MFA
2+
id: 77caf516-34e5-4df9-b4db-20744fea0a60
3+
status: experimental
4+
description: |
5+
Identifies AWS IAM user authentication to the AWS Management Console without Multi-Factor Authentication (MFA).
6+
IAM users who can access the Console but haven't enabled MFA pose a security risk. These accounts could be compromised through credential stuffing, brute force attacks, or social engineering techniques.
7+
references:
8+
- https://securitylabs.datadoghq.com/cloud-security-atlas/vulnerabilities/iam-user-without-mfa/
9+
- https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-event-reference-aws-console-sign-in-events.html
10+
author: Thuya@Hacktilizer
11+
date: 2025-10-18
12+
tags:
13+
- attack.initial-access
14+
- attack.t1078.004
15+
logsource:
16+
product: aws
17+
service: cloudtrail
18+
detection:
19+
selection:
20+
eventName: 'ConsoleLogin'
21+
additionalEventData.MFAUsed: 'NO'
22+
condition: selection
23+
falsepositives:
24+
- Unlikely
25+
level: medium

rules/linux/auditd/lnx_auditd_susp_c2_commands.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,31 @@ tags:
1515
logsource:
1616
product: linux
1717
service: auditd
18+
definition: |
19+
Required auditd configuration:
20+
-w /usr/bin/wget -p x -k susp_activity
21+
-w /usr/bin/curl -p x -k susp_activity
22+
-w /usr/bin/base64 -p x -k susp_activity
23+
-w /bin/nc -p x -k susp_activity
24+
-w /bin/netcat -p x -k susp_activity
25+
-w /usr/bin/ncat -p x -k susp_activity
26+
-w /usr/bin/ss -p x -k susp_activity
27+
-w /usr/bin/netstat -p x -k susp_activity
28+
-w /usr/bin/ssh -p x -k susp_activity
29+
-w /usr/bin/scp -p x -k susp_activity
30+
-w /usr/bin/sftp -p x -k susp_activity
31+
-w /usr/bin/ftp -p x -k susp_activity
32+
-w /usr/bin/socat -p x -k susp_activity
33+
-w /usr/bin/wireshark -p x -k susp_activity
34+
-w /usr/bin/tshark -p x -k susp_activity
35+
-w /usr/bin/rawshark -p x -k susp_activity
36+
-w /usr/bin/rdesktop -p x -k susp_activity
37+
-w /usr/local/bin/rdesktop -p x -k susp_activity
38+
-w /usr/bin/wlfreerdp -p x -k susp_activity
39+
-w /usr/bin/xfreerdp -p x -k susp_activity
40+
-w /usr/local/bin/xfreerdp -p x -k susp_activity
41+
-w /usr/bin/nmap -p x -k susp_activity
42+
(via https://github.com/Neo23x0/auditd/blob/ddf2603dbc985f97538d102f13b4e4446b402bae/audit.rules#L336)
1843
detection:
1944
selection:
2045
key: 'susp_activity'

rules/windows/create_remote_thread/create_remote_thread_win_susp_relevant_source_image.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ references:
1010
- https://lolbas-project.github.io
1111
author: Perez Diego (@darkquassar), oscd.community
1212
date: 2019-10-27
13-
modified: 2025-07-08
13+
modified: 2025-10-18
1414
tags:
1515
- attack.privilege-escalation
1616
- attack.defense-evasion
@@ -78,6 +78,12 @@ detection:
7878
TargetImage|startswith:
7979
- 'C:\Program Files (x86)\' # C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
8080
- 'C:\Program Files\' # C:\Program Files\Microsoft Office\root\vfs\ProgramFilesCommonX64\Microsoft Shared\Office16\AI\ai.exe
81+
filter_main_ms_office:
82+
# Raised by following issue: https://github.com/SigmaHQ/sigma/issues/5529
83+
SourceImage|startswith:
84+
- 'C:\Program Files\Microsoft Office\'
85+
- 'C:\Program Files (x86)\Microsoft Office\'
86+
TargetImage: 'System'
8187
filter_optional_explorer_vmtools:
8288
SourceImage|endswith: '\SysWOW64\explorer.exe'
8389
TargetImage:
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
title: BaaUpdate.exe Suspicious DLL Load
2+
id: 6e8fe0a8-ba0b-4a93-8f9e-82657e7a5984
3+
related:
4+
- id: 9f38c1db-e2ae-40bf-81d0-5b68f73fb512 # Suspicious BitLocker Access Agent Update Utility Execution
5+
type: similar
6+
status: experimental
7+
description: |
8+
Detects BitLocker Access Agent Update Utility (baaupdate.exe) loading DLLs from suspicious locations that are publicly writable which could indicate an attempt to lateral movement via BitLocker DCOM & COM Hijacking.
9+
This technique abuses COM Classes configured as INTERACTIVE USER to spawn processes in the context of the logged-on user's session. Specifically, it targets the BDEUILauncher Class (CLSID ab93b6f1-be76-4185-a488-a9001b105b94)
10+
which can launch BaaUpdate.exe, which is vulnerable to COM Hijacking when started with input parameters. This allows attackers to execute code in the user's context without needing to steal credentials or use additional techniques to compromise the account.
11+
references:
12+
- https://github.com/rtecCyberSec/BitlockMove
13+
author: Swachchhanda Shrawan Poudel (Nextron Systems)
14+
date: 2025-10-18
15+
tags:
16+
- attack.defense-evasion
17+
- attack.t1218
18+
- attack.lateral-movement
19+
- attack.t1021.003
20+
logsource:
21+
category: image_load
22+
product: windows
23+
detection:
24+
selection:
25+
Image|endswith: '\BaaUpdate.exe'
26+
ImageLoaded|endswith: '.dll'
27+
ImageLoaded|contains:
28+
- ':\Perflogs\'
29+
- ':\Users\Default\'
30+
- ':\Users\Public\'
31+
- ':\Windows\Temp\'
32+
- '\AppData\Local\Temp\'
33+
- '\AppData\Roaming\'
34+
- '\Contacts\'
35+
- '\Favorites\'
36+
- '\Favourites\'
37+
- '\Links\'
38+
- '\Music\'
39+
- '\Pictures\'
40+
- '\ProgramData\'
41+
- '\Temporary Internet'
42+
- '\Videos\'
43+
condition: selection
44+
falsepositives:
45+
- Unknown
46+
level: high
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
title: Suspicious BitLocker Access Agent Update Utility Execution
2+
id: 9f38c1db-e2ae-40bf-81d0-5b68f73fb512
3+
related:
4+
- id: 6e8fe0a8-ba0b-4a93-8f9e-82657e7a5984 # BaaUpdate.exe Suspicious DLL Load
5+
type: similar
6+
status: experimental
7+
description: |
8+
Detects the execution of the BitLocker Access Agent Update Utility (baaupdate.exe) which is not a common parent process for other processes.
9+
Suspicious child processes spawned by baaupdate.exe could indicate an attempt at lateral movement via BitLocker DCOM & COM Hijacking.
10+
references:
11+
- https://github.com/rtecCyberSec/BitlockMove
12+
author: andrewdanis, Swachchhanda Shrawan Poudel (Nextron Systems)
13+
date: 2025-10-18
14+
tags:
15+
- attack.defense-evasion
16+
- attack.t1218
17+
- attack.lateral-movement
18+
- attack.t1021.003
19+
logsource:
20+
category: process_creation
21+
product: windows
22+
detection:
23+
selection:
24+
ParentImage|endswith: '\baaupdate.exe'
25+
Image|endswith:
26+
- '\bitsadmin.exe'
27+
- '\cmd.exe'
28+
- '\cscript.exe'
29+
- '\mshta.exe'
30+
- '\powershell_ise.exe'
31+
- '\powershell.exe'
32+
- '\regsvr32.exe'
33+
- '\rundll32.exe'
34+
- '\schtasks.exe'
35+
- '\wmic.exe'
36+
- '\wscript.exe'
37+
condition: selection
38+
falsepositives:
39+
- Unknown
40+
level: high

rules/windows/process_creation/proc_creation_win_netsh_fw_rules_discovery.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ references:
77
- https://ss64.com/nt/netsh.html
88
author: frack113, Christopher Peacock '@securepeacock', SCYTHE '@scythe_io'
99
date: 2021-12-07
10-
modified: 2023-12-11
10+
modified: 2025-10-18
1111
tags:
1212
- attack.discovery
1313
- attack.t1016
@@ -20,7 +20,7 @@ detection:
2020
- OriginalFileName: 'netsh.exe'
2121
selection_cli:
2222
CommandLine|contains|all:
23-
- 'netsh '
23+
- 'netsh'
2424
- 'show '
2525
- 'firewall '
2626
CommandLine|contains:

0 commit comments

Comments
 (0)