Skip to content

A Rust PoC implementation of the Early Bird process hollowing technique, inspired by https://github.com/boku7/HOLLOW.

License

Notifications You must be signed in to change notification settings

Teach2Breach/hollow_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Process Hollowing in Rust

A Rust PoC implementation of the Early Bird process hollowing technique, inspired by @boku7/HOLLOW. This version reimplements the core functionality in Rust while maintaining direct Windows API interactions through the winapi crate.

Overview

This library provides process hollowing capabilities using the Early Bird injection technique, implemented in Rust. It:

  • Creates a new process in a suspended state
  • Allocates memory in the target process
  • Injects shellcode into the allocated memory
  • Queues an APC to execute the shellcode
  • Resumes the target process
Note

This version does not use dynamic resolution of APIs or other OPSEC safe considerations. I'll push a more OPSEC safe version in the future on the 'opsec' branch. Usually about 1 month after initial repo release.

Usage

Add this to your Cargo.toml:

[dependencies]
hollow_rs = { git = "https://github.com/Teach2Breach/hollow_rs" }
Example
use hollow_rs::wrapper;

wrapper("notepad.exe", &SHELL_CODE);
Video of creating this PoC

watch on X

About

A Rust PoC implementation of the Early Bird process hollowing technique, inspired by https://github.com/boku7/HOLLOW.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages