HAFNIUM Exchange Exploitation Activity
Detects activity observed by different researchers to be HAFNIUM group activity (or related) on Exchange servers
Sigma rule (View on GitHub)
1title: HAFNIUM Exchange Exploitation Activity
2id: bbb2dedd-a0e3-46ab-ba6c-6c82ae7a9aa7
3status: test
4description: Detects activity observed by different researchers to be HAFNIUM group activity (or related) on Exchange servers
5references:
6 - https://blog.truesec.com/2021/03/07/exchange-zero-day-proxylogon-and-hafnium/
7 - https://www.microsoft.com/security/blog/2021/03/02/hafnium-targeting-exchange-servers/
8 - https://discuss.elastic.co/t/detection-and-response-for-hafnium-activity/266289/3
9 - https://twitter.com/GadixCRK/status/1369313704869834753?s=20
10 - https://twitter.com/BleepinComputer/status/1372218235949617161
11author: Florian Roth (Nextron Systems)
12date: 2021-03-09
13modified: 2023-03-09
14tags:
15 - attack.persistence
16 - attack.t1546
17 - attack.t1053
18 - attack.g0125
19 - detection.emerging-threats
20logsource:
21 category: process_creation
22 product: windows
23detection:
24 selection_attrib:
25 CommandLine|contains|all:
26 - 'attrib'
27 - ' +h '
28 - ' +s '
29 - ' +r '
30 - '.aspx'
31 selection_vsperfmon:
32 - Image|contains: '\ProgramData\VSPerfMon\'
33 - CommandLine|contains|all:
34 - 'schtasks'
35 - 'VSPerfMon'
36 selection_opera_1:
37 Image|endswith: 'Opera_browser.exe'
38 ParentImage|endswith:
39 - '\services.exe'
40 - '\svchost.exe'
41 selection_opera_2:
42 Image|endswith: 'Users\Public\opera\Opera_browser.exe'
43 selection_vssadmin:
44 CommandLine|contains|all:
45 - 'vssadmin list shadows'
46 - 'Temp\__output'
47 selection_makecab_1:
48 Image|endswith: '\makecab.exe'
49 CommandLine|contains|all:
50 - 'inetpub\wwwroot\'
51 - '.dmp.zip'
52 selection_makecab_2:
53 Image|endswith: '\makecab.exe'
54 CommandLine|contains:
55 - 'Microsoft\Exchange Server\'
56 - 'compressionmemory'
57 - '.gif'
58 selection_7zip:
59 CommandLine|contains|all:
60 - ' -t7z '
61 - 'C:\Programdata\pst'
62 - '\it.zip'
63 selection_rundll32:
64 CommandLine|contains|all:
65 - '\comsvcs.dll'
66 - 'Minidump'
67 - 'full '
68 - '\inetpub\wwwroot'
69 selection_other:
70 CommandLine|contains:
71 - 'Windows\Temp\xx.bat'
72 - 'Windows\WwanSvcdcs'
73 - 'Windows\Temp\cw.exe'
74 condition: 1 of selection*
75falsepositives:
76 - Unlikely
77level: critical
References
Related rules
- Defrag Deactivation - Security
- MSSQL Extended Stored Procedure Backdoor Maggie
- Potential ACTINIUM Persistence Activity
- SOURGUM Actor Behaviours
- COLDSTEEL Persistence Service Creation