Antivirus bypass using binary patching
There are other ways to bypass antivirus software than using newly written code. We can also use a compiled binary file.
There are a few antivirus software bypass techniques that can be performed with already compiled code that is ready to run, even if it is detected as malware by antivirus engines.
We have used two sub-techniques while performing research toward writing this book:
- Debugging / reverse engineering
- Timestomping
Let's look at these techniques in detail.
Introduction to debugging / reverse engineering
In order to perform reverse engineering on a compiled file in an Intel x86 environment, we must first understand the x86 assembly architecture.
Assembly language was developed to replace machine code and let developers create programs more easily.
Assembly is considered a low-level language, and as such, it has direct access to the computer's hardware, such as the CPU. Using assembly, the...