Egg hunters
In the buffer overflow, we hijack the execution flow and redirect to a CPU register that contains part of our buffer and the instructions in that buffer will be executed. But, if the buffer size is very small we can't inject any payload. So we can't exploit the vulnerability. In such cases, we have to check two possible options. First check if the location of the buffer, before overwriting the EIP register, is located in the memory. The other option is a buffer segment in a different region of the memory and nearby so that we can jump to the offset.
An egg hunter is created with a set of instructions that are translated to opcode. So, the egg hunters can be used to search the entire memory range, including the stack and heap, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access