Skip to content
This repository was archived by the owner on Dec 31, 2025. It is now read-only.
/ PrimerC2 Public archive

PrimerC2 is an open-source Windows (x86/WoW64) C2 framework designed to be simple and extensible. It was built to explore support for Beacon Object Files (BOF) and reflective DLL loading in a minimal structure without bundling large sets of post-exploitation tools.

Notifications You must be signed in to change notification settings

0xAbeni/PrimerC2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PrimerC2

🚨 PROJECT ARCHIVED: No longer maintained! 🚨

This project is obsolete and exists solely for historical reference and code-reuse study.
It was my very first serious coding project from 2023 and has not been updated or supported since then.

PrimerC2 is an open-source Windows (x86/WoW64) C2 framework designed to be simple and extensible. It was built to explore support for Beacon Object Files (BOF) and reflective DLL loading in a minimal structure — without bundling large sets of post-exploitation tools.

Critical Ethical & Legal Guidelines

This repository is provided STRICTLY for educational, research, and historical study purposes only.

  • No malicious or unauthorized use is permitted. This code demonstrates concepts related to remote agent communication and post-exploitation techniques.
  • It is NOT intended, endorsed, or suitable for any illegal, unethical, or unauthorized activity.
  • Do NOT use this project in any real-world offensive operations, penetration tests without proper authorization, or any harmful context.
  • This project remains public only as an archive of early learning work. No active development, support, or contributions are accepted.

Respect these guidelines. Unauthorized misuse harms the security community and can have severe legal consequences.

v1.0.0 / master

Features

  • Privilege Escalation
  • Reflective Injection(Fork & run)
  • Beacon Object Files(BOF)
  • Compile-time obfuscation
  • TimeStomping
  • Transacted Hollowing
  • AES-128-CBC encryption
  • Migrate c2
  • Plugins (Chromium Stealer,Screenshot)
  • Ntdll Unhooking from suspended Process
  • API Hashing
  • Flooding
    • SlowPost, Rapid POST & Rapid GET
    • Tcp
    • Udp
  • And more...

flowchart

Getting Started

Download the latest Builder. To get latest agent compile from source.

Building From source

To Build Debug Mode Add the statment

--- defines.h
+ #define DEBUG

To Build Release Mode Remove the statment

--- defines.h
- #define DEBUG

Then run

make

Tested on

OS Privilege esclation Process Injection Defender bypass
Windows 7 ✔️ ✔️ ✔️
Windows 10 22h2 ✔️ ✔️ ✔️
Windows 11 ✔️ ✔️ ✔️

Documentation

Technical Documentation

panel panel

About

PrimerC2 is an open-source Windows (x86/WoW64) C2 framework designed to be simple and extensible. It was built to explore support for Beacon Object Files (BOF) and reflective DLL loading in a minimal structure without bundling large sets of post-exploitation tools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published