A controlled ransomware emulation framework for adversary simulation, red team operations, and detection engineering.
This project and all associated materials are provided strictly for authorized red teaming and educational purposes only.
Unauthorized engagements using this project and associated materials are strictly prohibited. Unauthorized access on devices using this project and associated materials may cause serious legal consequences.
# Compile Commands
make # Default
make clean # Cleanup
make strip # Symbol Removal
make rebuild # Build After Cleanup
# Build Metadata
make rebuild BUILD_PROFILE=REDTEAM AUTHORIZATION_ID=LAB-2026-001 SIGNING_KEY_FINGERPRINT=AB12CD34$ make rebuild BUILD_PROFILE=rusty AUTHORIZATION_ID=win11 SIGNING_KEY_FINGERPRINT=rusty
$ python3 ./scripts/meta.py ./bin/7layers_4.0.0_x64.exe
[7LAYERS / BUILD METADATA]
Build ID : 78f1c370-5eea-4933-a929-252d01db70d0
Git Commit : a611a9dd068b
Build Date : 2026-11-10T11:07:52NZDT
Build Profile : rusty
Authorization ID : win11
Key Fingerprint : rusty
$ make rebuild
$ python3 ./scripts/meta.py ./bin/7layers_4.0.0_x64.exe
[7LAYERS / BUILD METADATA]
Build ID : 5074af9c-baaa-4797-9ebe-ac7235825e05
Git Commit : a611a9dd068b
Build Date : 2026-11-10T11:08:27NZDT
Build Profile : UNVERIFIED
Authorization ID : NONE
Key Fingerprint : UNSIGNED
You can configure the file extensions and target directories that 7layers ransomware is allowed to encrypt by modifying include/config.h.
Any individual who modifies the HARD_DENY lists (HARD_DENY_EXT, HARD_DENY_PATH) assumes full responsibility for any consequences resulting from those modifications.
This list defines the scope of directory paths that the ransomware is permitted to encrypt. By default, all directories not explicitly included in the defined scope are excluded from encryption, and no configuration option is provided to include them as encryption targets by default.
{ File Path, Allow Recursive (0 or 1), Max Recursive Search Depth }
static PATH_SCOPE SCOPE_PATH_LIST[] = {
{ "%USERPROFILE%\\Documents", 1, 5 },
{ "%USERPROFILE%\\Downloads", 1, 1 },
{ "%USERPROFILE%\\Desktop", 1, 3 },
{ "%USERPROFILE%\\Pictures", 1, 3 },
{ "%USERPROFILE%\\Videos", 1, 3 },
};This list defines the scope of file extensions that the ransomware is permitted to encrypt. By default, all file extensions not explicitly included in the defined scope are excluded from encryption, and no configuration option is provided to include them as encryption targets by default.
Supported File Types:
- Document
- Image
- Video
- Audio
- Text
- General
- Binary
- Dummy
- Script
- Dump
- VDisk
File types are included for classification purposes only and do not affect any functionality.
{ File Type, File Extension (Lowercase) }
static FILE_EXTENSION_DATA SCOPE_EXT_LIST[] = {
// Allowed: Text File
{ TEXT, "txt" }, // Plain Text
{ TEXT, "md" }, // Markdown
{ TEXT, "csv" }, // Comma-Separated Values
{ TEXT, "tsv" }, // Tab-Separated Values
{ TEXT, "json" }, // JSON Data
{ TEXT, "xml" }, // XML Document
// ...
// Allowed: Test Files
{ DUMMY, "flag" }, // Capture The Flag
{ DUMMY, "target" }, // Custom Test Target
{ DUMMY, "dummy" }, // Dummy Data
};- T1083 - File and Directory Discovery
- T1057 - Process Discovery
- T1486 - Data Encrypted for Impact
- T1491.001 - Defacement: Internal Defacement
- T1490 - Inhibit System Recovery
| Group ID | Group Name | Analysis |
|---|---|---|
| G1058 | The Gentlemen | mitre/TheGentlemen |
| G1050 | Water Galura | mitre/WaterGalura |
| G1024 | Akira | mitre/Akira |
| G1032 | INC Ransom | mitre/INCRansom |
- Threat Actors & TTP Analysis
- https://www.zerofox.com/intelligence/september-2026-ransomware-wrap-up/
- https://www.microsoft.com/en-us/security/blog/2026/05/28/the-gentlemen-ransomware-dissecting-a-self-propagating-go-encryptor/
- https://www.gendigital.com/blog/insights/research/decrypted-akira-ransomware
- https://areteir.com/resources/malware-spotlight-akira-ransomware
- https://medium.com/@venomtechofficial/inside-the-gentlemen-ransomware-reverse-engineering-static-analysis-c1b5585fa93b
- MITRE ATT&CK
- GitHub
