###############################################################################
# $Id: autoremark,v 1.6 2010/05/03 14:12:33 frank_breedijk Exp $
###############################################################################
# Automatically add comments to certain findings
# Format:
# plugin no <TAB> regexp <TAB> Text to add to remark
# Everything after a # is ignored.
# If Regexp starts with a ! the text is added when the regexp is not found
#
# SSL Ciphers
21643	Low Strength Ciphers		Low Strength Ciphers found
21643	Medium Strength Ciphers		Medium Strength Ciphers found
21643	!High Strength Ciphers		No High Strength Ciphers found
21643	SSLv2				Broken protocol SSLv2 used
# Nikto
14260	X-Powered-By header\: ASP\.NET	X-Powered-By header: ASP.NET
14260	Directory indexing is enabled	Directory listing enabled
14260	\.DS_Store			Apple OsX .DS_Store file found
14260	X-Powered-By header\: PHP	expose_php = On
14260	X-AspNet-Version\: 		Exact ASP.Net version exposed via headers
14260	MicrosoftSharePointTeamServices\:	Exact SharePoint Team Services version exposed via headers
# HTTP config
24260	X-Powered-By\: ASP\.NET		X-Powered-By header: ASP.NET
24260	X-Powered-By header\: PHP	expose_php = On
24260	X-AspNet-Version\: 		Exact ASP.Net version exposed via headers
24260	MicrosoftSharePointTeamServices\:	Exact SharePoint Team Services version exposed via headers
24260	Server\: squid\/\d+		Exact squid version disclosed
# ICMP Timestamp
10114	The difference between the local and remote clocks is \-?\d\d+ seconds	Unschynronized clock suspected
# SSL certificate
10863	Issuer\:.*?CN\=www\.cisco\.com	Cisco Self Signed Certificate
10863	Issuer\:.*?CN\=.*?schubergphilis\.com	SBP Self Signed Certificate
10863	Issuer\:.*?Internet Widgits Pty Ltd	Internet Widgits Pty Ltd Self Signed certificate
10863	Issuer\:.*?VeriSign		Verisign Certificate
10863	Issuer\:.*?Thawte		Thawte Certificate
10863	server also accepts SSLv2	SSLv2 used
10863	Subject\: CN=\d+\.\d+\.\d+\.\d+	CN is IP address
10863	SSLv2 server certificate	SSLv2 used
# Webserver version
10107	Apache\/\d+			Apache discloses exact version - Check if recent
10107	squid\/\d+			Squid discloses exact version - Check if recent
10107	Zues\/\d+\.\d+			Zues discloses exact version - Check if resent
10107	Virata-EmWeb\/R\d+		CSS Webserver discloses exact version - Check if recent
10107	MiniServ\/\d+\.\d+\\r		It seems like you have Linux WebMin installed (or another product using MiniServ). Tisk Tisk
10107	Indy/(\d\.)+\\r			Indy webserver may indicate teamspeak if running on port 14534
10107	!(Apache|IIS|Coyote|squid|Zeus)	Exotic webserver
10107	IIS				IIS
10107	Apache				Apache
10107	Coyote				Coyote
10107	squid				Squid
10107	Zues				Zues
# Service detection
10330	The service closed the connection after 0 seconds	TCP Wrapped
# Portscanner
Portscanner	27015\/tcp		Counterstrike?
Portscanner	51234\/tcp		TeamSpeak?
# 10267 SSH authentication modes
10267	SSH supported authentication \: publickey\\n	Supporting only pubkey as authentication is a tradeoff as it enables an attacker to determine if a username is present on the system
# 22964 Serivce detection
22964	SSLv2				Broken protocol SSL v2 used
# Audit files
21157   \[FAILED\]                      Failed audit item
21157   !\[FAILED\]                     Passed!

