<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Anthony Vance</title>
	<atom:link href="http://anthonyvance.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://anthonyvance.com/blog</link>
	<description>Assistant Professor—Information Systems—Brigham Young University</description>
	<lastBuildDate>Mon, 28 May 2012 21:03:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Grand Moff Tarkin and Risk</title>
		<link>http://anthonyvance.com/blog/security/grand-moff-tarkin-and-risk/</link>
		<comments>http://anthonyvance.com/blog/security/grand-moff-tarkin-and-risk/#comments</comments>
		<pubDate>Tue, 10 Aug 2010 15:38:13 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://anthonyvance.com/blog/?p=598</guid>
		<description><![CDATA[Grand Moff Tarkin demonstrates why risk is the product of likelihood and impact in 38 seconds. You can download the full resolution file here.]]></description>
			<content:encoded><![CDATA[<p><center><a href="http://youtu.be/HRY0cs26Zvo"><img src="http://anthonyvance.com/images/tarkin.png" alt="" border="0" /></a></center>Grand Moff Tarkin <a href="http://youtu.be/HRY0cs26Zvo">demonstrates</a> why risk is the product of likelihood and impact in 38 seconds.</p>
<p>You can download the full resolution file <a href="http://anthonyvance.com/tarkin.mp4">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyvance.com/blog/security/grand-moff-tarkin-and-risk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://anthonyvance.com/tarkin.mp4" length="28673796" type="video/mp4" />
		</item>
		<item>
		<title>Limitations of Data Protection in iOS 4</title>
		<link>http://anthonyvance.com/blog/forensics/ios4_data_protection/</link>
		<comments>http://anthonyvance.com/blog/forensics/ios4_data_protection/#comments</comments>
		<pubDate>Thu, 24 Jun 2010 09:59:01 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[forensics]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://anthonyvance.com/blog/?p=596</guid>
		<description><![CDATA[Apple&#8217;s recently released iOS 4 provides enhanced &#8220;data protection&#8221;, but there is very little on the web now that explains what this really means. In this post I clarify what data protection is and what some of its limitations are. What Data Protection Is First of all, it&#8217;s important to note what encryption capability the [...]]]></description>
			<content:encoded><![CDATA[<p><center><img class="aligncenter" src="/images/Data_protection.png" alt="Data Protection at work in iOS 4" /></center></p>
<p>Apple&#8217;s recently released iOS 4 provides enhanced &#8220;data protection&#8221;, but there is very little on the web now that explains what this really means. In this post I clarify what data protection is and what some of its limitations are.</p>
<h2>What Data Protection Is</h2>
<p>First of all, it&#8217;s important to note what encryption capability the iPhone already had (which I discussed <a href="http://anthonyvance.com/blog/forensics/iphone_encryption/">here</a>. The release of the iPhone 3GS (and later iPod Touch 3rd Generation) brought hardware-based full disk encryption (FDE) to the iPhone. This was designed to accomplish one thing: instantaneous remote wipe. While the iPhone 3G had to overwrite every bit in flash memory (sometimes taking several hours), disk wiping on the 3GS worked by simply erasing the 256-bit AES key used to encrypt the data.</p>
<p>Unfortunately, disk encryption on the iPhone did little beyond enabling remote wipe. Mobile forensicator <a href="http://www.zdziarski.com/">Jonathan Zdziarski</a> <a href="http://www.zdziarski.com/blog/?p=516">found</a> that the iPhone OS automatically decrypts data when a request for data is made, effectively making the encryption worthless for protecting data.</p>
<p>So I was curious to learn what encryption improvements were made in iOS 4. Apple calls its new encryption scheme &#8220;data protection&#8221;, a substantial improvement in security design. Data protection has the primary advantage of using the user&#8217;s passcode or password to derive a key that is used to encrypt data on the device. When the phone is locked or turned off, the key is immediately erased, making data secured on the device inaccessible.</p>
<h2>Limitations of Data Protection</h2>
<p>The details of how data protection works are described in Apple&#8217;s recently released <a href="http://developer.apple.com/videos/wwdc/2010/">videos</a> from its world-wide developers conference (see Session 209 &#8220;Securing Application Data&#8221;). This information is protected by an NDA, but I&#8217;ll summarize at a high level five basic limitations.</p>
<p>First, to make data encryption work a user must have an iPhone 4, iPhone 3GS, or iPod Touch 3rd Gen (previous iPhones don&#8217;t support hardware encryption).  Importantly, 3GS users who upgrade to iOS must restore the device as the iOS 3 file system doesn&#8217;t support the new data protection scheme. The steps to do this are described <a href="http://support.apple.com/kb/HT4175">here</a>.</p>
<p>Second, files are encrypted individually by software classes that implement data protection. This means that developers must deliberately choose to use data encryption in their apps, otherwise data is unprotected. Currently,  Apple says that so far <a href="http://support.apple.com/kb/HT4175">only Mail</a> is setup to use data encryption, although they say they will eventually bring data encryption to other applications. This means that even with data encryption enabled, text messages, contacts, photos, web history—in short, everything else—is left unprotected.</p>
<p>Third, a user must use a passcode or password. The strength of the password is up to the user, which is generally a <a href="http://www.nytimes.com/2010/01/21/technology/21password.html">good</a> <a href="http://www.wired.com/politics/security/commentary/securitymatters/2007/01/72458">thing</a> for forensicators.</p>
<p>Fourth, to mitigate the threat of a brute force attack, the file encryption requires a key generated by the device itself, in addition to the key derived from the user&#8217;s password. This slows brute forcing because the encryption key generation process is slow by design: the iPhone 4 takes about 50 milliseconds to derive the key once the user submits a password. This means an attacker can guess only about 20 passwords per second.</p>
<p>This might not sound like much of a speed reduction, but this actually compares well with software-based encryption products. By comparison, I&#8217;ve used AccessData&#8217;s Password Recovery Toolkit to guess up to 900,000 passwords a second for encrypted Microsoft Office files. Encrypted PGP files allow about <a href="http://www.wired.com/politics/security/commentary/securitymatters/2007/01/72458">900 password guesses per second</a>.</p>
<p>Fifth, a weakness in the data protection system is something called the &#8220;Escrow Keybag&#8221;, which is a collection of keys necessary to decrypt every file on the device without requiring the user&#8217;s password. This was done to allow computers to sync with the iPhone without asking the user for the password.</p>
<p>This was a deliberate trade-off to enhance user experience. Apple&#8217;s rationale was that if the PC containing the escrow keybag was obtained, an attacker most likely already had the user&#8217;s important data anyway. For forensicators, this means that if a user&#8217;s computer is obtained along with the iPhone, it will be much easier to decrypt the user&#8217;s protected data.</p>
<p><b>Updated August 6, 2010</b>: Elcomsoft has <a href="http://www.elcomsoft.com/PR/eppb_100805_en.pdf">announced</a> that its iPhone Password Breaker tool can recover iPhone keychains (probably the escrow keybag) from password-protected iPhone backups.</p>
<h2>Summary</h2>
<p>Currently, data protection in iOS 4 is still limited. Apps must be updated to use data protection and currently only Mail does so. All other data can be <a href="http://www.zdziarski.com/blog/?p=516">easily obtained</a> without the users password.</p>
<p>Even so, data protection in iOS 4 represents a significant improvement over encryption in iOS 3. It is clear that Apple is striving to iteratively improve security on the iPhone, which is a good thing.</p>
<p>In the meantime, it looks like forensicators won&#8217;t have to worry too much about getting the data they need off of an iPhone.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyvance.com/blog/forensics/ios4_data_protection/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Using an SSD with Full Disk Encryption—Benchmarks using PGP WDE</title>
		<link>http://anthonyvance.com/blog/security/ssd_encryption/</link>
		<comments>http://anthonyvance.com/blog/security/ssd_encryption/#comments</comments>
		<pubDate>Sun, 18 Apr 2010 05:39:44 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://anthonyvance.com/blog/?p=595</guid>
		<description><![CDATA[I&#8217;ve wanted to install a solid-state drive (SSD) in my laptop for some time because of the dramatic boost in performance and responsiveness. However, I&#8217;ve been reluctant to buy one because I use full disk encryption (FDE) on my laptop, and I wasn&#8217;t sure how it would affect the speed of the SSD. Unfortunately, there [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="/images/ssd.jpg" alt="Crucial RealSSD" /></p>
<p>I&#8217;ve wanted to install a solid-state drive (SSD) in my laptop for some time because of the dramatic boost in performance and responsiveness. However, I&#8217;ve been reluctant to buy one because I use full disk encryption (FDE) on my laptop, and I wasn&#8217;t sure how it would affect the speed of the SSD.</p>
<p>Unfortunately, there is not a lot of concrete information on the Web for the impact of FDE on SSD&#8217;s other than this <a href="http://www.madshrimps.be/?action=getarticle&amp;articID=965">gloomy blog post</a> from November 2009. The author of this post used Utimaco Safeguard Enterprise to encrypt a Intel X25-M G2 160Gb SSD in a Dell Latitude E6400. Disappointingly, he found that with FDE, the SSD performed as slow or slower than the same laptop with an encrypted conventional hard drive. Clearly, in this scenario, there is little benefit to justify the <a href="http://www.newegg.com/Store/SubCategory.aspx?SubCategory=636&amp;name=SSD">cost of an SSD</a>.</p>
<p>However, I use PGP 10 Whole Disk Encryption (WDE), one of the leading disk encryption products, which has just been updated with better support for SSD&#8217;s. I finally decided to purchase an SSD, and since I can&#8217;t find any other benchmarks for encrypted SSD online, I decided to perform my own.</p>
<h2>The Setup</h2>
<p>I have a Macbook Pro 17&#8243; (Core 2 Duo; late 2009). It used to have a Seagate Momentus 7200 RPM drive, one of the faster conventional laptop hard drives on the market, and, as stated above, it was encrypted with PGP 10 WDE. As a baseline, I used <a href="http://www.xbench.com/">Xbench</a> to test how fast the drive performed.</p>
<p>Here are its scores:<br />
<code><br />
Xbench Disk Test score:<span> </span>36.64<span> </span></code></p>
<p><span> </span>Sequential<span> </span>53.83<span> </span></p>
<p><span> </span>Uncached Write<span> </span>73.59<span> </span>45.18 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Write<span> </span>52.87<span> </span>29.91 MB/sec [256K blocks]</p>
<p><span> </span>Uncached Read<span> </span>37.01<span> </span>10.83 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Read<span> </span>67.64<span> </span>33.99 MB/sec [256K blocks]</p>
<p><span> </span>Random<span> </span>27.77<span> </span></p>
<p><span> </span>Uncached Write<span> </span>9.65<span> </span>1.02 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Write<span> </span>81.84<span> </span>26.20 MB/sec [256K blocks]</p>
<p><span> </span>Uncached Read<span> </span>69.42<span> </span>0.49 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Read<span> </span>72.43<span> </span>13.44 MB/sec [256K blocks]</p>
<p>I also performed some practical, &#8220;real-use&#8221; tests as follows:</p>
<p>Opening iTunes: 17 seconds</p>
<p>Opening <a href="http://mekentosj.com/papers/">Papers</a> (PDF manager): 45 seconds</p>
<p>Opening VMWare Fusion and resuming a Windows XP VM with 512MB RAM: 50 seconds</p>
<p>Opening Microsoft Word: 24 seconds</p>
<p>Opening PASW 17 (SPSS): 24 seconds</p>
<p>Copying a 5.73 GB bzip file from one part of the hard drive to another: 4 minutes, 25 seconds.</p>
<p>Boot time from when the PGP passphrase is typed in to the OS X login screen: 1 minute, 16 seconds.</p>
<p>Login time from inputing password to when the Dock appears: 20 seconds</p>
<p>Time for start-up applications (<a href="http://culturedcode.com/things/">Things</a>, Skype (www.skype.com), and <a href="http://www.ambrosiasw.com/utilities/snapzprox/">Snapz Pro X</a> to load after inputing login password: 1 minute, 18 seconds.</p>
<p>All told, it took 2 minutes, 34 seconds to boot and load my start-up applications so I could begin using my computer normally.</p>
<h2>The Unencrypted SSD</h2>
<p>For comparison, I replaced the Seagate Momentus with a <a href="http://www.crucial.com/store/partspecs.aspx?IMODULE=CTFDDAC256MAG-1G1">Crucial RealSSD</a>, which as of April 2010, is one of the fastest SSD&#8217;s available.</p>
<p>Here are the same tests performed with the Crucial RealSSD unencrypted:<br />
<code><br />
Xbench Disk Test score: 300.13<span> </span></code></p>
<p><span> </span>Sequential<span> </span>184.15<span> </span></p>
<p><span> </span>Uncached Write<span> </span>254.02<span> </span>155.97 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Write<span> </span>216.33<span> </span>122.40 MB/sec [256K blocks]</p>
<p><span> </span>Uncached Read<span> </span>95.35<span> </span>27.91 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Read<span> </span>373.91<span> </span>187.93 MB/sec [256K blocks]</p>
<p><span> </span>Random<span> </span>810.71<span> </span></p>
<p><span> </span>Uncached Write<span> </span>1278.14<span> </span>135.31 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Write<span> </span>406.00<span> </span>129.98 MB/sec [256K blocks]</p>
<p><span> </span>Uncached Read<span> </span>1578.45<span> </span>11.19 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Read<span> </span>947.85<span> </span>175.88 MB/sec [256K blocks]</p>
<p>Dramatically faster. Here are some real-use comparisons:</p>
<p>Opening iTunes: 3 seconds</p>
<p>Opening Papers: 7 seconds</p>
<p>Opening VMWare Fusion: Loading Windows XP from suspend, 512MB RAM—7 seconds</p>
<p>Opening Word: 6 seconds</p>
<p>Opening PASW: 8 seconds</p>
<p>Copying the same 5.73 GB bz2 file: 52 seconds (five times faster than the encrypted hard drive).</p>
<p>Booting was as follows:</p>
<p>Boot time from Apple logo to the OS X login screen: 24 seconds.</p>
<p>Login time from inputing password to when the Dock appears: instantaneous</p>
<p>Time for start-up applications (Things, Skype, and Snapz Pro X) to load after inputing login password: 4 seconds.</p>
<h2>The Encrypted SSD</h2>
<p>Now with the tests of the encrypted hard drive and unencrypted SSD as baselines, I fully encrypted the 256 GB SSD using PGP 10 WDE. The process took two hours (which was in itself remarkably fast). Once the encryption process completed, I rebooted and ran the same tests again.<br />
<code><br />
Xbench Disk Test score: 103.12<span> </span></code></p>
<p><span> </span>Sequential<span> </span>65.10<span> </span></p>
<p><span> </span>Uncached Write<span> </span>78.22<span> </span>48.03 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Write<span> </span>65.20<span> </span>36.89 MB/sec [256K blocks]</p>
<p><span> </span>Uncached Read<span> </span>47.00<span> </span>13.75 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Read<span> </span>83.05<span> </span>41.74 MB/sec [256K blocks]</p>
<p><span> </span>Random<span> </span>247.91<span> </span></p>
<p><span> </span>Uncached Write<span> </span>370.32<span> </span>39.20 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Write<span> </span>120.49<span> </span>38.57 MB/sec [256K blocks]</p>
<p><span> </span>Uncached Read<span> </span>1562.82<span> </span>11.07 MB/sec [4K blocks]</p>
<p><span> </span>Uncached Read<span> </span>222.46<span> </span>41.28 MB/sec [256K blocks]</p>
<p>As expected, the SSD is substantially slower using PGP WDE. However, it is still much faster than the encrypted 7200 RPM drive. Importantly, the uncached read times are still much faster (between 3 to 22 times faster). Probably for this reason, the user interface still feels very responsive and applications still open very quickly, with little perceptive difference from the unencrypted SSD:</p>
<p>Opening iTunes: 3 seconds</p>
<p>Opening Papers: 10 seconds</p>
<p>Opening VMWare Fusion—Loading Windows XP from suspend, 512MB RAM: 10 seconds</p>
<p>Opening Word—7 seconds</p>
<p>Opening PASW—9 seconds</p>
<p>Boot time was slower than the unencrypted SSD:</p>
<p>Boot time from when the PGP passphrase is typed in to the OS X login screen: 46 seconds.</p>
<p>Login time from inputing password to when the Dock appears: instantaneous</p>
<p>Time for start-up applications (Things, Skype, and Snapz Pro X) to load after inputing login password: 6 seconds.</p>
<p>However, when writing a large file to the disk it was painfully evident that the SSD was much slower in its encrypted state. As before, I copied the same 5.72 GB file:</p>
<p>Copying the same 5.73 GB bz2 file—3 minutes, 49 seconds seconds (three minutes slower than the unencrypted SSD, only a minute faster than the 7200 RPM hard drive).</p>
<h2>Summary</h2>
<p>Using PGP WDE 10, the SSD is still substantially faster than an encrypted 7200 RPM drive, especially for disk reads. For many tasks, the laptop still feels very fast and responsive (except when large files are written to disk). Therefore, there is value in going from an encrypted 7200 RPM drive to an encrypted SSD—the encrypted SSD is markedly faster.</p>
<p>However, it&#8217;s clear that the encrypted SSD is much slower than in its unencrypted form (by as much as two thirds, going by the overall Xbench score). By analogy, encumbering the SSD with FDE is like harnessing a champion racehorse to a plow. However, if you are interested in FDE, security is probably more important to you than raw speed anyway.</p>
<h3>Update May 18, 2010:</h3>
<p>The above tests show performance before and after encryption for the SSD, but not for the 7200 RPM drive. Robert Silvers, of <a href="http://www.photomosaic.com">Photomosaic.com</a>, kindly provided these test results of his Seagate Momentous 7200 RPM drive before and after encrypting with PGP:</p>
<p><code>Without FDE:</code></p>
<p><code>Results	41.56<br />
System Info<br />
Xbench Version		1.3<br />
System Version		10.6.3 (10D2094)<br />
Physical RAM		4096 MB<br />
Model		MacBookPro6,1<br />
Drive Type		ST9500420ASG<br />
Disk Test	41.56<br />
Sequential	109.91<br />
Uncached Write	121.18	74.40 MB/sec [4K blocks]<br />
Uncached Write	130.87	74.05 MB/sec [256K blocks]<br />
Uncached Read	73.57	21.53 MB/sec [4K blocks]<br />
Uncached Read	144.78	72.77 MB/sec [256K blocks]<br />
Random	25.62<br />
Uncached Write	7.78	0.82 MB/sec [4K blocks]<br />
Uncached Write	139.43	44.64 MB/sec [256K blocks]<br />
Uncached Read	79.93	0.57 MB/sec [4K blocks]<br />
Uncached Read	126.19	23.41 MB/sec [256K blocks]</p>
<p>With PGP FDE:</p>
<p></code></p>
<p><code>Results	43.85<br />
Disk Test	43.85<br />
Sequential	58.90<br />
Uncached Write	69.96	42.96 MB/sec [4K blocks] (42% decrease)<br />
Uncached Write	56.13	31.76 MB/sec [256K blocks] (57% decrease)<br />
Uncached Read	47.55	13.92 MB/sec [4K blocks] (35% decrease)<br />
Uncached Read	67.69	34.02 MB/sec [256K blocks] (56% decrease)<br />
Random	34.93<br />
Uncached Write	12.67	1.34 MB/sec [4K blocks] (63% increase)<br />
Uncached Write	93.32	29.87 MB/sec [256K blocks] (33% decrease)<br />
Uncached Read	80.85	0.57 MB/sec [4K blocks] (0% change)<br />
Uncached Read	80.05	14.85 MB/sec [256K blocks] (37% decrease)<br />
</code></p>
<p>About a 46% average loss in performance for 256K blocks.</p>
<p>And here are the results of the same drive using <a href="http://www.checkpoint.com/products/datasecurity/pc/index.html">CheckPoint FDE</a> 3.3 for Mac:<br />
<code><br />
Disk Test	41.89<br />
Sequential	53.51<br />
Uncached Write	65.65	40.31 MB/sec [4K blocks]<br />
Uncached Write	43.13	24.40 MB/sec [256K blocks]<br />
Uncached Read	38.09	11.15 MB/sec [4K blocks]<br />
Uncached Read	99.15	49.83 MB/sec [256K blocks]<br />
Random	34.42<br />
Uncached Write	11.57	1.22 MB/sec [4K blocks]<br />
Uncached Write	136.74	43.78 MB/sec [256K blocks]<br />
Uncached Read	82.63	0.59 MB/sec [4K blocks]<br />
Uncached Read	96.35	17.88 MB/sec [256K blocks]<br />
</code><br />
The results overall are slightly slower than those for PGP.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyvance.com/blog/security/ssd_encryption/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Officially Started at Brigham Young University</title>
		<link>http://anthonyvance.com/blog/academics/at-byu/</link>
		<comments>http://anthonyvance.com/blog/academics/at-byu/#comments</comments>
		<pubDate>Thu, 27 Aug 2009 17:11:44 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[academics]]></category>

		<guid isPermaLink="false">http://anthonyvance.com/blog/?p=594</guid>
		<description><![CDATA[I have now officially started work as a full-time employee of Brigham Young University. This week I attended the university&#8217;s annual conferences, and it has me even more excited to be here. BYU is a special place. This fall I will research full time (no teaching), but I will participate in ISYS 571 &#8220;Academic Research in [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.byu.edu"><img class="size-full wp-image-216 aligncenter" title="byu_logo" src="http://ebizvm4.byu.edu/blog/wp-uploads/2008/12/byu_logo.png" alt="BYU logo" /></a></p>
<p style="text-align: left;">I have now officially started work as a full-time employee of <a href="http://www.byu.edu">Brigham Young University</a>. This week I attended the university&#8217;s annual conferences, and it has me even more excited to be here. BYU is a special place.</p>
<p style="text-align: left;">This fall I will research full time (no teaching), but I will participate in ISYS 571 &#8220;Academic Research in IS&#8221;, the first part of BYU&#8217;s PhD preparation program. This class, taught by Dr. Paul Lowry, is essentially a first-year PhD seminar. It&#8217;ll be fun this fall to review the fundamental concepts of science, research design, and theory building.</p>
<p style="text-align: left;">
]]></content:encoded>
			<wfw:commentRss>http://anthonyvance.com/blog/academics/at-byu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone 3GS Encryption Follow-up</title>
		<link>http://anthonyvance.com/blog/forensics/iphone-encryption-follow-up/</link>
		<comments>http://anthonyvance.com/blog/forensics/iphone-encryption-follow-up/#comments</comments>
		<pubDate>Sat, 25 Jul 2009 05:09:15 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[forensics]]></category>

		<guid isPermaLink="false">http://anthonyvance.com/blog/?p=593</guid>
		<description><![CDATA[I wrote last month about the new hardware encryption feature of the iPhone 3GS, which some have claimed provides the iPhone with &#8220;enterprise-class security&#8221;. However, now that the iPhone 3GS has been out for a month, Jonathan Zdziarski, author of iPhone Forensics, has shown that the encryption on the 3GS is much weaker than suspected. In this Wired [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote last month about the new hardware encryption feature of the iPhone 3GS, which some have <a href="http://db.tidbits.com/article/10416">claimed</a> provides the iPhone with &#8220;enterprise-class security&#8221;. However, now that the iPhone 3GS has been out for a month, Jonathan Zdziarski, author of <em><a href="http://books.google.com/books?id=R1XArTHPn9QC">iPhone Forensics</a><span style="font-style: normal;">, has shown that the encryption on the 3GS is much weaker than suspected.</span></em></p>
<p><em><span style="font-style: normal;"> In this Wired <a href="http://www.wired.com/gadgetlab/2009/07/iphone-encryption/">article</a> and associated <a href="http://www.youtube.com/watch?v=kHdNoKIZUCw">Youtube</a> <a href="http://www.youtube.com/watch?v=5wS3AMbXRLs">videos</a>, Jonathan shows that while the iPhone&#8217;s disk is encrypted, the kernel decrypts the data when it is requested by widely-available open source tools. Jonathan will also demo how this works in an O&#8217;Reilly Media <a href="https://oreillymedia.webex.com/mw0306l/mywebex/default.do?siteurl=oreillymedia">webcast</a> on July 29th.</span></em></p>
<p>This is pretty laughable security. It is essentially encryption in name only. This is a good example of why it is not enough for a device or software to correctly implement a secure encryption algorithm (in this case AES 256). All other aspects of the system must be designed securely.</p>
<p>I love my iPhone 3GS for its refined UI experience and third-party applications, but it&#8217;s clear that security has relatively little emphasis in the iPhone&#8217;s ongoing development.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyvance.com/blog/forensics/iphone-encryption-follow-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HICSS EndNote Style</title>
		<link>http://anthonyvance.com/blog/academics/hicss-endnote-style/</link>
		<comments>http://anthonyvance.com/blog/academics/hicss-endnote-style/#comments</comments>
		<pubDate>Thu, 18 Jun 2009 14:31:31 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[academics]]></category>

		<guid isPermaLink="false">http://anthonyvance.com/blog/?p=592</guid>
		<description><![CDATA[In preparing a manuscript for HICSS today, I googled for a HICSS EndNote style (for the bibliography) but couldn&#8217;t find one. Here is the style I created so that someone googling for this same thing can find it in the future: HICSS EndNote style Update: Well, that didn&#8217;t take long. Two hours later and this [...]]]></description>
			<content:encoded><![CDATA[<p>In preparing a manuscript for <a href="http://www.hicss.hawaii.edu/hicss_43/apahome43.htm">HICSS</a> today, I googled for a HICSS EndNote style (for the bibliography) but couldn&#8217;t find one. Here is the style I created so that someone googling for this same thing can find it in the future:</p>
<p><a href="http://anthonyvance.com/download/HICSS.ens">HICSS EndNote style</a></p>
<p>Update: Well, that didn&#8217;t take long. Two hours later and this post is the top hit when entering  &#8220;<a href="http://www.google.com/search?&#038;q=hicss+endnote+style">hicss endnote style</a>&#8221; into Google.  It&#8217;s amazing how encompassing Google is. </p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyvance.com/blog/academics/hicss-endnote-style/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>The iPhone 3GS and Forensics: Encryption Changes the Game?</title>
		<link>http://anthonyvance.com/blog/forensics/iphone_encryption/</link>
		<comments>http://anthonyvance.com/blog/forensics/iphone_encryption/#comments</comments>
		<pubDate>Sat, 13 Jun 2009 22:26:29 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[forensics]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://anthonyvance.com/blog/?p=580</guid>
		<description><![CDATA[One of the new iPhone 3GS features that has received little attention this week is hardware encryption. However, from a forensics standpoint, this is probably the most significant feature of the new update. The feature is buried at the bottom of this &#8220;more features&#8221; page: Phil Schiller also briefly mentions this feature at 1:52 of [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.apple.com/iphone/iphone-3g-s/"><img class="alignnone size-full wp-image-583" title="iPhone 3GS" src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/06/iphone3gs1.png" alt="" /></a></p>
<p>One of the new iPhone 3GS features that has received little attention this week is hardware encryption. However, from a forensics standpoint, this is probably the most significant feature of the new update. The feature is buried at the bottom of this &#8220;<a href="http://www.apple.com/iphone/iphone-3g-s/more-features.html">more features</a>&#8221; page:</p>
<p style="text-align: center;"><a href="http://www.apple.com/iphone/iphone-3g-s/more-features.html"><img class="alignnone size-full wp-image-582 aligncenter" title="iphone-encryption" src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/06/iphone-encryption.png" alt="" width="323" height="145" /></a></p>
<p style="text-align: left;">Phil Schiller also briefly <a href="http://ebizvm4.byu.edu/blog/wp-uploads/2009/06/iphone-hardware-encryption.m4a">mentions</a> this feature at 1:52 of the Apple keynote.</p>
<h2>Why Encryption on the iPhone Matters</h2>
<p>Encryption on the iPhone matters to businesses because the iPhone can store potentially sensitive information. Among other things, forensics investigators can recover the following from iPhones (from <em><a href="http://books.google.com/books?id=R1XArTHPn9QC">iPhone Forensics</a></em> by Jonathan Zdziarski):</p>
<ul>
<li>Keyboard caches containing usernames, passwords, and nearly everything typed on the iPhone.</li>
<li>Screenshots of the last state of an application before the home button is pressed to return to the main menu.</li>
<li>Deleted images.</li>
<li>Deleted calendar entries and contacts.</li>
<li>A record of the last 100 calls made.</li>
<li>Viewed Google Maps images and directions.</li>
<li>Browser history and caches, even when deleted.</li>
<li>Deleted email messages.</li>
<li>Deleted voicemail.</li>
<li>Pairing records establishing which computers the iPhone was synced with.</li>
</ul>
<p>You might think that extensive forensics experience and knowledge of the iPhone operating and file system is needed to recover this data. However, several specialized forensics tools, such as <a href="http://www.paraben.com/">Paraben</a>&#8216;s <a href="http://www.paraben-forensics.com/catalog/product_info.php?products_id=405">Device Seizure</a> and the <a href="http://www.sixthlegion.com/">Sixth Legion</a>&#8216;s <a href="http://www.sixthlegion.com/">Wolf</a>, have automated this forensics process and can recover sensitive data from iPhones in seconds.</p>
<p style="text-align: center;"><a href="http://www.paraben-forensics.com/catalog/product_info.php?products_id=405"><img class="alignnone size-full wp-image-588" title="picture-7" src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/06/picture-7.png" alt="" width="500" height="127" /></a></p>
<p><br/></p>
<p style="text-align: center;"><a href="http://www.sixthlegion.com/"><img class="alignnone size-full wp-image-585 aligncenter" title="wolf2561" src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/06/wolf2561.png" alt="" /></a></p>
<p style="text-align: left;">So it is understandable that encryption on the iPhone is a highly requested feature by corporations, according to Phil Schiller. Hardware-based encryption on the iPhone could effectively nullify forensics work on the iPhone.</p>
<h2>Remote Wipe: A Potential Weakness</h2>
<p><a href="http://www.apple.com/iphone/iphone-3g-s/more-features.html"></a>However, one potential weakness in the iPhone encryption scheme is how the encryption key is stored, and is related to another new iPhone 3GS feature, instantaneous remote wipe:</p>
<p style="text-align: center;"><a href="http://www.apple.com/iphone/iphone-3g-s/more-features.html"><img class="alignnone size-full wp-image-586 aligncenter" title="remote-wipe" src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/06/remote-wipe.png" alt="" /></a></p>
<p style="text-align: left;">According to Schiller, hardware encryption on the iPhone 3GS enables instantaneous remote wipe. Apparently, rather than overwriting every bit as does the iPhone 3G, a remote wipe on the iPhone 3GS only overwrites the hardware encryption key, rendering all data on the iPhone unintelligible. This explains why if you later recover your iPhone 3GS, you can restore your data by enabling your MobileMe account on the iPhone, which apparently downloads the hardware encryption key to the iPhone, making the data on the iPhone readable again.</p>
<p style="text-align: left;">Although this feature is convenient, it does pose a potential security problem. If the hardware encryption key is hidden in the iPhone file system without being encrypted itself, then a forensics investigator could find the key and decrypt data on the iPhone. And forensics tools like a <a href="http://en.wikipedia.org/wiki/Faraday_cage">faraday cage</a> will prevent the iPhone from receiving a remote wipe command, lengthening the window to find the encryption key indefinitely.</p>
<p style="text-align: center;"><a href="http://www.paraben-conferences.com/"><img class="alignnone size-full wp-image-591" title="iphone_faraday_cage" src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/06/iphone_faraday_cage.png" alt="" width="500" height="185" /></a></p>
<p style="text-align: left;">Of course this would require specialized knowledge of the iPhone and cryptography, but that is exactly what forensics firms like Paraben and Sixth Legion have. And their expertise is encapsulated and automated in tools like Device Seizure and Wolf, extending this ability to more general users.</p>
<p>So while hardware encryption on the iPhone 3GS is an interesting development, unless the encryption key is itself somehow encrypted, it will be a matter of time before the forensics community learns a way to find the key and make forensic analysis of the iPhone 3GS possible.</p>
<p>[Update June 14, 2009: <a href="http://www.zdziarski.com/">Jonathan Zdziarski</a> of <em><a href="http://books.google.com/books?id=R1XArTHPn9QC">iPhone Forensics</a></em> left an insightful comment below.]</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyvance.com/blog/forensics/iphone_encryption/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
<enclosure url="http://ebizvm4.byu.edu/blog/wp-uploads/2009/06/iphone-hardware-encryption.m4a" length="811366" type="audio/mpeg" />
		</item>
		<item>
		<title>Security through Simplicity, Part 2</title>
		<link>http://anthonyvance.com/blog/security/elegant_solutions_part2/</link>
		<comments>http://anthonyvance.com/blog/security/elegant_solutions_part2/#comments</comments>
		<pubDate>Sat, 23 May 2009 19:07:48 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://anthonyvance.com/blog/?p=309</guid>
		<description><![CDATA[I wrote here that I love security measures that are simple. That is, those measures that improve security but require no more (and perhaps even less) effort than not using them. Here are three more examples. Passphrases Passphrases may not be an ideal security solution, but they are more secure and easier to remember and [...]]]></description>
			<content:encoded><![CDATA[<p>I wrote <a href="http://anthonyvance.com/blog/security/elegant_solutions/">here</a> that I love security measures that are simple. That is, those measures that improve security but require no more (and perhaps even less) effort than not using them. Here are three more examples.</p>
<p><center><a href="http://ebizvm4.byu.edu/blog/wp-uploads/2009/05/passphrase.png"><img src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/05/passphrase.png" alt="" title="passphrase" class="aligncenter size-full wp-image-313" /></a></center></p>
<h2>Passphrases</h2>
<p>Passphrases may not be an ideal security solution, but they are more secure and easier to remember and type than typical passwords. The fact is, passwords are the most prevalent form of authentication and they are not going away soon. Passphrases, then, usefully provide a more secure, easy-to-use alternative.</p>
<p>A friend of mine, Dr. Mark Keith of Arizona State University, demonstrated in <a href="http://aisel.aisnet.org/jais/vol10/iss2/2">a scientific study</a> that passphrases are more secure and easier to remember than typical passwords. First, he showed that because the average person&#8217;s vocabulary consists of 3,000 words (a low estimate), a five-word passphrase is stronger than an 8-letter password using alphanumeric and special characters (3000^5 > 95^8).</p>
<p>He also showed that passphrases, although longer than passwords, are easier to remember and easier to use than passwords. The key is writing passphrases in standard written English, or what Keith et al. call &#8220;word processing mode&#8221; (WPM). Passphrases written in this way (like the passphrase above) are not only easier to remember, but they are also significantly easier to type and result in less login mistakes.</p>
<p><center><a href="http://www.openssh.com/"><img src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/05/puffy-1.png" alt="" title="puffy-1" width="303" height="256" class="aligncenter size-full wp-image-312" /></a></center></p>
<h2>SSH Public Key Authentication</h2>
<p>This one is more esoteric, but for a server administrator, <a href="http://sial.org/howto/openssh/publickey-auth/">SSH public key authentication</a> is the model of security through simplicity. Rather than having to remember a password to various servers, a pair of public/private key files can be used to authenticate users instantaneously. Additionally, if a SSH public key is used in place of a password, password-guessing attacks cannot be used.</p>
<p><center><a href="http://www.apple.com/macosx/features/timemachine.html"><img src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/05/time-machine-icon.png" alt="" title="time-machine-icon" width="256" height="256" class="aligncenter size-full wp-image-310" /></a></center></p>
<h2>Automatic Backup</h2>
<p>Backup is not typically thought of as a security measure, but it is probably the most important means to protect data from threats, malicious or accidental. The best way to back up data is also the simplest: routinely backing up data using automatic backup software. My favorite offline backup solution is <a href="http://www.apple.com/macosx/features/timemachine.html">Time Machine</a>, which seamlessly backs up everything in the background, without any user involvement. Automatic backups is probably one of the simplest measures on this list, but also likely yields the most security for data.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyvance.com/blog/security/elegant_solutions_part2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security through Simplicity: Three Elegant End-User Security Solutions</title>
		<link>http://anthonyvance.com/blog/security/elegant_solutions/</link>
		<comments>http://anthonyvance.com/blog/security/elegant_solutions/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 19:53:49 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://anthonyvance.com/blog/?p=261</guid>
		<description><![CDATA[IT security solutions typically involve trade-offs, usually in the form of trading increased security for reduced convenience or added hassle. However, not all security measures require this trade-off. Some solutions—aside from the initial expense in time and money to set them up—require virtually no compromise in convenience. In fact, some may even make tasks more [...]]]></description>
			<content:encoded><![CDATA[<p>IT security solutions typically involve trade-offs, usually in the form of trading increased security for reduced convenience or added hassle. However, not all security measures require this trade-off.</p>
<p>Some solutions—aside from the initial expense in time and money to set them up—require virtually no compromise in convenience. In fact, some may even make tasks more efficient or add functionality. Below are three examples.</p>
<p><center><a href="http://agilewebsolutions.com/products/1Password"><img src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/03/1password-icon.png" alt="" title="1password-icon"/></a></center></p>
<h2>Password Manager</h2>
<p>Passwords are not elegant. To be worth anything they must be hard to guess, which usually makes them hard to remember. To make matters worse, users are often required to change their passwords on a regular basis, like every 90 days.</p>
<p>But the Web is the worst part. A typical user might have 15-30 user accounts that each require a password. Perniciously, most users soon tire of mentally maintaining a portfolio of unique passwords and relent to using the same password for every web site account. It has been said that the easiest way to steal passwords is to create an online service that requires a password. Whatever password a new user submits is most likely the same password for a dozen other online services.</p>
<p>The way to stop this wheel of pain is to use a password manager. A password manager is software that securely stores all of your passwords. Instead of having to remember 30 or more passwords, with a password manager you only need to know one—the password that unlocks the password manager.</p>
<p>Because so many passwords people must remember are for web sites, the best password managers integrate with web browsers. Using a password manager, logging into a website requires no thought—a simple keystroke retrieves the password from the password safe and fills in the username and password fields. When creating a new account at a website, the password manager generates a password for you so you don&#8217;t have to waste any thought coming up with a unique, unguessable password.</p>
<p>My favorite password manager is <a href="http://agilewebsolutions.com/products/1Password">1Password</a> for OS X. It has saved me a lot of time and grief. Life is too short to manage passwords.</p>
<p><center><a href="http://ebizvm4.byu.edu/blog/wp-uploads/2009/03/filevault-small.png"><img src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/03/filevault-small.png" alt="" title="filevault-small" width="256" height="258" class="alignnone size-full wp-image-267" /></a></center></p>
<h2>Full Disk Encryption</h2>
<p>Another elegant security solution is disk encryption, which encrypts part or all of a hard disk. It is probably the most transparent security solution on this list because aside from entering in a password, the user is unaware that data is encrypted—there is almost no perceptible slow-down in performance. And, once encrypted, you don&#8217;t have to worry about losing your hard drive or protecting certain documents. All of your data are protected all of the time. I currently use <a href="http://www.pgp.com/mac/">PGP Desktop 9.10 for Mac</a>.</p>
<p><center><a href="http://ebizvm4.byu.edu/blog/wp-uploads/2009/03/shimo-icon.png"><img src="http://ebizvm4.byu.edu/blog/wp-uploads/2009/03/shimo-icon.png" alt="" title="shimo-icon" width="256" height="256" class="alignnone size-full wp-image-264" /></a></center></p>
<h2>VPN</h2>
<p>I&#8217;ve done a lot of traveling in the last few months and so have used a lot of public Internet access points at airports, hotels, and other locations. Public Internet access points are not always securely configured. In some hotels for example, it is possible to sniff or eavesdrop on the Internet traffic of other guests at the hotel accessing the Internet. This is an easy way to collect passwords and other information.</p>
<p>One elegant solution to this problem is a VPN, or Virtual Private Network. The purpose of a VPN is to create a secure connection through an untrusted network to a trusted one. For example, my VPN creates a secure, encrypted connection to Georgia State University, no matter where I am in the world. All my traffic first is sent to GSU&#8217;s network, which I trust, and from there it continues unencrypted to sites I wish to access.</p>
<p>A VPN is elegant because once the VPN connection is established, all traffic is encrypted seamlessly in the background. You can access the Internet as you normally would, but now all of your Internet traffic is encrypted and safe from eavesdroppers.</p>
<p>My favorite VPN client is <a href="http://www.shimoapp.com/">Shimo</a>. Not only does it support a wide variety of VPN types, it is dead simple. Creating a VPN connection, even with CISCO VPN&#8217;s, only takes one button click. Plus, if I suspend my laptop while a VPN connection is active Shimo will automatically create a new VPN connection when the laptop wakes.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyvance.com/blog/security/elegant_solutions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Resuming SCP file transfers</title>
		<link>http://anthonyvance.com/blog/linux/resuming-scp-file-transfers/</link>
		<comments>http://anthonyvance.com/blog/linux/resuming-scp-file-transfers/#comments</comments>
		<pubDate>Fri, 12 Dec 2008 10:23:10 +0000</pubDate>
		<dc:creator>Tony</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://anthonyvance.com/blog/?p=249</guid>
		<description><![CDATA[After a large file transfer using the UNIX command SCP failed at around 90% for the third time, I finally had the sense to google how to resume an SCP file transfer. It turns out that you can&#8217;t. But you can tunnel RSYNC over SSH which works like a charm. This tip is posted in [...]]]></description>
			<content:encoded><![CDATA[<p>After a large file transfer using the UNIX command <a href="http://en.wikipedia.org/wiki/Secure_copy">SCP</a> failed at around 90% for the third time, I finally had the sense to google how to resume an SCP file transfer.</p>
<p>It turns out that you can&#8217;t. But you can tunnel RSYNC over SSH which works like a charm. This tip is posted in numerous places online, but my SSH setup at home is <a href="http://anthonyvance.com/blog/security/disable_ssh_passwords/">slightly different</a>, so I have to modify the SSH option as follows:</p>
<p><code>
<pre>rsync --human-readable --partial --progress --rsh="ssh -l username -p 2012"
domain.name:/path/to/file .</pre>
<p></code></p>
<p>This just points out again how great a program <a href="http://en.wikipedia.org/wiki/Ssh">SSH</a> is. Its uses are truly multitudinous. It&#8217;s like the swiss army knife of UNIX commands.</p>
]]></content:encoded>
			<wfw:commentRss>http://anthonyvance.com/blog/linux/resuming-scp-file-transfers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
