Skip to content

Add PPID spoof PoC test sample for capa-rules #1167#315

Open
itxsamad1 wants to merge 1 commit into
mandiant:masterfrom
itxsamad1:add-ppid-spoof-poc-sample
Open

Add PPID spoof PoC test sample for capa-rules #1167#315
itxsamad1 wants to merge 1 commit into
mandiant:masterfrom
itxsamad1:add-ppid-spoof-poc-sample

Conversation

@itxsamad1

Copy link
Copy Markdown

Summary

Sample behavior

The binary implements the complete PPID spoofing sequence:

  1. InitializeProcThreadAttributeList
  2. UpdateProcThreadAttribute with PROC_THREAD_ATTRIBUTE_PARENT_PROCESS (0x20000)
  3. CreateProcessW with EXTENDED_STARTUPINFO_PRESENT

Test plan

  • Verified with capa v9.4.0 against updated rule on branch enhance/spoof-parent-pid-detection
  • Rule spoof parent PID matches at function 0x140001000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant