this post was submitted on 05 Oct 2023
50 points (90.3% liked)

Privacy

31800 readers
256 users here now

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

Related communities

Chat rooms

much thanks to @gary_host_laptop for the logo design :)

founded 5 years ago
MODERATORS
 

can you recommend any (opensource or trusted) android apps to check who's using your wifi? or any cmd prompt code to search on the desktop?

a small doubt: can anyone hack your computer through WiFi? If so, How to prevent that (or) How to take measures after you think you been hacked?

all 23 comments
sorted by: hot top controversial new old
[–] [email protected] 43 points 1 year ago* (last edited 1 year ago) (1 children)

Login to your router or wireless access point and check what devices are connected. Then setup mac adress filtering to improve your security, if you can be bothered to have to add your devices mac adresses manually.

mac adresses are easily spoofed though, so it isn't foolproof.

[–] [email protected] 17 points 1 year ago (1 children)

Also note that mac addresses can change automatically on iOS, because of the Private Wifi Address feature

[–] [email protected] 19 points 1 year ago

Same on Android, though the default is a random MAC per network/ssid

[–] [email protected] 21 points 1 year ago

Just log into your routers admin panel and see if there are any online devices online that arent yours? That would be my goto because then you can just block them from the panel?

otherwise via linux cli you can do arp-scan and youll see online devices in your subnet. Theres also a few options to scan different interfaces

[–] [email protected] 14 points 1 year ago

Log on to your router, that will show what's connected.

[–] [email protected] 10 points 1 year ago

Checking the router is probably the only way to see if someone is active on your network.

Can anybody hack your computer? No. Most people only know how to run scripts that are known and patched in most operating systems.

There are skilled people who may be able to create an exploit or find a vulnerability in your computer, but they will mostly target businesses or people they know will be worth it to hack, so most likely they won't bother you.

Generally if your on your own WiFi, having a WPA-2+ personal password is enough, but the more paranoid may have an IDS/IPS on their home network.

If your out and about, I'd personally use a VPN. I don't like public ones and like to recommend setting one up on your home WiFi instead.

If you think you've been hacked.. change your passwords and run virus scans. If you still don't feel safe, backup your data and reinstall your operating system.

[–] [email protected] 7 points 1 year ago (1 children)

Your best bet is to log into your modem and look at the ARP table to see what devices have recently talked on your network, and look at your DHCP pool to see what devices are currently assigned addresses.

can anyone hack your computer through WiFi?

Yes-ish. If you are running out of date installations or have weak user passwords on your PC then a remote compromise can happen.

If you think someone has compromised your wifi, first thing is to change your wifi password and router password. 12 characters including uppercase lowercase letters, numbers and symbols.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago)

I forward all router logs to a syslog server which then parses and alerts me of "unknown Mac addresses" joining the network as soon as even one log shows up. If you have a syslog server and some way to index/parse those logs, that's one way to do it

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

Couldn't you just monitor your WiFi at the router level?

Anyway you can use nmap to scan your entire network to find all connected devices. Its not foolproof but its a start

[–] [email protected] 3 points 1 year ago
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

You can use arpwatch. It reports new mac addresses on a given network interface.

Here's my setup. I have a raspberry pi running pihole and unbound. I set that raspberry pi as my primary dns on my router. Now in order to use the internet all devices will make dns queries over wifi (you can use a wired pi as well) to the pi which means it will also see all devices using your wifi and notify you when a new one shows up or if an ip changes mac addresses.

Keep in mind these notifications use smtp (email) and you most likely need a mail server to receive them.

I have a matrix server on my network that has postmoogle (email bridge) that can receive the emails from arpwatch and send them to me as a matrix message

[–] [email protected] -2 points 1 year ago (1 children)

WiFi is really no less secure than wired aside from being harder to keep people from having physical access, and since most home users don't use any kind of connectivity protection on wired ports it might even be seen as more secure.

[–] [email protected] 6 points 1 year ago (2 children)

Huh? You have to break into my house to get on my LAN and that’s the case for 99% of people. You don’t need to do that with wifi. There is no realm where wired is less secure than wifi.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

Not necessarily. If you have an off the shelf home network, and you have a vulnerable device (smart toaster, smart light bulb, IP camera, unpatched laptop, old iPhone or Android version, unpatched router, etc.), wired or wireless doesn't make much of a difference. Once one device on your network is compromised, the entire network is compromised. I don't have to be near you to get that done. Shoot, I don't even have to be in the same country to get that done. I would say, due to the proximity rule, wifi is less secure since it takes less effort, but only in terms of that one rule.

E: added a couple more examples of common vulnerable devices.

[–] [email protected] 0 points 1 year ago (1 children)

That's the point of mentioning the physical access. Yes it's easier to get at 'physically' in that it allows you to reach it through walls, but, if physical access WAS obtained what protections do you have in place for a lan jack? It's possible to use 802.1x auth or such but for most home users it's just a case of plug in a cable and you're part of the network.

[–] [email protected] 4 points 1 year ago (1 children)

Again someone is going to have to break into your house to accomplish this. You have much bigger problems if that happens.

The more realistic approach would be people sitting outside of your house trying to brute force your wireless password, which only works on networks with default or weak passwords.

The odds of someone breaking into your house to use your net are virtually zero. On the other hand people sitting in their cars to high jack wireless happen all the time. Anyone can do it they just need to be in proximity to your house and you’ll never know it’s happening.

[–] [email protected] 0 points 1 year ago

https://shop.hak5.org/products/lan-turtle

Assume physical access, someone walks in and has 5 minutes out of sight. A decent wpa2 password would take an extraordinary long time to brute force. Something like above gets deployed and allows remote access in seconds on an unprotected lan. As noted in another comment sketchy IOT gear is a threat people install willingly. The old test of leaving a loaded USB in the parking lot catches more people than is reasonable. Don't assume a physical door is going to stop someone more than a proper technical barrier.