News for hackers. Stuff that matters.
Re:Making our own executable packer, part 13, Thread-local s... by chrisseaton on Thursday June 25, 2020 @04:42PM (#23645451)
I don’t understand what a ‘packer’ is - is it a linker?
Re:Making our own executable packer, part 13, Thread-local s... by rustybolt on Thursday June 25, 2020 @04:52PM (#23645562)
From what I understand, it's something that 'packs' an application, either to preserve space or to obfuscate it (making it a little bit harder to reverse engineer it since you have to peek at the extracted contents in the memory instead of at the file contents).

So when you would run a packed application, there application would essentially start to unpack an encrypted/compressed blob of memory, and then jump to it once it's unpacked.

Re:Making our own executable packer, part 13, Thread-local s... by killercup on Thursday June 25, 2020 @05:22PM (#23645851)
> I don’t understand what a ‘packer’ is

You've found the right series of articles then!

Re:Making our own executable packer, part 13, Thread-local s... by chrisseaton on Thursday June 25, 2020 @05:25PM (#23645897)
I read it - I did't find an explanation of what it was that he was building, just how he was building it.
Re:Making our own executable packer, part 13, Thread-local s... by saagarjha on Thursday June 25, 2020 @05:29PM (#23645945)
Think of it of decompression software bundled along with a compressed version of the program you actually want to run. So execution starts in the uncompression part, it unzips all the code into memory, and then starts running the program you actually cared about.
Re:Making our own executable packer, part 13, Thread-local s... by abiogenesis on Thursday June 25, 2020 @08:09PM (#23647293)
See https://en.wikipedia.org/wiki/Executable_compression . They have been around since forever.
Re:Making our own executable packer, part 13, Thread-local s... by icedchai on Friday June 26, 2020 @12:19PM (#23653699)
Packers were common in the 80's and 90's to save disk space. I mostly remember them from Amiga warez and demos.
Re:Making our own executable packer, part 13, Thread-local s... by haecceity on Thursday June 25, 2020 @04:58PM (#23645628)
It compresses executables.