Sinisterly
python crypter help - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Python (https://sinister.ly/Forum-Python)
+--- Thread: python crypter help (/Thread-python-crypter-help)

Pages: 1 2


python crypter help - tmp001 - 11-05-2017

hello,
I would like some help, I'm planning to make a crypter a python but what version should I take ? (for now I'm planning for 3.3)
but what about stealth, I will be able to inject the exe created by pyintaller etc in memory ? or it need to access ressources ?
I think I will go with ctypes but is this a reasonable choice ?

i will be able to fud the script with command line on linux yes or no?

thank you guys


RE: python crypter help - 0x6f776c - 11-07-2017

(11-05-2017, 01:47 AM)tmp001 Wrote: hello,
I would like some help, I'm planning to make a crypter a python but what  version should I take ? (for now I'm planning for 3.3)
but what about stealth, I will be able to inject the exe created by pyintaller etc in memory ? or it need to access ressources ?
I think I will go with ctypes but is this a reasonable choice ?

i will be able to fud the script with command line on linux yes or no?

thank you guys

when does it come to RAT and crypter , python is not the good choice ,simply because the size of the executable very big Confused , use C is good and you could easily access the memory .
if you still insist using python here is a code you can use it as start of your crypter using ctype http://www.debasish.in/2012/04/execute-shellcode-using-python.html


RE: python crypter help - Bish0pQ - 11-08-2017

Most crypters I have are either coded in C or C++, so I'd recommend using that. I don't have a single python crypter, but of course you can try.


RE: python crypter help - BadSnow - 11-26-2017

PE Packer
https://github.com/DimitriFourny/resources/tree/master/pe_armor


RE: python crypter help - CodePusher - 08-10-2018

I wrote a crypter in Python in about 20 minutes, and rolled it up with PyInstaller, just to loop through the files with os.walk. I just have the script read from a list of target extensions, and if [file] == [target extension] then change the file name to the encrypted string. Runs fast, and just uses some base libraries. The more complicated part is getting the GUI to pop-up and help the victim make their payment. We are talking about "ransomware" when we say "crypter" right?


RE: python crypter help - mroll - 08-10-2018


Read about commandline options for PyInstaller. You can do this:

Code:
pyinstaller --onefile –noconsole –key=SOMESECRETKEY yourcode.py

To compile without upx use --no-upx.

You can use tkinter for a quick and dirty gui. Keep in mind that encrypted binaries are likely to raise suspicion of many AVs.


RE: python crypter help - darkninja1980 - 09-19-2018

great post to read. Smile thank you OP for making this post.


RE: python crypter help - mothered - 09-20-2018

This Is the OP's only post and hasn't been active since the thread's creation date, which Is over 10 months old.

It's safe to assume that his/her request Is fulfilled.


RE: python crypter help - darkninja1980 - 09-20-2018

(09-20-2018, 06:49 AM)mothered Wrote: This Is the OP's only post and hasn't been active since the thread's creation date, which Is over 10 months old.

It's safe to assume that his/her request Is fulfilled.

understand. but I was thinking about making a similar thread too this one..


RE: python crypter help - Cr3aTor - 09-20-2018

(09-20-2018, 08:18 AM)darkninja1980 Wrote:
(09-20-2018, 06:49 AM)mothered Wrote: This Is the OP's only post and hasn't been active since the thread's creation date, which Is over 10 months old.

It's safe to assume that his/her request Is fulfilled.

understand. but I was thinking about making a similar thread too this one..

If you have experience with crypters (how they work, new algorithms to make it more efficient, etc) you can expand the knowledge of everybody around here that's not so familiar with this. Even the ones that used/created crypters can learn by maybe showing a new method they didn't know of.
Anyway, I was planning to make a crypter tutorial in C/C++ since it's a low-level language and this comes in handy for crypters.