ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Tools

PYARMOR REVERSING METHOD

Submitted by Ethereum at 18-09-2022, 07:05 PM


PYARMOR REVERSING METHOD 77.769 Views
Ethereum's Avatar'
Ethereum
Offline
#1
HOW TO REVERSE PYARMOR
ANYONE THAT DOESN'T LIKE WILL BE REPORTED FOR LEECHING!

[ Hidden Content! ]
1. Use pyinstxtractor.py to extract the executable in Python 3.7
2. Using the extracted files, create the following directory structure
.
|-- martisor.pyc
`-- pytransform
|-- __init__.py
|-- _pytransform.dll
|-- license.lic
`-- pytransform.key

1 directory, 5 filesFor running on Linux, you need _pytransform.so downloadable from https://pyarmor.dashingsoft.com/platforms.html

3. Install psutil using pip (Required for pyarmor). From now on, you can just run (your program).pyc.
4. pyarmor encrypts the code objects on disk and they are only decrypted at runtime just before they are executed. The entire logic is implemented in _pytransform.dll. There are anti-debugging/timing checks to prevent us from using a debugger to dump code objects from memory. But there's no need to use a debugger at all when CPython itself is open source. [Image: default_smile.png]
5. Compile Python 3.7 from source. Modify the _PyEval_EvalFrameDefault function such that it dumps the code object to disk. By doing so we do not need to bother about all the anti-debugging and encrypted stuff. This is because pyarmor decrypts the code object in memory before it hands it to the Python VM for execution.
6. Run strings on the dumped code  object. We get many base64 strings. Like this one: CkdFTkVSQVRFLUtFWS0wWDcyR09ELVVOUEFDS01FCg==
7. Base64 decode and profit!



2
Reply


Messages In This Thread
PYARMOR REVERSING METHOD - by Ethereum - 18-09-2022, 07:05 PM
RE: PYARMOR REVERSING METHOD - by sedloifperson - 30-10-2022, 12:50 PM
RE: PYARMOR REVERSING METHOD - by Nander - 22-11-2022, 07:16 PM
RE: PYARMOR REVERSING METHOD - by member2023 - 04-02-2023, 01:47 PM
RE: PYARMOR REVERSING METHOD - by dragan88 - 22-02-2023, 11:29 PM
RE: PYARMOR REVERSING METHOD - by Toegoer - 06-03-2023, 07:57 PM
RE: PYARMOR REVERSING METHOD - by dwadwdwadwad - 10-03-2023, 09:35 AM
RE: PYARMOR REVERSING METHOD - by lamlucius8 - 09-05-2023, 07:48 PM
RE: PYARMOR REVERSING METHOD - by DcryptGuy - 29-05-2023, 03:46 AM
RE: PYARMOR REVERSING METHOD - by Haphephobic - 30-06-2023, 12:25 PM
RE: PYARMOR REVERSING METHOD - by qfsboy - 03-07-2023, 09:22 PM
RE: PYARMOR REVERSING METHOD - by itk20general - 27-07-2023, 05:57 AM
RE: PYARMOR REVERSING METHOD - by PhantomJexter - 07-08-2023, 05:02 PM
RE: PYARMOR REVERSING METHOD - by iamhjr9883 - 14-09-2023, 04:56 PM
RE: PYARMOR REVERSING METHOD - by farouk869 - 30-09-2023, 02:41 PM
RE: PYARMOR REVERSING METHOD - by diktator - 07-10-2023, 02:24 AM
RE: PYARMOR REVERSING METHOD - by Loys - 08-10-2023, 06:05 PM
RE: PYARMOR REVERSING METHOD - by Ayush1s - 11-10-2023, 11:28 AM
RE: PYARMOR REVERSING METHOD - by zepzy - 27-10-2023, 11:06 AM
RE: PYARMOR REVERSING METHOD - by Aliyan123213213 - 30-10-2023, 06:17 PM
RE: PYARMOR REVERSING METHOD - by peetu - 20-11-2023, 04:15 PM
RE: PYARMOR REVERSING METHOD - by coldboy89 - 15-12-2023, 02:24 AM
RE: PYARMOR REVERSING METHOD - by ijfiesod - 19-12-2023, 03:24 PM
RE: PYARMOR REVERSING METHOD - by kevinsocute - 30-12-2023, 04:38 PM
RE: PYARMOR REVERSING METHOD - by viruseswhere - 18-02-2024, 08:57 AM
RE: PYARMOR REVERSING METHOD - by vlctyq8 - 25-02-2024, 07:14 PM
RE: PYARMOR REVERSING METHOD - by Shaff - 03-03-2024, 07:08 AM
RE: PYARMOR REVERSING METHOD - by suedama13 - 12-03-2024, 10:27 PM
RE: PYARMOR REVERSING METHOD - by Kokowaaw - 17-03-2024, 06:25 PM
RE: PYARMOR REVERSING METHOD - by disha1996 - 18-04-2024, 07:36 AM
RE: PYARMOR REVERSING METHOD - by B00G3YM4N - 19-04-2024, 02:38 AM
RE: PYARMOR REVERSING METHOD - by javleiv - 31-05-2024, 08:16 AM
RE: PYARMOR REVERSING METHOD - by Kaguya01525 - 19-08-2024, 10:02 PM
RE: PYARMOR REVERSING METHOD - by NoOneOfInterest - 27-08-2024, 08:50 AM
RE: PYARMOR REVERSING METHOD - by kinggod667 - 03-09-2024, 03:38 AM
RE: PYARMOR REVERSING METHOD - by WinifredBlake - 12-09-2024, 03:44 PM
RE: PYARMOR REVERSING METHOD - by kratos91169 - 01-10-2024, 01:19 PM
RE: PYARMOR REVERSING METHOD - by cryart - 01-11-2024, 01:21 PM
RE: PYARMOR REVERSING METHOD - by broski77 - 07-11-2024, 06:27 PM
RE: PYARMOR REVERSING METHOD - by doxtv6 - 20-12-2024, 12:26 AM
RE: PYARMOR REVERSING METHOD - by mettidev - 21-12-2024, 12:06 AM
RE: PYARMOR REVERSING METHOD - by solidw - 31-01-2025, 04:41 PM
RE: PYARMOR REVERSING METHOD - by dwa3r32423 - 31-01-2025, 11:40 PM


Users browsing this thread: 1 Guest(s)