-
Restore Section Header Names
- The section header names had been erased.
- Rename the relevant sections to
UPX0
andUPX1
to match the original UPX convention.
-
Restore the
UPX!
Magic- The
UPX!
magic signature was zeroed out. - It is normally located 32 bytes before the start of the actual
UPX1
section data.
- The
- Use a hex editor to write
UPX!
at this location.