October 30, 2017 By Shane Schick 2 min read

The use of a random number generator with hardcoded keys could launch a crypto attack, exposing private data through intranets, virtual private network (VPNs) and more, according to new security research.

A white paper from researchers at John Hopkins University and the University of Pennsylvania was the first to draw attention to the crypto attack method, which has been dubbed Don’t Use Hardcoded Keys (DUHK). By reverse engineering a set of firmware running on Fortinet devices, the researchers were able to compromise the encryption parameters in less than five minutes.

Exploiting Random Number Generation Algorithms

The vulnerability stems from a problem with the ANSI X9.31 Random Number Generation, an algorithm that can safeguard data in browsing sessions and other online use cases by creating encryption keys.

As Bitsonline explained, a U.S. government security standards body called Federal Information Processing Standards (FIPS) stopped supporting ANSI X9.31 almost two years ago, but it has been in devices from a number of security companies for a long time. The hardcoded seed key, used at device setup or when launching the algorithm, is essentially making such devices susceptible to the crypto attack.

If cybercriminals were to make use of DUHK, their victims would most likely remain in the dark since the crypto attack is passive in nature, Bleeping Computer warned.

This attack could affect more than 23,000 FortiGate 4x devices using older versions of FortiOS, the white paper said. In addition to Fortinet devices, it also affects products from Cisco, Neopost and more than a dozen others. The easiest way to know if your organization is safe is to determine whether your firewall or VPN achieved FIPS certification after January 2016.

Is ANSI X9.31 a Sitting DUHK?

Not everyone sees DUHK as a major threat. As Threatpost pointed out, potential problems with ANSI X9.31 have been known among security experts for close to 20 years. Using it to launch a crypto attack would also require a number of other mistakes to have been made in deploying a security appliance.

This is less about putting organizations on guard against a likely threat and more of a critique about how standards bodies such as FIPS run their certification processes — and how well those processes are keeping up to date with the constant rate of change in information technology.

More from

FYSA – Adobe Cold Fusion Path Traversal Vulnerability

2 min read - Summary Adobe has released a security bulletin (APSB24-107) addressing an arbitrary file system read vulnerability in ColdFusion, a web application server. The vulnerability, identified as CVE-2024-53961, can be exploited to read arbitrary files on the system, potentially leading to unauthorized access and data exposure. Threat Topography Threat Type: Arbitrary File System Read Industries Impacted: Technology, Software, and Web Development Geolocation: Global Environment Impact: Web servers running ColdFusion 2021 and 2023 are vulnerable Overview X-Force Incident Command is monitoring the disclosure…

What does resilience in the cyber world look like in 2025 and beyond?

6 min read -  Back in 2021, we ran a series called “A Journey in Organizational Resilience.” These issues of this series remain applicable today and, in many cases, are more important than ever, given the rapid changes of the last few years. But the term "resilience" can be difficult to define, and when we define it, we may limit its scope, missing the big picture.In the age of generative artificial intelligence (gen AI), the prevalence of breach data from infostealers and the near-constant…

Airplane cybersecurity: Past, present, future

4 min read - With most aviation processes now digitized, airlines and the aviation industry as a whole must prioritize cybersecurity. If a cyber criminal launches an attack that affects a system involved in aviation — either an airline’s system or a third-party vendor — the entire process, from safety to passenger comfort, may be impacted.To improve security in the aviation industry, the FAA recently proposed new rules to tighten cybersecurity on airplanes. These rules would “protect the equipment, systems and networks of transport…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today