• DocumentCode
    1785273
  • Title

    Automatic construction of printable return-oriented programming payload

  • Author

    Wenbiao Ding ; Xiao Xing ; Ping Chen ; Zhi Xin ; Bing Mao

  • Author_Institution
    Dept. of Comput. Sci. & Technol., Nanjing Univ., Nanjing, China
  • fYear
    2014
  • fDate
    28-30 Oct. 2014
  • Firstpage
    18
  • Lastpage
    25
  • Abstract
    Return-oriented programming is a kind of codereuse technique for attackers, which is very effective to bypass the DEP defense. However, the instruction snippet (we call it gadget) is often unprintable 1. This shortcoming can limit the ROP attack to be deployed to practice, since non-ASCII scanning can detect such ROP payload. In this paper, we present a novel method that only uses the printable gadgets, as such it can circumvent the non-ASCII detection. However, this method is non-trival because printable gadgets count for about 10 percents of all the gadgets we can find in existing code(e.g., library or program code). Additionally, not only the gadget address but also data should all be printable in our ROP payload. To construct the printable ROP payload, we propose reverse derivation method to transform original shellcode to printable ROP payload. The transformation is driven by state machines, which indicate the status of data flows. Experimental results show that our method can construct the printable ROP payload that has the same functionality as the real-world malicious shellcode, in addition, the construction process is totally automatic.
  • Keywords
    finite state machines; invasive software; software reusability; source code (software); DEP defense; ROP attack; automatic construction; code-reuse technique; data flow; instruction snippet; library code; nonASCII detection; nonASCII scanning; nontrival method; printable ROP payload detection; printable gadgets; printable return-oriented programming payload; program code; real-world malicious shellcode; reverse derivation method; state machines; Computer architecture; Libraries; Payloads; Programming; Registers; Semantics; Software; automatically construct; printable ROP; reverse derivation; semantic tree; state machine;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Malicious and Unwanted Software: The Americas (MALWARE), 2014 9th International Conference on
  • Conference_Location
    Fajardo, PR
  • Print_ISBN
    978-1-4799-7328-6
  • Type

    conf

  • DOI
    10.1109/MALWARE.2014.6999408
  • Filename
    6999408