<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>(-) HatSecurity.com &#187; compliance</title>
	<atom:link href="http://hatsecurity.com/category/compliance/feed/" rel="self" type="application/rss+xml" />
	<link>http://hatsecurity.com</link>
	<description>../something for all Hats</description>
	<lastBuildDate>Sat, 07 Mar 2009 15:33:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Dodgy domain registrar de-accredited by ICANN</title>
		<link>http://hatsecurity.com/2008/10/30/domain-registrar-de-accredited-by-icann-on-charges-of-fraud/</link>
		<comments>http://hatsecurity.com/2008/10/30/domain-registrar-de-accredited-by-icann-on-charges-of-fraud/#comments</comments>
		<pubDate>Thu, 30 Oct 2008 21:51:20 +0000</pubDate>
		<dc:creator>Tahir</dc:creator>
				<category><![CDATA[compliance]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[fraud]]></category>

		<guid isPermaLink="false">http://hatsecurity.com/?p=234</guid>
		<description><![CDATA[The Internet Corporation for Assigned Names and Numbers (ICANN) has terminated its Registrar Accreditation Agreement (RAA) with EstDomains.com after the President of the company was convicted for credit card fraud, money laundering and document forgery. This comes as welcome news by the cyber security community as EstDomains.com has been used by cyber criminals for years to hide their [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-235" title="estdomains" src="http://hatsecurity.com/wp-content/uploads/2008/10/estdomains.jpg" alt="" width="211" height="64" />The Internet Corporation for Assigned Names and Numbers (ICANN) has terminated its Registrar Accreditation Agreement (RAA) with EstDomains.com after the President of the company was convicted for credit card fraud, money laundering and document forgery.</p>
<p>This comes as welcome news by the cyber security community as EstDomains.com has been used by cyber criminals for years to hide their identities and conduct various malicious activities such as using domains for bot command &amp; control servers, drive-by downloads as well as spamming.</p>
<p>Here are some links of interest that provide more information on this story:</p>
<p>1. F-Secure Weblog - <a href="http://www.f-secure.com/weblog/archives/00001522.html" target="_blank">&#8220;Case EstDomains&#8221;</a> <br />
2. The Washington Post Company &#8211; <a href="http://voices.washingtonpost.com/securityfix/2008/10/icann_de-accredits_estdomains.html" target="_blank">&#8220;ICANN De-Accredits EstDomains for CEO&#8217;s Fraud Convictions&#8221;</a><br />
3. Notice sent to EstDomains.com by ICANN <a href="http://www.icann.org/correspondence/burnette-to-tsastsin-28oct08-en.pdf" target="_blank">(pdf)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hatsecurity.com/2008/10/30/domain-registrar-de-accredited-by-icann-on-charges-of-fraud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Metasploit: DNS exploit code now available</title>
		<link>http://hatsecurity.com/2008/07/25/metasploit-dns-explot-dan-kaminsky/</link>
		<comments>http://hatsecurity.com/2008/07/25/metasploit-dns-explot-dan-kaminsky/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 11:33:09 +0000</pubDate>
		<dc:creator>Tahir</dc:creator>
				<category><![CDATA[compliance]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[dns exploit]]></category>
		<category><![CDATA[exploit]]></category>

		<guid isPermaLink="false">http://hatsecurity.com/?p=49</guid>
		<description><![CDATA[Metasploit team has published two modules that exploit the recently announced DNS flaw. These are named &#8220;DNS BailiWicked Host Attack&#8221; for injecting individual uncached host records into the target nameserver&#8217;s cache, and &#8220;DNS BailiWicked Domain Attack&#8221; for replacing a target domain&#8217;s nameserver records in a target nameserver&#8217;s cache. The above two modules require you run [...]]]></description>
			<content:encoded><![CDATA[<p>Metasploit team has published two modules that exploit the recently announced <a href="http://hatsecurity.com/2008/07/09/dns-the-biggest-security-patch-release-in-internet-history/" target="_blank">DNS flaw</a>. These are named &#8220;<a href="http://www.caughq.org/exploits/CAU-EX-2008-0002.txt" target="_blank"><strong>DNS BailiWicked Host Attack</strong></a>&#8221; for injecting individual uncached host records into the target nameserver&#8217;s cache, and &#8220;<a href="http://www.caughq.org/exploits/CAU-EX-2008-0003.txt" target="_blank"><strong>DNS BailiWicked Domain Attack</strong></a>&#8221; for replacing a target domain&#8217;s nameserver records in a target nameserver&#8217;s cache.</p>
<p>The above two modules require you run Metasploit Framework from the &#8220;trunk&#8221; development branch which is currently only supported on the Linux platform.</p>
<p>Here&#8217;s more from the <a href="http://blog.metasploit.com/2008/07/bailiwicked.html" target="_blank">official blog</a>:</p>
<blockquote><p>The first flaw is that since DNS (over UDP) is connectionless, it can easily be spoofed. The original primary mitigation against this was to make use of a 16-bit transaction ID which is used to correlate requests and replies that the attacker would have to guess in order to correctly spoof a reply packet. This makes spoofing harder, but not an insurmountable task; you just need to be able to send a whole lot of packets to eventually get one right at match the transaction ID chosen for the request packet.</p>
<p>The second flaw was that additional records would be inserted into the cache which were included in replies from another nameserver. This is core protocol functionality, however the original problem was somewhat mitigated by creating the in-bailiwick constraints that essentially limits the domain space for additional records that could be sent in the replies to hostnames from a given domain. Sounds reasonable; this prevents nameservers from doing malicious things to records in domains that they weren&#8217;t queried for or aren&#8217;t authoritative for, while still allowing nameservers who are authoritative for a domain to update the records they need to.</p>
<p>When you combine the attacks for these two flaws however, and introduce nameserver query recursion, an attacker can essentially cause the target nameserver to make as many queries as the attacker wants while also pretending to be the authoritative nameserver and spoofing the responses, achieving the birthday attack against the transaction ID and successfully updating the nameserver record for a domain to point to a malicious nameserver address. You can also use this trick to inject cache entries for individual hostname records as long as those hostnames are both not already cached, and also in-bailiwick.</p></blockquote>
<p><span id="more-49"></span></p>
<p><strong><em>Update </em></strong>- both the above mentioned Metasploit modules have been updated for improved reliability (and effectiveness!). Support for FreeBSD, NetBSD, BSDi and Mac OS X has been added. Here&#8217;s more from the <a href="http://blog.metasploit.com/2008/07/bailiwicked-automatic-tuning.html" target="_blank">official blog</a>:</p>
<blockquote><p>The bailiwicked modules (host and domain) were updated today to include the ability to predict the time window between the outgoing request from the target nameserver and the response from the real nameserver(s). This measurement is used to tune the number of spoofed replies sent by the exploit. The result is a big increase in exploit reliability, especially when the target domain has a ton of nameservers (Yahoo has eight) or changes its responsiveness during the test (BIND tends to slow down when it has a full cache). The new self-tuning code is activated with the XIDS option is set to &#8217;0&#8242;, which is now the default. FreeBSD and Mac OS X support are still in the works, but should be functional sometime this weekend. The timing analysis feature can also be access through a new command (&#8216;racer&#8217;). In the examples below, the first command tests the timing between the nameserver at 192.168.0.2 and the metasploit.com DNS servers. The second command tests the timing between the nameserver 4.2.2.3 (a public DNS server) and the metasploit.com DNS servers. You can see by the results that the timing differences are significant:</p>
<p>msf auxiliary(bailiwicked_host) &gt; <strong>racer 192.168.0.2 metasploit.com</strong><br />
[*] <strong>race calc: 50 queries | min/max/avg time: 0.05/0.23/0.09 | min/max/avg replies: 6/121/49</strong></p>
<p>msf auxiliary(bailiwicked_host) &gt; <strong>racer 4.2.2.3 metasploit.com</strong><br />
[*] <strong>race calc: 50 queries | min/max/avg time: 0.02/0.17/0.05 | min/max/avg replies: 1/29/6</strong></p>
<p>In the first case (192.168.0.2), the average number of queries we can send before the real server replies is around 49, which means about 80 fake responses. In the second example, the average is only 6, which means about 12 fake responses. To be conservative, these modules take the average, multiple it by 1.5, then divide it by the number of nameservers. This leads to a fairly accurate timing estimate and quicker attacks.</p></blockquote>
<p>Update (July 29 &#8211; 11AM +4GMT) &#8211; I just saw a <a href="http://www.infobyte.com.ar/demo/evilgrade.htm"><span style="color: #aa77aa;">demo</span></a> of <a href="http://www.infobyte.com.ar/developments.html" target="_blank">ISR-evilgrade</a> by <a href="http://www.infobyte.com.ar/"><span style="color: #aa77aa;">Infobyte Security Research</span></a>, a toolkit that works in conjunction with the above mentioned Metasploit exploit modules, to exploit software products that carry out automatic updates of the binaries over insecure channels, using MITM techniques (Hint: DNS!).</p>
<p>The first release of the toolkit contains exploits for Sun Java, Winzip, Winamp, Mac OS X, OpenOffice, iTunes, Linkedin Toolbar, DAP, Notepad++, and Speedbit.</p>
<p>It is interesting to note that Mac OS X <a href="http://www.computerworld.com/action/article.do?command=viewArticleBasic&amp;taxonomyName=macintosh_os&amp;articleId=9110907&amp;taxonomyId=123" target="_blank">does not have a patch</a> for the DNS vulnerability as of this writing.</p>
]]></content:encoded>
			<wfw:commentRss>http://hatsecurity.com/2008/07/25/metasploit-dns-explot-dan-kaminsky/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>IT Assurance Framework introduced</title>
		<link>http://hatsecurity.com/2008/07/24/it-assurance-framework-introduced/</link>
		<comments>http://hatsecurity.com/2008/07/24/it-assurance-framework-introduced/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 18:08:24 +0000</pubDate>
		<dc:creator>Tahir</dc:creator>
				<category><![CDATA[compliance]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[assurance]]></category>
		<category><![CDATA[audit]]></category>
		<category><![CDATA[isaca]]></category>
		<category><![CDATA[itaf]]></category>

		<guid isPermaLink="false">http://hatsecurity.com/?p=45</guid>
		<description><![CDATA[ISACA today introduced ITAF: A Professional Practices Framework for IT Assurance targeting the IT Auditing and Assurance professionals. The official release states: ITAFTM consists of compliance and good practice setting guidance: Provides guidance on the design, conduct and reporting of IT audit and assurance assignments Defines terms and concepts specific to IT assurance Establishes standards [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.isaca.org" target="_blank">ISACA</a> today introduced<strong> ITAF: A Professional Practices Framework for IT Assurance </strong>targeting the IT Auditing and Assurance professionals. The official release states:</p>
<blockquote><p>ITAF<sup>TM</sup> consists of compliance and good practice setting guidance:</p>
<ul class="redarrow">
<li>Provides guidance on the design, conduct and reporting of IT audit and assurance assignments</li>
<li>Defines terms and concepts specific to IT assurance</li>
<li> Establishes standards that address IT audit and assurance professional roles and responsibilities, knowledge, skills and diligence, conduct, and reporting requirements</li>
</ul>
</blockquote>
<div id="attachment_46" class="wp-caption aligncenter" style="width: 510px"><a href="http://hatsecurity.com/wp-content/uploads/2008/07/itaf.gif"><img class="size-full wp-image-46" title="itaf" src="http://hatsecurity.com/wp-content/uploads/2008/07/itaf.gif" alt="The ITAF Structure" width="500" height="195" /></a><p class="wp-caption-text">Figure 1: The ITAF Structure</p></div>
<p>More info <a href="http://www.isaca.org/SecureTemplate.cfm?Section=my_isaca&amp;CONTENTID=41069&amp;TEMPLATE=/ContentManagement/ContentDisplay.cfm" target="_blank">here</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hatsecurity.com/2008/07/24/it-assurance-framework-introduced/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Audit network devices with ease</title>
		<link>http://hatsecurity.com/2008/07/04/audit-network-devices-with-ease/</link>
		<comments>http://hatsecurity.com/2008/07/04/audit-network-devices-with-ease/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 21:07:07 +0000</pubDate>
		<dc:creator>Tahir</dc:creator>
				<category><![CDATA[compliance]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[audit]]></category>
		<category><![CDATA[firewall]]></category>

		<guid isPermaLink="false">http://hatsecurity.com/?p=33</guid>
		<description><![CDATA[Assessing security posture of network devices like routers and firewalls can become a nightmare when a security practitioner is faced with tens of devices with hundreds (sometimes thousands) of lines of configuration data to go through. Manually going through the entire configuration data may not always be the right course of action especially when faced [...]]]></description>
			<content:encoded><![CDATA[<p>Assessing security posture of network devices like routers and firewalls can become a nightmare when a security practitioner is faced with tens of devices with hundreds (sometimes thousands) of lines of configuration data to go through. Manually going through the entire configuration data may not always be the right course of action especially when faced with tight deadlines.</p>
<p>There is help available and it comes in the form of automation tools that can make our life easier. I will discuss a couple of tools that I have worked with and how they can support in auditing and vulnerability assessment activities.<span id="more-33"></span></p>
<p><a href="http://www.niiconsulting.com/products/Firesec.html" target="_blank"><strong>FireSec</strong></a> (v1.1), a Windows-based commercial application, is primarily targeted as a firewall rule base analysis tool for medium to large enterprises. FireSec is priced at US$1000 per installation and requires a SQL Server database access to function. MSDE or SQL Server 2005 Express Edition will work just fine.</p>
<p>FireSec comes strong on the features &#8211; supporting removal of redundant rules, grouping similar rules, and detecting potentially vulnerable rule patterns by means of analysis. All of this can be achieved for a wide range of firewall devices from Cisco, Juniper (NetScreen) and Secure Computing (CyberGuard). NII Consulting (India), the developers of FireSec also claim support for a generic ruleset allowing support for CheckPoint, Fortinet and others.</p>
<p>To get started, the device configuration file needs to be imported in to the SQL Server database which is handled by the application itself. The configuration file can be supplied as a flat text file and loaded as a &#8220;Firewall&#8221; in to FireSec. The loading process is slow as it took about five minutes to load a PIX configuration file with just over 900 lines of configuration data, on an above-average performance machine (2GB DDRII, Core2 Duo 2GHz, 160GB 7200RPM HDD). Once loaded, everything else is a breeze and there is good documentation supplied to walk you through the application.</p>
<p style="text-align: center;"><a href="http://hatsecurity.com/wp-content/uploads/2008/07/firesec1.jpg"><img class="aligncenter size-medium wp-image-36" title="firesec1" src="http://hatsecurity.com/wp-content/uploads/2008/07/firesec1-300x213.jpg" alt="" width="300" height="213" /></a><br />
Figure 1: FireSec GUI</p>
<p>FireSec sports a poor GUI though &#8211; main window cannot be maximized, left firewall selection pane cannot be adjusted and even worse is the progress bar that, at random, just stares at you even after processing the requested tasks. It took me a while to work my way through the various functions.</p>
<p>Interface issues aside, FireSec is a very capable product that can let you clean up your configuration (Figure 2), generate a comprehensive analysis report (Figure 3) and even do an analysis of how your rules perform against a given set of source and destination addresses (Figure 4). I was only able to test it with a PIX configuration and it worked as expected.</p>
<p style="text-align: center;"><a href="http://hatsecurity.com/wp-content/uploads/2008/07/firesec2.jpg"><img class="aligncenter size-full wp-image-37" title="firesec2" src="http://hatsecurity.com/wp-content/uploads/2008/07/firesec2.jpg" alt="" width="471" height="200" /></a><br />
Figure 2: Generate commands based on given criteria</p>
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://hatsecurity.com/wp-content/uploads/2008/07/firesec3.jpg"><img class="aligncenter size-full wp-image-38" title="firesec3" src="http://hatsecurity.com/wp-content/uploads/2008/07/firesec3.jpg" alt="" width="415" height="123" /></a><br />
Figure 3: Report generation is limited to HTML format. Click <a href="http://hatsecurity.com/wp-content/reports/firesec_pix_report.html" target="_blank">here</a> for a sample report.</p>
<p style="text-align: center;">
<p style="text-align: center;"><a href="http://hatsecurity.com/wp-content/uploads/2008/07/firesec4.jpg"><img class="aligncenter size-medium wp-image-39" title="firesec4" src="http://hatsecurity.com/wp-content/uploads/2008/07/firesec4-300x192.jpg" alt="" width="300" height="192" /></a><br />
Figure 4: Rule analysis</p>
<p>There is also a firewall comparison function that can assist in change management as well as ensuring rule base integrity and change management.</p>
<p>Overall, FireSec has lot of potential for improvement and I would be keeping my eye on it and watch it grow. For now, I have settled for open source alternatives.</p>
<p><strong><a href="http://nipper.titania.co.uk" target="_blank">Nipper</a> </strong>(v0.11.8)<strong> </strong>is a cross-platform open source tool that processes network device configuration and generates a customizable report. Nipper reports device configuration details, vulnerabilities and recommendations for mitigating the risks. This command line tool supports a wide array of network devices:</p>
<blockquote><p>Cisco Switches (IOS)<br />
Cisco Routers (IOS)<br />
Cisco Firewalls (PIX, ASA, FWSM)<br />
Cisco Catalysts (NMP, CatOS, IOS)<br />
Cisco Content Service Switches (CSS)<br />
Juniper NetScreen Firewalls (ScreenOS)<br />
CheckPoint Firewall-1/ VPN-1<br />
Nortel Passport devices (Multiservice Switch- MSS)<br />
SonicWALL SonicOS Firewalls<br />
Bay Networks Accelar Routing Switch devices (now Nortel)<br />
Nokia IP Firewalls</p></blockquote>
<p>Nipper can take a flat ASCII text file as input for processing data or connect to the device directly and retrieve the configuration through SNMP. Unlike FireSec, Nipper does not import the configuration to a database and report generation is almost instant. I was able to test Nipper&#8217;s capabilities using a standard configuration from a Cisco IOS 12.3 router and a PIX 6.3 firewall device.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-43" title="nipper21" src="http://hatsecurity.com/wp-content/uploads/2008/07/nipper21.jpg" alt="" /><br />
Figure 5: Using nipper for IOS router analysis</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-35" title="nipper3" src="http://hatsecurity.com/wp-content/uploads/2008/07/nipper3.jpg" alt="" /><br />
Figure 6: Using nipper for PIX firewall analysis</p>
<p>Within seconds of executing the above commands, Nipper was able to decode my Cisco Type 7 password for the IOS router, parse over 900 lines of PIX configuration and deliver a comprehensive report in the default HTML format (XML, Latex and ASCII text are supported too). Reports can further be customized and there is also an option to replace Nipper references with your own company name along with a range of other options.</p>
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-40" title="nipper2-report" src="http://hatsecurity.com/wp-content/uploads/2008/07/nipper2-report-279x300.jpg" alt="" width="279" height="300" /><br />
Figure 7: HTML report for Cisco IOS router. Click <a href="http://hatsecurity.com/wp-content/reports/nipper_ios_report.html" target="_blank">here</a> for the report</p>
<p style="text-align: center;">
<p style="text-align: center;"><img class="aligncenter size-medium wp-image-42" title="nipper3-report1" src="http://hatsecurity.com/wp-content/uploads/2008/07/nipper3-report1-300x271.jpg" alt="" width="300" height="271" /><br />
Figure 8 : HTML report for Cisco PIX firewall. Click <a href="http://hatsecurity.com/wp-content/reports/nipper_pix_report.html" target="_blank">here </a>for the report</p>
<p style="text-align: left;">
<p style="text-align: left;">Nipper can even output Cisco type 5 passwords to an ASCII text file for later use of <a href="http://www.openwall.com/john/" target="_blank">John the Ripper</a> for brute force attack; a dictionary-file support is present too. Overall, a great tool and highly recommended!</p>
<p style="text-align: left;"><strong>Other tools </strong>to look at:</p>
<ol>
<li><a href="http://www.securepassage.com/FireMon/" target="_blank">Firemon</a> from Secure Passage that does configuration analysis as well as change management and more;</li>
<li><a href="http://dev.inversepath.com/trac/ftester" target="_blank">FTester</a> from Inverse Path to test your firewall and IDS from a behavioral point of view and the Router;</li>
<li><a href="http://www.cisecurity.org/bench_cisco.html" target="_blank">Router Audit Tool (RAT)</a> from Center for Internet Security that benchmarks router configuration against NSA recommended guidelines for security;</li>
<li><a href="http://www.redseal.net/Product-Overview.shtml" target="_blank">RedSeal Security Risk Manager (SRM)</a> from RedSeal Systems is a comprehensive tool for overall network security assessment that can do firewall and router device assessments as well;</li>
</ol>
<p>To sum up, the tools discussed above can greatly reduce the amount of time you would normally take to assess your network devices, however, I am not recommending that you do not do manual reviews to verify the results. I would never give precedence to a report generated by an automation tool over manual report. It all comes down to the nature of the assessment.</p>
]]></content:encoded>
			<wfw:commentRss>http://hatsecurity.com/2008/07/04/audit-network-devices-with-ease/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Middle East property developer&#8217;s customer info leaked on eBay</title>
		<link>http://hatsecurity.com/2008/06/06/uae-property-developer-damac-customer-data-leaked-ebay/</link>
		<comments>http://hatsecurity.com/2008/06/06/uae-property-developer-damac-customer-data-leaked-ebay/#comments</comments>
		<pubDate>Fri, 06 Jun 2008 13:57:25 +0000</pubDate>
		<dc:creator>Tahir</dc:creator>
				<category><![CDATA[compliance]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[news]]></category>

		<guid isPermaLink="false">http://hatsecurity.com/?p=26</guid>
		<description><![CDATA[Damac Properties, the &#8220;largest private real estate developers in Middle East&#8221;, saw their customer database go up for sale on eBay UK for £750. This was confirmed by Damac who have since launched an investigation in to the matter. The seller, &#8220;dubaigoods1&#8221; appears to be persistent about selling as many copies of the database; the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.damacproperties.com/" target="_blank">Damac Properties</a>, the &#8220;largest private real estate developers in Middle East&#8221;, saw their customer database go up for sale on eBay UK for £750. This was confirmed by Damac who have since launched an <a href="http://www.arabianbusiness.com/521308-damac-clients-information-offered-on-ebay" target="_blank">investigation</a> in to the matter.</p>
<p>The seller, &#8220;<a href="http://myworld.ebay.co.uk/dubaigoods1/" target="_blank">dubaigoods1</a>&#8221; appears to be persistent about selling as many copies of the database; the item was reposted on eBay as &#8220;DUBAI PROPERTY/DEVELOPER INVESTOR DATABASE&#8221; without mention of Damac Properties, after the original item was removed by eBay. The below screenshot was taken a few minutes ago:</p>
<p><a href="http://hatsecurity.com/wp-content/uploads/2008/06/ebay_damac_11.jpg"><img class="size-medium wp-image-28" style="vertical-align: middle;" title="ebay_damac_1" src="http://hatsecurity.com/wp-content/uploads/2008/06/ebay_damac_11-292x300.jpg" alt="" width="292" height="300" /></a></p>
<p><span id="more-26"></span></p>
<p><a href="http://hatsecurity.com/wp-content/uploads/2008/06/ebay_damac_2.jpg"><img class="aligncenter size-medium wp-image-29" title="ebay_damac_2" src="http://hatsecurity.com/wp-content/uploads/2008/06/ebay_damac_2-300x199.jpg" alt="" width="300" height="199" /></a></p>
<p>The highlighted text above appeared as &#8220;List includes customers of Damac Properties the middle easts larget private developer!&#8221; in the original item description.</p>
<p>This news should not come as a surprise for many of the infosec professionals in the region where data protection laws have a limited territory application; <a href="http://dp.difc.ae/legislation/files/DP%20Law%201%20Jan%202007%20v14.pdf" target="_self">DIFC Data Protection law</a> in Dubai, <a href="http://www.complinet.com/file_store/pdf/rulebooks/QFCRA_1559.pdf" target="_blank">QFC &#8211; Data Protection Regulations</a> in Qatar. Perhaps it is time for more comprehensive laws to steer the need for firmer consumer privacy protection..</p>
]]></content:encoded>
			<wfw:commentRss>http://hatsecurity.com/2008/06/06/uae-property-developer-damac-customer-data-leaked-ebay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Google for your network infrastructure?</title>
		<link>http://hatsecurity.com/2008/05/21/paglo-a-google-for-your-network-assets/</link>
		<comments>http://hatsecurity.com/2008/05/21/paglo-a-google-for-your-network-assets/#comments</comments>
		<pubDate>Wed, 21 May 2008 15:00:42 +0000</pubDate>
		<dc:creator>Tahir</dc:creator>
				<category><![CDATA[compliance]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[reviews]]></category>
		<category><![CDATA[network crawl]]></category>
		<category><![CDATA[network search]]></category>
		<category><![CDATA[paglo]]></category>

		<guid isPermaLink="false">http://hatsecurity.com/?p=13</guid>
		<description><![CDATA[Paglo, a totally free &#8220;world&#8217;s first search engine for IT&#8221;, is a web-based service that lets IT professionals search their own IT infrastructure assets. I signed up for the beta in November last year but only received the invitation earlier this month. Information about the target network is gathered by a software agent, Paglo crawler, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://paglo.com" target="_blank">Paglo</a>, a totally free &#8220;world&#8217;s first search engine for IT&#8221;, is a web-based service that lets IT professionals search their own IT infrastructure assets. I signed up for the beta in November last year but only received the invitation earlier this month.</p>
<p>Information about the target network is gathered by a software agent, Paglo crawler, which installs on a standard computer connected to the network. The crawler can put together an exhaustive set of information about network hosts with information such as device type, device name, IP address, installed software, disk space usage and so on. The crawler uploads the information to Paglo&#8217;s data center for storage and indexing. This information can later be retrieved through a web-based interface.<span id="more-13"></span></p>
<p>Let&#8217;s take a look at the installation steps.</p>
<div></div>
<p><a href="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_setup_1.jpg"><img class="size-medium wp-image-6 aligncenter" title="Paglo setup dialog box" src="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_setup_1-300x235.jpg" alt="" width="300" height="235" /></a></p>
<p>Figure 1: The Paglo Crawler Install dialog box</p>
<p><a href="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_setup_2.jpg"><img class="aligncenter size-medium wp-image-7" title="Paglo Network selection dialog box" src="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_setup_2-300x229.jpg" alt="" width="300" height="229" /></a></p>
<p>Figure 2: Selection of the network segment</p>
<p><a href="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_setup_3.jpg"><img class="aligncenter size-medium wp-image-8" title="Paglo Credentials setup dialog box" src="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_setup_3-300x229.jpg" alt="" width="300" height="229" /></a></p>
<p>Figure 3: Input credentials for network devices</p>
<p><img class="size-medium wp-image-9" title="Paglo credential type setup dialog box" src="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_setup_3a-300x275.jpg" alt="" width="300" height="275" /><br />
Figure 4: Credential details</p>
<p><a href="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_setup_4.jpg"><img class="size-medium wp-image-10 aligncenter" title="Paglo Microsoft domain credential setup dialog box" src="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_setup_4-300x229.jpg" alt="" width="300" height="229" /></a></p>
<p>Figure 5: Microsoft AD domain admin credential input</p>
<p><a href="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_setup_5.jpg"><img class="size-medium wp-image-11 aligncenter" title="Paglo crawler registration" src="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_setup_5-300x229.jpg" alt="" width="300" height="229" /></a></p>
<p>Figure 6: Registering the Paglo.com web account</p>
<p><a href="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_dashboard_1.jpg"><img class="size-medium wp-image-12 aligncenter" title="Paglo Dashboard" src="http://hatsecurity.com/wp-content/uploads/2008/05/paglo_dashboard_1-300x182.jpg" alt="" width="300" height="182" /></a></p>
<p>Figure 7: The Dashboard screen<br />
A good usage demo is provided on Paglo.com which can be accessed <a title="Paglo demo" href="http://www.paglo.com/aboutpaglo/demo" target="_blank">here.</a></p>
<p>Paglo even sports its own API which allows custom programs/scripts to search information and to submit additional custom information to the database by means of Paglo&#8217;s very own <a title="PQL" href="http://www.paglo.com/help/pql/about_pql" target="_blank">Paglo Query Language </a>or <a title="PQL" href="http://www.paglo.com/help/pql/about_pql" target="_blank">PQL</a>. For those curious about PQL, it is similar to SQL. Here&#8217;s an example:</p>
<blockquote><p>SELECT * FROM /network/device WHERE interface/(name = &#8216;eth0&#8242; AND oper_status = &#8217;1&#8242;)</p></blockquote>
<p>As far as security of the information hosted with Paglo is concerned, Paglo&#8217;s <a title="Paglo security" href="http://www.paglo.com/company/legal">security statement </a>lists sufficient details of the technical and admin controls in place but mentions no details of third-party engagement to verify the claims. It would be good to see them undergo at least a <a title="Systrust" href="http://infotech.aicpa.org/Resources/System+Security+and+Reliability/System+Reliability/Trust+Services/SysTrust/">SysTrust</a> audit to get the attention of the more mid-sized organizations.</p>
<p>Paglo&#8217;s founders are not clear on how Paglo would make money for them at this stage. I am guessing it is likely to be targeted advertising from the big players in IT directed towards Paglo users, that relate to their respective IT environments.</p>
]]></content:encoded>
			<wfw:commentRss>http://hatsecurity.com/2008/05/21/paglo-a-google-for-your-network-assets/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Stealth tcp port scanning</title>
		<link>http://hatsecurity.com/2008/05/21/stealth-tcp-port-scanning/</link>
		<comments>http://hatsecurity.com/2008/05/21/stealth-tcp-port-scanning/#comments</comments>
		<pubDate>Wed, 21 May 2008 06:24:12 +0000</pubDate>
		<dc:creator>Tahir</dc:creator>
				<category><![CDATA[compliance]]></category>
		<category><![CDATA[general]]></category>
		<category><![CDATA[port scan]]></category>
		<category><![CDATA[stealth scan]]></category>
		<category><![CDATA[tcp port scan]]></category>

		<guid isPermaLink="false">http://hatsecurity.com/?p=14</guid>
		<description><![CDATA[Port scanning is carried out by both hackers and information security professionals alike to probe network hosts and discover active services. Port scanning is often instrumental in exploiting potential vulnerabilities that exist in services running on a host; hence the reason for stealth port scans that try to evade firewall/IDS devices. Although today&#8217;s IDS can [...]]]></description>
			<content:encoded><![CDATA[<p>Port scanning is carried out by both hackers and information security professionals alike to probe network hosts and discover active services. Port scanning is often instrumental in exploiting potential vulnerabilities that exist in services running on a host; hence the reason for stealth port scans that try to evade firewall/IDS devices.</p>
<p>Although today&#8217;s IDS can pick up almost any type of traditional stealth scans, IDS or firewall evasion does exist and is commonly performed by using packet fragmentation or by using proxy hosts. This article looks at how these basic tcp stealth scans work.<span id="more-14"></span></p>
<p>Stealth tcp port scanning, involves sending one or more data packets to a target TCP port to avoid the 3-way TCP handshake with the objective of evading firewall/IDS detection.</p>
<p>Let&#8217;s take a look at some of the tcp stealth scans:<strong></strong></p>
<p><strong>1.RFC 793 exploitation scans</strong>. RFC 793 standard states that if a port is closed on a host, an RST/ACK packet should be sent to reset the connection. This is exactly what is exploited in what I like to call &#8220;RFC 793 exploitation scans&#8221; (It is not a pretty name though is it?).</p>
<p>Probe packets with either the FIN tcp flag set <strong>or</strong> with no tcp flag set (NULL scan) <strong>or</strong> FIN, PSH and URG tcp flag sets (commonly referred to as XMAS probe) are directed towards the target listening for RST/ACKs to calculate open ports.</p>
<p><img style="vertical-align: middle;" src="/wp-content/uploads/2008/05/figure1-no-response-when-port-open.jpg" alt="" width="509" height="191" /></p>
<p> </p>
<p><img style="vertical-align: middle;" src="/wp-content/uploads/2008/05/figure2-rst-ack-when-port-closed.jpg" alt="" width="509" height="191" /></p>
<blockquote>
<pre>Source           Destination    Summary
----------------------------------------------------------------------------------------
[192.168.0.200] [192.168.0.100] TCP: D=800 S=34211 FIN SEQ=3872678719 LEN=0 WIN=2048
[192.168.0.100] [192.168.0.200] TCP: D=34211 S=80 RST ACK=3872678719 WIN=0</pre>
</blockquote>
<p>The above mentioned tcp scans can be performed using <a href="http://nmap.org/">nmap:</a></p>
<blockquote>
<pre>nmap -sF target_ip_address (FIN probe)</pre>
<pre>nmap -sX target_ip_address (XMAS probe)</pre>
<pre>nmap -sN target_ip_address (NULL probe)</pre>
</blockquote>
<p>The above techniques work with most Linux distros but are ineffective against the Windows platform.</p>
<p><strong>2. RST header analysis. </strong>Uriel Maimon was the first to describe this technique in Phrack magazine&#8217;s issue 49 which highlights a weakness in the implementation of the TCP/IP stack in some operating systems that use the BSD-flavor of the TCP/IP stack implementation.</p>
<p> <img style="VERTICAL-ALIGN: middle" src="/wp-content/uploads/2008/05/figure3-ttl-ack-probe.jpg" alt="" width="509" height="191" /></p>
<blockquote>
<pre>RST Header - TTL value analysis using <a href="http://www.hping.org">Hping2</a>
-------------------------------------------------------------
Packet 1: host 192.168.0.100 port 79: F:RST -&gt; ttl: 130 win: 0
Packet 2: host 192.168.0.100 port 80: F:RST -&gt; ttl: 130 win: 0
<strong>Packet 3: host 192.168.0.100 port 81: F:RST -&gt; ttl: 90 win: 0</strong>
Packet 4: host 192.168.0.100 port 82: F:RST -&gt; ttl: 130 win: 0</pre>
<pre> </pre>
</blockquote>
<p>As shown in Figure 3 and Figure 4 (below), the attacker sends ACK probe packet and listens to the incoming RST packets from the target and analyzing the header information contained within.</p>
<p>From the above log, the TTL value for Packet 3 from the target in response to the ACK probe indicates that the TTL or time-to-live value is lower than the ceiling value of 128 (varies from one OS platform to another) which indicates that there is a running service on port 81 on the target host.</p>
<p> </p>
<p><img style="VERTICAL-ALIGN: middle" src="/wp-content/uploads/2008/05/figure4-window-ack-probe.jpg" alt="" /></p>
<blockquote>
<pre>RST Header - Window field analysis using Hping2
-------------------------------------------------------------
Packet 1: host 192.168.0.100 port 79: F:RST -&gt; ttl: 128 win: 0
Packet 2: host 192.168.0.100 port 80: F:RST -&gt; ttl: 128 win: 0
<strong>Packet 3: host 192.168.0.100 port 81: F:RST -&gt; ttl: 128 win: 512
</strong>Packet 4: host 192.168.0.100 port 82: F:RST -&gt; ttl: 128 win: 0</pre>
</blockquote>
<p> </p>
<p>If the Window field of the TCP header of the received RST packet has a value greater than zero, it denotes that a port is open. A zero Window field size denotes a closed port and a no response would denote the port is filtered.</p>
<p>Do note that some TCP/IP stack implementations that the logic is exactly opposite of what is stated here, i.e., zero denotes open ports and non-zero figures denote closed ports. A quick look at the results will help us determine this. </p>
<p>The above methods are ineffective against firewall that do Stateful Packet Inspection (SPI) that do not let ACK packets pass through that do not meet the conditions of a legitimate connection state. These probing techniques require some creativity to prove useful.</p>
<p>RST header analysis can be performed using nmap:</p>
<blockquote>
<pre>nmap -sA target_ip_address (for TTL analysis)</pre>
<pre>nmap -sW target_ip_address (for WINDOW field value analysis)</pre>
</blockquote>
<p><strong>There&#8217;s more </strong>to keeping your scans stealth than using the above techniques. Today&#8217;s IDS can easily pickup the above including our favorite Snort! Take a look at what Snort picked up when it came across a FIN probe:</p>
<p> <img style="vertical-align: middle;" src="/wp-content/uploads/2008/05/fin_scan.jpg" alt="" width="708" height="392" /><br />
 Yes, it picked up a FIN scan! What else did we expect? The TCP stealth scans discussed here do not necessarily work for all platforms as we already know. The same goes for how a given firewall or IDS deals with them.</p>
<p>One way to get around and avoid detection is fragmenting the probe packets. Fragmenting the TCP (or even IP) header into smaller fragments gets around firewalls that do not reassemble all the fragments at the perimeter before passing it to the target. Similarly, signature-based IDS devices are often fooled to detecting these fragments as &#8220;junk traffic&#8221;. It is worthwhile mentioning here that fragmenting can cause the target to crash or result in unexpected behavior.</p>
<p>Using nmap, fragmenting can be done with the &#8220;-f&#8221; switch. Infact, nmap has a whole suite of &#8220;evasion&#8221; switches (see nmap <a href="http://nmap.org/book/man.html">documentation</a>):</p>
<blockquote>
<pre> -f; --mtu &lt;val&gt;: fragment packets (optionally w/given MTU)
 -D &lt;decoy1,decoy2[,ME],...&gt;: Cloak a scan with decoys
 -S &lt;IP_Address&gt;: Spoof source address
 -e &lt;iface&gt;: Use specified interface
 -g/--source-port &lt;portnum&gt;: Use given port number
 --data-length &lt;num&gt;: Append random data to sent packets
 --ip-options &lt;options&gt;: Send packets with specified ip options
 --ttl &lt;val&gt;: Set IP time-to-live field
 --spoof-mac &lt;mac address/prefix/vendor name&gt;: Spoof your MAC address
 --badsum: Send packets with a bogus TCP/UDP checksum</pre>
</blockquote>
<p>Other techniques that assist in carrying out a stealth tcp scan include randomizing scan timing to avoid detection, using decoy hosts, botnets, etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://hatsecurity.com/2008/05/21/stealth-tcp-port-scanning/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
