Skip to content
therustymatePublic

About

A controlled ransomware emulation framework for adversary simulation, red team operations, and detection engineering. (on development)

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

Repository files navigation

7layers

A controlled ransomware emulation framework for adversary simulation, red team operations, and detection engineering.

Disclaimer

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.

Build

# 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

Metadata Parsing

$ 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

Configuration

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.

Scope Setup

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 },
};

Target File Extension Setup

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
};

MITRE ATT&CK TTPs

Reverse Engineering

Threat Actors & MITRE ATT&CK TTPs Analysis

Group ID Group Name Analysis
G1058 The Gentlemen mitre/TheGentlemen
G1050 Water Galura mitre/WaterGalura
G1024 Akira mitre/Akira
G1032 INC Ransom mitre/INCRansom

References

About

A controlled ransomware emulation framework for adversary simulation, red team operations, and detection engineering. (on development)

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages