Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

An advanced Windows shell code loader and generator toolset featuring XOR encryption, debug protection, and GUI capabilities for penetration testing.

License

NotificationsYou must be signed in to change notification settings

Kawramk/WindowsShell-Injector-Shellcode-Loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A sophisticated Windows-based shellcode execution framework featuring encrypted payload embedding, anti-debugging mechanisms, and a user-friendly Qt interface for security research and penetration testing.

Features

  • Encrypted Shellcode Execution: XOR-based encryption with position-dependent keys for payload obfuscation
  • Anti-Debugging Protection: Built-in debugger detection using INT 3 breakpoint techniques
  • GUI Interface: Clean Qt-based interface for easy shellcode loading and execution
  • Payload Generator: Command-line tool for encrypting and embedding payloads into loader executables
  • Memory Protection: Dynamic memory allocation with proper executable page permissions
  • Thread-based Execution: Asynchronous shellcode execution in separate threads
  • Lazy Import Resolution: Runtime API resolution to evade static analysis
  • Memory Obfuscation: Custom memory copy functions to avoid standard library calls
  • Debugger Evasion: Exception-based debugger detection mechanisms
  • Encrypted Storage: Payloads are encrypted and embedded within the executable

Requirements

System Requirements

  • Windows 10/11
  • Visual Studio 2022
  • Qt Framework 5.x or 6.x

Dependencies

  • Qt Widgets module
  • Windows API libraries
  • C++ Runtime libraries

Installation

Building

  • Clone the repository

  • Open the solution file (.sln).

  • SelectBuild Solution from theBuild menu.

Usage

Generating Encrypted Payloads

Use the ShellMaker tool to encrypt and embed your shellcode:

ShellMaker.exe input_payload.bin output_loader.exe

Example:

ShellMaker.exe meterpreter.bin encrypted_loader.exe

Loading and Executing Shellcode

  1. GUI Method: Run the Loading.exe application and it will automatically execute embedded shellcode
  2. Command Line: The loader automatically detects and executes embedded payloads

Code Integration Example

#include"code.h"intmain() {// Initialize the loaderif (start() ==0) {printf("Shellcode executed successfully\n");    }return0;}

Configuration

Payload Size Limits

  • Maximum payload size: 27,136 bytes (defined byDATA_SIZE)
  • Minimum marker sequence: 66 bytes (0x42)

Encryption Parameters

  • Algorithm: XOR with position-based key
  • Key Generation:(byte ^ (position + 1)) + 1
  • Marker Byte: 0x41 (used for payload location)

Anti-Debug Settings

The loader includes several configurable anti-debugging mechanisms:

// Debugger detection via INT 3boolTesbuer() {    __try {        __asm {            _emit0xCD// INT 03            _emit0x03            _emit0xC3// RET        }    }__except (EXCEPTION_EXECUTE_HANDLER) {returnfalse;// Debugger detected    }returntrue;}

Testing

Unit Tests

# Build test configurations in Visual Studio# Run with appropriate test payloads

Compatibility Testing

  • Tested on Windows 10 (1909, 2004, 21H1, 21H2)
  • Tested on Windows 11
  • Compatible with both x86 and x64 architectures

Disclaimer

This software is provided for educational and research purposes only. The authors and contributors are not responsible for any misuse or damage caused by this software.

License

This project is licensed under the MIT License - see theLICENSE file for details.

Sponsor this project

    Packages

    No packages published

    Contributors3

    •  
    •  
    •  

    Languages


    [8]ページ先頭

    ©2009-2025 Movatter.jp