A next-generation, Python-based Command & Control (C2) framework equipped with chaos-key encryption, dynamic port assignment, and cross-platform payload generation. NufSed C2 is designed to simplify red team operations while increasing stealth and flexibility across multiple target platforms.
- Time-Sensitive Keys:
Dynamically generates encryption keys based on a shared secret and the current hour, complicating traffic analysis. - Stealth and Security:
Obfuscates communications between the C2 server and implants, making traditional static XOR keys obsolete.
- Unique Per-Agent Ports:
Each new implant receives a randomly assigned port, improving both traffic compartmentalization and stealth. - Improved Scalability:
Seamlessly manage multiple implants without bottlenecking on a single known port.
- Windows:
Generate Python-based backdoors or .exe files (via PyInstaller). - Linux:
Deploy Python or shell script implants, with simple persistence (e.g., cron). - Android (Linux Host Required):
Build APK implants using Buildozer, expanding operations into mobile realms.
- Persistence Options:
- Windows: Modify registry keys for autorun.
- Linux: Add cron jobs for stealthy relaunches.
- Android: Integrate into Termux startup scripts.
- Self-Deletion (Kill Command):
Implants can remove themselves upon receiving a kill command, ensuring minimal forensic trace.
- Python 3.6+
- PyInstaller (for Windows payloads)
- Buildozer & Android SDK/NDK (for Android APKs, on Linux hosts)
- Colorama, PrettyTable, and Other Python Dependencies:
Install fromrequirements.txt
.
-
Clone the Repository:
git clone https://github.com/scs-labrat/nufsedc2.git cd nufsedc2
-
Install Dependencies:
pip install -r requirements.txt
-
Run the C2 Server:
python3 nufsedc2.py
Upon running, the C2 generates or loads a shared secret and launches a primary listener.
-
Help Menu:
Command#> help
-
Start a Listener:
Command#> listeners -g
(Follow prompts to specify IP, port, and protocol.)
-
List Sessions:
Command#> sessions -l
-
Interact with a Session:
Command#> sessions -i <session_id>
-
Generate Payloads (Examples):
# Windows EXE Payload Command#> winplant exe # Linux SH Payload Command#> linplant sh # Android APK (on Linux) Command#> androidplant apk
-
Kill All Implants:
Command#> kill
-
Exit C2:
Command#> exit
Latest Release:
Download the latest release
Here you can find pre-compiled binaries or source archives for convenience.
Contributions are welcome!
- Submit issues or pull requests for bug fixes, enhancements, or new features.
- Improve documentation and help extend compatibility.
For educational and authorized security testing purposes only.
Misuse of this tool can lead to severe legal consequences. The authors disclaim any responsibility for unauthorized or malicious use. Always ensure you have proper authorization before using NufSed C2 on any target systems.