Lurker News

Comments (206) 60 threads

Earlier comments
mjs#
I suppose something that's unlikely to ever 404, and on a CDN that's "fast" for folks everywhere in the world would be best, so upload.wikimedia.org is a good choice.
throwanem2 replies#
Scanning the visitor's /24 without notice, warning, or opportunity to opt out is a dick move. Our IDS probably just lit up like a Christmas tree.
dsl2 replies#
Yup. I have a honeypot on my home network that hits Twilio when it gets poked at. So the author at least got my phone to light up.
ndmrs1 reply#
That sounds awesome, care to share a few more details?
dsl2 replies#
I actually locked myself out except for console access, so some of this is from memory/Googling:

1. Connect Raspberry Pi to local LAN and get wifi setup (I VLAN wireless traffic, so I have it listening/connected to both)
2. Change iptables default policy to DROP
3. Add relevant ALLOW rules to make sure basic stuff like DHCP still works. I added an allow rule to talk to another machine that runs a PHP script that talks to Twilio
4. Spend about a week adding custom DROP rules for any normal broadcast traffic on your network (Bonjour, random auto-discovery stuff, etc)
5. If you have properly excluded everything "normal" you should be able to run "iptables -vL" about 24 hours apart and the packet count next to the INPUT chain policy will not have incremented (remember we have a default of DENY)
6. Add a final rule of 'iptables -A INPUT -m limit --limit 2/min -j LOG --log-prefix "ZOMG: " --log-level 4'
7. Write a bash script to monitor syslog, parse the log, forward to the before-mentioned script on another host

Continue this thread — 2 replies

tlrobinson#
At least you know it's working!

But yeah, I echo the other commenter wanting to know more about how you set that up.

Capira2 replies#
Sorry! Didn't think about that. It is fixed.
msane3 replies#
You should leave it in, if the whole point is to demonstrate the capabilities.

It's incredible that a webpage can do that.

IE6#
Agreed - good on OP to raise awareness.
dikaiosune1 reply#
I think a button would be more appropriate. Not everyone reads HN on a network they control and port scanning one's neighbors can lead to some unpleasant conversations.

Continue this thread — 1 reply

toomuchtodo3 replies#
> It's incredible that a webpage can do that.

How so? Any site you navigate to knows your IP, and can take action based on that.

Continue this thread — 3 replies

gregsadetsky1 reply#
You should also fix the copy. You have "To prevent your browser from accessing your Device Orientation use NoScript." appear twice, the second time under "Network Scan".

Congrats on the page!

Capira#
Thanks for the bug report! It is fixed ;)
chrismartin2 replies#
Someone should make a smartphone app version of this to demonstrate what is accessible via the app permissions that most people just blindly accept at install time.

"Here are all the nudie pics on your phone as identified by our nudity detection algorithm. Here is a list of your probable work and family contacts. Here is the MMS that you really don't want this app to send on your behalf!"

Pwngea#
That's probably against Apple's app guidelines.
stephenr1 reply#
I'm guessing you're talking about android?

Apps on iOS don't prompt for permissions at install they prompt when they try to access something, eg photos, contacts, etc

mkevac2 replies#
They do that on Android too now.
nitrogen1 reply#
Uselessly so; many apps just crash if you deny them permissions. I'm looking at you, Hue.

Continue this thread — 1 reply

chrismartin#
Only for the very latest versions of Android OS that most people don't have and probably won't for several years due to Android's software distribution model.

Outside our tech filter bubble where we upgrade to a new flagship phone every year, millions of people use low-cost, prepaid, or hand-me-down phones that have long been on the market, and stopped receiving software updates years ago through the broken supply chain of AOSP -> device mfr -> carrier.

strooper2 replies#
I didn't realize that browser would spill my local IP address, or might be able to scan local devices in the same network. Shouldn't browsers have settings to enable/disable access to device sensors or data?
anonymfus#
That's the power of WebRTC.
mirimir#
One might view HTML5 as an exploit package ;)

Load more comments