|This article needs additional citations for verification. (December 2013)|
Anti-tamper software (or tamper-resistant software) is software which makes it harder for an attacker to modify it. The measures involved can be passive such as obfuscation to make reverse engineering difficult or active tamper-detection techniques which aim to make a program malfunction or not operate at all if modified. It is essentially tamper resistance implemented in the software domain. It shares certain aspects but also differs from related technologies like copy protection and trusted hardware, though it is often used in combination with them. Anti-tampering technology typically makes the software somewhat larger and also has a performance impact. There are no provably secure software anti-tampering methods, thus the field is an arms race between attackers and software anti-tampering technologies.
Tampering is generally malicious, to gain control over some aspect of the software with an unauthorized modification that alters the software program code and behaviour. Examples include installing rootkits and backdoors, disabling security monitoring, subverting authentication, malicious code injection for the purposes of data theft or to achieve higher user privileges, altering control flow and communication, license code bypassing for the purpose of software piracy, code interference to extract data or algorithms and counterfeiting. Software applications are vulnerable to the effects of tampering and code changes throughout their lifecycle from development and deployment to operation and maintenance. Recent studies State of Mobile App Security and Fake Apps have shown the vulnerability of mobile apps to reverse-engineering,repackaging, republishing and susceptible to becoming malicious weapons.
Anti-tamper protection can be applied as either internally or externally to the application being protected. External anti-tampering is normally accomplished by monitoring the software to detect tampering. This type of defense is commonly expressed as malware scanners and anti-virus applications. Internal anti-tampering is used to turn an application into its own security system and is generally done with specific code within the software that will detect tampering as it happens. This type of tamper proofing defense may take the form of runtime integrity checks such as cyclic redundancy checksums, anti-debugging measures, encryption or obfuscation. Execution inside a virtual machine has become a common anti-tamper method used in recent years for commercial software; it is used for example in StarForce, Themida and SecuROM. Some anti-tamper software uses white-box cryptography, so cryptographic keys are not revealed even when cryptographic computations are being observed in complete detail in a debugger. A more recent research trend is tamper-tolerant software, which aims to correct the effects of tampering and allow the program to continue as if unmodified. A simple (and easily defeated) scheme of this kind was used in the Diablo II video game, which stored its critical player data in two copies at different memory locations and if one was modified externally, the game used the lower value.
Anti-tamper software is used in many types of software products including: embedded systems, financial applications, software for mobile devices, network-appliance systems, anti-cheating in games, military, license management software, and digital rights management (DRM) systems. Some general-purpose packages have been developed which can wrap existing code with minimal programing effort; for example the SecuROM and similar kits used in the gaming industry, though they have the downside that semi-generic attacking tools also exist to counter them. Malicious software itself can and has been observed using anti-tampering techniques, for example the Mariposa botnet.
- Arnold, Michael; Schmucker, Martin; Wolthusen, Stephen D. (1 January 2003). Techniques and Applications of Digital Watermarking and Content Protection. Artech House. p. 229. ISBN 978-1-58053-664-6.
- Jakubowski, M. H.; Saw, C. W. (N.); Venkatesan, R. (2009). "Advances in Information and Computer Security". Lecture Notes in Computer Science 5824. pp. 125–139. doi:10.1007/978-3-642-04846-3_9. ISBN 978-3-642-04845-6.
- Cappaert, J.; Preneel, B. (2010). "Proceedings of the tenth annual ACM workshop on Digital rights management - DRM '10". p. 35. doi:10.1145/1866870.1866877. ISBN 9781450300919.
- "Keeping the Pirates at Bay". Gamasutra. Retrieved 2013-12-24.
- David Chaboya, (20 Jun 2007) State of the Practice of Software Anti-Tamper. Air Force Research Labs Anti-Tamper and Software Protection Initiative (AT-SPI) Technology Office
- Guillot, Y.; Gazet, A. (2009). "Semi-automatic binary protection tampering". Journal in Computer Virology 5 (2): 119–149. doi:10.1007/s11416-009-0118-4.
- Oorschot, P. C. (2003). "Information Security". Lecture Notes in Computer Science 2851. pp. 1–13. doi:10.1007/10958513_1. ISBN 978-3-540-20176-2.
- Davis, Steven B. (2008). Protecting Games. Cengage Learning. p. 135. ISBN 1-58450-687-3.
- Keller, John. "Anti-tamper technologies seek to keep critical military systems data in the right hands - Military & Aerospace Electronics". Militaryaerospace.com. Retrieved 2013-12-24.
- Honig, Andrew (2012). Practical Malware Analysis. No Starch Press. p. 400. ISBN 978-1-59327-430-6.
- Sinha, P.; Boukhtouta, A.; Belarde, V. H.; Debbabi, M. (2010). "2010 Fifth International Conference on Risks and Security of Internet and Systems (CRiSIS)". p. 1. doi:10.1109/CRISIS.2010.5764915. ISBN 978-1-4244-8641-0.