Skip to content
KitploitKITPLOIT
도구익스플로잇블로그
Log in
제출
도구익스플로잇블로그
제출

해킹, 침투 테스트 및 사이버 보안 도구를 당신의 보안 무기고에!

Kitploit은 해킹, 사이버 보안 및 침투 테스트 도구 디렉토리입니다. 최신 프로젝트 업데이트를 발견하여 취약점을 찾고, 시스템을 분석하고, 테스트를 자동화하고, 보안을 강화하세요.

피드문의개인정보© 2026 Kitploit

도구 디렉토리

카테고리

모든 카테고리 보기
Loading categories
Fritter — Polymorphic shellcode generator for in-memory execution of EXE, DLL, .NET, VBScript, and JScript with per-output and per-build randomization for evasion and signature resistance. | Kitploit
도구/GitHubGitHub/0xrootpls/fritter
Payload GenerationExploitationShellcodePenetration TestingRed TeamingShellcode GenerationPayload DevelopmentBinary Exploitation
GitHub0xrootpls/fritter

Fritter

Polymorphic shellcode generator for in-memory execution of EXE, DLL, .NET, VBScript, and JScript with per-output and per-build randomization for evasion and signature resistance.

저장소 보기
24840956일 전Kitploit 검토 완료
공유
요청한 언어로 콘텐츠를 사용할 수 없습니다. 영어 버전을 표시합니다.

Fritter banner

Fritter

The evasive cousin of Donut.

Fritter is a heavily modified fork of TheWover and Odzhan's Donut shellcode generator. It generates position-independent shellcode for in-memory execution of VBScript, JScript, EXE, DLL, and .NET assemblies, with a focus on evasion and signature resistance. The codebase is x64-only.

What's different

Lots. Fritter strips out features that aren't commonly needed and replaces internals that have become well-signatured over the years. The crypto, compression, hashing, and API resolution layers have all been reworked among many other areas.

Polymorphism and evasion is the design goal. Every output is unique, and every build of the tool is itself unique. There are two distinct layers:

Per-output randomization: applied each time fritter is invoked. The entry stub, the polymorphic decoder, the encryption keys, the mask stub, the stubs written into the payload image and many structural elements within the generated shellcode are regenerated from new entropy on every PIC build.

Per-build randomization: applied each time fritter itself is compiled. Cipher and hash rotation constants, API resolution table layout, shim-side string scrambling, PEB-walk directions, post-execution wipe patterns, and several structural axes inside the loader and shim are baked at compile time.

At runtime, Fritter minimizes what of itself can be seen:

  • While the loader churns, it is partitioned into individually encrypted functions, each with its own PE section, keystream seed, and dispatcher. Only one function's bytes are in plaintext at any given moment. The earlier VEH sliding-window model has been retired in favor of this dispatch model.
  • While the payload runs, the whole loader is masked: encrypted, read/write, with a single generated stub page left executable.
  • Afterwards, everything is wiped and nothing of the shellcode stays executable.

!! Build from source is strongly recommended !!

This matters. The pre-built binaries available for testing in releases share their per-build constants across all users of the binary.

Build your own copy. The per-build axes are re-randomized on every make invocation:

# Linux, static-musl ELF, no runtime libc dependency
# Requires: build-essential, mingw-w64, musl-tools
make -f Makefile.linux release

# Windows (MSVC), recommended on Windows
nmake -f Makefile.msvc

Both toolchains lay each protected loader function into its own PE section, which is what the N>1 per-function dispatch model needs, so MSVC and Linux builds produce equivalent output. If you don't have Visual Studio, build under WSL with Makefile.linux; it cross-compiles the Windows loader via mingw-w64.

Usage

The shellcode decodes itself in place, so the memory it runs from must be set as RWX. You should start it on a page boundary (what VirtualAlloc returns) to get the loader mask; at any other address it still runs, unmasked.

A /test folder is included with calc.exe and inject_local64.exe to test Fritter.

