News for hackers. Stuff that matters.
Re:MASSCAN: Mass IP port scanner by rocgf on Wednesday August 10, 2016 @08:12AM (#12261036)
Don't get me wrong, I think this is some great coding, but I'm just wondering... what might be a legal/ethical use this? I'm thinking that most companies own at most a couple thousand machines, so something more traditional like nmap might do just fine.
Re:MASSCAN: Mass IP port scanner by zimbatm on Wednesday August 10, 2016 @08:34AM (#12261160)
Vulnerable devices are vulnerable. It doesn't matter if this tool exists they are eventually going to found out. Just look at shodan.io to get an idea.

What this does is allow security researchers to better assess the vulnerability of the Internet as a whole. We need a better understanding of what's going on.

You could be a white knight and patch vulnerable devices using that very same security hole. In fact I would really enjoy having our governments offering this as a service instead of spending so much energy on attacking the others (or at least notify the owner).

Re:MASSCAN: Mass IP port scanner by zorked on Wednesday August 10, 2016 @08:19AM (#12261069)
There's nothing unethical in port scanning.
Re:MASSCAN: Mass IP port scanner by Intermernet on Wednesday August 10, 2016 @08:33AM (#12261157)
I agree with you, although many years ago I got an official warning from the head of IT security at the university I was attending (and working at the computer labs) for allowing a friend of mine to run a port scanning script across a large portion of the allocated IPv4 address space. Apparently they'd had complaints... They saw the ethics of port scanning as a grey area, tending towards black.
Re:MASSCAN: Mass IP port scanner by eumoria on Wednesday August 10, 2016 @10:19AM (#12261923)
I don't really see that. An open port is a door on your house. I'm free to walk down the street and look at your door as I please. I may also knock on it as long as I'm not banging on it for 10 minutes or something. However if I then try to pick the lock and enter your house, well then...

EDIT: It's not a perfect analogy but if you have a system that can be publicly accessed, just seeing that it's publicly available isn't a grey area to me that's all.

Re:MASSCAN: Mass IP port scanner by modoc on Wednesday August 10, 2016 @10:27AM (#12261996)
To be fair, if you come to my house, and turn my door knob to see if it's open or locked, and then start checking all my windows to see if they open or are locked, then we're going to have trouble...
Re:MASSCAN: Mass IP port scanner by eumoria on Wednesday August 10, 2016 @11:37AM (#12262528)
Can I drive my car through the side? What would be the digital version of that?
Re:MASSCAN: Mass IP port scanner by d0ugie on Wednesday August 10, 2016 @11:56AM (#12262688)
Why the need every time this comes up to compare it to looking at doors from the sidewalk while walking our dogs? We're geeks, we understand what portscanning is well enough to form our own conclusions as to whether it is more right than wrong.

Conversely, we don't need a pedestrian ethicist to conceptualize looking at doors by asking us to think about walking around and observing houses innocently as being somehow congruent to portscanning. Analogies offer similarities, not equations.

Re:MASSCAN: Mass IP port scanner by teddyh on Wednesday August 10, 2016 @10:34AM (#12262052)
The ports = doors analogy fails: For doors you are supposed to enter, like shops, there are signs to let you know that it’s OK to enter them. There are no such things for ports. There were, once upon a time, such a thing; an enumerated list, in a DNS “WKS” record, of ports you were expected to use. As part of the deprecation of the WKS record, RFC 1123 states “To confirm that a service is present, simply attempt to use it.”.
Re:MASSCAN: Mass IP port scanner by cmdrfred on Wednesday August 10, 2016 @10:40AM (#12262092)
“To confirm that a service is present, simply attempt to use it.”

Isn't the inverse of that true as well? If you don't want someone using a port, close it.

Re:MASSCAN: Mass IP port scanner by teddyh on Wednesday August 10, 2016 @10:49AM (#12262168)
If you by “close it” mean “don’t have something listening on it”, then yes.
Re:MASSCAN: Mass IP port scanner by cmdrfred on Wednesday August 10, 2016 @11:01AM (#12262257)
I feel close is a better word. Not only is it far more concise. The port still may have a listener that can be accessed over a VPN or internal network you might just prevent access at the edge firewall for example.
Re:MASSCAN: Mass IP port scanner by Intermernet on Wednesday August 10, 2016 @11:14AM (#12262351)
I think (hope) attitudes are changing on this. 15 to 20 years ago it was assumed in management circles that scanning for open ports was nefarious. These were the people who believed in security by obscurity.

These days I hope people realize that the equivalent of "lock the front door, but leave the back door open" isn't viable.

Also, the door analogy is (as other commenters have pointed out) flawed. Should an open port be translated as a door you can knock at or ring the bell, a door you can open, or just a door you can see. I personally agree that "An open port is a door on your house" but others see it as one you've just knocked on, and others see it as one you've willfully tried to break into.

The informedness of the port owner will define how they interpret the port scan.

Re:MASSCAN: Mass IP port scanner by res0nat0r on Wednesday August 10, 2016 @10:28AM (#12262005)
You will get in trouble for port scanning without permissions so I would be careful.

For example on AWS you can do so but need permission first.

https://aws.amazon.com/security/penetration-testing/

Re:MASSCAN: Mass IP port scanner by dcuthbertson on Thursday August 11, 2016 @09:11AM (#12267897)
How about an art gallery analogy? Consider the internet a giant art gallery, where open ports are doorways that one may walk through. Closed ports are closed doors, perhaps only open to certain patrons. Still others are closed to everyone.
Re:MASSCAN: Mass IP port scanner by cmdrfred on Wednesday August 10, 2016 @08:20AM (#12261075)
If knowing that a certain port is open at a certian ip address compromises your security, you have already lost in my opinion. Anything that deofuscates secuity though obscurity is a good thing.
Re:MASSCAN: Mass IP port scanner by stevekemp on Wednesday August 10, 2016 @08:29AM (#12261127)
Agreed.

The last time I was involved in anything like this I used zmap to scan for open rsync shares. Without wanting to be click-baity the results shocked me!

https://blog.steve.fi/Secure_your_rsync_shares__please_.html