Skip to content

Update include_possible_dll_injection.xml#203

Merged
olafhartong merged 1 commit into
olafhartong:masterfrom
fornotes:patch-2
Jun 25, 2026
Merged

Update include_possible_dll_injection.xml#203
olafhartong merged 1 commit into
olafhartong:masterfrom
fornotes:patch-2

Conversation

@fornotes

Copy link
Copy Markdown
Contributor

Based on this SigmaHQ rule

https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_access/proc_access_win_hktl_cobaltstrike_bof_injection_pattern.yml

https://github.com/boku7/injectAmsiBypass/blob/main/inject-amsiBypass.c

On requesting handle with "PROCESS_VM_OPERATION | PROCESS_VM_WRITE" (i.e. 0x28) windows gives back (PROCESS_QUERY_LIMITED_INFORMATION | PROCESS_VM_OPERATION | PROCESS_VM_WRITE) i.e. 0x1028

Based on this SigmaHQ rule 

https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_access/proc_access_win_hktl_cobaltstrike_bof_injection_pattern.yml


https://github.com/boku7/injectAmsiBypass/blob/main/inject-amsiBypass.c

On requesting handle with "PROCESS_VM_OPERATION | PROCESS_VM_WRITE" (i.e. 0x28) windows gives back (PROCESS_QUERY_LIMITED_INFORMATION | PROCESS_VM_OPERATION | PROCESS_VM_WRITE)  i.e. 0x1028
@olafhartong

Copy link
Copy Markdown
Owner

thanks for this addition

@olafhartong
olafhartong merged commit 7032d13 into olafhartong:master Jun 25, 2026
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.

2 participants