|
| 35. Big Nmap Services Update |
|
Here's the CHANGELOG entry from Nmap 4.68: o Doug integrated all of your version detection submissions and corrections for the year up to May 31. There were more than 1,000 new submissions and 18 corrections. Please keep them coming! And don't forget that corrections are very important, so do submit them if you ever catch Nmap making a version detection or OS detection mistake. The version detection DB has grown to 5,054 signatures representing 486 service protocols. Protocols span the gamut from abc, acap, access-remote-pc, activefax, and activemq, to zebedee, zebra, zenimaging, and zenworks. The most popular protocols are http (1,672 signatures), telnet (519), ftp (459), smtp (344), and pop3 (201). Thanks to everyone who contributed! This one is interesting. Open up a shell and run "GET / HTTP/1.0" (without the quotes). match backdoor m|^<HTML>\n<HEAD>\n<TITLE>Directory /</TITLE>\n<BASE HREF=\"file:/\">\n</HEAD>\n<BODY>\n<H1>Directory listing of /</H1>| p/No-auth shell/ i/**BACKDOOR**/ o/Unix/ It always surprises me that it is still common for Nmap to crash poorly written devices. Note to device developers: Please run Nmap on your device before releasing it--someone else out there will, guaranteed. Notes: Telnet management port on Siemens C2-010-I ADSL2+ modem with firmware R100B01.0B_HN_20060406. The -sV scan makes the device crash! :) Notes: Belkin Network USB Hub F5L009ea Device crashes during nmap -A run Here are some interesting misconfigurations. Unknown imapd: Port 993-TCP V=4.53 ---------- NULL ---------- "\* BYE Fatal error: tls_init\(\) failed\r\n" Unknown smtpd: ---------- NULL ---------- "421 Cannot connect to SMTP server 127\.0\.0\.1 \(127\.0\.0\.1:25\), connect error 10061\r\n" Oops: ---------- NULL ---------- "python: can't open file '/usr/sbin/gandiagent\.py': \[Errno 2\] No such file or directory\n" Really oops: match ftp m|^.* klogd: klogd started: BusyBox v([\w-_.]+) \(.*\)\r\nDoing BRCTL \.\.\.\r\nsetfilter br0 0 \r\n/var/tmp/act_firewall: No such file or directory\r\n| p/Actiontec router ftpd/ i/firewall broken; BusyBox $1/ d/broadband router/ Backdoors can be misconfigured too: match backdoor m=^exec .* failed : No such file or directory\n$= p/failed netcat -e/ i/**BACKDOOR**/ Fingerprinting by typos: match http m|^HTTP/1\.0 302 Found\r\nLocation: /login\.app\r\nContent-Lenght: 0\r\n\r\n$| p/NetXMS httpd/ I think this one wins the prize for least compliant HTTP/1.1 server ever: match http m|^HTTP/1\.1 200 OK\r\nCONTENT-LANGUAGE:\r\nCONTENT-LENGTH: 0\r\nCONTENT-TPYE: text/xml\r\nDATE: .*\n\r\n\r\n\(null\)| p/Syabas Popcorn Hour http config/ d/media device/ Notes: its a friggin bindshell, detect it Arrrggghhh.. 4.11 is like 2+ years old, upgrade it. I'm getting tired of pointing out this bit of information leakage: match telnet m|^\r\nSorry, this system is engaged by a rlogin session\.\r\nHost IP address: ([\d.]+)\.\nLogin name: ([\w-_.]+)\.\n| p/3Com LANplex switch telnetd/ i/in use by $2 from $1/ d/switch/ And of course, the gallery of funny or otherwise noteworthy fingerprints:
|
| 34. ISAAC |
|
Because my Common Lisp environment (CMUCL) doesn't come with a cryptographic pseudo-random number generator (PRNG), I have implemented Bob Jenkins's excellent ISAAC algorithm in ANSI standard Common Lisp. Download it here: isaac.lisp. ;; isaac.lisp (C) May 2008 Doug Hoyte, HCSW ;; BSD license: you can do anything you want with it (but no warranty). ;; ;; Optimised Common Lisp implementation of Bob Jenkins' ISAAC-32 Algorithm: ;; Indirection, Shift, Accumulate, Add, and Count. More details and ;; the C reference implementations can be found here: ;; ;; ISAAC: a fast cryptographic random number generator ;; http://burtleburtle.net/bob/rand/isaacafa.html ;; ;; This lisp implementation is roughly as fast as Jenkins' optimised rand.c ;; when compiled with a good native-code lisp compiler. It also performs ;; well when byte-code compiled. ;; ;; ;; USAGE: ;; ;; First, create an isaac context. There are three functions that do this: ;; ;; isaac:init-kernel-seed => Once again, here's the link: isaac.lisp. |
| 33. Q4'2007 Nmap Updates |
|
The fourth quarter of 2007 was big for Nmap. We had the first stable release in over a year: 4.50! I integrated many of your fingerprints for that release so some of the entries described here will be supported there. For the latest and greatest, you can find the probes file here or in the Nmap SVN repository. Thanks to everyone who submitted fingerprints, and keep em coming! The HP166XC Logic Analyzer developers seemed to have misinterpreted a field when setting up this ftpd (see the email address we're supposed to direct comments to). ---------- Help ---------- "220 HP166XC V01\.00 FUSION FTP server \(Version 3\.3\) ready\.\r\n214-The following commands are recognized \(\* =>'s unimplemented\)\.\r\n USER PORT RETR MSND\* ALLO\* DELE SITE\* MKD XCUP \n PASS\* PASV\* STOR MSOM\* REST\* CWD STAT\* XRMD CDUP \n ACCT\* TYPE APPE\* MSAM\* RNFR\* XCWD HELP RMD XDLS \n REIN\* STRU\* MLFL\* MRSQ\* RNTO\* LIST NOOP XPWD \n QUIT MODE MAIL\* MRCP\* ABOR\* NLST XMKD PWD \n214 Direct comments to ftp-bugs@ HP166XC V01\.00\.\r\n" These HP Logic Analyzers are strange devices. The HP 1662C seems to echo the data backwards! Port 818-TCP V=4.11 ---------- GenericLines ---------- "\r\n\r\x1f\r\n" ---------- GetRequest ---------- "\r\n\r0\.1/PTTH / TEG!\r\n" ---------- HTTPOptions ---------- "\r\n\r0\.1/PTTH / SNOITPO%\r\n" VMS, still alive and kicking (ah, fond memories.. The first time I used the internet it was on a VMS VAX). match ftp m|^211 Hello \[[\w-_.]+\], Secure/IP Authentication Server ([\w-_.]+) at your service\.\r\n| p|OpenVMS Secure/IP ftpd| v/$1/ o/OpenVMS/ Always fun to see protocols using non-English languages. Senha is Portugese for "password": ---------- GetRequest ---------- "\xff\xfd\x01\xff\xfd\x1f\xff\xfd!\xff\xfb\x01\xff\xfb\x03\r\r\nGET / HTTP/1\.0\r\n\r\n\x1b\[H\x1b\[JLogin: \[: /: unknown operand\r\nSenha: \[: /: unknown operand\r\n\x1b\[H\x1b\[JLogin: " And this unknown SMTPd is, I think, Italian. ---------- NULL ---------- "220 Server di posta generico\. Wed, 14 Nov 2007 10:28:56 \+0100\r\n" Another amusing (maybe it's just me?) language observation. Look at this product name: "DocuCentre Color". "Centre" is spelled british and "color" is spelled american. D'oh! match http m|^HTTP/1\.1 \d\d\d .*\r\nDocuCentre Color (\d+) -|s p/Fuji Xerox DocuCentre Color $1 http config/ d/printer/ Another WAP that proudly announces its default password to the world. Does anybody care about wireless security? (not Schneier!) match http m|^HTTP/1\.0 \d\d\d .*Server: Boa/([\w-_.]+) \(with Intersil Extensions\)\r\nConnection: close\r\nWWW-Authenticate: Basic realm=\"CONNECT2AIR AP-600RP-USB LOGIN Enter Password \(default is connect\)\"\r\n|s p/Fujitsu Siemens CONNECT2AIR AP-600RP-USB WAP http config/ d/WAP/ i/Boa httpd $1; default passwd "connect"/ And, of course, the gallery of funny or otherwise noteworthy submissions:
|