-
Notifications
You must be signed in to change notification settings - Fork 167
/
Copy pathterminate-process.yml
35 lines (35 loc) · 1014 Bytes
/
terminate-process.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
rule:
meta:
name: terminate process
namespace: host-interaction/process/terminate
authors:
- moritz.raabe@mandiant.com
- michael.hunhoff@mandiant.com
- anushka.virgaonkar@mandiant.com
scopes:
static: function
dynamic: span of calls
mbc:
- Process::Terminate Process [C0018]
examples:
- C91887D861D9BD4A5872249B641BC9F9:0x401A77
- 9B7CCAA2AE6A5B96E3110EBCBC4311F6:0x10010307
features:
- or:
- api: System.Diagnostics.Process::Kill
- api: System.Diagnostics.Process::WaitForExit
- api: System.Diagnostics.Process::WaitForExitAsync
- api: System.Environment::Exit
- api: System.Windows.Forms.Application::Exit
- api: exit
- api: Exit
- and:
- os: linux
- api: exit_group
- and:
- optional:
- match: open process
- or:
- api: kernel32.TerminateProcess
- api: ntdll.NtTerminateProcess
- api: kernel32.ExitProcess