mirror of
https://codeberg.org/smukx/Rust-for-Malware-Development
synced 2026-06-06 20:22:59 +00:00
28e7fac1d3
Rust-for-Malware-Development is an collection of proof of concepts with techniques and advanced evasion methods
GitHub API Data Exfiltration PoC
This Proof of Concept (PoC) demonstrates how data can be collected from a system and exfiltrated using the GitHub API. The code simulates a data stealer by gathering system information (e.g., hostname, OS version, network details) and sending it as a comment to a GitHub issue or as a file in a repository using legitimate API calls.
Download GitHub Stealer: Download
How It Works
- Collects system information using Windows API calls.
- Formats the data into a JSON payload.
- Uses the GitHub API (with a valid token) to post the data as an issue comment or repository file.
How to make it work !
-
Create Token from settings -> https://github.com/settings/tokens
-
Create a issue on any repo need
-
Note down the issue number
-
To build:
cargo build --releaseFile can be found at : GITHUB_API/target/release/GITHUB_API.exe
Credits / Reference
- Cocomelonc for Basic Idea:
- API Structure to implement WinHttp in Rust:
- WinAPI Documentation

