Towards Automated Augmentation and Instrumentation of Legacy Cryptographic Executables: Extended Version
Karim Eldefrawy, Michael Locasto, Norrathep Rattanavipanon, and Hassen, Saidi

TL;DR
This paper presents ALICE, a toolchain that automatically detects, analyzes, and replaces weak cryptographic primitives in legacy binaries without source code, improving security while maintaining functionality and minimal overhead.
Contribution
ALICE is the first automated system capable of identifying and replacing insecure cryptographic primitives in binaries without source code or debugging symbols.
Findings
Successfully detects weak hash functions in large binaries
Replaces insecure primitives while preserving original functionality
Minimal runtime overhead observed in experimental evaluation
Abstract
Implementation flaws in cryptographic libraries, design flaws in underlying cryptographic primitives, and weaknesses in protocols using both, can all lead to exploitable vulnerabilities in software. Manually fixing such issues is challenging and resource consuming, especially when maintaining legacy software that contains broken or outdated cryptography, and for which source code may not be available. While there is existing work on identifying cryptographic primitives (often in the context of malware analysis), none of this prior work has focused on replacing such primitives with stronger (or more secure ones) after they have been identified. This paper explores feasibility of designing and implementing a toolchain for Augmentation and Legacy-software Instrumentation of Cryptographic Executables (ALICE). The key features of ALICE are: (i) automatically detecting and extracting…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Malware Detection Techniques · Security and Verification in Computing · Cryptographic Implementations and Security
