packer-tutorial
packer-tutorial copied to clipboard
Files for the packer tutorial
[Virus Total](https://www.virustotal.com/gui/file/cc48181c0d7c9101d40278ba819144ac428cd676439c63fab1cc8416a1a14445/behavior) I used Step 5 to pack a binary for a CTF. It is a program that players have to debug to find the flag. The outputted binary flags...
https://github.com/jeremybeaume/packer-tutorial/blob/b2e90acac3f6376c37f872321ac1ae897af2069a/part2/main.c#L131 According to the msdn : "If this parameter is an ordinal value, it must be in the low-order word; the high-order word must be zero.", cf. https://docs.microsoft.com/fr-fr/windows/win32/api/libloaderapi/nf-libloaderapi-getprocaddress This line...
https://github.com/jeremybeaume/packer-tutorial/blob/b2e90acac3f6376c37f872321ac1ae897af2069a/part3/packer.py#L49-L51 This part of the code raises this error: "AttributeError: module lief._lief.PE has no attribute 'SECTION_CHARACTERISTICS'". I fixed it with the following code and it works. packed_section.characteristics = ( 0x40000000...