ErezAmihud / dearmor

This is a repo to deobfuscate pyarmor files
Apache License 2.0
24 stars 7 forks source link

Just some questions #16

Closed Hazed2004 closed 11 months ago

Hazed2004 commented 1 year ago

It injects into the process and call functions to deobfuscate it right, does it follow only the control flow of the program or the whole? Like if there is if else statement and the condition is false, does it also deobfuscate the code in true condition block?

ErezAmihud commented 11 months ago

Yes it does. Pyarmor obfuscate the whole function, once the function is called there is a payload that deobfuscate it, and at the end of the function there is code that obfuscate it again. What dearmor does is override the code at the end that obfuscate the function again.