*: remove /x32 and /x64 flavors and use instruction scope

This commit is contained in:
Willi Ballenthin 2022-04-05 12:25:14 -06:00
parent 82308c4109
commit 904bf3ef00
No known key found for this signature in database
43 changed files with 362 additions and 324 deletions

View file

@ -20,8 +20,11 @@ rule:
# lea r9d, [rcx+40h] ; flProtect
# call cs:VirtualAlloc
- match: allocate memory
- mnemonic: lea
- offset: 0x40
- or:
- number: 0x40
- instruction:
- mnemonic: lea
- offset: 0x40
- api: CopyFile2
- api: DeleteFileW
- number: 0x00000001 = COPY_FILE_FAIL_IF_EXISTS