mirror of
https://github.com/vee1e/capa-rules.git
synced 2026-09-01 19:07:15 +00:00
*: remove /x32 and /x64 flavors and use instruction scope
This commit is contained in:
parent
82308c4109
commit
904bf3ef00
43 changed files with 362 additions and 324 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue