Process Memory Dump Via Dotnet-Dump
Detects the execution of "dotnet-dump" with the "collect" flag. The execution could indicate potential process dumping of critical processes such as LSASS.
Sigma rule (View on GitHub)
1title: Process Memory Dump Via Dotnet-Dump
2id: 53d8d3e1-ca33-4012-adf3-e05a4d652e34
3status: test
4description: |
5 Detects the execution of "dotnet-dump" with the "collect" flag. The execution could indicate potential process dumping of critical processes such as LSASS.
6references:
7 - https://learn.microsoft.com/en-us/dotnet/core/diagnostics/dotnet-dump#dotnet-dump-collect
8 - https://twitter.com/bohops/status/1635288066909966338
9author: Nasreddine Bencherchali (Nextron Systems)
10date: 2023-03-14
11tags:
12 - attack.defense-evasion
13 - attack.t1218
14logsource:
15 category: process_creation
16 product: windows
17detection:
18 selection_img:
19 - Image|endswith: '\dotnet-dump.exe'
20 - OriginalFileName: 'dotnet-dump.dll'
21 selection_cli:
22 CommandLine|contains: 'collect'
23 condition: all of selection_*
24falsepositives:
25 - Process dumping is the expected behavior of the tool. So false positives are expected in legitimate usage. The PID/Process Name of the process being dumped needs to be investigated
26level: medium
References
Related rules
- Abusing Print Executable
- AddinUtil.EXE Execution From Uncommon Directory
- AgentExecutor PowerShell Execution
- Arbitrary DLL or Csproj Code Execution Via Dotnet.EXE
- Arbitrary File Download Via MSOHTMED.EXE