<?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/"
		xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Inside the Core</title>
	<atom:link href="http://insidethecore.com/ITC_Blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://insidethecore.com/ITC_Blog</link>
	<description></description>
	<lastBuildDate>Mon, 24 Oct 2011 05:03:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<copyright>2006-2007 </copyright>
	<managingEditor>maclovin@insidethecore.com (The MacDudes)</managingEditor>
	<webMaster>maclovin@insidethecore.com (The MacDudes)</webMaster>
	<category>Technology</category>
	<ttl>1440</ttl>
	<image>
		<url>http://insidethecore.com/ITC_Blog/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
		<title>Inside the Core</title>
		<link>http://insidethecore.com/ITC_Blog</link>
		<width>144</width>
		<height>144</height>
	</image>
	<itunes:subtitle></itunes:subtitle>
	<itunes:summary>The Macintosh and Apple Device Podcast</itunes:summary>
	<itunes:keywords>macintosh, mac os x, forensics, apple, iWork, computer, iPhone, mac</itunes:keywords>
	<itunes:category text="Technology">
		<itunes:category text="Software How-To" />
	</itunes:category>
	<itunes:author>The MacDudes</itunes:author>
	<itunes:owner>
		<itunes:name>The MacDudes</itunes:name>
		<itunes:email>maclovin@insidethecore.com</itunes:email>
	</itunes:owner>
	<itunes:block>no</itunes:block>
	<itunes:explicit>no</itunes:explicit>
	<itunes:image href="http://insidethecore.com/ITC_Blog/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<item>
		<title>Decoding the KCPaswword</title>
		<link>http://insidethecore.com/ITC_Blog/2011/10/23/decoding-the-kcpaswword/</link>
		<comments>http://insidethecore.com/ITC_Blog/2011/10/23/decoding-the-kcpaswword/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 21:36:09 +0000</pubDate>
		<dc:creator>MacLovin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[MacLovin]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[Passwords]]></category>

		<guid isPermaLink="false">http://insidethecore.com/ITC_Blog/?p=120</guid>
		<description><![CDATA[Apple has always touted the security of OS X as one of its strongest points. Security features such as required authentication, the login.keychain, and Filevault, when turned on, are seamlessly integrated into the operating system. It is because of this I find it hard to believe that Apple has used a very weak encryption method, [...]]]></description>
			<content:encoded><![CDATA[<p>Apple has always touted the security of OS X as one of its strongest points. Security features such as required authentication, the login.keychain, and Filevault, when turned on, are seamlessly integrated into the operating system. It is because of this I find it hard to believe that Apple has used a very weak encryption method, at least OS 10.2, to obfuscate a user’s password. Now, this method of encrypting the automatic log in user&#8217;s password has been around for quite some time. The earliest mention I can find of Automatic Login is in a presentation by Leon Towns-von Stauber in 2003<a href="#_edn1">[i]</a> (OS 10.2 &amp; 10.3) and in the Apple mailing lists<a href="#_edn2">[ii]</a> from 2004. The encryption method, XOR, is used to conceal the user’s login password when Automatic Login in turned on for a user account.</p>
<p>OS X allows a user to select one of three ways to login to their account. Login options can be set in the Accounts preference in the System Preferences application. There are three different methods that we can use to log in on a Mac: List of users, Name and password, and Automatic Login.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-133" title="user_accounts" src="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/user_accounts.png" alt="User Accounts" width="320" height="253" /></p>
<p style="text-align: center;">Figure 1 Login Options</p>
<p style="text-align: center;">
<p>Probably the most widely used method of logging onto a Mac when there is more than one user is the  “List of users”. The list of users shows the name of the users and their icon, which is selected upon creation of the user account. In order to login to the account, one only needs to click on the icon and then the password window will open which enables the user to type in the password and gain entry to their account.</p>
<p style="text-align: center;"><img class="aligncenter size-full wp-image-132" title="mac-os-x-login-screen" src="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/mac-os-x-login-screen.jpg" alt="" width="205" height="183" /></p>
<p style="text-align: center;">Figure 2 List of Names</p>
<p style="text-align: center;">
<p>A more secure option is the “Name and password” login. This method provides only a login window that has an area to type in a username and the password. There is no other information such as a list of users that can be used for social engineering in order to gain access to a user&#8217;s account.</p>
<p style="text-align: center;"><a href="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/mac_login.jpg"><img class="aligncenter size-full wp-image-131" title="mac_login" src="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/mac_login.jpg" alt="" width="246" height="189" /></a></p>
<p style="text-align: center;">Figure 3 Name &amp; Password</p>
<p style="text-align: center;">
<p>By default with a new Mac or a fresh installation of Mac OS X, the automatic login is turned on. Automatic Login bypasses the need to login and allows the computer to boot straight into the users Home account. There is no requirement to authenticate or other security function associated with the automatic logging for access to the Home folder. As mentioned on Inside the Core, the episode on hardening your Mac, it&#8217;s wise to turn off automatic login because of the potential for full access to your user account if the laptop is stolen or lost.</p>
<p>So what happens when automatic login is turned on? When the user is selected, an authentication window is opened and the password for the user must be inputted. Once the authentication is successful, the /private/Library/Preferences/com.apple.loginwindow.plist is amended to show the automatic login user.</p>
<p style="text-align: center;"><a href="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/loginwindow.png"><img class="aligncenter size-full wp-image-130" title="loginwindow" src="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/loginwindow.png" alt="" width="330" height="180" /></a>Figure 4 com.apple.loginwindow.plist</p>
<p style="text-align: center;">
<p>Once the plist has been updated, a file, kcpassword, is created in the /etc folder. The kcpassword file holds the login password for that automatic login user only. Just looking at the file will not reveal much other than a string of hex characters. The user password is encrypted using XOR, or exclusive or. XOR is an encryption algorithm that combines two binary strings to create a 3<sup>rd</sup> encrypted string. The encryption method is very weak and decoding it, once the key string is known, is simple.</p>
<p style="text-align: center;"><a href="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/full_kc_pass.png"><img class="aligncenter size-full wp-image-127" title="full_kc_pass" src="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/full_kc_pass.png" alt="" width="360" height="394" /></a>Figure 5 hex editor view of the kcpassord file</p>
<p style="text-align: center;">
<p style="text-align: center;">
<p>Gavin Brock decoded the kcpassword file and stated in his blog <a href="#_edn3">[iii]</a> that the file uses an 11 byte pattern that repeats depending on the length of the password. The password itself uses a 12 byte string. This means that if the password is 11 or less characters, there will only be 12 bytes shown in the kcpassword. If the password were 12 characters in length, then there would be 24 bytes used and if it were 25 characters long, the kcpassword would show 36 bytes used.</p>
<p style="text-align: center;"><a href="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/half_kcpass_highlight.png"><img class="aligncenter size-full wp-image-128" title="half_kcpass_highlight" src="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/half_kcpass_highlight.png" alt="" width="452" height="165" /></a></p>
<p style="text-align: center;">Figure 6 Example of a 11 character password</p>
<p style="text-align: center;">
<p>Brock provided the key string that is used to decode the user password. The XOR key 11 bytes are as follows:</p>
<p>0&#215;7D  0&#215;89  0&#215;52  0&#215;23  0xD2  0xBC  0xDD  0xEA  0xA3  0xB9  0&#215;1F</p>
<p>Just by looking at the XOR password, you can&#8217;t tell where it stops and the salted data begins. By matching the password byte by byte with the key string we can tell where the password ends by looking for the same hex byte in each string. An example of this would be the following:</p>
<p style="text-align: center;"><a href="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/half_kcpass_ibored.png"><img class="aligncenter size-full wp-image-129" title="half_kcpass_ibored" src="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/half_kcpass_ibored.png" alt="" width="453" height="165" /></a></p>
<p>Key = 0&#215;7D  0&#215;89  0&#215;52  0&#215;23  0xD2  <strong><span style="color: #ff0000;">0xBC</span></strong> 0xDD  0xEA  0xA3  0xB9  0&#215;1F</p>
<p>Pwd= 0&#215;15  0xEC   0&#215;3E  0&#215;4F  0xBD  <strong><span style="color: #ff0000;">0xBC</span></strong> 0xBA  0&#215;2C  0xCA  0xCA  0&#215;4E  0&#215;82</p>
<p>As we look from left to right, we see that the 6th byte of each string is the same. This represents the null and the end of the password. This means that the password is 5 characters in length. The remaining hex values to the right of the null appear to be of no value to us.</p>
<p>How do we decrypt the password using the key string? As an example, lets say that the first byte in a password is 0&#215;0D. 0&#215;7D is the first byte in the key string for the XOR operation that is used to decrypt the kcpassword. If we break both down to their binary equivalents we can easily break the encryption for the first byte.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="61" valign="top"></td>
<td style="text-align: center;" width="61" valign="top"><strong>128</strong></td>
<td style="text-align: center;" width="61" valign="top"><strong>64</strong></td>
<td style="text-align: center;" width="61" valign="top"><strong>32</strong></td>
<td style="text-align: center;" width="61" valign="top"><strong>16</strong></td>
<td style="text-align: center;" width="61" valign="top"><strong>8</strong></td>
<td style="text-align: center;" width="61" valign="top"><strong>4</strong></td>
<td style="text-align: center;" width="61" valign="top"><strong>2</strong></td>
<td style="text-align: center;" width="61" valign="top"><strong>1</strong></td>
</tr>
<tr>
<td width="61" valign="top">0&#215;7D</td>
<td style="text-align: center;" width="61" valign="top">0</td>
<td style="text-align: center;" width="61" valign="top">1</td>
<td style="text-align: center;" width="61" valign="top">1</td>
<td style="text-align: center;" width="61" valign="top">1</td>
<td style="text-align: center;" width="61" valign="top">1</td>
<td style="text-align: center;" width="61" valign="top">1</td>
<td style="text-align: center;" width="61" valign="top">0</td>
<td style="text-align: center;" width="61" valign="top">1</td>
</tr>
<tr>
<td width="61" valign="top">0&#215;0D</td>
<td style="text-align: center;" width="61" valign="top">0</td>
<td style="text-align: center;" width="61" valign="top">0</td>
<td style="text-align: center;" width="61" valign="top">0</td>
<td style="text-align: center;" width="61" valign="top">0</td>
<td style="text-align: center;" width="61" valign="top">1</td>
<td style="text-align: center;" width="61" valign="top">1</td>
<td style="text-align: center;" width="61" valign="top">0</td>
<td style="text-align: center;" width="61" valign="top">1</td>
</tr>
<tr>
<td width="61" valign="top"><strong>Result</strong></td>
<td style="text-align: center;" width="61" valign="top"><strong><span style="color: #0000ff;">0</span></strong></td>
<td style="text-align: center;" width="61" valign="top"><strong><span style="color: #0000ff;">1</span></strong></td>
<td style="text-align: center;" width="61" valign="top"><strong><span style="color: #0000ff;">1</span></strong></td>
<td style="text-align: center;" width="61" valign="top"><strong><span style="color: #0000ff;">1</span></strong></td>
<td style="text-align: center;" width="61" valign="top"><strong><span style="color: #0000ff;">0</span></strong></td>
<td style="text-align: center;" width="61" valign="top"><strong><span style="color: #0000ff;">0</span></strong></td>
<td style="text-align: center;" width="61" valign="top"><strong><span style="color: #0000ff;">0</span></strong></td>
<td style="text-align: center;" width="61" valign="top"><strong><span style="color: #0000ff;">0</span></strong></td>
</tr>
</tbody>
</table>
<p>The result is achieved by comparing each of the bits. In XOR, if two bits are the same then they are False (0). If the bits are different, then they are True (1). As we read across the above table we see the following;</p>
<p>1 = 1 XOR 1 = 0                         16 =  1 XOR 0 = 1</p>
<p>2 = 0 XOR 0 = 0                         32 =  1 XOR 0 = 1</p>
<p>4 = 2 XOR 1 = 0                         64 =  1 XOR 0 = 1</p>
<p>8 = 1 XOR 1 = 0                       128 =  0 XOR 0 = 0</p>
<p>When we convert 01110000 to hex we get 0&#215;70, further converting it to ASCII gives us the first letter of the password, “p”.</p>
<p>While we can do this for each of the characters in the password, an easier way is to use a programmer’s calculator, such as the one that is native to OS X. The following is the way to setup the calculator and decrypt the password:</p>
<p style="text-align: center;">
<p style="text-align: left;">1. Setup the calculator so that it is set to 16 and ASCIII</p>
<p style="text-align: left;">2. First, type in the first byte of the key string, then click on the XOR</p>
<p style="text-align: left;">3. Type in the corresponding password byte &amp; press<span style="text-align: -webkit-auto;"> </span><strong>return on the keyboard</strong></p>
<p style="text-align: left;">4. The ASCII character will be presented</p>
<p style="text-align: center;"><a href="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/calc4.png"><img class="size-full wp-image-126 aligncenter" title="Setting up Calc" src="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/calc4.png" alt="" width="227" height="227" /></a></p>
<p style="text-align: center;"><a href="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/calcscrop1.jpg"><img class="size-full wp-image-153                         aligncenter" title="XOR Functions" src="http://insidethecore.com/ITC_Blog/wp-content/uploads/2011/10/calcscrop1.jpg" alt="" width="567" height="185" /></a></p>
<p>By first inputting the XOR key string, one byte at a time, we convert each password byte to ascii. The following is the result:</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="text-align: center;" width="46" valign="top">0&#215;7D</td>
<td style="text-align: center;" width="46" valign="top">0&#215;89</td>
<td style="text-align: center;" width="46" valign="top">0&#215;52</td>
<td style="text-align: center;" width="46" valign="top">0&#215;23</td>
<td style="text-align: center;" width="46" valign="top">0xD2</td>
<td style="text-align: center;" width="46" valign="top"><strong><span style="color: #ff0000;">0xBC</span></strong></td>
<td style="text-align: center;" width="46" valign="top">0xDD</td>
<td style="text-align: center;" width="46" valign="top">0xEA</td>
<td style="text-align: center;" width="46" valign="top">0xA3</td>
<td style="text-align: center;" width="46" valign="top">0xB9</td>
<td style="text-align: center;" width="46" valign="top">0&#215;1F</td>
<td width="46" valign="top"></td>
</tr>
<tr>
<td style="text-align: center;" width="46" valign="top">0&#215;15</td>
<td style="text-align: center;" width="46" valign="top">0xEC</td>
<td style="text-align: center;" width="46" valign="top">0&#215;3E</td>
<td style="text-align: center;" width="46" valign="top">0&#215;4F</td>
<td style="text-align: center;" width="46" valign="top">0xBD</td>
<td style="text-align: center;" width="46" valign="top"><strong><span style="color: #ff0000;">0xBC</span></strong></td>
<td style="text-align: center;" width="46" valign="top">0xBA</td>
<td style="text-align: center;" width="46" valign="top">0&#215;2C</td>
<td style="text-align: center;" width="46" valign="top">0xCA</td>
<td style="text-align: center;" width="46" valign="top">0xCA</td>
<td style="text-align: center;" width="46" valign="top">0&#215;4E</td>
<td style="text-align: center;" width="46" valign="top">0&#215;82</td>
</tr>
<tr>
<td style="text-align: center;" width="46"><strong><span style="color: #0000ff;">h</span></strong></td>
<td style="text-align: center;" width="46"><strong><span style="color: #0000ff;">e</span></strong></td>
<td style="text-align: center;" width="46"><strong><span style="color: #0000ff;">l</span></strong></td>
<td style="text-align: center;" width="46"><strong><span style="color: #0000ff;">l</span></strong></td>
<td style="text-align: center;" width="46"><strong><span style="color: #0000ff;">o</span></strong></td>
<td style="text-align: center;" width="46"><strong><span style="color: #ff0000;">null</span></strong></td>
<td width="46" valign="top"></td>
<td width="46" valign="top"></td>
<td width="46" valign="top"></td>
<td width="46" valign="top"></td>
<td width="46" valign="top"></td>
<td width="46" valign="top"></td>
</tr>
</tbody>
</table>
<p>Here is an example of a longer password and how the XOR key string repeats itself. The password is 13 characters length so it uses 24 bytes in total.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="46" valign="top">
<p style="text-align: center;">0&#215;7D</p>
</td>
<td width="46" valign="top">0&#215;89</td>
<td width="46" valign="top">0&#215;52</td>
<td width="46" valign="top">0&#215;23</td>
<td width="46" valign="top">0xD2</td>
<td width="46" valign="top">0xBC</td>
<td width="46" valign="top">0xDD</td>
<td width="46" valign="top">0xEA</td>
<td width="46" valign="top">0xA3</td>
<td width="46" valign="top">0xB9</td>
<td width="46" valign="top">0&#215;1F</td>
<td width="46" valign="top">
<p style="text-align: center;">0&#215;7d</p>
</td>
</tr>
<tr>
<td width="46">
<p style="text-align: center;">0&#215;0d</p>
</td>
<td width="46">0xfe</td>
<td width="46">0&#215;36</td>
<td width="46">0&#215;17</td>
<td width="46">0xbf</td>
<td width="46">0xdd</td>
<td width="46">0xbe</td>
<td width="46">0&#215;86</td>
<td width="46">0xcc</td>
<td width="46">0xcf</td>
<td width="46">0&#215;76</td>
<td width="46">
<p style="text-align: center;">0&#215;13</p>
</td>
</tr>
<tr>
<td width="46">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>p</strong></span></p>
</td>
<td width="46">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>w</strong></span></p>
</td>
<td width="46">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>d</strong></span></p>
</td>
<td width="46">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>4</strong></span></p>
</td>
<td width="46">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>m</strong></span></p>
</td>
<td width="46">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>a</strong></span></p>
</td>
<td width="46" valign="top">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>c</strong></span></p>
</td>
<td width="46" valign="top">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>l</strong></span></p>
</td>
<td width="46" valign="top">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>o</strong></span></p>
</td>
<td width="46" valign="top">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>v</strong></span></p>
</td>
<td width="46" valign="top">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>i</strong></span></p>
</td>
<td width="46" valign="top">
<p style="text-align: center;"><span style="color: #0000ff;"><strong>n</strong></span></p>
</td>
</tr>
</tbody>
</table>
<table border="1" cellspacing="0" cellpadding="0" width="551">
<tbody>
<tr>
<td width="46" valign="top">
<p style="text-align: center;"><strong><span style="color: #ff0000;">0&#215;89</span></strong></p>
</td>
<td width="46" valign="top">
<p style="text-align: center;">0&#215;52</p>
</td>
<td width="46" valign="top">
<p style="text-align: center;">0&#215;23</p>
</td>
<td width="46" valign="top">
<p style="text-align: center;">0xD2</p>
</td>
<td width="46" valign="top">
<p style="text-align: center;">0xBC</p>
</td>
<td width="46" valign="top">
<p style="text-align: center;">0xDD</p>
</td>
<td width="46" valign="top">
<p style="text-align: center;">0xEA</p>
</td>
<td width="46" valign="top">
<p style="text-align: center;">0xA3</p>
</td>
<td width="46" valign="top">
<p style="text-align: center;">0xB9</p>
</td>
<td width="46" valign="top">
<p style="text-align: center;">0&#215;1F</p>
</td>
<td width="46" valign="top">
<p style="text-align: center;">0&#215;7D</p>
</td>
<td width="46" valign="top">
<p style="text-align: center;">0&#215;89</p>
</td>
</tr>
<tr>
<td width="46">
<p style="text-align: center;"><strong><span style="color: #ff0000;">0&#215;89</span></strong></p>
</td>
<td width="46">
<p style="text-align: center;">0&#215;18</p>
</td>
<td width="46">
<p style="text-align: center;">0xCF</p>
</td>
<td width="46">
<p style="text-align: center;">0xFB</p>
</td>
<td width="46">
<p style="text-align: center;">0&#215;71</p>
</td>
<td width="46">
<p style="text-align: center;">0&#215;67</p>
</td>
<td width="46">
<p style="text-align: center;">0&#215;41</p>
</td>
<td width="46">
<p style="text-align: center;">0&#215;51</p>
</td>
<td width="46">
<p style="text-align: center;">0&#215;42</p>
</td>
<td width="46">
<p style="text-align: center;">0xFC</p>
</td>
<td width="46">
<p style="text-align: center;">0&#215;3B</p>
</td>
<td width="46">
<p style="text-align: center;">0xF5</p>
</td>
</tr>
<tr>
<td width="46">
<p style="text-align: center;"><strong><span style="color: #ff0000;"><strong>null</strong></span></strong></p>
</td>
<td width="46"><strong> </strong></td>
<td width="46"><strong> </strong></td>
<td width="46"></td>
<td width="46"></td>
<td width="46" valign="top"></td>
<td width="46" valign="top"></td>
<td width="46" valign="top"></td>
<td width="46" valign="top"></td>
<td width="46" valign="top"></td>
<td width="46"><strong> </strong></td>
<td width="46" valign="top"></td>
</tr>
</tbody>
</table>
<p>The ability to decode the kcpassword file may have a limited impact for us forensically. Auto-login enabled provides the ability to boot a restored drive or a VM and gain access to the user account and open the login.keychain. It would be of help if perhaps the image were not bootable such as with an unmountable file system, which if you have been doing Mac forensics for any time you have run into at least once. In this instance, attaining the login password for the user would allow for the opening of an extracted login.keychain, which may provide additional needed passwords to DMGs, secure notes, and wireless networks.The kcpassword will only reside in the /etc folder while Automatic Login is turned on. If the user who has Automatic Login is changed to another user, the prior kcpassword file is deleted and a new file with the XOR encrypted password is created. When Automatic Login is turned off, the file is deleted from the /etc folder.</p>
<hr size="1" /><a href="#_ednref">[i]</a> Towns-von Stauber, Leon. OSX_Sec.pdf, LISA 2003, 136.</p>
<p>http://www.occam.com/osx/OSX_Sec.pdf</p>
<p><a href="#_ednref">[ii]</a> Apple Mailing Lists, August 13, 2004. /etc/kcpassword.</p>
<p>http://lists.apple.com/archives/student-dev/2004/Aug/msg00111.html</p>
<p><a href="#_ednref">[iii]</a> Brock, Gavin. Encoding &amp; Decoding OS-X Auto-Login Password (/etc/kcpassword).</p>
<p>http://www.brock-family.org/gavin/perl/kcpassword.html</p>
]]></content:encoded>
			<wfw:commentRss>http://insidethecore.com/ITC_Blog/2011/10/23/decoding-the-kcpaswword/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Updates</title>
		<link>http://insidethecore.com/ITC_Blog/2010/04/06/updates/</link>
		<comments>http://insidethecore.com/ITC_Blog/2010/04/06/updates/#comments</comments>
		<pubDate>Tue, 06 Apr 2010 17:02:54 +0000</pubDate>
		<dc:creator>MacLovin</dc:creator>
				<category><![CDATA[MacLovin]]></category>

		<guid isPermaLink="false">http://insidethecore.com/ITC_Blog/?p=100</guid>
		<description><![CDATA[Well, it has been quite some time since I have done anything with the blog. I hope to keep it more up to date with postings on software, things that are happening at MacOSXForensics.com and on the podcast.]]></description>
			<content:encoded><![CDATA[<p>Well, it has been quite some time since I have done anything with the blog. I hope to keep it more up to date with postings on software, things that are happening at MacOSXForensics.com and on the podcast.</p>
<p>Ryan has been doing some good things at MOSXF.com, check out the metadata extractor. The site is usually updated at least once a week with new info.</p>
<p>We release a new podcast episode in mid March. We hope to have another recorded this week and released by the weekend. I am working on a video series that will show some of the topics that we cover on the podcast. I also hope to have the SQLite Manager video updated and posted soon.</p>
<p>Be safe,<br />
Dave</p>
]]></content:encoded>
			<wfw:commentRss>http://insidethecore.com/ITC_Blog/2010/04/06/updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLite Manager</title>
		<link>http://insidethecore.com/ITC_Blog/2009/11/17/sqlite-manager/</link>
		<comments>http://insidethecore.com/ITC_Blog/2009/11/17/sqlite-manager/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 21:12:50 +0000</pubDate>
		<dc:creator>MacLovin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://insidethecore.com/ITC_Blog/?p=8</guid>
		<description><![CDATA[SQLabs has been kind enough to provide our listeners a discount on their SQLite Manger software. If you purchase the software with the below code, you will receive $20 off.
SQLite Manger is a database management tool that allows us to open and view the many SQLite .db files that are on a Mac and the [...]]]></description>
			<content:encoded><![CDATA[<p>SQLabs has been kind enough to provide our listeners a discount on their SQLite Manger software. If you purchase the software with the below code, you will receive $20 off.</p>
<p>SQLite Manger is a database management tool that allows us to open and view the many SQLite .db files that are on a Mac and the iPhone. The thing I like best, so far, is that I am able to see the actual image located in the blob data from a Safari cache.db file and the originating url information in one place.</p>
<p>I know we can use different software suites to do this but some of those may be out of our budget. Tools like SQLite Manager and SQLite Database Browswer 1.3 are examples of free or low cost tools that we can keep in our Mac forensics toolbox and not have to shell out a lot of money.</p>
<p><a href="http://sqlabs.com/sqlitemanager.php">SQLite Manager by SQLabs</a></p>
<p><a href="http://sqlabs.com/sqlitemanager.php"></a><br />
The discount code:<br />
<img src="http://www.insidethecore.com/ITC_Blog/images/Picture 27.png" alt="code" /></p>
<p>Be safe,<br />
Dave</p>
]]></content:encoded>
			<wfw:commentRss>http://insidethecore.com/ITC_Blog/2009/11/17/sqlite-manager/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New ITC Episode posted</title>
		<link>http://insidethecore.com/ITC_Blog/2009/11/15/new-itc-episode-posted/</link>
		<comments>http://insidethecore.com/ITC_Blog/2009/11/15/new-itc-episode-posted/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 07:11:09 +0000</pubDate>
		<dc:creator>MacLovin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Podcast]]></category>
		<category><![CDATA[BlackBag]]></category>
		<category><![CDATA[PLOW]]></category>

		<guid isPermaLink="false">http://insidethecore.com/ITC_Blog/?p=5</guid>
		<description><![CDATA[We have uploaded a new episode of the podcast. There is an iTunes enhanced and an MP3 version. The iTunes version has embedded links for some of the software we talk about.
We are lucky to have Ben Charnota of BlackBag Technologies talking about their new software write block solution, Soft Block. Soft Block is a [...]]]></description>
			<content:encoded><![CDATA[<p>We have uploaded a <a title="Inside the Core - The Mac Forensics Podcast" href="http://insidethecore.libsyn.com" target="_blank">new episode of the podcas</a>t. There is an iTunes enhanced and an MP3 version. The iTunes version has embedded links for some of the software we talk about.</p>
<p>We are lucky to have Ben Charnota of BlackBag Technologies talking about their new software write block solution, Soft Block. Soft Block is a fire and forget write block solution for Macintosh computers. Once started, it runs quietly in the background until an external media is inserted into the computer. Soft Block then prompts you to mount the device Read Only or Read/Write. I have been running the demo version of the software on my MacBook Pro for a couple of weeks and forget it is there until I plug in a drive. The Soft Block prompt isn&#8217;t bothersome, it only takes a second to deal with and you are on your way. The nice thing about Soft Block is that, coupled with your laptop, you are ready to respond to the field with your preview system and a write blocker in one unit.</p>
<p>I will be doing a more in depth review of Soft Block and will post it on our sister site, MacOSXForensics.com.</p>
<p>Chris talks about the <strong>com.apple.recentitems.plist</strong> in this episode&#8217;s Plist of the Week (PLoW).  By default, each section, Applications, Documents, Hosts, &amp; Servers, will have 10 entries. This can be modified in the System Preferences &gt; Appearances section or by using Plist Editor to change the values. This is usually one of the first plists we look at during an examination. The Recent Items plist will show the last items, which were accessed by the user, such as programs, images, movies and documents. It is a good indication of what he/she was up to prior to the seizure or imaging of the computer and could be the smoking gun. I like to restore the drive, as part of my analysis, and then take a screenshot of the Recent Items menu, as the user would see them. As they say, a picture is worth a thousand words.</p>
<p>We take a good part of this show to talk about the basics of how we prep a Mac to become an analysis system. The first thing that should always be done is the installation of the Apple Developer Tools. The Developer Tools provides us with several programs and commands that will be of great use to us when we start our examinations. The most useful is the Plist Editor, which allows us to see a plist in an easy to read format. The newer versions of the Plist Editor allows us to print the plist while older versions had the ability to do a data dump, which allowed us to copy the code for review. Essentially, if you aren&#8217;t using Plist Editor or the third party, Plist Editor Pro, you are doing yourself a disservice. Another good tool that comes with the Tools is the GetFileInfo command. A Terminal command, GetFileInfo provides a number of arguments, which will allow you to retrieve file data such as creation/modification dates, creator code, file type code and file attributes.</p>
<p>Be Safe,</p>
<p>Dave</p>
]]></content:encoded>
			<wfw:commentRss>http://insidethecore.com/ITC_Blog/2009/11/15/new-itc-episode-posted/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac Forensics Blog!</title>
		<link>http://insidethecore.com/ITC_Blog/2009/11/13/hello-world/</link>
		<comments>http://insidethecore.com/ITC_Blog/2009/11/13/hello-world/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 06:24:01 +0000</pubDate>
		<dc:creator>MacLovin</dc:creator>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[MacLovin]]></category>

		<guid isPermaLink="false">http://insidethecore.com/ITC_Blog/?p=1</guid>
		<description><![CDATA[Welcome to the Inside the Core Blog. We will start posting Mac forensics topics soon. Check back!
]]></description>
			<content:encoded><![CDATA[<p>Welcome to the Inside the Core Blog. We will start posting Mac forensics topics soon. Check back!</p>
]]></content:encoded>
			<wfw:commentRss>http://insidethecore.com/ITC_Blog/2009/11/13/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