fritter [options] -i <EXE/DLL/VBS/JS>

  INPUT
    -i, --input  <path>       Input file to execute in-memory
    -p, --args   <args>       Parameters / command line for target
    -c, --class  <name>       Class name (required for .NET DLL)
    -m, --method <name>       Method or function for DLL
    -r, --runtime <ver>       CLR runtime version
    -w, --unicode             Pass command line as UNICODE
    -t, --thread              Run unmanaged EXE entrypoint as thread
    -b, --imagebase           EXE is the process image while it runs (resources; use with -k 2)
    -l, --tls-donor <dll>     Static TLS for the payload, borrowed from this DLL on the target
    -a, --allow-tls           Accept a payload that uses static TLS without a slot (at your own risk)

  OUTPUT
    -o, --output <path>       Output file (default: loader.bin)
    -f, --format <1-9>        1=Bin 2=B64 3=C 4=Ruby 5=Py 6=PS 7=C# 8=Hex 9=UUID
    -x, --exit   <1-3>        1=Thread (default) 2=Process 3=Block
    -y, --fork   <offset>     Fork thread, continue at RVA offset

  LOADER
    -e, --entropy <1-3>       1=None 2=Random names 3=Names+Crypto (default)
    -k, --headers <1-2>       1=Overwrite (default) 2=Keep all
    -d, --domain  <name>      AppDomain name for .NET
    -j, --decoy   <path>      Decoy module for Module Overloading

  KEY
    --key-brute <bits>        Key bits the loader finds by trial; default 22, 0 = none (key stored whole)
    --key-host <name>         Runs only where COMPUTERNAME is <name>
    --key-domain <name>       Runs only where USERDNSDOMAIN is <name>
    --key-user <name>         Runs only where USERNAME is <name>
    --key-env <NAME=VALUE>    Runs only where that environment variable has that value

Examples

fritter -i payload.exe
fritter -i implant.dll -m RunMain -p "arg1 arg2"
fritter -i payload.exe -k 2 -o out.bin
fritter -i tool.exe -p "-v --all" -x 2
fritter -i Assembly.dll -c Namespace.Class -m Run -p "a b"
fritter -i script.js -f 7 -o loader.cs
fritter -i payload.exe --key-host WS-0142 --key-domain corp.example.com
fritter -i payload.exe -j C:\Windows\System32\wininet.dll
fritter -i payload.exe -l scesrv.dll

Architecture

Nested layers, each decrypting or staging the next. Technical detail is in the CHANGELOG.

  1. Entry stub: junk prefix, stack alignment and trampoline, generated per output.
  2. Decoder: polymorphic, 32-bit xorshift keystream compiled into the code; no stored key.
  3. Dispatch shim: routes each loader call through a per-function dispatcher that decrypts, runs, and wipes.
  4. Loader: decrypts and verifies the instance in place, resolves APIs by hash, runs the payload (PE mapper, CLR host, or script engine).
  5. Mask stub: one generated page; keeps the shim, loader and instance encrypted and read/write while the payload runs.
  6. Cleanup: wipes everything and leaves no page of the shellcode executable.

Known limits

  • Memory given to the shellcode must be RWX.
  • /MD payloads cannot catch MSVC C++ exceptions (/MT can).
  • Static-TLS payloads need -l <dll> (or -a).
  • -j: the loader thread's return address is in private memory.
  • Scripts: calling the host from a second thread while under the mask is not supported; WScript.Echo and WScript.CreateObject are not implemented.
  • -e 1 outputs share about 20 KB (instance unencrypted by design).
  • -x 2 ends the host even if the output is damaged; a --key-* mismatch returns quietly.

Credits

Fritter is built on the work of TheWover and Odzhan, whose original Donut project made position-independent shellcode generation accessible and practical. Their architecture, loader design, and PIC framework are the foundation everything here is built on. The PE mapping, .NET hosting, and script execution paths are largely their work, retained and respected.

License

BSD 3-Clause. See LICENSE.

도구 다운로드

인기

모두 보기 →

커뮤니티에서 가장 많이 사용되는 도구를 찾아보세요.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 궁극의 OSINT 툴킷: 조사 그래프, 신뢰도 점수 산정, 별칭 패밀리, 지도, 타임라인 및 보고서. 49개 모듈, 400개 이상 사이트, API 키 불필요.

    654
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # GhostLock 원탭 실행 앱 (CVE-2026-43499)

    490
  • 3

    ARTEX

    baarai/artex

    LLM 멀티 에이전트 자율 침투 테스트 플랫폼으로, 플래너/워커 에이전트, 자산 및 탐색 그래프, MITM 트래픽 기록, 취약점 재테스트 기능을 제공합니다.

    395
  • 4

    redforge

    cybersecurity91/redforge

    브라우저 측 레드 팀 툴킷으로, 정찰, 페이로드 생성, 자격 증명 공격, 암호화, 인코딩 및 참여 보고를 위한 102개의 오프라인 도구를 제공합니다.

    336
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI 네이티브 사이버보안을 위한 행동 체계—의도가 통제된 실행이 되고, 증거가 운영 메모리가 되며, 모든 운영이 다음 운영을 개선하는 곳.

    258
  • 6

    antifox

    antifox-ai/antifox

    정찰, 공격 표면 탐색, 익스플로잇 검증, 증거 기반 보고서 전달을 수행하는 AI 멀티 에이전트 자율 침투 테스트 플랫폼입니다.

    252

모든 도구 탐색

도구 컬렉션을 둘러보세요

모든 도구 보기 →