<?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; hacking</title>
	<atom:link href="http://securitymusings.com/article/category/hacking/feed" rel="self" type="application/rss+xml" />
	<link>http://securitymusings.com</link>
	<description>Rants and raves from information security professionals</description>
	<lastBuildDate>Wed, 08 Sep 2010 21:59:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Fresh technology. Fresh attacks.</title>
		<link>http://securitymusings.com/article/2133/fresh-technology-fresh-attacks</link>
		<comments>http://securitymusings.com/article/2133/fresh-technology-fresh-attacks#comments</comments>
		<pubDate>Fri, 03 Sep 2010 03:55:13 +0000</pubDate>
		<dc:creator>Nick Staples</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2133</guid>
		<description><![CDATA[Teensy is an interesting device. Not much larger than a quarter, the technology behind it is comprised of a micro controller and other associated electronics (memory, I/O, etc). The result is a very functional, yet flexible, USB thingamabob that can let people program their own logic to run their own routines, commands, and instructions. Teensy [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pjrc.com/teensy/">Teensy</a> is an interesting device.</p>
<p>Not much larger than a quarter, the technology behind it is comprised of a micro controller and other associated electronics (memory, I/O, etc). The result is a very functional, yet flexible, USB thingamabob that can let people program their own logic to run their own routines, commands, and instructions.</p>
<p>Teensy was recently used in a <a href="http://www.vimeo.com/14090717">unique demonstration</a> of some interesting security implications that arise from exploiting the USB-to-OS trust relationship. By programming Teensy to identify itself as a keyboard, someone could trigger it to send automated keystrokes at will (or set via timer). </p>
<p>But this has been possible for years. In fact, for this example in-particular, it&#8217;s probably desirable for users to not have to do any real configuring to get their keyboard or mouse to work. Perhaps the underlying issue is that many vulnerabilities are introduced when trying to balance convenience with security.</p>
<p>But the flip side might be that real change is coming from the other direction. As technology evolves, it gives attackers more tools with which to express their creativity. A few short years ago, programming logic into a USB device like this might have cost a few hundred dollars of equipment and a good amount of coding, just to do something simple.</p>
<p>Teensy is dirt cheap and there is a <a href="http://www.irongeek.com/i.php?page=security/programmable-hid-usb-keystroke-dongle">software library</a> already written for it. This makes it easy to jump right in and start making stuff because the barrier to entry for this vector has been lowered by better technology. As a tool, a device like Teensy offers potential that is only limited to what the creative individual can fit into the on-board flash memory module. In a way, the bad guys get new toys, while the good guys just get more stuff to patch, secure, and protect against.  </p>
<p>And that&#8217;s not&#8230; a teensy problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2133/fresh-technology-fresh-attacks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security threats in Android! ..or not.</title>
		<link>http://securitymusings.com/article/2078/security-threats-in-android-or-not</link>
		<comments>http://securitymusings.com/article/2078/security-threats-in-android-or-not#comments</comments>
		<pubDate>Fri, 13 Aug 2010 21:40:30 +0000</pubDate>
		<dc:creator>Tim Donaworth</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[privacy]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2078</guid>
		<description><![CDATA[So you've been hearing lately about how some Android applications are going rogue, and being used to steal user's data and infiltrate their phones, to sit idly by only to wreak havoc when the user least expects it (ok, so maybe I exaggerated a little there). But there has been a lot of buzz lately about certain apps not playing by the rules, or including certain calls to leach user information. A lot of this buzz has been spun as backlash against Google for allowing these types of applications to exist (instead of having some asininely draconian filtering process like some 'other' phone provider).]]></description>
			<content:encoded><![CDATA[<p>So you&#8217;ve been hearing lately about how some Android applications are going rogue and being used to steal users&#8217; data and infiltrate their phones, to sit idly by only to wreak havoc when the user least expects it (ok, so maybe I exaggerated a little there). But there has been a lot of <a href="http://gizmodo.com/5570942/one-in-five-android-apps-access-your-private-data">buzz</a> lately about certain apps not playing by the rules, or including certain calls to leach user information. A lot of this buzz has been spun as backlash against Google for allowing these types of applications to exist (instead of having some asininely draconian filtering process like some &#8216;other&#8217; phone provider).</p>
<p>Well, to help defend Google (which they&#8217;ve done a decent job of doing themselves), this one falls back on the users. If you&#8217;re an Android user, you&#8217;ve most definitely seen a screen similar to this.</p>
<p><a href="http://securitymusings.com/wp-content/uploads/2010/08/wakeupcallmaker_install.png"><img class="aligncenter size-medium wp-image-2079" title="wakeupcallmaker_install" src="http://securitymusings.com/wp-content/uploads/2010/08/wakeupcallmaker_install-200x300.png" alt="" width="200" height="300" /></a></p>
<p>This screen tells you exactly (mostly) [kinda] what the application you&#8217;re installing has access to, and how far it can reach. It&#8217;s your (the user&#8217;s) obligation to agree with this and install, or not agree, and cancel out. See those two buttons at the bottom? If you don&#8217;t agree and see something that has “Cost Money” in this section and you presumed it was a completely free (as in beer) app, then you&#8217;d better click the right (Cancel) button.</p>
<p><strong><span id="more-2078"></span></strong>Now, the real concern here is what exactly do these actually mean.  If you see a label for “Phone Calls,” should you freak out and immediately think the app is going to start calling your friends, or start making unauthorized long distance phone calls? No (though it might).</p>
<p>This is one area where I think Android needs to step it up. It&#8217;s great that they tell you what permission groups are affected by this application. But to be honest, there are quite a few scenarios that could exist in each group. The given example for Phone Calls really only monitors the state of the telephony portion of the OS e.g.: An application could automatically monitor the state of the phone and reject any incoming calls if this happened to be some sort of navigation app, and felt that receiving calls while driving was too much of a distraction. – That&#8217;s a fairly obscure example, but it just goes to show what lengths these permission groups can go to. Obviously this same app would most likely pop up the Location group in this section as well as it would be requiring access to the course or fine GPS data.</p>
<p>So what determines which permission groups show up here, and how can you be sure that the developer wasn&#8217;t trying to be sly and hide the fact that their application is using the GPS data? Well, the people at Google thought of that. When developing an application, you need to specifically state which permissions groups your application needs in the AndroidManifest.xml file.</p>
<p><code>&lt;manifest xlmns:android...&gt;<br />
...<br />
&lt;uses-permission android:name="android.permission.LOCATION"&gt;&lt;/uses-permission&gt;<br />
&lt;/manifest&gt;</code></p>
<p>If this is not included in the manifest, you&#8217;re not even allowed to make calls to the classes that implement the functionality located within that permission group. The code simply won&#8217;t compile until the manifest file is edited accordingly.</p>
<p>So it seems Google has covered their end fairly well. It&#8217;s just up to the users to keep an eye on what they&#8217;re installing. Though as stated, I do think they could increase the level of detail that is displayed for each group.</p>
<p>Included below is a table showing all the permission groups. Also if you&#8217;d like to have a deeper look at what&#8217;s inside each group, have a look at the Android developer site for a full list of all the constants that would indicate what features are being used.</p>
<p><a title="Android Permission Class" href="http://developer.android.com/reference/android/Manifest.permission.html">Android Permission Class</a></p>
<table border="1" cellspacing="5pt" cellpadding="0">
<tbody>
<tr>
<td width="163" valign="top">ACCOUNTS</td>
<td width="475" valign="top">Permissions for direct access to the accounts managed by the Account   Manager.</td>
</tr>
<tr>
<td width="163" valign="top">COST_MONEY</td>
<td width="475" valign="top">Used for permissions that can be used to make the user spend money   without their direct involvement.</td>
</tr>
<tr>
<td width="163" valign="top">DEVELOPMENT_TOOLS</td>
<td width="475" valign="top">Group of permissions that are related to development features.</td>
</tr>
<tr>
<td width="163" valign="top">HARDWARE_CONTROLS</td>
<td width="475" valign="top">Used for permissions that provide direct access to the hardware on   the device.</td>
</tr>
<tr>
<td width="163" valign="top">LOCATION</td>
<td width="475" valign="top">Used for permissions that allow access to the user&#8217;s current   location.</td>
</tr>
<tr>
<td width="163" valign="top">MESSAGES</td>
<td width="475" valign="top">Used for permissions that allow an application to send messages on   behalf of the user or intercept messages being received by the user.</td>
</tr>
<tr>
<td width="163" valign="top">NETWORK</td>
<td width="475" valign="top">Used for permissions that provide access to networking services.</td>
</tr>
<tr>
<td width="163" valign="top">PERSONAL_INFO</td>
<td width="475" valign="top">Used for permissions that provide access to the user&#8217;s private data,   such as contacts, calendar events, e-mail messages, etc.</td>
</tr>
<tr>
<td width="163" valign="top">PHONE_CALLS</td>
<td width="475" valign="top">Used for permissions that are associated with accessing and modifying   telephony state: intercepting outgoing calls, reading and modifying the phone   state.</td>
</tr>
<tr>
<td width="163" valign="top">STORAGE</td>
<td width="475" valign="top">Group of permissions that are related to SD card access.</td>
</tr>
<tr>
<td width="163" valign="top">SYSTEM_TOOLS</td>
<td width="475" valign="top">Group of permissions that are related to system APIs.</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2078/security-threats-in-android-or-not/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Code with JavaScript: Letters and Numbers Optional</title>
		<link>http://securitymusings.com/article/2022/code-with-javascript-letters-and-numbers-optional</link>
		<comments>http://securitymusings.com/article/2022/code-with-javascript-letters-and-numbers-optional#comments</comments>
		<pubDate>Tue, 13 Jul 2010 17:16:32 +0000</pubDate>
		<dc:creator>Joey Tyson</dc:creator>
				<category><![CDATA[Tutorial Tuesday]]></category>
		<category><![CDATA[cool]]></category>
		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2022</guid>
		<description><![CDATA[Last year I discovered an unusual but useful method for writing web application code: non-alphanumeric JavaScript. This technique has been pioneered by several script ninjas on the hackers forum sla.ckers.org and lets you write scripts without directly using letters or numbers. Application filters or sandboxes may catch typical attacks by monitoring for requests such as [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Dilbert.com" href="http://dilbert.com/strips/comic/1992-09-08/"><img src="http://dilbert.com/dyn/str_strip/000000000/00000000/0000000/000000/20000/8000/700/28703/28703.strip.gif" border="0" alt="Dilbert.com" width="540" /></a></p>
<p>Last year I discovered an unusual but useful method for writing web application code: non-alphanumeric JavaScript. This technique has been pioneered by several script ninjas on the hackers forum <a href="http://sla.ckers.org/forum/list.php?24">sla.ckers.org</a> and lets you write scripts without directly using letters or numbers. Application filters or sandboxes may catch typical attacks by monitoring for requests such as &#8220;document.cookie,&#8221; but they may let non-alphanumeric code slip through.</p>
<p>How does it work? First, you can use blank objects or arrays to generate basic values. For instance, <code>+[]</code> evaluates to the number zero, while <code>!{}</code> returns the boolean value false. You can also combine these simple results to create strings, such as <code>[!{}]+[+[]] == "false0"</code>. By treating these strings as arrays, we can grab individual letters. From our previous example, <code>"false0"[0] == "f"</code>, so we can use <code>([!{}]+[+[]])[+[]] == "f"</code> instead.</p>
<p>Once we have enough of the alphabet available as strings, we can start combining letters to reference more useful objects and functions, thanks to JavaScript&#8217;s flexibility. For instance, if you wanted to load the sort function for an array, you&#8217;d probably use a <code>[].sort()</code> syntax. But <code>[]['sort']</code> works equally well, and even <code>[]['s'+'o'+'r'+'t']</code> loads fine.</p>
<p>In fact, if we set <code>_=[]['sort']</code> (variable names need not require letters and numbers either!) and call <code>_()</code> in Firefox, we&#8217;ll get back the window object, opening up many more possibilities. Accessing this object also means we don&#8217;t have to write all of our code without the benefit alphanumeric characters, since we can load data from window.name or window.location. For instance, if we load http://server/page.html#alert(document.cookie), the hash is only seen by the client (and our script), not the server.</p>
<p>This means that if a server is vulnerable to cross-site scripting and doesn&#8217;t filter our non-alphanumeric script, we can execute arbitrary JavaScript even though we only send non-alphanumeric code to the server.</p>
<p>If you&#8217;re interested in more details, check out the sla.ckers.org threads on <a href="http://sla.ckers.org/forum/read.php?24,28687">optimizing code</a>, <a href="http://sla.ckers.org/forum/read.php?24,33349">cheat sheets</a>, and the <a href="http://sla.ckers.org/forum/read.php?24,32930">Great JS Wall</a> (researchers have found that you couldn&#8217;t load arbitrary scripts if you draw from a set of less than six characters). Also, several of the people who contributed to those threads are releasing a book on this method and other attack strategies later this year, entitled <a href="http://www.amazon.com/Web-Application-Obfuscation-WAFs-Evasion-Filters-alert/dp/1597496049/">Web Application Obfuscation</a>.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">﻿</div>
]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2022/code-with-javascript-letters-and-numbers-optional/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hacking Pages in Firefox with the HackBar</title>
		<link>http://securitymusings.com/article/1980/hacking-pages-in-firefox-with-the-hackbar</link>
		<comments>http://securitymusings.com/article/1980/hacking-pages-in-firefox-with-the-hackbar#comments</comments>
		<pubDate>Thu, 24 Jun 2010 14:24:29 +0000</pubDate>
		<dc:creator>Joey Tyson</dc:creator>
				<category><![CDATA[Technology & Tool Thursday]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=1980</guid>
		<description><![CDATA[A few months ago, I described how the Firefox add-on HttpFox could be used for basic traffic monitoring. Another helpful add-on that complements nicely with HttpFox is called HackBar. HackBar adds a toolbar underneath the main address bar that can be toggled on or off with the F9 key. When enabled, the toolbar provides a [...]]]></description>
			<content:encoded><![CDATA[<p>A few months ago, I described how the Firefox add-on <a href="http://securitymusings.com/article/1786/monitor-network-traffic-in-firefox-with-httpfox">HttpFox</a> could be used for basic traffic monitoring. Another helpful add-on that complements nicely with HttpFox is called <a href="https://addons.mozilla.org/en-US/firefox/addon/3899/">HackBar</a>.</p>
<p>HackBar adds a toolbar underneath the main address bar that can be toggled on or off with the F9 key. When enabled, the toolbar provides a miniature console of sorts for various testing tasks. A resizable textbox gives you plenty of room for editing URIs, and you can also issue POST requests or spoof the referrer. Menus across the top of the bar provide common functions for working with different types of data, such as hash algorithms or encoding and decoding in Base64, URI format, and even hexadecimal.</p>
<p>Using HackBar has its limits, and for comprehensive penetration testing you&#8217;ll probably need better tools. But if you just want to poke around a web application or send a quick POST request, HackBar is pretty handy to have around. Combined with HttpFox, you may be surprised at how much testing you can accomplish right in your browser.</p>
<p><em>Each Thursday, Security Musings features a  security-related  technology or tool. Featured items do not imply a  recommendation by  Gemini Security Solutions. For more information about  how Gemini  Security Solutions can help you solve your security issues,  <a href="http://geminisecurity.com/company/contact/">contact us</a>!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/1980/hacking-pages-in-firefox-with-the-hackbar/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LIGATT honestly and truly scares me</title>
		<link>http://securitymusings.com/article/1950/ligatt-honestly-and-truly-scares-me</link>
		<comments>http://securitymusings.com/article/1950/ligatt-honestly-and-truly-scares-me#comments</comments>
		<pubDate>Fri, 11 Jun 2010 20:23:14 +0000</pubDate>
		<dc:creator>Peter Hesse</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[hacker]]></category>
		<category><![CDATA[ligatt]]></category>
		<category><![CDATA[plagiarism]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=1950</guid>
		<description><![CDATA[If you haven&#8217;t already heard about LIGATT security, you need to.  I won&#8217;t do them a favor of linking to them from this blog post, but I would like to provide some information about why I&#8217;m afraid of them.  No, it&#8217;s not because they have the world&#8217;s #1 hacker. There is a lot of terrific [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t already heard about LIGATT security, you need to.  I won&#8217;t do them a favor of linking to them from this blog post, but I would like to provide some information about why I&#8217;m afraid of them.  No, it&#8217;s not because they have the world&#8217;s #1 hacker.</p>
<p>There is a lot of terrific information about the company, its misgivings and wrongdoings on attrition.org&#8217;s <a href="http://attrition.org/errata/charlatan/gregory_evans/">Charlatan page for Gregory Evans</a>, the LIGATT founder and CEO.  Convicted of wire fraud in the beginning of last decade, Mr. Evans made good upon his release from prison by&#8230; marketing a caller ID spoofing service starting <a href="http://attrition.org/errata/charlatan/gregory_evans/evans01.html">two days after the US House of Representatives made caller ID spoofing illegal</a>.</p>
<p>Another fantastic resource is the <a href="https://365.rsaconference.com/blogs/securityreading/2010/06/10/how-to-become-the-worlds-no-1-hacker">book review issued today</a> by Ben Rothke on Gregory Evans&#8217; book <span style="text-decoration: underline;">How To Become The Worlds No. 1 Hacker</span>.  In the review, Rothke explains:</p>
<blockquote><p>In short, this is merely a work of cut and  paste.  In the parts of the book where the author attempts  to write original text, it’s ripe with various errors.  I  could list many such errors, but why bother&#8230; But the real offense is the author’s blatant  use of unattributed sources.  I am not talking about a  paragraph here or there, it is about wholesale plagiarism, often taking  the form of an entire chapter.</p></blockquote>
<p>So what scares me about them?  No, it&#8217;s not that they have the &#8220;#1 hacker for hire&#8221;.  I&#8217;m more scared of my own employees than this joker. It&#8217;s because they are a marketing machine that is escaping the ire of the media.  In fact, they&#8217;re getting fluff pieces on <a href="http://www.youtube.com/watch?v=HkZv0YXZkkg&amp;feature=player_embedded#!">Fox News</a> and publicizing <a href="http://praetorianprefect.com/archives/2010/05/best-information-security-commercial-evah/">frightening commercials</a>, taking out  full page ads in <a href="http://hakin9.org/">hakin9</a> magazine, <a href="http://twitter.com/hackerforhire/status/2282672500">talking on  radio stations</a>, and issuing press releases and ALL CAPS tweets regularly. There&#8217;s even a movement to get LIGATT <a href="http://twitition.com/akz5w">profiled on Oprah</a>.</p>
<p>They proclaim on their front page &#8220;LIGATT Security is a leader in cyber  security.&#8221; If <em>anyone</em> treats and respects this company as a &#8220;leader&#8221; it will put the community of hard working information security professionals many steps behind.  Organizations like this give the whole security community a bad rap.</p>
]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/1950/ligatt-honestly-and-truly-scares-me/feed</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Macs are more secure, right?</title>
		<link>http://securitymusings.com/article/1920/macs-are-more-secure-right</link>
		<comments>http://securitymusings.com/article/1920/macs-are-more-secure-right#comments</comments>
		<pubDate>Wed, 02 Jun 2010 18:40:32 +0000</pubDate>
		<dc:creator>Peter Hesse</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=1920</guid>
		<description><![CDATA[For starters, let me just say that I personally have three Mac systems and three Windows systems I interact with on a regular basis.  I&#8217;m writing this blog post from a Macbook Pro.  However, there is a wide and growing misconception about the security of Mac systems vs. the security of Windows systems.  I just [...]]]></description>
			<content:encoded><![CDATA[<p>For starters, let me just say that I personally have three Mac systems and three Windows systems I interact with on a regular basis.  I&#8217;m writing this blog post from a Macbook Pro.  However, there is a wide and growing misconception about the security of Mac systems vs. the security of Windows systems.  I just came across the following <a href="http://blogs.pcmag.com/securitywatch/2010/06/mac_security_in_the_news.php">post in PC Magazine&#8217;s Security Watch blog</a>, and there is a lot of good information in there; specifically the following quote which I want to share:</p>
<blockquote><p>In the abstract, Macs are every bit as vulnerable as  Windows systems, perhaps more so. But in the real world Mac malware is  so rare that it actually makes news. Hundreds of Windows trojans like  OpinionSpy come out every day. Mac users are generally &#8220;irresponsible&#8221;  about such things, but for now they can afford to be.</p></blockquote>
<p>My neighbor mentioned the other day that she got a Mac and loved it because (a) it was easier to use, and (b) it was more secure. Point (a) can be argued both ways, some things are easier to do on Windows and some are easier on Mac&#8230; but point (b) is something that troubles me.  The lack of publicized vulnerabilities and attacks does not mean more security.  Joe User wasn&#8217;t concerned about the <a href="http://en.wikipedia.org/wiki/Advanced_Persistent_Threat">advanced persistent threat</a> before Google released information about the Aurora attacks.</p>
<p>The bottom line I try to keep telling people: there are more vulnerabilities written for Windows because that is where the market share is; the attackers are going after the largest market out there.  As the market dries up they will focus their efforts on OSX, and when that happens, beware.  Mac users, don&#8217;t be too comfortable.  Get an anti-malware product. Turn on your firewall. Turn on FileVault. Disable automatic logon. Don&#8217;t make yourself the easy target when the bad guys turn their attention to Macs.</p>
]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/1920/macs-are-more-secure-right/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Monitor Network Traffic in Firefox with HttpFox</title>
		<link>http://securitymusings.com/article/1786/monitor-network-traffic-in-firefox-with-httpfox</link>
		<comments>http://securitymusings.com/article/1786/monitor-network-traffic-in-firefox-with-httpfox#comments</comments>
		<pubDate>Thu, 15 Apr 2010 19:56:00 +0000</pubDate>
		<dc:creator>Joey Tyson</dc:creator>
				<category><![CDATA[Technology & Tool Thursday]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=1786</guid>
		<description><![CDATA[In evaluating web application security, I&#8217;ve built up a toolbox of Firefox add-ons that make testing and experimenting much easier than manual techniques. One of my favorites is a little tool called HttpFox. While no match for a professional HTTP sniffer, HttpFox provides enough functionality for many basic testing situations. If you want to see [...]]]></description>
			<content:encoded><![CDATA[<p>In evaluating web application security, I&#8217;ve built up a toolbox of  Firefox add-ons that make testing and experimenting much easier than  manual techniques. One of my favorites is a little tool called <a title="httpfox - Project Hosting on Google Code" href="http://code.google.com/p/httpfox/">HttpFox</a>.</p>
<p>While no  match for a professional HTTP sniffer, HttpFox provides enough  functionality for many basic testing situations. If you want to see  what&#8217;s happening behind the scenes for a given web  application, HttpFox  lets you pull up a traffic log without  leaving your browser. The  plug-in displays a panel right in the lower half of the window and  captures a list of every HTTP request made during a given session. (You  control the capture through start and stop buttons.) Highlighting an  individual request brings up detailed information on headers, cookies,  GET or POST parameters, and content returned.</p>
<p>The biggest  downside to HttpFox is the lack of any real export or save feature,  though for individual requests it&#8217;s easy to copy useful information to  the clipboard. Still, HttpFox can be handy for checking traffic quickly,  and it&#8217;s a free download with <a title="Source Checkout - httpfox -  Project Hosting on Google Code" href="http://code.google.com/p/httpfox/source/checkout">source code  available</a> under GPL v2. Firefox users can install the plug-in by  visiting the <a title="HttpFox :: Add-ons for Firefox" href="https://addons.mozilla.org/en-US/firefox/addon/6647">Mozilla  add-on page</a>.</p>
<p><em>Each Thursday, Security Musings features a  security-related  technology or tool. Featured items do not imply a  recommendation by  Gemini Security Solutions. For more information about  how Gemini  Security Solutions can help you solve your security issues,  <a href="http://geminisecurity.com/company/contact/">contact us</a>!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/1786/monitor-network-traffic-in-firefox-with-httpfox/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The other theme at the 2010 RSA Conference</title>
		<link>http://securitymusings.com/article/1741/the-other-theme-at-the-2010-rsa-conference</link>
		<comments>http://securitymusings.com/article/1741/the-other-theme-at-the-2010-rsa-conference#comments</comments>
		<pubDate>Mon, 22 Mar 2010 20:55:00 +0000</pubDate>
		<dc:creator>Peter Hesse</dc:creator>
				<category><![CDATA[RSA Conference]]></category>
		<category><![CDATA[data theft]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[#rsac]]></category>
		<category><![CDATA[Cybercrime]]></category>

		<guid isPermaLink="false">http://securitymusings.com/article/1741/the-other-theme-at-the-2010-rsa-conference</guid>
		<description><![CDATA[Chances are, if you read 10 articles or blog posts about the 2010 RSA conference, you will hear the term &#8220;cloud computing&#8221; ten times. The cloud was clearly the dominant theme of most of the presentations, product demonstrations, and discussions which took place at the Moscone Center in the first week of March 2010. However, [...]]]></description>
			<content:encoded><![CDATA[<p>Chances are, if you read 10 articles or blog posts about the 2010 RSA conference, you will hear the term &#8220;cloud computing&#8221; ten times. The cloud was clearly the dominant theme of most of the presentations, product demonstrations, and discussions which took place at the Moscone Center in the first week of March 2010. However, another theme was nearly equally present in presentations and discussions: Cybercrime.</p>
<p><strong><span id="more-1741"></span></strong>What was clear if you listened for cybercrime instead of being deafened by the cloud is that the problem is getting worse, not better. Cybercrime attacks are increasing in frequency, becoming more effective, and becoming more profitable all the time. Cybercrime is increasingly in the news thanks to <a href="http://siblog.mcafee.com/cto/operation-%E2%80%9Caurora%E2%80%9D-hit-google-others/">Operation Aurora</a> and Google&#8217;s public disclosure. The <a href="http://en.wikipedia.org/wiki/Advanced_Persistent_Threat">APT</a> buzzword is flying around and driving some in the security industry a little batty (although I did get and wear a <a href="http://www.zazzle.com/im_an_advanced_persistent_threat_tshirt-235599121578069504?group=mens&amp;lifestyle=classic&amp;rf=238362427296682193">pretty cool shirt</a>).</p>
<p>As I mentioned in <a style="background-color: rgba(0, 0, 0, 0); clip: auto; color: #104475; font-family: Arial; font-size: 13px; line-height: 16px; pointer-events: auto; text-align: left; text-decoration: underline; text-indent: 0px; zoom: 1; clip-rule: nonzero; flood-color: #000000; flood-opacity: 1; lighting-color: #FFFFFF; stop-color: #000000; stop-opacity: 1; color-interpolation: srgb; color-interpolation-filters: linearrgb; color-rendering: auto; fill: #000000; fill-opacity: 1; fill-rule: nonzero; image-rendering: auto; shape-rendering: auto; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 4; stroke-opacity: 1; text-rendering: auto; alignment-baseline: auto; baseline-shift: baseline; dominant-baseline: auto; text-anchor: start; writing-mode: lr-tb; glyph-orientation-horizontal: 0deg; glyph-orientation-vertical: auto; padding: 0px; margin: 0px;" href="http://securitymusings.com/article/1722/2010-rsa-conference-day-1-keynotes">earlier</a> <a style="background-color: rgba(0, 0, 0, 0); clip: auto; color: #104475; font-family: Arial; font-size: 13px; line-height: 16px; pointer-events: auto; text-align: left; text-decoration: underline; text-indent: 0px; zoom: 1; clip-rule: nonzero; flood-color: #000000; flood-opacity: 1; lighting-color: #FFFFFF; stop-color: #000000; stop-opacity: 1; color-interpolation: srgb; color-interpolation-filters: linearrgb; color-rendering: auto; fill: #000000; fill-opacity: 1; fill-rule: nonzero; image-rendering: auto; shape-rendering: auto; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 4; stroke-opacity: 1; text-rendering: auto; alignment-baseline: auto; baseline-shift: baseline; dominant-baseline: auto; text-anchor: start; writing-mode: lr-tb; glyph-orientation-horizontal: 0deg; glyph-orientation-vertical: auto; padding: 0px; margin: 0px;" href="http://securitymusings.com/article/1735/2010-rsa-conference-day-2-4-keynotes">posts</a>, a few of the RSA keynotes mentioned cybercrime. Most of these mentions were aimed at telling us that cybercrime is getting more profitable and is not going away. Cybercrime is definitely the elephant in the room these days at security events. The security industry itself largely knows how to protect itself from attacks (but <a href="http://www.wired.com/threatlevel/2007/07/police-say-life/">isn&#8217;t</a> <a href="http://www.theregister.co.uk/2008/08/13/security_researchers_targeted/">immune</a> <a href="http://www.zdnet.com.au/internet-security-systems-confirms-web-hack-120274253.htm">by</a> <a href="http://news.cnet.com/Kevin-Mitnick-Web-site-hacked/2100-7349_3-6108032.html">any</a> <a href="http://www.infosecurity-magazine.com/view/2881/mi5-website-hacked/">stretch</a> <a href="http://www.theage.com.au/news/security/the-hack-of-the-year/2007/11/12/1194766589522.html">of</a> <a href="http://www.wired.com/threatlevel/2009/10/urlzone-trojan/">the</a> <a href="http://www.wired.com/threatlevel/2009/07/kaminsky-hacked/">imagination</a>) but has a hard time finding ways to educate others and provide them the necessary tools to make cybercrime less profitable for the criminals. And the current state of tools just <a href="http://www.computerworlduk.com/management/security/cybercrime/opinion/index.cfm?articleId=3134">isn&#8217;t sufficient</a>:</p>
<blockquote><p>Traditional security products are simply not much help against APT attacks, said Alex Stamos, a partner with Isec Partners, one of the companies investigating the APT attacks. &#8220;All of the victims we&#8217;ve worked with had perfectly installed antivirus,&#8221; he said. &#8220;They all had intrusion detection systems and several had web proxies scan content.&#8221;</p></blockquote>
<p>At the RSA 2010 exposition, the Symantec booth had a section dedicated to cybercrime called the <a href="http://www.gsnmagazine.com/article/19545/symantecs_black_market_tour_takes_visitors_crimina">Black Market</a>. Inside you could see a storefront where physical representations of online information were available to put in your shopping cart, with prices and descriptions abounding. Everything from credit cards (with guaranteed freshness and CVV2 codes) to full online dossiers (with photos, addresses, social security numbers, etc.) and of course customized malware. You step behind a hidden door and find the laboratory where the cybercriminals are at work &#8211; with their botnet controlling software, developing new malware, and printing new fraudulent credit cards. It was a powerful visual representation at the industry which has sprung up around the illicit trading of valued information.</p>
<p>I&#8217;ll be writing two more articles within the next week about the other education I received about cybercrime during RSA 2010 which I&#8217;ll link in the comments once they are complete. The first is about the briefing I attended by Mikko Hyppönen, Chief Research Officer of F-Secure about targeted malware attacks. The second is about a talk called &#8220;Your computer is worth 30¢&#8221; by Gunter Ollmann, VP of Research at Damballa which was presented at the <a href="http://www.securitybsides.com/">Security BSides</a> unconference.</p>
<p>Unfortunately, the discussions, presentations, and demonstrations around cybercrime were not as upbeat as the discussions about cloud security. While individuals and businesses see the move to the cloud as an opportunity to improve security, there are far fewer positives on the cybercrime front. The security industry seemingly has a worthy adversary in the cybercrime industry. Contrary to <a href="http://www.wired.com/threatlevel/2010/03/schmidt-cyberwar/">what Howard Schmidt says</a>, we <span style="text-decoration: underline;">are</span> at war.</p>
]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/1741/the-other-theme-at-the-2010-rsa-conference/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Obscurity Still Isn&#8217;t Security</title>
		<link>http://securitymusings.com/article/1700/obscurity-still-isnt-security</link>
		<comments>http://securitymusings.com/article/1700/obscurity-still-isnt-security#comments</comments>
		<pubDate>Tue, 23 Feb 2010 20:25:33 +0000</pubDate>
		<dc:creator>Peter Hesse</dc:creator>
				<category><![CDATA[data protection]]></category>
		<category><![CDATA[data theft]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=1700</guid>
		<description><![CDATA[Today Slashdot had a story about how a news story about an Australian transportation plan was broken early by a newspaper. The transport minister said the access of this information was akin to the newspaper trying to &#8220;pick the lock off a secure office and take highly confidential documents&#8221;.  What was the brilliant security plan [...]]]></description>
			<content:encoded><![CDATA[<p>Today Slashdot had a <a href="http://news.slashdot.org/story/10/02/23/157200/Newspaper-Hacks-Into-Aussie-Govt-Website-By-Guessing-URL">story</a> about how a <a href="http://www.smh.com.au/nsw/revealed-keneallys-transport-blueprint-20100219-olzc.html">news story about an Australian transportation plan</a> was broken early by a newspaper. The transport minister said the access of this information was akin to the newspaper trying to &#8220;pick the lock off a secure office and take highly confidential documents&#8221;.  What was the brilliant security plan that was supposed to be protecting this information?  The information was all stored on an <a href="http://www.smh.com.au/nsw/minister-a--monkey-could-have-hacked--secret-transport-site-20100223-p085.html">unpublished URL with no security or authentication in place</a>.</p>
<p>We in the security industry call this &#8220;<a href="http://en.wikipedia.org/wiki/Security_through_obscurity">security by obscurity</a>&#8220;.  And it is not security at all. <span id="more-1700"></span>Security by obscurity is basically counter to <a href="http://en.wikipedia.org/wiki/Kerckhoffs%27_principle">Kerckhoffs&#8217; principle</a> which basically states &#8220;secrets do not remain secret, so the design&#8211;not the secret&#8211;must provide the security&#8221;. While arguments can be made in certain situations for withholding or obscuring information or processes, it cannot be the only thing protecting your private information.  I have seen security by obscurity practiced wrongly in these situations:</p>
<ul>
<li><strong>The implementer does not have confidence in their security protections and controls</strong>.  Therefore, they protect the knowledge of whatever these controls are, hoping that they won&#8217;t be revealed. Ultimately these efforts usually fail, the weak countermeasures are discovered and exploited.</li>
<li><strong>The implementer believes that they have done something &#8220;new and improved&#8221; or &#8220;groundbreaking&#8221; when it comes to security</strong>.  Whether this is a brand new way to do <a href="http://en.wikipedia.org/wiki/Wired_Equivalent_Privacy">encryption over wireless networks</a> or a <a href="http://en.wikipedia.org/wiki/NTLM">different way of authenticating users</a>, it often would benefit of having a couple&#8211;or a few thousand&#8211;extra eyes look at it and check their work.</li>
<li><strong>The implementer or user feels a sense of safety because of their use of obscure or proprietary systems or protocols.</strong> For example, &#8220;nobody can crack my system because they would never expect someone to develop something in <a href="http://en.wikipedia.org/wiki/MUMPS">MUMPS</a> that authenticated using the <a href="http://en.wikipedia.org/wiki/Gopher_(protocol)">gopher protocol</a>.&#8221;</li>
<li><strong>The implementer or user feels that the secret renders them invisible.</strong> The case above, an unpublished URL was no protection. Similarly, telling your wireless network not to broadcast an SSID, or using a username that isn&#8217;t related to your real name are attempts to hide information which generally won&#8217;t be successful.</li>
</ul>
<p>And yet, there are some situations where security by obscurity is a useful thing&#8211;but only when combined with other efforts.</p>
<ul>
<li><strong>Changing well-known usernames and network ports</strong>.  Why not stop automated attacks and script kiddies if you can?  I see countless failed login attempts on systems which expose the ssh port. Moving ssh to a non-standard port won&#8217;t stop a determined attacker from finding it, but it will stop the constant failed login attempts.</li>
<li><strong>Use non-default usernames for privileged accounts</strong>.  In a similar way, it is easy to try an exhaustive password attack against Administrator (Windows) or root (*nix), but may be harder for the attacker to realize that the Administrator account is actually disabled and the username used for administration is &#8220;gocrazy&#8221;.</li>
<li><strong>Do not expose information about system use and value.</strong> Naming your accounting server &#8220;accountingserver&#8221; and the system you keep your confidential information on &#8220;topsecretstorage&#8221; only helps your attacker.</li>
<li><strong>Change installation defaults.</strong> If you are installing a piece of software which might be an attack vector, try changing some of the installation defaults &#8211; change the directory structure, the name of configuration files, use non-standard environment variables, etc.</li>
</ul>
<p>The above bits can help obscure key parts to help protect you, but those alone won&#8217;t protect you&#8211;whether your adversary is a newspaper seeking a scoop, or some other advanced persistent threat.  You still need to have a strong security policy, and concentrate on security at every phase of your development lifecycle. And/or &lt;shameless plug&gt;<a href="http://geminisecurity.com/company/contact">involve some others who can help</a>&lt;/shameless plug&gt;.</p>
]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/1700/obscurity-still-isnt-security/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ShmooCon 2010 &#8211; Day 1</title>
		<link>http://securitymusings.com/article/1678/shmoocon-2010-day-1</link>
		<comments>http://securitymusings.com/article/1678/shmoocon-2010-day-1#comments</comments>
		<pubDate>Sat, 06 Feb 2010 03:07:38 +0000</pubDate>
		<dc:creator>Tim Donaworth</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=1678</guid>
		<description><![CDATA[The first night of ShmooCon is a wrap, at least for the presentations. First off, my shout-outs to all those that actually made it this year. The DC weather hasn&#8217;t been too kind to any of us, especially those traveling in specifically for this Con. But to those who made it, I salute you (even [...]]]></description>
			<content:encoded><![CDATA[<p>The first night of <a href="http://www.shmoocon.org/">ShmooCon</a> is a wrap, at least for the presentations. First off, my shout-outs to all those that actually made it this year. The DC weather hasn&#8217;t been too kind to any of us, especially those traveling in specifically for this Con. But to those who made it, I salute you (even more so to those who had to walk a couple miles to get to their hotel because they didn&#8217;t make or take reservations at the Marriot).</p>
<p><strong><span id="more-1678"></span></strong><a href="http://www.shmoo.com/~gdead/Site/Home.html">Bruce Potter</a> opened up with the event schedule and went on into his own little opening that had a common theme of &#8220;common sense&#8221;. He used the recent hiccups in the TSA as the base analogy. Basically the metric that we&#8217;re using to try and fix today&#8217;s security problems is solely based on the amount of money that we throw at it. Simply &#8211; the future looks grim if we continue the way we&#8217;ve been going.</p>
<p>Collin Brack kicked off the actual presentations with one titled: GPU vs. CPU Supercomputing Security Shootout. I was actually looking forward to this talk. Sadly, I was a little disappointed. I guess I was looking for some more in-depth technical slides or live demonstrations on how GPU vs. CPU compare. It was basically a link-filled slide hyping GPU. Nothing against Collin here, I&#8217;m sure it was a great presentation for those who had no clue that GPUs could be used for computation calculations, just didn&#8217;t have my vote. Key points: GPUs are great for many small calculations.</p>
<p>Larry Pesce, Mick Douglas followed up with &#8220;Information disclosure via P2P networks: Why stealing an identity via Gnutella is like clubbing baby seals&#8221;. This was a pretty good presentation. They showed what types of personal information they were able to find simply by parsing the P2P networks with a bit of command line scripting and <a href="http://mutella.sourceforge.net/">mutella</a>. It was entertaining and informative. Key point: careful with what you share on P2P, don&#8217;t share your entire C drive.</p>
<p>At this point I needed to stretch and take a small break, so I used this time to make my donation for my ShmooCon t-shirt. Also, I&#8217;m not entirely sure who or what the presentation was at this time. I thought I remembered Bruce mentioning one of the speakers not making it. And all the others were on the schedule, so this block was a blank to me.</p>
<p>I did return for Dan Crowley&#8217;s talk about &#8220;Windows File Pseudonyms&#8221;. It was a good presentation about the many different ways you could reference files without actually using a &#8216;C:\file.txt&#8217; notation. Most involved some sort of &#8216;//&#8217; notation or localhost network traversal. Some of this information I knew, but it was good to see it put to actual usage. He demonstrated with a php file upload attack exploiting file name safeties in the code. Key point: watch out for string comparisons for file checks, actually do a file/directory check for paths and files.</p>
<p>Doug Wilson&#8217;s &#8220;Learning by Breaking: A New Project for Insecure Web Applications&#8221; was probably the quickest presentation in ShmooCon history. I say this because as I stepped out for about 8-10 minutes figuring I&#8217;d come back just in time for the good stuff, the presentation was already over and he was taking questions. I was really kinda ticked at myself for this one as this was exactly something I was looking forward to seeing as I&#8217;ve attempted to set up my own WebApp test environments in the past. I&#8217;ll definitely be looking back over the recorded presentation for this one and checking out the site. Key points: Don&#8217;t be late for the presentations you WANT TO SEE!</p>
<p>&#8220;Guest Stealing&#8230;The VMware Way&#8221; by Justin Morehouse and Tony Flick brought to the surface an old attack involving a directory traversal vulnerability in VMware Server. They basically explained how they came across it, along with a live demonstration. It&#8217;s something that&#8217;s long been patched, but it was good to see it in action anyways. Key points: Patch!</p>
<p>The final keynote &#8220;Closing the TLS Authentication Gap&#8221; presented by Steve Dispensa and Marsh Ray was a very good look into the actual process of discovering a real (and major) vulnerability, and the process it takes to disclose this information in a timely and yet safe manner without simply dropping it as a 0-day for the world to engulf. They discovered many of the issues weren&#8217;t technical at all, simply getting vendors and companies to cooperate with what needed to be done. It was a great view into the process and something I think all of us should look into. It gives a good showing at how hard it is to be an actual White Hat.</p>
<p>So, the fun continues tomorrow at 10am EST &#8211; I&#8217;m beat from a long day and not looking forward to trudging back through the snow, but hey, it&#8217;s ShmooCon!</p>
]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/1678/shmoocon-2010-day-1/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
