mirror of
https://github.com/mandiant/capa-rules
synced 2026-06-08 15:41:20 +00:00
Merge pull request #45 from re-fox/master
Create check-mutex-and-exit.yml
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
rule:
|
||||
meta:
|
||||
name: check mutex and exit
|
||||
namespace: host-interaction/mutex
|
||||
author: "@_re_fox"
|
||||
scope: function
|
||||
examples:
|
||||
- 1d8fd13c890060464019c0f07b928b1a:0x00402eb0
|
||||
features:
|
||||
- and:
|
||||
- match: create mutex
|
||||
- api: GetLastError
|
||||
- api: ExitProcess
|
||||
- or:
|
||||
- number: 2 = ERROR_FILE_NOT_FOUND
|
||||
- number: 0xb7 = ERROR_ALREADY_EXISTS
|
||||
- number: 5 = ERROR_ACCESS_DENIED
|
||||
Reference in New Issue
Block a user