← Back to section · Security Risk & Assessment
Residue of Deprecated Algorithms: Why MD5, SHA-1 and 3DES Refuse to Die
Publicly broken algorithms rarely disappear: they retreat into internal systems, checksums, legacy protocols and archived data. Governing the residue means distinguishing what is still load-bearing from what is merely lying around, and giving each class an exit path.
Being Broken Is the Start of Retirement, Not the End
After the cryptographic community declares an algorithm “dead”, its actual deployment volume typically takes many more years to fall. MD5 was still used by the Flame malware to forge a Microsoft code-signing certificate after its collision attacks were public; SHA-1 continued to perform signing duties in large numbers of internal systems and legacy devices after a practical collision sample appeared in 2017; 3DES remained a compatibility option in many payment terminals and industrial protocols after its birthday-bound attack was demonstrated. These are not individual organisations’ negligence but the general law of algorithm retirement: the clocks of standards, products and stored data do not run in sync.
This matters for risk assessment. Deprecated-algorithm residue is not a question of “whether it exists” but of “where, and in what capacity”. The assessment task is to find each instance and grade it, rather than assuming compliance baselines have already made it vanish.
Four Typical Forms of Residue
The first is load-bearing residue: the algorithm still performs a real security function — MD5 for password hashing, SHA-1 signing internal documents, 3DES encrypting backups. This residue is directly exploitable and takes the highest priority. The second is interoperability residue: the local side has upgraded, but the weak option is kept to talk to legacy peers; its risk depends on whether downgrade attacks can trigger it. The third is data residue: signatures and checksums over historical archives were generated with the old algorithm; the algorithm has left the online systems, but verifying the authenticity of historical data still depends on it — this residue cannot simply be deleted and needs the evidence chain migrated instead, for example by re-timestamping. The fourth is dormant residue: old algorithm options lying in code bases and configuration templates, normally inactive but reactivated during fault rollback, disaster-recovery switchover, or when a new system copies the template. Static scans easily miss this class, yet it is a frequent source of surprise exposure during incidents.
Grading: Is It Still Performing a Security Function?
The same MD5 used as a displayed file fingerprint on a download page and as an identity token in an internal system differ by orders of magnitude in risk. Grading asks three questions: can an attacker profit from this use; is the cost of collision or cracking already below the payoff; and is the use connected to external input? Password hashing and signing are the most dangerous uses because they decide authentication outcomes directly; transport encryption comes next; purely presentational checksums carry the lowest risk, though one must still guard against a downstream process mistaking them for a security check. The output of grading should be a list in four bands — replace immediately, replace on a plan, retain under monitoring, keep for historical verification only — each with a defined treatment.
Inventory Method: Let the Residue Surface Itself
An inventory of residue cannot rely on self-reporting by teams, because people using old algorithms often do not think of themselves as “using cryptography” — whoever writes file checksums, configures backup software or maintains a legacy interface will never volunteer for the cryptographic asset list. The more effective method scans bottom-up: search code repositories for algorithm signatures to find where old algorithms are still called; sample configurations and processes on servers and endpoints to find services with old options enabled; analyse network traffic with protocol fingerprinting to identify connections actually negotiating old algorithms. Merge the three result sets, then confirm purpose and necessity with the owner of each item. The first inventory done this way almost always unearths large amounts of residue outside the official list; that is not any team’s dereliction but the nature of how hidden residue is. The inventory must also accept a reality: residue cannot be zeroed in one pass, and the value of the register is that every instance is in a known state rather than presumed absent.
Note also the coupling between residue instances: a signature generated with MD5 in one place may be relied on as a trust anchor by a dozen downstream systems, so replacing it is not one site’s job but a small ecosystem migration. Recording the number of dependents for each residue instance during the inventory helps scheduling avoid the surprise of “changed one place, broke a dozen”.
Why a Ban Alone Does Not Work
Many organisations start residue governance with a ban and end in failure. The reason is that places using old algorithms usually have real business constraints: the peer device cannot be replaced, historical data must remain verifiable, the old protocol has no substitute implementation. A ban does not resolve constraints; it drives usage underground — personal scripts and privately built conversion tools are even less controlled. The effective approach pairs the ban with exits: provide an official compatibility gateway, offer batch re-signing for historical data, and block new residue at procurement. Retiring an algorithm is never deleting an option; it is migrating an entire ecosystem.
Residue Brought In by Vendors and Open-Source Components
Not all residue is written in-house. Purchased commercial software, adopted open-source components and systems delivered by outsourcers can all bring old algorithms with them: a library that uses MD5 for cache keys by default, a middleware whose cluster communication still enables legacy encryption. The organisation’s own code review cannot reach these places; identification depends on software bills of materials and vendor inquiry, backed by algorithm baselines and upgrade duties written into contracts. Residue introduced by third parties deserves its own management band, because the levers for treating it sit not in configuration files but in contracts and version-upgrade cadence.
Closing: Keep the Residue Register Alive
The end state of deprecated-algorithm governance is not a one-off cleanup campaign but a living register: newly discovered residue from every scan is entered, every instance carries a grade and an exit path, and go-live reviews for new systems check that no new residue is introduced. Algorithms keep ageing — today’s mainstream is tomorrow’s residue — and the mechanism matters more than any single campaign.
Tags: Deprecated AlgorithmsMD5SHA-13DESLegacy Risk