<?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>Cupfighter.net &#187; Security</title>
	<atom:link href="http://www.cupfighter.net/index.php/category/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cupfighter.net</link>
	<description>A blog by Schuberg Philis colleagues</description>
	<lastBuildDate>Thu, 09 Feb 2012 14:27:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Certificate validation problems after upgrading to Tortoise 1.7</title>
		<link>http://www.cupfighter.net/index.php/2011/11/certificate-validation-tortoise-1-7/</link>
		<comments>http://www.cupfighter.net/index.php/2011/11/certificate-validation-tortoise-1-7/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 14:56:06 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[SSL]]></category>
		<category><![CDATA[Tips and tricks]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[certificates]]></category>
		<category><![CDATA[Frank Breedijk]]></category>
		<category><![CDATA[Intermediate CA]]></category>
		<category><![CDATA[Root CA]]></category>
		<category><![CDATA[Tortoise]]></category>
		<category><![CDATA[Tortoise1.7]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1464</guid>
		<description><![CDATA[A few days ago while starting TortoiseSVN it prompted me to update to version 1.7 After I updated to version 1.7. I could not connect to our internal repository anymore. The connection failed with the following error: SSL error: sslv3 alert certificate unkown. Our internal respoitory is secured with a certificated issued by our internal [...]]]></description>
			<content:encoded><![CDATA[<p>A few days ago while starting TortoiseSVN it prompted me to update to version 1.7</p>
<p>After I updated to version 1.7. I could not connect to our internal repository anymore. The connection failed with the following error: SSL error: sslv3 alert certificate unkown.</p>
<div id="attachment_1466" class="wp-caption aligncenter" style="width: 677px"><a href="http://www.cupfighter.net/wp-content/uploads/2011/11/Tortoise-error1.png"><img class="size-full wp-image-1466" title="SSL error: sslv3 alert certificate unknown" src="http://www.cupfighter.net/wp-content/uploads/2011/11/Tortoise-error1.png" alt="SSL error: sslv3 alert certificate unknown" width="667" height="306" /></a><p class="wp-caption-text">SSL error: sslv3 alert certificate unknown</p></div>
<p>Our internal respoitory is secured with a certificated issued by our internal CA infrastructure.</p>
<p style="text-align: center;">Root CA</p>
<p style="text-align: center;">|<br />
v</p>
<p style="text-align: center;">Intermediate Certificate</p>
<p style="text-align: center;">|<br />
v</p>
<p style="text-align: center;">Repository certificate</p>
<p>Surfing to the svn repository does not produce an error, so the certificate chain is fine. At first I figured that Tortoise was using its own certificate store, but it turns out that Tortoise does use the Windows Root CA store, so there is no need to add the Root CA.</p>
<p>After some more investigation we found out that Tortoise does use the Windows Root CA store to validate the certificate chain, but does not use the Intermediate CA store to complete the certificate chain, like windows does. Since all our client machines have the intermediate certificate in the Intermediate CA store we never noticed that the certificates offered by apache were not chained. After chaining the repository certificate with the intermediate certificate Tortoise was able to talk to the repository again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/11/certificate-validation-tortoise-1-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scripted &#8220;Untrust&#8221; DigiNotar certificates</title>
		<link>http://www.cupfighter.net/index.php/2011/09/scripted-untrust-diginotar-certificates/</link>
		<comments>http://www.cupfighter.net/index.php/2011/09/scripted-untrust-diginotar-certificates/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 11:23:05 +0000</pubDate>
		<dc:creator>Matthijs Wijers</dc:creator>
				<category><![CDATA[SSL]]></category>
		<category><![CDATA[Tips and tricks]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1360</guid>
		<description><![CDATA[To &#8220;Untrust&#8221; the DigiNotar certificates on Windows 2003/XP without installing the MS patch, you can add the Certificate &#8220;Blobs&#8221; to the following Certificate Store in the registry &#8220;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\Disallowed\Certificates&#8221; &#60;Name&#62;Blob&#60;/Name&#62;&#60;Type&#62;REG_BINARY&#60;/Type&#62; You can find the &#8220;Blob&#8221; values on a patched system (see attached link). These are all the current Certificates in Internet Explorer (including known fraudulent and new [...]]]></description>
			<content:encoded><![CDATA[<p><strong>To &#8220;Untrust&#8221; the DigiNotar certificates on Windows 2003/XP without installing the MS patch</strong>,<br />
you can add the Certificate &#8220;Blobs&#8221; to the following Certificate Store in the registry &#8220;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\Disallowed\Certificates&#8221;<br />
&lt;Name&gt;Blob&lt;/Name&gt;&lt;Type&gt;REG_BINARY&lt;/Type&gt;</p>
<p>You can find the &#8220;Blob&#8221; values on a patched system (see <a href="http://www.cupfighter.net/wp-content/uploads/2011/09/untrustedCA.zip">attached link</a>).</p>
<p><strong>These are all the current Certificates in Internet Explorer (including known fraudulent and new DigiNotar):<br />
</strong>HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\Disallowed\Certificates<br />
\1916A2AF346D399F50313C393200F14140456616<br />
\2B84BFBB34EE2EF949FE1CBE30AA026416EB2216<br />
\305F8BD17AA2CBC483A4C41B19A39A0C75DA39D6<br />
\367D4B3B4FCBBC0B767B2EC0CDB2A36EAB71A4EB<br />
\40AA38731BD189F9CDB5B9DC35E2136F38777AF4<br />
\43D9BCB568E039D073A74A71D8511F7476089CC3<br />
\471C949A8143DB5AD5CDF1C972864A2504FA23C9<br />
\5DE83EE82AC5090AEA9D6AC4E7A6E213F946E179<br />
\61793FCBFA4F9008309BBA5FF12D2CB29CD4151A<br />
\637162CC59A3A1E25956FA5FA8F60D2E1C52EAC6<br />
\63FEAE960BAA91E343CE2BD8B71798C76BDB77D0<br />
\6431723036FD26DEA502792FA595922493030F97<br />
\7D7F4414CCEF168ADF6BF40753B5BECD78375931<br />
\80962AE4D6C5B442894E95A13E4A699E07D694CF<br />
\86E817C81A5CA672FE000F36F878C19518D6F844<br />
\9845A431D51959CAF225322B4A4FE9F223CE6D15<br />
\B533345D06F64516403C00DA03187D3BFEF59156<br />
\B86E791620F759F17B8D25E38CA8BE32E7D5EAC2<br />
\C060ED44CBD881BD0EF86C0BA287DDCF8167478C<br />
\CEA586B2CE593EC7D939898337C57814708AB2BE<br />
\D018B62DC518907247DF50925BB09ACF4A5CB3AD<br />
\F8A54E03AADC5692B850496A4C4630FFEAA29D83</p>
<p><strong>After that you can remove DigiNotar from the Trusted Root Certification Authorities store:</strong></p>
<p>certutil -delstore authroot “c0 60 ed 44 cb d8 81 bd 0e f8 6c 0b a2 87 dd cf 81 67 47 8c”<br />
certutil -delstore authroot “43 d9 bc b5 68 e0 39 d0 73 a7 4a 71 d8 51 1f 74 76 08 9c c3”</p>
<p><strong>On Windows 2008 and newer you have a nifty option in Group Policy:</strong><br />
\Computer Configuration\Policies\Windows Settings\Public Key Policies\Untrusted Certificates</p>
<p>Install the patch on a (local) machine and export the certificates from your &#8220;Untrusted Publishers&#8221; store as DER encoded, you can import the DER files in the GPO.</p>
<p><a href="http://www.cupfighter.net/wp-content/uploads/2011/09/untrustedCA.zip">Here</a> is the registry hive export from a patched machine, including all certificates and blobs.</p>
<p>cheers,<br />
Matthijs</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/09/scripted-untrust-diginotar-certificates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Does XKCD or Jason Kendall get &#8220;it&#8221;?</title>
		<link>http://www.cupfighter.net/index.php/2011/08/xkcd-or-coolacid/</link>
		<comments>http://www.cupfighter.net/index.php/2011/08/xkcd-or-coolacid/#comments</comments>
		<pubDate>Wed, 17 Aug 2011 18:26:39 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Jason Kendall]]></category>
		<category><![CDATA[Passwords]]></category>
		<category><![CDATA[Reply]]></category>
		<category><![CDATA[XKCD]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1347</guid>
		<description><![CDATA[This post is a reply to this blog post by Jason Kendall. It all started with this cartoon: This cartoon basically started a hype about how XKCD was getting “it”. Jason posted a blog post stating that he did not agree with XKCD since: While four words in theory have 44 bits of entropy (244), [...]]]></description>
			<content:encoded><![CDATA[<p>This post is a reply to <a title="Response to XKCD - Passwords" href="http://www.coolacid.net/20110810239/Latest/response-to-xkcd-passwords" target="_blank">this blog post </a> by <a title="@coolacid on Twitter" href="http://www.twitter.com/coolacid" target="_blank">Jason Kendall</a>.</p>
<p>It all started with this cartoon:</p>
<p><a title="XKCD Password Strenght" href="http://xkcd.com/936/" target="_blank"><img src="http://imgs.xkcd.com/comics/password_strength.png" alt="" width="516" height="419" /></a></p>
<p>This cartoon basically started a hype about how XKCD was getting “it”. Jason posted a blog post stating that he did not agree with XKCD since:</p>
<ul>
<li>While four words in theory have 44 bits of entropy (2<sup>44</sup>), it is actually 250,000 to the power of 4 (250,000<sup>4</sup>) since English only has 4about 250,000 words</li>
<li>Most people actually would use three words, giving 15,625,000,000,000,000 combinations</li>
<li>Most people know even less then 250,000 words</li>
</ul>
<p>So what is my take on this? The key to “it” is at the bottom of the cartoon:</p>
<p>“Through 20 years of effort, we’ve successfully trained everyone to use passwords that are hard for humans to remember, but easy for computers to guess”</p>
<p>This is really the “it” XKCD does get.</p>
<p>So why do we use password policies in the first place? What problem are we trying to tackle?</p>
<p>First of all we are trying to tackle the problem that users are very bad a picking good password without guidance. <a title="one of my coworkers legitimatly tried explaiing to me that &quot;password&quot; was a good pswd because no one would expect someone to be that dumb." href="http://twitter.com/#!/melvin2001/status/72648791949443073" target="_blank">This tweet</a> illustrates that:<span id="more-1347"></span></p>
<p><a href="http://www.cupfighter.net/wp-content/uploads/2011/08/PasswordGoodPassword.jpg"><img style="background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border: 0px;" title="one of my coworkers legitimatly tried explaiing to me that &quot;password&quot; was a good pswd because no one would expect someone to be that dumb." src="http://www.cupfighter.net/wp-content/uploads/2011/08/PasswordGoodPassword_thumb.jpg" border="0" alt="one of my coworkers legitimatly tried explaiing to me that &quot;password&quot; was a good pswd because no one would expect someone to be that dumb." width="471" height="235" /></a></p>
<p>If you don’t give users guidance they will often pick from a set of <a title="Just google it..." href="http://www.google.com/search?q=very+well+know+passwords" target="_blank">very well known passwords</a>. But more recent research shows that since the average person has over 50 passwords, some with and some without password policy on it, most people need a coping strategy to deal with this.</p>
<p>In my talk “The Road to Hell is paved with best practices” I give this example of likely passwords for a certain password policy:</p>
<ul>
<li>7 characters: welcome</li>
<li>7 characters + 1 capital: Welcome</li>
<li>7 characters + 1 capital + 1 numeral: W3lc0m3</li>
<li>7 characters + 1 capital + 1 numeral + 1 special: W3lc0m3!</li>
<li>10 characters + 1 capital + 1 numeral + 1 special: W3lc0m3!!!</li>
<li>10 characters + 1 capital + 1 numeral + 1 special, 30 days max, cannot reuse last 12: Welcome01!, Welcome02!, Welcome03!, etc</li>
</ul>
<p>As security people we need to understand that each security measure will alter peoples behaviour and sometimes not for the good.</p>
<p>Studies have shown that even if password policies are used, <a title="Research paper by Matt Weir" href="http://tinyurl.com/RTHpasswd" target="_blank">probabilistic techniques can be used to aid in password cracking attacks</a>, that <a title="S. Alexander, Jr. In defense of password expiration. Post to LOPSA blog, April 2006. http://lopsa.org/node/295 as of March 28, 2010." href="http://lopsa.org/node/295" target="_blank">password expiry is only of limited use</a>, that <a title="The Security of Modern Password Expiration: An Algorithmic Framework en Empirical Analysis. Y Zhang, F. Monrose and M. K. Reiter, University of North Carolina at Chapel Hill" href="http://tinyurl.com/RTHpasswd2" target="_blank">password expiry policies do not meet their goal</a>.</p>
<p>Experiments with an <a title="Ophcrack_office by Objectif Securite" href="http://www.objectif-securite.ch/en/products.php?drgn=1" target="_blank">online windows password cracker</a> showed that “hard” passwords do not take longer to crack that “easy” passwords when rainbow tables are used:</p>
<ul>
<li>Empty password – 2 seconds</li>
<li>72@Fee4S@mura! – 5 seconds</li>
<li>(689!!!&lt;&gt;”QTHp – 8 seconds</li>
<li>*mZ?9%^jS743:! – 5 seconds</li>
<li>T&amp;p/E$v-O6,1@} – 11 seconds</li>
</ul>
<p>So what is my opinion?</p>
<p>Security policies have driven people to the top of their ability to remember passwords and as users have got increasing amounts of passwords the behavior it induced did not improve matters. We need to tune some of these measures down and replace them with education.</p>
<p>Passwords should be:</p>
<ul>
<li>Relatively long</li>
<li>Not guessable (correcthorsebatterystaple is not o.k. anymore thanks to XKCD)</li>
<li>Your system should block guessing attempts or really slow them down</li>
</ul>
<p>If hackers have you password hashes you are toast…</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/08/xkcd-or-coolacid/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>FIRST2011: Listening to the network: Leveraging Network Flow Telemetry for Security Applications</title>
		<link>http://www.cupfighter.net/index.php/2011/06/first2011-listening-to-the-network/</link>
		<comments>http://www.cupfighter.net/index.php/2011/06/first2011-listening-to-the-network/#comments</comments>
		<pubDate>Wed, 15 Jun 2011 13:20:11 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[First2011]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Arbor Networks]]></category>
		<category><![CDATA[Darren Anstee]]></category>
		<category><![CDATA[Flows]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1341</guid>
		<description><![CDATA[By Darren Anstee of Arbor Networks Why is it a good idea to us flow information? You don’t need to invest in new equipment to get flow information It can be used to detect malware infected hosts, DDoS, zero-day exploits, attack and abuse Network flows information is generated regardless if there was symmetric or a-symmetic [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1340" class="wp-caption alignright" style="width: 394px"><a href="http://www.flickr.com/photos/79968372@N00/34208251/"><img class="size-full wp-image-1340 " title="Phone Bill a CC NC ND image from Nikita Kashner's Flickr stream" src="http://www.cupfighter.net/wp-content/uploads/2011/06/Phone-Bill.jpg" alt="Phone Bill a CC NC ND image from Nikita Kashner's Flickr stream" width="384" height="218" /></a><p class="wp-caption-text">Phone Bill a CC NC ND image from Nikita Kashner&#39;s Flickr stream</p></div>
<p>By Darren Anstee of Arbor Networks</p>
<p>Why is it a good idea to us flow information?</p>
<ul>
<li>You don’t need to invest in new equipment to get flow information</li>
<li>It can be used to detect malware infected hosts, DDoS, zero-day exploits, attack and abuse</li>
<li>Network flows information is generated regardless if there was symmetric or a-symmetic routing</li>
</ul>
<p>Network flow information is like a phone bill, you cannot tell what has been said, but you can use it to prove who talked to who.</p>
<p>So what does a flow record contain?</p>
<ul>
<li>Source IP address</li>
<li>Destination IP address</li>
<li>Source port</li>
<li>Destination port</li>
<li>Input IfIndex</li>
<li>Protocol</li>
<li>Type of Service</li>
<li>packet count</li>
<li>Byte count</li>
<li>First packet time</li>
<li>Last packet time</li>
<li>Output ifIndex</li>
<li>Etc…</li>
</ul>
<p><span id="more-1341"></span></p>
<p>Flow information allows you to monitor large geographically dispersed networks.</p>
<p>So how can flow information be used for security purposes?</p>
<p>Flow information helps you understand how you network normally behaves. Unusual behavior might indicate DDoS attacks of malware infections.</p>
<p>One could look at the flow information manually, but it does make more sense to install a collection and analysis system. These systems often give the benefit of providing historical data that can help us understand current data and allow us to use this information for forensic purposes.</p>
<p>There are a lot of open source and commercial flow collection and analysis systems available.</p>
<p>Next Darren showed demonstrations of how flow information can be used.</p>
<p>First example is how to detect malware infected hosts in an enterprise environment.</p>
<p>How? One of two ways:</p>
<ul>
<li>Looking for abnormal behavior</li>
<li>Looking for known bad behavior, e.g. communication to known Command can Control servers</li>
</ul>
<p>So what is typical unusual behavior?</p>
<ul>
<li>Unusual outbound SMTP</li>
<li>Off-net DNS queries</li>
<li>Scan detection</li>
<li>Unusual outbound behavior</li>
<li>etc.</li>
</ul>
<p>Finding more then one anomalies increases the likelihood of these systems being infected.</p>
<p>One of the bonuses of flow information is that routers and switches still generate flow information even if firewalls drop the traffic.</p>
<p>Darren showed us how tools like nfdump can be used to detect systems with various abnormal behavior such as connecting to external mail servers or DNS servers too much or generating classic DDoS attacks.</p>
<p>Naturally you can also use flow information to detect DDoS attacks.</p>
<p>How do tools, like those Arbor makes, detect DDoS attacks?</p>
<ul>
<li>Baseline detection and baseline deviation</li>
<li>Misuse flow detection (SYN-flood, UDP-flood)</li>
<li>Detect bursts in the network</li>
<li>Use thresholds</li>
</ul>
<p>Why would you use flow information over firewall logs? Routers and switches are much more omnipresent and switches and routers do generate flows even if the firewall drops the traffic.</p>
<p>The slides for this talk with links to whitepapers and open source tools can be downloaded from the <a href="http://www.first.org" target="_blank">first.org</a> website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/06/first2011-listening-to-the-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HitB2011AMS: Credit Card Skimming and PIN Harvesting in an EMV World</title>
		<link>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-emv/</link>
		<comments>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-emv/#comments</comments>
		<pubDate>Fri, 20 May 2011 13:32:47 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[HitB2011AMS]]></category>
		<category><![CDATA[Payment Security]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Adam Laurie]]></category>
		<category><![CDATA[Daniele Bianco]]></category>
		<category><![CDATA[EMV]]></category>
		<category><![CDATA[HitB]]></category>
		<category><![CDATA[Pin and Chip]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1326</guid>
		<description><![CDATA[By Adam Laurie and Daniele Bianco Slides on the HitB Materials page. So what is EMV it stand for Europay, Mastercard and Vista and is a new security statndard for credit cards.With the introduction of EMV the liabiliy moved from the merchant to the cardholder because fraud is thought to be unlikely.  However EMV has [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1327" class="wp-caption alignright" style="width: 250px"><a href="http://www.flickr.com/photos/28867468@N08/4907536883/"><img class="size-full wp-image-1327 " title="Black Skimmer Rynchops niger Skimming a cc by image from marlin harm's Flick stream" src="http://www.cupfighter.net/wp-content/uploads/2011/05/skimmer.jpg" alt="Black Skimmer Rynchops niger Skimming a cc by image from marlin harm's Flick stream" width="240" height="160" /></a><p class="wp-caption-text">Black Skimmer Rynchops niger Skimming a cc by image from marlin harm&#39;s Flick stream</p></div>
<p>By Adam Laurie and Daniele Bianco</p>
<p>Slides on the <a href="http://conference.hackinthebox.org/hitbsecconf2011ams/materials/" target="_blank">HitB Materials page</a>.</p>
<p>So what is EMV it stand for Europay, Mastercard and Vista and is a new security statndard for credit cards.With the introduction of EMV the liabiliy moved from the merchant to the cardholder because fraud is thought to be unlikely.  However EMV has allready been proven to be broken. E.g. Murdoch et. al. have proven that it is possible to use a stolen card without knowing the PIN.</p>
<p>This talk focuses  on the ability to still skim a EMV credit card, without reading the magstripe (which is very often still present).</p>
<p>Skimming a chip card may be more interesting because the user cannot see the interface and thus cannot detect the skimmer. The time effort to install a smartcard skimmer is quite small.</p>
<p>The industry perceives these tools as complex, but that is not true. Devices are small, easy to install and hard to detect.</p>
<p>It is possible to clone the track 1 and track 2 magnetic stripe data from publicly readable data of EMV chip. Luckily not all EMS cards support this.</p>
<p>So magnetic stripe data can be stolen and a stolen card van be used without a PIN, but is it possible to do PIN and magnetic stripe harvesting with EMV cards.</p>
<p><img title="More..." src="../wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /></p>
<p><span id="more-1326"></span></p>
<p>The CVM list on the card, which is digitally signed, tells the terminal how to authenticate to the card. The PIN is only sent to the card is the card specifies this in the CVM list.</p>
<p>However it turns out that, under certain circumstances, PoS terminals do not correctly detect a tampered CVM list and thus will present the PIN in plain text even if the CVM state this shouldn’t happen.</p>
<p>Adam and Daniele then demonstrate the tools they have developed to actually copy a card and u</p>
<hr />About Daniele Bianco</p>
<p>He began his professional career during his early years at university as system administrator and IT consultant for several scientific organizations. His interest for centralized management and software integration in Open Source environments has focused his work on design and development of suitable R&amp;D infrastructure. One of his hobbies has always been playing with hardware and electronic devices.</p>
<p>At the time being he is the resident Hardware Hacker for international consultancy Inverse Path where his research work focuses on embedded systems security, electronic devices protection and tamperproofing techniques. He presented at many IT security events and his works have been quoted by numerous popular media.</p>
<p>About Adam Laurie</p>
<p>Adam Laurie is a freelance security consultant working the in the field of electronic communications. He started in the computer industry in the late Seventies, working as a computer programmer on PDP-8 and other mini computers, and then on various Unix, Dos and CP/M based micro computers as they emerged in the Eighties. He quickly became interested in the underlying network and data protocols, and moved his attention to those areas and away from programming, starting a data conversion company which rapidly grew to become Europe’s largest specialist in that field (A.L. downloading Services). During this period, he successfully disproved the industry lie that music CDs could not be read by computers, and, with help from his brother Ben, wrote the world’s first CD ripper, ‘CDGRAB’.</p>
<p>At this point, he and Ben became interested in the newly emerging concept of ‘The Internet’, and were involved in various early open source projects, the most well known of which is probably their own ‘Apache-SSL’ which went on to become the de-facto standard secure web server. Since the late Nineties they have focused their attention on security, and have been the authors of various papers exposing flaws in Internet services and/or software, as well as pioneering the concept of re-using military data centres (housed in underground nuclear bunkers) as secure hosting facilities.</p>
<p>Adam has been a senior member of staff at DEFCON since 1997, and also acted as a member of staff during the early years of the Black Hat Briefings, and is a member of the Bluetooth SIG Security Experts Group and speaks regularly on the international conference circuit on matters concerning Bluetooth security. He has also given presentations on forensics, magnetic stripe technology, InfraRed and RFID.</p>
<p>He is the author and maintainer of the open source python RFID exploration library ‘RFIDIOt’, which can be found at <a href="http://rfidiot.org">http://rfidiot.org</a>. Adam is a Director and full time researcher working for Aperture Labs Ltd., specialising in reverse engineering of secure systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-emv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HitB2011AMS: iPhone Data Protection in-Depth</title>
		<link>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-iphone/</link>
		<comments>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-iphone/#comments</comments>
		<pubDate>Fri, 20 May 2011 12:31:41 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[HitB2011AMS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Crypto]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[HitB]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[Jean Sigwald]]></category>
		<category><![CDATA[Jean-Baptiste Bedrune]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1322</guid>
		<description><![CDATA[By Jean-Baptiste Bédrune and Jean Sigwald Slides on the HitB Materials page. This talk is about data security and the iPhone. Almost all iPhone like deices (excluding the iPad2 for the moment) can book usigned code when they are in recovery mode. It is also possible to create acustom ram disk, thee are techniques used [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1323" class="wp-caption alignright" style="width: 250px"><a href="http://www.flickr.com/photos/88232386@N00/2313082920/"><img class="size-full wp-image-1323" title="Steve Jobs for Fortune magazine a cc nc nd image from tsevis's Flick stream" src="http://www.cupfighter.net/wp-content/uploads/2011/05/jobs.jpg" alt="Steve Jobs for Fortune magazine a cc nc nd image from tsevis's Flick stream" width="240" height="240" /></a><p class="wp-caption-text">Steve Jobs for Fortune magazine a cc nc nd image from tsevis&#39;s Flick stream</p></div>
<p>By Jean-Baptiste Bédrune and Jean Sigwald</p>
<p>Slides on the <a href="http://conference.hackinthebox.org/hitbsecconf2011ams/materials/" target="_blank">HitB Materials page</a>.</p>
<p>This talk is about data security and the iPhone. Almost all iPhone like deices (excluding the iPad2 for the moment) can book usigned code when they are in recovery mode. It is also possible to create acustom ram disk, thee are techniques used by jailbreakers and phone forensics people.</p>
<p>Data in the iPhone is encrypted with either the UID (unique iPhone key) or GID (key unique to each model).</p>
<p>In the iPhone (iOS &lt; 4) the UID key was only used  to facilitate fast wipe (change key, cannot read flash anymore), it did not provide data security. The iPhone 4 was designed with data security in mind. Jean and Jean demonstrate the tools they wrote to get around the data protection of iOS 4</p>
<p>Because the unlock code is used for data security data can be set to be only available when:</p>
<ul>
<li>The Phone is unlocked</li>
<li>After the phone is unlocked for the first time</li>
<li>Always</li>
</ul>
<p>In iOS 4 there is an escrow key which allows MobileMe and iTunes to access the phone for backup or passcode reset without unlocking the phone.</p>
<p>The first tool that they developed and demonstrated was the keyChainViewer which can be used to view the contents of keyChain, but not the keys.</p>
<p>Using the built in iOS functions (that use the passwcode) you can actually bruto force the passcode of the phone with a small application on the phone. If you boot the phone from a ram disc you can do this without knowing the passcode. Using the brute forced passcode the keyChain can be read and decrypted.</p>
<p>Next tools where demoed to browse the encrypted filesystem and to decrypt iTunes backup files.</p>
<p>Conclusion of the researchers:</p>
<ul>
<li>iOS4 offers far better protection then iOS3</li>
<li>Mail files (with the exception of exchange) are protected by the passcode this offers additional protection, but it can be obtained if you have the phone</li>
</ul>
<p>Tools are available on <a href="http://code.google.com/p/iphone-dataprotection/">http://code.google.com/p/iphone-dataprotection/</a></p>
<hr />
<p>About Jean-Baptiste Bédrune</p>
<p>Jean-Baptiste works at the Software security R&amp;D team at Sogeti for 4 years. His domains of research include code (un)protection, audit of DRM solutions, applied cryptography, reverse engineering on embedded devices and distributed computing. Jean joined Sogeti in early 2010. His research topics include reverse engineering, embedded devices and smartphones security.</p>
<p>About Jean Sigwald</p>
<p>Jean Sigwald is a security researcher working at Sogeti ESEC R&amp;D lab. His research is mainly focused on smartphones security and the services offered by the network operators.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HitB2011AMS: Let met Stuxnet You</title>
		<link>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-pdos/</link>
		<comments>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-pdos/#comments</comments>
		<pubDate>Fri, 20 May 2011 10:55:51 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[DoS]]></category>
		<category><![CDATA[HitB2011AMS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[HitB]]></category>
		<category><![CDATA[Itzik Kotler]]></category>
		<category><![CDATA[PDoS]]></category>
		<category><![CDATA[Permananent Denial of Service]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1319</guid>
		<description><![CDATA[By Itzik Kotler Slides on the HitB Materials page. Itzik start his presentation that writing StuxNet for a company is much less hard then writing one for a nuclear reactor. Stuxnet is interesting in that it is a purely software based attack that had a real hardware based effect. So can software damage hardware? Yes [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1320" class="wp-caption alignright" style="width: 250px"><a href="http://www.flickr.com/photos/65701179@N00/3478145163/"><img class="size-full wp-image-1320" title="Bad day at the office a cc nc ND iamge from Roger Smith's Flick stream" src="http://www.cupfighter.net/wp-content/uploads/2011/05/Wreck.jpg" alt="Bad day at the office a cc nc ND iamge from Roger Smith's Flick stream" width="240" height="180" /></a><p class="wp-caption-text">Bad day at the office a cc nc ND iamge from Roger Smith&#39;s Flick stream</p></div>
<p>By <a title="@itzikkotler on Twitter" href="http://twitter.com/itzikkotler">Itzik Kotler</a></p>
<p>Slides on the <a href="http://conference.hackinthebox.org/hitbsecconf2011ams/materials/" target="_blank">HitB Materials page</a>.</p>
<p>Itzik start his presentation that writing StuxNet for a company is much less hard then writing one for a nuclear reactor. Stuxnet is interesting in that it is a purely software based attack that had a real hardware based effect.</p>
<p>So can software damage hardware? Yes it can:</p>
<ul>
<li>Software controls hardware ad can make it perform damaging hardware</li>
<li>Software can damage software that runs hardware</li>
<li>Software runs hardware and can make this hardware take an action that damages other hardware</li>
</ul>
<p>So what is PDOS (Permanent Denial of Service)? Damaging hardware so bad that it needs to be replace or reinstalled.</p>
<p>Users the brick their phone when they try to jailbreak it are basically causing a self inflicted PDoS.</p>
<p>So who would do it and why?</p>
<p><span id="more-1319"></span></p>
<p>Possible scenario’s are:</p>
<ul>
<li>Industrial espionage/sabotage</li>
</ul>
<ul>
<li>Rival companies</li>
<li>Foreign nations</li>
</ul>
<li>Terrorism</li>
<ul>
<li>Hacktivism</li>
<li>Revenge</li>
</ul>
<li>Blackmailing</li>
<p>So what techniques can you use to cause PDoS:</p>
<ul>
<li>Phlashing: malicious overwrite of firmware</li>
<li>Malicious overclocking. Overclocking hardware too much will break it, e.g. by overheating</li>
<li>Overvolting. Increasing the voltage of equipment</li>
<li>Overusing. Causing too much wear and tear on a mechanism</li>
<li>Power Cycling. most equipment does not handle frequent on-off switching very well</li>
</ul>
<p>So lets look at some local attacks first:</p>
<ul>
<li>Disabling or slowing down fans of computer or other equipment will cause temperature increases which may lead to other failures</li>
<li>CPU overheating by causing an infinite loop</li>
<li>Microcode flashed directly into the CPU can be used to cause a PDoS as well, e.g. by overwriting hard wired instruction with faulty instructions</li>
<li>The techniques for CPUs work for GPUs as well</li>
<li>Hard drives can  be overheated using excessive read and writes, worn out by excessive parking and phlashed</li>
<li>Solid state drives van be bricked by wearing out the flash memory by excessive writing</li>
</ul>
<p>And example of a harddrive attack is a Pseudo format. E.g. by using the script:</p>
<blockquote><p># while true; do dd if=/dev/hda1 of=/dev/hda1 conv=notrunc; done</p></blockquote>
<p>Another harddrive attack is a Spindown attack:</p>
<blockquote><p># hdparam –S 1 /dev/had</p>
<p># while true; sleep 60; dd if/dev/random of=foobar count=1; done</p></blockquote>
<p>DVD/CD Rom attack:</p>
<blockquote><p># while true; do eject /dev/cdrom; eject –t /dev/cdrom; done</p></blockquote>
<p>Flash memory wear attack:</p>
<blockquote><p># while true ; do dd if=/dev/urandom of=/dev/flash; done</p></blockquote>
<p>But even older equipment can be PDoS-ed. e.g. a CRT monitored can be damaged by sending them the wrong requencies. E.g. the XFree86 configuration warns about this.</p>
<p>Also floppy drives can be damaged by, e.g. moving the head to a sector outside the drive enclosure.</p>
<p>But these updates are also possible remotely, e.g. many devices allow over the wire (OTW) or over the air (OTA) firmware updates.</p>
<p>There are some countermeasures that can be used:</p>
<ul>
<li>Overclocking protection</li>
<li>Overvolting protection</li>
<li>Temperature protection</li>
<li>Digitally signed firmware</li>
</ul>
<hr />Itzik Kotler brings more than ten years of technical experience in the software, telecommunications and security industries. Early in his career, Itzik worked at several start-up companies as a Security Researcher. Prior to joining Security Art, Itzik worked for Radware (NASDQ: RDWR), where he managed the Security Operation Center (SOC), a vulnerability research center that develops update signatures and new techniques to defend known and undisclosed application vulnerabilities. Itzik has published several security research articles, and is a frequent speaker at industry events including Black Hat, RSA, and DEFCON.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-pdos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HitB2011AMS: WebShells: A Framework for Penetration Testing</title>
		<link>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-webshells/</link>
		<comments>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-webshells/#comments</comments>
		<pubDate>Thu, 19 May 2011 12:22:19 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[HitB2011AMS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web application]]></category>
		<category><![CDATA[Elena Kropochkina]]></category>
		<category><![CDATA[HitB]]></category>
		<category><![CDATA[Joffrey Czarny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[webshell]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1310</guid>
		<description><![CDATA[By Elena Kropochkina and Joffrey Czarny Slides on the HitB Materials page. Lots of Webshells used by pentesters to get access to the systems are detected by conventional security products like anti-virus, IPS and WAF. In stead of building a new websheel for each assignment the presenters tried to work towards a framework for webshells, [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1311" class="wp-caption alignright" style="width: 225px"><a href="http://www.flickr.com/photos/19723192@N00/329594372/"><img class="size-full wp-image-1311" title="Florida Fragments a cc nc sa by image from Merrick Brown's Flickr stream" src="http://www.cupfighter.net/wp-content/uploads/2011/05/Shells.jpg" alt="Florida Fragments a cc nc sa by image from Merrick Brown's Flickr stream" width="215" height="240" /></a><p class="wp-caption-text">Florida Fragments a cc nc sa by image from Merrick Brown&#39;s Flickr stream</p></div>
<p>By Elena Kropochkina and Joffrey Czarny</p>
<p>Slides on the <a title="HitB Materials page" href="http://conference.hackinthebox.org/hitbsecconf2011ams/materials/" target="_blank">HitB Materials page</a>.</p>
<p>Lots of Webshells used by pentesters to get access to the systems are detected by conventional security products like anti-virus, IPS and WAF. In stead of building a new websheel for each assignment the presenters tried to work towards a framework for webshells, that was modular and added obfuscation as a protection against AV/IPS/WAF.</p>
<p>But if you want to build a webshell framework you need to know what is out there. Most webservers on the internet are dominantly Apache, IIS and Weblogic. Pentesters are most in need of Webshells based on ASP, PHP and Java shells as it is heavily used for intranet applications.</p>
<p>The presenters gave an overview of the webshels out there for webshells for Linux, MySQL, PHP, JSP, ASP. Many of the common shells have high detection rates on the most common anti-virus platforms.</p>
<p>Even tough there are some webshells that are nearly complete in features and others that are not detected by Anti-Virus there isn’t one that is both.</p>
<p>There are a few ways to get around anti-virus encoding, obfuscation and encryption. There are common tools available to obfuscation for different languages like PHP, VBScript and Java. Obfuscation tools make reading the code harder, but are analysis is often still possible.</p>
<p><span id="more-1310"></span></p>
<p>Using this knowledge the presenters designed a webshell platform. The platform should be language independent, resistant against third party unauthorized access and not be detected by AV/IPS/WAF.</p>
<p>Protection against unauthorized third party access is archived by mean of encryption based on “user provided key”, server IP address and client IP address.</p>
<p>So what are the must have functionalities of the framework:</p>
<ul>
<li>System information</li>
<li>Graphical file maanger</li>
<li>file upload/download</li>
<li>command line cmd</li>
<li>SQL manager</li>
</ul>
<p>Elena and Joffrey show the design and some code fragments of the platform and demonstrated the proof of concept platform.</p>
<p>The proof of concept is already very feature rich.</p>
<hr />About Elena Kropochkina</p>
<p>Elena Kropochkina begins her professional career in Devoteam Audit Security team. She was graduated by Ecole Polytechnique and Telecom ParisTech with a M.S. in Computer Science. She is specialized in IT Security and Artificial Intelligence.</p>
<p>About Joffrey Czarny</p>
<p>Joffrey Czarny, working for Devoteam Security Business Unit (FR). Since 2001, Joffrey is a pentester, he has released advisories on VoIP Cisco products and spoken at various security-focused conferences (Wireless Conference at Infosec Paris and Wireless Workshop at Hack.lu 2005, VoIP at Hack.lu 2007/2008 and ITunderground 2008/2009). On his site, <a href="http://www.insomnihack.net">www.insomnihack.net</a>, he maintains the <a href="http://insomnihack.net/elsenot/" target="_blank">Elsenot project</a> and posts video tutorials and tools on several security aspects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-webshells/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HitB2011AMS: A Million Little Tracking Devices</title>
		<link>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-100000-tracking-devices/</link>
		<comments>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-100000-tracking-devices/#comments</comments>
		<pubDate>Thu, 19 May 2011 10:20:11 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[HitB2011AMS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Don A. Bailey]]></category>
		<category><![CDATA[Don Bailey]]></category>
		<category><![CDATA[HitB]]></category>
		<category><![CDATA[Location based]]></category>
		<category><![CDATA[Zoomback]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1306</guid>
		<description><![CDATA[By Don A. Bailey Slides on the HitB Materials page. Don’s talk focuses about devices that are designed to track your assets or loved one., specifically the Zoombak who’s biggest selling point is that you can use it to definitely know where your kids are. Zoombak really took off after it was endorsed by TV [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.cupfighter.net/wp-content/uploads/2011/05/zoombak.jpg"><img class="alignright size-full wp-image-1308" title="zoombak" src="http://www.cupfighter.net/wp-content/uploads/2011/05/zoombak.jpg" alt="" width="282" height="170" /></a>By Don A. Bailey</p>
<p>Slides on the <a title="HitB Materials page" href="http://conference.hackinthebox.org/hitbsecconf2011ams/materials/" target="_blank">HitB Materials page</a>.</p>
<p>Don’s talk focuses about devices that are designed to track your assets or loved one., specifically the <a title="ZoomBak website" href="http://www.zoombak.com/" target="_blank">Zoombak</a> who’s biggest selling point is that you can use it to definitely know where your kids are. Zoombak really took off after it was endorsed by TV personality Oprah.</p>
<p>A Zoombak devices basically consist of a GSM module and a MicroController. These two do not share any memory, but talk to each other over a serial channel using AT commands.</p>
<p>On of the first flaws in the Zoombak is that the GSM module can only talk using the decommissioned and broken A5/2 algorithm. A5/2 is so weak that it can be cracked in real time using PC hardware, but Don didn’t use this eakness to attack the device.</p>
<p>Because being on the GSM network all the time is too expensive the Zoombak device works differently. If you want to know the location of the device you send it an SMS, the SMS is polled from the SIM by the Micro Controller and acts on this command, e.g. by sending the location of the device to a website over the GPRS network.</p>
<p><span id="more-1306"></span></p>
<p>The SMS received by the Zoombak does not only contain <strong>what</strong> should be sent back, but also the IP address <strong>where</strong> the device needs to post this data.</p>
<p>By reverse engineering the messages sent between the MicroController and the GSM module Don was know the protocol and to spoof the devices.</p>
<p>Using a small shell script and tons of SMSes you can actually test devices to see if they are Zoombak devices. But using a technique Don dubbed ‘War Texting’ he was able to avoid SMS spam detection, e.g. by changing the nonce and thus generating a different messages per hosts.</p>
<p>But spamming all phone numbers is not needed. There are device characteristics that can be used to narrow the target range. E.g. by polling the HLR we can determine if the device is a T-Mobile device.</p>
<p>Next step after being able to identify a target, but can we intercept the data and spoof the device? Yes we can!</p>
<p>So what fun can we have with these devices? It can be used to e.g. know or spoof the location of valuable goods that are often protected by these devices. E.g. to pinpoint a &#8220;good&#8221; location for a heist or to convince the security system that nothing is wrong.</p>
<p>What can be done?</p>
<ul>
<li>Don&#8217;t send IP addresses in SMS messages</li>
<li>Encrypt the SMS messages</li>
<li>Don&#8217;t allow non-Zoomback devices to receive IP messages from the Zoomback devices</li>
<li>Use HLR data to detect fraud</li>
</ul>
<p>Embedded Security is hard:</p>
<ul>
<li>Weak security surface</li>
<li>Big threat surface</li>
<li>Many &#8220;moving parts&#8221;</li>
<li>The days of obfuscation are over</li>
</ul>
<p>It is very likely that Zoomback is not the only example of this, mechanisms like this are also used in traffic control systems, SCADA systems and many other applications.</p>
<hr />Don A. Bailey is a Security Consultant with iSEC Partners, Inc. With over six years in the field, Don has discovered many unknown security vulnerabilities in well used software, analyzed new and proprietary protocols for design and implementation flaws, and helped design and integrate security solutions for up and coming internet software.</p>
<p>While Don’s primary expertise is in developing exploit technology, he is also well versed at reverse engineering, fuzzing, enterprise programming, binary analysis, root kit detection and design, and network penetration testing. In addition, Don has helped develop and enhance risk management programs for several Fortune 500 companies in recent years and has been invited to speak about risk management from a CISO perspective at government organized conferences.</p>
<p>For the past five years, Don has presented research at several international security conferences discussing topics such as stealth root-kit design, zero-day exploit technology, DECT, GSM, and microcontroller security. Most recently, Don spoke at Blackhat Abu Dhabi 2010 and ToorCon San Diego 2010 regarding vulnerabilities in the global telephone network and the GSM protocol.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/05/hitb2011ams-100000-tracking-devices/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BSidesLondon: All you security events belong to &#8230; you</title>
		<link>http://www.cupfighter.net/index.php/2011/04/bsideslondon-logs/</link>
		<comments>http://www.cupfighter.net/index.php/2011/04/bsideslondon-logs/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 11:28:53 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[BSidesLondon]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Logs]]></category>
		<category><![CDATA[monitoring]]></category>
		<category><![CDATA[Xavier Mertens]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1293</guid>
		<description><![CDATA[By Xavier Mertens Managing security events from you network. It is often perceived as boring. There is a lot of information and lots of tools. Additionally log formats are not standardized. There are also economic issues, uptime often takes precedence over uptime, it takes time, staff may be reduced and it not a revenue generating [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1294" class="wp-caption alignright" style="width: 250px"><a href="http://www.flickr.com/photos/68187942@N00/2884881790/"><img class="size-full wp-image-1294" title="For Heat a CC-NC-ND image from ailatan's Flickr stream" src="http://www.cupfighter.net/wp-content/uploads/2011/04/logs.jpg" alt="For Heat a CC-NC-ND image from ailatan's Flickr stream" width="240" height="160" /></a><p class="wp-caption-text">For Heat a CC-NC-ND image from ailatan&#39;s Flickr stream</p></div>
<p>By <a title="Xavier Mertens (@XME) on twitter" href="http://twitter.com/xme" target="_blank">Xavier Mertens</a></p>
<p>Managing security events from you network. It is often perceived as boring. There is a lot of information and lots of tools. Additionally log formats are not standardized.</p>
<p>There are also economic issues, uptime often takes precedence over uptime, it takes time, staff may be reduced and it not a revenue generating activity.</p>
<p>Additionally there are legal issues, these issues center around privacy and have to be checked against local law.</p>
<p>Managing security logs is a layered approach:</p>
<ol>
<li>Log collection</li>
<li>Normalization</li>
<li>Storage</li>
<li>Search</li>
<li>Reporting</li>
<li>Correlation</li>
</ol>
<p>Correlation can be used to give events more meaning. This can be done with external sources like vulnerability information, but also with internal sources like e.g. badge swipes or geo-location.<span id="more-1293"></span></p>
<p>Xavier is not a big fan of the big vendors. They provide expensive solutions, but only 10% of the features is used. The most expensive product is not automatically the best solution.</p>
<p>There is a difference between Log management (step 1 to 4 maybe 5) Security (Incident) Event Management (SIEM) should include all 6 steps.</p>
<p>When you want to buy a solution you need to consider:</p>
<ul>
<li>Compliance</li>
<li>What suspicious activity are you looking for</li>
<li>Web application monitoring</li>
<li>Correlation</li>
<li>Supported devices</li>
<li>Buying a SIEM is a very specific project.</li>
</ul>
<p>Syslog daemons are a good way to start, but syslog is not issue free. Since a syslog message can contain a free format message it is very hard to pass.</p>
<p>A good too to start is SEC, “Simple Event Correlation”. It performs correlation of logs based on Perlregular expressions to produce new events, trigger scripts or write entries to a file. Perl knowledge is required.</p>
<p>OSSEC is actually a Host Based IDS, but it does Log collection and parsing as well. Like SEC it can create new events or launch scripts and supports rootkit detection and file integrity checking and has log archiving.</p>
<p>There are more protocols then syslog. Unfortunately there is no standard format yet.</p>
<p>Cooking book</p>
<p>Xavier then showed some “recipes”:</p>
<ul>
<li>OSSEC to do USB Stick insertion on windows</li>
<li>MySQL Integrity Auditing</li>
<li>Detection of suspicious IP’s and users</li>
<li>To map attacks on the map using Google Maps.</li>
<li>And an example OSSEC dashboard</li>
</ul>
<p>There are other tools to get more visualisation:</p>
<ul>
<li>Loggly (Saas)</li>
<li>Splunk</li>
<li>Secviz.org</li>
</ul>
<p>Xavier’s conclusion: you need log management because you cannot review your logs manually. You need to stick to your requirements. However you do it, it will cost time and money.</p>
<p>More informaiton on <a title="http://blog.rootshell.be" href="http://blog.rootshell.be" target="_blank">Xaviers blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/04/bsideslondon-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Black Hat EU : Exporting Non-Exportable RSA Keys &#8211; By Jason Geffner</title>
		<link>http://www.cupfighter.net/index.php/2011/03/exporting-rsa-keys/</link>
		<comments>http://www.cupfighter.net/index.php/2011/03/exporting-rsa-keys/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 16:20:54 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[BlackHatEU]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Black Hat]]></category>
		<category><![CDATA[CAPI]]></category>
		<category><![CDATA[CNG]]></category>
		<category><![CDATA[Private key]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1290</guid>
		<description><![CDATA[The private key is supposed to be private. It is what proves that the services and the certificate belong to each other. As an attacker you want to obtain this key in order to spoof the identity of the service. When you import a certificate with private key or generate a private key via the [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1291" class="wp-caption alignright" style="width: 250px"><a href="http://www.flickr.com/photos/22714323@N06/4040997860/"><img class="size-full wp-image-1291" title="The Key to My Mind (11/12) a CC image from Tony the Misfit's Flickr stream" src="http://www.cupfighter.net/wp-content/uploads/2011/03/Key.jpg" alt="The Key to My Mind (11/12) a CC image from Tony the Misfit's Flickr stream" width="240" height="193" /></a><p class="wp-caption-text">The Key to My Mind (11/12) a CC image from Tony the Misfit&#39;s Flickr stream</p></div>
<p>The private key is supposed to be private. It is what proves that the services and the certificate belong to each other. As an attacker you want to obtain this key in order to spoof the identity of the service.</p>
<p>When you import a certificate with private key or generate a private key via the Microsoft Crypto API (CAPI) you can mark it as non-exportable. But are these keys really non-exportable or is this just a GUI option to give administrators a false sense of security?</p>
<p>In order to find out how an attacker can export a non-exportable key RSA key, we need to dive into the CAPI calls.</p>
<p>Disassembling the CAPI functions shows that there are flags in memory that specify that the key is not exportable. It appears that these flags are stored on the same memory location and user the same function. And you can actually temper with this information and set these flags back to being exportable.</p>
<p>The situation is a bit different in the CAPI: Next generation (CNG). Again a disassembly of these functions shows that the CliCryptExportKey() via the c_SrvRpcCryptExportKey function get the private key from the KeyISO or KeyIsolation RPC service that is meant to isolate the RSA keys from the client memory.</p>
<p><span id="more-1290"></span></p>
<p>It turns out that the memory of the lsass.exe process can reliably be manipulated to make the SPPkcs8IsKeyExportable function return 1 and thus allow the key to be exported.</p>
<p>In both CAPI and CNG the offsets to the flags are the same across the last 11 years of Microsoft products.</p>
<p>Jason has demonstrated the technique live on stage.</p>
<p>The code as well as the slides will be released to the <a href="http://www.blackhat.com">www.blackhat.com</a> website together with the presentation slides shortly.</p>
<p>Conclusion:Non-exportable keys are a GUI feature, they do not prevent a attacker from getting the key, they just slow him down.</p>
<hr /><strong>Jason Geffner</strong> joined NGS Secure in June of 2007 as a Principal Security Consultant. Jason focuses on performing security reviews of source code and designs, reverse engineering software protection methods and DRM protection methods, penetration testing web applications and network infrastructures, and developing automated security analysis tools.<br />
Prior to joining NGS, Jason spent three years as a Reverse Engineer on Microsoft Corporation&#8217;s Anti-Malware Team, where his work involved analyzing malware samples, deobfuscating binaries, and writing tools for analysis and automation. Jason was the Security Research &amp; Response owner of the Windows Malicious Software Removal Tool (MSRT). He chose which new malware families for the MSRT to detect and clean each month based on his analysis of the telemetry and trends of the underground malware community. Jason authored tens of thousands of malware signatures and dozens of malware analyses based on static and dynamic analyses of obfuscated binaries. His work on the MSRT helped hundreds of millions of Windows users each month keep their computers safe and secure.<br />
While at Microsoft, Jason was recognized for his reverse engineering skills and for his efforts to drive awareness of reverse engineering practices throughout the company by being given the formal job title &#8220;Reverse Engineer&#8221;; Jason was the only Microsoft employee with this title. Jason holds several patents in the fields of reverse engineering and network security. He is a Program Committee member of the Reverse Engineering Conference (REcon) and of the International Conference on Malicious and Unwanted Software, is a regular trainer at Black Hat and other industry conferences, is often credited in industry talks and publications, and has been actively reverse engineering and analyzing software protection methods since 1995.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/03/exporting-rsa-keys/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Black Hat EU: You are Doing it Wrong: Failures in Virtualization Systems &#8211; By Claudio Criscione</title>
		<link>http://www.cupfighter.net/index.php/2011/03/virtualization-failure/</link>
		<comments>http://www.cupfighter.net/index.php/2011/03/virtualization-failure/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 15:11:42 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[BlackHatEU]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[ESXi]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[vSphere 4]]></category>
		<category><![CDATA[Black Hat]]></category>
		<category><![CDATA[Blackhat]]></category>
		<category><![CDATA[Vasto]]></category>
		<category><![CDATA[virtualisation]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1286</guid>
		<description><![CDATA[Virtualization aims to save money, make things simple and quick to deploy. Saving money and quick deployment are arch enemies of security Virtualization products require security on the hypervisor level. Being able to hop from one virtual machine to another is not acceptable. Also there are a lot of products that focus on the security [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1287" class="wp-caption alignright" style="width: 250px"><a href="http://www.flickr.com/photos/64251830@N00/406285615/"><img class="size-full wp-image-1287" title="Wrong Way ... Way Wrong a CC NC SA image from Bob.Fornal's Flickr stream" src="http://www.cupfighter.net/wp-content/uploads/2011/03/Wrong.jpg" alt="Wrong Way ... Way Wrong a CC NC SA image from Bob.Fornal's Flickr stream" width="240" height="199" /></a><p class="wp-caption-text">Wrong Way ... Way Wrong a CC NC SA image from Bob.Fornal&#39;s Flickr stream</p></div>
<p>Virtualization aims to save money, make things simple and quick to deploy. Saving money and quick deployment are arch enemies of security</p>
<p>Virtualization products require security on the hypervisor level. Being able to hop from one virtual machine to another is not acceptable. Also there are a lot of products that focus on the security in the virtual machines, but virtualized infrastructure are complex by nature.</p>
<p>Relative lame bugs like XSS can be a big deal in virtualization infrastructures</p>
<p>Claudio demonstrates that live on stage, by exploiting a XSS bug in VMWare vCenter which took 1.5 years to patch.</p>
<p>Claudio showed us how an unprivileged user on the vCenter machine able to read a logfile contain the administrator SOAP session ID. Using this ID and Vasto administrator privileges where obtained. Until the last patch read-only access to vCenter meant that the user could take over the virtual infrastructure using standard tools.</p>
<p>Next attack demonstrated is against an Oracle virtual machine. Using standard “lame” exploits Claudio was able to hope from the application level administrator to the system root account.</p>
<p>So there are still some very simple vulnerabilities in this software.</p>
<p>Virtualization software is broken today, and we have to treat it accordingly. We have to make people aware that it is broken.</p>
<p>Virtualization infrastructures should be setup in such a way that a XSS in the management layer cannot lead to a disaster.</p>
<p><span id="more-1286"></span></p>
<p>Claudio defines a new model that consists of a vCell and a vGatekeeper. With the goal of still providing some security if you lose your management solution.</p>
<p>vGatekeeper uses mod_security to define which communication is allowed between the management solution and the virtual machines.</p>
<p>With vGatekeer you can define which actions a user can execute on a virtual infrastructure regardless of his or her authentication level. The vGatekeeper software will generate a network configuration file and a mod_security configuration file that will prevent certain actions for propagating from vCenter to ESXi.</p>
<p>Claudio demos this application live on stage.</p>
<p>vGetkeeper will give the control back to the security team, in stead of it being in control of the virtualization team.</p>
<hr /><strong>Claudio Criscione</strong> managed to score his first hack at the age of 10, to download more content from the local BBS by bypassing ratio restrictions. After that he hacked his way to graduation at Milano TU and started his PhD. He has been the CTO of Secure Network since 2011. Criscione has been involved in web application security and anomaly detection, but has since moved into virtualization security. Criscione has presented at many of the conferences in the security circus and is also currently managing <a href="http://virtualization.info">virtualization.info</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/03/virtualization-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Black Hat EU: Building Floodgates: Cutting-Edge Denial of Service Mitigation &#8211; By Yuri Gushin &amp; Alex Behar</title>
		<link>http://www.cupfighter.net/index.php/2011/03/roboo/</link>
		<comments>http://www.cupfighter.net/index.php/2011/03/roboo/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 14:00:35 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[BlackHatEU]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[DoS]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Black Hat]]></category>
		<category><![CDATA[Denial of Service]]></category>
		<category><![CDATA[LOIC]]></category>
		<category><![CDATA[Roboo]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1284</guid>
		<description><![CDATA[DoS, making resources unavailable to others. Common motives are hacktivism, extortion and rivalry. Most big attacks are successful. So what are the risks of being under DoS attack? Downtime, lost revenue, large bills from the cloud service providers. What kinds of DoS attacks are there? Layer 3 – Muscle-based attacks, generating too much packets for [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1283" class="wp-caption alignright" style="width: 190px"><a href="http://www.flickr.com/photos/15213592@N03/4933836930/"><img class="size-full wp-image-1283" title="Ghosts of Lake Sutherland a CC NC SA image from Wyrmworld's Flickr stream" src="http://www.cupfighter.net/wp-content/uploads/2011/03/Floodgate.jpg" alt="Ghosts of Lake Sutherland a CC NC SA image from Wyrmworld's Flickr stream" width="180" height="240" /></a><p class="wp-caption-text">Ghosts of Lake Sutherland a CC NC SA image from Wyrmworld&#39;s Flickr stream</p></div>
<p>DoS, making resources unavailable to others. Common motives are hacktivism, extortion and rivalry. Most big attacks are successful.</p>
<p>So what are the risks of being under DoS attack? Downtime, lost revenue, large bills from the cloud service providers.</p>
<p>What kinds of DoS attacks are there?</p>
<ul>
<li>Layer 3 – Muscle-based attacks, generating too much packets for the equipment or saturating the pipe.</li>
<li>Layer 4 – Consumes more resources on the device., e.g. SYN flood, connection flood, concurrent connection exhaustion, garbage data.</li>
<li>Layer 7 – Attacking the application. Trying to consume as much resources as possible. E.g. HTTP page flood, HTTP bandwidth consumption, DNS query flood, SIP INVITE flood. There attacks are low rate, high impact</li>
</ul>
<p>So how do you mitigate DoS attacks?</p>
<p>Static thresholds work and put the operation team in control, however they require constant tuning and restrict the detection phase to a single-dimension (rate only).</p>
<p>Adaptive threshold, attempting the learn real traffic characteristics, which improves accuracy, however, natural traffic peaks like e.g. a Christmas peak may be blocked too.</p>
<p><span id="more-1284"></span></p>
<p>A more sophisticated detection can be based on using two dimensions, e.g. DNS requests v.s. HTTP requests. The presenters show a graph that shows a 3D graph of an L3 flood. Another metric that can be used is the distribution of content-types vs. the number of HTTP requests.</p>
<p>So by using two dimensions to determine if you are in a DoS attack you can reduce the false positive rate.</p>
<p>A lot of DoS bot clients have a very specific TCP header, however there are too much DoS tools to actually rely on a human to create the signatures.</p>
<p>Besides to passively block traffic by thresholds or patterns, you could also include a active mitigation like:</p>
<ul>
<li>Challenge response – This wards of clients that don’t have a full protocol stack e.g. SYN cookies or requiring JavaScript.</li>
<li>Session Disruption – Causing the clients to use more resources in the attack that you need to mitigate the attack</li>
<li>Tarpitting – Stalling malicious connections.</li>
</ul>
<p>There are  a lot of different ways to do challenge response mitigation. Using JavaScript to verify is a DOM is present, detect if flash is present or use other systems.</p>
<p>If an attack is detected, it is important not just to drop the connection, but also to reset the backend connection. If you just reset the backend connection, but not the bot connection you may cause the attacker to consume a lot of resources himself. LaBrea is a nice way of slowing down attacks in progress slowing the connection down, sometimes to the point where the bot crashes.</p>
<p>Most of the shell x86 based hardware is simply incapable of handling a full 1Gb+ network stream at wire speed. Dedicated ASIC is the only hardware capable of supporting these speeds.</p>
<h3>Mitigating LOIC</h3>
<p>LOIC was not a new tool, but some parts like the hive mind was added lately. It is capable of generating malformed HTTP requests, but it has terrible thread and IO management.</p>
<p>The presenters present Roboo – Open Source HTTP Robot Mitigator.</p>
<p>Roboo will respond to each GET or POST request from an unverified source with a challenge: Challenge is javascript or flash based and optionally gzip compressed. A real browser with full HTTP, HTML, JavaScript and/or Flash player will be able to generate the correct response and issue the original request.</p>
<p>Roboo can whitelist allowed robot activity and pass it.</p>
<p>Roboo integrates with the high performance Nginx webserver and reverse proxy.</p>
<p>Roboo was tested against: LOIC, Acentuix Web Vulnerability Scanner, Metasploit Pro, Nessus and many more. It can serve as a Captcha replacement too.</p>
<p>Roboo can be downloaded from <a href="http://www.ecl-labs.org">www.ecl-labs.org</a>.</p>
<p>Roboo was demonstrated.</p>
<p>Summary of the talk:</p>
<ul>
<li>DoS is booming – attacks are growing in power and efficiency</li>
<li>Cloud subscribers are the new victims</li>
<li>Anti-DoS technologies has greatly evolved</li>
</ul>
<ul>
<hr /><strong>Yuri Gushin</strong> has been involved with security research &amp; development for over a decade, including extensive work in the fields of IPS and DoS detection and evasion technologies, network and application vulnerability discovery and exploitation, protocol fuzzing and plenty more. Yuri also co-founded the ECL Labs research group.</p>
<p>Currently, Yuri is the Senior Security Specialist for Europe, Middle East and Africa (EMEA) at Radware, heading the major security activities around the region, and playing an active role in the design of Radware&#8217;s next generation security offerings.</ul>
<p><strong>Alex Behar</strong> has been in InfoSec for the last 15 years, participating in research, exploit development and reverse engineering of network protocols and application stacks. Most recently, Alex was a Senior Researcher in Radware&#8217;s DefensePro security team and is currently Director of Security Products for Radware North America. Additionally, he is a co-founder of security research think-tank ECL-Labs and core developer of the Raptor Traffic Suite.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/03/roboo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Black Hat EU: Among the blind, the squinter rules : Security visualization in the field&#8211;By Wim Remes</title>
		<link>http://www.cupfighter.net/index.php/2011/03/zisualization-is-not-pie/</link>
		<comments>http://www.cupfighter.net/index.php/2011/03/zisualization-is-not-pie/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 11:11:02 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Blackhat]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Barcelona]]></category>
		<category><![CDATA[Black Hat]]></category>
		<category><![CDATA[BlackHatEU]]></category>
		<category><![CDATA[Visualization]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1280</guid>
		<description><![CDATA[Wim Remes starts of his tool as giving us an overview of the lack of visualizati on in security tools. There are some tools that have some visualization, but it is limited and lacks features. He then takes us through the hall of fail of visualizations and gives us some tips on visualization. Thinks as [...]]]></description>
			<content:encoded><![CDATA[<p><a title="@WimRemes on Twitter" href="http://twitter.com/wimremes" target="_blank">Wim Remes</a> starts of his tool as giving us an overview of the lack of visualizati</p>
<div id="attachment_1281" class="wp-caption alignright" style="width: 250px"><a href="http://www.flickr.com/photos/24257141@N05/4292858717/"><img class="size-full wp-image-1281" title="Miniature Dotted Hot Pink Cake a CC NC ND image from - Stephanie Kilgast's Flicker account" src="http://www.cupfighter.net/wp-content/uploads/2011/03/Pie.jpg" alt="Miniature Dotted Hot Pink Cake a CC NC ND image from - Stephanie Kilgast's Flicker account" width="240" height="198" /></a><p class="wp-caption-text">Miniature Dotted Hot Pink Cake a CC NC ND image from - Stephanie Kilgast&#39;s Flicker account</p></div>
<p>on in security tools. There are some tools that have some visualization, but it is limited and lacks features.</p>
<p>He then takes us through the hall of fail of visualizations and gives us some tips on visualization.</p>
<p>Thinks as a designer, be aware of who you are visualizing for. Each group has different demands for visualization and want to take different things out of it.</p>
<p>He then proceeds to give us some tips and tricks. He recommends to follow the work of Edward Tufte and Stephen Few who have both done excellent work on data visualization.</p>
<p>If you do data visualization you may want to get data from external reports like osvdb.org datalossdb.org and other industry vendors.</p>
<p>Common problems of data visualization are redundant elements like 3D and color. This is expressed in the ink-to-info ratio. You may want to reduce the bell and whistles you use.</p>
<p>Dashboards are often messy, they should really be aware of their screen real estate. Most important places on the screen are top left and the center of the screen. In order to squeze as much info as possible into a dashboard dashboard often get messy.</p>
<p><span id="more-1280"></span></p>
<p>Wim presents a number of idea’s on how to make these dashboards better.</p>
<p>Visualization can really aid as well. Wim is showing use visualization tools that can really help.</p>
<p>First, Wim shows us a video that represents an attack on a VOIP server. The movie was created using gltail and can be downloaded from <a href="http://www.fudgie.org/">http://www.fudgie.org/</a>.</p>
<p>Afterglow is another tool used b Wim a lot, it creates visualization that can really aid understand log files.</p>
<p>Perl perl | chart director which can also help to create understandable graphics form complex data charts.</p>
<p>The Google charts API and Google Visualization API may be a good alternatives as well. Wim demo’s the visualization capabilities of the Google Visualization API by using publicly available data and visualizing it. Naturally you have to be careful of what data you send to a could provider such as Google.</p>
<p>Sparkline and JQPlot are interesting JQuery libraries you can use for data visualization in a good way without sending it to a cloud..</p>
<p>Conclusions:</p>
<ul>
<li>We need data standardization to get more out of visualization</li>
<li>You need to understand data before you can successfully visualize it</li>
<li>We need to think outside the gox</li>
<li>There is more to visualization then pie charts</li>
<li>There are tools out there: use them wisely.</li>
</ul>
<hr /><strong>Wim Remes</strong> is an information security consultant currently working for Ernst and Young in Belgium. With 13 years of experience in IT, most of those in various security roles, he has spent ample time in noisy server rooms and cosy, but still noisy, board rooms. The only big difference is the quality of the drink. In the past decade Wim has been focusing on incident response, security monitoring and trying to prove the value of security to management. Wim has spoken at events like Excaliburcon 2009(Wuxi, China), FOSDEM 2010(Brussels, Belgium) and Source Barcelona 2010(Spain). I am a co-host of the Eurotrash information security podcast and a sporadic blogger. My name can be found in various information security related documents that I contributed to in one way or the other but won&#8217;t use for shameless self-promotion.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/03/zisualization-is-not-pie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Black Hat EU: SAP: Session (Fixation) Attacks and Protections (in Web Applications) &#8211; By Raul Siles</title>
		<link>http://www.cupfighter.net/index.php/2011/03/sap-fixation/</link>
		<comments>http://www.cupfighter.net/index.php/2011/03/sap-fixation/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 14:08:54 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[BlackHatEU]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Black Hat]]></category>
		<category><![CDATA[Raul Siles]]></category>
		<category><![CDATA[SAP]]></category>
		<category><![CDATA[Session Fixation]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1272</guid>
		<description><![CDATA[SAP: Session (Fixation) Attacks and Protections (in Web Applications) Raul Siles is @taddong on Twitter Why do we need session management in Web Applications. HTTP is a stateless protocol so the application need to handle ourselves. Sesion Fixations if different then session hijacking. In hijacking you will use somebody else’s session ID to become them. [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1273" class="wp-caption alignright" style="width: 219px"><a href="http://www.flickr.com/photos/49503096783@N01/414806681/"><img class="size-full wp-image-1273" title="gluey harmony a CC NC ND image from giveawayboy's Flickr stream" src="http://www.cupfighter.net/wp-content/uploads/2011/03/Glue.jpg" alt="gluey harmony a CC NC ND image from giveawayboy's Flickr stream" width="209" height="240" /></a><p class="wp-caption-text">gluey harmony a CC NC ND image from giveawayboy&#39;s Flickr stream</p></div>
<p>SAP: <a title="Wikipedia article" href="http://en.wikipedia.org/wiki/Session_fixation" target="_blank">Session (Fixation) Attacks</a> and Protections (in Web Applications)</p>
<p>Raul Siles is <a title="@Taddon on Twitter" href="http://twitter.com/taddong">@taddong</a> on Twitter</p>
<p>Why do we need session management in Web Applications. HTTP is a stateless protocol so the application need to handle ourselves.</p>
<p>Sesion Fixations if different then session hijacking. In hijacking you will use somebody else’s session ID to become them. In session fixation the attacker fixes the session ID before he logins into the target application.</p>
<p>So what is the state of the art of session fixation 9 years after its discovery in 2002?</p>
<p>Like HTTP parameter pollution session IDs can also be accepted from multiple sources, even tough the application only uses a single method. E.g. the application may user GET parameters, but still accept session ID cookies.</p>
<p>So how does session fixation work? An attacker sets up a session with a website, but does not log on. He then tricks a user into log in using the same session ID. As the session gets elevated, both the attacker and victim get the authenticated state.</p>
<p>Session fixation does not require solcial engineering, but can also be obtained by e.g. Cross Site Scripting (XSS) or SQL injection.</p>
<p>In order to demonstrate the problem Raul shows the vulnerability as it existed in Joomla 1.5.x-1.5.15</p>
<p>HTTPS does not protect against session fixation vulnerabilities, neither does using MD5 values for the cookie ID or values.</p>
<p><span id="more-1272"></span></p>
<p>The second case study involves a web application based on WebLogic. Which is reported live today. The JSESSIONID cookie was configured to contain a too broad domain. normally WebLogic provides two cookies a post authentication cookie and a pre-authentication cookie which should tackle the problem.</p>
<p>The application allowed all resources to be accessed both via HTTP and HTTPS. And the HTTP site did not require the post-authentication cookie. Thus the session fixation protection was not present on HTTP.</p>
<p>So how easy is it to introduce this misconfiguration? If web.xml states that the “transport-guarantee” as NONE this vulnerability is present. This is the default setting.</p>
<p>It could very well be that that even tough you have set the default to CONFIDENTIAL, it could still be that some resources are set to NONE as an exception.</p>
<p>So what can you do about it?</p>
<ul>
<li>Set your “AuthCookieEnabled” and “transport-guarantee” setting to secure values.</li>
<li>If you use the login api, use the ServletAUthenticaiton.generateNewSessionID(request) call after login to generate a new session ID otherwise force the app server to automatically generate new session IDs after login.</li>
<li>Enforce both encryption and authentication (not set by default)</li>
</ul>
<ul>The third case study focuses on SAP.</ul>
<ul>In this pentest, users where authenticated against the Intranet first using NTLM then redirected to HTTP SAP application and then redirected to HTTPS SAP application. This allowed Raul to fix the sessionID using a MitM attack.</ul>
<p>The session of any user that logged on lead to the testers being able to log on with the same authentications.</p>
<p>The issue was first reported in July 2009, and a fix was released in December 2010. It will take another 3 months to be implemented on the client infrastructure.</p>
<p>SessionIDRegeneration is still disabled in older SAP releases (pre 7.11) in order to avoid compatibility issues.</p>
<p>Other protection methods like SystemCookiesHTTPSenabled and SessionIPProtectionEnabled are both available in SAP but off by default.</p>
<p>Conclusion</p>
<ul>
<li>SessionIDs need to be renewed after privilige level changes</li>
<li>There is no link between session management and authentication, we need to take care of it ourselves</li>
<li>Limit the number of session tracking methods accepted</li>
<li>Use HTTPS if you can</li>
</ul>
<p>It is still an old but valid method affecting thousands of users. You auhtnication can be very secure, however once you have established a secure session with a token, the session ID is all that protects your session.</p>
<hr /><strong>Raul Siles</strong> is a founder and senior security analyst with Taddong, a security research &amp; consulting company. His more than 10 years expertise performing advanced security services and solutions in various worldwide industries is driven by his unlimited interest in security challenges plus in researching, pen-testing, and hacking different technologies, such as, web applications, wireless, honeynets, virtualization, mobile devices, VoIP&#8230; He is an experienced training author and instructor, regular speaker at security conferences, member of several international security organizations, and contributes to research and open-source security projects. Part of his work is available on his company blog (<a href="http://blog.taddong.com">http://blog.taddong.com</a>) and (outdated) web page (<a href="http://www.raulsiles.com">http://www.raulsiles.com</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/03/sap-fixation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Black Hat EU: Web Application Payloads &#8211; Andres Riancho</title>
		<link>http://www.cupfighter.net/index.php/2011/03/w3af-payloads/</link>
		<comments>http://www.cupfighter.net/index.php/2011/03/w3af-payloads/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 11:38:18 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[BlackHatEU]]></category>
		<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web application]]></category>
		<category><![CDATA[Andres Riancho]]></category>
		<category><![CDATA[Barcelona]]></category>
		<category><![CDATA[Black Hat]]></category>
		<category><![CDATA[w3af]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1267</guid>
		<description><![CDATA[This talk focuses on the w3af project, which has been Andres project for a long time, but is an open source project. It can be found at http://w3af.sourceforge.net/ Andres starts by giving an overview of w3af. He then goes into a scenario which is common for a pentest. It starts with a pentester discovering a [...]]]></description>
			<content:encoded><![CDATA[<p>This</p>
<div id="attachment_1268" class="wp-caption alignright" style="width: 250px"><a href="http://www.flickr.com/photos/66724786@N00/233278221/"><img class="size-full wp-image-1268" title="photo Eurofighter Typhoon Payload - A CC NC ND image from Stuart R Brown's Flickr stream" src="http://www.cupfighter.net/wp-content/uploads/2011/03/payload.jpg" alt="photo Eurofighter Typhoon Payload - A CC NC ND image from Stuart R Brown's Flickr stream" width="240" height="160" /></a><p class="wp-caption-text">photo Eurofighter Typhoon Payload - A CC NC ND image from Stuart R Brown&#39;s Flickr stream</p></div>
<p>talk focuses on the w3af project, which has been Andres project for a long time, but is an open source project. It can be found at <a href="http://w3af.sourceforge.net/">http://w3af.sourceforge.net/</a></p>
<p><a title="@w3af on Twitter" href="http://twitter.com/w3af" target="_blank">Andres</a> starts by giving an overview of w3af.</p>
<p>He then goes into a scenario which is common for a pentest. It starts with a pentester discovering a arbitrary file read vulnerability in a PHP application, but how to proceed to getting root? There appears to a shocking lack of post exploitation tools that can be applied to web application vulnerabilities.</p>
<p>Why is there such a lack of post exploitation tools for web applications?</p>
<ul>
<li>Buffer overflows used to be more common then web application flaws</li>
<li>Web applications only allow you to interact with the system in a specific (restircted) manner</li>
</ul>
<p>Post exploitation of web applications requires a new mindset, because you are often restricted to one or a few functions, e.g. read files with restricted privileges or write files to specific areas.</p>
<p><span id="more-1267"></span></p>
<p>Andres shows use how a payload in w3af looks like. He shows the following process:</p>
<ol>
<li>Start a w3af scan</li>
<li>identify arbitrary file read vulnerability</li>
<li>Execute the “users” payload that read /etc/passwd and parses it.</li>
<li>Show the results</li>
</ol>
<p>W3af has payload for showing the users on the system, showing the open TCP connections and interesting files on the system. The interesting files payload tries to find interesting files in a lot of different places, including all user home directories.</p>
<p>There is logic in payloads as wel, based on the information obtained during the scan phase. E.g. of this is the get_source_code payload that behaves differently on windows and unix based systems. This payload makes it really simple to obtain the full source code from a webserver.</p>
<p>O.K. so now we have the sourcecode, now what? We have build a PoC PHP Static code analyzer and integrated it with w3af. We can now use w3af to discover even more vulnerabilities. E.g. code analysis will show e.g. an SQLi vulnerability that will lead to arbitrary file write.</p>
<p>Andres then showed us that this is not just theory, but demoed it too.</p>
<p>Bare in mind that the current SCA in w3af is only at proof of concept level only. There are many things still missing from it. If you feel like contributing, please contact Andres.</p>
<p>If you can use the exec() function, there are much more cool things to do. w3af can then integrate with the Metasploit framework to execute msf payloads (like meterpreter). This function was also demoed.</p>
<hr /><strong>Andrés Riancho</strong> is an information security researcher, Director of Web security at Rapid7 and founder of Bonsai, where he is mainly involved in Penetration Testing and Vulnerability Research. In the research field, he discovered critical vulnerabilities in IPS appliances from 3com and ISS; and contributed with SAP research performed at his former employer.</p>
<p>His main focus has always been the Web Application Security field, in which he developed w3af a Web Application Attack and Audit Framework used extensively by penetration testers and security consultants. Andres has spoken and hold trainings at many security conferences around the globe, like OWASP World C0n (USA), CanSecWest (Canada), T2 (Finland) and ekoparty (Buenos Aires).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/03/w3af-payloads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESXi: issues with NFS datastore. Where do I put my tcpdump?</title>
		<link>http://www.cupfighter.net/index.php/2011/02/esxi-issues-with-nfs-datastore-where-do-i-put-my-tcpdump/</link>
		<comments>http://www.cupfighter.net/index.php/2011/02/esxi-issues-with-nfs-datastore-where-do-i-put-my-tcpdump/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 16:41:50 +0000</pubDate>
		<dc:creator>Enrico Romani</dc:creator>
				<category><![CDATA[ESXi]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[NFS]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[vSphere 4]]></category>
		<category><![CDATA[tcpdump]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1232</guid>
		<description><![CDATA[ESXi over NFS works just great! But what if you have an issue with NFS and you need a network dump?  In ESXi tipically you don&#8217;t have a local datastore where you can write files from the network dump and your datastore over NFS is not availabe! Before running into the Data Centre and stick a USB disk [...]]]></description>
			<content:encoded><![CDATA[<p>ESXi over NFS works just great!</p>
<p>But what if you have an issue with NFS and you need a network dump? </p>
<p>In ESXi tipically you don&#8217;t have a local datastore where you can write files from the network dump and your datastore over NFS is not availabe!</p>
<p>Before running into the Data Centre and stick a USB disk or even better a SCSI disk you might want to try this. <img src='http://www.cupfighter.net/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>One trick I used that worked out pretty well for me, with a little help of my a linux machine, is to send the <a title="ESXi tcpdump" href="http://www.cupfighter.net/?p=1217" target="_blank">tcpdump</a> output to a FIFO and from a remote host (might be a VM in a different ESXi host) over SSH <code>cat</code> the FIFO to a local file.</p>
<p><strong>How To:</strong><br />
On the ESXi host logon via SSH as root and create a named pipe:</p>
<p><code>root@yourESXihost# mkfifo /tmp/pipe.dmp</code></p>
<p>and from a remote linux machine launch the following:</p>
<p><code>you@yourlinuxhost &gt; ssh root@youresxihost "cat /tmp/pipe.dmp" &gt; capture-for-wireshark.cap</code></p>
<p>Now from a new ssh session to ESXi as root lauch</p>
<p><code>root@yourESXihost# tcpdump-uw -n -s 1524 -i vmk# -w /tmp/pipe.dmp</code></p>
<p>OR even better from the remote machine:</p>
<p><code>you@yourlinuxhost &gt; ssh root@youresxihost "tcpdump-uw -n -s 1524 -i vmk# -w /tmp/pipe.dmp" </code><br />
(replace the # with the proper vmk port number)</p>
<p>Reproduce your issue and when you finished just hit  &#8220;Cotrol+C&#8221; to stop the network dump and the cat.<br />
Now you can open your file directly in <a href="http://www.wireshark.org/" target="_blank">wireshark</a> (that&#8217;s what I use at least!)</p>
<p>This little trick of course can be used to troubleshoot network problems in a VM as well, dumping the traffic from a VMK# nic for the entire dvPortGroup. You just need to make sure that the the VM&#8217;s vNIC and the vmk# nic are connected to the same dvPortGroup and you must remember to allow promiscuous mode (not allowed by default)</p>
<p><img class="alignnone size-full wp-image-1233" title="PromiscousMode" src="http://www.cupfighter.net/wp-content/uploads/2011/02/PromiscousMode.png" alt="" width="631" height="131" /></p>
<p>Good Luck!</p>
<p><em><strong>Please note:</strong> your network can be very chatty so the file can grow very fast and/or your ESXi host might not like the tcpdump so use it at your own risk and only if you really know what you are doing!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2011/02/esxi-issues-with-nfs-datastore-where-do-i-put-my-tcpdump/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The mistery of the missing &#8216;MSS:&#8217; setting on Windows 2008</title>
		<link>http://www.cupfighter.net/index.php/2010/11/missing-mss-setting-windows-2008/</link>
		<comments>http://www.cupfighter.net/index.php/2010/11/missing-mss-setting-windows-2008/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 10:53:36 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows 2008]]></category>
		<category><![CDATA[Windows 2008 R2]]></category>
		<category><![CDATA[.adm]]></category>
		<category><![CDATA[2008]]></category>
		<category><![CDATA[2008 R2]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[adm file]]></category>
		<category><![CDATA[Adminsitrative Template]]></category>
		<category><![CDATA[Frank Breedijk]]></category>
		<category><![CDATA[Group Policy]]></category>
		<category><![CDATA[Hardening]]></category>
		<category><![CDATA[MSS]]></category>
		<category><![CDATA[Seccubus]]></category>
		<category><![CDATA[Source Routing]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1210</guid>
		<description><![CDATA[I recently got involved in a project where I defined the Baseline Security settings for windows and Linux. I used the settings provided by the Center for Internet Security (CIS). We decided on the following approach: Based on the CIS templates we created a baseline document specific to our company I, in my security role, [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_1211" class="wp-caption alignright" style="width: 426px"><a href="http://www.cupfighter.net/wp-content/uploads/2010/11/WhereIsMSS.png"><img class="size-full wp-image-1211 " title="Where did the MSS: settings go?" src="http://www.cupfighter.net/wp-content/uploads/2010/11/WhereIsMSS.png" alt="Screenshot form Group Policy Editor" width="416" height="175" /></a><p class="wp-caption-text">The MSS: settings used to be here...</p></div>
<p>I recently got involved in a project where I defined the Baseline Security settings for windows and Linux. I used the settings provided by the Center for Internet Security (CIS).</p>
<p>We decided on the following approach:</p>
<ul>
<li>Based on the CIS templates we created a baseline document specific to our company</li>
<li>I, in my security role, created a Nessus .audit file, so we could audit compliance to our own baseline with Seccubus</li>
<li>The windows administrator created GPOs to apply the settings.</li>
</ul>
<p>When creating in the GPOs we did a strange discovery. In a windows the settings that are normally marked as MSS: in the category Computer Configuration\Windows Settings\Security Settings\Local Policies\Security Options do not appear in a domain if its functional level is Windows 2008.</p>
<p>This made us wonder, have these setting become irrelevant ? If this is not the case, how can we still set them, preferably via group policy?</p>
<p>The settings are not irrelevant, as e.g. <a title="Securing Windows Server 2008 and Active Directory on corelan.be" href="http://www.corelan.be:8800/index.php/2008/04/18/securing-windows-server-2008-and-active-directory/" target="_blank">Peter van Eeckhoutte&#8217;s blog</a> points out. Windows 2008 does not forward IPv4 packets that have source routing on them,  but it does accept them if the machine is the final destination. However for IPv6 Windows 2008 will forward these packets by default.</p>
<p>So if the settings are not irrelevant, how can we apply them if they are not in the Group Policy Editor? For this purpose we created an <a title="Administrative Template ofr the MSS settings" href="http://www.cupfighter.net/wp-content/uploads/2010/11/MSS Settings.zip" target="_blank">.adm</a> file, which can be loaded into the Group Policy editor as a Classic Administrative template.<span id="more-1210"></span></p>
<p>All the MSS settings can be controlled with<a title="Administrative Template ofr the MSS settings" href="../wp-content/uploads/2010/11/MSS%20Settings.zip" target="_blank"> this Administrative template</a>. When we applied these settings we reached our desired compliancy with our own baselines.</p>
<p>Mission Accomplished!</p>
<p>So what are these MSS setting and what do they do?</p>
<table>
<thead>
<tr>
<td><span style="text-decoration: underline;"><strong>Setting</strong></span></td>
<td><span style="text-decoration: underline;"><strong>Description</strong></span></td>
<td><span style="text-decoration: underline;"><strong>Recommended value</strong></span></td>
</tr>
</thead>
<tbody>
<tr>
<td>MSS: (AutoAdminLogon) Enable Automatic Logon (not recommended)</td>
<td>Defines whether a user with physical access to a computer is able to automatically log on.</td>
<td>Disabled</td>
</tr>
<tr>
<td>MSS: (DisableIPSourceRouting) IP source routing protection level (protects against packet spoofing)</td>
<td>Determines if Windows will accept source routed packets.<br />
0 &#8211; Accepts and forwards<br />
1 &#8211; Accept but do not forward<br />
2 &#8211; Do not accept</td>
<td>2</td>
</tr>
<tr>
<td>MSS: (EnableICMPRedirect) Allow ICMP redirects to override OSPF generated routes</td>
<td>Allows ICMP redirects to overwrite OSFP generated routes</td>
<td>Disabled</td>
</tr>
<tr>
<td>MSS: (KeepAliveTime) How often keep-alive packets are sent in millisecond</td>
<td>Defines every how many milliseconds TCP attempts to send a keep-alive packet to verify that an idle connection is still intact</td>
<td>No recommendation</td>
</tr>
<tr>
<td>MSS: (NoDefaultExempt) Configure IPSec exemptions for various types of network traffic</td>
<td>Defines which traffic is allowed to reach the machine outside IPSec<br />
0 &#8211; Multicast, Broadcast, RSVP, Kerberos and IKE(ISAKMP are exempt from IPSec filtering<br />
1 &#8211; Kerberos and RSVP are not exempt, but Multicast, Broadcast and IKE are exempt from IPSec filtering<br />
2 -  Multicast and Broadcast are not exempt, but RSVP, Kerberos andand IKE traffic are exempt from IPSEC filtering<br />
3 &#8211; Only IKE traffic is exempt from IPSec filtering</td>
<td>3</td>
</tr>
<tr>
<td>MSS: (NoNameReleaseOnDemand) Allow the computer to ignore NetBIOS name release requests except from WINS servers</td>
<td>Defines whether a computer disregards NetBIOS name release requests except those from WINS server in the SCE.</td>
<td>Enabled</td>
</tr>
<tr>
<td>MSS: (NtfsDisable8dot3NameCreation) Enable the computer to stop generating 8.3 style filenames (recommended)</td>
<td>Defines whether a computer can stop generating 8.3 style file names:<br />
0 &#8211; NTFS creates short file names.<br />
1 &#8211; Disable NTFS short file name creation on all volumes.</p>
<p>2 &#8211; NTFS sets the 8.3 naming convention creation on a per volume basis.<br />
3 &#8211; NTFS disables 8dot3 name creation on all volumes except the system volume.</td>
<td>1</td>
</tr>
<tr>
<td>MSS: (PerformRouterDiscovery) Allow IRDP to detect and configure Default Gateway addresses (could lead to DoS)</td>
<td>Defines whether Internet Router Discovery Protocol (IRDP) is used to automatically detect and configure default gateway addresses:<br />
0 &#8211; Disabled<br />
1 &#8211; Enabled<br />
2 &#8211; Enable only if DHCP server sends the Perform Router Discovery Option</td>
<td>0</td>
</tr>
<tr>
<td>MSS: (SafeDllSearchMode) Enable Safe DLL search mode (recommended)</td>
<td>Defines whether an application is forced to begin its DLL search in the system path before searching the current working folder</td>
<td>Enabled</td>
</tr>
<tr>
<td>MSS: (ScreenSaverGracePeriod) The time in seconds before the screen saver grace period expires (0 recommended)</td>
<td>Defines how many seconds between when the screen saver is launched and when the computer console is actually locked.</td>
<td>0</td>
</tr>
<tr>
<td>MSS: (TCPMaxDataRetransmissions) How many times unacknowledged data is retransmitted (3 recommended, 5 is default)</td>
<td>Defines the number of times that TCP retransmits an individual data segment before the connection is aborted</td>
<td>3</td>
</tr>
<tr>
<td>MSS: (WarningLevel) Percentage threshold for the security event log at which the system will generate a warning</td>
<td>Defines whether an entry is added to the Security event log when the log reaches a user-defined threshold</td>
<td>&lt;=90%</td>
</tr>
<tr>
<td>MSS: (DisableIPSourceRouting IPv6) IP source routing protection level (protects against packet spoofing)</td>
<td>Determines if Windows will accept source routed packets.<br />
0 &#8211; Accepts and forwards<br />
1 &#8211; Accept but do not forward<br />
2 &#8211; Do not accept</td>
<td>2</td>
</tr>
<tr>
<td>MSS: (TCPMaxDataRetransmissions) IPv6 How many times unacknowledged data is retransmitted (3 recommended, 5 is default)</td>
<td>Defines the number of times that TCP retransmits an individual data segment before the connection is aborted</td>
<td>3</td>
</tr>
<tr>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2010/11/missing-mss-setting-windows-2008/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Infosecurity.nl: Social Engineering and Social media by Sharon Conheady</title>
		<link>http://www.cupfighter.net/index.php/2010/11/infosecnl-social-engineering/</link>
		<comments>http://www.cupfighter.net/index.php/2010/11/infosecnl-social-engineering/#comments</comments>
		<pubDate>Thu, 04 Nov 2010 15:30:34 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Conferences]]></category>
		<category><![CDATA[Infosecurity.nl]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Social Engineering]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[linkedin]]></category>
		<category><![CDATA[Sharon Conheady]]></category>
		<category><![CDATA[social networking]]></category>
		<category><![CDATA[social networks]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1204</guid>
		<description><![CDATA[Sharon works as a social engineer in London for First Defence. As social engineer she breaks into buildings, lies to people and pretends to be other people. It was a trade that she started young and later found out that she could earn a living and she has been doing it for over ten years. [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 272px"><a href="http://www.flickr.com/photos/16851909@N00/93136022/"><img class=" " title="Logo 2.0 Part I" src="http://farm1.static.flickr.com/14/93136022_25afa7e458.jpg" alt="" width="262" height="300" /></a><p class="wp-caption-text">Logo 2.0 Part I</p></div>
<p>Sharon works as a social engineer in London for First Defence. As social engineer she breaks into buildings, lies to people and pretends to be other people. It was a trade that she started young and later found out that she could earn a living and she has been doing it for over ten years. Social networks has influenced social engineering and made it a lot easier.</p>
<p>Social engineering is used for both good and bad, even tough the bad use gets a lot more attention then the good uses. All advertising is a form of social engineering.</p>
<p>If hackers are using social engineering they are effectively hacking the human firewall in stead of the technical firewall.</p>
<p>Why does it work?</p>
<ul>
<li>People have a tendency to trust</li>
<li>People want to help</li>
<li>People respect authorities</li>
<li>It is easier to give people information then to get rid of them</li>
<li>People don’t like confrontations</li>
<li>Social engineers invoke emotion</li>
</ul>
<p>Why do Social Engineering and Social Networking combine so “well”? Social engineering exploits trust, and social networks are built on trust.<span id="more-1204"></span></p>
<p>Why would a social engineer use social networks?</p>
<ul>
<li>There is a huge attack surface (400M+ facebook users)</li>
<li>Quick and easy and to some extend even automated</li>
<li>Low threshold (almost not skills required)</li>
<li>It is public information, so no laws are broken</li>
<li>No more dumpster diving <img class="wlEmoticon wlEmoticon-winkingsmile" style="border-style: none;" src="http://www.cupfighter.net/wp-content/uploads/2010/11/wlEmoticon-winkingsmile.png" alt="Winking smile" /></li>
</ul>
<p>Why does social engineering work so well?</p>
<ul>
<li>Trust model</li>
<li>No real authentication</li>
<li>Influential
<ul>
<li>Social Proof: People do things other peoples do</li>
<li>Similarity: People who are “similar” to us have more influence</li>
</ul>
</li>
</ul>
<p>Impersonation in the real world requires, acting, costumes, may be illegal, takes lots of planning, multiple people. So it’s easy to get caught.</p>
<p>Social network impersonation requires, a fake profile, a good (seductive) picture and some patience and typing. This was proven by the <a href="http://science.dodlive.mil/2010/07/21/the-dangers-of-friending-strangers-the-robin-sage-experiment/" target="_blank">Robin Sage experiment</a>.</p>
<p>What does Sharon used LinkedIn for?</p>
<ul>
<li>Tactical Research</li>
<li>Organization chart</li>
<li>Identity information</li>
<li>Name dropping</li>
<li>Check who is on holiday (Trippit)</li>
<li>Fake profiles or fake invites</li>
</ul>
<p>For ethical social engineering 90% of the time is spent doing research online.</p>
<p>Most on-line social engineering attempts are classical attacks adapted for on-line use:</p>
<ul>
<li>419 scams used to come via fax and letter</li>
<li>Instead of scams coming from a stranger they come form a friend</li>
<li>“Stranded” are more believable when executed during incidents like the “ashcloud”</li>
<li>Friends of targets may become first targets themselves</li>
</ul>
<p>Sharon showed us three examples of social engineering attacks executed in real life.</p>
<p>Sharon was able to show us numerous examples of how she could abuse real information posted online. LinkedIn, Facbook, Blippy, Foursquare where all present.</p>
<p>So what can you do about it?</p>
<ul>
<li>User awareness</li>
<li>Have a policy</li>
<li>Be careful what you post online</li>
<li>Avoid “promiscuous” friending</li>
<li>Don’t click on links in emails that are received unexpectedly</li>
<li>Google yourself</li>
</ul>
<p>Most posts to social networks are done during work hours and form work laptops… think about it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2010/11/infosecnl-social-engineering/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IVIL : An XML schema to exchange vulnerability information</title>
		<link>http://www.cupfighter.net/index.php/2010/10/ivil-an-xml-schema-to-exchange-vulnerability-information/</link>
		<comments>http://www.cupfighter.net/index.php/2010/10/ivil-an-xml-schema-to-exchange-vulnerability-information/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 14:48:45 +0000</pubDate>
		<dc:creator>Frank Breedijk</dc:creator>
				<category><![CDATA[Seccubus]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[IVIL]]></category>
		<category><![CDATA[metasploit]]></category>
		<category><![CDATA[Nessus]]></category>
		<category><![CDATA[Nexpose]]></category>
		<category><![CDATA[Nikto]]></category>
		<category><![CDATA[OpenVAS]]></category>
		<category><![CDATA[Vulnerabilities]]></category>
		<category><![CDATA[XML]]></category>
		<category><![CDATA[Zate]]></category>

		<guid isPermaLink="false">http://www.cupfighter.net/?p=1164</guid>
		<description><![CDATA[Last Friday I had the pleasure of discussing security software with Zate, the author of the Nessus Bridge for the Metasploit framework. During the conversions we both agreed that it would be very practical if there was a way to make various security tools interchange vulnerability information more easily and openly. During this discussion IVIL [...]]]></description>
			<content:encoded><![CDATA[<p>Last Friday I had the pleasure of discussing security software with <a title="@Zate on Twitter" href="http://twitter.com/zate" target="_blank">Zate</a>, the author of the <a title="Things and Stuff blog" href="http://blog.zate.org/2010/09/26/nessus-bridge-for-metasploit-intro/" target="_blank">Nessus Bridge for the Metasploit framework</a>. During the conversions we both agreed that it would be very practical if there was a way to make various security tools interchange vulnerability information more easily and openly. During this discussion IVIL was born, the Intermediary Vulnerability Information Language.</p>
<p>IVIL is an XML schema to feed vulnerability information that is the output of a tool like e.g. <a title="Nessus website" href="http://nessus.org" target="_blank">Nessus</a>, <a title="Nikto website" href="http://cirt.net/nikto2" target="_blank">Nikto</a> or <a title="OpenVAS website" href="http://www.openvas.org/" target="_blank">OpenVAS</a> into a tool to further use this information like e.g. <a title="Seccubus website" href="http://seccubus.com" target="_blank">Seccubus</a>.</p>
<p>We felt that there is a need for an open, non-proprietary language that is lean and mean even though a lot of tools offer a native XML output because such a solution has a number of advantages.</p>
<ul>
<li>Not need to modify the receiving tool. Having an intermediary language means that a new tool can be integrated into an existing tool without the need to make modification to the tool receiving the information.</li>
<li>Support for home brew tools. The open format makes it possible to integrate home brew tools with other tools without the need for the original author to put effort into supporting a tool “nobody uses”.</li>
<li>Programming language independent. There is no need for anybody that want to integrate two tools be master the programming languages these tools where written in.</li>
</ul>
<p>We felt we needed to share this work on IVIL to get the widest possible basis for adoption.</p>
<p>During our initial call we came up with this initial version of the XML schema:</p>
<p><span id="more-1164"></span></p>
<pre>&lt;IVIL version=0.2&gt;
    &lt;addressee&gt;
        &lt;program&gt;Seccubus|…
        &lt;programSpecificData&gt;
            &lt;ScanID&gt;
            &lt;ScanID&gt;
        &lt;/programSpecificData&gt;
    &lt;/addressee&gt;
    &lt;sender&gt;
        &lt;scanner_type&gt;Nessus|Nessus|Nikto|MSF|OpenVAS
        &lt;version&gt;
        &lt;timestamp&gt;YYYYMMDDHHMMSS&lt;/
    &lt;sender/&gt;
    &lt;findings&gt;
        &lt;finding&gt;
            &lt;ip&gt;
            &lt;port&gt;
            &lt;id&gt;
            &lt;severity&gt;
            &lt;finding_txt&gt;
            &lt;references&gt;
                &lt;cve&gt;
                &lt;bid&gt;
                &lt;osvdb&gt;
                &lt;url&gt;
                &lt;msf&gt;
            &lt;/references&gt;
        &lt;/finding&gt;
    &lt;/findings&gt;
&lt;/ivil&gt;</pre>
<p>During our initial call we came up with this initial version of the XML schema:</p>
<pre>&lt;IVIL version=0.2&gt;
    &lt;addressee&gt;
        &lt;program&gt;Seccubus|…
        &lt;programSpecificData&gt;
            &lt;ScanID&gt;
            &lt;ScanID&gt;
        &lt;/programSpecificData&gt;
    &lt;/addressee&gt;
    &lt;sender&gt;
        &lt;scanner_type&gt;Nessus|Nikto|MSF|OpenVAS|Qualis|...
        &lt;version&gt;
        &lt;timestamp&gt;YYYYMMDDHHMMSS&lt;/
    &lt;sender/&gt;
    &lt;hosts&gt;
        &lt;host&gt;
            &lt;ip&gt;
	    &lt;findings&gt;
	        &lt;finding&gt;
                    &lt;port&gt;
                    &lt;id&gt;
                    &lt;severity&gt;
                    &lt;finding_txt&gt;
                    &lt;references&gt;
                        &lt;cve&gt;
                        &lt;bid&gt;
                        &lt;osvdb&gt;
                        &lt;url&gt;
                        &lt;msf&gt;
                    &lt;/references&gt;
                &lt;/finding&gt;
            &lt;/findings&gt;
        &lt;/host&gt;
    &lt;/hosts&gt;
&lt;/ivil&gt;</pre>
<p>So, lets go through the meaning of each block.</p>
<pre>&lt;IVIL version=0.2&gt;
    &lt;addressee&gt;
        &lt;program&gt;Seccubus|…
        &lt;programSpecificData&gt;
            &lt;Scan&gt;
            &lt;WorkSpace&gt;
        &lt;/programSpecificData&gt;
    &lt;/addressee&gt;</pre>
<p>The addressee block of the file is optional. It can contains information specific to the receiving program. E.g. for Seccubus you could use this block to specify which workspace and scan to load the data into.</p>
<pre>    &lt;sender&gt;
        &lt;scanner_type&gt;Nessus|Nikto|MSF|OpenVAS
        &lt;version&gt;
        &lt;timestamp&gt;YYYYMMDDHHMMSS&lt;/
    &lt;sender/&gt;</pre>
<p>The sender block contains generic information about the scan. Which scanner was used, which version and when did the scan take place. There three attributes of the sender are mandatory, but other attributes can be added if so desired.</p>
<pre>    &lt;findings&gt;
        &lt;findings&gt;
            &lt;ip&gt;
            &lt;port&gt;
            &lt;id&gt;
            &lt;severity&gt;
            &lt;finding_txt&gt;</pre>
<p>The header of the findings block defines on which host ip and port the finding was found, this information can also be stored in the host block of the per host version of the schema. It then contains the id of the finding (e.g. the Nessus plugin number), the severity (0=undetermined,1=low, 2=medium, 3=high) and a human readable description of the finding. For Nessus this description would be the combination of the finding description and plugin output</p>
<pre>            &lt;references&gt;
                &lt;cve&gt;
                &lt;bid&gt;
                &lt;osvdb&gt;
                &lt;msf&gt;
                &lt;url&gt;
            &lt;/references&gt;</pre>
<p>The references block contains one or more references. CVE tages refer to CVE findings in the format (CVE|CAN)-YYYY-####, BID to security focus vulnerability database findings in the format BID:####, OSVDB tags to Open Vulnerability DataBase references in OSVDB:##### format, msf tags refer to Metasploit Framework references in the format xxxxx/xxxxx/xxxxx and url tags can be used to refer to generic URLs.</p>
<pre>        &lt;/finding&gt;
    &lt;/findings&gt;
&lt;/ivil&gt;</pre>
<p>This block closes the IVIL file.</p>
<p>So let&#8217;s say that Zate wants to write a module that starts a Nessus scan and uploads the result to Seccubus. All he needs to do is write a command line program that starts the scan, outputs the results into IVIL format and load the IVIL into seccubus. the command line would look something like this.</p>
<pre>&gt; /opt/zatescan/perform-nessus-scan &gt; /tmp/scan.ivil
&gt; /opt/seccubus/bin/load-ivil /tmp/scan.ivil</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cupfighter.net/index.php/2010/10/ivil-an-xml-schema-to-exchange-vulnerability-information/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>

