Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/iilegacyyii/datainject-bof
ExploitationShellcodePost-ExploitationRed TeamingPayload DevelopmentBinary Exploitation
GitHubiilegacyyii/datainject-bof

DataInject-BOF

Hijacks code execution via overwriting Control Flow Guard pointers in combase.dll

View Repository
1551751 year agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Website
Share

Data Inject BOF

A beacon object file implementation of the process injection proof-of-concept from my blog post Control Flow Hijacking via Data Pointers.

Hijacks control flow via overwriting combase.dll's Control Flow Guard function pointers called by COM proxying functions.

Important Notes

  • From my testing, explorer.exe is the current best candidate in terms of an easy triggering mechanism due to its heavy reliance on COM proxying. Would recommend experimenting.
  • Make sure shellcode is 64-bit as this BOF only supports 64-bit beacons & target processes.
  • This has only been tested on windows versions Win10 21H2 (19044.5737) & Win11 24H2 (26100.3775).

Usage

root@kitploit:~
datainject <pid> <shellcode path>

Examples

For sake of example, all process id's have been assumed to be 1234

Inject into explorer.exe, execute shellcode upon COM call (can be triggered by right clicking or opening file explorer)

root@kitploit:~
datainject 1234 C:\users\attacker\payloads\beacon_x64.bin

References

  • Control Flow Hijacking via Data Pointers - My blog post teaching my methodology to weaponising this.
  • Threadless Inject - The project that inspired me to start this research.
Download Tool