Skip to content

Commit 98da73f

Browse files
committed
feat(rules): Add Potential NTLM hash leak via shortcut file rule
Identifies potential NTLM hash leakage via malicious shortcut (.lnk) file processing. By crafting a .lnk file with a default icon from shell32.dll and the target path pointing to a remote SMB-hosted binary file, the explorer.exe process will fetch the remote file to extract the icon from the PE resource directory, leading to NTLM hash leak.
1 parent 2ad2e0e commit 98da73f

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: Potential NTLM hash leak via shortcut file
2+
id: 2217339b-19d0-45ac-9ec5-26b0a968bdf1
3+
version: 1.0.0
4+
description: |
5+
Identifies potential NTLM hash leakage via malicious shortcut (.lnk) file processing.
6+
By crafting a .lnk file with a default icon from shell32.dll and the target path pointing
7+
to a remote SMB-hosted binary file, the explorer.exe process will fetch the remote file to
8+
extract the icon from the PE resource directory, leading to NTLM hash leak.
9+
labels:
10+
tactic.id: TA0006
11+
tactic.name: Credential Access
12+
tactic.ref: https://attack.mitre.org/tactics/TA0006/
13+
technique.id: T1187
14+
technique.name: Forced Authentication
15+
technique.ref: https://attack.mitre.org/techniques/T1187/
16+
references:
17+
- https://github.com/rubenformation/CVE-2025-50154
18+
19+
condition: >
20+
sequence
21+
maxspan 1m
22+
by ps.uuid
23+
|open_file and
24+
ps.name ~= 'explorer.exe' and file.extension ~= '.lnk' and
25+
thread.callstack.summary imatches 'ntdll.dll|KernelBase.dll|SHCore.dll|windows.storage.dll|shell32.dll|SHCore.dll|*' and
26+
thread.callstack.symbols iin ('shell32.dll!SHELL32_CNetFolderUI_CreateInstance')
27+
|
28+
|open_file and
29+
file.path istartswith '\\Device\\Mup\\' and
30+
file.extension iin
31+
(
32+
'.exe',
33+
'.dll',
34+
'.ocx',
35+
'.cpl',
36+
'.sys'
37+
)
38+
|
39+
40+
severity: high
41+
42+
min-engine-version: 3.0.0

0 commit comments

Comments
 (0)