Portcullis Labs - Mark http://labs.portcullis.co.uk Labs Portcullis updates. en Labs portcullis Thu, 27 Nov 2008 10:18:48 GMT http://backend.userland.com/rss 60 Labs Portcullis hhttp://labs.portcullis.co.uk/mg/logo.gif http://labs.portcullis.co.uk udp-proto-scanner | Content Wed, 26 Nov 2008 16:23:36 GMT http://labs.portcullis.co.uk/application/udp-proto-scanner/ <p>udp-proto-scanner.pl discovers UDP services by sending triggers to a list of hosts:</p> <pre> $ udp-proto-scanner.pl -f ips.txt $ udp-proto-scanner.pl 10.0.0.0/16 172.16.16.1 192.168.0.1 $ udp-proto-scanner.pl -p ntp -f ips.txt </pre> <p>The probe names (for -p) are defined in udp-proto-scanner.conf. List probe names using the -l option:</p> <pre> $ udp-proto-scanner.pl -l </pre> <h2>What's it Used For?</h2> <p>It's used in the host-discovery and service-discovery phases of a pentest.<br /> <br /> It can be helpful if you need to discover hosts that only offer UDP services<br /> and are otherwise well firewalled - e.g. if you want to find all the DNS<br /> servers in a range of IP addresses. Alternatively on a LAN, you might want<br /> a quick way to find all the TFTP servers.<br /> <br /> Not all UDP services can be discovered in this way (e.g. SNMPv1 won't respond<br /> unless you know a valid community string). However, many UDP services can be<br /> discovered, e.g.:</p> <ul> <li>DNS</li> <li>TFTP</li> <li>NTP</li> <li>NBT</li> <li>SunRPC</li> <li>MS SQL</li> <li>DB2</li> <li>SNMPv3</li> </ul> <h2>It's Not a Portscanner</h2> <p>It won't give you a list of open and closed ports for each host. It's simply<br /> looking for specific UDP services.</p> <h2>Efficiency</h2> <p>It's most efficient to run udp-proto-scanner.pl against whole networks (e.g.<br /> 256 IPs or more). If you run it against small numbers of hosts it will seem<br /> quite slow because it waits for 1 second between each different type of probe.</p> <p>One cool feature of udp-proto-scanner is that it doesn't load the whole host list <br /> into memory. Therefore if you want to scan 17 million IPs, you can. It'll <br /> take a while, but you won't run out of memory.</p> <h2>Credits</h2> <p>The UDP probes are mainly taken from amap, nmap and ike-scan.<br /> Inspiration for the scanning code was drawn from ike-scan.<br /> Net::Netmask by David Muir Sharnoff is included in this tool.</p> http-dir-enum | Content Fri, 28 Mar 2008 16:49:57 GMT http://labs.portcullis.co.uk/application/http-dir-enum/ <p>http-dir-enum is a tool for finding content that is not linked on a website. Its main use is for finding directories that exist on a server. Simply provide a dictionary file and a URL.</p> <p>This tool is written in PERL and uses the LWP library.</p> <p>Features include:</p> <ul> <li>Automatic detection of which HTTP response code to ignore (normally 404, but can vary on some sites)</li> <li>Support for bruteforcing Files and Directories</li> <li>Can search for directories recursively</li> <li>Proxy support</li> <li>Support for HTTP Basic Authentication</li> <li>Support for sending custom cookies</li> <li>Save scan output in XML format</li> <li>Command line (lack of GUI is a feature, not a bug)</li> <li>Mutli-threading for extra speed</li> <li>HTTP keep alive support for extra speed (can be turned off)</li> </ul> <p>Check out the <a href="/content/http-dir-enum/usage/">usage</a> page for a full list of options. There are also lots of <a href="/content/http-dir-enum/examples/">examples</a> to get you started.</p> enum4linux | Content Tue, 16 Sep 2008 11:29:28 GMT http://labs.portcullis.co.uk/application/enum4linux/ <p>Enum4linux is a tool for enumerating information from Windows and Samba systems. It attempts to offer similar functionality to enum.exe formerly available from www.bindview.com.<br /> <br /> It is written in PERL and is basically a wrapper around the Samba tools smbclient, rpclient, net and nmblookup. The samba package is therefore a dependency.<br /> <br /> Features include:</p> <ul> <li>RID Cycling (When RestrictAnonymous is set to 1 on Windows 2000)</li> <li>User Listing (When RestrictAnonymous is set to 0 on Windows 2000)</li> <li>Listing of Group Membership Information</li> <li>Share Enumeration</li> <li>Detecting if host is in a Workgroup or a Domain</li> <li>Identifying the remote Operating System</li> <li>Password Policy Retrieval (using <a href="/application/polenum/">polenum</a>)</li> </ul> <p>Check out the <a href="/content/enum4linux/usage/">usage</a> page for a full list of options. There are also lots of <a href="/content/enum4linux/examples/">examples</a> to get you started.</p>