Port scanning question...
...I admin a public network, a wireless network in a coffeehouse, and every few months it gets really slow due to some hanger-ons infected with spyware or trojans, or maybe they're doing a download thing. I've been able to quickly resolve the issue by running a series of port scans, picking up the offending MAC addresses, then giving them the boot via the router program. What I've noted after doing this a few times though is that I'm missing some of the computers I know are on the network and assume this to be due to the presence of a firewall on those machines. They're just downright inivisible to Angry IP and GFI Languard. Is there a way to port scan the network and pick up these 'invisible' computers? I've experimented with running Ethereal, but it doesn't work with my wireless card in any kind of promiscous mode. Would nmap or netcat pick up these firewalled boxes? I guess I could go into the router and clear the DHCP table, then refresh it and see who's on, but I prefer the network tools. Thanks.
The legality of port scanning...
...it's probably legal if it's part of your job.
http://seclists.org/lists/nmap-hacke...-Jun/0011.html
Then again, our legal system's so convoluted, you never really know.
Anyway, getting back to my original question...
...how would you audit a small public network like a coffeehouse LAN? The two computers I filtered at the router both had much slower ping times than the others visible to Angry IP (35ms and 80ms) so I figured something was up. And sure enough, once I filtered (disabled) those two MAC addresses, internet access returned to normal for everybody else. As you may surmise, we've had this problem before. My buddy's solution (the owner) has been to powercycle the router and the modem, which works for a short time, but is no real solution. We know the offending computers belong to a youth ministry upstairs as we've been through this before with them. In fact, I'll probably be through there tomorrow, coaching them once again on good computer hygiene (no porn sites, guys, and no music downloads). The fact is, the owner's very appreciative of my help (I get results) and I make every effort to explain to him what I'm doing. I haven't crashed or harmed anyone's computer as far as I know in the hundreds of scans I've run, even on my own systems. Doing harm is not my intent at all. Enabling WEP is no real solution either as the offenders would have the key (they're on the network by the owner's permission).
p.s.--don't worry MsMittens, if anyone's life's at stake, there's plenty of Ye Olde Analog Phones hardwired into the office upstairs. 911 works fine on older phones. ;)
Think I'll stick w/ the command line version...
...makes me look like a genius 'round my friends.
Well, I guess all I can do to find the stealthed computers on the network is to run ethereal off a regular nic and look at the ARP table. Ethereal just does not like my wireless card. No big deal, got 'er licked for now. I did some experimenting w/ ZoneAlarm on my office network. It does a very good job of stealthing, as does XP's built-in forewall (believe it or not).
Don't know if that's exactly right...
...it's probably more accurate to say it's a private network available to the public. And who knows what goes on when you got half-a-dozen users hangin' around?
Me? I ALWAYS assume I might be scanned at any time, big deal. I'm inured of this stuff anymore since I've delved deeper into networking and firewalls. Personally, I don't consider scans to be intrusive, and apparently the courts agree. That may change though, and certainly it's considered unethical in some circles. But hey, you got to admin the network somehow.
Sheesh, you should see the software, like IRIS, that the big boys use on those corporate networks. Yow, they can read ANYTHING. I even had a guy hire me to install keyloggers once on his network of five computers. I had mixed feelings about doing that job, but they're his computers and that's what he wanted. The guy was a control freak. Fortunately for his employees, reading the logs was too time-consuming and he was a putz. Thought I'd never say this, but there is no privacy (unless you know what you're doing and are willing to work for it). Welcome to the real world...