Should we be worried that a large part of the Internet has almost been hacked?

Outside of the open source software world, few people have likely heard of XZ Utils, a small but widely used tool for data compression on Linux systems. But end of last weekSecurity experts have discovered a serious and deliberate flaw that could leave networked Linux computers susceptible to malicious attacks.

The flaw has since been confirmed to be a critical issue that could allow a skilled hacker to gain control over vulnerable Linux systems. Because Linux is used worldwide on web and email servers and application platforms, this vulnerability could have given the attacker silent access to vital information stored on computers around the world, potentially including the device you are using on this time to read this.

Major software vulnerabilities, such as the SolarWinds trick and The Heartbleed BugThey are nothing new, but this one is very different.

The XZ Utils hack attempt took advantage of the way open source software development typically works. Like many open source projects, XZ Utils is a crucial and widely used tool, and is largely maintained by a single volunteer working in his spare time. This system has created enormous benefits for the world in the form of free software, but it also carries unique risks.

Open Source and XZ Utilities

First, a brief review of open source software. Most commercial software, like the Windows operating system or the Instagram app, is “closed source,” meaning that no one except its creators can read or modify the source code. In contrast, with “open source” software, the source code is openly available and people are free to do whatever they want with it.

Open source software is very common, particularly in the practical aspects of the software that consumers don’t see, and is enormously valuable. One recent study estimated the total value of open source software used today at $8.8 trillion.

Until about two years ago, the XZ Utils project was run by a developer named Lasse Collin. around that timeAn account using the name Jia Tan submitted an improvement to the software.

Not long after, some previously unknown accounts appeared to report bugs and send feature requests to Collin, pressuring him to hire a helper to maintain the project. Jia Tan was the logical candidate.

Over the next two yearsJia Tan became increasingly involved and, as we now know, introduced a weapon carefully hidden in the software source code.

The revised code secretly alters another piece of software, a ubiquitous network security tool called OpenSSH, so that it passes malicious code to a target system. As a result, a targeted intruder will be able to execute any code they want on the target machine.

The latest version of XZ Utils, which contains the backdoor, will be included in popular Linux distributions and deployed worldwide. However, it was caught just in time when a Microsoft engineer investigated some minor irregularities in his system’s memory.

A quick answer

What does this incident mean for open source software? Well, despite initial appearances, that doesn’t mean open source software is insecure, unreliable, or untrustworthy.

Because all the code is available for public scrutiny, developers around the world could quickly begin analyzing the backdoor and the history of how it was implemented. These efforts could be documented, distributed and shared, and specific malicious code fragments could be identified and removed.

A response on this scale would not have been possible with closed source software.

An attacker would have to take a somewhat different approach to attacking a closed source tool, perhaps posing as an employee of the company for a long period and exploiting weaknesses in the closed source software production system (such as bureaucracy, hierarchy, unclear reporting). lines and poor knowledge sharing).

However, if they achieved such a backdoor in proprietary software, there would be no possibility of conducting a large-scale distributed code audit.

Lessons to learn

This case is a valuable opportunity to learn about other types of weaknesses and vulnerabilities.

First, it demonstrates how easily online relationships between anonymous users and developers can become toxic. In fact, the attack depended on the normalization of these toxic interactions.

The social engineering portion of the attack appears to have used anonymous “sockpuppet” accounts to guilt-trip and emotionally coerce the lead maintainer into accepting minor, seemingly harmless code additions over a period of years, pressuring him to cede development control to Jia Tan.

One user account complained:

You ignore the many patches rotting on this mailing list. Right now you are drowning your repository.

When the developer declared mental health problemschided another account:

I’m sorry for your mental health issues, but it’s important to be aware of your own limits.

Individually, those comments may seem harmless, but together they become a multitude.

We need to help developers and maintainers better understand the human aspects of coding and the social relationships that affect, sustain, or dictate how distributed code is produced. There is much work to do, particularly to improve recognition of the importance of mental health.

A second lesson is the importance of recognizing “obfuscation,” a process that hackers often use to make software code and processes difficult to understand or reverse engineer. Many universities do not teach this as part of a standard software engineering course.

Third, some systems may still be running dangerous versions of XZ Utils. Many popular smart devices (such as refrigerators, wearables, and home automation tools) run on Linux. These devices often reach an age where it is no longer financially viable for their manufacturers to update their software, meaning they do not receive patches for newly discovered security holes.

And finally, whoever is behind the attack – some speculated may be a state actor: it has had free access to a variety of code bases over a two-year period, perpetrating careful and patient deception. Even now, that adversary will learn from how system administrators, Linux distribution producers, and codebase maintainers are reacting to the attack.

Where do we go from here?

Code maintainers around the world are now thinking about their vulnerabilities at a strategic and tactical level. They will not only care about your code itself, but also your code distribution mechanisms and software assembly processes.

My colleague David Lacey, who runs the nonprofit cybersecurity organization. IDCARE, often reminds me that the situation facing cybersecurity professionals is well articulated in an IRA statement. Following the failed bomb attack on the Brighton Grand Hotel in 1984, the terrorist organization chillingly reclaimed:

Today we were unlucky, but remember that you only have to be lucky once. You will always have to be lucky.The conversation


*Sigi Goode, Professor of Information Systems, Australian National University. This article is republished from The Conversation under a Creative Commons license. Read the original article.

#worried #large #part #Internet #hacked

Scroll to Top