ComputingComputer EngineeringComputer ScienceData StructuresOperating SystemsProgramming LanguagesBinary ExploitationData-flow AnalysisExploit DevelopmentInterpreter DesignSoftware Vulnerability DiscoveryStatic Vulnerability AnalysisAutomated Exploit GenerationExploit DetectionExploit PrimitivesExploit Primitives IdentificationHeap AnalysisHeap ExploitationHeap OverflowsInterpreters
We present the first approach to automatic exploit generation for heap overflows in interpreters. It is also the first approach to exploit generation in any class of program that integrates a solution for automatic heap layout manipulation. At the core of the approach is a novel method for discovering exploit primitives---inputs to the target program that result in a sensitive operation, such as a function call or a memory write, utilizing attacker-injected data. To produce an exploit primitive from a heap overflow vulnerability, one has to discover a target data structure to corrupt, ensure an instance of that data structure is adjacent to the source of the overflow on the heap, and ensure that the post-overflow corrupted data is used in a manner desired by the attacker. Our system addresses all three tasks in an automatic, greybox, and modular manner. Our implementation is called GOLLUM, and we demonstrate its capabilities by producing exploits from 10 unique vulnerabilities in the PHP and Python interpreters, 5 of which do not have existing public exploits.
7
Genetic algorithms in search, optimization, and machine learning
Choice Reviews Online · 1989 · 49.3K citations
Unleashing Mayhem on Binary Code
Sang Kil, Thanassis Avgerinos, Alexandre Rebert et al. · 2012 · 521 citations
Kyriakos K. Ispoglou, Bader AlBassam, Trent Jaeger et al. · 2018 · 86 citations · Full text
Yan Wang, Chao Zhang, Xiaobo Xiang et al. · 2018 · 64 citations
Modular Synthesis of Heap Exploits
Dusan Repel, Johannes Kinder, Lorenzo Cavallaro · 2017 · 32 citations · Full text