Merge pull request #45 from re-fox/master

Create check-mutex-and-exit.yml
This commit is contained in:
Willi Ballenthin
2020-07-22 15:39:00 -06:00
committed by GitHub
+17
View File
@@ -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