×

Detecting return-oriented programming payloads by evaluating data for a gadget address space address and determining whether operations associated with instructions beginning at the address indicate a return-oriented programming payload

  • US 10,192,049 B2
  • Filed: 11/11/2016
  • Issued: 01/29/2019
  • Est. Priority Date: 09/15/2011
  • Status: Active Grant
First Claim
Patent Images

1. A system for detecting the presence of a return-oriented programming (ROP) payload in data, comprising:

  • a hardware processor that;

    identifies a potential gadget address space;

    determines if a piece of the data corresponds to an address of the potential gadget address space; and

    in response to determining that the piece of the data corresponds to an address of the potential gadget address space;

    for each instruction of a plurality of instructions beginning at the address;

    attempts to execute the instruction;

    determines whether at least one of;

    that the instruction has an invalid execution address;

    that the instruction is invalid; and

    that the instruction is privileged;

    counts the instruction as part of an instruction count; and

    determines whether the instruction count meets at least one threshold;

    in response to determining that the instruction count meets the at least one threshold, increases a gadget count; and

    indicates that an ROP payload is present in the data in response to the gadget count meeting a threshold greater than one.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×