<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Security Musings</title>
	
	<link>http://securitymusings.com</link>
	<description>Rants and raves from information security professionals</description>
	<lastBuildDate>Fri, 03 Sep 2010 22:08:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/SecurityMusings" /><feedburner:info uri="securitymusings" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>SecurityMusings</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><item>
		<title>Fresh technology. Fresh attacks.</title>
		<link>http://feedproxy.google.com/~r/SecurityMusings/~3/z0_sZ3vX6zQ/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 was recently [...]]]></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>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SecurityMusings?a=z0_sZ3vX6zQ:M6m65_G5EXE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SecurityMusings?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SecurityMusings/~4/z0_sZ3vX6zQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2133/fresh-technology-fresh-attacks/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://securitymusings.com/article/2133/fresh-technology-fresh-attacks</feedburner:origLink></item>
		<item>
		<title>How to Quantify Risk</title>
		<link>http://feedproxy.google.com/~r/SecurityMusings/~3/0JXrCt9ssOs/how-to-quantify-risk</link>
		<comments>http://securitymusings.com/article/2116/how-to-quantify-risk#comments</comments>
		<pubDate>Tue, 31 Aug 2010 18:00:36 +0000</pubDate>
		<dc:creator>Benjamin Tomhave</dc:creator>
				<category><![CDATA[Tutorial Tuesday]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[FAIR]]></category>
		<category><![CDATA[risk]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2116</guid>
		<description><![CDATA[There has been much criticism of risk assessment and analysis over the past few years that amount to much ado about nothing. Why is it much ado about nothing? Well, because, quite simply, people oftentimes don&#8217;t understand what it is they&#8217;re criticizing, especially in the case of quantified risk analysis methods.
Before we get into risk [...]]]></description>
			<content:encoded><![CDATA[<p>There has been much criticism of risk assessment and analysis over the past few years that amount to much ado about nothing. Why is it much ado about nothing? Well, because, quite simply, people oftentimes don&#8217;t understand what it is they&#8217;re criticizing, especially in the case of quantified risk analysis methods.</p>
<p>Before we get into risk measurement, let&#8217;s first make one thing clear: risk analysis is nothing more than a decision-analysis (or decision-support) tool. It helps provide reasonably accurate data points that decision-makers can use when make decisions. It is not a panacea for all things risk or infosec, nor is it some sort of special magic-sauce voodoo with no grounding in reality (at least not in terms of well-considered quant methods). Clear? Crystal, I&#8217;m sure. <img src='http://securitymusings.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>When performing a risk analysis, we need to start with the basics. Here at Gemini we subscribe to the <a href="http://fairwiki.riskmanagementinsight.com/" target="_blank">Factor Analysis of Information Risk (FAIR)</a> methodology for performing quantified risk analysis. FAIR defines risk as &#8220;the probable frequency and probable magnitude of future loss.&#8221; What this means in real terms is that FAIR reduces &#8220;risk&#8221; into two main components: Loss Event Frequency and Loss Magnitude. Both are estimates that are created using Douglas Hubbard&#8217;s calibration technique, as advocated in his book <a href="http://amzn.to/dluiyu" target="_blank"><em>How to Measure Anything</em></a>.</p>
<p><span id="more-2116"></span><a href="http://securitymusings.com/wp-content/uploads/2010/08/Screen-shot-2010-08-30-at-2.44.36-PM.png"><img class="size-medium wp-image-2122 alignright" style="border: 0pt none; margin-top: 5px; margin-bottom: 5px;" title="The Wheel - 95% vs 5%" src="http://securitymusings.com/wp-content/uploads/2010/08/Screen-shot-2010-08-30-at-2.44.36-PM-300x287.png" alt="The Wheel - 95% vs 5%" width="210" height="201" /></a>Hubbard&#8217;s approach to measurement is quite simple: start with a range of values and then ask &#8220;If I had to choose a winner between my range and spinning a wheel with a winner space covering 95% of the wheel, which would I pick?&#8221; (see an example of said wheel at right). Your initial ranges should select absurd endpoints such that you&#8217;ll definitely choose the range. However, as you begin to narrow the range, you should then get to a point where you are indifferent between the range and the wheel. If at some point you&#8217;d pick the wheel over your range, then you need to adjust an endpoint accordingly. In the end, our range can be said to be &#8220;accurate&#8221; because the most likely value falls within our estimate. The narrower our range is, the more precise our estimate is.</p>
<p>In this manner, we can then go about producing estimates under Loss Event Frequency and Loss Magnitude. Let&#8217;s start with the &#8220;easier&#8221; concept first: impact. Under the FAIR methodology, we estimate both primary and secondary impact. Primary impact is often straightforward to estimate, and has a higher degree of precision than secondary impact, which by its very definition will have a wider range of potential outcomes. These impacts are further broken down into categories, such as Productivity or Replacement.</p>
<p>On the other side of the tree, we divide Loss Event Frequency into two components: Threat Event Frequency and Vulnerability. In this case, we define vulnerability as &#8220;the probability that threat force will exceed resistance strength.&#8221; Vulnerability is not, then, used in the traditional infosec lingo use case where it describes a weakness, but instead looks at the capability of a threat agent and the general resistance of an asset to attack.</p>
<p>Finally, Threat Event Frequency is where a lot of the controversy in risk analysis arises. Some argue that there are too many &#8220;unknown unknowns&#8221; in the world to allow us to make a reasonable estimate around a given threat event. However, this criticism fails to understand how a methodology like FAIR operates. In setting up your risk analysis, you will define a specific asset profile, including whether you&#8217;re most concerned with confidentiality, integrity, or availability. You&#8217;ll also then define a specific threat agent profile, such as &#8220;casual hackers&#8221; or &#8220;script kiddies&#8221; or &#8220;professional hackers&#8221; etc. However, you&#8217;ll go even deeper in defining the threat agent, breaking down this Threat Event Frequency value into an estimate of Contact Frequency (the likelihood that the threat agent will make any sort of contact) and an estimate of the Probability of Action (the likelihood that a threat agent will act against your asset).</p>
<p>There are a few potential weaknesses with these probability estimates. For example, we know that there are likely many cases where professional hackers (organized criminals or nation-state actors) are making contact with an organization and not being detected. Similarly, we may over- or under-estimate the probability that a threat agent will act against us. We can, however, address some of these issues through a couple key approaches. First, if we&#8217;re having difficulty defining reasonable ranges, then we need to ensure that our threat agent profile is sufficiently constrained, even if that means starting a second analysis on a separate profile. Second, we need to ensure that our ranges are broad enough to be reasonably accurate before we work to narrow them to an adequate degree of precision.</p>
<p>In the end, having some real-world data, either from aggregate reports or from our own internal infosec programs, will go a long way toward helping refine these estimates. We know that certain events are happening on a regular basis. We know about a wide variety of threat agents who can be reasonably defined and described. And, again, risk analysis tools like FAIR are design to support decision-making, not to replace it altogether. If the results feel wonky, then it&#8217;s likely something is off and the numbers need to be re-evaluated. Ultimately, you simply need to ensure that your decisions are well-reasoned, reasonably defensible from a legal perspective, and that they demonstrate a reasonable degree of foreseeability.</p>
<p>Interested in learning more about FAIR? Please let us know!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SecurityMusings?a=0JXrCt9ssOs:Owhm1sK8YwM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SecurityMusings?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SecurityMusings/~4/0JXrCt9ssOs" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2116/how-to-quantify-risk/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://securitymusings.com/article/2116/how-to-quantify-risk</feedburner:origLink></item>
		<item>
		<title>P and NP</title>
		<link>http://feedproxy.google.com/~r/SecurityMusings/~3/4P3t0H589AQ/p-and-np</link>
		<comments>http://securitymusings.com/article/2114/p-and-np#comments</comments>
		<pubDate>Tue, 24 Aug 2010 10:25:44 +0000</pubDate>
		<dc:creator>Laura Raderman</dc:creator>
				<category><![CDATA[Tutorial Tuesday]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2114</guid>
		<description><![CDATA[Recently, Vinay Deolalikar self-published a proof that P is not equal to NP.  So what does that mean exactly?
P is short for Polynomial, and NP is short for Non-deterministic Polynomial.  To understand the exact difference requires you to understand Turing machines (usually a senior level CS class).  P is the class of [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, Vinay Deolalikar self-published a <a href="http://www.hpl.hp.com/personal/Vinay_Deolalikar/Papers/pnp_8_11.pdf">proof</a> that P is not equal to NP.  So what does that mean exactly?</p>
<p>P is short for Polynomial, and NP is short for Non-deterministic Polynomial.  To understand the exact difference requires you to understand Turing machines (usually a senior level CS class).  P is the class of problems that can be solved in polynomial time on a <a href="http://en.wikipedia.org/wiki/Deterministic_Turing_machine">deterministic Turing machine</a> in polynomial time, and NP is the class that can be solved on a <a href="http://en.wikipedia.org/wiki/Non-deterministic_Turing_machine">non-deterministic Turing machine</a> in polynomial time.  Here&#8217;s the catch: so far, no non-deterministic Turing machines exist.  There&#8217;s speculation that quantum computers are non-deterministic Turing machines, but not a proof that I know of.</p>
<p>Another way of thinking about P and NP problems is how long it takes for a computer to solve the problems &#8211; is it &#8220;easy&#8221; (P) or &#8220;hard&#8221; (NP).  Most classic computer science problems are NP &#8211; the traveling salesman, factoring integers&#8230; The computer can verify the answer in P time, so the current approach is to make a best guess, verify it, then make another guess.</p>
<p>What does this mean for most people?  Most people have never heard of P or NP &#8211; heck, a lot of computer/IT people probably haven&#8217;t unless they&#8217;ve studied theoretical computer science &#8211; and even most of us who&#8217;ve heard of it would rather forget it.  But it really does matter for security.  One of the NP problems is factoring integers &#8211; what public key cryptography is based on.  There is an assumption &#8211; based on years of practice, but no proofs &#8211; that NP is not equal to P.  If NP were ever shown to be equivalent to P, then our current asymmetric cryptography solutions would be blown out of the water and we&#8217;d all have to find new algorithms to use.  If NP were proved to be not equal to P, we&#8217;ve got some more time <img src='http://securitymusings.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So far, the reviews I&#8217;ve heard of Deolalikar&#8217;s paper is that it&#8217;s a great start, but it has a few flaws, so we still don&#8217;t know if P is or is not equal to NP.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SecurityMusings?a=4P3t0H589AQ:iJ5FDnusghc:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SecurityMusings?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SecurityMusings/~4/4P3t0H589AQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2114/p-and-np/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://securitymusings.com/article/2114/p-and-np</feedburner:origLink></item>
		<item>
		<title>In your matrix. Stealing your dots.</title>
		<link>http://feedproxy.google.com/~r/SecurityMusings/~3/PFgBdGu7G8o/in-your-matrix-stealing-your-dots</link>
		<comments>http://securitymusings.com/article/2098/in-your-matrix-stealing-your-dots#comments</comments>
		<pubDate>Sat, 21 Aug 2010 03:49:35 +0000</pubDate>
		<dc:creator>Nick Staples</dc:creator>
				<category><![CDATA[data protection]]></category>
		<category><![CDATA[data theft]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2098</guid>
		<description><![CDATA[Researchers have developed a method (pdf) by which they are able to record the sound of a dot matrix printer in operation and recreate the information that was printed based on the audio data. Data leakage from electronic devices isn&#8217;t new  (TEMPEST comes to mind). However, it seems like the higher-profile methods tend to [...]]]></description>
			<content:encoded><![CDATA[<p>Researchers have developed a method (<a href="http://people.csail.mit.edu/costan/readings/usenix_papers/Backes.pdf">pdf</a>) by which they are able to record the sound of a dot matrix printer in operation and recreate the information that was printed based on the audio data. Data leakage from electronic devices isn&#8217;t new  (<a href="http://en.wikipedia.org/wiki/TEMPEST">TEMPEST</a> comes to mind). However, it seems like the higher-profile methods tend to encompass electromagnetic properties rather than mechanical properties.</p>
<p><span id="more-2098"></span></p>
<p>Personally, I haven&#8217;t seen many big, old-school dot-matrix printers still in operation. But the article suggests that physicians and banks are hoarding them (at least in Germany). This makes them an interesting target for a resourceful attacker.</p>
<p>The researchers were very thorough, trying different microphones and setups to determine the effective range of the attack; the results were impressive. Optimally they can get 72% of printed English text and even better results when they take contextual knowledge into account.</p>
<p>The researchers focused on a real-world scenario of capturing data from a physician&#8217;s office. However, I think this research can also be applied to dot-matrix receipt printers that some stores and businesses use. Receipts can contain all kinds of goodies&#8211; especially when they include special codes. It&#8217;s probably not something to worry about as a real threat to a consumer or business (the process is targeted, awkward, and error prone). Even still, I wouldn&#8217;t mind seeing how practical an acoustic attack on those mini dot-matrix printers would be.</p>
<p>Whitepaper <a href="http://people.csail.mit.edu/costan/readings/usenix_papers/Backes.pdf">here</a>.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SecurityMusings?a=PFgBdGu7G8o:l9kSw4lV_1g:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SecurityMusings?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SecurityMusings/~4/PFgBdGu7G8o" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2098/in-your-matrix-stealing-your-dots/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://securitymusings.com/article/2098/in-your-matrix-stealing-your-dots</feedburner:origLink></item>
		<item>
		<title>The Cat and Mouse Game of Cryptography</title>
		<link>http://feedproxy.google.com/~r/SecurityMusings/~3/rBmU7uvfncg/the-cat-and-mouse-game-of-cryptography</link>
		<comments>http://securitymusings.com/article/2096/the-cat-and-mouse-game-of-cryptography#comments</comments>
		<pubDate>Thu, 19 Aug 2010 20:52:45 +0000</pubDate>
		<dc:creator>Joey Tyson</dc:creator>
				<category><![CDATA[Technology & Tool Thursday]]></category>
		<category><![CDATA[data protection]]></category>
		<category><![CDATA[general]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2096</guid>
		<description><![CDATA[MD5 is a hashing algorithm created in 1991 and still used by many applications for certain features. But MD5 is no longer recommended for many cases due to weaknesses discovered in the last few years, opening up some scary possibilities. At the end of this year, NIST standards for cryptography used by the federal government [...]]]></description>
			<content:encoded><![CDATA[<p>MD5 is a hashing algorithm created in 1991 and still used by many applications for certain features. But MD5 is no longer recommended for many cases due to weaknesses discovered in the last few years, opening up some <a href="http://th.informatik.uni-mannheim.de/people/lucks/HashCollisions/">scary possibilities</a>. At the end of this year, NIST standards for cryptography used by the federal government will no longer permit 160-bit SHA1 hashes or 1024-bit RSA signature keys, since concerns over the long-term security of these technologies are rising.</p>
<p>With cryptographers constantly working on new algorithms and breaking old algorithms, one may get nervous about whether the foundations of today&#8217;s secure transactions are really that secure. But despite the occasional ominous forecast of a cryptographic meltdown, you can remain fairly confident in encryption technology.</p>
<p>Just as we&#8217;re constantly finding new weaknesses in various approaches, we&#8217;re constantly finding new approaches that overcome various weaknesses. For instance, scientists are working to develop &#8220;quantum computers&#8221; that perform calculations in a completely different way than today&#8217;s electronics. These new machines would be powerful enough to crack several of the strongest algorithms currently in wide use. But just this week, several researchers demonstrated that a 30-year-old algorithm, using a different type of mathematical basis, would <a href="http://www.technologyreview.com/blog/arxiv/25629/">foil any known quantum attack</a>. This approach has not been widely used due to large key sizes that would hinder performance, but computers are getting faster every year.</p>
<p>Cryptographers also work to maintain a gap between theoretical attacks and practical compromises. NIST does not wait for programs that can crack any key within seconds before deprecating an algorithm. Researchers are constantly working to build stronger systems, and often start recommending replacements when only the slightest cracks begin to show for a particular approach. Also, one type of weakness does not necessarily ruin every possible use of a given encryption method.</p>
<p>But while the mathematics behind today&#8217;s systems may be sound for the near future, strong encryption alone does not guarantee you security. In fact, most security problems come through either insecure implementations of a given approach or bad security practices built on top of strong algorithms. Keeping current with effective cryptography is important, but it&#8217;s only one part of an effective security strategy.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SecurityMusings?a=rBmU7uvfncg:K6wWSNXd2IQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SecurityMusings?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SecurityMusings/~4/rBmU7uvfncg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2096/the-cat-and-mouse-game-of-cryptography/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://securitymusings.com/article/2096/the-cat-and-mouse-game-of-cryptography</feedburner:origLink></item>
		<item>
		<title>PDF Signature Vulnerability Found (Kind of)</title>
		<link>http://feedproxy.google.com/~r/SecurityMusings/~3/R7R4LNsM9c0/pdf-signature-vulnerability-found-kind-of</link>
		<comments>http://securitymusings.com/article/2090/pdf-signature-vulnerability-found-kind-of#comments</comments>
		<pubDate>Tue, 17 Aug 2010 20:20:52 +0000</pubDate>
		<dc:creator>Walt Turnes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2090</guid>
		<description><![CDATA[According to an article published last week, it is apparently possible to construct a signed PDF that can have its underlying data changed such that the signature is still valid, but the presentation of the data is changed.  It&#8217;s a neat trick, but there are a few things that mitigate the risk inherent in the [...]]]></description>
			<content:encoded><![CDATA[<p>According to an article <a href="http://pdfsig-collision.florz.de">published last week</a>, it is apparently possible to construct a signed PDF that can have its underlying data changed such that the signature is still valid, but the presentation of the data is changed.  It&#8217;s a neat trick, but there are a few things that mitigate the risk inherent in the vulnerability:</p>
<ol>
<li>The signature has to be applied to a carefully crafted PDF file.   A PDF file that you create and sign is unaffected by this attack;  if you examine the data within the file, the presentation data for both the &#8220;recommendation&#8221; and &#8220;order&#8221; documents is present in both.  Obviously, you will not be adding rogue data into your own PDFs before signing them.</li>
<li>As stated in the article, it&#8217;s not really clear that the PDFs used in the proof of concept are syntactically valid PDF files.  However, Acrobat does open and display them as the attack intends, so that may be irrelevant.  Although, an Acrobat security update could fix the issue if this is the case.</li>
<li>It appears as though, by looking at the proof of concept documents, that the special construction of the PDF requires precise byte positioning in the file for the various objects used in the attack.  It is not mentioned in the article, but it may not be true that such a document can be constructed with a blank signature field that can be signed in Acrobat and subsequently attacked using this method.</li>
</ol>
<p>It will be interesting to see what, if any, response Adobe has to this publication.  I know my way around the PDF standard (as it pertains to digital signatures) fairly well, but I&#8217;m by no means an expert.  It seems to me, though, that this attack requires several things, including the execution of the initial digital signature, to be performed in a precise way, which may mitigate the risk of the attack working in a real-world scenario.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SecurityMusings?a=R7R4LNsM9c0:JUdYTqIhbbs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SecurityMusings?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SecurityMusings/~4/R7R4LNsM9c0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2090/pdf-signature-vulnerability-found-kind-of/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://securitymusings.com/article/2090/pdf-signature-vulnerability-found-kind-of</feedburner:origLink></item>
		<item>
		<title>Security threats in Android! ..or not.</title>
		<link>http://feedproxy.google.com/~r/SecurityMusings/~3/3t-jOuJtavg/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>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SecurityMusings?a=3t-jOuJtavg:FdGdAsphNYk:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SecurityMusings?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SecurityMusings/~4/3t-jOuJtavg" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2078/security-threats-in-android-or-not/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://securitymusings.com/article/2078/security-threats-in-android-or-not</feedburner:origLink></item>
		<item>
		<title>A FAIR Analysis of Risk</title>
		<link>http://feedproxy.google.com/~r/SecurityMusings/~3/zh-Yzk1wmfo/a-fair-analysis-of-risk</link>
		<comments>http://securitymusings.com/article/2075/a-fair-analysis-of-risk#comments</comments>
		<pubDate>Thu, 12 Aug 2010 18:55:28 +0000</pubDate>
		<dc:creator>Benjamin Tomhave</dc:creator>
				<category><![CDATA[Technology & Tool Thursday]]></category>
		<category><![CDATA[analysis]]></category>
		<category><![CDATA[FAIR]]></category>
		<category><![CDATA[risk]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2075</guid>
		<description><![CDATA[Risk assessment gets a bad rap these days, thanks in large part to a checkered past colored by qualitative analyses. Historically, risk assessments have been fuzzy, at best, and down-right inaccurate and misleading at worst. You know the ones I&#8217;m talking about: some hot shot consultant comes in, pokes around, maybe runs a couple scans, [...]]]></description>
			<content:encoded><![CDATA[<p>Risk assessment gets a bad rap these days, thanks in large part to a checkered past colored by qualitative analyses. Historically, risk assessments have been fuzzy, at best, and down-right inaccurate and misleading at worst. You know the ones I&#8217;m talking about: some hot shot consultant comes in, pokes around, maybe runs a couple scans, and then churns out a report with a bunch of High, Medium, and Low findings. However, as you dig into the results &#8211; particularly the so-called &#8220;High Risk&#8221; findings &#8211; you start finding extreme squishiness with no connection to reality, rational thought, or logic. And this is what we&#8217;re supposed to use to &#8220;better manage&#8221; security? Don&#8217;t think so&#8230;</p>
<p>Enter <a href="http://fairwiki.riskmanagementinsight.com/" target="_blank">Factor Analysis of Information Risk (FAIR)</a>, a different sort of beast altogether, created by Jack Jones of <a href="http://www.riskmanagementinsight.com/" target="_blank">Risk Management Insight (RMI)</a>. FAIR is a decision support tool that provides a means for performing a quantitative risk analysis around a given scenario. It allows you to conduct deep analysis into given asset+threat scenarios, digging into the business to arrive at accurate estimates (via ranges) for probabilities and expected losses. Loss events are divided between primary and secondary, wherein primary losses are often fairly well known (e.g. how much it costs to replace a server), whereas secondary losses can vary widely.</p>
<p>For an excellent introduction to FAIR, the RMI white paper &#8220;<a href="http://www.riskmanagementinsight.com/media/docs/FAIR_introduction.pdf" target="_blank">An Introduction to Factor Analysis of Information Risk (FAIR)</a>&#8221; is highly recommended. In it, you&#8217;ll start to see the breakdown of FAIR into its component pieces. Overall, within the context of FAIR we define risk as a derived value measuring &#8220;the probable frequency and probable magnitude of future loss.&#8221; There is much that can be said about this definition and overall approach, but I&#8217;ll leave that for another day. In the meantime, I encourage anybody with an interest in risk analysis to take a deeper look at FAIR.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SecurityMusings?a=zh-Yzk1wmfo:d6oG-bi9Rgo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SecurityMusings?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SecurityMusings/~4/zh-Yzk1wmfo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2075/a-fair-analysis-of-risk/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://securitymusings.com/article/2075/a-fair-analysis-of-risk</feedburner:origLink></item>
		<item>
		<title>Updating your system with apt</title>
		<link>http://feedproxy.google.com/~r/SecurityMusings/~3/tYFRF09B0nM/updating-your-system-with-apt</link>
		<comments>http://securitymusings.com/article/2070/updating-your-system-with-apt#comments</comments>
		<pubDate>Thu, 05 Aug 2010 10:21:30 +0000</pubDate>
		<dc:creator>Laura Raderman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2070</guid>
		<description><![CDATA[With a new version of Backtrack around, many people may be ready to take the plunge into learning it.  This is a little late for those of you who decided to try it at Blackhat/Defcon, but ShmooCon will be coming up in a few months&#8230;
Apt is the debian packaging system.  It&#8217;s found in [...]]]></description>
			<content:encoded><![CDATA[<p>With a new version of Backtrack around, many people may be ready to take the plunge into learning it.  This is a little late for those of you who decided to try it at Blackhat/Defcon, but ShmooCon will be coming up in a few months&#8230;</p>
<p>Apt is the debian packaging system.  It&#8217;s found in all debian based Linux distros &#8211; like K/Ubuntu and Backtrack.  If you&#8217;re going to be at a hacker conference, the least you can do is update your system before you go!  Packages are generally GPG signed by the maintainer, and debian keeps a list of trusted GPG keys updated on your system (debian-keyring debian-archive-keyring are the debian specific packages). Apt checks these signatures to help ensure that you&#8217;re not downloading rogue signatures.</p>
<p>Apt has two configuration files. For the most part, you&#8217;ll only use one: /etc/apt/sources.list  The other (/etc/apt/apt.conf) is used in specific instances &#8211; such as with a proxy server.</p>
<p>sources.list has a list of all of the sources (repositories) you&#8217;d like to look through for packages.  The default list is generally OK for non-desktop (i.e. server) users.  If you&#8217;d like to install various media players and other non-GPL licensed packages, you&#8217;ll have to add to this file.  The general format is<br />
type baseuri distribution [component comp2 ...]<br />
Where type is *generally* deb &#8211; sometimes deb-src indicating that the repository contains .deb files that are either pre-complied (deb) or are source packages (deb-src).</p>
<p>Make sure you know what the repositories are before you add them!  If you add a rogue repository, signatures are not going to help you &#8211; they&#8217;ll all verify!</p>
<p>Once your sources.list is updated, you can generally leave it alone unless you want to switch to a new version of debian/ubuntu/etc.</p>
<p>On a regular basis, you need to run &#8220;apt-get update&#8221; with root privileges.  This will update the list of packages that have been updated on the repositories.  &#8220;apt-get upgrade&#8221; will just go ahead and upgrade everything for you &#8211; which is the easiest option, but sometimes, not what you want.  &#8220;apt-get upgrade -u -s&#8221; will tell you what&#8217;s going to be upgraded, but not actually do anything.  If you want to upgrade some things, but not others, you&#8217;re kinda stuck using &#8220;apt-get install package-name&#8221; for each individual package.  It&#8217;s not the best solution, but you can hold a package with dpkg: &#8220;echo package-name hold | dpkg &#8211;set-selections&#8221; and it will *never* be updated.</p>
<p>In general, &#8220;apt-get update&#8221; followed by an &#8220;apt-get upgrade&#8221; will get you updated to the latest packages and, hopefully, less vulnerable to attacks and exploits.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SecurityMusings?a=tYFRF09B0nM:FU3uqxktXu4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SecurityMusings?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SecurityMusings/~4/tYFRF09B0nM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2070/updating-your-system-with-apt/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://securitymusings.com/article/2070/updating-your-system-with-apt</feedburner:origLink></item>
		<item>
		<title>Add Social Engineering to Your Company’s Security Awareness Training Or Get Pwned at Defcon</title>
		<link>http://feedproxy.google.com/~r/SecurityMusings/~3/SFC0XTLoOOM/add-social-engineering-to-your-companys-security-awareness-training-or-get-pwned-at-defcon</link>
		<comments>http://securitymusings.com/article/2067/add-social-engineering-to-your-companys-security-awareness-training-or-get-pwned-at-defcon#comments</comments>
		<pubDate>Tue, 03 Aug 2010 16:36:52 +0000</pubDate>
		<dc:creator>Georgia Weidman</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://securitymusings.com/?p=2067</guid>
		<description><![CDATA[This past week at Defcon the social engineering capture the flag competition was hotter  and more controversial than ever.  Contestants were given their target company two weeks in advance for research purposes. During the actual competition contestants called employees at the target companies to gain sensitive information. The overall result: A big fat [...]]]></description>
			<content:encoded><![CDATA[<p>This past week at <a href=" http://www.defcon.org/">Defcon</a> the social engineering capture the flag competition was hotter  and more controversial than ever.  Contestants were given their target company two weeks in advance for research purposes. During the actual competition contestants called employees at the target companies to gain sensitive information. The overall result: A big fat fail for the human element.</p>
<p>As more companies begin to take security seriously budgeting for pen tests, equipment, etc. often the human element of security falls through the cracks. As shown at the Defcon competition, all the locks, both physical and network based, can&#8217;t stop an attacker if an employee ushers her through the door.</p>
<p>The Social Engineering Competition was put on by <a href="http://www.social-engineer.org/">Social-Engineer.org</a> which is an excellent place to learn more about social engineering.  Don&#8217;t let a lack of employee awareness of social engineering attack vectors undermine your security program.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/SecurityMusings?a=SFC0XTLoOOM:ahJzug-8S4A:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/SecurityMusings?d=yIl2AUoC8zA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/SecurityMusings/~4/SFC0XTLoOOM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://securitymusings.com/article/2067/add-social-engineering-to-your-companys-security-awareness-training-or-get-pwned-at-defcon/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://securitymusings.com/article/2067/add-social-engineering-to-your-companys-security-awareness-training-or-get-pwned-at-defcon</feedburner:origLink></item>
	</channel>
</rss><!-- Dynamic page generated in 7.618 seconds. --><!-- Cached page generated by WP-Super-Cache on 2010-09-03 22:00:50 -->
