Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.93 KB

README.md

File metadata and controls

41 lines (33 loc) · 1.93 KB

DISCLIAMER!! THIS SCRIPT IS FOR EDUCATIONAL PURPOSES ONLY!. DON'T USE ON UNAUTHORIZED SYSTEMS .

a3s_krypta

Dynamic AES cypter, for .bin files --> Generates '.cpp ' file. /* { was created for use with HAVOC C2 } */

To run the script; --> make sure to have the scripts(a3s_krypta.py & loda.cpp) in the /tmp directory

The loda.cpp file is needed, so make sure to have it.

run command to krypt .bin file

$ python3 a3s_krypta.py " ~/path-to/.bin "

========================================================================================= If you are hit with an error, like this

Exception has occurred: ModuleNotFoundError No module named 'Crypto' File "C:\Users\x86h4ck3r\Desktop\sandbox\scripts\a3s_krypta.py", line 2, in from Crypto.Cipher import AES ModuleNotFoundError: No module named 'Crypto'

Do -->

 $ pip install pycryptodome

 $ pip install cryptography

run command to krypt .bin file

$ python3 a3s_krypta.py " ~/path-to/.bin "

In the /tmp directory, to convert the generated new.loda.cpp file to .dll,

run command with a c++ complier ' x86_64-w64-mingw32-g++ ' in the /tmp directory

$ x86_64-w64-mingw32-g++ new.loda.cpp --shared --static -o ProService.dll  

Ignore the error, run the command again with the argument " -fpermissive "

          $ x86_64-w64-mingw32-g++ new.loda.cpp --shared --static -o custom_file_name.dll -fpermissive

Your output .dll will be in the /tmp directory.

ENJOY :)