capa-rules icon indicating copy to clipboard operation
capa-rules copied to clipboard

bunch of FN in our current rules

Open williballenthin opened this issue 4 years ago • 7 comments

  • [ ] free user process memory
  • [x] read data from Internet
  • [x] copy file
  • [x] crypto
  • [x] allocate user process RWX memory https://github.com/vivisect/vivisect/issues/296
  • [x] modify service
  • [x] get MAC address
  • [x] reference processor manufacturer constants
  • [x] set global application hook
  • [x] enumerate services
  • [x] start TCP server
  • [ ] get Program Files directory https://github.com/vivisect/vivisect/issues/297
  • [ ] delay execution
  • [ ] get session integrity level
  • [ ] reference anti-VM strings
  • [ ] check for unmoving mouse cursor
  • [ ] get Program Files directory

williballenthin avatar Jul 23 '20 18:07 williballenthin

@mike-hunhoff "free user process memory" 493167E85E45363D09495D0841C30648:0x404B00 missing API ZwFreeVirtualMemory

williballenthin avatar Jul 23 '20 23:07 williballenthin

delete "crypto" with preference to match: data-manipulation/encryption

williballenthin avatar Jul 23 '20 23:07 williballenthin

"allocate user process RWX memory" works in IDA, not in viv.

IDA decodes instruction at 0x00404bb6 as push 0xFFFFFFFF: image

but viv only sees a one byte push:

image

opcode bytes: 6A FF

.text:00404BB6 6A FF                   push    0FFFFFFFFh

this is a bug in vivisect. need to pull the latest master there and report a bug upstream if its still a problem.

williballenthin avatar Jul 23 '20 23:07 williballenthin

"get mac address" viv doesn't recognize the function

also this is apparently an installer, so capa is hesitant to run.

williballenthin avatar Jul 24 '20 20:07 williballenthin

"reference processor manufacturer constants" uses example thats shellcode that doesn't start at offset 0x0

williballenthin avatar Jul 24 '20 20:07 williballenthin

"set global application hook" viv doesn't recognize function

williballenthin avatar Jul 24 '20 21:07 williballenthin

"get Program Files directory" viv doesn't support delayed imports. https://github.com/vivisect/vivisect/issues/297

image

williballenthin avatar Jul 24 '20 21:07 williballenthin

I've double checked the above and fixed one example address in #815.

mr-tz avatar Aug 19 '23 09:08 mr-tz