dewdrop
Find gadgets for return-oriented programming on x86
Traditional buffer-overflow attacks work by filling a data buffer with
exploit code and then redirecting execution to that buffer. As a
countermeasure, modern operating systems will forbid (by default) the
execution of writable memory regions.
Return-oriented programming [1] is an alternative exploitation strategy
that works around this restriction. The exploit payload is built by
chaining together short code sequences (\"gadgets\") which are already
present in the exploited program, and thus are allowed to be executed.
dewdrop is a Haskell library for finding useful gadgets in 32- and 64-bit
x86 ELF binaries. You can describe the desired gadget properties with a
Haskell function, and use the @Dewdrop@ module to make a customized
gadget-finder program. Or you can import @Dewdrop.Analyze@ and integrate
this functionality into a larger program.
\[1\] Shacham, Hovav. /The Geometry of Innocent Flesh on the Bone:/
/Return-into-libc without Function Calls (on the x86)/. CCS 2007,
pages 552-561.
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.1 | 2011-08-28 19:07 UTC | KeeganMcAllister | +281/−0 lines, 5 filesdep +basedep +bytestringdep +containerssetup-changed |
Dependencies of dewdrop-0.1
base >=3 && <5 4.22.0.0 → 4.22.1.0
| 2026-12-01 12:38 UTC | 4.22.1.0 | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
bytestring >=0.9 0.12.1.0 → 0.12.2.0
| 2024-12-06 21:41 UTC | 0.12.2.0 | +538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok |
| 2024-02-16 03:27 UTC | 0.12.1.0 | +3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested |
| 2023-08-16 01:53 UTC | 0.12.0.2 | +16/−2 lines, 3 files |
| 2023-08-05 00:03 UTC | 0.12.0.1 | +47/−9 lines, 3 files |
| 2023-07-07 01:45 UTC | 0.12.0.0 | +1459/−520 lines, 21 filesdep +data-array-bytePVP ok |
showing 5 of 49 versions
containers >=0.3 0.8 → 0.8.1
| 2026-10-04 06:08 UTC | 0.8.1 | +8085/−5169 lines, 39 filesdep +template-haskell-liftdep ~arraydep ~deepseqPVP: major bump suggested |
| 2025-03-01 13:03 UTC | 0.8 | +8447/−7031 lines, 37 filesnew-uploaderPVP ok |
| 2023-09-27 12:15 UTC | 0.7 | +76/−33 lines, 3 filesPVP ok |
| 2023-09-28 04:21 UTC | 0.6.8 | +644/−184 lines, 17 filesdep ~basedep ~deepseqPVP: major bump suggested |
| 2023-02-01 03:11 UTC | 0.6.7 | +783/−229 lines, 20 filesPVP: major bump suggested |
showing 5 of 43 versions
elf >=0.2 0.30 → 0.31
| 2021-10-08 03:29 UTC | 0.31 | +87/−11 lines, 2 filesPVP ok |
| 2018-12-26 19:25 UTC | 0.30 | +18/−5 lines, 4 filesbinary-addedPVP ok |
| 2018-06-19 06:28 UTC | 0.29 | +301/−104 lines, 14 filesdep +containersdep +elfdep +hspecdep ~basedep ~binarysetup-changedbinary-addedPVP ok |
| 2017-02-23 19:10 UTC | 0.28 | +30/−31 lines, 2 filesnew-uploaderPVP ok |
| 2012-12-05 03:28 UTC | 0.27 | +9/−3 lines, 2 filesPVP ok |
showing 5 of 12 versions
hdis86 >=0.2 0.1 → 0.2
| 2011-08-28 15:58 UTC | 0.2 | +304/−42 lines, 9 filesdep +QuickCheckPVP ok |
| 2011-03-06 20:47 UTC | 0.1 outside bounds | +9036/−0 lines, 30 filesdep +basedep +bytestringdep +containerssetup-changed |
syb >=0.1 0.7.3 → 0.7.4
| 2026-03-07 17:18 UTC | 0.7.4 | +27/−18 lines, 4 filesPVP ok |
| 2025-08-21 20:31 UTC | 0.7.3 | +176/−154 lines, 13 filesdep ~basePVP: major bump suggested |
| 2023-07-30 17:25 UTC | 0.7.2.4 | +434/−64 lines, 7 filesPVP: major bump suggested |
| 2023-03-18 23:19 UTC | 0.7.2.3 | +50/−36 lines, 4 filesdep ~mtlPVP ok |
| 2022-09-17 15:09 UTC | 0.7.2.2 | +108/−79 lines, 36 filesPVP ok |
showing 5 of 33 versions
Reverse dependencies
1 packages depend on dewdrop