Thursday, March 28, 2024

DUHK Attack allows Hackers to Recover Encryption Keys and Decrypt Communications Passing Over VPN

DUHK attack targets the old vulnerability that resides in the pseudorandom number generator called ANSI X9.31. It is an algorithm widely used to generate cryptographic keys that secure VPN connections and web browsing sessions.

ANSI X9.31 PRNG is a pseudorandom number generator algorithm design that was incorporated into different structures cryptographic standards and listed as recommended RNG for FIPS certification for decades.

DUHK attack allows hackers to recover encryption keys and to decrypt the encrypted web traffic.This vulnerability hits devices utilizing ANSI X9.31 Random Number Generator (RNG) in combination with a hard-coded seed key. This cryptographic attack followed by Factorization Attack and KRACK Attack.

Researchers wrote We performed a systematic study of publicly available FIPS 140-2 certifications for hundreds of products that implemented the ANSI X9.31 random number generator, and found twelve whose certification documents use of static hard-coded keys in the source code, leaving them vulnerable to an attacker who can learn this key from the source code or binary.

DUHK was developed by researchers at the University of Pennsylvania and Johns Hopkins University: Shaanan Cohney, Nadia Heninger, and Matthew D. Green.

Devices Vulnerable to DUHK Attack

For demonstration, researchers developed a full passive decryption attack against FortiGate VPN gateway products using FortiOS version 4 and they were able to recover the random number generator state for 21% of HTTPS hosts serving a default Fortinet product certificate.

Researchers used ZMap to perform Internet-wide scans on port 443 for HTTPS and port 500 to measure the population of vulnerable Fortinet devices and they found 23,000 devices are running a vulnerable version of FortiOS.

FortiGate devices with FortiOS 4.3.0 to FortiOS 4.3.18 are vulnerable to DUHK attacks and Fortigate fixed it by implementing CTR_DRBG from FortiOS 4.3.19, 5.0.(CVE-2016-8492).

Researchers provided a list of the Hardware and software products that are vulnerable to DUHK.

AM I Vulnerable?

X9.31 RNG was removed FIPS list of approved RNGs in 2016. If your product was certified after 2016 then you are not vulnerable.

The x9.31 vulnerability is symmetric, and any implementation that stores a fixed secret key in code or hardware is vulnerable to passive exploitation by an attacker who can recover the key through reverse engineering.

Updating software regularly is a good practice to protect you against flaws. More details on DUHK attack found in the dedicated page or the blog post by Matthew Green.

Website

Latest articles

2 Chrome Zero-Days Exploited at Pwn2Own 2024: Patch Now

Google has announced a crucial update to its Chrome browser, addressing several vulnerabilities, including...

The Moon Malware Hacked 6,000 ASUS Routers in 72hours to Use for Proxy

Black Lotus Labs discovered a multi-year campaign by TheMoon malware targeting vulnerable routers and...

Hackers Actively Exploiting Ray AI Framework Flaw to Hack Thousands of Servers

A critical vulnerability in Ray, an open-source AI framework that is widely utilized across...

Chinese Hackers Attacking Southeast Asian Nations With Malware Packages

Cybersecurity researchers at Unit 42 have uncovered a sophisticated cyberespionage campaign orchestrated by two...

CISA Warns of Hackers Exploiting Microsoft SharePoint Server Vulnerability

Cybersecurity and Infrastructure Security Agency (CISA) has warned about a critical vulnerability in Microsoft...

Microsoft Expands Edge Bounty Program to Include WebView2!

Microsoft announced that Microsoft Edge WebView2 eligibility and specific out-of-scope information are now included...

Beware of Free Android VPN Apps that Turn Your Device into Proxies

Cybersecurity experts have uncovered a cluster of Android VPN applications that covertly transform user...
Guru baran
Guru baranhttps://gbhackers.com
Gurubaran is a co-founder of Cyber Security News and GBHackers On Security. He has 10+ years of experience as a Security Consultant, Editor, and Analyst in cybersecurity, technology, and communications.

Mitigating Vulnerability Types & 0-day Threats

Mitigating Vulnerability & 0-day Threats

Alert Fatigue that helps no one as security teams need to triage 100s of vulnerabilities.

  • The problem of vulnerability fatigue today
  • Difference between CVSS-specific vulnerability vs risk-based vulnerability
  • Evaluating vulnerabilities based on the business impact/risk
  • Automation to reduce alert fatigue and enhance security posture significantly

Related Articles