REpsych: Psychological warfare in reverse engineering
compiler that deliberately messes with the control flow so that, if disassembled, common debuggers will draw symbols like skulls or threats Comments
REpsych is a proof-of-concept tool developed by Christopher Domas (@xoreaxeaxeax) that demonstrates the generation of images through a program's control flow graph (CFG). This innovative approach showcases the potential for creating functional programs based on visual input, providing a unique perspective on the relationship between images and computer code.
The toolset, available on GitHub, is designed to work seamlessly with IDA Pro reverse engineering tool and several other CFG viewers, allowing users to generate images from functioning programs and vice versa. To achieve the best results, it is recommended to use small source images (not exceeding 100x100 pixels) and convert images of text to a 2 BPP black and white bitmap before processing.
The technique used by REpsych is further explained in detail during Christopher Domas' DEF CON presentation, which is also accessible online.
Written by urgent.news from Lobsters's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.