GitHub - marcusbotacin/Self-Modifying-Code: Additional Material for the Self Modifying Code (SMC) paper

Additional Material for the Self Modifying Code (SMC) paper.

Authors

Msc. Marcus Botacin, under supervision of Prof. Dr. Marco Zanata and Prof. Dr. André Grégio -- Department of Informatics - Federal University of Paraná.

Goal

Provide a security look over architectural implications of SMC execution.

Repository Organization

  • LinuxSimulation/: A simple Linux kernel module to evaluate the cost of performing I/O.
  • Cache.Simulator: A PIN-based, flush-aware cache simulator.
  • Detector: A PEBS-based SMC detector.
  • Examples: SMC code used for evaluation.

Paper

  • The article The Self Modifying Code (SMC)-Aware Processor (SAP): A security look on architectural impact and support was published in the Journal of Computer Virology and Hacker Techniques. Check Preprint Here

Challenge

  • I included in the Challenge directory a SMC-based CTF challenge presented to me by Katharina Bogad (thanks). I think that playing with it is an interesting exercise to understand SMC better, so I decided to include it in this repository.