<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><!-- generator="wordpress/2.1.3" --><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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
	<channel>
		<title>IT Security</title>
		<link>http://blogs.techrepublic.com.com/security</link>
		<description />
		<pubDate>Tue, 18 Nov 2008 21:29:13 +0000</pubDate>
		<generator>http://wordpress.org/?v=2.1.3</generator>
		<language>en</language>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/techrepublic/security" type="application/rss+xml" /><item>
			<title>No such thing as effective license enforcement</title>
			<link>http://feeds.feedburner.com/~r/techrepublic/security/~3/457667822/</link>
			<comments>http://blogs.techrepublic.com.com/security/?p=667#comments</comments>
			<pubDate>Tue, 18 Nov 2008 21:29:13 +0000</pubDate>
			<dc:creator>Chad Perrin</dc:creator>
			<category><![CDATA[Security]]></category>
			<guid isPermaLink="false">http://blogs.techrepublic.com.com/security/?p=667</guid>
			<description><![CDATA[License security is not the same as software security.  In fact, sometimes they are at odds with one another.<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=a45e961ba490fbaff90ae82066edac7f" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=a45e961ba490fbaff90ae82066edac7f" style="display: none;" border="0" height="1" width="1" alt=""/>]]></description>
			<content:encoded><![CDATA[<p><em>License security is not the same as software security.  In fact, sometimes they are at odds with one another.</em></p>
<p><hr /></p>
<p>A year and a day ago, in the article <em><a href="http://blogs.techrepublic.com.com/security/?p=363">Radiohead knows more than Microsoft about security</a></em>, I pointed out the failings of <abbr title="Digital Rights Management">DRM</abbr> and the licensing based business model.  On the third of this month, TR regular Oz_Media <a href="http://techrepublic.com.com/5208-6230-0.html?forumID=102&amp;threadID=277399&amp;messageID=2631039">made the point</a> that:</p>
<blockquote>
<p>MS can&#8217;t even secure their licensing system, yet alone the software that uses it.</p>
</blockquote>
<p>In truth, the fact Microsoft is increasingly unable to secure its software license enforcement against circumvention isn&#8217;t really Microsoft&#8217;s fault.  It&#8217;s out of the corporation&#8217;s hands, for all intents and purposes.  Microsoft&#8217;s real failure is in failing to read the writing on the wall, and make plans that don&#8217;t require trying to secure the unsecurable.</p>
<p>The business model Microsoft uses for software like MS Windows and MS Office is, officially, dependent upon the assumption that the corporation can prevent people from using the software without explicit permission from Microsoft or one of its agents or partners.  Ultimately, what this means for Microsoft&#8217;s current business model is that it relies on the assumption that it can somehow both provide customers with everything needed to run the software and, at the same time, prevent people from using the software for reasons that are not specific to any given copy of the software.</p>
<p>This approach mandates the use of what amounts to DRM software.  In this case, because the &#8220;content&#8221; the vendor wishes to &#8220;protect&#8221; is itself software, the DRM is integrated with the content itself.  There are some minor advantages to this approach over that employed by distributors of non-software content, such as music distributors:</p>
<ul>
<li>Because the DRM is integrated with the software, and because of the way people view software differently from music and other entertainment content, it is more acceptable to provide access keys separately from the content and DRM code itself.  As a result, copies of the &#8220;protected&#8221; content do not actually contain the key needed to bypass protection.</li>
<li>When dealing with a closed source software vendor like Microsoft, it has come to be an expected fact of life that one will end up with stuff installed on the system with which the user is not familiar, and that the user did not explicitly approve, even months after the software was initially installed.  Software updates such as those provided by Microsoft Windows Update often make undeclared changes to the system, and people have grown used to assuming they&#8217;re wanted and needed changes &#8212; or, at least, unavoidable.  When DRM software for something like a CD full of music does something like that, however, people recognize it for what it is.</li>
<li>Because the &#8220;protected&#8221; content itself is software, the annoyance of having to install and run software that enforces that protection is not so great; users were planning to run software anyway.</li>
<li>Content, in the non-software sense, is expected to be portable.  Software itself is not.  This is a somewhat reasonable expectation, because that content is simply data, and software is meant to parse and interpret that data to render it in a form that is meaningful to the user.  The software itself, however, must be compatible with the foundation on which it is built, starting at the hardware level, moving up through the OS, and so on.  Tying such content to a piece of DRM software ties that content to the DRM software&#8217;s compatibility limitations, which tends to annoy people who aren&#8217;t using the specific software foundations (i.e., the &#8220;platform&#8221;) assumed by the creators of the DRM software.  This can make DRM functionality less acceptable for that content.</li>
</ul>
<p>Just like more obvious uses of DRM, however, basing one&#8217;s business model off assumptions of the inviolability of DRM code embedded in &#8220;protected&#8221; software is a losing proposition.  Even though your license key for MS Windows is printed on a piece of paper rather than embedded in the software, even though it is expected and generally accepted that a closed source commercial OS will install things on your computer without your explicit permission or knowledge and will probably &#8220;phone home&#8221; occasionally, even though there is no additional software installation step distinct from access to the &#8220;content&#8221; you want, and even though the portability expectations are lower, you still have the basic problem that it&#8217;s difficult to keep people from &#8220;misusing&#8221; the license key system.</p>
<p>Inviolable technological enforcement is essentially impossible, in fact, because to allow a user to get access to your software, you have to give that user the means to access it.  If that user, either deliberately or without understanding what he or she is doing, decides to violate license terms, that means of access &#8212; in the case of how Microsoft implements enforcement, a license key &#8212; is no longer restricted to the authorized user.  If your intent is also to keep the user from using the software in particular, unauthorized ways, your problem is compounded, because everything needed to violate such restrictions is in the user&#8217;s hands.  If it wasn&#8217;t, he or she wouldn&#8217;t even be able to use it the way you intended it to be used in the first place, and you&#8217;d have a very difficult time selling software.</p>
<p>Software can be kept secure, but the definition of &#8220;secure&#8221; in each case must essentially be the definition selected by the software&#8217;s administrative user.  Unless Microsoft gives up any pretense of selling software to consumers, and starts merely renting out or selling user accounts on software Microsoft employees will manage as administrative users, there is simply no way for Microsoft to achieve inviolable technological license enforcement.  If it does so, it will only have the behavior of its employees to police (and, of course, vulnerabilities in the software itself).</p>
<p>The upshot is that license security is simply not enforceable the same way software security is.  As a result, the fact Microsoft cannot keep its licensing model secure does not necessarily reflect poorly on its ability to secure its software.  If there is blame to be laid at Microsoft&#8217;s feet for poor software security related to poor licensing security, it is because Microsoft diverts resources from ensuring software security (an important goal) to chase after license security (an impossible goal).</p>
<p>Of course, it may be that inviolable technological license enforcement is not what Microsoft really wants at this time.  Many have hypothesized that piracy is an integral part of Microsoft&#8217;s marketing plan, dominating much of the market by any means necessary and trying to maximize revenue once the market is sewn up by selectively enforcing licensing via legal, rather than technological, means.  That, however, is a discussion for another day.</p>
<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=a45e961ba490fbaff90ae82066edac7f" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=a45e961ba490fbaff90ae82066edac7f" style="display: none;" border="0" height="1" width="1" alt=""/><img src="http://feeds.feedburner.com/~r/techrepublic/security/~4/457667822" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.techrepublic.com.com/security/?feed=rss2&amp;p=667</wfw:commentRss>
		<feedburner:origLink>http://blogs.techrepublic.com.com/security/?p=667</feedburner:origLink></item>
		<item>
			<title>Simple hardware approaches to secure laptops</title>
			<link>http://feeds.feedburner.com/~r/techrepublic/security/~3/456247160/</link>
			<comments>http://blogs.techrepublic.com.com/security/?p=662#comments</comments>
			<pubDate>Mon, 17 Nov 2008 17:55:12 +0000</pubDate>
			<dc:creator>Paul Mah</dc:creator>
			<category><![CDATA[Encryption]]></category>
			<category><![CDATA[Risk Management]]></category>
			<category><![CDATA[Security]]></category>
			<guid isPermaLink="false">http://blogs.techrepublic.com.com/security/?p=662</guid>
			<description><![CDATA[Users are increasingly buying laptops and netbooks, attracted by their portability and low prices. The inevitable result is more employees bringing personal laptops into the office, where they are used to access and store corporate data. Here are some ways to mitigate the risks of data breaches.<br style="clear: both;"/>
      <a href="http://www.pheedo.com/click.phdo?s=a014f6733d57d5103b81e25660f2fdd9"><img alt="" style="border: 0;" border="0" src="http://www.pheedo.com/img.phdo?s=a014f6733d57d5103b81e25660f2fdd9"/></a>
  <img src="http://www.pheedo.com/feeds/tracker.php?i=a014f6733d57d5103b81e25660f2fdd9" style="display: none;" border="0" height="1" width="1" alt=""/>]]></description>
			<content:encoded><![CDATA[<p><em>Users are increasingly buying laptops and netbooks, attracted by their portability and low prices. The inevitable result is more employees bringing personal laptops into the office, where they are used to access and store corporate data. Here are some ways to mitigate the risks of data breaches.</em></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>As evidenced by cases of mega data breaches of late, properly <a href="http://www.bloomberg.com/apps/news?pid=20601082&amp;sid=a37RfkXgTPQA&amp;refer=canada">securing portable computers is problematic</a> even for bigger organizations. In addition, the advent of low cost laptops and netbooks has resulted in a proliferation of such devices as consumers flock to them. The inevitable result is that these users will demand to be allowed to use these machines to access work-related data and networked systems. Indeed, <a href="http://afp.google.com/article/ALeqM5hkYOf_SCQ1ugSXKLXCsSs7qWnsQA">shipments of laptops have already overtaken that of traditional desktops</a>, further increasing the urgency of this issue.</p>
<p>There is no doubt that some very fancy - and expensive - enterprise-grade solutions exist. But in a time of economic uncertainty, the pertinent question has to do with how a corporation can quickly and easily enhance the security of these personal laptops with a limited budget.</p>
<p>I look at a few easy-to-deploy hardware-based solutions here.</p>
<p><strong>Full disk encryption with Trusted Platform Module</strong></p>
<p>One obvious solution for a company sourcing for new laptops would be to specifically request hardware with full disk encryption (FDE) hard disks that are secured by an on-board <a href="http://en.wikipedia.org/wiki/Trusted_Platform_Module">Trusted Platform Module (TPM) chip</a>. The combination of hardware-based encryption coupled with a hardware-anchored authentication mechanism makes it an unbeatable combination in terms of security.</p>
<p>It must be pointed out though, that FDE does nothing to mitigate the risk represented by service personnel with temporary access to a system. This is best exemplified by the case of <a href="http://www.iht.com/articles/2008/02/12/asia/hong.php">Hong Kong-based actor Edison Chan</a> who had service personnel pinch a whole bunch of scandalous photos showing him being intimate with various actresses when his personal laptop was sent in for servicing. The scandal cut short his acting career in Hong Kong. As such, any FDE-related only makes sense if servicing is done by in-house IT personnel.</p>
<p>However, I must say that it is not all that likely for the security administrator to be fortuitous enough to encounter this &#8220;perfect&#8221; combination of hardware in a laptop at this point in time, which moves us to the next option.</p>
<p><strong>FDE hard disk drive</strong></p>
<p>Recent developments have seen a major vendor shipping its third generation of FDE hard disk drives that are also sold directly to consumers. The newest Seagate Momentus FDE is unique in that it comes in two modes: one is targeted at the enterprise with a firmware that works with special management software, such as McAfee&#8217;s ePO to configure and manage drives.</p>
<p>On the other end, there is a BIOS mode, where a BIOS-level password is used to authenticate the user before the computer is started. This opens the door for organizations to easily retrofit Momentus drives into existing laptops. The obvious advantage here is that the encryption is OS-independent, with the hard disk drive writing at full speed.</p>
<p>As such, if budget permits, swapping out the standard hard disk drive in laptops with Seagate&#8217;s Momentus FDE in BIOS-level protection mode makes perfect sense. In the case of budgetary constraints, or where users are not agreeable to such a move though, the next hardware-based solution would be to get users to rely on encrypted flash drives.</p>
<p><strong>Encrypted flash drives</strong></p>
<p>A more moderate and less invasive approach here would be to issue out personal flash drives with an on-board authentication and encryption. What it means is that all data on these flash drives are encrypted on-the-fly as they are copied in. They will only be &#8220;unlocked&#8221; and made accessible upon furnishing the correct password.</p>
<p>Now, encrypted flash drives have been around for a while. The <a href="https://www.ironkey.com/">IronKey</a> might be one such option for your consideration, though similar devices are now widely available on the market. It is important to note that many cheaper variants might not actually offer hardware-based encryption, or have blatant gaps in their authentication mechanism that effectively nullify their security mechanism.</p>
<p>Obviously, user training will be required, especially since the drive capacities for such specialized flash drives are still relatively low at between 4GB to 8GB.  However, I believe it will be relatively easy to train even novice users to recognize that only data on the encrypted flash drive should be considered secure. Another added advantage would be that users will become more conscious of following backup procedures as well, making it the best compromise between options.</p>
<br style="clear: both;"/>
      <a href="http://www.pheedo.com/click.phdo?s=a014f6733d57d5103b81e25660f2fdd9"><img alt="" style="border: 0;" border="0" src="http://www.pheedo.com/img.phdo?s=a014f6733d57d5103b81e25660f2fdd9"/></a>
  <img src="http://www.pheedo.com/feeds/tracker.php?i=a014f6733d57d5103b81e25660f2fdd9" style="display: none;" border="0" height="1" width="1" alt=""/><img src="http://feeds.feedburner.com/~r/techrepublic/security/~4/456247160" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.techrepublic.com.com/security/?feed=rss2&amp;p=662</wfw:commentRss>
		<feedburner:origLink>http://blogs.techrepublic.com.com/security/?p=662</feedburner:origLink></item>
		<item>
			<title>DNS resource record integrity is still a big, big problem</title>
			<link>http://feeds.feedburner.com/~r/techrepublic/security/~3/455918749/</link>
			<comments>http://blogs.techrepublic.com.com/security/?p=658#comments</comments>
			<pubDate>Mon, 17 Nov 2008 12:00:54 +0000</pubDate>
			<dc:creator>Tom Olzak</dc:creator>
			<category><![CDATA[Security]]></category>
			<category><![CDATA[Cybercrime]]></category>
			<category><![CDATA[Internet]]></category>
			<category><![CDATA[Risk Management]]></category>
			<category><![CDATA[DNS Security]]></category>
			<guid isPermaLink="false">http://blogs.techrepublic.com.com/security/?p=658</guid>
			<description><![CDATA[The need to secure DNS has never been greater.  Attacks against DNS cache integrity, including entire zone references, are an easy way for criminals to redirect your unsuspecting users to malicious sites.  Current controls are still lacking.<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=53d953a82de4716174607634bf1b1a39" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=53d953a82de4716174607634bf1b1a39" style="display: none;" border="0" height="1" width="1" alt=""/>]]></description>
			<content:encoded><![CDATA[<p><em>The need to secure DNS has never been greater.  Attacks against DNS cache integrity, including entire zone references, are an easy way for criminals to redirect your unsuspecting users to malicious sites.  Current controls are still lacking.</em></p>
<p style="margin-bottom: 0in" id="udds96" class="western"><font id="wpxy" size="2">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</font></p>
<p>The need to secure DNS has never been greater.  Attacks against DNS cache integrity, including entire zone references, are an easy way for criminals to redirect your unsuspecting users to malicious sites.  The <a href="http://www.ietf.org/" target="_blank">IETF</a> and others are working on a set of security extensions to protect the integrity of DNS information as it is shared across the Web.  However, these extensions, known as DNSSec, are far from globally accepted, and it will probably be years before they are implemented for all DNS transactions.</p>
<p>So what can you do today to protect your users?  Quite a bit, actually.  But before we get to the DNS security checklist developed by the U.S. National Institute of Standards and Technology (NIST), it’s important to understand the role DNSSec will play in the future and why its implementation is an important part of global Internet security.</p>
<p>In this article I review how DNS works and I define DNS cache poisoning.  In the next article, I describe DNSSec, how it will eventually provide protection from malicious redirection, and what you can do until DNSSec becomes a reality.</p>
<h3>DNS review</h3>
<p>The DNS (Domain Name System) is a critical component of not only the Internet, but also internal network operation.  It uses distributed repositories to convert human-friendly addresses to IP addresses.  For example, converting the <a href="http://www.answers.com/topic/domain-name?method=22" target="_blank">domain name</a> <em>google.com</em> to 64.233.187.99 or <em>mail.google.com</em> to 64.233.183.17.  Routers need the numeric version to make sure packets make it to the right network segment, no matter where it might exist.</p>
<p>Figure 1 depicts the IP address resolution process when the target system and DNS server are both internal. In this example, a workstation must establish a session with a server in Farpoint.company.com. In order for a workstation to implement DNS, it must be running a DNS Client or Client Resolver. The resolver initiates the following process, resulting in the conversion of the domain name to an IP address (<a href="http://technet.microsoft.com/en-us/library/cc775637.aspx" target="_blank">Microsoft TechNet, 2008</a>).</p>
<p align="center"><a href="http://blogs.techrepublic.com.com/security/images/c__documents-and-settings_tom_local-settings_temporary-internet-files_content.jpg" title="Figure 1: Internal Resolution"><img src="http://blogs.techrepublic.com.com/security/images/c__documents-and-settings_tom_local-settings_temporary-internet-files_content.jpg" alt="Figure 1: Internal Resolution" style="width: 342px; height: 274px" height="274" width="342" /></a><br />
<strong>Figure 1</strong></p>
<blockquote>
<p align="left"><strong>Step 1:</strong> The resolver checks the resolver cache in the workstation’s memory to see if it contains an entry for Farpoint.company.com. The entry would be present if the workstation had resolved the name to an IP address since the last time it was powered on, and the Time to Live of the entry had not been exceeded. In this example, no entry is found.</p>
<p align="left"><strong>Step 2:</strong> Having found no entry in the resolver cache, the resolver sends a resolution query to the internal DNS server.</p>
<p align="left"><strong>Step 3:</strong> When the DNS server receives the query, it first checks to see if it can authoritatively answer a query about resources in company.com.  If it can, the server performs a lookup in its internal zone table. In this case, it finds a host Resource Record (RR) that includes the IP address for Farpoint.company.com.<br />
Step 4: The IP address of Farpoint.company.com is returned to the resolver.</p>
<p align="left"><strong>Step 5:</strong> The resolved domain name and IP address are placed into the resolver cache. Figure 2 is an actual listing of the contents of a workstation resolver DNS cache.
</p>
<p align="center"><a href="http://blogs.techrepublic.com.com/security/images/resolver_cache.jpg" title="Figure 2: Resolver Cache"><img src="http://blogs.techrepublic.com.com/security/images/resolver_cache.jpg" alt="Figure 2: Resolver Cache" style="width: 327px; height: 381px" height="381" width="327" /></a><br />
<strong>Figure 2</strong></p>
</blockquote>
<p align="left">In the previous example, the target server was located within the requestor’s network. But what if the target device is located somewhere on the Internet? In that case, the process is somewhat different. Please refer to Figure 3 as we step through this second DNS resolution process.</p>
<p align="center"><a href="http://blogs.techrepublic.com.com/security/images/recursive-dns-query.jpg" title="Figure 3: Recursive Query"><img src="http://blogs.techrepublic.com.com/security/images/recursive-dns-query.jpg" alt="Figure 3: Recursive Query" style="width: 387px; height: 259px" height="259" width="387" /></a><br />
<strong>Figure 3<br />
</strong></p>
<blockquote>
<p align="left"><strong>Step 1:</strong> The resolver checks the resolver cache in the workstation’s memory to see if it contains an entry for <em>Farpoint.companyA.com</em>.</p>
<p align="left"><strong>Step 2:</strong> Having found no entry in the resolver cache, the resolver sends a resolution request to the internal DNS server.</p>
<p align="left"><strong>Step 3:</strong> When the DNS server receives the request, it first checks to see if it’s authoritative. In this case, it isn’t authoritative for companyA.com. The next action it takes is to check its local cache to see if an entry for <em>Farpoint.companyA.com</em> exists. It doesn’t. So in Step 4 the internal DNS server begins the process of iteratively querying external DNS servers until it either resolves the domain name or it reaches a point at which it’s clear that the domain name entry doesn’t exist.</p>
<p align="left"><strong>Step 4</strong>: A request is sent to one of the <a href="http://www.answers.com/topic/root-server?method=22" target="_blank">Internet root name servers</a>. The root server returns the address of a server authoritative for the <em>.COM</em> TLD (<a href="http://en.wikipedia.org/wiki/Top_level_domain" target="_blank">Top Level Domain</a>).</p>
<p align="left"><strong>Step 5:</strong> A request is sent to the authoritative server for <em>.COM</em>. The address of a DNS server authoritative for the <em>companyA.com</em> domain is returned.</p>
<p align="left"><strong>Step 6:</strong> A request is sent to the authoritative server for <em>companyA.com</em>. The IP address of <em>Farpoint.companyA.com</em> is returned.</p>
<p align="left"><strong>Step 7:</strong> The IP address for Farpoint is returned to the client resolver.</p>
<p align="left"><strong>Step 8:</strong> An entry is made in the resolver cache, and a session is initiated with <em>Farpoint.companyA.com</em>.</p>
</blockquote>
<p align="left">This process, from the client resolver perspective, is known as a recursive query.</p>
<h3 align="left">A summary of DNS cache poisoning issues</h3>
<p align="left">When attackers want a DNS server to hand out IP addresses to their servers, they must use some method of replacing valid addresses on the caching server with their own.  There are few controls to ensure the integrity of a query response, that it came from a server authorized to provide resolution information.  Once the attacker’s information is written to a caching server or to a resolver’s cache, DNS cache is said to be poisoned.  A more detailed description of one way this might happen is found in <em><a href="http://adventuresinsecurity.com/Papers/DNS_Cache_Poisoning.pdf" target="_blank">DNS Cache Poisoning: Definition and Prevention</a></em>.  Another method, recently disclosed by Dan Kaminsky, is described in <em><a href="http://www.unixwiz.net/techtips/iguide-kaminsky-dns-vuln.html" target="_blank">An Illustrated Guide to the Kaminsky DNS Vulnerability</a></em>.</p>
<p align="left">One method developed to help prevent cache poisoning is randomization of the transaction ID.  Each DNS query is assigned an ID.  Randomizing this value makes an attacker’s job a little harder.  Current DNS solutions support this feature, but Kaminsky demonstrated that it isn’t enough to provide reasonable and appropriate protection.</p>
<p align="left">Adding <a href="http://www.youtube.com/watch?v=B0dHDD9fFM4" target="_blank">query source port randomization </a>to transaction ID randomization is a good way to increase an attack’s work factor.  Instead of an attacker knowing only the transaction ID, he or she also has to know the port from which the transaction was sent.  A securely configured DNS server using the most current iteration of BIND, for example, could randomize the port used instead of settling on port 53.</p>
<p align="left">Although this is a big step forward, there are still <a href="http://searchnetworking.techtarget.com/news/article/0,289142,sid7_gci1338680,00.html" target="_blank">many DNS servers not using this feature</a>, putting systems querying them at risk.  And even if all DNS servers on the Internet used a combination of transaction ID randomization and source port randomization, this should be considered an interim solution at best.  The entropy provided is <a href="http://blogs.techrepublic.com.com/networking/?p=629" target="_blank">not sufficient to dissuade a tenacious attacker</a>.</p>
<h3 align="left">The final word</h3>
<p align="left">In the next post, we’ll look at what international organizations are doing to strengthen DNS integrity via DNSSec.  Since DNSSec is still far from globally deployed, we’ll step through the NIST checklist for securely deploying DNS services without it.</p>
<p><em>Worried about security issues? Who isn&#8217;t? Delivered each Tuesday, TechRepublic&#8217;s IT Security newsletter gives you the hands-on advice you need for locking down your systems and making sure they stay that way. <a href="http://nl.com.com/MiniFormHandler?brand=techrepublic&amp;list_id=e036" target="_blank">Automatically sign up today!</a></em></p>
<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=53d953a82de4716174607634bf1b1a39" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=53d953a82de4716174607634bf1b1a39" style="display: none;" border="0" height="1" width="1" alt=""/><img src="http://feeds.feedburner.com/~r/techrepublic/security/~4/455918749" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.techrepublic.com.com/security/?feed=rss2&amp;p=658</wfw:commentRss>
		<feedburner:origLink>http://blogs.techrepublic.com.com/security/?p=658</feedburner:origLink></item>
		<item>
			<title>Microsoft finally catches the eight year bug</title>
			<link>http://feeds.feedburner.com/~r/techrepublic/security/~3/452063647/</link>
			<comments>http://blogs.techrepublic.com.com/security/?p=657#comments</comments>
			<pubDate>Thu, 13 Nov 2008 18:33:08 +0000</pubDate>
			<dc:creator>Chad Perrin</dc:creator>
			<category><![CDATA[Security]]></category>
			<category><![CDATA[vulnerability]]></category>
			<category><![CDATA[patching]]></category>
			<category><![CDATA[News]]></category>
			<guid isPermaLink="false">http://blogs.techrepublic.com.com/security/?p=657</guid>
			<description><![CDATA[Microsoft released a patch this week for a critical vulnerability.  The catch: this vulnerability has been known since 2000, and it's a bug in a service active on almost every MS Windows system in the world.  How safe do you feel?<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=18fd0f81fde2c5aaa4799f33e0b42e88" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=18fd0f81fde2c5aaa4799f33e0b42e88" style="display: none;" border="0" height="1" width="1" alt=""/>]]></description>
			<content:encoded><![CDATA[<p><em>Microsoft released a patch this week for a critical vulnerability.  The catch: this vulnerability has been known since 2000, and it&#8217;s a bug in a service active on almost every MS Windows system in the world.  How safe do you feel?</em></p>
<p><hr />Microsoft Windows systems use the Server Message Block application level network protocol to provide sharing capabilities for files, printers, and other resources.  SMB is supported on many other operating systems, primarily by way of the open source Samba project, but most of the time non-Microsoft OSes use SMB only when they must be integrated into a network that also includes MS Windows systems.</p>
<p>In March 2008, Josh Buchbinder published proof of concept exploit code for an SMB relay attack vulnerability in Microsoft&#8217;s implementation of the Server Message Block protocol.  Since that time, a number of security testing tools have become capable of exploiting this vulnerability.  <a href="http://blogs.technet.com/swi/archive/2008/11/11/smb-credential-reflection.aspx">According to Microsoft</a>, &#8220;Public tools, including a Metasploit module, are able to perform this attack.&#8221;  The result is that for several years now it has been possible to exploit this vulnerability entirely via code written by other people and freely available on the Internet.</p>
<p>The vulnerability was discovered even before March 2007, though.  Christien Rioux announced discovery of this flaw in the Microsoft implementation of SMB at DEFCON in 2000.  That means this flaw was first discovered and announced <em>at least</em> 8.25 years ago.</p>
<p>Microsoft finally released a patch for the vulnerability two days ago.</p>
<p>I think this is a good time for some reminders about what constitutes good security practice for software vendors.  First of all, you should probably refresh your memory with my article from last month, <em><a href="http://blogs.techrepublic.com.com/security/?p=630">5 characteristics of security policy I can trust</a></em>.  In it, I pointed out the following characteristics of good security policy:</p>
<ol>
<li>Full Disclosure</li>
<li>Open Development</li>
<li>Open Formats</li>
<li>Privacy Friendly</li>
<li>(Good) Vulnerability Management</li>
</ol>
<p>On that last subject &#8212; good vulnerability management &#8212; I have written a few other articles that are relevant:</p>
<ol>
<li><em><a href="http://blogs.techrepublic.com.com/security/?p=268">There&#8217;s more to security than counting vulnerabilities</a></em>: The number of discovered vulnerabilities alone provides no useful information about the security of the software.  A far more useful metric, if you must select one in a vacuum, would be how the developer responds to vulnerability discovery.  The SMB vulnerability that took Microsoft more than eight years to patch is a pretty good indicator that Microsoft is a pretty poor choice for a vendor to trust.</li>
<li><em><a href="http://blogs.techrepublic.com.com/security/?p=282">Why there&#8217;s no such thing as a trusted brand</a></em>: Corporations are not people.  They do not have anything approaching an intrinsic, individual character.  The only characteristics that are essentially unchanging in a given corporation are the characteristics that are necessarily intrinsic to <em>all</em> corporations, by their very nature.  Everything else can change &#8212; and that means no corporation is really &#8220;trustworthy&#8221;.  Don&#8217;t place your trust in the vendor.  Demand proof.  Sometimes, &#8220;proof&#8221; means &#8220;source code&#8221;, and if you can&#8217;t compile the source yourself, but are only allowed to read source code that someone assures you is the same as what was used to produce a binary that is handed to you separately, you still haven&#8217;t really seen proof of anything meaningful.</li>
<li><em><a href="http://blogs.techrepublic.com.com/security/?p=286">The truth about viruses</a></em>: Large, corporate software vendors tend to have policies that are optimized for the security of a revenue stream, and not for the security of the customer&#8217;s data.  An entire class of vulnerabilities, in the form of those primarily of use to viruses, is ignored and left unpatched by vendors like Microsoft.  It is simply assumed that the slack will be taken up by antivirus vendors.  Take heed of this behavior in a corporation, and realize what it means; given the opportunity, that vendor will ignore a vulnerability rather than fix it.</li>
<li><em><a href="http://blogs.techrepublic.com.com/security/?p=433">Obscurity is not security</a></em>: Pretending something doesn&#8217;t exist doesn&#8217;t make it safe from malicious security crackers.  If security researchers can discover a vulnerability, so can unsavory individuals who actually want to use an exploit for personal gain or to wreak havoc, rather than just using it to demonstrate a vulnerability that should be fixed.</li>
<li><em><a href="http://blogs.techrepublic.com.com/security/?p=466">How should we handle security notifications?</a></em>: When you get notification of a vulnerability in your software, thank the person who discovered it.  Fix the bug.  Whatever you do, don&#8217;t punish people for giving you information that can help, unless you actually want to be the absolute last person to find out about vulnerabilities in your software in the future.  Let your users know about the vulnerability, especially if you won&#8217;t be able to fix it quickly, so they can take steps to protect themselves.</li>
</ol>
<p>This vulnerability is no minor, inconsequential issue.  It can be leveraged to take control of a machine without knowing the password.  According to the <a href="http://www.microsoft.com/technet/security/Bulletin/MS08-068.mspx">Microsoft Security Bulletin</a> for this issue:</p>
<blockquote><p>The vulnerability could allow remote code execution on affected systems. An attacker who successfully exploited this vulnerability could install programs; view, change, or delete data; or create new accounts with full user rights.</p></blockquote>
<p>If nothing else, at least take this piece of advice if you&#8217;re a software vendor:</p>
<p>Don&#8217;t wait more than eight years to fix a vulnerability that allows someone to remotely gain control of the entire system without even knowing or cracking the password.  That&#8217;s just irresponsible.</p>
<p><em>Note: Thanks to Sterling Camden, of TR&#8217;s own <a href="http://blogs.techrepublic.com.com/project-management/">IT Consultant</a> Weblog, for the inspiration to write this article.</em></p>
<p><em>Worried about security issues? Who isn&#8217;t? Delivered each Tuesday, TechRepublic&#8217;s IT Security newsletter gives you the hands-on advice you need for locking down your systems and making sure they stay that way. <a href="http://nl.com.com/MiniFormHandler?brand=techrepublic&amp;list_id=e036" target="_blank">Automatically sign up today!</a></em></p>
<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=18fd0f81fde2c5aaa4799f33e0b42e88" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=18fd0f81fde2c5aaa4799f33e0b42e88" style="display: none;" border="0" height="1" width="1" alt=""/><img src="http://feeds.feedburner.com/~r/techrepublic/security/~4/452063647" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.techrepublic.com.com/security/?feed=rss2&amp;p=657</wfw:commentRss>
		<feedburner:origLink>http://blogs.techrepublic.com.com/security/?p=657</feedburner:origLink></item>
		<item>
			<title>How do new private browsing capabilities affect forensics?</title>
			<link>http://feeds.feedburner.com/~r/techrepublic/security/~3/450628756/</link>
			<comments>http://blogs.techrepublic.com.com/security/?p=654#comments</comments>
			<pubDate>Wed, 12 Nov 2008 12:00:23 +0000</pubDate>
			<dc:creator>Tom Olzak</dc:creator>
			<category><![CDATA[Security]]></category>
			<category><![CDATA[Computer Forensics]]></category>
			<category><![CDATA[Privacy]]></category>
			<guid isPermaLink="false">http://blogs.techrepublic.com.com/security/?p=654</guid>
			<description><![CDATA[Chrome has it.  IE8 and Firefox 3.1 have it.  So what does it mean to forensics investigators?  I'm talking about private browsing--the ability to visit sites, conduct research, or participate in illegal/unethical activities without leaving tell-tale signs behind.  <br style="clear: both;"/>
      <a href="http://www.pheedo.com/click.phdo?s=db41a79ee3bdbc7ce5c2e55b6963f7fc"><img alt="" style="border: 0;" border="0" src="http://www.pheedo.com/img.phdo?s=db41a79ee3bdbc7ce5c2e55b6963f7fc"/></a>
  <img src="http://www.pheedo.com/feeds/tracker.php?i=db41a79ee3bdbc7ce5c2e55b6963f7fc" style="display: none;" border="0" height="1" width="1" alt=""/>]]></description>
			<content:encoded><![CDATA[<p><em>Chrome has it.  IE8 and Firefox 3.1 have it.  So what does it mean to forensics investigators?  I’m talking about private browsing&#8211;the ability to visit sites, conduct research, or participate in illegal/unethical activities without leaving tell-tale signs behind.</em> </p>
<p><font size="2" face="Arial">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</font> </p>
<p>Chrome has it.  IE8 and Firefox 3.1 have it.  So what does it mean to forensics investigators?  I’m talking about private browsing&#8211;the ability to visit sites, conduct research, or participate in illegal/unethical activities without leaving tell-tale signs behind. </p>
<p>Recent interest in this capability, sparked by privacy enhancements touted by Mozilla, Google, and Microsoft, prompted me to take a closer look at what this might mean to my forensics investigations.  As usual, the impact on reconstructing questionable behavior depends on the browser used and the skills of both the problem employee and the investigator.</p>
<h3>The need for private browsing</h3>
<p>Some common reasons given for private browsing include:</p>
<ul>
<li>Researching a medical condition</li>
<li>Shopping from a home PC for a surprise gift or vacation</li>
<li>Planning a surprise birthday party</li>
</ul>
<p>However, most family members aren’t going to know how to get around methods already provided by browsers—deleting cookies, cache content, and other session information written to disk.  So these are rather weak arguments for stronger browsing privacy.</p>
<p>A more appropriate reason might be deleting anything written to disk which might be used to track Internet use or other behavior.  This is already an available configuration, at some level, in all major browsers.</p>
<p>The problem with these reasons for eliminating all evidence of systems use is they are often a smoke screen for nefarious or illegal activities, including:</p>
<ul>
<li>Cheating on a spouse</li>
<li>Theft of sensitive information</li>
<li>Visiting child porn sites</li>
<li>Participation in questionable organizations</li>
</ul>
<p>I’m all for personal privacy, but let’s be honest about why many pine for these capabilities.  They want to be able to live secret lives via the Web.  And this is nobody’s business if the actions are not illegal or harmful to others, and they take place on home PCs.  However, when these actions move to company-owned systems, they become potential forensics problems.</p>
<h3>Private Browsing Capabilities in IE and Firefox</h3>
<p>Microsoft and Mozilla seem to be taking different approaches to private browsing.  Firefox 3.0 had the capability to delete session information when closing the browser.  This isn’t perfect, allowing disk recovery tools access to information, but it works for most reasons people give for privacy.  It looks like Microsoft is simply trying to play catch-up with IE8. </p>
<p>Tests run against Microsoft’s InPrivateBrowsing feature, however, were successful in retrieving browsing history and other information about user activities.  (See <a target="_blank" href="http://www.pcadvisor.co.uk/news/index.cfm?newsid=103677"><em>IE8&#8217;s &#8216;privacy&#8217; mode leaks your private data</em></a>, PC Advisor, 29 August 2008.)  Unless tightened up in the final release, InPrivateBrowsing will protect against ordinary user searches but not from someone committed to retrieving user activity.</p>
<p>According to the Mozilla Wiki, Firefox 3.1 will take a different approach based on the premise that “The purpose of private browsing is to put Firefox into a temporary state where no information about the user’s browsing session is stored locally” (<a target="_blank" href="https://wiki.mozilla.org/PrivateBrowsing"><em>Private Browsing</em></a>, Mozilla Wiki).  According to <a target="_blank" href="https://wiki.mozilla.org/Firefox3.1/PrivateBrowsing/FunctionalSpec#Downloads"><em>Firefox 3.1 functional specifications</em></a>, the following browser functions will be prohibited from writing to disk when in private mode:</p>
<ul>
<li>Cache service</li>
<li>Cookies service</li>
<li>Permissions manager</li>
<li>SSL certificate exception manager</li>
<li>History service</li>
<li>Form/Search bar auto-complete history manager</li>
<li>Download manager</li>
<li>Login manager</li>
<li>Content specific preferences manager</li>
<li>Session restore service</li>
<li>Error console service</li>
</ul>
<p>Instead of writing this information to disk, it will be stored in memory and deleted when private browsing ends.</p>
<h3>What this means for forensics</h3>
<p>The time of easy access to evidence of unwanted activity on company systems is drawing to a close.  Browser privacy capabilities and user awareness of what needs to be done to hide their actions are improving.  Even if the browsers don’t effectively remove all evidence of questionable activity, there are plenty of utilities that do.  The resourceful criminal or reprobate already knows about them and is probably skilled in their use. </p>
<p>When conducting research for this article, I was unable to find a spot solution for by-passing browser privacy on an end-point device as part of an approved investigation.  However, private browsing only affects the end-user device.  Unencrypted traffic passing over a company’s network is still a good source of digital evidence.  This capability, coupled with device or web filter configurations preventing unauthorized SSL connections, provides still provides reasonable privacy with visibility into questionable activities on company infrastructure.</p>
<p align="center">
<div id="polls-8" class="wp-polls">
<form id="polls_form_8" action="/security/feedburner.php" method="post">
<input type="hidden" name="poll_id" value="8" />
<p style="text-align: center;"><strong>Will your organization turn off private browsing in approved browsers?</strong></p>
<div id="polls-8-ans" class="wp-polls-ans">
<ul class="wp-polls-ul">
<li><label for="poll-answer-33"><br />
<input type="radio" id="poll-answer-33" name="poll_8" value="33" /> Yes</label></li>
<li><label for="poll-answer-34"><br />
<input type="radio" id="poll-answer-34" name="poll_8" value="34" /> No</label></li>
</ul>
<p style="text-align: center;">
<input type="button" name="vote" value="   Vote   " class="Buttons" onclick="poll_vote(8);" onkeypress="poll_result(8);" /></p>
<p style="text-align: center;"><a href="#ViewPollResults" onclick="poll_result(8); return false;" onkeypress="poll_result(8); return false;" title="View Results Of This Poll">View Results</a></p>
</div></form>
</div>
<div id="polls-8-loading" class="wp-polls-loading"><img src="http://blogs.techrepublic.com.com/security/wp-content/plugins/polls/images/loading.gif" width="16" height="16" alt="Loading ..." title="Loading ..." class="wp-polls-image" />&nbsp;Loading &#8230;</div></p>
<br style="clear: both;"/>
      <a href="http://www.pheedo.com/click.phdo?s=db41a79ee3bdbc7ce5c2e55b6963f7fc"><img alt="" style="border: 0;" border="0" src="http://www.pheedo.com/img.phdo?s=db41a79ee3bdbc7ce5c2e55b6963f7fc"/></a>
  <img src="http://www.pheedo.com/feeds/tracker.php?i=db41a79ee3bdbc7ce5c2e55b6963f7fc" style="display: none;" border="0" height="1" width="1" alt=""/><img src="http://feeds.feedburner.com/~r/techrepublic/security/~4/450628756" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.techrepublic.com.com/security/?feed=rss2&amp;p=654</wfw:commentRss>
		<feedburner:origLink>http://blogs.techrepublic.com.com/security/?p=654</feedburner:origLink></item>
		<item>
			<title>More email security tips</title>
			<link>http://feeds.feedburner.com/~r/techrepublic/security/~3/449828090/</link>
			<comments>http://blogs.techrepublic.com.com/security/?p=656#comments</comments>
			<pubDate>Tue, 11 Nov 2008 18:45:09 +0000</pubDate>
			<dc:creator>Chad Perrin</dc:creator>
			<category><![CDATA[Security]]></category>
			<category><![CDATA[Internet]]></category>
			<guid isPermaLink="false">http://blogs.techrepublic.com.com/security/?p=656</guid>
			<description><![CDATA[Email security is about a lot more than just using a good password on your POP or IMAP server.  Perhaps the most important part of email security is ensuring you don't shoot yourself in the foot.<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=7861dbeae35b6d572b3592f95e4b2af8" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=7861dbeae35b6d572b3592f95e4b2af8" style="display: none;" border="0" height="1" width="1" alt=""/>]]></description>
			<content:encoded><![CDATA[<p><em>Email security is about a lot more than just using a good password on your POP or IMAP server.  Perhaps the most important part of email security is ensuring you don&#8217;t shoot yourself in the foot.</em></p>
<p><hr /></p>
<p>In February this year, I listed five <em><a href="http://blogs.techrepublic.com.com/security/?p=411">basic email security tips</a></em> that everyone should employ.  The following is a list of five more good pieces of email security advice:</p>
<ol>
<li><strong>Turn off automated addressing features.</strong>  As communication software accumulates more and more automated convenience features, we&#8217;ll see more and more cases of accidentally selecting the wrong recipients.  A prime example is Microsoft Outlook&#8217;s &#8220;<a href="http://weblog.infoworld.com/ny-cto/archives/2008/02/email_wrongnumb.html">dreaded auto-fill feature</a>&#8220;, where it is all too easy to accidentally select a recipient adjacent to your intended recipient in the drop-down list.  This can be particularly problematic when discussing private matters such as business secrets.</li>
<li><strong>Use BCC when sending to multiple recipients.</strong>  It&#8217;s a bad idea, from a security perspective, to share email addresses with people who have no need for them.  It is also rude to share someone&#8217;s email address with strangers without permission.  Every time you send out an email to multiple recipients with all the recipients&#8217; names in the <code>To:</code> or <code>CC:</code> fields, you&#8217;re sharing all those email addresses with all the recipients.  Email addresses that are not explicitly meant to be shared with the entire world should, in emails addressed to multiple recipients, be specified in the <code>BCC:</code> field &#8212; because each person will then be able to see that he or she is a recipient, but will not be able to see the email addresses of anyone else in the <code>BCC:</code> field.</li>
<li><strong>Save emails only in a safe place.</strong>  No amount of encryption for sent emails will protect your privacy effectively if, after receiving and decrypting an email, you then store it in plain text on a machine to which other people have access.  <a href="http://blogs.techrepublic.com.com/security/?p=590">Sarah Palin found out the hard way</a> that Webmail providers don&#8217;t do as good a job of ensuring stored email privacy as we might like, and many users&#8217; personal computers are not exactly set up with security in mind, as in the case of someone whose MS Windows home directory is set up as a CIFS share with a weak password.</li>
<li><strong>Only use private accounts for private emails.</strong>  Any email you share with the world is likely to get targeted by spammers &#8212; both for purposes of sending mail to it and spoofing that email address in the <code>From:</code> field of the email headers.  The more spammers and phishers spoof your email address that way, the more likely your email address is to end up on spam blocker blacklists used by ISPs and lazy mail server sysadmins, and the more likely you are to have problems with your emails not getting to their intended recipients.</li>
<li><strong>Double-check the recipient, every time &#8212; especially on mailing lists.</strong>  Accidentally replying directly to someone who sent an email to a mailing list, when you meant to reply to the list, isn&#8217;t a huge security issue.  It can be kind of inconvenient, though, especially when you might never notice your email didn&#8217;t actually get to the mailing list.  The converse, however, can be a real problem: if you accidentally send something to the list that was intended strictly for a specific individual, you may end up publicly saying something embarrassing or, worse, accidentally divulging secrets to hundreds of people you don&#8217;t even know.</li>
</ol>
<p>These tips are more related to the ways that users break their own security, rather than protecting oneself against the predations of malicious security crackers.  Security can be violated through careless acts more easily than by outside forces.  Don&#8217;t be your own biggest security concern.</p>
<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=7861dbeae35b6d572b3592f95e4b2af8" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=7861dbeae35b6d572b3592f95e4b2af8" style="display: none;" border="0" height="1" width="1" alt=""/><img src="http://feeds.feedburner.com/~r/techrepublic/security/~4/449828090" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.techrepublic.com.com/security/?feed=rss2&amp;p=656</wfw:commentRss>
		<feedburner:origLink>http://blogs.techrepublic.com.com/security/?p=656</feedburner:origLink></item>
		<item>
			<title>Prevent your employees from “going rogue”</title>
			<link>http://feeds.feedburner.com/~r/techrepublic/security/~3/448346404/</link>
			<comments>http://blogs.techrepublic.com.com/security/?p=651#comments</comments>
			<pubDate>Mon, 10 Nov 2008 12:00:27 +0000</pubDate>
			<dc:creator>Tom Olzak</dc:creator>
			<category><![CDATA[Security]]></category>
			<category><![CDATA[Cybercrime]]></category>
			<category><![CDATA[Threats]]></category>
			<category><![CDATA[Intrusion Detection]]></category>
			<category><![CDATA[data theft]]></category>
			<category><![CDATA[Risk Management]]></category>
			<category><![CDATA[Business Continuity]]></category>
			<category><![CDATA[Security Awareness Training]]></category>
			<guid isPermaLink="false">http://blogs.techrepublic.com.com/security/?p=651</guid>
			<description><![CDATA[There is often a personal crisis trigger that causes an already borderline employee to cross the border.  Would intervention prevent information compromise or system loss?  Can an employee be helped in a way which prevents an incident?  <br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=7f0a56f169b9788e878a8b233f86b182" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=7f0a56f169b9788e878a8b233f86b182" style="display: none;" border="0" height="1" width="1" alt=""/>]]></description>
			<content:encoded><![CDATA[<p><em>There is often a personal crisis trigger that causes an already borderline employee to cross the border.  Would intervention prevent information compromise or system loss?  Can an employee be helped in a way which prevents an incident?</em>   </p>
<p><font size="2" face="Arial">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</font></p>
<p>We’re continuously bombarded by statistics showing insider activities as an organization’s biggest threat.  Vendors ply marketing of insider exploit detection tools and other security products, ostensibly to protect our organizations from their employees.  However, proactive detection and intervention processes to identify potential employee security risks and prevent them from becoming security incidents are usually ignored. </p>
<p>In this post, I step through behavior characteristics usually present before an employee intentionally causes a security breach.  I use research conducted to assess why convicted spies violated national security protocols including,</p>
<ul>
<li><em><a target="_blank" href="http://rf-web.tamu.edu/security/SECGUIDE/treason/Mind.htm">Exploring the Mind of the Spy</a></em>, Dr. Mike Gelles, Naval Criminal Investigative Service</li>
<li><em><a target="_blank" href="http://rf-web.tamu.edu/security/SECGUIDE/S5improp/Intro.htm#Reporting%20Improper">Reporting Improper, Unreliable, &amp; Suspicious Behavior</a></em>, Employee’s Guide to Security Responsibilities, Texas A&amp;M Research Foundation</li>
<li><em><a target="_blank" href="http://rf-web.tamu.edu/security/SECGUIDE/S5improp/security.htm">Security and Suitability Issues</a></em>, Employee’s Guide to Security Responsibilities, Texas A&amp;M Research Foundation</li>
<li><em><a target="_blank" href="http://rf-web.tamu.edu/security/SECGUIDE/S5improp/People.htm#People">People Who Made a Difference</a></em>, Texas A&amp;M Research Foundation</li>
</ul>
<p>Although most of us aren’t protecting national defense secrets, I believe the reasons our employees “go rogue” are very similar to why spies betray our trust.</p>
<h3>Why employees decide to do the wrong thing</h3>
<p>Most of the employees who I personally found violating security policy were at one time valued employees.  They earned the trust of their peers and their managers.  But in every case, there was a trigger that caused an already borderline employee to cross the border.  Could we have prevented these security incidents?  Would intervention have prevented information compromise or system loss?  Could the employee have been helped in a way that prevented an incident?  The answer to all these questions is maybe.</p>
<p>Dr. Mike Gelles researched convicted spies to understand what made them commit treason.  They had all undergone background investigations, were granted security clearances, and, for a time, performed as expected.  Gelles found three conditions which explained why they betrayed their country: presence of a character weakness, a precipitating crisis, and lack of intervention.</p>
<p>No one trait by itself is typically enough to trigger unwanted behavior.  Rather, it is a collection of conditions and character issues which cause an otherwise reliable person to intentionally compromise security.</p>
<p align="center"><a href="http://blogs.techrepublic.com.com/security/images/collection.jpg" title="Employee Security Risk Cartoon"><img src="http://blogs.techrepublic.com.com/security/images/collection.jpg" alt="Employee Security Risk Cartoon" /></a></p>
<p align="center"> (from <em>Security and Suitability Issues</em>)</p>
<p><em>Character weakness</em><br />
According to Gelles, a personality or character weakness is “A pattern of behavior that is poorly adapted to the circumstances in which it occurs.”  This behavior, often observable by co-workers, leads to difficulties at work, problems with relationships, and periodic emotional shifts.  The two most common weaknesses observed are anti-social personality and narcissism.</p>
<p>Anti-social in this context does not refer to someone who avoids contact with others.  Rather, it describes a character flaw resulting in rejection of social norms and rules.  Anti-social behavior may lead to a person being unable to develop strong loyalties.</p>
<p>Narcissism results in unwarranted feelings of self-importance.  A person with this character trait is unable to accept failure or criticism.  He or she might accept social rules or norms, but feels he or she is above them. </p>
<p>A character weakness by itself is usually not enough to cause a person to do the wrong thing. </p>
<p><em>Precipitating crisis</em><br />
Crises come in many forms.  An economic downturn can result in career uncertainty.  Financial problems can apply significant pressure on employees and their families.  Office politics, perception of mistreatment, or a belief that a person is not getting what he or she deserves can also push an employee toward the wrong side of the line dividing acceptable and criminal behavior.</p>
<p><em>Lack of intervention</em><br />
Employees about to go rogue often exhibit behavior observable by co-workers.  Examples include (Security and Suitability Issues),</p>
<ul>
<li>Appearing intoxicated at work</li>
<li>Sleeping at the desk</li>
<li>Unexplained, repeated absences on Monday or Friday</li>
<li>Actual or threatened use of force or violence</li>
<li>Pattern of disregard for rules and regulations</li>
<li>Spouse or child abuse or neglect</li>
<li>Attempts to enlist others in illegal or questionable activity</li>
<li>Drug abuse</li>
<li>Pattern of significant change from past behavior, especially relating to increased nervousness or anxiety, unexplained depression, hyperactivity, decline in performance or work habits, deterioration of personal hygiene, increased friction in relationships with co-workers, isolating oneself by rejecting any social interaction</li>
<li>Expression of bizarre thoughts, perceptions, or expectations</li>
<li>Pattern of lying and deception of co-workers or supervisors</li>
<li>Talk of or attempt to harm oneself</li>
<li>Argumentative or insulting behavior toward work associates or family to the extent that this has generated workplace discussion or has disrupted the workplace environment</li>
<li>Writing bad checks</li>
<li>Failure to make child support payments</li>
<li>Attempting to circumvent or defeat security or auditing systems, without prior authorization from the system administrator, other than as part of a legitimate system testing or security research</li>
</ul>
<p>The problem is that co-workers and managers either don&#8217;t recognize the signs or are unwilling to get involved.  If employees learn to identify and report predictive behavior, steps can be taken to prevent possible security incidents.    </p>
<h3>Preventing rogue behavior</h3>
<p>Most organizations have controls in place to detect or prevent unwanted behavior.  But as we know, no control or set of controls is 100 percent effective, especially when the attacker is an authorized user of our information resources.  We also know that prevention is much better than trying to detect, contain, and recover from an incident.  So, how can we prevent employees from doing bad things?</p>
<p>The most effective means of identifying a potential employee security threat is employee education and participation.  Train your employees to look for suspicious or questionable behavior.  Provide a means to report this behavior and allow anonymity.  Employee understanding of danger signals and a willingness to report them is your best insider threat control.<br />
 </p>
<p align="center"><a href="http://blogs.techrepublic.com.com/security/images/affluence.jpg" title="Excessive spending cartoon"><img src="http://blogs.techrepublic.com.com/security/images/affluence.jpg" alt="Excessive spending cartoon" /></a><br />
(from <em>Security and Suitability Issues</em>)</p>
<p>The paper, People Who Made a Difference, contains several examples of how government employees helped identify security risks, including the following:</p>
<blockquote><p><em>A co-worker reported in 1986 that Michael H. Allen was spending excessive time at the photocopier in their office. This report led to investigation by the Naval Investigative Service. A hidden camera was installed near the photocopier in Allen’s office. The resulting videotape showed Allen copying documents and hiding them in his pocket.</em></p>
<p><em>Allen was a retired Navy Senior Chief Radioman working at the Cubi Point Naval Air Station in the Philippines. He confessed to passing classified information to Philippine Intelligence in an effort to promote his local business interests. He was found guilty of ten counts of espionage.</em></p></blockquote>
<p>It also contains examples of what happens when employees either look the other way or don’t think about what they see.</p>
<blockquote><p><em>Army Warrant Officer James W. Hall, III was sentenced to 40 years in prison for spying for both the former East Germany and Soviet Union from 1982 to 1988. He compromised U.S. and NATO plans for the defense of Western Europe. After his arrest, Hall said there were many indicators visible to those around him that he was involved in questionable activity.</em></p>
<p><em>Hall sometimes spent up to two hours of his workday reproducing classified documents to provide to the Soviets and East Germans. Concerned that he was not putting in his regular duty time, he consistently worked late to complete his regular assignments. Using his illegal income, Hall paid cash for a brand new Volvo and a new truck. He also made a large down payment on a home and took flying lessons. He is said to have given his military colleagues at least six conflicting stories to explain his lavish life style, but Hall&#8217;s co-workers never reported any of his unusual activities. After returning from Germany to the U.S., he traveled to Vienna, Austria, to meet with his Soviet handler.</em></p></blockquote>
<p>Once an employee is identified as having an issue, and before he or she actually commits a crime, intervention might be the answer.  Encouraging an employee to make use of services, like an Employee Assistance Program, might help him or her get the counseling or other help necessary to deal with personal or family crises.  Often, employees suffering from common psychological conditions, such as depression, receive the help they need.  They gradually find their way back from the brink, you get to keep a valuable member of your workforce, and your information assets remain safe.</p>
<h3>The final word</h3>
<p>Yes, employees are an organization’s biggest security threat.  But they are also its greatest defense against employees who might cross over to the dark side.  Make sure your employee security awareness training includes information about detecting and reporting suspicious behavior. </p>
<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=7f0a56f169b9788e878a8b233f86b182" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=7f0a56f169b9788e878a8b233f86b182" style="display: none;" border="0" height="1" width="1" alt=""/><img src="http://feeds.feedburner.com/~r/techrepublic/security/~4/448346404" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.techrepublic.com.com/security/?feed=rss2&amp;p=651</wfw:commentRss>
		<feedburner:origLink>http://blogs.techrepublic.com.com/security/?p=651</feedburner:origLink></item>
		<item>
			<title>Security News Roundup: Security researchers to demonstrate WPA packet injection</title>
			<link>http://feeds.feedburner.com/~r/techrepublic/security/~3/448246881/</link>
			<comments>http://blogs.techrepublic.com.com/security/?p=655#comments</comments>
			<pubDate>Mon, 10 Nov 2008 07:59:22 +0000</pubDate>
			<dc:creator>Paul Mah</dc:creator>
			<category><![CDATA[Threats]]></category>
			<category><![CDATA[vulnerability]]></category>
			<category><![CDATA[patching]]></category>
			<category><![CDATA[Security]]></category>
			<guid isPermaLink="false">http://blogs.techrepublic.com.com/security/?p=655</guid>
			<description><![CDATA[This week's security events include news that there will be just two updates for Microsoft's Patch Tuesday this month, the appearance of an exploit for Adobe Reader spotted in- the-wild, Adobe releasing an update to resolve a ColdFusion vulnerability, and news that security researchers will demonstrate WPA packet injection for the first time.<br style="clear: both;"/>
      <a href="http://www.pheedo.com/click.phdo?s=7e71fc79d8cd156264c9084555e97833"><img alt="" style="border: 0;" border="0" src="http://www.pheedo.com/img.phdo?s=7e71fc79d8cd156264c9084555e97833"/></a>
  <img src="http://www.pheedo.com/feeds/tracker.php?i=7e71fc79d8cd156264c9084555e97833" style="display: none;" border="0" height="1" width="1" alt=""/>]]></description>
			<content:encoded><![CDATA[<p><em>This week&#8217;s security events include news that there will be just two updates for Microsoft&#8217;s Patch Tuesday this month, the appearance of an exploit for Adobe Reader spotted in- the-wild, Adobe releasing an update to resolve a ColdFusion vulnerability, and news that </em><em>security researchers will demonstrate WPA packet injection for the first time.</em></p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p><strong>Just two updates for October&#8217;s Patch Tuesday</strong></p>
<p>System administrators still reeling from <a href="http://blogs.techrepublic.com.com/security/?p=621" target="_blank">last month&#8217;s bumper Patch Tuesday</a> will be glad to know that they can rest easier this month.  For the month of October, Microsoft will be releasing only two updates, with one rated as &#8220;critical&#8221; and the other as &#8220;important.&#8221;</p>
<p>Organizations are advised to exercise vigilance in patching the critical flaw, as it involves a vulnerability in Windows XML Core Services 3.0, used extensively by Windows to manipulate XML data.  Consequently, affected versions of the operating system range from Windows 2000, XP, Server 2003, Vista, and Server 2008.  In addition, this flaw is also present in XML Core Services 4.0 and 6.0, although this is viewed as less critical.</p>
<p>In a written statement, Don Leatham of <a href="http://www.lumension.com/home.jsp">Lumension Security</a> (formerly PatchLink) urged IT administrators to patch this vulnerability.  Leatham noted that, left unaddressed, the flaw could compromise the integrity of a company&#8217;s sensitive information &#8212; due to the fact that this vulnerability impacts a broad range of Microsoft platforms.</p>
<p>The second bulletin is related to the same XML issue, though specific to Office 2003 and Office SharePoint Server.  Still, it could still result in a remote code execution flaw, and hence should not be taken lightly.</p>
<p><strong>Flaws targeting Acrobat spotted in-the-wild</strong></p>
<p>Days after initial announcements of a serious Adobe Reader flaw, working exploits were spotted in the wild.  The exploit in this case leverages on <a href="http://secunia.com/advisories/cve_reference/CVE-2008-2992/" target="_blank">CVE-2008-2992</a> by means of a crafted format string argument to execute arbitrary code.  The delivery mechanism is by means of a malformed PDF file.</p>
<p>Bojan Zdrnja over at SANS Internet Storm Center <a href="http://isc.sans.org/diary.html?storyid=5312" target="_blank">highlighted a sample</a> that was sent to him by one of his readers:</p>
<blockquote><p>Unfortunately, Wayne <em>[the reader]</em> is right - these PDF documents exploit the JavaScript buffer overflow vulnerability. This is not surprising, though, as a fully working PoC has been recently published as well, but it&#8217;s interesting to see that the attackers modified the PoC a little bit, probably in order to evade anti-virus detection.</p></blockquote>
<p>Zdrnja also noted that none of the AV products detected his malicious PDF sample &#8212; not really surprising given how new it is.</p>
<p>At this point, Adobe has updated Adobe Reader 8.1.2 and Acrobat 8.1.2 to address the vulnerabilities.  Given the popularity of the PDF file format, and the ease of delivery via e-mail, it is more important than ever to ensure that patching and upgrading are promptly executed.</p>
<p><strong>Adobe eliminates Cold Fusion vulnerability</strong></p>
<p>Adobe has issued a security fix for its ColdFusion.  The patch eliminates a vulnerability that allows attackers to circumvent existing restrictions on a server operating in a shared hosting environment.</p>
<p>According to  Adobe, ColdFuson 8.0, 8.0.1 as well as ColdFusion MX 7.0.2 are affected.  You can check out the <a href="http://www.adobe.com/support/security/bulletins/apsb08-21.html">Adobe security bulletin here</a> for patch instructions.</p>
<p><strong>Security researchers to demonstrate WPA packet injection</strong></p>
<p>German Security researcher Erik Tews and co-researcher Martin Beck have found a way to break the Temporal Key Integrity Protocol (TKIP) key used by the Wi-Fi Protected Access (WPA) encryption standard.  At next week&#8217;s <a href="http://pacsec.jp/index.html" target="_blank">PacSec 2008</a> security conference in Tokyo, the duo will give a presentation on this titled, &#8220;Gone in 900 Seconds: Some Crypto Issues with WPA.&#8221; They will also leverage on their findings to <a href="http://www.heise-online.co.uk/security/WPA-alleged-to-be-crackable-in-less-than-15-minutes--/news/111906" target="_blank">demonstrate data injection</a> into the WPA traffic between a router and a laptop.</p>
<p>The precise method to achieve the data injection has yet to be made public, though it is known that it involves breaking the Temporal Key Integrity Protocol (TKIP) key of the Wi-Fi Protected Access (WPA).  This was achieved by tricking a WPA router to disgorge large amount of data, coupled with a &#8220;mathematical breakthrough&#8221; to crack TKIP without using a dictionary attack.  To be clear, the team has not managed to crack the actual encryption keys used to secure data in WPA, so WPA appears to remain secure at this junction.</p>
<p>Moving ahead, the obvious solution at this point would be to change to the WPA2 encryption scheme, which uses the more robust Advanced Encryption Scheme (AES) encryption instead of TKIP.</p>
<p>Are you using wireless in your organization?  Are you using WPA or WPA2 at this point?</p>
<p><a href="http://techrepublic.com.com/5208-6230-0.html?forumID=102&amp;threadID=278335" target="_blank">Feel free to discuss the various security events here</a>.</p>
<br style="clear: both;"/>
      <a href="http://www.pheedo.com/click.phdo?s=7e71fc79d8cd156264c9084555e97833"><img alt="" style="border: 0;" border="0" src="http://www.pheedo.com/img.phdo?s=7e71fc79d8cd156264c9084555e97833"/></a>
  <img src="http://www.pheedo.com/feeds/tracker.php?i=7e71fc79d8cd156264c9084555e97833" style="display: none;" border="0" height="1" width="1" alt=""/><img src="http://feeds.feedburner.com/~r/techrepublic/security/~4/448246881" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.techrepublic.com.com/security/?feed=rss2&amp;p=655</wfw:commentRss>
		<feedburner:origLink>http://blogs.techrepublic.com.com/security/?p=655</feedburner:origLink></item>
		<item>
			<title>Security, complexity, and the GUI environment</title>
			<link>http://feeds.feedburner.com/~r/techrepublic/security/~3/444620073/</link>
			<comments>http://blogs.techrepublic.com.com/security/?p=650#comments</comments>
			<pubDate>Thu, 06 Nov 2008 18:09:58 +0000</pubDate>
			<dc:creator>Chad Perrin</dc:creator>
			<category><![CDATA[Security]]></category>
			<guid isPermaLink="false">http://blogs.techrepublic.com.com/security/?p=650</guid>
			<description><![CDATA[As our computing environments grow more sophisticated, security suffers.  It may be time to simplify, starting with the GUI environment.<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=eefc3737410fc01a56e84dfc4b945c96" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=eefc3737410fc01a56e84dfc4b945c96" style="display: none;" border="0" height="1" width="1" alt=""/>]]></description>
			<content:encoded><![CDATA[<p><em>As our computing environments grow more sophisticated, security suffers.  It may be time to simplify, starting with the GUI environment.</em></p>
<p><hr /></p>
<p>Graphical user interfaces environments are complex things, these days.  It can take thousands, even millions, of lines of code to write the software for a basic GUI environment.  Consider a rich desktop environment on Ubuntu, for instance &#8212; arguably the most popular Linux distribution.  The X Window System, in the form of X.Org, is around two million lines of code.  The GNOME desktop environment, installed atop X.Org, adds another thirteen million on top of that, give or take.  Adding Compiz Fusion to that would hardly have any effect on the overall complexity of the software projects used to construct your GUI environment; it&#8217;s only about two hundred thousand lines of code.</p>
<p>Fifteen million lines of code is a lot, of course.  Using X.Org is no trivial thing, in terms of how big a commitment to the total complexity of software installed on your computer.  It&#8217;s also a rough necessity, if you want a modern GUI environment running on your Unix-like system.  Of course, at the other extreme from high weight desktop environments like GNOME are things like dwm, which boasts fewer than 2000 lines of C &#8212; but you still need the X Window System to run it, making the total something like 13 million and two thousand.</p>
<p>All of this starts to look like small potatoes next to some other GUI environments, however.  Certain commercial OSes have even bigger, more complex projects tied to their GUI environments, such as the Aqua environment for Apple MacOS X or Aero Glass for MS Windows Vista.  It isn&#8217;t so easy to provide estimates of project size for these, because in each case the software is closed source, and its source code is jealously guarded by its respective corporate vendor, but the source for such GUI environments can be reasonably expected to run in the tens of millions of lines of code.</p>
<p>Complexity, unfortunately, is the enemy of security.  Every time you increase the complexity of a system, you increase the opportunity for something to go wrong in its design.  The more lines of code in your system, the more opportunities there are to introduce bugs when developing the system; the more bugs there are, the more opportunities you have for bugs that introduce security vulnerabilities.  As phrased in the <em>Source lines of code</em> article at Wikipedia, under the <a href="https://secure.wikimedia.org/wikipedia/en/wiki/Source_lines_of_code#SLOC_and_relation_to_security_faults">SLOC and relation to security faults</a> heading:</p>
<blockquote>
<p>A number of experts have claimed a relationship between the number of lines of code in a program and the number of bugs that it contains. This relationship is not simple, since the number of errors per line of code varies greatly according to the language used, the type of quality assurance processes, and level of testing, but it does appear to exist. More importantly, the number of bugs in a program has been directly related to the number of security faults that are likely to be found in the program.</p>
<p>This has had a number of important implications for system security and these can be seen reflected in operating system design. Firstly, more complex systems are likely to be more insecure simply due to the greater number of lines of code needed to develop them. For this reason, security focused systems such as OpenBSD grow much more slowly than other systems such as Windows and Linux. A second idea, taken up in both OpenBSD and many Linux variants, is that separating code into different sections which run with different security environments (with or without special privileges, for example) ensures that the most security critical segments are small and carefully audited.</p>
</blockquote>
<p>Bugs are not the sole source of software security vulnerabilities, however.  Conscious architectural design decisions can also lead to security issues.  Introducing a bug in the form of a buffer overrun can produce an arbitrary code execution vulnerability, but so can a decision to allow shell scripts &#8220;owned&#8221; by the administrative user to be executed <abbr title="Set User ID">SUID</abbr> when they&#8217;re world-writable.  That&#8217;s why Unix systems usually disallow execution of shell scripts that are SUID root.</p>
<p>Enno Boland, one of the contributing developers at <a href="http://www.suckless.org/">suckless.org</a> (the guys who develop the aforementioned wmii), suggests that the X Window System is poorly designed, and I tend to agree.  Oh, I know creating and maintaining the underlying framework for an entire modern GUI environment is not an easy task, and I&#8217;m sure that at this point in my life I&#8217;m not competent to do a better job than the X.Org project, but that doesn&#8217;t change the fact that there are some poor design decisions at work there, and that it appears to lack the kind of engineering discipline one might desire from a project of such widespread impact.</p>
<p>The X Window System, like the Aqua and Aero Glass GUI environments, tries to do too many things within one unified package.  This creates significant complexity, which in turn masks security issues and other bugs as well as creating ample opportunity for poor architectural decisions to creep in.  It does do at least one thing right that most other modern GUI systems don&#8217;t, however; it separates concerns between the underlying windowing system and the actual interface components in the form of a window manager.  This helps to keep each segment simpler by reducing coupling, providing stable APIs, and offering the opportunity to minimize the complexity of the window manager component separately from the windowing system component itself.  X.Org is still about thirteen million lines of code, though.</p>
<p>The <em><a href="http://www.suckless.org/common/">suck less philosophy</a></em>, suckless.org&#8217;s approach to programming excellence, has this to say about secure development:</p>
<blockquote>
<p>Code complexity is the mother of bloated, hard to use, and totally inconsistent software. With complex code, problems are solved in suboptimal ways, valuable resources are endlessly tied up, performance slows to a halt, and vulnerabilities become a commonplace. The only solution is to scrap the entire project and rewrite it from scratch.</p>
</blockquote>
<p>Such sentiments are expressed about software projects such as Microsoft Windows all the time.  Unix and Linux users, especially, seem fond of the notion that the only way to fix problems endemic to MS Windows is to scrap the entire code base and start over.  Early reports from the Windows 7 project seemed to indicate that was happening to some extent, but it is beginning to look like that was an erroneous picture of what is going on.  It&#8217;s easy to understand why Microsoft would resist such a drastic measure: after all, the full benefits of a complete rewrite are lost if you only make the same mistakes the second time that you did the first, and if you don&#8217;t make the same mistakes with a complete rewrite of something like MS Windows, you break all backward compatibility and end up with something that, if you were to be perfectly honest about it, couldn&#8217;t even be called &#8220;Windows&#8221;.</p>
<p>The suggestion that perhaps the X Window System should get the same treatment people recommend for MS Windows is far more rare.  In fact, even in Enno Boland&#8217;s <a href="http://s01.de/~gottox/index.cgi/unixy_software">public complaint</a> about the &#8220;(un)-unixy&#8221; design of the X Window System, I don&#8217;t see any explicit call for a complete rewrite and replacement of a windowing system framework for Unix.  In the long run, however, that may be exactly what we need if we want to drastically improve the security of the average Unix-like system desktop.</p>
<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=eefc3737410fc01a56e84dfc4b945c96" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=eefc3737410fc01a56e84dfc4b945c96" style="display: none;" border="0" height="1" width="1" alt=""/><img src="http://feeds.feedburner.com/~r/techrepublic/security/~4/444620073" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.techrepublic.com.com/security/?feed=rss2&amp;p=650</wfw:commentRss>
		<feedburner:origLink>http://blogs.techrepublic.com.com/security/?p=650</feedburner:origLink></item>
		<item>
			<title>Keys successfully reproduced using digital images</title>
			<link>http://feeds.feedburner.com/~r/techrepublic/security/~3/443286864/</link>
			<comments>http://blogs.techrepublic.com.com/security/?p=644#comments</comments>
			<pubDate>Wed, 05 Nov 2008 11:00:31 +0000</pubDate>
			<dc:creator>Tom Olzak</dc:creator>
			<category><![CDATA[Security]]></category>
			<category><![CDATA[Threats]]></category>
			<category><![CDATA[vulnerability]]></category>
			<category><![CDATA[Risk Management]]></category>
			<category><![CDATA[Security Awareness Training]]></category>
			<guid isPermaLink="false">http://blogs.techrepublic.com.com/security/?p=644</guid>
			<description><![CDATA[How secure are key locks?  Is a single locked door considered reasonable and appropriate security?  Based on current research, the answer to the first question is increasingly negative.  The answer to the second has always been in question.<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=84a2ddb62b8fee26e890b21f386a191e" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=84a2ddb62b8fee26e890b21f386a191e" style="display: none;" border="0" height="1" width="1" alt=""/>]]></description>
			<content:encoded><![CDATA[<p><em>How secure are key locks?  Is a single locked door considered reasonable and appropriate security?  Based on current research, the answer to the first question is increasingly negative.  The answer to the second has always been in question.</em></p>
<p><font id="wpxy" size="2">&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</font></p>
<p>When most people think of physical security, of locking computers or other sensitive information away from unauthorized access, they think of door locks.  One of the most common types of door locks is still key and pin tumbler.  But how secure are these systems?  Is a single locked door considered reasonable and appropriate security?  Based on current research, the answer to the first question is increasingly negative.  The answer to the second has always been in question.</p>
<h3>What is a key and pin tumbler lock?</h3>
<p>At its most basic design, a pin tumbler lock, as shown in Figure 1, relies on a system of pins to either prevent or allow a plug to rotate within a lock cylinder.  When a key is inserted, the bottom pins are raised to the shear line and the plug is able to rotate (<a href="http://vision.ucsd.edu/~blaxton/pagePapers/laxton_wang_savage_ccs2008.pdf" target="_blank">Laxton, Wang, and Savage, 2008</a>, p. 2).</p>
<p align="center"> <a href="http://blogs.techrepublic.com.com/security/images/tumblers.jpg" title="Key and pin tumbler lock"><img src="http://blogs.techrepublic.com.com/security/images/tumblers.jpg" alt="Key and pin tumbler lock" height="150" width="400" /></a><br />
<strong>Figure 1</strong></p>
<p>The keys used are cut using a bitting code.  The key and pin tumbler system relies on two assumptions.</p>
<ol>
<li>No unauthorized people know the bitting code for a specific lock</li>
<li>Keys are kept secure, and if lost, the locks are replaced</li>
</ol>
<h3>Problems with physical key access control</h3>
<p>There are two problems with relying on the physical security of keys.  The first has been a problem since key locks were invented; keys are lost or stolen.  Sometimes keys are only “temporarily mislaid.”  However, even if a key is in the wrong hands for even a short time, several methods exist to duplicate it, including, such as <a href="http://www.libertylib.com/key-impressioning.shtml" target="_blank">impressioning</a>.    A manual key decoder, as shown in Figure 2, can also use a key to obtain the bitting code for a key/lock pair (<a href="http://vision.ucsd.edu/~blaxton/pagePapers/laxton_wang_savage_ccs2008.pdf" target="_blank">Laxton, Wang, and Savage, 2008</a>, p. 2).  Other approaches like, <a href="http://en.wikipedia.org/wiki/Lock_bumping" target="_blank">lock bumping </a>and <a href="http://en.wikipedia.org/wiki/Lock_picking" target="_blank">lock picking </a>exploit weaknesses in lock design.</p>
<p>The problem with these methods is access.  Access to either the key or the lock is necessary, putting the attacker at risk and raising the work factor.  But now a criminal might not need actual access to a key, or its lock, to duplicate it.
</p>
<p align="center"> <a href="http://blogs.techrepublic.com.com/security/images/keydecoder.jpg" title="Key Decoder"><img src="http://blogs.techrepublic.com.com/security/images/keydecoder.jpg" alt="Key Decoder" /></a></p>
<p align="center"><strong>Figure 2</strong></p>
<h3>Sneakey</h3>
<p><a href="http://vision.ucsd.edu/~blaxton/pagePapers/laxton_wang_savage_ccs2008.pdf" target="_blank">Research recently published </a>by Benjamin Laxton, Kai Wang, and Stefan Savage (the team) demonstrates the possibility of duplicating a key using a digital image.  Using the same approach as implemented with manual key decoders, an attacker can derive bitting codes from digital images obtained with cameras strategically placed outside the normal physical operating area of the key’s owner.  In other words, the attacker does not need to gain physical access to the facility or to the key to make a duplicate key.</p>
<p>The research focused on two common household key types: the Kwikset KW-1 and the Shlage SC-1.  It’s necessary to at least know the blank used to create the key.  Applying the bitting code to the wrong blank doesn’t get an attacker very far.<br />
To test long distance image capture as a means to obtain key characteristics, the team used a C5 spotting scope, Teleview PowerMate 4X Tele-extender, and Cannon 40D Digital SLR camera.  The setup, which weighed about 16 pounds, is shown in Figure 3.</p>
<p align="center"><a href="http://blogs.techrepublic.com.com/security/images/setup.jpg" title="Camera Setup"><img src="http://blogs.techrepublic.com.com/security/images/setup.jpg" alt="Camera Setup" style="width: 375px; height: 304px" height="304" width="375" /></a></p>
<p><strong>Figure 3</strong></p>
<p align="left">The team took photos of keys from 35, 65, and 100 feet to test the process.  A proof-of-concept photo, taken at 165 feet, is shown in Figure 4.</p>
<p align="center"><strong><a href="http://blogs.techrepublic.com.com/security/images/poofofconcept.jpg" title="Long range photo"><img src="http://blogs.techrepublic.com.com/security/images/poofofconcept.jpg" alt="Long range photo" style="width: 388px; height: 257px" height="257" width="388" /></a> </strong></p>
<p align="center"><strong>Figure 4</strong></p>
<p>Once the team obtained a key image, they followed the following steps to arrive at a key that would fit into the corresponding lock:</p>
<ol>
<li>Measurements on the reference key image are taken and the pixel/mm ratio for that image is computed. This step only needs to be done once for each key blank of interest.</li>
<li>A digital image of a target key is acquired.</li>
<li>The user specifies point locations in the target key image that match those in the reference key image.</li>
<li>Using the point locations, the homography that maps the target key onto the reference key is computed.</li>
<li>Using the known pixel/mm ratio and the mm dimensions for the distance to first cut and inter-cut distance, the expected locations of each cut point along the key shaft are deterministically located.</li>
<li>A heuristic search for the depth of each key-bit can be carried out automatically or refined with user input.</li>
<li>Given the cut depth measurements for the target key in mm the key bitting code is given by matching the mm measurements to the published manufacturers specification for cut depths (e.g., a Kwikset “1” cut is 0.329 inches from the base of the key blade).</li>
</ol>
<p>The results were interesting.  At 35 feet, the key image was properly decoded 4 out of 4 times.  At 65 feet, 3 out of 4 attempts were successful.  At 100 feet, the team was able to cut the right key 2 times out of 4.  Details about this research are found in the <a href="http://vision.ucsd.edu/~blaxton/pagePapers/laxton_wang_savage_ccs2008.pdf" target="_blank">team’s findings paper</a>.</p>
<h3>So do key pin tumbler locks provide reasonable and appropriate security?</h3>
<p>A single locked door has never been enough to protect sensitive data or critical systems.  An effective <a href="http://www.brighthub.com/computing/smb-security/articles/2390.aspx" target="_blank">physical security design</a> includes multiple obstacles an attacker must overcome.  These include:</p>
<ul>
<li>Fences</li>
<li>Motion and sound sensors</li>
<li>Cameras</li>
<li>Alarms</li>
<li>Guards</li>
<li>Multiple locked doorways</li>
<li>Employee awareness of piggy-backing, social engineering, or other common methods of circumventing physical controls</li>
</ul>
<p>Putting aside the “single door” vulnerability, requiring employees to maintain keys is a bad idea.  They are commonly lost or stolen with no notice to management.  Even when management is informed, the cost of replacing affected locks is often too expensive or too much trouble.</p>
<p>Use of centrally managed cipher locks, biometric entry systems, or a hybrid solution is the best way to implement locks as part of an overall physical security strategy.  Codes are easily changed when employees leave the company, and access via the employee’s biometric signature is quickly disabled.  Linking a centralized management system to an account provisioning solution can automate this process, based on information entered into the HR database.</p>
<h3>The final word</h3>
<p>Will an attacker take a picture of your keys lying on your desk any time soon?  Probably not.  But the threat exists.  More important, however, are the physical access opportunities provided criminals when a well-designed, layered, physical security strategy is not implemented.  This includes training employees to question the presence in secure areas of anyone they don’t recognize.</p>
<p><em>Worried about security issues? Who isn&#8217;t? Delivered each Tuesday, TechRepublic&#8217;s IT Security newsletter gives you the hands-on advice you need for locking down your systems and making sure they stay that way. <a href="http://nl.com.com/MiniFormHandler?brand=techrepublic&amp;list_id=e036" target="_blank">Automatically sign up today!</a></em></p>
<br style="clear: both;"/>
  <img alt="" style="border: 0; height:1px; width:1px;" border="0" src="http://www.pheedo.com/img.phdo?i=84a2ddb62b8fee26e890b21f386a191e" height="1" width="1"/>
<img src="http://www.pheedo.com/feeds/tracker.php?i=84a2ddb62b8fee26e890b21f386a191e" style="display: none;" border="0" height="1" width="1" alt=""/><img src="http://feeds.feedburner.com/~r/techrepublic/security/~4/443286864" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://blogs.techrepublic.com.com/security/?feed=rss2&amp;p=644</wfw:commentRss>
		<feedburner:origLink>http://blogs.techrepublic.com.com/security/?p=644</feedburner:origLink></item>
	</channel>
</rss>
