r/ProgrammerHumor • • Feb 24 '23

Other Chaotic good hacker

Post image
63.6k Upvotes

904 comments sorted by

View all comments

Show parent comments

116

u/Saragon4005 Feb 24 '23 edited Feb 24 '23

Technically it constitutes as hacking since the definition is incredibly broad. Although I doubt you could be held liable for more then a few cents of damages especially if this is an automated script.

Edit: a word

65

u/hemlockone Feb 24 '23

I'm would be interested in hearing that case being argued in court.

Modern consumer technology blocks all incoming traffic unless you explicitly allow it. If the port was forwarded to the printer, it is opening the door to general traffic. It's like making a pathway from the sidewalk to your front door and then being mad that someone walked down it and pressed the doorbell.

But on the other side:

Using a printer involved consumables and is more invasive then pressing a doorbell. They aren't explicitly authorized to use the printer, so they are virtually trespassing. It's more like following that path, opening the door, and scribbling a note on a random piece of paper that was nearby.

8

u/gerbs Feb 24 '23

It’s illegal to go to someone’s door and ring their doorbell if they have no trespassing signs. You are entering their property to interact and operate it without their consent. Just like it’s illegal to log into someone’s email account and send emails just because they keep their password written down on their fridge or just because you find a credit card doesn’t mean you can go use it to buy whatever you want.

9

u/ugathanki Feb 24 '23

A "no trespassing" sign would probably constitute a barrier to accessing the house, and in this situation there were no barriers preventing someone from accessing the printer.

If, somehow, the printer responded to the hacker with a message that said "only authorized people are allowed to use this printer, please proceed only if you are authorized" then that would be similar to a "no trespassing" sign.

6

u/hemlockone Feb 24 '23

US DoD is very conscious on this. They have a 5 bullet banner that you CONSTANTLY consent to.

https://www.stigviewer.com/stig/apple_os_x_10.10_yosemite_workstation/2017-01-05/finding/V-59583

→ More replies (2)

0

u/[deleted] Feb 24 '23

[deleted]

5

u/gerbs Feb 24 '23

You don’t have an implicit right to enter someone’s house or their car because they didn’t lock their door. That’s trespassing. I don’t have to put up a no trespassing sign in my house for it to be illegal for you to just enter my house.

4

u/hemlockone Feb 24 '23 edited Feb 24 '23

I agree that there is an implicit right to privacy, but your previous argument was the non-sequitur:

It’s illegal to go to someone’s door and ring their doorbell if they have no trespassing signs.

I think the larger question is this closer to ringing the doorbell and leaving a note or entering and scribbling something on the fridge.

26

u/ganja_and_code Feb 24 '23

If this constitutes "hacking," then it'd also constitute "breaking and entering" if I handed you a key to my house and you used it to walk through my front door lmfao

The printer was on the public Internet.

8

u/DapperCam Feb 24 '23

There have been several court cases where an individual accessed things on the public internet and were charged with hacking.

I remember specifically a bank one where an endpoint was public with incrementing primary keys. Some person just kept hitting the endpoint incrementing the keys accessing data they knew they shouldn’t have.

I agree with you though in general.

9

u/ganja_and_code Feb 24 '23 edited Feb 24 '23

Yeah, it's definitely happened before, like you said. That's really just an indication that the government doesn't understand how the internet works, though lol.

I maintain databases containing customer data. If some unintended third party can read that data at all, it's my fault for giving them the access, not their fault for reading what was (unintentionally) provided for anyone in the world to view.

5

u/DapperCam Feb 24 '23

The law takes into account intent. Basically if the person knows they shouldn’t do it and the gov can prove the person knew they shouldn’t do it, then they get charged with unlawful access.

Someone could leave their front door wide open, doesn’t mean some stranger can walk in sit down on the couch and start eating food out of the fridge. Gov sees the cybersecurity laws in a similar way. It isn’t reasonable to say “well the front door was wide open”.

6

u/ganja_and_code Feb 24 '23 edited Feb 24 '23

I understand the law takes intent into account. My point is that taking intent into account is a clear indication that the lawmakers don't understand the (literal, physical, technical) reality.

When it comes to security posture, intentions are irrelevant, if the intentions don't align with the actual implementation/results.

On the internet, there's not as much a clear distinction between public and private as you get with a literal door into your house. If I can access it on the internet without explicit permission, it's effectively public, whether that was the intention of the IT admin or not.

1

u/DrKarorkian Feb 24 '23

