<?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>Security Musings &#187; Technology &amp; Tool Thursday</title>
	<atom:link href="http://securitymusings.com/article/category/techtoolthursday/feed" rel="self" type="application/rss+xml" />
	<link>http://securitymusings.com</link>
	<description>Rants and raves from information security professionals</description>
	<lastBuildDate>Wed, 01 Feb 2012 21:41:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>GPG on Lion &#8211; only if you don&#8217;t use S/MIME</title>
		<link>http://securitymusings.com/article/3094/gpg-on-lion-only-if-you-dont-use-smime</link>
		<comments>http://securitymusings.com/article/3094/gpg-on-lion-only-if-you-dont-use-smime#comments</comments>
		<pubDate>Thu, 10 Nov 2011 19:57:05 +0000</pubDate>
		<dc:creator>Laura Raderman</dc:creator>
				<category><![CDATA[Technology & Tool Thursday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=3094</guid>
		<description><![CDATA[There&#8217;s a new GPGMail app &#8211; installed with GPGTools &#8211; that works on Lion: http://www.gpgtools.org/installer/index.html Unless you&#8217;ve got S/MIME set up. If you do have S/MIME set up, the bundle won&#8217;t display the settings, nor will it &#8220;work&#8221;. You&#8217;ll have a GPGMail preferences pane in Mail.app, but the only options you get are enabling OpenPGP [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a new GPGMail app &#8211; installed with GPGTools &#8211; that works on Lion: http://www.gpgtools.org/installer/index.html<br />
Unless you&#8217;ve got S/MIME set up.  If you do have S/MIME set up, the bundle won&#8217;t display the settings, nor will it &#8220;work&#8221;.  You&#8217;ll have a GPGMail preferences pane in Mail.app, but the only options you get are enabling OpenPGP under Composing and Reading.  You&#8217;re supposed to have the choice of keys, etc. </p>
<p>The previous GPGMail (a *long* time ago), allowed both S/MIME and OpenPGP, so this is a bit disappointing.  Their bug tracker has that functionality scheduled for (possibly) version 2.1, and I&#8217;ll be trying it again at that point.  </p>
<p>There are definitely challenges to having S/MIME and OpenPGP running the same mail client.  If you (accidentally) try to do both at the same time, you get garbage that most mail clients can&#8217;t understand &#8211; because each mail client/plugin applies the encryption in a different order, and the recipient&#8217;s mail client would have to know that order.  Now, if a person only has a PGP key or only has an S/MIME certificate, then it&#8217;s not that difficult &#8211; the mail client should select the appropriate encryption.</p>
<p>It is very nice to see that GPGMail is being developed actively again.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=GPG+on+Lion+%E2%80%93+only+if+you+don%E2%80%99t+use+S%2FMIME+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D3094" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/3094/gpg-on-lion-only-if-you-dont-use-smime&amp;t=GPG+on+Lion+%E2%80%93+only+if+you+don%E2%80%99t+use+S%2FMIME" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/3094/gpg-on-lion-only-if-you-dont-use-smime/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Can Client-Side JavaScript Protect Itself?</title>
		<link>http://securitymusings.com/article/3066/can-client-side-javascript-protect-itself</link>
		<comments>http://securitymusings.com/article/3066/can-client-side-javascript-protect-itself#comments</comments>
		<pubDate>Fri, 14 Oct 2011 03:59:58 +0000</pubDate>
		<dc:creator>Joey Tyson</dc:creator>
				<category><![CDATA[cool]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Technology & Tool Thursday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=3066</guid>
		<description><![CDATA[Security researcher Mario Heiderich (also creator of the HTML5 Security Cheatsheet and lead developer for PHPIDS) has been posting some interesting cross-site scripting challenges lately that highlight aspects of security on the client side. The most recent, called XSSMe², involved a page with a reflected XSS vulnerability that allowed one to insert arbitrary HTML &#8211; no [...]]]></description>
			<content:encoded><![CDATA[<p>Security researcher <a href="http://heideri.ch/">Mario Heiderich</a> (also creator of the <a href="http://html5sec.org/">HTML5 Security Cheatsheet</a> and lead developer for <a href="https://phpids.org/">PHPIDS</a>) has been posting some interesting cross-site scripting challenges lately that highlight aspects of security on the client side. The most recent, called XSSMe², involved a page with a reflected XSS vulnerability that allowed one to insert arbitrary HTML &#8211; no filters applied by the server. The goal? Retrieve a particular bit of data, originally stored in document.cookie, without any user interaction. I say &#8220;originally,&#8221; because the page included JavaScript which attempted to lock down access to the data by removing it from document.cookie and hiding it unless retrieved by a user click. The code used evolved as bypasses were found, with several tricks employed along the way.</p>
<p>One trick was to hide the variable in a closure. In JavaScript, every function has its own local scope. If you define a variable within a function block, that variable is distinct from one defined in the global scope. In a way, the variable is hidden from code executed in the global scope, though the function can provide a gatekeeper method to access it. Consider this block of code:</p>
<pre class="brush:js">document.cookie = "secret";

var Safe = function() {
    var cookie = document.cookie;
    this.get = function(magicWord) {
        if (magicWord === "please") {
            return cookie;
        }
        return null;
    }
}
window.Safe = new Safe();

document.cookie = "";

alert(document.cookie);
alert(Safe.get(""));
alert(Safe.get("please"));</pre>
<p>The first alert returns nothing &#8211; document.cookie has been set to an empty string. The second alert only returns null, given the if statement in the definition of Safe.get. But with the third alert, the statement <code>return cookie</code> gets executed &#8211; and that statement is in the local scope of the function, so it returns the cookie variable defined in that scope, which is &#8220;secret&#8221;. This is the concept of a closure &#8211; the local variable of the function lives on as it was defined in that context.</p>
<p>Initially, this may seem to be a good defense against cross-site scripting, since the power of XSS comes from all a page&#8217;s scripts executing in the same scope. But as entries in the challenge demonstrated, a script has many resources for attacking itself. For instance, the challenge included code that checked whether a function requesting the secret variable was a mouse click event initiated by the user. That last bit came from checking the isTrusted property on the event, which should tell you whether the click came from a script or from the user.</p>
<p>But in JavaScript, new objects are created by cloning a model object called a prototype. If you change a particular prototype, any new variety of that object will inherit the changes you made. In this case, changing the isTrusted property of a mouse event&#8217;s prototype to always be true meant any spoofed clicks generated automatically by a script would fool the protective code and retrieve the secret value.</p>
<p>With each new bypass, Mario updated the code with new protections to block them. Eventually, he created a Firefox-specific version that essentially rewrote the entire page to get rid of the original Document Object Model and all its loopholes. If you&#8217;re interested in reading more about other bypass techniques and the challenge&#8217;s implications for client-side filtering, researcher Krzysztof Kotowicz has <a href="http://blog.kotowicz.net/2011/10/sad-state-of-dom-security-or-how-we-all.html">an excellent write-up</a> that covers more details. But the challenge is also worth studying as a way of understanding more about web scripting and XSS. I certainly learned more about closures and event spoofing by tackling the puzzle, and it helps illustrate the difficulties of trying to protect against code running in the same origin and same scope. We may be moving towards DOM features that provide enough security to block even client-side attacks, but for right now, any untrusted script has myriad ways of overcoming client-side protections.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Can+Client-Side+JavaScript+Protect+Itself%3F+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D3066" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/3066/can-client-side-javascript-protect-itself&amp;t=Can+Client-Side+JavaScript+Protect+Itself%3F" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/3066/can-client-side-javascript-protect-itself/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Password Generation At Its Most Thorough</title>
		<link>http://securitymusings.com/article/2980/password-generation-at-its-most-thorough</link>
		<comments>http://securitymusings.com/article/2980/password-generation-at-its-most-thorough#comments</comments>
		<pubDate>Fri, 02 Sep 2011 23:00:21 +0000</pubDate>
		<dc:creator>Eric Morinaga</dc:creator>
				<category><![CDATA[passwords]]></category>
		<category><![CDATA[Technology & Tool Thursday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2980</guid>
		<description><![CDATA[We all have passwords.  Most of us hate writing a new one for every new account we open.  The traditional thinking always said that for a password to be secure, it was necessarily unwieldy to memorize.  So who wants to memorize vRg5BoTA for your new Spotify account when you just solidified a mnemonic in your [...]]]></description>
			<content:encoded><![CDATA[<p>We all have passwords.  Most of us hate writing a new one for every new account we open.  The traditional thinking always said that for a password to be secure, it was necessarily unwieldy to memorize.  So who wants to memorize vRg5BoTA for your new Spotify account when you just solidified a mnemonic in your head for your Gmail password?  Many older account systems limited your passwords to be between 6 and 12 characters, so increasing complexity through a larger alphabet and using non-dictionary words was crucial to give yourself a chance against password guessing attacks.  If you&#8217;re still using 6 character passwords, I have bad news for you: you&#8217;re so laughably vulnerable, you don&#8217;t even register as roadkill for a dedicated cracking system &#8212; more like a mosquito trying to escape the pull of a fighter jet turbofan.  A case-sensitive alphanumeric 6 character password has just 57 billion permutations.  If you include all 95 printable ASCII character possibilities, that&#8217;s still just 690 billion permutations.  Even setting aside obvious and potent optimizations such as dictionary word checking and 1337 substitutions, professional cracking systems can brute force <a title="JDPFu Password techniques" href="http://blog.jdpfu.com/2011/08/30/easy-technique-for-secure-easy-to-type-passwords-size-matters" target="_blank">30 billion passwords <em>per second</em></a>!</p>
<p>More likely our readers already know that short passwords are practically useless and have adopted longer passwords of 12-20 characters or more.  Perhaps you&#8217;ve read the recent <a title="xkcd" href="http://xkcd.com/936/" target="_blank">xkcd comic</a> demonstrating that several case-insensitive common words strung together are collectively more secure than conventionally complex 10-12 character passwords.  In a general sense, yes, increasing length increases difficulty so much more quickly than making your password unwieldy.  Some of us at Gemini prefer to use whole sentences as passwords (as long as 30-50 characters) where possible.  Even if case-insensitive, a length of 30+ is so non-trivial that brute force attacks are eons beyond impractical.  However, not all account services permit you to use passwords that long, so to remain secure, you have to rely on high complexity (and maximum length).  If you have many of these types of accounts, it may be easier to use a password manager for those accounts such as <a title="Last Pass" href="http://lastpass.com/" target="_blank">LastPass</a>, a tool that saves and encrypts passwords for your use, after prompting for a master password (this can be long and complex and also further bolstered by <a title="Open Sesame - Multi-factor authentication" href="http://lastpass.com/support_screencasts.php?feature=sesame1" target="_blank">multi-factor authentication</a>).</p>
<p>Sometimes it can also be difficult to manually devise a truly random complex password for these accounts, and for that there are <a title="Password generators" href="http://www.google.com/search?q=password+generator&amp;ie=utf-8&amp;oe=utf-8&amp;aq=t&amp;rls=org.mozilla:en-US:official&amp;client=firefox-a" target="_blank">many password generators</a>, but I personally prefer using <a title="Wolfram Alpha" href="http://www.wolframalpha.com/" target="_blank">Wolfram Alpha</a> because it gives a very thorough summary.  Just enter &#8220;password of <em>n</em> characters&#8221;, where &#8216;<em>n</em>&#8216; is the length you require, and it produces a lengthy report.  One interesting application is that it also spits out a phonetic form of your password in call signs, which can help you memorize the one they gave you or be used as a very long password itself.  Wolfram Alpha also displays the password entropy and total permutations of passwords that length for varying alphanumeric sets, which is rather interesting to see, and you can change password input rules, too.  For instance, if I want to write out an all-lower-case sentence of 30 characters for my password, <a title="30 characters" href="http://www.wolframalpha.com/input/?i=password+of+30+characters" target="_blank">WA tells me</a> that there are about 10^42 permutations and 185 bits of complexity &#8211; far too difficult to brute force.  In case you&#8217;ve never seen or done these calculations before, this is a terrific way to gauge how secure your passwords ought to be.  It also gives nice examples of each for you to write down (the text isn&#8217;t selectable).  This tool is quite handy and was also recently featured on <a title="Lifehacker - Wolfram Alpha" href="http://lifehacker.com/5836107/create-strong-passwords-with-phonetic-forms-in-wolfram-alpha" target="_blank">Lifehacker</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Password+Generation+At+Its+Most+Thorough+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2980" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2980/password-generation-at-its-most-thorough&amp;t=Password+Generation+At+Its+Most+Thorough" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2980/password-generation-at-its-most-thorough/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Encrypt your portable devices</title>
		<link>http://securitymusings.com/article/2924/encrypt-your-portable-devices</link>
		<comments>http://securitymusings.com/article/2924/encrypt-your-portable-devices#comments</comments>
		<pubDate>Thu, 04 Aug 2011 20:45:47 +0000</pubDate>
		<dc:creator>Benjamin Hartley</dc:creator>
				<category><![CDATA[data protection]]></category>
		<category><![CDATA[data theft]]></category>
		<category><![CDATA[Technology & Tool Thursday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2924</guid>
		<description><![CDATA[I just recently bought a new netbook. Now, I know that netbooks are supposedly on the way out, but I love the low price, long battery life, and massive portability. But there’s a problem with netbooks and security. They’re massively portable – whether the person doing the porting is me or a thief. I do [...]]]></description>
			<content:encoded><![CDATA[<p>I just recently bought a new netbook. Now, I know that netbooks are supposedly on the way out, but I love the low price, long battery life, and massive portability. But there’s a problem with netbooks and security. They’re massively portable – whether the person doing the porting is me or a thief. I do my best to keep my netbook safe, but being realistic I’ll admit that it could happen.</p>
<p>Now, the biggest loss from someone stealing my netbook is in data; the hardware really isn’t all that expensive. My netbook doesn’t just contain personal information; it’s also full of important business data. I can and do perform regular backups to make sure I don’t lose any of the data, but I don’t want anyone else reading what I’ve got, either.</p>
<p>That’s where file encryption comes in. If properly encrypted, my data won’t be accessible even if someone has the hard drive. So, with that in mind, I’m looking at three different utilities for encrypting my drive:</p>
<p><a href=http://www.truecrypt.org/>TrueCrypt</a> – TrueCrypt is kind of the grand-daddy of Whole Disk Encryption; it&#8217;s currently on release 7. Being free for download, it’s rather popular. It offers a range of features, including the ability to perform whole disk encryption, and the ability to create hidden volumes and hidden operating systems, meaning that even if you’re compelled to divulge passwords, your attacker won’t know about these volumes and thus won’t know to get access to them.  In addition, TrueCrypt comes with a pretty impressive set of encryption algorithms, including AES-256.</p>
<p><a href=http://www.axantum.com/axcrypt/>AxCrypt</a> – Another piece of freeware, AxCrypt doesn’t offer quite as much as TrueCrypt. Unlike TrueCrypt, AxCrypt exists for encrypting files and doesn’t have a whole disk option. Also, it’s limited to AES-128 which is not bad but certainly not as secure as 256. It seems to have a bit more open UI, however, letting users execute scripts on it. It’s also more oriented toward online shares and network storage – so if you want to put encrypted files on online repositories, AxCrypt may be the one for you.</p>
<p><a href=http://www.symantec.com/business/whole-disk-encryption>PGP</a> – The third tool I’ve been looking at is Symantec’s PGP. Unlike the other two, PGP costs – roughly 90USD per license. What do you get for $90? Well, it looks like it’s not a bad piece of software. As with TrueCrypt, Whole Disk Encryption is an option. It also has centralized management options, so it seems the best of the three for large-scale implementations. In addition, it has a host of certifications, notably FIPS 140-2 compliance. If you’re in an environment where that’s required, this is likely the way to go.  While the online information is not immediately forthcoming on encryption algorithms, FIPS-140-2 compliance means that at minimum it offers AES-128.</p>
<p>For my purposes, I’m likely going to use TrueCrypt. AxCrypt and PGP both have their place. But the most important thing? Implement something. It’s easy to put off such a step, but you never know when your mobile device might be lost or stolen.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Encrypt+your+portable+devices+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2924" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2924/encrypt-your-portable-devices&amp;t=Encrypt+your+portable+devices" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2924/encrypt-your-portable-devices/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A Firefox Toolbox for Web App Hacking</title>
		<link>http://securitymusings.com/article/2905/a-firefox-toolbox-for-web-app-hacking</link>
		<comments>http://securitymusings.com/article/2905/a-firefox-toolbox-for-web-app-hacking#comments</comments>
		<pubDate>Thu, 21 Jul 2011 21:38:16 +0000</pubDate>
		<dc:creator>Joey Tyson</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[Technology & Tool Thursday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2905</guid>
		<description><![CDATA[If you&#8217;re new to the world of testing web application security, you may not be aware of the many great Firefox add-ons available that greatly help such endeavors. While others have compiled similar lists in the past, I thought this week would be a good time for me to share a few of the favorite [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re new to the world of testing web application security, you may not be aware of the many great Firefox add-ons available that greatly help such endeavors. While others have compiled similar lists in the past, I thought this week would be a good time for me to share a few of the favorite tools I use in my own web app work.</p>
<ol>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/httpfox/">HttpFox</a>: I&#8217;ve blogged about this one <a href="http://securitymusings.com/article/1786/monitor-network-traffic-in-firefox-with-httpfox">in the past</a>; it lists for you every HTTP request made during a given browser session, with details on headers, cookies, parameters, responses, and more. Very handy to monitor traffic when you&#8217;re browsing around an app.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/hackbar/">HackBar</a>: Another one I&#8217;ve <a href="http://securitymusings.com/article/1980/hacking-pages-in-firefox-with-the-hackbar">mentioned before</a>, the HackBar is a swiss-army knife that gives you some space for notes, common commands (such as base64 encoding or MD5 hashes), and perhaps best of all, an easy way to execute manual POST requests.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/firebug/">FireBug</a>: Perhaps one of the best-known Firefox plug-ins, FireBug is a powerful tool for inspecting a page&#8217;s DOM, debugging scripts, and investigating script variables.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/cookies-manager-plus/">Cookies Manager+</a>: As you can guess, this add-on lets you view and edit browser cookies to your heart&#8217;s content. Useful in tracking and spoofing session information.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/modify-headers/">Modify Headers</a>: Many web apps use special headers in various ways; this tool lets you set such headers manually when making requests. Spoofing XMLHttpRequest commands is one use case.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/">User Agent Switcher</a>: I&#8217;ve seen apps with vulnerabilities that only affected mobile versions of the site. This extension lets you imitate just about any browser, allowing you to test different site interfaces.</li>
<li><a href="https://addons.mozilla.org/en-US/firefox/addon/javascript-deobfuscator/">JavaScript Deobfuscator</a>: This is one add-on I only recently discovered, but I can already tell it will be quite useful. It logs JavaScript functions as they&#8217;re compiled or executed by the browser, which is particularly useful in dealing with obfuscated scripts.</li>
</ol>
<p>This list is by no means exhaustive and is geared towards manual testing, but it certainly provides a solid line-up for anyone looking to experiment with web app security. It also shows how easy it can be to get started tinkering with web apps. While I use Chrome for my everyday browsing, I use my tricked-out Firefox setup when I want to dig deeper. If you&#8217;re starting out, try using these add-ons against an educational app, such as <a href="https://www.owasp.org/index.php/Category:OWASP_WebGoat_Project">WebGoat</a>, <a href="http://google-gruyere.appspot.com/">Gruyere</a>, or <a href="http://www.dvwa.co.uk/">DVWA</a>.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=A+Firefox+Toolbox+for+Web+App+Hacking+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2905" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2905/a-firefox-toolbox-for-web-app-hacking&amp;t=A+Firefox+Toolbox+for+Web+App+Hacking" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2905/a-firefox-toolbox-for-web-app-hacking/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Visio in Security Testing</title>
		<link>http://securitymusings.com/article/2895/visio-in-security-testing</link>
		<comments>http://securitymusings.com/article/2895/visio-in-security-testing#comments</comments>
		<pubDate>Thu, 14 Jul 2011 15:02:30 +0000</pubDate>
		<dc:creator>Laura Raderman</dc:creator>
				<category><![CDATA[Technology & Tool Thursday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2895</guid>
		<description><![CDATA[I hesitate to say that visio is only useful in pen-testing, because it can also be useful in developing a secure architecture, or a web page, and really just putting all the moving parts onto your screen (or paper) so that you can look at the big picture. I use Visio to diagram networks and [...]]]></description>
			<content:encoded><![CDATA[<p>I hesitate to say that visio is only useful in pen-testing, because it can also be useful in developing a secure architecture, or a web page, and really just putting all the moving parts onto your screen (or paper) so that you can look at the big picture.</p>
<p>I use Visio to diagram networks and web pages that I&#8217;m looking at.  The network diagramming is pretty obvious &#8211; a lot of people use Visio for network diagrams anyway.<br />
<img src="http://securitymusings.com/wp-content/uploads/2011/07/Screen-shot-2011-07-14-at-10.47.05-AM-300x94.png" alt="" title="Screen shot 2011-07-14 at 10.47.05 AM" width="300" height="94" class="alignnone size-medium wp-image-2896" /></p>
<p>Where the value comes for security folks is in the details you&#8217;re willing to add to the diagram &#8211; what ports are open on the firewall and what servers do they go to?</p>
<p>Another use for Visio is mapping out web pages.  You can map out all of the POST and GET variables and cookies that are submitted for each page.<br />
<img src="http://securitymusings.com/wp-content/uploads/2011/07/Screen-shot-2011-07-14-at-10.50.50-AM-300x279.png" alt="" title="Screen shot 2011-07-14 at 10.50.50 AM" width="300" height="279" class="alignnone size-medium wp-image-2897" /></p>
<p>Again, the more detail you&#8217;re willing to put into the diagram, the more useful it will be.</p>
<p>So, what&#8217;s wrong with just drawing it out?  I mean Visio takes a while to draw even fairly simple diagrams.  Most people&#8217;s handwriting/drawing skills leave a lot to be desired (unless you trained as an engineer or architect), and many times, you&#8217;re working with a group of people and need to share the information.  Chicken scratch doesn&#8217;t help get the needed information across. </p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Visio+in+Security+Testing+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2895" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2895/visio-in-security-testing&amp;t=Visio+in+Security+Testing" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2895/visio-in-security-testing/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Two-Factor Authentication and Facebook</title>
		<link>http://securitymusings.com/article/2862/two-factor-authentication-and-facebook</link>
		<comments>http://securitymusings.com/article/2862/two-factor-authentication-and-facebook#comments</comments>
		<pubDate>Fri, 24 Jun 2011 15:07:02 +0000</pubDate>
		<dc:creator>Eric Morinaga</dc:creator>
				<category><![CDATA[facebook]]></category>
		<category><![CDATA[social media]]></category>
		<category><![CDATA[Technology & Tool Thursday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2862</guid>
		<description><![CDATA[Several months back, we covered Google&#8217;s new and much-welcomed two-factor authentication process.  As mentioned before, enabling true two-factor authentication greatly enhances an application&#8217;s security profile, a crucial step for applications as important and ubiquitous as Gmail and Google Docs.  So after being painted with a giant bull&#8217;s eye last year following Firesheep&#8216;s debut demonstration, Facebook [...]]]></description>
			<content:encoded><![CDATA[<p>Several months back, we <a title="covered" href="http://securitymusings.com/article/2532/googles-two-factor-authentication-revisited">covered</a> Google&#8217;s new and much-welcomed <a title="two-factor authentication process" href="http://www.google.com/support/accounts/bin/static.py?page=guide.cs&amp;guide=1056283&amp;topic=1056284" target="_blank">two-factor authentication process</a>.  As mentioned <a title="before" href="http://securitymusings.com/article/182/wish-it-was-two-factor">before</a>, enabling true two-factor authentication greatly enhances an application&#8217;s security profile, a crucial step for applications as important and ubiquitous as Gmail and Google Docs.  So after being painted with a giant bull&#8217;s eye last year following <a title="Firesheep" href="http://codebutler.com/firesheep" target="_blank">Firesheep</a>&#8216;s debut demonstration, Facebook has followed Google&#8217;s lead and added several new security features, including two-factor authentication.</p>
<p>All of Facebook&#8217;s new security options have been conveniently grouped together under &#8220;Account Settings&#8221;.  There are several check boxes here, as well as a list of devices that have recently logged into Facebook with your account.</p>
<p>First, be sure to enable secure browsing via https connection, so as to prevent <a title="sidejacking" href="http://securitymusings.com/article/tag/firesheep">sidejacking</a>, à la Firesheep.</p>
<p>The next few settings affect what actions Facebook takes when a new device attempts to log in with your account.  You can be notified when this happens via email or SMS, but more importantly, you can have Facebook require two-factor authentication by having a verification code sent to your phone.</p>
<p>Below that, Facebook lists the devices you&#8217;ve already approved for this account and also the last few devices that have logged in with your account.  You have the option of signing out of these devices.</p>
<p>These security settings are definitely a step in the right direction for Facebook, but they are still not as robust as Google&#8217;s two-factor authentication.  Unlike Google, once a device has cleared the two-factor authentication and becomes a recognized device, Facebook no longer requires a code from your phone when you attempt to log in later.  This choice was likely made for convenience, but it does mean that the second factor is nullified if someone has access to your recognized devices.  Of course, you can avoid this issue by clearing all your cookies between sessions or always opening Facebook in incognito/private browsing mode.</p>
<p>Also unlike Google, Facebook does not yet have a smartphone authenticator application.  This means that you will have to rely solely on SMS for the verification code if you choose to enable two-factor authentication.  If you travel beyond local cell coverage (or do not have an SMS plan outside the country), you may not be able to receive the code and log in on a new device.  Because the Google Authenticator app <em>does not </em>require an Internet connection, it provides a simpler and unconstrained alternative to SMS verification.</p>
<p>However, overall, Facebook is making admirable moves to enhance its users&#8217; account security, and two-factor authentication ought to be adopted by many more high-traffic sites (we&#8217;re looking at you, Twitter).</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Two-Factor+Authentication+and+Facebook+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2862" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2862/two-factor-authentication-and-facebook&amp;t=Two-Factor+Authentication+and+Facebook" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2862/two-factor-authentication-and-facebook/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Product Review: The hiddn Crypto Adapter Offers Secure USB Storage</title>
		<link>http://securitymusings.com/article/2802/product-review-the-hiddn-crypto-adapter-offers-secure-usb-storage</link>
		<comments>http://securitymusings.com/article/2802/product-review-the-hiddn-crypto-adapter-offers-secure-usb-storage#comments</comments>
		<pubDate>Thu, 02 Jun 2011 16:30:38 +0000</pubDate>
		<dc:creator>Joey Tyson</dc:creator>
				<category><![CDATA[cool]]></category>
		<category><![CDATA[data protection]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[Technology & Tool Thursday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2802</guid>
		<description><![CDATA[Recently I had the chance to test out a clever little device called the hiddn Crypto Adapter. Made by Norway-based High Density Devices, the adapter looks somewhat like a miniature desk calculator with a USB port instead of a display, but its simple appearance belies some powerful functionality: transparent, real-time encryption of USB drives with [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I had the chance to test out a clever little device called the <a href="http://www.hdd.no/ca/">hiddn Crypto Adapter</a>. Made by Norway-based <a href="http://www.hdd.no/">High Density Devices</a>, the adapter looks somewhat like a miniature desk calculator with a USB port instead of a display, but its simple appearance belies some powerful functionality: transparent, real-time encryption of USB drives with two-factor authentication.</p>
<p>The adapter essentially acts as a proxy between your computer and a USB drive, meaning it needs no software, has no operating system requirement, and works with everything from a flash memory stick to an external hard drive. All communication with the USB device is encrypted on the fly using 256-bit AES via a certified FIPS 140-2 Level 3 crypto module, but the key isn’t stored on the drive: at the front of the hiddn adapter is a smart card slot.</p>
<p>When you insert a smart card, you have to enter the corresponding PIN code to use it. (After three unsuccessful attempts, the card becomes locked until a longer PUK code is given.) The device does not appear as an active USB device in the OS until a card is verified, and becomes “unplugged” when the card is removed. The encryption key (or half of it in split-key mode) stays on the smart card, making an encrypted drive unusable without it.</p>
<p>Setting up and operating the hiddn system is very straightforward. You connect it to your computer with a USB cable, plug a drive into the top USB port, insert your smart card, and then enter your PIN. From there, the experience is no different than using a USB drive normally – there’s not even a difference in speed.</p>
<p>When I first connected an unencrypted drive on a Windows machine, it appeared as an unformatted drive. After formatting, it behaved just as it would when plugged in directly. (A few times I had to reconnect the adapter to get Windows to recognize a new drive if I didn’t “eject” the drive first or tried a bad PIN, but those were minor issues.) Trying to use the drive without the hiddn adapter after it had been encrypted brought up another prompt to format – Windows could tell there was a volume, but it was completely unreadable.</p>
<p>After using the hiddn Crypto Adapter for a short time, I started wondering why no one else had thought of it before – or at least why I’d never heard of it before. It’s a great tool for anyone wanting a no-hassle method to encrypt removable storage. The only potential drawback is pricing; two adapters and two sets of pre-configured smart cards can run almost $900. High Density Devices offers a few different packages of units and cards, ranging from one of each to ten, as well as an enterprise key management system for creating new cards. But while some users may find hiddn too expensive for personal use, its flexibility, ease-of-use, and high security make for a combination that’s hard to beat.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Product+Review%3A+The+hiddn+Crypto+Adapter+Offers+Secure+USB+Storage+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2802" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2802/product-review-the-hiddn-crypto-adapter-offers-secure-usb-storage&amp;t=Product+Review%3A+The+hiddn+Crypto+Adapter+Offers+Secure+USB+Storage" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2802/product-review-the-hiddn-crypto-adapter-offers-secure-usb-storage/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The GRC (platform) Fallacy</title>
		<link>http://securitymusings.com/article/2797/the-grc-platform-fallacy</link>
		<comments>http://securitymusings.com/article/2797/the-grc-platform-fallacy#comments</comments>
		<pubDate>Thu, 26 May 2011 15:03:00 +0000</pubDate>
		<dc:creator>Ben Tomhave</dc:creator>
				<category><![CDATA[Technology & Tool Thursday]]></category>
		<category><![CDATA[GRC]]></category>
		<category><![CDATA[misleading]]></category>
		<category><![CDATA[platform]]></category>
		<category><![CDATA[program]]></category>
		<category><![CDATA[sales]]></category>
		<category><![CDATA[tool]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2797</guid>
		<description><![CDATA[There&#8217;s a common mythos perpetuated by many security vendors (or, at least, by their sales forces) that you can buy a tool, install it, and problems will be solved. This mythos oftentimes short-circuits problem solving processes, jumping to &#8220;solutions&#8221; without doing earlier steps, such as defining the problem. More often than not we see this [...]]]></description>
			<content:encoded><![CDATA[<p>There&#8217;s a common mythos perpetuated by many security vendors (or, at least, by their sales forces) that you can buy a tool, install it, and problems will be solved. This mythos oftentimes short-circuits problem solving processes, jumping to &#8220;solutions&#8221; without doing earlier steps, such as defining the problem. More often than not we see this sales approach coupled with a heavy dose of FUD, intended to &#8220;prove&#8221; to a prospective customer that there is a great &#8220;risk&#8221; (term used incorrectly) that must be mitigated. If you buy their tool, then you&#8217;ll be saved! Or not, as the case more likely is&#8230;</p>
<p><span id="more-2797"></span>One area where I&#8217;m increasingly seeing this nonsense is in the GRC (Governance, Risk, Compliance) space. Vendors are making a push these days to add customers, and they&#8217;re apparently willing to do it at any cost. Specifically, they&#8217;re aggressively pushing their solution onto customers who don&#8217;t have a GRC program. That is, these customers typically will have old, weak policies, and no real formalization to their governance or risk management processes. They may or may not have a compliance management program. In short, they have little or no process, policy, or documentation. The vendors are seizing upon these entities and selling them a pipedream; that buying their tool will magically imbue their organizations with a GRC program by virtue of buying a GRC tool/platform. To say the least, this is a dishonest sales practice.</p>
<p>There is no substitute for doing the base work in establishing a GRC program. If your organization does not have a reasonable base of policies, processes, and documentation, then adding a tool will not make this situation any better. In fact, it&#8217;ll probably make things worse. Why is that? Simply put: if you buy a tool first, then you will have to change your organization to match the tool. Taking such an approach is a recipe for disaster, because organizational transformation is itself extremely difficult and costly, and even more so when the changes are arbitrary to match a piece of technology. More importantly, all of the GRC program development work will still need to be done, but in buying a tool you will now hamstring your efforts by limiting your options.</p>
<p>The most important lesson here is this: You do not need a GRC tool/platform in order to have a GRC program. In fact, it&#8217;s better that you don&#8217;t have a tool at first, since it can unnecessarily limit or hinder your program development efforts. Instead, build a program that makes sense for your organization. Once you have the fundamental components in place, then and only then should you consider a GRC platform. In this scenario, you can then properly define requirements for what you need the tool to do, which will let you make a better selection. You&#8217;ll find that this is a far more worthwhile approach, and that you will then be able to demonstrate the value from such an acquisition.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=The+GRC+%28platform%29+Fallacy+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2797" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2797/the-grc-platform-fallacy&amp;t=The+GRC+%28platform%29+Fallacy" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2797/the-grc-platform-fallacy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Malware branching out</title>
		<link>http://securitymusings.com/article/2784/malware-branching-out</link>
		<comments>http://securitymusings.com/article/2784/malware-branching-out#comments</comments>
		<pubDate>Thu, 19 May 2011 11:15:29 +0000</pubDate>
		<dc:creator>Benjamin Hartley</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[data protection]]></category>
		<category><![CDATA[data theft]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[Technology & Tool Thursday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2784</guid>
		<description><![CDATA[I recall back in the 80s, when “computer virus” was a new term, “antivirus software” hadn’t been invented yet, nobody had coined the term “malware”, and Apple was still running incomprehensible TV ads. It’s ironic: Apple computers were the predominant home computers when computer virii and malware were invented. And yet, the first malware kit [...]]]></description>
			<content:encoded><![CDATA[<p>I recall back in the 80s, when “computer virus” was a new term, “antivirus software” hadn’t been invented yet, nobody had coined the term “malware”, and Apple was still running <a href="http://www.youtube.com/watch?v=HhsWzJo2sN4">incomprehensible TV ads</a>.</p>
<p>It’s ironic: Apple computers were the predominant home computers when computer virii and malware were invented. And yet, the first malware kit for the MAC OS (or, more accurately, OS X), <a href="http://www.csis.dk/en/csis/blog/3195/">Weyland-Yutani BOT</a>, was only released earlier this month. For obvious reasons, I’m not about to download it and play around, but preliminary reports indicate that this kit may have caused <a href="http://www.zdnet.com/blog/bott/an-applecare-support-rep-talks-mac-malware-is-getting-worse/3342">a significant increase in OS X malware</a>. And supposedly, kits for iPad and Linux are just around the corner.</p>
<p>To be honest, I find the iPad more disturbing. An increased awareness of mobile OSes in the black hat community can only mean more malware for those platforms. Various experts have been predicting <a href="http://www.infosecurity-us.com/view/16069/malware-arriving-soon-on-a-mobile-device-near-you/">widespread malware in mobile devices</a> like phones and tablets for some time now. With the release of Weyland-Yutani BOT, we’re that much closer. The exact development cycle for such kits is hard to pin down, but a spike in mobile device malware is likely in the very near future. If you haven&#8217;t already, now would probably be a good time to look at anti-malware for <strong>all</strong> of your computing devices &#8211; Weyland-Yutani BOT is just the beginning.</p>
<div class="tweetthis" style="text-align:left;"><p> <a class="tt" href="http://twitter.com/intent/tweet?text=Malware+branching+out+http%3A%2F%2Fsecuritymusings.com%2F%3Fp%3D2784" title="Post to Twitter"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/twitter/tt-twitter2.png" alt="Post to Twitter" /></a> <a class="tt" href="http://www.facebook.com/share.php?u=http://securitymusings.com/article/2784/malware-branching-out&amp;t=Malware+branching+out" title="Post to Facebook"><img class="nothumb" src="http://securitymusings.com/wp-content/plugins/tweet-this/icons/en/facebook/tt-facebook.png" alt="Post to Facebook" /></a></p></div>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2784/malware-branching-out/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

