News for hackers. Stuff that matters.
Re:What is NMAP and how to use it? by matheusmoreira on Friday April 14, 2023 @11:56AM (#35570973)
> doing unwarranted nmap scans is considered network abuse

Why?

Re:What is NMAP and how to use it? by zamadatix on Friday April 14, 2023 @12:01PM (#35571039)
You'll often trip security/abuse systems since the traffic looks (and in many cases - is) the same as abusive traffic. If you go and trip those unannounced then there is usually even less sympathy to exclude you than if you ask if they can be bothered to exclude you before you go and start scanning.
Re:What is NMAP and how to use it? by matheusmoreira on Friday April 14, 2023 @12:05PM (#35571093)
It's just network connections. Why would they make a computer accessible to me if they don't want me connecting to it?
Re:What is NMAP and how to use it? by c0nsumer on Friday April 14, 2023 @12:36PM (#35571499)
Welcome to the age-old conversation which can well be analog'd as why would someone leave the front door of their house open if they didn't want you walking in? Or checking door knobs?
Re:What is NMAP and how to use it? by matheusmoreira on Friday April 14, 2023 @04:42PM (#35574472)
Except I didn't walk into anyone else's servers. I tried to talk to them. They can simply not answer. There's a clear boundary: the network.
Re:What is NMAP and how to use it? by yrro on Friday April 14, 2023 @12:24PM (#35571330)
Because your incompetent enterprise hired incompetent contractors (on an eye watering day rate) to migrate firewall rules from an old firewall to a new one, and they did so by running an incompetently-implemented automated tool in an in incompetent manner such that 4000 'allow' rules were moved over but that the source and destination address were set to 0.0.0.0/0...
Re:What is NMAP and how to use it? by zamadatix on Friday April 14, 2023 @12:14PM (#35571215)
There are two "they"s involved in the conversation but generally when using someone else's stuff the more apt question is "why should I have an expectation I can use their stuff however I want without limit".

For the "they" of your provider, who is held accountable for allowing abusive traffic, the goal is to provide you outbound connectivity but to do that they also need to ensure they don't get de-peered or their network ranges blocked for hosting abusive traffic. Even for things which don't transit a 4th party there is negative incentive to let your customers abuse each other just because the addresses are reachable. This almost always results in automated systems with limited incentive for good uses of port scanning to be allowed.

For the "they" of the end system is (most likely) they didn't make the entire system available to you, just some select services for use in a certain way (e.g. loading their website). Doing that does not provide them an obligation to continuously allow all traffic received at the address to be processed and it's very likely they'll just block you entirely as another layer of defense.

Re:What is NMAP and how to use it? by addingnumbers on Friday April 14, 2023 @12:17PM (#35571241)
The alerts tend to be geared more toward attempts to reach a secured system that isn't accessible to you.
Re:What is NMAP and how to use it? by creeble on Friday April 14, 2023 @12:28PM (#35571392)
DDoS attacks are “just network connections” too.
Re:What is NMAP and how to use it? by burnished on Friday April 14, 2023 @01:50PM (#35572450)
Have you tried seriously answering your own question?
Re:What is NMAP and how to use it? by kccqzy on Friday April 14, 2023 @01:52PM (#35572477)
> It's just network connections.

Stealing someone's bitcoin? It's just network connections. Logging in to some admin portal with default passwords? It's just network connections.

> Why would they make a computer accessible to me if they don't want me connecting to it?

Why would they write bugs in software if they don't want to write bugs?

Re:What is NMAP and how to use it? by matheusmoreira on Friday April 14, 2023 @02:14PM (#35572773)
None of your examples have anything to do with nmap though which in its most basic form is just connecting to ports to see if it works.
Re:What is NMAP and how to use it? by kccqzy on Friday April 14, 2023 @02:28PM (#35573011)
You didn't understand my comment. It's not about the specific thing (be it nmap or some other tool), it's about the intention behind using the tool.

The administrator of the network didn't intend to allow port scanning, but there were no technical measures (firewalls) to prevent it, and you did port scanning => you're wrong.

The writer of the access control software intended to have no bugs, but a bug slipped in to allow you to exploit it => you're wrong.

Re:What is NMAP and how to use it? by matheusmoreira on Friday April 14, 2023 @04:37PM (#35574407)
> it's about the intention behind using the tool

I just want to know what's out there.

> exploit

How is this exploitation in any way?

Re:What is NMAP and how to use it? by PeterisP on Friday April 14, 2023 @02:16PM (#35572810)
Because they're making it available to someone else, who (unlike you) is authorized to connect from anywhere in the world.
Re:What is NMAP and how to use it? by matheusmoreira on Friday April 14, 2023 @02:21PM (#35572890)
Then just reject the connection unless I can prove I'm that person.
Re:What is NMAP and how to use it? by tptacek on Friday April 14, 2023 @02:44PM (#35573199)
This is not how authorization to use other people's services work. In practice you're vanishingly unlikely (in the US at least) to get into legal trouble for port scanning, but if you take this logic to its conclusion --- a service exposes some capability without authentication, ergo you're authorized to use it --- you very definitely can get prosecuted.
Re:What is NMAP and how to use it? by funstuff007 on Saturday April 15, 2023 @01:25PM (#35582607)
> a service exposes some capability without authentication, ergo you're authorized to use it

How is this different from scraping publicly available websites? i.e. why would you get in trouble for one, but not the other?

Re:What is NMAP and how to use it? by matheusmoreira on Saturday April 15, 2023 @03:31PM (#35583834)
It's not different in any way. "Corporation doesn't like it when you do it" is apparently the number one cause of "trouble". Especially in the US where they can bankrupt you with legal fees even if they have no actual leg to stand on. Less so in other countries.
Re:What is NMAP and how to use it? by funstuff007 on Saturday April 15, 2023 @10:42PM (#35586771)
Who's getting bankrupted by legal fees over scraping these days--which has time and time again be declared not illegal.
Re:What is NMAP and how to use it? by matheusmoreira on Sunday April 16, 2023 @05:09AM (#35588425)
Anyone can be bankrupted by corporations over literally any bullshit claim. They can afford to lose in court and still win because their objective never was to win in the first place, it was to burn your money through legal fees. It's essentially abuse of the legal system by the rich to keep the poors in line.

Big companies with deep pockets will even bankrupt other companies this way. For an example, look at how Sony sued playstation emulator companies over the most bullshit claims possible, got an injunction, killed their profits and then it didn't matter that they lost in court afterwards. In my country, the judge would have estimated the profits the smaller player lost as a result of Sony's frivolous lawsuit and forced them to pay it all back on top of the legal fees.

Re:What is NMAP and how to use it? by funstuff007 on Sunday April 16, 2023 @08:20AM (#35589357)
Yes, your examples make sense in their own context, but are not relevant to the case of scraping publicly available data.

In short, who's getting put out of business for redisplay or derived data uses of publicly available data?

Re:What is NMAP and how to use it? by tptacek on Saturday April 15, 2023 @09:23PM (#35586388)
Because the offense turns on intent, not on a simple factual case you can rattle off on a message board.
Re:What is NMAP and how to use it? by wwalexander on Friday April 14, 2023 @02:51PM (#35573275)
“It’s just jiggling a door handle. Why would they make a door accessible to me if they don’t want me jiggling the handle?”
Re:What is NMAP and how to use it? by matheusmoreira on Friday April 14, 2023 @04:38PM (#35574430)
More like a knock on the door to see if anyone answers.
Re:What is NMAP and how to use it? by jasonladuke0311 on Friday April 14, 2023 @02:18PM (#35572841)
For the same reason that walking around pulling on car door handles might be considered “suspicious behavior”
Re:What is NMAP and how to use it? by matheusmoreira on Friday April 14, 2023 @02:20PM (#35572875)
Suspicious, OK. Straight up abuse, though?
Re:What is NMAP and how to use it? by tptacek on Friday April 14, 2023 @02:43PM (#35573181)
Yes. People have alerts set up on portscanning, both inbound (to detect recon attempts) and outbound (to detect compromised/abusive internal hosts). There are lots of legitimate reasons to do large-scale network surveys, but you have to be careful about them, because they are also strong abuse signals --- meaning: when providers go after people who are port scanning, more often than not it turns out that the port scanning source was in fact clearly abusive.
Re:What is NMAP and how to use it? by nobody9999 on Friday April 14, 2023 @09:38PM (#35576870)
>Suspicious, OK. Straight up abuse, though?

Depending on the situation, it could be.

While not an issue any longer (well, at least for those without data caps -- man do I hate those!), ~30 years ago I worked for a network equipment manufacturer as an integrator/tester/3rd level support guy (yes, it was a small company) and was testing our IP stack.

I got the (not so) bright idea of running continuous pings to random IP addresses (changing them every couple days) to verify stability and identify possible memory leaks.

One of the addresses was someone in Australia who was charged by the byte (or packet...it was a long time ago) and after a day or two, we received some very angry telephone calls from them. Oops.

This person (and rightly so) felt I was abusing their internet link, even though I didn't know or care about them or the contents of their network.

Like I said, this isn't (or at least not for the most part) an issue any more, nor is it something more intrusive than port scanning, but it points up the idea that "abuse" is not a black and white thing.

Run port scans against my IP addresses and the absolute worst that might happen is me scanning you right back (yes, I know, that sort of thing is generally frowned upon. So sue me -- nobody has yet).

Run those same scans against government/military sites and you may well soon have a knock (or a battering ram) on your door.

Context matters.

Re:What is NMAP and how to use it? by Already__Taken on Sunday April 16, 2023 @08:19AM (#35589353)
I scanned a school network once and printed about 40 pages of http request on every printer. I think turned out you just send anything on 9100 and it prints. I think it was nmap trying to detect the host with a query.