Normalizing Metamorphic Malware Using Term Rewriting
Authors:
- 1 September 2006
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 75-84
Abstract
Metamorphic malware - including certain viruses and worms - rewrite their code during propagation. This paper presents a method for normalizing multiple variants of metamorphic programs that perform their transformations using finite sets of instruction-sequence substitutions. The paper shows that the problem of constructing a normalizer can, in specific contexts, be formalized as a term rewriting problem. A general method is proposed for constructing normalizers. It involves modeling the metamorphic program's transformations as rewrite rules, and then modifying these rules to create a normalizing rule set. Casting the problem in terms of term rewriting exposes key challenges for constructing effective normalizers. In cases where the challenges cannot be met, approximations are proposed. The normalizer construction method is applied in a case study involving the virus called"W32.Evolt". The results demonstrate that both the overall approach and the approximation schemes may have practical use on realistic malware, and may thus have the potential to improve signature-based malware scanners.Keywords
This publication has 8 references indexed in Scilit:
- Semantics-aware malware detection2005
- TXL - A Language for Programming Language Tools and ApplicationsElectronic Notes in Theoretical Computer Science, 2004
- Imposing order on program statements to assist anti-virus scanners2004
- A Survey of Rewriting Strategies in Program Transformation SystemsElectronic Notes in Theoretical Computer Science, 2001
- Term Rewriting and All That1998
- Computer virus-antivirus coevolutionCommunications of the ACM, 1997
- Computational aspects of computer virusesComputers & Security, 1989
- Simple Word Problems in Universal Algebras1983