Reading files the hard way - Part 2 (x86 asm, linux kernel)
Reading files the hard way: Part 2
Looking at that latest mental model, it’s.. a bit suspicious that every program ends up calling the same set of functions. It’s almost like something different...
Consuming Ethernet frames with the nom crate
Making our own ping: Part 9
Now that we’ve found the best way to find the “default network interface”… what can we do with that interface?
Well, listen for network traffic of...
What's in a Linux executable?
Making our own executable packer: Part 1
Executables have been fascinating to me ever since I discovered, as a kid, that they were just files. If you renamed a
.exeto something else, you could open it in notepad! And...
Running an executable without exec
Making our own executable packer: Part 2
In part 1, we’ve looked at three executables:
sample, an assembly program that prints “hi there” using the
entry_point, a C program that...
Making our own executable packer: Part 3
In the last article, we found where code was hiding in our
samples/helloexecutable, by disassembling the whole file and then looking for syscalls.
Later on, we learned how to...