r/ComputerSecurity • u/cam2336 • Oct 15 '24
How do they reach you?
I have heard some say that if your computer is using a hardwired ethernet connection for internet, a hacker would need to have physical access to your computer in order to compromise it. I have heard others say any device connected to the internet, no matter how the are connected, can be compromised. Is one of these not accurate?
If you have a computer connected to the internet by ethernet, and don't click on any emails, attachments, or visit questionable sites, can it still be compromised? If so, how do hackers actually fine your computer?
5
u/Digital-Chupacabra Oct 15 '24
That is just flat out wrong.
Yes.
The how of your connection doesn't matter, dial up, wifi, ethernet, satellite, or cable they are all functionally the same for the purposes of this question.
You could visit a site that loads an ad which runs some malicious JavaScript on your computer. This is why the FBI has been recommending using an adblocker for a while, if you're using chrome as your browser your options are more limited but uBlock Origin is the gold standard.
You could be running an old OS, or older piece of software that has a known vulnerability and someone is scanning every computer on the internet for that vulnerability.
There are other possibilities but I think you get the idea.
Imagine the internet as a town, and everyone has access to a phone book, that lists just addresses. You might not know who lives at what house, but you know where all the houses are.
That's kinda how the internet works, oversimplifying greatly.
Every computer on the internet has an IP address, and anyone can look up how to get from their computer to that IP address. It's easy to automatically scan large swaths of IP address for computers and scan those computers for vulnerabilities.
2
u/399ddf95 Oct 15 '24
There are two different things here - compromising the network and compromising the computer. If the network is hardwired ethernet, accessing it without having physical access to the wires is very difficult and very unlikely. However, the computer is likely to be exposed to threats at other levels - either because it's tricked into running other people's code through E-mails or attachments or whatever, or because the computer is accepting network connections with software that's not appropriately debugged/hardened.
And, of course, once the computer on the hardwired network has been compromised, now the other computers on the network can be attacked over that network, and the security advantage of a hardwired network has evaporated.
/u/Digital-Chupacabra has elaborated further on this.
Also, it's possible to think of two different categories of attack - targeted and opportunistic.
A targeted attack happens when someone specifically wants to attack you - so the attacker would need some way of knowing how to reach you or find you.
An opportunistic attack can happen to anyone - the attacker just has to find someone to attack. They don't know or care who they're attacking.
When you're connected to the internet, your device (computer/phone/whatever) has an IP address. If that address changes every time you connect or every few hours (this is the most common configuration) it may be tough for someone to target you specifically for attack by IP address. However, it's easy for an attacker to attack everyone within a range of IP addresses, by choosing an IP address at random, or by searching for computers running a certain operating system or program.
This last category of attack is what you're most likely to encounter unless you're in a special category*. The attacker doesn't need to "find" you - that's like being a pickpocket finding a victim on a crowded train. Everyone is a potential victim.