Home page logo
/
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News

Sponsors


File sip-enum-users

Script types: portrule
Categories: auth, intrusive
Download: http://nmap.org/svn/scripts/sip-enum-users.nse

User Summary

Enumerates a SIP server's valid extensions (users).

The script works by sending REGISTER SIP requests to the server with the specified extension and checking for the response status code in order to know if an extension is valid. If a response status code is 401 or 407, it means that the extension is valid and requires authentication. If the response status code is 200, it means that the extension exists and doesn't require any authentication while a 403 response status code means that extension exists but access is forbidden. To skip false positives, the script begins by sending a REGISTER request for a random extension and checking for response status code.

Script Arguments

sip-enum-users.users

If set, will also enumerate users from userslist file.

sip-enum-users.minext

Extension value to start enumeration from. Defaults to 0.

sip-enum-users.userslist

Path to list of users. Defaults to nselib/data/usernames.lst.

sip-enum-users.padding

Number of digits to pad zeroes up to. Defaults to 0. No padding if this is set to zero.

sip-enum-users.maxext

Extension value to end enumeration at. Defaults to 999.

passdb, unpwdb.passlimit, unpwdb.timelimit, unpwdb.userlimit, userdb

See the documentation for the unpwdb library.

Example Usage

nmap --script=sip-enum-users -sU -p 5060 <targets>

nmap --script=sip-enum-users -sU -p 5060 <targets> --script-args
'sip-enum-users.padding=4, sip-enum-users.minext=1000,
sip-enum-users.maxext=9999'

Script Output

5060/udp open sip
| sip-enum-users:
|   Accounts
|     101: Auth required
|     120: No auth
|   Statistics
|_    Performed 1000 guesses in 50 seconds, average tps: 20

Requires


Author: Hani Benhabiles

License: Same as Nmap--See http://nmap.org/book/man-legal.html

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
AlienVault