upx-recovery-tool is a script that aims to repair the most common modifications done by malware creators to ELF UPX-compressed files done to prevent their automatic unpacking with a standard UPX tool.
This tool detects and repairs the following common modifications:
l_magic
field of thel_info
structure (UPX!
magic value)p_filesize
andp_blocksize
fields of thep_info
structure- Overlay bytes
The script requires the following libraries listed on requirements.txt
: