Live data from Hacker News

Why Is This Website Port Scanning Me?

nullsweep.com

431–440 of 448 posts

Re: Why Is This Website Port Scanning Me?

#431
post #322

Earlier quoted context omitted.

Outside of DNS, the other reasons are about local networks, not 127.0/8. There's no good reason to permit port-scanning 127.0/8.

So remove "port scanning" since the only difference between port scanning and "legitimate" connection attempts is rate. Should websockets be able to connect to the local machine? In some cases that could be useful (even if something the kinds of people visiting this site might be uncomfortable with). E.g., a local daemon that listens for a websocket connection and a public web page that's used for managing it. I don'…

It can ask user explicitly like it asks for microphone. It is not common for a website page to need access to the local network services as it is to record microphone or request location data. So it's browser fault IMO.

Re: Why Is This Website Port Scanning Me?

#432

Earlier quoted context omitted.

Ach! That's diabolical.

Timing attacks make it very hard to prevent port/host probing generally, sadly, with the sheer number of things that are observably loaded cross-origin (iframes in that example, but also images, scripts, stylesheets…). (In the private/loopback IP ranges we should really just make those requests always fail, but I addressed that in another comment as to why that's not trivial.)

Private and loopback space should really be outside the sandbox, or at least in a permission. I'm happy with mycorp.net accessing 10/8 space, but not ebay.

Re: Why Is This Website Port Scanning Me?

#433
post #327

Earlier quoted context omitted.

Ublock origin says it supports ABP filter rules which allow for whitelisting sites which seems like it should allow something approximating: ~site.com$websocket *,~site.com$websocket However this seems like it's invalid syntax because switching your example to this opens all websocket use back up tested via https://websocketstest.com/

That is not valid ABP filter syntax. This is what you want: *$websocket,domain=~site1.com For more than a single site: *$websocket,domain=~site1.com|site2.com|... I would personally suggest people to just enable advanced user mode and create rules such as: * 127.0.0.1 * blocked To block all request attempts to 127.0.0.1.

Thanks for the information and all that you do. I had found the linked section from UBO to https://help.eyeo.com/en/adblockplus/how-to-write-filters#el... and assumed that *$websocket was similar to how other filters seem to work but I haven't delved too deeply in the rule syntax. Appreciate the correction.

Re: Why Is This Website Port Scanning Me?

#434
post #354

Earlier quoted context omitted.

Port scanning is a brute force, over-reaching probing technique. A better analogy would be like visiting a shopping mall and trying to open every closed door you see, including the ones that say "authorized personnel only", "private", "do not enter" with an excuse like "I was trying to find out which shop was open".

In a store you can read the sign. Where is the sign saying that the port is not for you?

Any port that is not advertised to you isn’t okay to probe.

Re: Why Is This Website Port Scanning Me?

#435
post #360
post #354

Earlier quoted context omitted.

Port scanning is a brute force, over-reaching probing technique. A better analogy would be like visiting a shopping mall and trying to open every closed door you see, including the ones that say "authorized personnel only", "private", "do not enter" with an excuse like "I was trying to find out which shop was open".

I answered an almost identical reply, here[1]. > including the ones that say "authorized personnel only", "private", "do not enter" Basically, to answer you separately, an analogy like that doesn't represent TCP accurately. In your analogy, you can 1) see from afar for visual cues indicating whether access is being given to you, and 2) try opening it. Your argument is that doing 2 is invasive, because they can do 1.…

Nope. Ports that you can use are already advertised to you: web links, MX records, registrar records, WSDLs etc. Enumerating all ports that aren’t advertised to you is an overreach.

Re: Why Is This Website Port Scanning Me?

#436
post #391
post #354

Earlier quoted context omitted.

Port scanning is a brute force, over-reaching probing technique. A better analogy would be like visiting a shopping mall and trying to open every closed door you see, including the ones that say "authorized personnel only", "private", "do not enter" with an excuse like "I was trying to find out which shop was open".

> including the ones that say "authorized personnel only", "private", "do not enter" with an excuse like "I was trying to find out which shop was open". I don't think this part of the analogy is accurate. There are no "authorized personnel only" ports The first half of the analogy is good though.

Any port that isn’t advertised to you explicitly is an overreach. You don’t run through hosts and ports to “find out services to use”. What’s a legitimate use case for that other than peeping?

Re: Why Is This Website Port Scanning Me?

#437
post #248

> Port Scanning is Malicious Though port scanning can be (and maybe even frequently is) done with malicious intent by looking for misconfigured/bugged servers, I disagree that it's inherently malicious. Port scanning is just about checking to see what services a host is offering you. It's like going to a random shop at a mall and asking what services they provide. Would asking about their services be malicious? It fe…

I think the dynamics of the Internet have shifted from the early days. Basically, HTTPS on port 443 is pretty much the only service that anyone intends to make publicly available. This is different from 30 years ago, when those same sites had HTTP, FTP, Gopher, a public Telnet server, a public NTP server, etc. and they wanted you to use them. It was very reasonable to look around back then, but nowadays anything that…

I remember when finger (and even rsh!) were common.

Re: Why Is This Website Port Scanning Me?

#438
post #436
post #391

Earlier quoted context omitted.

> including the ones that say "authorized personnel only", "private", "do not enter" with an excuse like "I was trying to find out which shop was open". I don't think this part of the analogy is accurate. There are no "authorized personnel only" ports The first half of the analogy is good though.

Any port that isn’t advertised to you explicitly is an overreach. You don’t run through hosts and ports to “find out services to use”. What’s a legitimate use case for that other than peeping?

I used to think the exact same thing about wardriving.

Nobody should catalog wifi access points and their location!

Of course, now this ethical lapse is a business model and apple, google and everyone else does it. literally anyone with a smartphone is doing this to your wifi access point. And they will do the reverse to find out precise location.

Re: Why Is This Website Port Scanning Me?

#440
post #146

Every time I hear about some shiny new feature being added to a browser, I think... 1) Will I ever actually use this 2) How is this gonna screw me over WebSockets, WebBluetooth, WebAssembly, Web-You-Can-Access-my-Accelerometer-and-Battery, haven't ever wanted to use those. Ever. For anything. For any reason. (Edit 3: Oh yeah, I forgot! WebRTC!) Edit: Fantastic. You can't disable it in Firefox. So what, does Firefox n…

> Firefox also seemingly blocks access to 192.168/24 and 10/8. What about 172.16.0.0/12?

I remember when you could have a link to file:///etc/passwd and you could click on it, and the browser would load it.
Post reply on HN