News for hackers. Stuff that matters.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by greyface- on Saturday March 30, 2024 @04:19PM (#39878227)
I understand the impulse to seek justice, but what crime have they committed? It's illegal to gain unauthorized access, but not to write vulnerable code. Is there evidence that this is being exploited in the wild?
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by jmward01 on Saturday March 30, 2024 @04:33PM (#39878364)
I am definitely not a lawyer so I have no claim to knowing what is or is not a crime. However, if backdooring SSH on a potentially wide scale doesn't trip afoul of laws then we need to seriously have a discussion about the modern world. I'd argue that investigating this as a crime is likely in the best interest of public safety and even (I hesitate to say this) national security considering the potential scale of this. Finally, I would say there is a distinction between writing vulnerable code and creating a backdoor with malicious intent. It appears (from the articles I have been reading so far) that this was malicious, not an accident or lack of skill. We will see over the next few days though as more experts get eyes on this.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by greyface- on Saturday March 30, 2024 @04:44PM (#39878464)
Agreed on a moral level, and it's true that describing this as simply "vulnerable code" doesn't capture the clear malicious intent. I'm just struggling to find a specific crime. CFAA requires unauthorized access to occur, but the attacker was authorized to publish changes to xz. Code is speech. It was distributed with a "no warranty" clause in the license.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by semiquaver on Saturday March 30, 2024 @05:42PM (#39878962)
CFAA covers this. Its a crime to

  > knowingly [cause] the transmission of a program, information, code, or command, and as a result of such conduct, intentionally causes damage without authorization, to a protected computer;
Where one of the definitions of “protected computer” is one that is used in interstate commerce, which covers effectively all of them.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by pbhjpbhj on Saturday March 30, 2024 @06:41PM (#39879389)
It seems like the backdoor creates the potential to "cause damage" but doesn't [provably?] cause damage per se?

The author of the backdoor doesn't themselves "[cause] the transmission of a program ...". Others do the transmission.

Seems weak, unless you know of some precedent case(s)?

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by semiquaver on Saturday March 30, 2024 @08:19PM (#39880026)
The malicious author caused the transmission of the release tarball to GitHub and the official project site. This act was intentional and as a direct result other computers were damaged (when their administrators unknowingly installed the backdoored library).

You’ve got to be joking if you’re saying that this wouldn’t be an open and shut case to prosecute. It’s directly on point. Law isn’t code, any jury would have zero trouble convicting on these facts.

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by refulgentis on Saturday March 30, 2024 @08:30PM (#39880125)
Hello fellow "law isn't code" traveller. (my least favorite engineer habit!)
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by whartung on Saturday March 30, 2024 @07:24PM (#39879637)
The back door is damage. The resulting sshd is like a door with a broken lock. This patch breaks the lock. Transmitting the patch caused intentional damage.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by refulgentis on Saturday March 30, 2024 @08:29PM (#39880115)
Law isn't code. If someone finds precedent, there will be a way to argue it doesn't cover this specific scenario. They call this conversational process "hypos" in law school, and this fundamental truth is why you never hear of a lawyer being stumped as to how to defend a client.

Ultimately, the CFAA will get it done if it gets that far, armchair lawyering aside.

To pressure test this fully, since this can be caricatured as "we can punish degenerate behavior as needed", which isn't necessarily great: it's also why there's a thin line between a authoritarian puppet judiciary and a fair one.

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by stephc_int13 on Saturday March 30, 2024 @04:57PM (#39878578)
It is like opening the door of a safe and letting someone else rob the money inside.

This is way beyond "moral level".

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by fragmede on Saturday March 30, 2024 @04:54PM (#39878562)
CFAA covers distribution of malicious software without the owners consent, the Wire Fraud Act covers malware distribution schemes intended to defraud for property, Computer Misuse act in the UK is broad and far reaching like the CFAA, so this likely fall afoul of that. The GDPR protects personal data, so there's possibly a case that could be made that this violates that as well, though that might be a bit of reach.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by javajosh on Saturday March 30, 2024 @06:35PM (#39879355)
In which case the defense will claim, correctly, that this malware was never distributed. It was caught. "Attempted malware distribution" may not actually be a crime (but IANAL so I don't know).
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by timschmidt on Saturday March 30, 2024 @07:32PM (#39879696)
Folks who run Debian SID or Fedora testing may disagree.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by ndriscoll on Saturday March 30, 2024 @04:57PM (#39878582)
If more than one person was involved, it'd presumably fall under criminal conspiracy. Clearly this was an overt act in furtherance of a crime (unauthorized access under CFAA, at the least).
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by sneak on Saturday March 30, 2024 @05:13PM (#39878720)
The criminal conspiracy laws don’t apply to the organizations that write this kind of code, just like murder laws don’t.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by ceejayoz on Saturday March 30, 2024 @05:16PM (#39878751)
Sure they do. Getting the perpetrator into your jurisdiction is the tough part.

Putin is, for example, unlikely to go anywhere willing to execute an ICC arrest warrant.

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by sneak on Saturday March 30, 2024 @05:21PM (#39878791)
Nah, the CIA assassinates people in MLAT zones all the time. The laws that apply to you and I don’t apply to the privileged operators of the state’s prerogatives.

We don’t even know that this specific backdoor wasn’t the NSA or CIA. Assuming it was a foreign intelligence service because the fake name was asian-sounding is a bit silly. The people who wrote this code might be sitting in Virginia or Maryland already.

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by tomoyoirl on Saturday March 30, 2024 @05:48PM (#39879010)
> Virginia or Maryland

Eastern Europe, suggest the timestamp / holiday analysts. https://rheaeve.substack.com/p/xz-backdoor-times-damned-time...

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by WesolyKubeczek on Saturday March 30, 2024 @07:19PM (#39879602)
Note that while “Eastern Europe” has firm connotations with countries of which some are known for having corrupt autocracies, booming shady businesses, and organized crime and cybercrime gangs in varying proportions, the time zone mentioned also covers Finland, from which the other author is supposed to be.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by daurentius523 on Sunday March 31, 2024 @04:07AM (#39882390)
Eastern Europe - 25th? Not 24th?
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by ceejayoz on Saturday March 30, 2024 @05:37PM (#39878932)
> The people who wrote this code might be sitting in Virginia or Maryland already.

Sure, that’s possible. They will as a result probably avoid traveling to unfriendly jurisdictions without a diplomatic passport.

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by rl3 on Saturday March 30, 2024 @06:38PM (#39879371)
>They will as a result probably avoid traveling to unfriendly jurisdictions without a diplomatic passport.

First of all, it's not like their individual identities would ever be known.

Second, they would already know that traveling to a hostile country is a great way to catch bullshit espionage charges, maybe end up tortured, and certainly be used as a political pawn.

Third, this is too sloppy to have originated from there anyways—however clever it was.

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by bee_rider on Saturday March 30, 2024 @08:17PM (#39880011)
Laws don’t fix technical issues any more than they fix physical ones. Clearly this was possible, so it could be done by a foreign intelligence agency or well-hidden criminal organization.

I think this is probably illegal. But, I think we should not punish this sort of thing too harshly. Tech is an ecosystem. Organizations need to evolve to protect themselves. Instead, we should make companies liable for the damage that happens when they are hit by one of these attacks.

Before anyone calls it out: yes, this will be blaming the victim. But, companies aren’t people, and so we don’t really need to worry about the psychological damage that victim blaming would do, in their case. They are systems, that respond to incentives, and we should provide the incentives to make them tough.

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by hnarn on Saturday March 30, 2024 @05:42PM (#39878969)
What is constantly overlooked here on HN is that in legal terms, one of the most important things is intent. Commenters on HN always approach legal issues from a technical perspective but that is simply not how the judicial system works. Whether something is “technically X” or not is irrelevant, laws are usually written with the purpose of catching people based on their intent (malicious hacking), not merely on the technicalities (pentesters distributing examples).
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by drowsspa on Saturday March 30, 2024 @06:21PM (#39879247)
Yeah, it bothers me so much. They really seem to think that "law is code".
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by golergka on Saturday March 30, 2024 @09:29PM (#39880499)
It is code, but it runs on human wetware which can decode input about actual events into output about intent, and reach consensus about this output via proper court procedures.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by stephc_int13 on Saturday March 30, 2024 @04:54PM (#39878559)
Calling this backdoor "vulnerable code" is a gross mischaracterization.

This is closer to a large scale trojan horse, that does not have to be randomly discovered by a hacker to be exploited, but is readily available for privileged remote code execution by whoever have the private key to access this backdoor.

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by ronsor on Saturday March 30, 2024 @04:37PM (#39878406)
It's not simply vulnerable code: it's an actual backdoor. That is malware distribution (without permission) and is therefore illegal.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by greyface- on Saturday March 30, 2024 @04:50PM (#39878517)
Is it illegal to distribute malware? I see security researchers doing it all the time for analysis purposes.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by ronsor on Saturday March 30, 2024 @04:53PM (#39878547)
No, it is not illegal to distribute malware by itself, but it is illegal to trick people into installing malware. The latter was the goal of the XZ contributor.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by pbhjpbhj on Saturday March 30, 2024 @06:47PM (#39879437)
I assume you're talking from a USC perspective? Can you say which specific law, chapter, and clause applies?
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by dvhh on Sunday March 31, 2024 @01:19PM (#39886071)
I would somewhat agree, but then come to mind "what is the "legal" definition of malware ?".

Some people would say that most drm software would act like malware/ransomware.

And tricking people to install such software is only matter of an ambiguously worded checkbox.

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by fragmede on Saturday March 30, 2024 @04:56PM (#39878576)
specifically, thevCFAA covers distribution of malicious software without the owners consent. Security researchs downloading malware implicitly give consent to be downloading malware marked as such.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by M2Ys4U on Saturday March 30, 2024 @04:50PM (#39878510)
In the UK, at least, unauthorised access to computer material under section 1 of the Computer Misuse Act 1990 - and I would also assume that it would also fall foul of sections 2 ("Unauthorised access with intent to commit or facilitate commission of further offences") and 3A ("Making, supplying or obtaining articles for use in offence under section 1, 3 or 3ZA") as well.

Though proving jurisdiction would be tricky...

Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by kmeisthax on Saturday March 30, 2024 @07:15PM (#39879584)
If CFAA doesn't get this guy behind bars then the CFAA is somehow even worse. Not only is it an overbroad and confusing law, it's also not broad enough to actually handcuff people who write malicious code.
Re:XZ backdoor: "It's RCE, not auth bypass, and gated/unrepl... by Seattle3503 on Saturday March 30, 2024 @05:09PM (#39878689)
I'd be surprised if the attacker didn't meet the criteria for mens rea.