Title
Transforming Malicious Code to ROP Gadgets for Antivirus Evasion
Abstract
This study advances research in offensive technology by proposing return oriented programming (ROP) as a means to achieve code obfuscation. The key inspiration is that ROP's unique structure poses various challenges to malware analysis compared to traditional shellcode inspection and detection. The proposed ROP-based attack vector provides two unique features: (i) the ability to automatically analyse and generate equivalent ROP chains for a given code, and (ii) the ability to reuse legitimate code found in an executable in the form of ROP gadgets. To this end, a software tool named ROPInjector was developed which, given any piece of shellcode and any legitimate executable file, it transforms the shellcode to its ROP equivalent re-using the available code in the executable and finally patches the ROP chain infecting the executable. After trying various combinations of evasion techniques, the results show that ROPInjector can evade nearly and completely all antivirus software employed in the online VirusTotal service, making ROP an effective ingredient for code obfuscation. This attack vector poses a serious threat which malicious actors can take advantage to perform cyber-attack campaigns.
Year
DOI
Venue
2019
10.1049/iet-ifs.2018.5386
Iet Information Security
Keywords
Field
DocType
invasive software
Software tool,Computer security,Computer science,Reuse,Computer network,Return-oriented programming,Software,Obfuscation (software),Shellcode,Malware analysis,Executable
Journal
Volume
Issue
ISSN
13
6
1751-8709
Citations 
PageRank 
References 
0
0.34
0
Authors
4
Name
Order
Citations
PageRank
Christoforos Ntantogian18613.03
Giorgos Poulios220.78
G. Kambourakis318510.31
Christos Xenakis422128.00