Back to search

Monterey, CA; Naval Postgraduate School

DEFENSIVE BINARY CODE INSTRUMENTATION TO PROTECT AGAINST BUFFER OVERFLOW ATTACKS

Abstract

dc:description.abstract

Buffer overflow and heap overflow injection attacks have been studied for some time. Recent techniques to prevent execution of payloads inserted into memory have been successful by using stack canaries, non-executable stacks, and address space layout randomization (ASLR). Attackers now use a technique called return oriented programming to maliciously execute code without ever inserting such a payload into memory. They do so by identifying binary snippets in the original program that constitute a malicious procedure. There have been patches in place to help decrease the susceptibility to this type of attack, but what is needed is a permanent fix. We propose such a solution, applied directly to the compiled binary, consisting of a masking function to obfuscate the return address, an unmasking function (i.e., reversing the previous), and instrumenting code to perform these functions seamlessly. We implemented a proof of concept of our solution that prevents an unexpected address jump via binary return address obfuscation.

Degree

thesis:*
Name thesis:degree_name
Master of Science in Computer Science
Level thesis:degree_level
Masters
Discipline thesis:degree_discipline
Computer Science
Department dc:contributor.department
Computer Science (CS)
Grantor dc:publisher
Monterey, CA; Naval Postgraduate School
Year dc:date.issued
2019

Author and committee

dc:creator, dc:contributor.*
Authors dc:creator
  • Rogers, Alexis L.
  • Sowers, Ryan
Advisor dc:contributor.advisor
  • Drusinsky, Doron
Committee member dc:contributor.committeemember
  • Michael, James B.

Rights

dc:rights
Statement dc:rights
  • Copyright is reserved by the copyright owner.
  • Approved for public release; distribution is unlimited.

Identifiers

dc:identifier.*
Thesis Thesis Identifier
32659

Chain of custody

source
Harvested from
Naval Postgraduate School
Base URL
calhoun.nps.edu/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Rogers, Alexis L.; Sowers, Ryan. DEFENSIVE BINARY CODE INSTRUMENTATION TO PROTECT AGAINST BUFFER OVERFLOW ATTACKS. Masters thesis, Monterey, CA; Naval Postgraduate School, 2019. https://hdl.handle.net/10945/63497