Polymorphic code

In computing, polymorphic code is code that uses a polymorphic engine to mutate while keeping the original algorithm intact - that is, the code changes itself every time it runs, but the function of the code (its semantics) will not change at all. For example, the simple math expressions 3+1 and 6-2 both achieve the same result, yet run with different machine code in a CPU. This technique is sometimes used by computer viruses, shellcodes and computer worms to hide their presence.

Comment
enIn computing, polymorphic code is code that uses a polymorphic engine to mutate while keeping the original algorithm intact - that is, the code changes itself every time it runs, but the function of the code (its semantics) will not change at all. For example, the simple math expressions 3+1 and 6-2 both achieve the same result, yet run with different machine code in a CPU. This technique is sometimes used by computer viruses, shellcodes and computer worms to hide their presence.
DifferentFrom
Polymorphism (computer science)
Has abstract
enIn computing, polymorphic code is code that uses a polymorphic engine to mutate while keeping the original algorithm intact - that is, the code changes itself every time it runs, but the function of the code (its semantics) will not change at all. For example, the simple math expressions 3+1 and 6-2 both achieve the same result, yet run with different machine code in a CPU. This technique is sometimes used by computer viruses, shellcodes and computer worms to hide their presence. Encryption is the most common method to hide code. With encryption, the main body of the code (also called its payload) is encrypted and will appear meaningless. For the code to function as before, a decryption function is added to the code. When the code is executed, this function reads the payload and decrypts it before executing it in turn. Encryption alone is not polymorphism. To gain polymorphic behavior, the encryptor/decryptor pair is mutated with each copy of the code. This allows different versions of some code which all function the same.
Hypernym
Code
Is primary topic of
Polymorphic code
Label
enPolymorphic code
Link from a Wikipage to an external page
www.spinellis.gr/pubs/jrnl/2002-ieeetit-npvirus/html/npvirus.html
Link from a Wikipage to another Wikipage
1260 (computer virus)
Algorithm
Alphanumeric shellcode
Anti-virus software
Category:Types of malware
Central processing unit
Computer network
Computer virus
Computer worm
Dark Avenger
Encryption
Intrusion detection system
Machine code
Malware
Metamorphic code
Obfuscated code
Oligomorphic code
Payload (computing)
Polymorphic engine
Programmer
Sandbox (computer security)
Security cracking
Self-modifying code
Semantics
Shellcode
Software cracking
Timeline of notable computer viruses and worms
Virut
Xor
SameAs
55nDN
Kod polimorf
Kod polimorficzny
m.01fzpj
Polimorfismo (malware)
Polimorf kód
Polymorfisk kod
Polymorfný vírus
Polymorphic code
Polymorphic code
Q950981
Virus polimorfo
Virus polymorphe
Virus đa hình
Полиморфизм компьютерных вирусов
Полиморфик
Поліморфний код
کد چندریخت
ポリモルフィックコード
다형성 코드
Subject
Category:Types of malware
WasDerivedFrom
Polymorphic code?oldid=1112141127&ns=0
WikiPageLength
5764
Wikipage page ID
218447
Wikipage revision ID
1112141127
WikiPageUsesTemplate
Template:Cite journal
Template:Distinguish
Template:Refbegin
Template:Refend
Template:Refimprove
Template:Short description