Talk: Sean McAllister on Self Modifying Code

November 25th, 2009

Location: Building 8, Room 345

Starts: 13:00:00

Ends: 14:00:00

Self-modifying code is exactly what it sounds like- code that modifies itself during execution. This slightly obscure topic has been is used for a variety of things in and outside of the industry. Many copy-protection schemes employ SMC in some way, due to it's confusing nature. JIT compilers also utilize this technique in order to optimize the code execution of their binaries. Many CrackMe's, programs used to hone your reverse engineering skills, employ SMC for the sake of frustrating the would be reverser.

In Sean's talk, he will give a basic overview of what SMC is, how it works and suggestions on its use. He will provide very basic and easy to understand code examples in C and Assembly (x86). Bring your debugger!