Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Data Protection

Serious Crypto Flaw Found in Socat Tool

A Microsoft researcher has discovered what some believe could be an intentional backdoor in the popular Socan networking utility.

The vulnerability, whose existence was brought to light earlier this week, affects Socat 1.7.3.0 and 2.0.0-b8. The issue has been addressed with the release of versions 1.7.3.1 and 2.0.0-b9.

A Microsoft researcher has discovered what some believe could be an intentional backdoor in the popular Socan networking utility.

The vulnerability, whose existence was brought to light earlier this week, affects Socat 1.7.3.0 and 2.0.0-b8. The issue has been addressed with the release of versions 1.7.3.1 and 2.0.0-b9.

Socat can be used to transfer data through an encrypted channel to protect it from traffic interception attempts. According to Socat developer Gerhard Rieger, if the Diffie-Hellman (DH) key exchange is used for the secure channel, an attacker could eavesdrop on communications because the 1024-bit DH p parameter is not prime (i.e. a number that can only be divided by 1 and itself).

“The effective cryptographic strength of a key exchange using these parameters was weaker than the one one could get by using a prime p. Moreover, since there is no indication of how these parameters were chosen, the existence of a trapdoor that makes possible for an eavesdropper to recover the shared secret from a key exchange that uses them cannot be ruled out,” Rieger explained.

Experts have analyzed the vulnerability and determined that the non-prime parameter was introduced by a researcher named Zhigang Wang in January 2015 with a patch designed to address an issue where Socat did not work in FIPS mode because a 1024-bit DH prime was required instead of a 512-bit prime.

Some experts believe this could be an intentional backdoor considering that it shouldn’t have been difficult to verify if the parameter was a prime.

A new parameter that is 2048 bits long has been generated for the new versions released by Socat developers. As a workaround, users can disable DH ciphers.

The decision to use a 2048-bit prime is probably wise considering that the authors of the attack method dubbed “Logjam” estimated that it would cost roughly $100 million to crack a 1024-bit prime, which is well within the financial resources of an intelligence agency.

Advertisement. Scroll to continue reading.

Related: Nmap 7 Brings Faster Scans, Other Improvements

Related: Backdoor in Juniper Firewalls Enables Remote Access

Written By

Eduard Kovacs (@EduardKovacs) is a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this in-depth briefing on how to protect executives and the enterprises they lead from the growing convergence of digital, narrative, and physical attacks.

Register

Learn how integrating BAS and Automated Penetration Testing empowers security teams to quickly identify and validate threats, enabling prompt response and remediation.

Register

People on the Move

Forcepoint has appointed Guy Shamilov as CISO, Bakshi Kohli as CTO and Naveen Palavalli as CPO and CMO.

Paul Calatayud has been named CISO of developer security posture management firm Archipelo.

Cyber readiness and response firm Sygnia has appointed Avi Golan as its new CEO.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.