Feature request: scanrule scripts

View: New views
2 Messages — Rating Filter:   Alert me  

Feature request: scanrule scripts

by Ron (list) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hey all,

I've mentioned this before, but I'm starting to accumulate ideas so I
figured I'd officially request it. I talked to Patrick a bit about it
today, and he thinks it wouldn't be too hard to implement.

Basically, I'm requesting something along the lines of Metasploit's
auxiliary modules -- these would be scripts that run once/scan, and
aren't associated with a specific host or port. Here are some uses I can
think of:
- Broadcast NetBIOS queries -- sending NetBIOS queries to
255.255.255.255 and getting responses from the whole subnet
- Broadcast DHCP queries -- sending DHCP requests to 255.255.255.255 and
seeing what responds
- Attack implementations against network infrastructure -- for example,
attempting to overwhelm a switch to see how it behaves
- Sniffer stuff -- sniffing for (x) seconds and identifying, say, URLs
in the sniffed traffic
- Sniffer: identifying network information (CDP or BGP or whatever)
- Running an evil daemon process (for example, a malicious dhcp server
or a malicious NetBIOS server)

The last couple are really out of the scope of Nmap's purpose, but I
think they're interesting, nevertheless. I think the broadcast stuff is
the most important part.

Comments would be appreciated.

Thanks!
Ron

--
Ron Bowes
http://www.skullsecurity.org/
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/

Re: Feature request: scanrule scripts

by Fyodor :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Nov 08, 2009 at 04:11:44PM -0600, Ron wrote:
> Hey all,
>
> I've mentioned this before, but I'm starting to accumulate ideas so I
> figured I'd officially request it. I talked to Patrick a bit about it
> today, and he thinks it wouldn't be too hard to implement.

It sounds like a good idea to me, as a complement to the existing port
rules and host rules.

Of course any script could emulate this by having a very low run
level, taking a mutex when it starts (to prevent several instances
from running at once), and then setting a registry key when it is done
and right before it releases the mute.  Then it would simply not run
again if it sees that key set.

I agree that a more formal scan rule system would be better though,
particularly from a clean output perspective.

Cheers,
-F
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/