Giter Site home page Giter Site logo

atompepacker's Introduction

AtomPePacker : A Highly Capable Pe Packer


Features :

  • the packer only support x64 exe's (altho planning to make x32 version but idk when it'll be done)
  • no crt imports
  • api hashing library ( custom getmodulehandle and getprocaddress )
  • direct syscalls ( for the part that i do the ntdll unhooking )
  • ntdll unhooking from \KnownDlls\
  • support tls callbacks
  • support reallocation in case of needed ( the image is mapped to the preferable address first )
  • no rwx section allocation
  • support exception handling
  • uses elzma compression algorithm to do the compression (reducing the final file size)
  • its local run pe, so it support arguments
  • fake imported functions to add more friendly look to the iat

Builder :

  • you can download from here or compile the code manually
  • supports only 1 input: x64 native exe files.
  • supports 3 outputs:
    • dll :
      • Example "rundll32.exe DllPP64.dll Atom" (Using "Atom" is a must to run your payload - this is the name if the exported function in the dll)
      • can be hijacked / injected into other process
    • exe :
      • this output is the default (with console - for binaries like mimikatz)
    • no console exe
      • for binaries like a c2 agent

Usage :


[#] Usage  : PePacker.exe <Input x64 exe> <*Output*> <*Optional Features*>
[#] Output :
              -d : Output The Packed Pe As A x64 Dll File
              -e : Output The Packed Pe As A x64 Exe File (Default)
[#] Features :
              -h : Hide The Console - /SUBSYSTEM:WINDOWS



Example:


PePacker.exe mimikatz.exe			: generate exe packed file
PePacker.exe mimikatz.exe -e			: generate exe packed file
PePacker.exe mimikatz.exe -e	-h		: generate hidden exe packed file
PePacker.exe mimikatz.exe -d			: generate dll output


Demo - Builder :

Screenshot 2022-10-12 073947 Screenshot 2022-10-12 074128



Demo - Profit :

photo_2022-10-12_07-08-33 photo_2022-10-12_07-08-38



Thanks for :

TODO :

  • x32 support
  • reduce the entropy

atompepacker's People

Contributors

nul0x4c avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.