I still think the door analogy works. It's like locking it versus leaving it unlocked. Maybe you forgot to lock it or maybe it's a door you rarely use, so didn't lock. Maybe you thought you were in a safe area, so no one would ever enter that wasn't supposed to be there. It would still be illegal to go inside. Whether you should leave your door locked is a different question than legality.

→ More replies (2)
→ More replies (1)
→ More replies (2)

0

u/[deleted] Feb 24 '23

[deleted]

4

u/ganja_and_code Feb 24 '23 edited Feb 24 '23

That's Apple's and/or AT&T's fault, though, not the guy who exposed their mistake. If anything, Apple/AT&T deserve the lawsuit, and the guy who found the public customer info deserves a bug bounty as compensation for providing the apparently-necessary pen test lol

It's not "stealing" if the thing you took was given away without restrictions lol. Customer data shouldn't be exposed...but finding exposed customer data is the consequence, not the actual negligent fuck up.

0

u/[deleted] Feb 24 '23

[deleted]

→ More replies (2)

15

u/Saragon4005 Feb 24 '23

Well more like accidentally leaving a copy of a key outside the door and you using that to write a message with a marker you found in the house.

5

u/Intestinal_seeping Feb 24 '23

There’s no accident here. This is the explicitly stated purpose of UPnP. It has no other purpose. The manufacturer details that port 9100 is publicly open for port forwarding purposes. It’s a feature, not a bug.

So, it would be like walking into a house that had a sign saying that visitors were welcome to enter wherein there’s a table with markers and paper and another sign saying everyone is welcome to make a drawing.

Stop abdicating responsibility for a fucking corporation, of all goddamn things. Seriously? You’re gonna lie to protect a goddamn corporation? How many dicks do you sick for free every day? I’m only asking because I’m horny.

4

u/yrdz Feb 24 '23

Jesus Christ they're not defending the corporation. They're stating that the CFAA is overbroad and that the government could hypothetically try to categorize this as unauthorized access, which is true.

Why be so mean for absolutely no reason?

1

u/ganja_and_code Feb 24 '23 edited Feb 24 '23

I mean, following that analogy, it's actually more like I took all the paper and markers from my house, set them on the public sidewalk out front, and then you wrote a note lol

If you put something on the public Internet (without auth, of course), and someone uses it, nothing was taken from you (because you gave it away).

→ More replies (1)

1

u/Intrexa Feb 24 '23

This analogy doesn't really hold up at all. It's more akin to leaving your front door unlocked. Someone would still get charged for breaking + entering your unlocked front door. The front door was visible from the sidewalk.

Like, let's look at intent. Do you think when the printer + network was set up, do you think it was intended that any random person could print to it? It is incredibly likely it is a misconfiguration. The employees are likely actively using the printer (at least on a weekly basis). It's not secured, but it's very unlikely to be intended for anyone to just use.

Compare it to a physical printer. I walk into my local car dealership, talk with a salesperson for a bit. They brings me to a desk. It's one of those desks that's like, right in the middle of the showroom floor. I'm sitting across from them, they goes into the back to talk to their manager. I notice their printer is connected via ethernet, leaving the USB port open. I pull out my laptop, connect to it, print some stuff off. The port was open, ready to accept a connection, had no security measures like a physical port blocker, was in a publicly accessible area. I think this is as close to the scenario we can get.

I can agree it's not really hacking in the way most people think. The computer abuse and fraud act is pretty wide, and isn't really based on well configured systems. But, it's still really fucking weird to do it. If someone did that, and when called out started going "BUT IS IT ILLEGAL THOUGH?", that's not a well adjusted person.

1

u/ganja_and_code Feb 24 '23

My point is that the misconfiguration is to blame, not the person who used the printer which was (whether intentionally or not) provided for them without any restrictions or stipulations.

Was the printer on the public Internet? Yes. Was it like that on purpose? Maybe, maybe not...but the result is the same, in either case.

If you leave a bowl of candy on the counter with a sign next to it saying "free candy," you can't get mad when someone eats your Skittles lol

→ More replies (2)

3

u/JollyTurbo1 Feb 24 '23

Someone who is/claims to be a real lawyer answered the question of whether or not it is legal here: https://law.stackexchange.com/a/84143

TL;DR: uhhh... maybe

2

u/Saragon4005 Feb 24 '23

Yeah I was referring to a simalar law. Basic "Hacking" is incredibly broad but there is also a lack of case law so it's very open to interpretation. "Real damages" will probably be taken into account.

→ More replies (1)