Add new rule persist-via-shellserviceobjectdelayload-registry-key.yml#1117
Add new rule persist-via-shellserviceobjectdelayload-registry-key.yml#1117xpzhxhm wants to merge 4 commits intomandiant:masterfrom
Conversation
mike-hunhoff
left a comment
There was a problem hiding this comment.
Great, thanks @xpzhxhm . I've left comments for your review.
persistence/registry/persist-via-shellserviceobjectdelayload-registry-key.yml
Outdated
Show resolved
Hide resolved
persistence/registry/persist-via-shellserviceobjectdelayload-registry-key.yml
Outdated
Show resolved
Hide resolved
persistence/registry/persist-via-shellserviceobjectdelayload-registry-key.yml
Outdated
Show resolved
Hide resolved
Update rules and description, improve scope to function/basic block by adding HKLM constant, remove blank line.
|
Hi @mike-hunhoff. |
|
I confirmed in IDA that this sample uses a helper function to write to the registry. The HKLM constant 0x80000002 and the string |
@xpzhxhm capa does not match across functions, so, specifying |
|
Hi @mike-hunhoff , thanks for clarifying! I understand now that with |
@xpzhxhm no, capa rules must match the smallest reasonable scope possible. In this case , that would likely be |
|
Hi @mike-hunhoff, thank you so much for your guidance :) I'm switching the scope back to |


Add new rule persist-via-shellserviceobjectdelayload-registry-key.yml
Closes #1114
Ref mandiant/capa-testfiles#303
https://blog.virustotal.com/2024/03/com-objects-hijacking.html