<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7055243034201530750</id><updated>2012-01-02T09:03:25.479-05:00</updated><category term='malware analysis'/><category term='phishing'/><category term='hacking'/><category term='incident response'/><category term='pentesting'/><category term='cloud'/><category term='books'/><category term='cons'/><category term='rant'/><category term='forensics'/><category term='vulnerabilities'/><category term='legislation'/><title type='text'>Security Braindump</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>49</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-8777351124702339230</id><published>2011-10-27T13:35:00.000-04:00</published><updated>2011-10-27T13:41:32.696-04:00</updated><title type='text'>PaulDotCom EP235: 12 Hour Podcast Marathon</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;/div&gt;&lt;div style="text-align: left;"&gt;&lt;a href="http://2.bp.blogspot.com/-m7qLn17BP8Q/TqmU6Kr6vZI/AAAAAAAAAOw/e-c7AVwNZaA/s1600/StogieGeeks.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-m7qLn17BP8Q/TqmU6Kr6vZI/AAAAAAAAAOw/e-c7AVwNZaA/s1600/StogieGeeks.png" /&gt;&lt;/a&gt;On Friday October 28, 2011 from 12:00 to 1:00 PM, I will be popping by for &lt;a href="http://pauldotcom.com/wiki/index.php/Episode265"&gt;Episode 235&lt;/a&gt; of the Pauldotcom podcast. This episode is a 12 hour podcast marathon dedicated to raising awareness for &lt;a href="http://www.hackersforcharity.org/"&gt;Hackers for Charity&lt;/a&gt; (HFC) and the good work they do. Paul and I will record Episode 2 of the &lt;a href="http://www.stogiegeeks.com/"&gt;Stogie Geeks&lt;/a&gt; cigar podcast &lt;a href="http://www.stogiegeeks.com/live"&gt;live&lt;/a&gt; during lunch. If you enjoy cigars and have a moment, check it out. Regardless, if you are not familiar with HFC, spend a few minutes on their &lt;a href="http://www.hackersforcharity.org/"&gt;site&lt;/a&gt;. Johnny is doing good work and can always use the support, no matter how small.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-8777351124702339230?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/8777351124702339230/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/10/pauldotcom-ep235-12-hour-podcast.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8777351124702339230'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8777351124702339230'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/10/pauldotcom-ep235-12-hour-podcast.html' title='PaulDotCom EP235: 12 Hour Podcast Marathon'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-m7qLn17BP8Q/TqmU6Kr6vZI/AAAAAAAAAOw/e-c7AVwNZaA/s72-c/StogieGeeks.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-707391615418875059</id><published>2011-10-06T20:40:00.000-04:00</published><updated>2011-10-07T06:30:38.806-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><title type='text'>You've Got Mail! - The PFF File Format</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;My recent experimentation and &lt;a href="http://securitybraindump.blogspot.com/2011/09/windows-desktop-search-indexes.html"&gt;blog post&lt;/a&gt; on the analysis of the Microsoft Extensible Storage Engine (ESE) database used by Microsoft&amp;nbsp; Windows Desktop Search (WDS) prompted me to begin looking at other ways Microsoft utilizes the ESE file format. Microsoft Outlook also utilizes the ESE in the form of the Personal Folder File (PFF) format. This includes the Personal Storage Table (PST) and Outlook Storage Table (OST) files which are commonly known as Outlook Data Files. The former (PST) is used in a non-enterprise setting when configuring outlook with email services such as pop/smtp and the later is created in enterprises with Outlook cached mode is enabled. Other forms of PFF include the Personal Address Book (PAB).&lt;br /&gt;&lt;br /&gt;Joachim Metz has also done a fair amount of research on the PFF file structure as part of his &lt;a href="http://sourceforge.net/projects/libpff/"&gt;libpff project&lt;/a&gt;. During the time of his research, the PFF file format was largely unknown. In 2010, however, Microsoft published the open specification on the PFF format and made it available as part of the &lt;a href="http://msdn.microsoft.com/en-us/library/ff385210.aspx"&gt;MSDN Library&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The first four bytes of the file header contains the file signature of "!BDN " (0x2142444e). The 9th and 10th byte contain the content type which is 'SM' for PST (0x534D) and 'SO' (0x534F) for OST.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-94BrUL0FvNs/To0DhTUrXKI/AAAAAAAAANk/MTy2FAN0kGk/s1600/PFFFileFormat.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="264" src="http://2.bp.blogspot.com/-94BrUL0FvNs/To0DhTUrXKI/AAAAAAAAANk/MTy2FAN0kGk/s640/PFFFileFormat.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp; &lt;br /&gt;Metz's libpff pffexport utility will parse either file type. Once parsed, pffexport exports the following information on messages;&lt;br /&gt;&lt;ul&gt;&lt;li&gt; &lt;b&gt;Internet Email Headers&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Outlook Headers&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Conversation Index&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Recipients&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;Message Body&amp;nbsp;&lt;/b&gt; &lt;/li&gt;&lt;li&gt;&lt;b&gt;Attachments&amp;nbsp;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;Prior to Outlook 2007 there were three forms of file encryption available for PFF files; none, compressible, and high encryption. Metz documents the following about the two later options;&lt;br /&gt;&lt;blockquote&gt;...actually more of a way to obfuscate the information in the PFF than real means to ensure confidentiality....&lt;/blockquote&gt;Microsoft's &lt;a href="http://download.microsoft.com/download/2/4/8/24862317-78F0-4C4B-B355-C7B2C1D997DB/%5BMS-PST%5D.pdf"&gt;Open Specification document on the PST file structure&lt;/a&gt; also confirm Metz's findings on PFF encryption prior to Outlook 2007. They now recommended the use of Encrypted File System (EFS) or BitLocker Encryption to secure these files. Consequently, versions of Outlook after 2007 use compressible encryption and high encryption is no longer available.&lt;br /&gt;&lt;br /&gt;Additionally, Microsoft Outlook allows users to set a password on their PST files. This password however, is a weak 32-but Cyclic Redundancy Check (CRC32) and consequently, is subject to collisions. This has been know for quite some time and Microsoft has documented this;&lt;br /&gt;&lt;blockquote&gt;The PST Password, which is stored as a property value in the Message store, is a superficial mechanism that requires the client implementation to enforce the stored password. Because the password itself is not used as a key to the encoding and decoding cipher algorithms, it does not provide any security benefit to preventing the PST data to be read by unauthorized parties.&lt;/blockquote&gt;Metz clarifies this a bit more in his research. Applications, such as Microsoft Outlook, are conforming to the password protection but in reality, none of the data is actually protected by the password. Consequently, the libpff pffexport utility can export all items stored in the PFF file without supplying the password. &lt;br /&gt;&lt;br /&gt;The libpff utility was able to parse the email headers and content on both the PST and OST files during my testing.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-etjpdzzK1Po/To7Uk2UQrcI/AAAAAAAAAOM/weqSFV7pTJ8/s1600/pffexport.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="73" src="http://2.bp.blogspot.com/-etjpdzzK1Po/To7Uk2UQrcI/AAAAAAAAAOM/weqSFV7pTJ8/s640/pffexport.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;This certainly could be useful to forensics practitioners. The aforementioned, lack of security of these files however got me thinking more about the use of products such as Outlook Anywhere (RPC over HTTP) in the corporate world. Outlook Anywhere allows users to access corporate email on their personal computers using Microsoft Outlook. Consequently, corporate email would be stored in the local PFF file on the user's home system. Unless Whole Disk Encryption or other means were being used to secure the file system, then the potential risk to the intellectual property of corporation could be significant.&lt;br /&gt;&lt;br /&gt;Happy Hunting!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-707391615418875059?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/707391615418875059/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/10/youve-got-mail-pff-file-format.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/707391615418875059'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/707391615418875059'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/10/youve-got-mail-pff-file-format.html' title='You&apos;ve Got Mail! - The PFF File Format'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-94BrUL0FvNs/To0DhTUrXKI/AAAAAAAAANk/MTy2FAN0kGk/s72-c/PFFFileFormat.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-4979561231939485648</id><published>2011-09-08T17:24:00.000-04:00</published><updated>2011-09-09T17:14:24.957-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Windows Desktop Search Index</title><content type='html'>Microsoft Extensible Storage Engine (ESE) database is used by a variety of Microsoft services including Exchange, Windows Mail, Active Directory, and Windows Desktop Search. I recently began wondering what forensic artifacts might be indexed by &lt;a href="http://www.microsoft.com/windows/products/winfamily/desktopsearch/default.mspx"&gt;Windows Desktop Search&lt;/a&gt; (WDS) and available to an analyst. By default, user documents and IE internet history are indexed, but Outlook 2007/2010 also integrates with WDS. Consequently, this might be an additional source of email artifacts. While there can be a wealth of information available to a responder in an enterprise that utilizes Microsoft Exchange and any of a variety of email archiving solutions, the WDS ESE database may still be useful in non-enterprise settings. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-iHgb3UGLFZ4/Tmko_1n5zGI/AAAAAAAAANM/bDr5-h_Yfa0/s1600/IndexOptions.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://2.bp.blogspot.com/-iHgb3UGLFZ4/Tmko_1n5zGI/AAAAAAAAANM/bDr5-h_Yfa0/s400/IndexOptions.PNG" width="367" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;After some searching, I came across Joachim Metz research on the ESE format and WDS as part of the &lt;a href="http://sourceforge.net/projects/libesedb"&gt;libesedb project&lt;/a&gt;. Metz &lt;a href="http://sourceforge.net/projects/libesedb/files/Documentation/"&gt;documents&lt;/a&gt; the ESE database structure, data obfuscation, and compression thoroughly. Consequently, I am not going to summarize all of his research but fully recommend you read it if interested. &lt;br /&gt;&lt;br /&gt;The libesedb project contains two tools; esedbinfo and esedbexport. Esedbinfo provides detail about the structure of the ESE file and Esedbexport allows you to extract the tables for analysis. The following is an example of running Esedbexport on the WDS database (the default location is C:\ProgramData\Microsoft\Search\Data\Applications\Windows\Windows.edb). It should be noted that the Windows Search (WSearch) service needs to be stopped to access this file on a live system.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-sCyZTlBCBZE/TmksstRKZWI/AAAAAAAAANY/n9YCpisRaPU/s1600/esedbexport.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="187" src="http://4.bp.blogspot.com/-sCyZTlBCBZE/TmksstRKZWI/AAAAAAAAANY/n9YCpisRaPU/s400/esedbexport.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The SystemIndex_0A table contains the bulk of useful information. The following is an example of the Outlook Welcome email obtained from the parsed table.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-hjkdjJj9iY0/TmksN1a_raI/AAAAAAAAANU/i8_TRW1zyxk/s1600/esedbexport_useful.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="106" src="http://4.bp.blogspot.com/-hjkdjJj9iY0/TmksN1a_raI/AAAAAAAAANU/i8_TRW1zyxk/s640/esedbexport_useful.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;To the best of my knowledge, it is unknown how long indexed data is kept &lt;strike&gt;but I was able to obtain previously deleted emails from several days prior without issue. This included the full body of the email &lt;/strike&gt;(see update below). Again, I am unsure how often a forensicator would need to utilize these artifacts. In addition to the aforementioned resources available in an enterprise, Microsoft Outlook also utilizes the Personal Folder File (PFF) format for Personal Storage Table (PST) and Outlook Storage Table (OST) files. These are both commonly known as Outook Data Files. The former (PST) is used in a non enterprise setting when configuring outlook with email services such as pop/smtp and the later is created in enterprises with Outlook cached mode is enabled. &lt;br /&gt;&lt;br /&gt;In addition to the libesedb project, Joachim Metz also runs the &lt;a href="http://sourceforge.net/projects/libpff/"&gt;libpff project&lt;/a&gt;. His &lt;a href="http://sourceforge.net/projects/libpff/files/documentation/"&gt;research&lt;/a&gt; there provides a tremendous amount of insight into the PFF file structure and usefulness. &lt;br /&gt;&lt;br /&gt;So what do you say? Is the Microsoft ESE file format a useful artifact for file forensics?&lt;br /&gt;&lt;br /&gt;Happy Hunting!&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Updated: September 09, 2011&lt;/i&gt;&lt;br /&gt; &lt;br /&gt; Dave Hull was kind enough to post a comment and share some of his experiences with WDS and deleted files. This consequently got me to revisit my testing with a larger poking stick. After several hours I determined a few things about deleted emails and the affects on the WDS index.&lt;br /&gt;&lt;br /&gt;First and foremost, I could not duplicate finding deleted emails in the index. I am unsure if my initial testing was flawed or if there is internal workings unknown to me. I did however note the following behavior when deleting emails.&lt;br /&gt;&lt;br /&gt;When an email is sent to the Deleted Items folder in Outlook the "System_IsDeleted" is marked as True and the "System_ItemFolderPathDisplay" value is changed to reflect this new location. This comes as no surprise. This was the case with my initial testing and the example I gave of the Outlook Welcome Email.&lt;br /&gt;&lt;br /&gt;Once the email is removed from the Deleted Items folder, the Index Record is removed very quickly. I confirmed this multiple times. This leaves a missing DocID in the table which is eventually re-used for another index record. This is very similar to the behavior of the NTFS Master File Table when a files/folders are deleted. &lt;br /&gt;&lt;br /&gt;I re-read Joachim Metz's initial research and he does mention that the WDS index can contain deleted file information and content but was unsure how long this is kept. He also mentions a table called "SystemIndex_DeletedDocIds" which contains the deleted DocId's in Windows Vista and above. Unfortunately, the Esedbexport tool does not seem to extract this table as of yet.&lt;br /&gt;&lt;br /&gt;All things considered, a very interesting experiment.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-4979561231939485648?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/4979561231939485648/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/09/windows-desktop-search-indexes.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/4979561231939485648'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/4979561231939485648'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/09/windows-desktop-search-indexes.html' title='Windows Desktop Search Index'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-iHgb3UGLFZ4/Tmko_1n5zGI/AAAAAAAAANM/bDr5-h_Yfa0/s72-c/IndexOptions.PNG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-5021135695427766321</id><published>2011-08-04T17:00:00.004-04:00</published><updated>2011-08-04T17:25:45.702-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Carving Symantec VBN Files</title><content type='html'>Those of you who perform IT support or incident response are most likely intimate with corporate antivirus products. While the usefulness of antivirus can be debated, the purpose of this post is to provide some insight into the file structure of Symantec's quarantine files. It is not uncommon for an IT practitioner or an incident responder to restore and perform further analysis on a malicious file to verify the attackers intent. Someone recently posted to the &lt;a href="http://tech.groups.yahoo.com/group/win4n6/"&gt;Windows Forensics email group&lt;/a&gt; about having issues restoring quarantined files from Symantec Endpoint Protection (SEP) 11 which prompted me to put together this quick post. &lt;br /&gt;&lt;br /&gt;Symantec does provide a utility called &lt;a href="http://www.symantec.com/business/support/index?page=content&amp;amp;id=TECH95328"&gt;QExtract&lt;/a&gt; that allows for the extraction of quarantined files. Documentation on the syntax of the command line utility can be found in Symantec's &lt;a href="http://www.symantec.com/business/support/resources/sites/BUSINESS/content/live/TECHNICAL_SOLUTION/95000/TECH95328/en_US/QuarantineExtract.html"&gt;online knowledge base&lt;/a&gt;. As an example, the following is the output obtained from using the /DETAILED switch with qextract.exe on a system that the Mebroot rootkit payload was detected on.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://3.bp.blogspot.com/-WOOGWnBTCB4/TjrcJbc670I/AAAAAAAAAM8/DJ2AUvpB7Cc/s1600/QEEXTRACT_DETAILED.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/-WOOGWnBTCB4/TjrcJbc670I/AAAAAAAAAM8/DJ2AUvpB7Cc/s1600/QEEXTRACT_DETAILED.PNG" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;QExtract can restore the malicious file by using the session ID, file name, or risk name obtained from this output (see the aforementioned documentation for syntax). The utility works, but is limited. It only runs on Windows. Additionally, you cannot point QExtract to an alternate source location. If SEP is not installed, then the default path to the quarantine files must be manually created. Moreover, when restoring something from a quarantine file, the original path of the file must exist or restoration will fail. &lt;br /&gt;&lt;br /&gt;The file structure of the quarantine files in Symantec's AV products has been known for some time, however. Since 2007 there has been an &lt;a href="http://www.forensickb.com/2007/07/extracting-quarantined-files-from.html"&gt;Encase script&lt;/a&gt; available that will extract these files. SEP Quarantine files, also known as Virus Bin (VBN) files, are located in the C:\ProgramData\Symantec\Symantec Endpoint Protection\Quarantine folder. For the purpose of this post, I am looking at the detection of the aforementioned Mebroot rootkit. Some details including hashes and statistics from Virus Total are as follows.&lt;br /&gt;&lt;blockquote&gt;Symantec: Trojan.Mebroot&lt;br /&gt;MD5: fd543137a51fc24e07e00f9bc7c3c06e &lt;br /&gt;SHA1: 357ac149ba2c864a5f0fc2276c2fa437b5c5533b &lt;br /&gt;&lt;a href="http://www.virustotal.com/file-scan/report.html?id=43cafc4464ac08a6b1be53958be377c70ded28ed6f0602449fbd7872604074fe-1303095131"&gt;http://www.virustotal.com/file-scan/report.html?id=43cafc4464ac08a6b1be53958be377c70ded28ed6f0602449fbd7872604074fe-1303095131&lt;/a&gt;&lt;/blockquote&gt;Looking at a VBN file using &lt;a href="http://www.x-ways.net/winhex/index-m.html"&gt;X-Ways WinHex Editor&lt;/a&gt; we see the file begins with the original location of the detected malware. At offset 0x00000184 (byte 388) SEP stores additional information on detection of the malicious file including the system name, original location/name of file, time of detection, and Symantec unique record ID. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-LyagQ1JhR50/Tjrcj1GUHBI/AAAAAAAAANA/AE6DK1K23X0/s1600/VBNFileStructure.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-LyagQ1JhR50/Tjrcj1GUHBI/AAAAAAAAANA/AE6DK1K23X0/s1600/VBNFileStructure.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;At offset 0x00000E68 (byte 3688) we see something else. It appears that the data has been obfuscated or encrypted. Note the that the value 0x5A is common throughout the file. What are the chances that these are actually spaces (0x20) and the data was XOR'd with the value of 0X5A? &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-zbTrUqmKOLE/TjrezRjLa3I/AAAAAAAAANE/W1zawFM0guM/s1600/mebroot_xor.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/-zbTrUqmKOLE/TjrezRjLa3I/AAAAAAAAANE/W1zawFM0guM/s1600/mebroot_xor.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Using Winhex to inverse XOR with the value of 0x5A gives us the malicious file. Note: the file signature of 0x4D5A (MZ) which is for a Windows/DOS executable file. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-S0h3QfvxXSE/Tjre3QOSijI/AAAAAAAAANI/JTqor8n3Ty4/s1600/mebroot_dxor.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-S0h3QfvxXSE/Tjre3QOSijI/AAAAAAAAANI/JTqor8n3Ty4/s1600/mebroot_dxor.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;To carve out the Mebroot payload, simply copy the selected block to a new file and save it. &lt;br /&gt;&lt;br /&gt;I would imagine this will work with previous versions of Symantec Corporate Edition but the offsets may be different. If anyone has any experience in that regard let me know. &lt;br /&gt;&lt;br /&gt;Happy Hunting!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-5021135695427766321?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/5021135695427766321/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/08/carving-symantec-vbn-files.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/5021135695427766321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/5021135695427766321'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/08/carving-symantec-vbn-files.html' title='Carving Symantec VBN Files'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-WOOGWnBTCB4/TjrcJbc670I/AAAAAAAAAM8/DJ2AUvpB7Cc/s72-c/QEEXTRACT_DETAILED.PNG' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-1511158956998576964</id><published>2011-07-29T07:30:00.001-04:00</published><updated>2011-07-29T07:51:02.376-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Dear Diary: AntiMalwareLab.exe File_Created</title><content type='html'>I have previously posted about the usefulness of &lt;a href="http://pauldotcom.com/2011/03/tim-mugherini-presents-ntfs-mf.html"&gt;parsing the NTFS Master File Table during static malware analysis&lt;/a&gt;.&amp;nbsp; The Master File Table ($MFT) is only one of the twelve metadata files in NTFS file system however. The $Extend object ($MFT Record Entry 11) is used for optional extensions to NTFS. Beginning with Windows 2000, Microsoft added change journaling ($UsnJrnl) to this list of NTFS extensions. $UsnJrnl is turned on by default in Windows Vista and 7, and records all changes that are made to the file system. It should be noted that changes recorded do not include what specific data changed, rather just the type of change and time stamp of when the change occurred.. This can still be useful however when attempting to establish a timeline of malicious changes to a system.&lt;br /&gt;&lt;br /&gt;The $UsnJrnl is stored on the root of the volume in the \$Extend\$UsrJrnl file. The file has two $DATA attributes, the $Max attribute which contains general information about the journal and the $J attribute which contains the actual list of changes. Each journal record varies in size and includes an Update Sequence Number (USN). The USN is 64 bit in size and is stored in byte 64-71 of the $STANDARD_INFORMATION ($SI) attribute of the $MFT.&amp;nbsp; The following output is an example of the $SI XXD of a file named malicious.dll.&lt;br /&gt;&lt;br /&gt;Searching a dd (raw) image for a suspected malicious file called malicious.dll with the &lt;a href="http://www.sleuthkit.org/"&gt;The Sleuth Kit (TSK)&lt;/a&gt; tool “fls” produces the $MFT Record Number of the file.&lt;br /&gt;&lt;blockquote&gt;fls -f ntfs -r /media/Passport/Images/Image001.dd | grep malicious.dll&lt;br /&gt;&lt;br /&gt;&amp;nbsp;++ r/r 1618-128-1:&amp;nbsp;&amp;nbsp;&amp;nbsp; malicious.dll&lt;/blockquote&gt;&lt;blockquote&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://4.bp.blogspot.com/-ec-eRr-z6ZA/TjIPuDhakLI/AAAAAAAAAMQ/Mq8qlhTCFVo/s1600/Find_MaliciousFile.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-ec-eRr-z6ZA/TjIPuDhakLI/AAAAAAAAAMQ/Mq8qlhTCFVo/s1600/Find_MaliciousFile.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/blockquote&gt;Using this entry number (1618) we can display the $SI attribute (type=16) from the $MFT record&amp;nbsp; $SI (type=16) with the TSK "icat" tool. &lt;br /&gt;&lt;blockquote&gt;icat -f ntfs /media/Passport/Images/Image001.dd 1618-16 | xxd&lt;/blockquote&gt;&lt;blockquote&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://2.bp.blogspot.com/-JHIV036gQbg/TjKOtDJiyvI/AAAAAAAAAMk/J6CjfT1DHfs/s1600/%2524SI_USN.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-JHIV036gQbg/TjKOtDJiyvI/AAAAAAAAAMk/J6CjfT1DHfs/s1600/%2524SI_USN.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/blockquote&gt;The USN, in the above example, represents the byte offset in the $UsnJrnl (remember each record varies in size). It should also be noted that the $Usnjrnl is a sparse file, meaning it has a maximum size but old records are overwritten with zero's and any updates to it will be written to the end of the file and perpetually increase the USN (based on byte offset from the beginning of the file).&lt;br /&gt;&lt;br /&gt;Microsoft MSDN has a fair amount of &lt;a href="http://msdn.microsoft.com/en-us/library/aa365722%28v=vs.85%29.aspx"&gt;documentation&lt;/a&gt; on the structure of the $UsnJrnl $J file and what fields it stores. Additionally, Brian Carrier does a great job of breaking down the data structure and byte offsets in his book &lt;a href="http://www.digital-evidence.org/fsfa/"&gt;File System Forensic Analysis&lt;/a&gt;. The following is an example of a $UsnJrnl record structure.&lt;br /&gt;&lt;br /&gt;We can obtain the $MFT entry address of the $Usnjrnl $J file by using the TSK "fls" tool (note: the $Extend Object will always be $MFT entry 11).&lt;br /&gt;&lt;blockquote&gt;fls -f ntfs /media/Passport/Images/Image001.dd 11&lt;/blockquote&gt;&lt;blockquote&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://2.bp.blogspot.com/-zFKdyw3lrcw/TjINe_Mv4yI/AAAAAAAAAMM/-09sx1nq_-I/s1600/fls_out.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="128" src="http://2.bp.blogspot.com/-zFKdyw3lrcw/TjINe_Mv4yI/AAAAAAAAAMM/-09sx1nq_-I/s320/fls_out.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/blockquote&gt;Once the location of the $J file is obtained, the contents can be displayed by using the TSK "icat" tool as follows. Please note that the -h option skips holes in the sparse file.&lt;br /&gt;&lt;blockquote&gt;icat -h –f ntfs /media/Passport/Images/Image001.dd 41455-128-3 | xxd&lt;/blockquote&gt;A quick search for our "malicious.dll" provides a good example of the structure a $UsnJrnl record.&lt;br /&gt;&lt;blockquote&gt;&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://2.bp.blogspot.com/-JhGbnjb0kho/TjKO-tfCxgI/AAAAAAAAAMo/8HgwOPQCRpk/s1600/USN_MaliciousFile_MarkedUp.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-JhGbnjb0kho/TjKO-tfCxgI/AAAAAAAAAMo/8HgwOPQCRpk/s1600/USN_MaliciousFile_MarkedUp.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/blockquote&gt;Byte 40-43 is the USN_CHANGE flag and is well documented on MSDN. For reference purposes the following table summarizes the type of flags and their hexadecimal values recorded in the $UsnJrnl. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-8blAKjlw974/TjHQpdO9fCI/AAAAAAAAALU/6FoTYYyYPuQ/s1600/USN_RECORD_REASON_FLAGS.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="408" src="http://4.bp.blogspot.com/-8blAKjlw974/TjHQpdO9fCI/AAAAAAAAALU/6FoTYYyYPuQ/s640/USN_RECORD_REASON_FLAGS.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;There are a few utilities and scripts available to automate the parsing of the records but for the purpose of this post I am using one I recently became aware of through the &lt;a href="http://tech.groups.yahoo.com/group/win4n6/"&gt;Windows Forensic Analysis Email&lt;/a&gt; list. The &lt;a href="http://www.tzworks.net/prototype_page.php?proto_id=5"&gt;Windows Journal Parser (JP)&lt;/a&gt; is available for Windows, Linux, and Mac. JP pulls the allocated clusters from the sparse file and parses the records. Information pulled includes Time/Date of change, File/Folder Affected, Type of Change, and by using the verbose option (-v) it will add the $MFT Entry Number and Sequence Number. JP is able to parse a the $UsnJrnl from a live volume, dd image, or carved $J file and export to a variety of formats.&lt;br /&gt;&lt;br /&gt;I recently came across a compromised Windows 7 system and had the opportunity to use JP during analysis. The following is the location, hash values, and Virus Total stats of the malicious (unsigned) process that was found on the system.&lt;br /&gt;&lt;blockquote&gt;&lt;a href="http://www.blogger.com/"&gt;&lt;/a&gt;File name: VD90c_2121.exe&lt;br /&gt;Submission date: 2011-07-21 14:13:39 (UTC)&lt;br /&gt;&lt;a href="http://www.virustotal.com/file-scan/report.html?id=54e80b6d08bedf9210e6a0cead297a36d34f12170568c672e70ff6f750a69a00-1311257619"&gt;Result: 14 /43 (32.6%)&lt;/a&gt;&lt;br /&gt;MD5&amp;nbsp;&amp;nbsp; : c8a695e4c411af859fa358eabb4127d1 &lt;br /&gt;SHA1&amp;nbsp; : 78e10150b3fd91b199adf0457a2e3902bc70eaf6 &lt;br /&gt;SHA256: 54e80b6d08bedf9210e6a0cead297a36d34f12170568c672e70ff6f750a69a00 &lt;/blockquote&gt;After parsing the $UsnJrnl with JP, I searched for the aforementioned malicious process and was quickly able to obtain a timeline of changes made during infection.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-jIaCTa9vJa0/TjIJRYdyWYI/AAAAAAAAALs/rvEBI6eGi4s/s1600/FakeAVUsnJrnlRec.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="442" src="http://4.bp.blogspot.com/-jIaCTa9vJa0/TjIJRYdyWYI/AAAAAAAAALs/rvEBI6eGi4s/s640/FakeAVUsnJrnlRec.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-xd5hQev3uqg/TjID3muYOuI/AAAAAAAAALg/cyJVRnlk7P8/s1600/FakeAVUsnJrnlRec.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;Within a few minutes of analyzing the output from the $Usnjrnl I recognized some of the files and locations created as being similar of a malicious program I analyzed previously last November and outlined &lt;a href="http://securitybraindump.blogspot.com/2010/12/not-just-another-analysis-of-scareware.html"&gt;here&lt;/a&gt;. Hence significantly reducing the time necessary to find the origin, payload, and other infection locations on disk.&lt;br /&gt;&lt;br /&gt;It should be noted again that $UsnJrnl records are not going to kept indefinitely. Moreover, if a file is deleted, related $MFT entries may be overwritten. More info on carving old $UsnJrnl records from unallocated space and other $UsnJrnl parsing utilities is posted over at the &lt;a href="http://forensicsfromthesausagefactory.blogspot.com/2010/08/usn-change-journal.html"&gt;Forensics From the Sausage Factory Blog&lt;/a&gt;. I recommend you check it out.&lt;br /&gt;&lt;br /&gt;Happy Hunting!&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;br /&gt;Carrier, Brian (2005). &lt;a href="http://www.digital-evidence.org/fsfa/"&gt;File System Forensic Analysis.&lt;/a&gt; Addison Wesley.&lt;br /&gt;.&lt;br /&gt;Microsoft MSDN &lt;a href="http://msdn.microsoft.com/en-us/library/aa365722%28v=vs.85%29.aspx"&gt;USN Record Structure&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-1511158956998576964?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/1511158956998576964/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/07/dear-diary-today-i-was-infected-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1511158956998576964'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1511158956998576964'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/07/dear-diary-today-i-was-infected-with.html' title='Dear Diary: AntiMalwareLab.exe File_Created'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-ec-eRr-z6ZA/TjIPuDhakLI/AAAAAAAAAMQ/Mq8qlhTCFVo/s72-c/Find_MaliciousFile.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-7613634935106308412</id><published>2011-05-27T15:15:00.004-04:00</published><updated>2011-05-27T15:25:02.870-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Virtualizing Raw Disk Images</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: left;"&gt;&lt;a href="http://4.bp.blogspot.com/-QfKqpw7hwVg/Td_lCv_PR9I/AAAAAAAAALI/CluIOBXlDBw/s1600/vmdk-2777.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://4.bp.blogspot.com/-QfKqpw7hwVg/Td_lCv_PR9I/AAAAAAAAALI/CluIOBXlDBw/s1600/vmdk-2777.png" /&gt;&lt;/a&gt;&lt;/div&gt;I have heard a lot of people ask about how to forensically handle raw (dd) disk images of systems that have been encrypted with whole disk encryption. Both PGP and Truecrypt support the use Recovery/Rescue ISO's to decrypt drives without booting the OS (Note: an administrator pass phrase is still going to be required). So if you could boot the raw image in VMware, for example, then you could mount the ISO and decrypt the image.&lt;br /&gt;&lt;br /&gt;One Windows tool, &lt;a href="http://liveview.sourceforge.net/"&gt;Live View&lt;/a&gt;, can be used to convert dd images to a &lt;a href="http://www.vmware.com/technical-resources/interfaces/vmdk.html"&gt;vmdk&lt;/a&gt; (Virtual Machine Disk Format) file. Live View was created at Carnegie Mellon University in 2009 but it unfortunately has not been updated since then. Consequently, there is no support for modern versions of Windows or VMWare Workstation or Server.&lt;br /&gt;&lt;br /&gt;Fortunately, &lt;a href="https://github.com/Zapotek/raw2vmdk"&gt;Tasos Laskos&lt;/a&gt;, expanded on their work and created the &lt;a href="http://sourceforge.net/projects/raw2vmdk/"&gt;raw2vmdk&lt;/a&gt; utility. Raw2vmdk is an open source, OS independent (requires JRE 1.6.0_18 or higher), command line utility that can create a vmdk file with the appropriate disk type parameters that will allow you to boot directly from a dd image.&lt;br /&gt;&lt;br /&gt;The &lt;a href="https://github.com/Zapotek/raw2vmdk/blob/2be2d169b672f364a68154b9a6b77e2be8b5e905/README"&gt;readme&lt;/a&gt; outlines the syntax of the utility (Note: if disk type is not specified then it defaults to IDE).&lt;br /&gt;&lt;blockquote&gt;java -Dtype=&amp;lt;ide|buslogic|lsilogic|legacyESX&amp;gt; -jar raw2vmdk.jar &amp;lt;raw image&amp;gt; &amp;lt;vmdk outfile&amp;gt;&lt;/blockquote&gt;Note the syntax of the slashes when running the command on a Windows system.&lt;br /&gt;&lt;blockquote&gt;java -jar raw2vmdk.jar D:\\data001.dd D:\\data001.vmdk&lt;/blockquote&gt;Once run, the analysis and creation of the vmdk file only takes a few seconds.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-4gU57p0BxMg/Td_wA4EqKvI/AAAAAAAAALM/jBZ0AsG2Ix4/s1600/rawtovmdk.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="141" src="http://3.bp.blogspot.com/-4gU57p0BxMg/Td_wA4EqKvI/AAAAAAAAALM/jBZ0AsG2Ix4/s320/rawtovmdk.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Raw2vmdk creates a properly formatted vmdk with the appropriate path to the raw image, disk type, and parameters. &lt;br /&gt;&lt;blockquote&gt;# Disk DescriptorFile&lt;br /&gt;version=1&lt;br /&gt;encoding="UTF-8"&lt;br /&gt;CID=5c643bba&lt;br /&gt;parentCID=ffffffff&lt;br /&gt;isNativeSnapshot="no"&lt;br /&gt;createType="monolithicFlat"&lt;br /&gt;&lt;br /&gt;# Extent description&lt;br /&gt;RW 156301488 FLAT "D:\data001.dd" 0&lt;br /&gt;&lt;br /&gt;# The Disk Data Base &lt;br /&gt;#DDB&lt;br /&gt;&lt;br /&gt;ddb.virtualHWVersion = "7"&lt;br /&gt;ddb.longContentID = "bf304434123a064225efde635c643bba"&lt;br /&gt;ddb.uuid = "60 00 C2 91 8e 73 27 62-43 58 3b f8 05 ae 2e a0"&lt;br /&gt;ddb.geometry.cylinders = "1023"&lt;br /&gt;ddb.geometry.heads = "255"&lt;br /&gt;ddb.geometry.sectors = "19"&lt;br /&gt;ddb.adapterType = "ide"&lt;/blockquote&gt;The &lt;a href="http://sanbarrow.com/vmdk/disktypes.html#monolithicFlat"&gt;monolithic flat disk type&lt;/a&gt; is a pre-allocated disk type that is stored in one file. This format also supports raw dd images. Once the creation of the file is complete, create a new virtual system as you normally would within Vmware Workstation or Server and point the hard disk to the newly created vmdk file.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-pKqpekP5ztE/Td_0Cg1jjLI/AAAAAAAAALQ/8Hv4Wwc2Ixs/s1600/VmwareHDSettings.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="350" src="http://4.bp.blogspot.com/-pKqpekP5ztE/Td_0Cg1jjLI/AAAAAAAAALQ/8Hv4Wwc2Ixs/s400/VmwareHDSettings.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span id="goog_1265757129"&gt;&lt;/span&gt;&lt;span id="goog_1265757130"&gt;&lt;/span&gt;&lt;br /&gt;You should now able to boot your image within VMware (assuming it includes the boot partition). A word of caution, however. Always follow IR and Forensics best practices and use a second copy of your raw image. I also like to create the virtual system and vmdk in a separate folder from the raw dd image, so if the VM is accidentally deleted it does not also delete your raw disk image.&lt;br /&gt;&lt;br /&gt;Happy Hunting.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-7613634935106308412?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/7613634935106308412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/05/virtualizing-raw-disk-images.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/7613634935106308412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/7613634935106308412'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/05/virtualizing-raw-disk-images.html' title='Virtualizing Raw Disk Images'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-QfKqpw7hwVg/Td_lCv_PR9I/AAAAAAAAALI/CluIOBXlDBw/s72-c/vmdk-2777.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-772339906978044549</id><published>2011-05-18T17:18:00.003-04:00</published><updated>2011-05-19T06:51:55.111-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Herding Cats: Windows Object Access Analysis on a Budget</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-pokdeFjZ0QI/TdQyshXfVGI/AAAAAAAAAK4/gKo5NSKSvHc/s1600/HerdingCats.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-pokdeFjZ0QI/TdQyshXfVGI/AAAAAAAAAK4/gKo5NSKSvHc/s1600/HerdingCats.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href="http://4.bp.blogspot.com/-gTZFIBY28GM/TdQu-UY93AI/AAAAAAAAAKg/27qxN0PVOMA/s1600/logs.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;I recently had to deal with a lot of archived Windows Security Logs  (evtx files) spanning a fairly lengthy period of time. The evtx binary  was introduced with Windows Vista and can be found on all modern version  of windows. The &lt;a href="http://computer.forensikblog.de/en/%20"&gt;author&lt;/a&gt; of EVTX Parser  has posted his work on documenting the evtx file  structure &lt;a href="http://computer.forensikblog.de/en/topics/windows/vista_event_log/%20"&gt;here&lt;/a&gt; and has created a utility called EVTX Parser that will parse evtx  binaries and store them as xml. A good overview of his research and tool  is posted in a slide deck from the &lt;a href="http://computer.forensikblog.de/files/talks/SANS_Summit_Vista_Event_Log.pdf"&gt;SANS Forensic Summit in 2010&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;There are a few additional free tools available to search and filter Windows event logs if you don't have a log management product. While the Windows event log supports the import of multiple evtx files, I can tell you through experience that the MMC will puke if you feed it a large amount of files. Moreover, there is limited &lt;a href="http://msdn.microsoft.com/en-us/library/aa385231%28VS.85%29.aspx"&gt;support&lt;/a&gt; for many of the &lt;a href="http://www.w3.org/TR/xpath/#section-String-Functions"&gt;xpath string functions&lt;/a&gt; such as "contains" and "starts-with" which can be hindrance. All the same, I managed to come up with some useful expressions to query Object Access logs from Windows 7 and 2008 R2 Server.&lt;br /&gt;&lt;br /&gt;Microsoft provides a decent &lt;a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=3a15b562-4650-4298-9745-d9b261f35814&amp;amp;pf=true"&gt;spreadsheet &lt;/a&gt;on Windows Security Event ID's and some &lt;a href="http://msdn.microsoft.com/en-us/library/aa385201.aspx"&gt;documentation&lt;/a&gt; on the schema of events. Looking at the XML of a few events, however, will certainly give you what you need. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-G-Ic4x9s62E/TdQa5H7M7uI/AAAAAAAAAKQ/wCqVDvNocug/s1600/EventLogXML.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="416" src="http://1.bp.blogspot.com/-G-Ic4x9s62E/TdQa5H7M7uI/AAAAAAAAAKQ/wCqVDvNocug/s640/EventLogXML.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;When dealing with object access logs, you are going to need to distinguish between the types of access granted on the file system and registry. After much googling and experimentation I managed to scrape together the following &lt;a href="http://msdn.microsoft.com/en-us/library/aa374902%28v=vs.85%29.aspx"&gt;Access Mask&lt;/a&gt; values and their associated bit wise equivalents used in the Windows Event log. These are the permissions that were exercised on the audited object(s).&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;1537 (0x10000) = Delete &lt;br /&gt;4416 (0x1) = ReadData(or List Directory)&lt;br /&gt;4417 (0x6) = WriteData(or Add File)&amp;nbsp; (0x2 on Windows 2008 Server)&lt;br /&gt;4418 (0x4) = AppendData (or AddSubdirectory)&lt;br /&gt;4432 (0x1) = Query Key Value&lt;br /&gt;4433 (0x2) = Set Key Value&lt;br /&gt;4434 (0x4) = Create Sub Key&lt;/blockquote&gt;&lt;br /&gt;So for example if you need to write and expression to see all successful and failed modifications by a particular user on files and folders.&lt;br /&gt;&lt;blockquote&gt;&amp;lt;querylist&amp;gt;&lt;br /&gt;&amp;lt;query id="0" path="Security"&amp;gt;&lt;br /&gt;&amp;lt;select path="Security"&amp;gt;*[EventData[Data[@Name='SubjectUserName']='bugbear' and [@Name='AccessMask']='0x6']]&amp;lt;/select&amp;gt;&lt;br /&gt;&amp;lt;/query&amp;gt;&lt;br /&gt;&amp;lt;/querylist&amp;gt;&lt;/blockquote&gt;After playing with different variations of this query, I began to get creative during dynamic analysis of the Renocide worm and its effects on the System32 and HKLM registry keys. After enabling auditing on both objects, I came up with the following query to produce all changes made by the payload and malicious process. Note: the syntax when working with an externally saved evtx file.&lt;br /&gt;&lt;blockquote&gt;&amp;lt;querylist&amp;gt;&lt;br /&gt;&amp;lt;query id="0" path="file://C:\Worm.evtx"&amp;gt;&lt;br /&gt;&amp;lt;select path="file://C:\Worm.evtx"&amp;gt;*[System[Provider[@Name='Microsoft-Windows-Security-Auditing'] and EventID=4663 and (Task = 12800 or Task = 12801)] and EventData[Data[@Name='ProcessName']='\Device\HarddiskVolume2\02MAY2011\scffog.exe' or Data='C:\Windows\System32\csrcs.exe']]&amp;lt;/select&amp;gt;&lt;br /&gt;&amp;lt;/query&amp;gt;&lt;br /&gt;&amp;lt;/querylist&amp;gt;&lt;/blockquote&gt;This produced some interesting logs I used for further analysis.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-98SP1zUIMRU/TdQ1VE4Lt4I/AAAAAAAAALA/a5jh3OCZxxE/s1600/EventLogSample.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="385" src="http://1.bp.blogspot.com/-98SP1zUIMRU/TdQ1VE4Lt4I/AAAAAAAAALA/a5jh3OCZxxE/s400/EventLogSample.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;If filtering multiple archived evtx files you can import the files into the mmc event viewer, create a view including them, and filter on that view. But dont expect to be able to work with a large amount of data. In fact, Microsoft will generate a warning if you attempt to import more than ten evtx files. Fortunately, there are faster and more flexible alternatives. &lt;a href="http://technet.microsoft.com/en-us/scriptcenter/dd919274"&gt;Microsoft Log Parser&lt;/a&gt; will parse the binary (specify evt as the input type). Specifying a wild card in the filename will parse multiple files located in a specified folder and Log Parser also provides additional flexibility by allowing the use of statements such as "LIKE". The following are valid data fields that can be used when parsing evt/evtx binaries.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/-IoUwwnVAbKc/TdQszlFqPlI/AAAAAAAAAKc/mQG6JbE3VVw/s1600/LogParserEVTFields.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="107" src="http://1.bp.blogspot.com/-IoUwwnVAbKc/TdQszlFqPlI/AAAAAAAAAKc/mQG6JbE3VVw/s640/LogParserEVTFields.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Note: If filtering by user you will need to use the SID and much of the event data, such as access masks, are combined as a string in the "Message" data field. The following is an example of a query that will pull events from multiple evtx binaries that contain the specified WriteData and Delete Access Mask values.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;LogParser.exe -i:evt -o:csv "Select * from C:\Logs\*.evtx where EventID=4663 and (Message Like '%Access Mask: 0x6%' or Message Like '%Access Mask: 0x10000%')" &amp;gt; C:\Logs\Out.csv&lt;/blockquote&gt;&lt;br /&gt;Another alternative is Windows Powershell. The following is a similar example as the one given above (all WriteData and Delete Access Masks) using the &lt;a href="http://technet.microsoft.com/en-us/library/dd367894.aspx"&gt;Get_WinEvent&lt;/a&gt; and &lt;a href="http://technet.microsoft.com/en-us/library/ee177028.aspx"&gt;Where_Object&lt;/a&gt; Cmdlet'. &lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&amp;nbsp;get-winevent -path "C:\Logs\Comp1.evtx", "C:\Logs\Comp2.evtx" | where {$_.Id -eq "4663" -and $_.message -like "*0x10000*" -or $_.Id -eq 4663 -and $_.message -like "*0x6*"} &amp;gt; C:\Logs\Out.csv&lt;/blockquote&gt;&lt;br /&gt;&amp;nbsp;Using "| Format-List" provides a view of the data fields available for use with the "Where" statement.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-mNXH-8h52uU/TdQfRD_IoqI/AAAAAAAAAKY/q6T-Fw5RZ-Y/s1600/sample_output_powershell_format-list.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="299" src="http://2.bp.blogspot.com/-mNXH-8h52uU/TdQfRD_IoqI/AAAAAAAAAKY/q6T-Fw5RZ-Y/s640/sample_output_powershell_format-list.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;While not ideal, the IT Practicioner or Incident Responder can certainly wrangle with evtx files without a SIEM or Log management system. The recent release of the &lt;a href="http://www.verizonbusiness.com/resources/reports/rp_data-breach-investigations-report-2011_en_xg.pdf"&gt;Verizon DBIR&lt;/a&gt; report (2011) included a statement on page 60 that notes an interesting but not unexpected finding.&lt;br /&gt;&lt;br /&gt;"...discovery through log analysis and review has dwindled down to 0%. So the good news is that things are only looking up from here..." - Verizon DBIR 2011 &lt;br /&gt;&lt;br /&gt;Happy Hunting!&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Updated May 19, 2011 &lt;/i&gt;&lt;br /&gt;&lt;br /&gt;I intentionally did not provide any detail on enabling Object Access auditing in Windows since there is a fair amount of documentation available on that. In retrospect, however, I did want to mention a few things and share a few tips.&lt;br /&gt;&lt;br /&gt;First, choose what Accesses you audit carefully. Accesses such as "List Folder/Read Data" are very noisy and will only increase the amount of logs you have to parse and may fill up the event log completely so it begins to overwrite itself (note: there are settings for the size of the log too).&lt;br /&gt;&lt;br /&gt;Second consider what user or group you audit access for carefully. The "Users" group may be fine for auditing access to files stored on a file server but consider using the "Everyone" group if auditing changes made by malicious code. This group will include the System account.&lt;br /&gt;&lt;br /&gt;Lastly, enabling auditing of changes to the system folders or registry may become resource intensive and non-manageable in a production environment. Use with caution. That said, I do believe it can be useful during analysis of malicious code. I would include a few more locations than just the System32 and HKLM however. The C:\Users, C:\ProgramData, and HKCU keys come to mind.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-772339906978044549?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/772339906978044549/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/05/herding-cats-windows-object-access.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/772339906978044549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/772339906978044549'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/05/herding-cats-windows-object-access.html' title='Herding Cats: Windows Object Access Analysis on a Budget'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-pokdeFjZ0QI/TdQyshXfVGI/AAAAAAAAAK4/gKo5NSKSvHc/s72-c/HerdingCats.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-3517168675554774357</id><published>2011-05-13T16:55:00.000-04:00</published><updated>2011-10-05T21:28:45.252-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><title type='text'>Renocide Worm: Hiding in Plain Sight</title><content type='html'>I recently came across a sample of &lt;a href="http://www.microsoft.com/security/portal/Threat/Encyclopedia/Entry.aspx?Name=Worm%3AWin32%2FRenocide.gen%21H"&gt;Renocide&lt;/a&gt; which has been circulating for some time now. Microsoft recently published some of its infection numbers on the &lt;a href="http://blogs.technet.com/b/mmpc/archive/2011/03/16/win32-renocide-the-aftermath.aspx"&gt;MSRT blog&lt;/a&gt; if you are interested. The malicious code takes advantage of the auto run settings in Windows and spreads via mapped drives and USB storage devices. &lt;a href="http://www.virustotal.com/file-scan/report.html?id=135eecc03ae72898974ace686157428a175116c34881426c2f7e5127f823dfdc-1304430638"&gt;Virus Total&lt;/a&gt; shows decent coverage by the AV industry. While not particularly unique, I did note something interesting when I parsed the NTFS $MFT table during analysis. The malicious code seems to manipulate NTFS $MFT Timestamps on several malicious files it creates in the %windir%\System32 folder. The following screen shot is the $MFT attributes for the process csrcs.exe which the payload creates.&lt;br /&gt;&lt;br /&gt;&lt;table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/-I5qSk6pNwuA/Tc2VuapyeiI/AAAAAAAAAKI/ALfItb7DJWk/s1600/mft_parser_attrib.PNG" imageanchor="1" style="margin-left: auto; margin-right: auto;"&gt;&lt;img border="0" height="640" src="http://2.bp.blogspot.com/-I5qSk6pNwuA/Tc2VuapyeiI/AAAAAAAAAKI/ALfItb7DJWk/s640/mft_parser_attrib.PNG" width="430" /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class="tr-caption" style="text-align: center;"&gt;csrcs.exe (MD5: 989460dc5f8ac5c886078f50720d71e8)&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: center;"&gt;&lt;/div&gt;&lt;div style="text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;There a few things that struck me about the time manipulation. While it is not unusual to find the $SI born (creation) and modified attributes altered, I have never seen the $FN Born attribute changed. A closer look at the hex values of the $SI Born Attribute revealed something else.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/-jrEkMqQZpj0/Tc2WfvX7WWI/AAAAAAAAAKM/yzIaXKK1fF0/s1600/mft_xxd.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="346" src="http://3.bp.blogspot.com/-jrEkMqQZpj0/Tc2WfvX7WWI/AAAAAAAAAKM/yzIaXKK1fF0/s400/mft_xxd.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The $SI Born time of "20e6 980c a303 ca01" converts more specifically to 2009-07-13 06:16:55.938000 . The usec value is not zero which is unusual. My first thought was that the date/time values were copied from another file but while the date mirrors other system files, the time correctly coincides with the time of infection. Things that make you go hmm.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-3517168675554774357?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/3517168675554774357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/05/renocide-worm-hiding-in-plain-sight.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3517168675554774357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3517168675554774357'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/05/renocide-worm-hiding-in-plain-sight.html' title='Renocide Worm: Hiding in Plain Sight'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-I5qSk6pNwuA/Tc2VuapyeiI/AAAAAAAAAKI/ALfItb7DJWk/s72-c/mft_parser_attrib.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-1120338337702355168</id><published>2011-03-27T10:04:00.010-04:00</published><updated>2011-06-07T05:46:27.506-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>An Overdue Rant: The RSA Compromise</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/-f-eVgJI44dU/TY9FimLAPUI/AAAAAAAAAKE/44Lg0gmXC-k/s1600/team_jackhole.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/-f-eVgJI44dU/TY9FimLAPUI/AAAAAAAAAKE/44Lg0gmXC-k/s1600/team_jackhole.jpg" /&gt;&lt;/a&gt;OK I haven't had a good rant in a while on the blog, so be warned, there may be some pent up rage in the paragraphs ahead. Read on at your risk.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I do not usually write posts on the latest compromise as I always feel there is enough coverage, speculation, and commentary from smarter people than I. There is a lot of speculation about the recently announced &lt;a href="http://www.rsa.com/node.aspx?id=3872"&gt;RSA breach&lt;/a&gt; both on the technical details of the compromise and on who may have been behind the attack. Yeah everyone is throwing three letter acronyms around again. The Digital Underground Podcast recently posted a great discussion on the technical side &lt;a href="http://threatpost.com/en_us/blogs/paul-kocher-rsa-attack-032211"&gt;here&lt;/a&gt; and there as been some good posts on &lt;a href="http://isc.sans.edu/diary/The+Recent+RSA+Breach+-+Imagining+the+Worst+Case+And+Why+it+Isn+t+Time+to+Panic+Yet+/10609"&gt;mitigation techniques&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;The part I really have issue with is RSA's lack luster disclosure of this compromise. Some have suggested that they should be praised for publicly announcing the breach. I'm not sure when we set the bar so low. Since when is posting a written notification with vague details and little to no information on when and what was compromised and who is affected become acceptable?&lt;br /&gt;&lt;br /&gt;A lot of organizations have paid a lot of money to increase the security of their information systems and data by purchasing the RSA SecureID solution. Don't forget even if your not a customer of RSA (Disclosure: I am not) it is still your family's data being protected by such solutions. In short, I find RSA's actions post compromise disgusting and inept.&lt;br /&gt;&lt;br /&gt;While knowing the technical details of the compromise would benefit the security community by giving everyone an opportunity to learn where things went wrong, the reality is we will probably never know the details and this is OK with me. What needs to be done, on the part of RSA however, is to step up and fix where things went wrong, notify those clients affected, and offer them replacements or fixes for the technology they already purchased. Thus far the advice given by RSA is nothing more than best practice and common sense. I would like to think those implementing RSA's authentication solutions are probably already familiar with such administration controls.&lt;br /&gt;&lt;br /&gt;To use a bad analogy. This is the equivalent of a new home owner hiring a Master Locksmith to replace all the locks in their new home with a more secure solution, only to have the locksmith keep a copy of the keys and tell the customer at a later date that the key has been stolen and the customer should go buy a bigger guard dog or better alarm system at their own expense. Would this be acceptable?&lt;br /&gt;&lt;br /&gt;Not the greatest analogy but I did say their were more intelligent people than I posting about this didn't I?&lt;br /&gt;&lt;br /&gt;The truth is, everyone gets owned at some time or another. It is the actions of the compromised organization during the aftermath that will distinguish it from other competitors. Asking other security solution providers to sign an &lt;a href="https://twitter.com/RonGula/status/51244901328879616"&gt;NDA&lt;/a&gt; to learn more about the compromise is not looking out for the best interests of your customers.&lt;br /&gt;&lt;br /&gt;/Rant&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Updated June 01, 2011&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;It appears that there may have been several attacks against U.S. defense contractor's that leveraged information from the RSA compromise. Last Friday, Reuters &lt;a href="http://www.reuters.com/article/2011/05/27/us-usa-defense-hackers-idUSTRE74Q6VY20110527"&gt;reported&lt;/a&gt; that there was a breach at Lockheed Martin Corporation. On Monday, Wired &lt;a href="http://www.wired.com/threatlevel/2011/05/l-3/"&gt;reported&lt;/a&gt; that L-3 Communications had also been targeted and leaked memo suggested the attackers were using inside information on their SecureID system gained by the RSA hack. Today, Fox news is &lt;a href="http://www.foxnews.com/scitech/2011/05/31/northrop-grumman-hit-cyber-attack-source-says/"&gt;reporting&lt;/a&gt; a possible attack against Northrop Grumman. With all these reports flooding the internet it is difficult to know how much is based on fact but I did want to share a gem of a quote from the &lt;a href="http://www.wired.com/threatlevel/2011/05/l-3/"&gt;Wired report&lt;/a&gt;.&lt;br /&gt;&lt;blockquote&gt;Asked if the RSA intruders did gain the ability to clone SecurID  keyfobs, RSA spokeswoman Helen Stefen said, “That’s not something we had  commented on and probably never will.”&lt;/blockquote&gt;&lt;i&gt;Updated June 7, 2011&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;It appears RSA has updated their &lt;a href="http://www.rsa.com/node.aspx?id=3891"&gt;Open Letter to RSA SecurID Customers&lt;/a&gt;. The update provides verification of the Lockheed Martin attack and offers long awaited replacements of SecurID tokens, although for what appears to be a limited subset of SecurID customers. Thanks to &lt;a href="https://www.twitter.com/wimremes"&gt;Wim Remes&lt;/a&gt; for the heads up on the updated post.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-1120338337702355168?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/1120338337702355168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/03/overdue-rant-rsa-compromise.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1120338337702355168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1120338337702355168'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/03/overdue-rant-rsa-compromise.html' title='An Overdue Rant: The RSA Compromise'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/-f-eVgJI44dU/TY9FimLAPUI/AAAAAAAAAKE/44Lg0gmXC-k/s72-c/team_jackhole.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-781519236555992673</id><published>2011-03-24T03:38:00.029-04:00</published><updated>2011-03-24T15:36:06.451-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Pauldotcom Security Weekly: I am Talking about What?</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="https://lh6.googleusercontent.com/-uN-AtM47HK8/TYr-udAmepI/AAAAAAAAAKA/TIuCEcpfZUQ/s1600/images.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" src="https://lh6.googleusercontent.com/-uN-AtM47HK8/TYr-udAmepI/AAAAAAAAAKA/TIuCEcpfZUQ/s1600/images.jpg" /&gt;&lt;/a&gt;&lt;/div&gt;On Thursday March 24, 2011 I will be presenting the &lt;a href="http://pauldotcom.com/wiki/index.php/Episode236#Special_Guest_Tech_Segment:_Tim_Mugherini_presents_NTFS_MFT_Timelines_and_malware_analysis"&gt;tech segment&lt;/a&gt; on Episode 236 of PaulDotCom Security Weekly. The segment will cover the use of NTFS MFT timeline forensics in the static analysis of malware. This is a geekier version of my NAISG BOS presentation back in January and will cover some additional tools and technique's. The podcast begins around 8:00 PM and a live feed is available at &lt;a href="http://www.pauldotcom.com/live"&gt;http://www.pauldotcom.com/live&lt;/a&gt;. So if you are around, kick back with a beer, cigar, and listen live! I am looking forward to it.&lt;br /&gt;&lt;br /&gt;Updated March 24, 2011 3:30 PM&lt;br /&gt;&lt;br /&gt;As part of the tech segment this evening, &lt;a href="https://twitter.com/markmckinnon"&gt;Mark Mckinnon&lt;/a&gt; of &lt;a href="http://redwolfcomputerforensics.com/"&gt;RedWolf Computer Forensics&lt;/a&gt; has release the Windows beta of &lt;a href="http://redwolfcomputerforensics.com/downloads/MFT_Parser_05b_Setup.exe"&gt;mft_parser&lt;/a&gt; which supports $MFT $SI and $FN bodyfile output from both the CLI and GUI. Big thanks to Mark from the Incident Response and Forensics community.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-781519236555992673?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/781519236555992673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/03/pauldotcom-security-weekly-i-am-talking.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/781519236555992673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/781519236555992673'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/03/pauldotcom-security-weekly-i-am-talking.html' title='Pauldotcom Security Weekly: I am Talking about What?'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='https://lh6.googleusercontent.com/-uN-AtM47HK8/TYr-udAmepI/AAAAAAAAAKA/TIuCEcpfZUQ/s72-c/images.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-4034225804937449253</id><published>2011-01-27T15:44:00.000-05:00</published><updated>2011-01-27T15:44:12.372-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cons'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>Shmoocon or Bust</title><content type='html'>&lt;span style="font-size: small;"&gt;What would you do to get to Shmoo?&lt;br /&gt;&lt;br /&gt;Woke up at 4:00 AM&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;2.5 hours shovelling snow&lt;br /&gt;1 hour to get to train station&lt;br /&gt;1 hour on local commuter rail to BOS&lt;br /&gt;2 minutes to find my train to PVD cancelled&lt;br /&gt;1 hour on on first commuter rail to PVD&lt;br /&gt;Finding my 12:50 train to DC only five minutes late = priceless&lt;br /&gt;&lt;br /&gt;In about four hours I will be at &lt;a href="http://www.shmoocon.org/schedule"&gt;Shmoocon&lt;/a&gt; and it will to be Epic. This years schedule contains a lot of fresh blood and new faces (which is not a bad thing IMHO). The schedule is so packed with goodness, that I am going to have to make some tough decisions on which sessions to attend. In addition, the after hours action is packed full of awesomesauce. There is the return of &lt;a href="http://www.novainfosecportal.com/2011/01/12/shmoocon-2011-firetalks/"&gt;Firetalks&lt;/a&gt; on both Friday and Saturday evening, Podcasters meetup (including free booze), Jason Scott is previewing his new documentary called &lt;a href="http://www.getlamp.com/"&gt;Get Lamp&lt;/a&gt; on Saturday evening (first computer program I wrote was a text based Adventure game on my TI99-4A), and of course there are the parties and meet-ups that will certainly include scotch and cigars.&lt;br /&gt;&lt;br /&gt;On Friday we begin with, &lt;a href="http://www.shmoocon.org/speakers#opendlp"&gt;Gone in 60 Minutes: Stealing Sensitive Data from Thousands of Systems Simultaneously with OpenDLP&lt;/a&gt; with Andrew Gavin. Leveraging enterprise defense products = sexy in my book. Following that there are several cool sessions including a long awaited update from &lt;a href="http://www.hackersforcharity.org/"&gt;Johnny Long&lt;/a&gt; (who is back in the states for the con), and keynote by Peiter "Mudge" Zatko of DARPA.&lt;br /&gt;&lt;br /&gt;On Saturday, I am hoping that Jon Oberheide and Zach Lanier has the cure for my much anticipated hangover with their talk; &lt;a href="http://www.shmoocon.org/speakers#teamjoch"&gt;TEAM JOCH vs. Android: The Ultimate Showdown&lt;/a&gt; which will highlight their work on subverting the Android OS. I plan to follow-up with &lt;a href="http://www.shmoocon.org/speakers#harddrive"&gt;Hard Drive Paperweight: Recovery from a Seized Motor!&lt;/a&gt; being delivered by Scott Moulton. Scott is a super smart dude who never disappoints. I am guaranteed to learn something there.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.shmoocon.org/speakers#printerwild"&gt;Printers Gone Wild!&lt;/a&gt; with Ben Smith is in the next slot. Next I need to make some of those tough decisions I mentioned earlier. There is &lt;a href="http://www.shmoocon.org/speakers#3g4g"&gt;Attacking 3G and 4G mobile telecommunications networks&lt;/a&gt; with Enno Rey &amp;amp; Daniel Mende and &lt;a href="http://www.shmoocon.org/speakers#evite"&gt;An Evite from Surbo? Probably an invitation for trouble&lt;/a&gt; with Trent Lo aka "Surbo" from &lt;a href="http://i-hacked.com/"&gt;i-hacked.com&lt;/a&gt;&lt;a href="http://www.i-hacked.com/"&gt;http://www.i-hacked.com/&lt;/a&gt;. There is no doubt that mobile tech has definetly come of age and consequently will become a target but Trent is also a smart, entertaining dude. Then in at 16:00 there is &lt;a href="http://www.shmoocon.org/speakers#mtans"&gt;Defeating mTANs for profit&lt;/a&gt; with Axelle Apvrille and Kyle Yang (mTAN = one-time bank password by SMS) and G W Ray Davidson's talk on designing a network for a conferance entitled &lt;a href="http://www.shmoocon.org/speakers#shmoocollege"&gt;ShmooCon Labs Goes To College&lt;/a&gt;. Both decisions will most likely be down to the wire. On Sunday, the talk that seems to be on averyone's agenda is Georgia Weidman's &lt;a href="http://www.shmoocon.org/speakers#botnetsms"&gt;Transparent Botnet Control for Smartphones Over SMS&lt;/a&gt; in which she will release POC for a sms controlled botnet.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;Total estimated time to get to the con = 15 hours (and worth it). See you in a few hours Shmoocon&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-4034225804937449253?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/4034225804937449253/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/01/shmoocon-or-bust.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/4034225804937449253'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/4034225804937449253'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/01/shmoocon-or-bust.html' title='Shmoocon or Bust'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-4369417625678986242</id><published>2011-01-14T06:52:00.002-05:00</published><updated>2011-02-01T16:38:52.559-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>NAISG: Leveraging NTFS Master File Table Timeline Forensics in the Analysis of Malware</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_KM-Ojgotrpk/TTBNhq-jvKI/AAAAAAAAAJ0/EkeSTii-Sqc/s1600/IncidentResponse.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="150" src="http://3.bp.blogspot.com/_KM-Ojgotrpk/TTBNhq-jvKI/AAAAAAAAAJ0/EkeSTii-Sqc/s200/IncidentResponse.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-size: large;"&gt;What is in your incident response kit? &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Next week I am delivering a talk at the Boston Chapter of National Information Security Group (NAISG) on Thursday January 20, 2011. I will be speaking on the use of NTFS Master File Table Timeline Forensics in the Analysis of Malware.  The meeting and talk is open to everyone and more information can be found &lt;a href="http://boston.naisg.org/meetings.asp"&gt;here&lt;/a&gt;. If you are in the Boston area come down and check it out. NAISG will post the talk and slides at a later date and I will make sure I link back to it here.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Updated: February 1, 2011&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;NAISG has posted the video for my presentation &lt;a href="mms://boston.naisg.org/media/201101Forensics.wmv"&gt;here&lt;/a&gt;. The slide deck can be found on Slideshare &lt;a href="http://slidesha.re/fYTAXq"&gt;here&lt;/a&gt;. I also wanted to say thank you to NAISG Boston chapter for having me. It was a blast!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-4369417625678986242?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/4369417625678986242/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2011/01/naisg-leveraging-ntfs-master-file-table.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/4369417625678986242'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/4369417625678986242'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2011/01/naisg-leveraging-ntfs-master-file-table.html' title='NAISG: Leveraging NTFS Master File Table Timeline Forensics in the Analysis of Malware'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_KM-Ojgotrpk/TTBNhq-jvKI/AAAAAAAAAJ0/EkeSTii-Sqc/s72-c/IncidentResponse.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-2762411225620088863</id><published>2010-12-23T15:36:00.000-05:00</published><updated>2010-12-23T15:36:36.556-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='books'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>The More Things Change The More They Stay The Same: Reading "The Cuckoo's Egg"</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://ecx.images-amazon.com/images/I/51sSd8+SI7L._SS500_.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://ecx.images-amazon.com/images/I/51sSd8+SI7L._SS500_.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;What rock was large enough that I somehow was unaware of this book's existence the last 20 years of my life? &lt;br /&gt;&lt;br /&gt;I just finished reading &lt;a href="http://www.amazon.com/Cuckoos-Egg-Tracking-Computer-Espionage/dp/1416507787/ref=sr_1_1?s=books&amp;amp;ie=UTF8&amp;amp;qid=1293135998&amp;amp;sr=1-1"&gt;The Cuckoo's Egg: Tracking a Spy Through the Maze of Computer Espionage&lt;/a&gt; by Cliff Stoll. The book is based on the true account of Cliff Stoll's experience tracking a hacker through a laboratory computer network at Berkeley in the mid 1980's. The author quickly finds himself in a year long obsession that involved military targets, several US government agencies, and law enforcement from multiple continents.&lt;br /&gt;&lt;br /&gt;The story completely sucked me in. The amazing part is more than 25 years later, with the exception of bandwidth and the shear number of targets, not much has really changed. Detective book fans will enjoy it. Security geeks will love it. Incident Responders should be required to read it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-2762411225620088863?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/2762411225620088863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/12/more-things-change-more-they-stay-same.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/2762411225620088863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/2762411225620088863'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/12/more-things-change-more-they-stay-same.html' title='The More Things Change The More They Stay The Same: Reading &quot;The Cuckoo&apos;s Egg&quot;'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-2816240560179288147</id><published>2010-12-23T11:49:00.002-05:00</published><updated>2010-12-30T11:20:12.723-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='malware analysis'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Not Just Another Analysis of Scareware</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_KM-Ojgotrpk/TQ-xaA96uOI/AAAAAAAAAJI/ug-HxVhMMtw/s1600/woman_screaming.gif" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="200" src="http://2.bp.blogspot.com/_KM-Ojgotrpk/TQ-xaA96uOI/AAAAAAAAAJI/ug-HxVhMMtw/s200/woman_screaming.gif" width="180" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style="font-size: large;"&gt;Introduction to our Sample &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The initial infection came to my attention from an end user. He had reported all Google searches from his browser seemed to be forwarding to hxxp://findgala.com and he was getting warnings about malware on his computer. The system infected was a reasonably up to date Windows 7 notebook. The system was missing the latest patch for Adobe Flash (v 10.1.102.64). The user did not have administrator privileges, the windows firewall was enabled, Internet Explorer 8 with the default of medium/high security was set for the Internet Zone, and Symantec Endpoint 11.X was installed with up to date definition files. Note that Windows UAC was NOT enabled. &lt;br /&gt;&lt;br /&gt;A quick assessment of the system determined it had been infected with some form of scareware. All existing desktop shortcuts had been removed and two shortcuts named "Computer" and "Internet Security Suite" remained. These pointed to "C:\ProgramData\891b6\ISe6d_2229.exe /z" and "C:\ProgramData\e6db66\ISe6d_2229.exe /hkd" respectively. The folder containing the executable was marked hidden and I noted the process was running via TACKIST /SVC. An icon running in the system tray when accessed presented the following screen.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_KM-Ojgotrpk/TQ-yWMY22_I/AAAAAAAAAJQ/XFsgoNvoloI/s1600/ScreenShot1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="459" src="http://2.bp.blogspot.com/_KM-Ojgotrpk/TQ-yWMY22_I/AAAAAAAAAJQ/XFsgoNvoloI/s640/ScreenShot1.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;Symantec Endpoint Protection seemed to be neutered by the infection as did several other Windows tools including Task Manager. Initial searching on the internet for the title of the malware only pulled links to legitimate  Anti Malware products including CA, Zone Alarm, and Verizon's &lt;a href="http://www22.verizon.com/residential/services/securitysuite/securitysuite.htm"&gt;Internet Security Suite&lt;/a&gt; service.Virus Total returned the following &lt;a href="http://www.virustotal.com/file-scan/report.html?id=19f7bd2c7a74caa586232abefb22aeea224ba14c7d599c89561fba34f33bdf22-1289922742"&gt;analysis&lt;/a&gt;. Here is a summary of the file submitted:&lt;br /&gt;&lt;blockquote&gt;File Name: ISe6d_2229.exe&lt;br /&gt;File Type: Windows 32 bit Portable Executable&lt;br /&gt;MD5: 699ebebcac9aaeff67bee94571e373a1&lt;br /&gt;SHA1: ed763d1bc340db5b4848eeaa6491b7d58606ade2&lt;br /&gt;File size: 3590656 bytes&lt;br /&gt;First seen: 2010-11-14 01:20:29&lt;br /&gt;Last seen: 2010-11-16 15:52:22&lt;/blockquote&gt;My general impression of the GUI was this was a well designed piece of code. I imaged the system with dd and instructed the desktop engineers to wipe the system and reset all the user passwords. This proved to be a mistake on my part as I did not verify my image before they wiped the system. Later I found myself unable to boot the raw image in VMware after converting it to a VMDK with &lt;a href="http://sourceforge.net/projects/raw2vmdk/"&gt;Raw2VMDK&lt;/a&gt; (blue screen on loading the OS). &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Static Analysis&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I began with static analysis of the file system by mounting the image with &lt;a href="http://accessdata.com/support/adownloads"&gt;FTK Imager Lite&lt;/a&gt;. I exported the Master File Table and parsed it with &lt;a href="http://www.integriography.com/"&gt;analyzeMFT &lt;/a&gt;. With the estimated time of infection obtained from the victim I was able to pinpoint the file's created and modified during the initial infection.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/TQ-yBns9j2I/AAAAAAAAAJM/pj12rIiipZ4/s1600/MFT_ScreenShotOrignalInfection.PNG" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="299" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/TQ-yBns9j2I/AAAAAAAAAJM/pj12rIiipZ4/s640/MFT_ScreenShotOrignalInfection.PNG" width="640" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The initial few files listed in the MFT caught my attention first.&lt;br /&gt;&lt;blockquote&gt;&lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td&gt;&lt;b&gt;Record &lt;/b&gt;&lt;/td&gt; &lt;td&gt;&lt;b&gt;Type&lt;/b&gt;&lt;/td&gt; &lt;td&gt;&lt;b&gt;Parent&amp;nbsp; &lt;/b&gt;&lt;/td&gt; &lt;td&gt;&lt;b&gt;Filename&lt;/b&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;63861&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/td&gt; &lt;td&gt;Folder&amp;nbsp; &lt;/td&gt; &lt;td&gt;602 &lt;/td&gt; &lt;td&gt;e6db66&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;63915 &lt;/td&gt; &lt;td&gt;File&lt;/td&gt; &lt;td&gt;2755&lt;/td&gt; &lt;td&gt;TASKKILL.EXE-8F5B2253.pf&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;63926&lt;/td&gt; &lt;td&gt;File &lt;/td&gt; &lt;td&gt;2755&lt;/td&gt; &lt;td&gt;SETUP_2229[1].EXE-11C68EE8.pf&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;63923&lt;/td&gt; &lt;td&gt;File &lt;/td&gt; &lt;td&gt;63861&lt;/td&gt; &lt;td&gt;ISe6d_2229.exe&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;The two prefetch files should give a hint of the name and location of the payload. I use &lt;a href="http://redwolfcomputerforensics.com/index.php?option=com_content&amp;amp;task=view&amp;amp;id=42&amp;amp;Itemid=55"&gt;Prefetch Parse&lt;/a&gt;r to parse the C:\Windows\Prefetch folder to obtain some more details:&lt;br /&gt;&lt;blockquote&gt;&lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td&gt;&lt;b&gt;Record&amp;nbsp; &lt;/b&gt;&lt;/td&gt; &lt;td&gt;&lt;b&gt;File&lt;/b&gt;&lt;/td&gt; &lt;td&gt;&lt;b&gt;Times Run&amp;nbsp; &lt;/b&gt;&lt;/td&gt; &lt;td&gt;&lt;b&gt;UTC Time&lt;/b&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;SETUP_2229[1].EXE-11C68EE8.pf &amp;nbsp; &lt;/td&gt; &lt;td&gt;SETUP_2229[1].EXE&amp;nbsp;&amp;nbsp; &lt;/td&gt; &lt;td&gt;1&lt;/td&gt; &lt;td&gt;Sat Nov 13 01:16:53 2010&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;TASKKILL.EXE-8F5B2253.pf &lt;/td&gt; &lt;td&gt;TASKKILL.EXE&amp;nbsp; &lt;/td&gt; &lt;td&gt;1&lt;/td&gt; &lt;td&gt;Sat Nov 13 01:16:53 2010&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;RUNDLL32.EXE-80EAA685.pf&lt;/td&gt; &lt;td&gt;RUNDLL32.EXE&lt;/td&gt; &lt;td&gt;1&lt;/td&gt; &lt;td&gt;Sat Nov 13 01:17:16 2010&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/blockquote&gt;Further analysis of the .pf files gave me the location and names.&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;SETUP_2229[1].EXE-11C68EE8.pf &amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;\USERS\%USERNAME%\APPDATA\LOCAL\MICROSOFT\WINDOWS\TEMPORARY INTERNET FILES\CONTENT.IE5\G4KYBRHH\SETUP_2229[1].EXE&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;TASKKILL.EXE-8F5B2253.pf&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;\USERS\%USERNAME%\APPDATA\LOCAL\MICROSOFT\WINDOWS\TEMPORARY INTERNET FILES\CONTENT.IE5\G4KYBRHH\ANPRICE=85[1].HTM&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style="font-size: small;"&gt;RUNDLL32.EXE-80EAA685.pf&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;\PROGRAMDATA\E6DB66\ISE6D_2229.EXE&lt;/span&gt;&lt;/blockquote&gt;It does appear the sample originated from the web. Unfortunately, I could not locate SETUP_2229[1].EXE or ANPRICE=85[1].HTM in the image. Most likely overwritten after several days of use post infection, I moved on the parsing the Internet browser history by using MiTeC &lt;a href="http://www.mitec.cz/wfa.html"&gt;Windows File Analyzer&lt;/a&gt; and began parsing the last few web sites and searches completed by the user. Unsuccessful in locating the source of the payload, I was not able to verify if it was delivered via a vulnerability or user interaction.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: small;"&gt;I moved on to use the MFT to locate all files associated with the infection and export the hashes. Here is a summary files found in the /[root]/ProgramData folder:&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt;  &lt;td width="40%"&gt;&lt;b&gt;MD5&lt;/b&gt;&lt;/td&gt; &lt;td width="60%"&gt;&lt;b&gt;File&lt;/b&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;cd407baa9a55b9c303f0c184a68acc5c&lt;/td&gt; &lt;td&gt;\E6DB66\6139ba67beb5a1febb1e8cfc73a42e9c.ocx&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;699ebebcac9aaeff67bee94571e373a1&lt;/td&gt; &lt;td&gt;\E6DB66\ISE6D_2229.EXE&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;2e317d604f25e03b8e8448c6884f64e3&lt;/td&gt; &lt;td&gt;\E6DB66\ISS.ico&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;3ee5ee57af2f62a47d2e93e9346b950f&lt;/td&gt; &lt;td&gt;\E6DB66\mcp.ico&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;be44f801f25678e1ffdd12600f1c0bc7&lt;/td&gt; &lt;td&gt;\ISKPQQMS\ISXPLLS.cfg&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt; &lt;/table&gt;&lt;/blockquote&gt;The following summarizes files found in the /[root]/users/%username%/ folder:&lt;br /&gt;&lt;blockquote&gt;&lt;table border="0"&gt;&lt;tbody&gt;&lt;tr&gt; &lt;td width="40%"&gt;&lt;b&gt;MD5&lt;/b&gt;&lt;/td&gt; &lt;td width="60%"&gt;&lt;b&gt;File&lt;/b&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;2b7509a2221174a82f6a886bbdd2e115&lt;/td&gt;  &lt;td&gt;\Desktop\Computer.lnk&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;fb16300f2f9799376807b13ad8314ca2&lt;/td&gt; &lt;td&gt;\Desktop\Internet Security Suite.lnk&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;fd00cfeecc333aedc56fd428f2b9b5ba&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Internet Security Suite\Instructions.ini&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;4635f17db7d2f51651bebe61ba2f4537&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\ANTIGEN.dll&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;6032703c3efc5f3d3f314a3d42e2a500&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\cb.exe&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;12ddf77984d6f2e81a41f164bea12a1c&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\cid.sys&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;81c9ad6037c14537044b3e54d8b84c99&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\ddv.exe&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;f28c20c6df79e9fe68b88fb425d36d57&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\eb.sys&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;6274e77cd16d6dbec2bb3615ff043694&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\energy.drv&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;a3342f285bfb581f0a4e786cc90176d2&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\energy.sys&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;1ac2fb2dbd0023b54a8f083d9abbf6db&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\exec.exe&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;2dc3df846ff537b6c3e6d74475a0d03d&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\FW.drv&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;a32f789b1b6f281208fa1c8d54bf8cdc&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\gid.dll&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;b48d1cc8765719a79a9352e2b8f891ef&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\hymt.exe&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;532c6465f4dd9c7bce31b7a7986e3270&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\hymt.sys&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;f941f6eedf5b33a0b49b9787d5f0dfc2&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\kernel32.sys&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;2ff0c3a804b85d3e7e6487d9bece6416&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\PE.dll&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;454f06575c9214f7b9cb01c606fd72fe&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\PE.sys&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;243b5a8a95bb4f8822790b8f0c81b82a&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\ppal.exe&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;9d34330ec68d148cc5701d6cd279c84c&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\SICKBOY.drv&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td&gt;493fc17532f9b6ac330dbdb3a01a5361&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\sld.drv&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;d0d210a62cb66ff452e9a5cfc8e8f354&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\SM.sys&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt; &lt;td&gt;a2ca707ee60338ac5ec964f7685752ba&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\std.dll&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;    &lt;td&gt;a1e25ab2f19565f707d85e471f41e08f&lt;/td&gt; &lt;td&gt;\AppData\Roaming\Microsoft\Windows\Recent\snl2w.dll&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt; &lt;/table&gt;&lt;/blockquote&gt;&lt;span style="font-size: small;"&gt;I also noted that the hosts file had been modified at the time of infection. The following is a sample of entries that had been added (note: additional countries root domain entries for the top search engines were also added but are not included in this analysis for &lt;/span&gt;simplicity's sake&lt;span style="font-size: small;"&gt;):&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;74.125.45.100 4-open-davinci.com&lt;br /&gt;74.125.45.100 securitysoftwarepayments.com&lt;br /&gt;74.125.45.100 privatesecuredpayments.com&lt;br /&gt;74.125.45.100 secure.privatesecuredpayments.com&lt;br /&gt;74.125.45.100 getantivirusplusnow.com&lt;br /&gt;74.125.45.100 secure-plus-payments.com&lt;br /&gt;74.125.45.100 www.getantivirusplusnow.com&lt;br /&gt;74.125.45.100 www.secure-plus-payments.com&lt;br /&gt;74.125.45.100 www.getavplusnow.com&lt;br /&gt;74.125.45.100 safebrowsing-cache.google.com&lt;br /&gt;74.125.45.100 urs.microsoft.com&lt;br /&gt;74.125.45.100 www.securesoftwarebill.com&lt;br /&gt;74.125.45.100 secure.paysecuresystem.com&lt;br /&gt;74.125.45.100 paysoftbillsolution.com&lt;br /&gt;74.125.45.100 protected.maxisoftwaremart.com&lt;br /&gt;69.72.252.252 www.google.com &lt;br /&gt;69.72.252.252 google.com &lt;br /&gt;69.72.252.252 www.google.no&lt;br /&gt;69.72.252.252 www.google-analytics.com&lt;br /&gt;69.72.252.252 www.bing.com&lt;br /&gt;69.72.252.252 search.yahoo.com &lt;br /&gt;69.72.252.252 www.youtube.com&lt;/blockquote&gt;Using bintext to pull the strings from ISe6d_2229.exe provided a few interesting things of note. Specifically a company and product name of "limnol" and file and product version of "1.1.0.1010". Searches for this reference with some added keywords found some additional submissions to virus total but nothing that was not already known from my earlier submission.&lt;br /&gt;&lt;br /&gt;There were also strings associated with a Microsoft Windows &lt;a href="http://msdn.microsoft.com/en-us/library/bb756929.aspx"&gt;manifest file&lt;/a&gt;. Such a file can be embedded in software by the developer to instruct Windows Vista and Windows 7 on what Privileges the software needs to run as. The default setting of "run as the user" was obtained from the strings:&lt;br /&gt;&lt;blockquote&gt;&amp;lt;security&amp;gt;&lt;br /&gt;&amp;lt;requestedprivileges&amp;gt;&lt;br /&gt;&amp;lt;requestedexecutionlevel level="asInvoker" uiaccess="false"&amp;gt;&amp;lt;/requestedexecutionlevel&amp;gt;&lt;br /&gt;&amp;lt;/requestedprivileges&amp;gt;&lt;br /&gt;&amp;lt;/security&amp;gt;&lt;/blockquote&gt;I continued the analysis by taking a look at the Windows registry. This was done by exporting the HKCU and HKCM hives from the raw image and using both &lt;a href="http://regripper.net/"&gt;RegRipper&lt;/a&gt; and MiTeC &lt;a href="http://www.mitec.cz/wrr.html"&gt;Windows Registry Recovery&lt;/a&gt; to analyze the entries. The HKCU Run key contained an entry to autostart the executable on startup.&lt;br /&gt;&lt;blockquote&gt;[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]&lt;br /&gt;"Internet Security Suite"="\"C:\\ProgramData\\e6db66\\ISe6d_2229.exe\" /s /d"&lt;/blockquote&gt;In addition, I was able to verify that the registry contained an entry for findgala.com under:&lt;br /&gt;&lt;blockquote&gt;[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\SearchScopes]&lt;br /&gt;"URL"="http://findgala.com/?&amp;amp;uid=2229&amp;amp;q={searchTerms}"&lt;/blockquote&gt;The [HKEY_CURRENT_USER\Software\Internet Security Suite] key contained several subkeys within it. The entries here seemed to be similar to the contents of the Instructions.ini file found earlier in the appdata folder of the user profile. This file resided in a hidden folder with the same name as the registry key. I have listed one entry as an example here.&lt;br /&gt;&lt;blockquote&gt;[HKEY_CURRENT_USER\Software\Internet Security Suite\23071C180E1E]&lt;br /&gt;"3016131C2F0B18311F0CF4D5EBEEE1"="4746574B4E544E4D4F4FA0B0B8B2B5BFB7BEA8D9C7"&lt;br /&gt;"23071C180E1E31180D0CE1E6E7"=""&lt;br /&gt;"2205012C0A1F2814131A"="4746574B4E544E4D4F4FA0B0B8B3BDBFB2B7A8D9C7"&lt;br /&gt;"3A160B0D2E090534100CF4F3F7E0F0ECE9E9"="4746574B4E544E4D4F4FA0B0B8B2B5BFB7BEA8D9C7"&lt;br /&gt;"3A160B0D3C1E19192E3BCD"="4746574B4E544E4D4F4FA0B0B8B3BDBFB2B7A8D9C7"&lt;br /&gt;"3A160B0D2F0B181C0A1A"="4746574B4E544E4D4F4FA0B0B8B3BDBFB2B7A8D9C7"&lt;br /&gt;"3A160B0D34140E101F13D5F1E6E2F0E0"="4746574B4E544E4D4F4FA0B0B8B2B5BFB7BEA8D9C7"&lt;br /&gt;"3E22081D1B0F19"="46"&lt;br /&gt;"24181415181A1F16"=""&lt;br /&gt;"2205012C0A1F1D091B2DF5EFC1ECF1EBF2"="46"&lt;br /&gt;"3E1E1C1D1F15290D1A1EF4E4C1ECF1EBF2"="46"&lt;br /&gt;"3B1E0A0B15093F120B11F4"="46"&lt;br /&gt;"3218151813154C"=""&lt;br /&gt;"23071C180E1E"="46"&lt;/blockquote&gt;Lastly, the [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\] key had several entries for what appeared to be legitimate software, tools, and other forms of malware. Entries included; taskmgr.exe, rtvscan.exe (Symantec Endpoint Protection), and dozens of other programs. All legitimate and illegitimate software was being blocked via an entry for debugger with a value of "svchost.exe". &lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Dynamic Analysis&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I began dynamic analysis by first attempting to infect a virtualized Windows 7 system in my lab (Note: all initial attempts were with administrator privileges with UAC disabled). Running the executable seemed to generate a runtime error, so I attempted to run it from the command prompt with the /hkd switch found in the desktop shortcut during static analysis. &lt;a href="http://technet.microsoft.com/en-us/sysinternals/bb896645"&gt;Process Monitor&lt;/a&gt; was used in an attempt to capture all file, registry, and network connection changes during infection. The following error was displayed;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_KM-Ojgotrpk/TQ-66Ip7tKI/AAAAAAAAAJU/RdHtqW0oO10/s1600/MonitorProgramFound.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="121" src="http://3.bp.blogspot.com/_KM-Ojgotrpk/TQ-66Ip7tKI/AAAAAAAAAJU/RdHtqW0oO10/s320/MonitorProgramFound.PNG" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Thinking it picked up on Process Monitor, I tried again but without procmon.exe but I was presented with the same error. It seemed that this sample was VM aware. Again I attempted to infect a clean install of Windows 7 on physical hardware with procmon.exe and again, I was met with failure. I turned to utilizing &lt;a href="https://www.honeynet.org/node/315"&gt;CaptureBat&lt;/a&gt; to monitor file and registry changes during install. Infection proceeded but I noted my sample used for analysis had been removed. On further inspection, it appeared that a .bat file was the culprit. The contents of the file were as follows;&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;MD5&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/b&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;FileName&lt;/b&gt;&lt;br /&gt;329e8a313f20cd8b4ebf67642331c007&amp;nbsp;&amp;nbsp;&amp;nbsp; \Users\bugbear\AppData\Local\Temp\del.bat&lt;br /&gt;&lt;br /&gt;:Repeat&lt;br /&gt;del "C:\Users\bugbear\Desktop\e6db66\ISE6D_~1.EXE"&lt;br /&gt;if exist "C:\Users\bugbear\Desktop\e6db66\ISE6D_~1.EXE" goto Repeat&lt;br /&gt;del "C:\Users\bugbear\AppData\Local\Temp\del.bat"&lt;/blockquote&gt;I also noted the name of the files and folders associated with the malware seem to vary on each infection. Verification of hashes proved that it was indeed the same malicious program however. File and registry monitoring verified the findings from the static analysis and I noted some additional changes as well. It appeared the rogue software attempts to disable UAC by editing the following registry keys;&lt;br /&gt;&lt;blockquote&gt;registry: SetValueKey C:\Users\bugbear\Desktop\e6db66\ISe6d_2229.exe -&amp;gt; HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorAdmin&lt;br /&gt;registry: SetValueKey C:\Users\bugbear\Desktop\e6db66\ISe6d_2229.exe -&amp;gt; HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ConsentPromptBehaviorUser&lt;br /&gt;registry: SetValueKey C:\Users\bugbear\Desktop\e6db66\ISe6d_2229.exe -&amp;gt; HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA&lt;/blockquote&gt;Additional registry entries in HKEY_Current_User were also modified. Including the Internet Explorer proxy and wpad settings under [HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings]. Additionally, rather than modify the host file directly, the executable seemed to create a temporary host file, remove the old one, and replace it with this new version.&lt;br /&gt;&lt;blockquote&gt;file: Write C:\Users\bugbear\Desktop\e6db66\ISe6d_2229.exe -&amp;gt; C:\Windows\System32\drivers\etc\host_new&lt;br /&gt;file: Delete C:\Users\bugbear\Desktop\e6db66\ISe6d_2229.exe -&amp;gt; C:\Windows\System32\drivers\etc\hosts&lt;br /&gt;file: Write C:\Users\bugbear\Desktop\e6db66\ISe6d_2229.exe -&amp;gt; C:\Windows\System32\drivers\etc\hosts&lt;br /&gt;file: Delete C:\Users\bugbear\Desktop\e6db66\ISe6d_2229.exe -&amp;gt; C:\Windows\System32\drivers\etc\host_new&lt;/blockquote&gt;Typical "features" associated with scareware seemed to be included with this sample. The rogue software begins a "scan" of the infected system immediately upon execution. Scan results display "infected" files located in [root]\Users\%username%\AppData\Roaming\Microsoft\Windows\Recent\ folder identified during static analysis.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_KM-Ojgotrpk/TQ-7ioRFpmI/AAAAAAAAAJY/o46rhniShZE/s1600/ScreenShot2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="459" src="http://3.bp.blogspot.com/_KM-Ojgotrpk/TQ-7ioRFpmI/AAAAAAAAAJY/o46rhniShZE/s640/ScreenShot2.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Please note, no attempt was made to identify these files as legitimate malware by myself, although that may be an interesting exercise for another time. Not unlike an episode of the Soprano's, the victim is intimidated into buying protection and is offered several opportunities to buy a subscription. Multiple subscription options are available.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_KM-Ojgotrpk/TQ-7oh5PNyI/AAAAAAAAAJc/bW8UTgGqvYw/s1600/ScreenShot4.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="400" src="http://4.bp.blogspot.com/_KM-Ojgotrpk/TQ-7oh5PNyI/AAAAAAAAAJc/bW8UTgGqvYw/s640/ScreenShot4.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;At one point my lab system spewed a blood curdling scream from its speakers before displaying yet another option to "protect" oneself (a little over the top if you ask me). My favorite feature goes to Chat Support however.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/TQ-8JZS_70I/AAAAAAAAAJk/Z5z4qEX7hMQ/s1600/Support_Chat.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="386" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/TQ-8JZS_70I/AAAAAAAAAJk/Z5z4qEX7hMQ/s400/Support_Chat.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/TQ-7uMoPO4I/AAAAAAAAAJg/FebMmZkcZho/s1600/ScreenShot5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;/a&gt;&lt;/div&gt;I do not think Jane appreciated my bluntness. Network connections for both the subscription service and chat support sessions were collected with the following script which leverages the netstat command.&lt;br /&gt;&lt;blockquote&gt;&amp;nbsp;for /L %1 in (0,0,0) do netstat -anob&amp;gt;&amp;gt;C:\netstat.txt&lt;/blockquote&gt;Both IP addresses associated with the subscription service and chat support sessions were registered to hosting providers here in the US. The strangest behavior observed however, was captured with Process Explorer and Wireshark post infection. Multiple instances of ping.exe running under cmd.exe were noted. Upon examination of the packet capture, it appeared the processes were spewing ICMP and SYN packets to two IP Addresses registered to .RU domains.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/TQ_HQc82rvI/AAAAAAAAAJo/YL3nHBm9Ta8/s1600/PacketCapture1.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="312" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/TQ_HQc82rvI/AAAAAAAAAJo/YL3nHBm9Ta8/s640/PacketCapture1.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Soon after this behavor was noted. The executable associated with the infection was mysteriously removed from the system. Attempts to duplicate this behavior later failed. &lt;br /&gt;&lt;br /&gt;Further analysis of the infection and sample was done without administrator rights and with UAC disabled. No edit of the hosts file or registry keys in HKLM were noted, however. The malware still setup shop within the ProgramData and User Profile locations noted with the earlier analysis but the fact the user with the original infection had no administrator rights and the host file and HKLM keys were modified remains a bit of a mystery. One might speculate, the original payload might behave differently.&lt;br /&gt;&lt;br /&gt;Further Google searching utilizing these findings led me to Microsoft's Malware Protecton Center write-up on &lt;a href="http://www.microsoft.com/security/portal/Threat/Encyclopedia/Entry.aspx?name=Rogue%3aWin32%2fFakeVimes&amp;amp;threatid=141340"&gt;Rogue:Win32/FakeVimes&lt;/a&gt;. Although Virus Total had not indicated such, it would seem our sample has had many aliases and upgrades.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Lessons Learned&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;All in all I learned a lot and had fun analyzing the sample (it beats watching sitcoms). Few things I noted for future analysis attempts.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Always verify your images and keep the original copy if possible (aka don't be a dumbass Tim)&lt;/li&gt;&lt;li&gt;Static file forensics techniques can be very useful during malware analysis&lt;/li&gt;&lt;li&gt; Have multiple tools that can perform similar tasks is sometimes needed&lt;/li&gt;&lt;li&gt;Fear is a powerful marketing angle and the bad guys are getting better at it&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Feel free to ping me if you would like a copy of the sample. I would be more than happy to trade notes with others.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Update: Questions Unanswered&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Updated on December 30, 2010.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://perpetualhorizon.blogspot.com/"&gt;Curt Wilson&lt;/a&gt; was kind enough to &lt;a href="http://securitybraindump.blogspot.com/2010/12/not-just-another-analysis-of-scareware.html#comments"&gt;comment&lt;/a&gt; on my analysis earlier this week. He brought up an interesting tidbit that I had missed. The title of error message displayed when attempting to perform dynamic analysis in a virtualized environment references &lt;a href="http://www.oreans.com/themida.php"&gt;Themida&lt;/a&gt;, a known packer used in malware. The following screen shot obtained from Google images is telling:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_KM-Ojgotrpk/TRyfqeg8FiI/AAAAAAAAAJw/Zear6qMCmfg/s1600/themida.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="524" src="http://2.bp.blogspot.com/_KM-Ojgotrpk/TRyfqeg8FiI/AAAAAAAAAJw/Zear6qMCmfg/s640/themida.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;According to the results of my initial Google searches, Themida has been around for some time. There are some scripts available for OllyDbg to unpack executables using this tech so I hope to continue down the rabbit hole.&lt;br /&gt;&lt;br /&gt;Moreover, I think the files placed in the recent folder of the user profile is worth a quick look, as is the payloads of packet captures. Looks like I have some interesting commutes ahead of me on the train. Until Part II of the analysis, Happy Hunting!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-2816240560179288147?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/2816240560179288147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/12/not-just-another-analysis-of-scareware.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/2816240560179288147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/2816240560179288147'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/12/not-just-another-analysis-of-scareware.html' title='Not Just Another Analysis of Scareware'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_KM-Ojgotrpk/TQ-xaA96uOI/AAAAAAAAAJI/ug-HxVhMMtw/s72-c/woman_screaming.gif' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-7129683440661057782</id><published>2010-10-13T06:20:00.003-04:00</published><updated>2010-11-30T12:39:20.800-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>Hacking a Fix</title><content type='html'>There have been many discussions, rants, and commentary on what it means to be a hacker. Many of us in the security community use the term in its original intended use and despise the way the media and popular culture portrays it. Hacking to many of us is about learning and using that knowledge to make improvements upon software and hardware. I have previously &lt;a href="http://securitybraindump.blogspot.com/2010/05/why-hackers-make-best-it-support.html"&gt;posted&lt;/a&gt; about the resourcefulness of people that define themselves as hackers. My coding skills are certainly not L337 and I am certainly not dropping 0-day but what I am very skilled at is understanding technical issues and finding unique solutions to them. This post is on one such issue and my obsession to fix it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;The Backstory&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I recently exchanged emails with APC support on their use of a self signed certificate for SSL access to the web management interface of Powerchute Network Shutdown (PCNS). Powerchute Network Shutdown is used in conjunction with APC Universal Power Supplies (UPS). The product is used to manage and shutdown servers during power issues and outages. The most recent &lt;a href="http://www.apc.com/products/family/index.cfm?id=127"&gt;release&lt;/a&gt; is version 2.2.4.&lt;br /&gt;&lt;br /&gt;In previous releases, APC &lt;a href="http://www.cvedetails.com/cve/CVE-2005-4326/"&gt;did not support SSL&lt;/a&gt; for remote access to the web interface of PCNS. Although the current version now defaults to https, it only supports the use of a self signed certificate provided by APC. The risks of self signed certificates are well recognized. Such configurations can make a Man-in-the-Middle attack on an https session trivial.&lt;br /&gt;&lt;br /&gt;While using a firewall to limit access to the web application or disabling the web service are certainly viable options in some environments, it may not be in others. Since I have a lot of free time during my commute and I tend to obsess about such things, I decided the fix the issue myself.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Poking the Source Code&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;By default APC PCNS can be found in the C:\Program  Files\APC\PowerChute\group1 directory of a Windows system. The software  is also available for several *nix distros, so consult the documentation  as needed. The web server runs on port 6547 and is hosted on &lt;a href="http://jetty.codehaus.org/jetty"&gt;Jetty&lt;/a&gt;  (Version 6.0.0). By default, version 1.5.0.18 of the Java Runtime  Environment (JRE) is installed in C:\Program Files\AP\jre\jre1.5.0_18  directory. &lt;br /&gt;&lt;br /&gt;Although this version of JRE has had its share of &lt;a href="http://www.cvedetails.com/version/79636/SUN-JRE-5.0.html"&gt;vulnerabilities&lt;/a&gt;, that is not the focus of this post (although if your reading this APC you may want to consider updating your shit).&lt;br /&gt;&lt;br /&gt;I began by decompiling the .jar files associated with the application with &lt;a href="http://java.decompiler.free.fr/"&gt;Java Decompiler&lt;/a&gt; by Emmanuel Dupuy. A nice feature of Java Decompiler is its search capabilities. This is very useful to find what you’re looking for quickly or in my case stumble through the source code awkwardly. I quickly located the WebServerSettings class in the webServer.jar file.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_KM-Ojgotrpk/TLT2hSB4YgI/AAAAAAAAAI4/m6fXOhdHpW0/s1600/Decompile_WebServer_KeyStorePassword.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="280" src="http://2.bp.blogspot.com/_KM-Ojgotrpk/TLT2hSB4YgI/AAAAAAAAAI4/m6fXOhdHpW0/s640/Decompile_WebServer_KeyStorePassword.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Yes that is the password to the Java keystore hardcoded. Convenient isn’t it?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;Certificate Management Hell&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So using this newly obtained password we can view the current self signed certificate within the Java keystore with &lt;a href="http://download.oracle.com/javase/1.5.0/docs/tooldocs/windows/keytool.html"&gt;keytool utility&lt;/a&gt; included with the runtime environment.&lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;&amp;gt;keytool -list -v -keystore "C:\Program Files\APC\PowerChute\group1\keystore"&lt;/i&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_KM-Ojgotrpk/TLTQrlAE25I/AAAAAAAAAIo/aZ-ihF_FKkw/s1600/viewing_contents_keystore_full.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="640" src="http://4.bp.blogspot.com/_KM-Ojgotrpk/TLTQrlAE25I/AAAAAAAAAIo/aZ-ihF_FKkw/s640/viewing_contents_keystore_full.PNG" width="566" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;Once found, I removed the current keystore entry, generated a new one, and created a csr for submission to my CA.&lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;gt;keytool -delete -alias securekey -keystore "C:\Program Files\APC\PowerChute\group1\keystore"&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;gt;keytool -genkey -alias securekey -keystore "C:\Program Files\APC\PowerChute\group1\keystore" -dname CN=win7.securitybraindump.com,OU=Infosec,O=SecurityBraindump,L=Boston,S=Massachusetts,C=US"&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;span style="font-size: small;"&gt;&amp;gt;keytool -certreq -alias securekey -keystore "C:\Program Files\APC\PowerChute\group1\keystore" -file securekey.csr&lt;/span&gt;&lt;/i&gt;&lt;/blockquote&gt;Please note the following are the default values for the keytool -genkey option. You may want to change these to suit your requirements.&lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;&lt;b&gt;-keyalg&lt;/b&gt; "DSA"&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;-keysize&lt;/b&gt; 1024&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;-validity&lt;/b&gt; 90&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&lt;b&gt;-sigalg&lt;/b&gt; (Depends on the key algorithm chosen.) If the private key is "DSA", -sigalg defaults to "SHA1withDSA" or if "RSA", the default is "MD5withRSA". &lt;/i&gt;&lt;/blockquote&gt;For the purposes of this post I used a Windows 2003 CA (yes that is as ugly as it sounds but it is what I had readily had available at the time). To submit the csr to the CA, obtain my certificate, and export the CA Root certificate (for the chain) I used &lt;a href="http://technet.microsoft.com/en-us/library/cc725793%28WS.10%29.aspx"&gt;certreq&lt;/a&gt;. &lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;&amp;gt;certreq -Submit -attrib "CertificateTemplate: WebServer" securekey.csr securekey.cer&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;gt;certutil -ca.cert rootca.cer&lt;/i&gt;&lt;/blockquote&gt;The base-64 certificates can then be imported into the keystore using the -import option.&lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;&amp;gt;keytool -import -trustcacerts -v -alias rootca -file rootca.cer -keystore "C:\Program Files\APC\PowerChute\group1\keystore"&lt;/i&gt;&lt;br /&gt;&lt;i&gt;&amp;gt;keytool -import -v -alias securekey -file securekey.cer -keystore "C:\Program Files\APC\PowerChute\group1\keystore"&lt;/i&gt;&lt;/blockquote&gt;Once imported, verification can be accomplished by using the keytool -list option again.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_KM-Ojgotrpk/TLSQmd8BQpI/AAAAAAAAAII/zX6rTi532dE/s1600/ImportedCerts.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="601" src="http://3.bp.blogspot.com/_KM-Ojgotrpk/TLSQmd8BQpI/AAAAAAAAAII/zX6rTi532dE/s640/ImportedCerts.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;After, installation, you must restart the PCNS1 service. Once restarted you can now enjoy your new, shiny, valid certificate. You may also want to consider changing the keystore password. While this is trivial to do using the keytool utility, the webserver.jar file will need to be altered to reflect the change and then recompiled using the JDK. For this reason, most of the Java development forums I read noted that hard coding the password is not practical. From a security perspective, no matter where the password is stored, you must trust the system storing it. Although I would suspect using the same static password across multiple independent systems is not ideal. If you have experience with the development and security of such systems I am interested in hearing your thoughts on this.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: large;"&gt;The "R" Word&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;So what is the &lt;u&gt;Risk&lt;/u&gt;? As I mentioned earlier, using a self signed certificate is risky in regards to Man-In-The-Middle attacks. Users tend to ignore certificate warnings. Moreover, it is very feasible to pass a victim the legitimate self signed certificate during an attack. Consequently, the use of a self signed certificate is not providing much protection except against passive sniffing. If the web session to APC PCNS is hijacked, then the credentials to the application could become compromised. Once access is gained, one obvious scenario would be a Denial of Service (DOS) attack by shutting down the systems controlled by the application. I wanted to find something a bit more nefarious, however. It so happens that PCNS allows administrators to not only shutdown systems when events are triggered but also run command files.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_KM-Ojgotrpk/TLSXypkQtxI/AAAAAAAAAIk/67qpmob_Jzc/s1600/powerchute_runcommand_remote.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_KM-Ojgotrpk/TLSXypkQtxI/AAAAAAAAAIk/67qpmob_Jzc/s1600/powerchute_runcommand_remote.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Note that the command file does not need to be located on the server being attacked. It also should be noted that if running multiple executables from a command file, the following syntax needs to be followed due to a bug in the current release (thank you readme.txt). Note: quotes are only needed if the path contains spaces.&lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;@START "some path\evil.exe" arguments&lt;/i&gt;&lt;br /&gt;&lt;i&gt;@START "some otherpath\pwn.exe" arguments&lt;/i&gt;&lt;/blockquote&gt;I'll let the output from my evil.cmd file containing the "whoami &amp;gt; whoami.txt" command speak for itself;&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size: large;"&gt;&amp;nbsp;nt authority\system&lt;/span&gt;&lt;/blockquote&gt;NUM! Happy Hunting!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-7129683440661057782?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/7129683440661057782/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/10/hacking-fix.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/7129683440661057782'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/7129683440661057782'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/10/hacking-fix.html' title='Hacking a Fix'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_KM-Ojgotrpk/TLT2hSB4YgI/AAAAAAAAAI4/m6fXOhdHpW0/s72-c/Decompile_WebServer_KeyStorePassword.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-632394207971702313</id><published>2010-09-08T20:48:00.001-04:00</published><updated>2010-09-08T20:52:51.174-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><title type='text'>Making the Most of my Commute</title><content type='html'>I recently started taking the train and I am enjoying my newly found two hours a day. As a long overdue followup to my previous post on &lt;a href="http://securitybraindump.blogspot.com/2010/06/firefox-addon-ons-ftw.html"&gt;Firefox Add-ons&lt;/a&gt;, I wanted to note that Firefox and some add-ons can leave some interesting forensic or reconnaissance information behind. By default, the Firefox SQLite databases are located in the C:\Documents and Settings\&amp;amp;lt;Profile&lt;user&gt;&amp;gt;\Application Data\Mozilla\Firefox\Profiles\&lt;/user&gt;&amp;amp;lt;ProfileID&amp;amp;gt&lt;user&gt;&lt;profile&gt;.default on Windows XP and in&amp;nbsp; C:\Users\&lt;user&gt;&lt;/user&gt;&lt;/profile&gt;&lt;/user&gt;&amp;amp;lt;Profile&amp;gt;&lt;user&gt;&lt;profile&gt;&lt;user&gt;\AppData\Roaming\Mozilla\Firefox\Profiles\&lt;/user&gt;&lt;/profile&gt;&lt;/user&gt;&amp;amp;lt;ProfileID&amp;gt;&lt;user&gt;&lt;profile&gt;&lt;user&gt;&lt;profile&gt;.default on Windows Vista and 7. &lt;br /&gt;&lt;br /&gt;The Mozilla team has documented the SQLite databases that Firefox uses &lt;a href="https://developer.mozilla.org/En/Firefox_Operational_Information_Database:_SQLite"&gt;here&lt;/a&gt;. These have been covered by others previously but are still worth noting. A few of these include but are not limited to;&lt;/profile&gt;&lt;/user&gt;&lt;/profile&gt;&lt;/user&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="https://developer.mozilla.org/en/The_Download_Manager_schema"&gt;&lt;b&gt;download.sqlite&lt;/b&gt;&lt;/a&gt;: browser downloads (if not cleared) &lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;formhistory.sqlite&lt;/b&gt;: search bar history, web forms, URL's&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;a href="https://developer.mozilla.org/en/The_Places_database"&gt;&lt;b&gt;places.sqlite&lt;/b&gt;&lt;/a&gt;: bookmarks&lt;/li&gt;&lt;li&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;b&gt;signons.sqlit&lt;/b&gt;e: covered in my previous &lt;a href="http://securitybraindump.blogspot.com/2010/06/firefox-addon-ons-ftw.html"&gt;post&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;While experimenting with the data stored by Firefox I noted one of my add-ons was also leveraging SQLite. &lt;a href="http://www.echofon.com/twitter/firefox/"&gt;Echofon&lt;/a&gt;, a twitter client formerly called Twitterfox, was writing data to the twitterfox_1.9.sqlite database located in the default location. Using the &lt;a href="https://addons.mozilla.org/en-US/firefox/addon/5817/"&gt;SQLite Manager&lt;/a&gt; add-on to browse the database structure gave me some interesting results.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_KM-Ojgotrpk/TIapy4V_iJI/AAAAAAAAAF8/yM25OP359sk/s1600/echofon_sqlite_db.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="210" src="http://3.bp.blogspot.com/_KM-Ojgotrpk/TIapy4V_iJI/AAAAAAAAAF8/yM25OP359sk/s400/echofon_sqlite_db.PNG" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The following select statement pulls my time line and all tweets referencing my Twitter ID.&lt;br /&gt;&lt;blockquote&gt;SELECT statuses.id, statuses.in_reply_to_status_id, datetime(statuses.created_at/1000,'unixepoch','localtime'), users.name, users.screen_name, users.location, users.description, users.url, users.profile_image_url, statuses.text, statuses.source FROM statuses INNER JOIN users ON users.user_id=statuses.user_id WHERE statuses.user_id = '15707171' or statuses.in_reply_to_user_id = '15707171' ORDER BY statuses.created_at DESC;&lt;/blockquote&gt;Leveraging the &lt;a href="http://www.sqlite.org/lang_datefunc.html"&gt;datetime&lt;/a&gt; function converts the date and time into a more readable format. Note, the returned data includes all profile data. Moreover, each tweet has a unique ID and each record includes what tweet ID it was in reply to. This would make it very easy to reconstruct entire conversations while showing exactly what tweets the individuals were referring to (or at least clicked reply to anyway).&amp;nbsp; Similarly, to query direct messages;&lt;br /&gt;&lt;blockquote&gt;SELECT direct_messages.id, datetime(direct_messages.created_at/1000,'unixepoch','localtime'), users.name, users.screen_name, users.location, users.description, users.url, users.profile_image_url, direct_messages.text FROM direct_messages INNER JOIN users ON users.user_id=direct_messages.sender_id ORDER BY direct_messages.created_at DESC&lt;/blockquote&gt;Relational data and commuting ftw! Out of respect for my followers who have private time lines, I am not including any&amp;nbsp; screen shots of the data returned, but reproducing my results should be straight forward.&lt;br /&gt;&lt;br /&gt;With &lt;a href="http://dev.w3.org/html5/spec/Overview.html"&gt;HTML 5&lt;/a&gt; and Web 3.0 at our doorstep, I suspect the lines between data stored on the web and locally are going to blur significantly. While this will enable the end user to leverage web based technology more effectively, it will also provide forensic analysts and incident responders a plethora of forensics data during analysis. &lt;br /&gt;&lt;br /&gt;What Firefox Add-ons do you use that are storing data? Happy Hunting!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-632394207971702313?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/632394207971702313/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/09/making-most-of-my-commute.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/632394207971702313'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/632394207971702313'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/09/making-most-of-my-commute.html' title='Making the Most of my Commute'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_KM-Ojgotrpk/TIapy4V_iJI/AAAAAAAAAF8/yM25OP359sk/s72-c/echofon_sqlite_db.PNG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-917088293415482273</id><published>2010-08-08T16:46:00.001-04:00</published><updated>2010-10-12T13:10:22.010-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cons'/><title type='text'>HacKid Conference</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;i&gt;Updated: New Date! Registration and&amp;nbsp; Schedule is live!&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_KM-Ojgotrpk/TFA_9qzHlKI/AAAAAAAAAFk/NAOXvP37K7g/s1600/hackid.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="181" src="http://4.bp.blogspot.com/_KM-Ojgotrpk/TFA_9qzHlKI/AAAAAAAAAFk/NAOXvP37K7g/s200/hackid.jpg" width="200" /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;I was at &lt;a href="http://www.securitybsides.com/BSidesBoston"&gt;SecurityBSides Boston&lt;/a&gt; talking to &lt;a href="http://www.csoonline.com/article/592818/The_HacKid_Conference_A_kid_friendly_idea_whose_time_has_come"&gt;Bill Brenner&lt;/a&gt; and his two sons about Lego's when &lt;a href="http://twitter.com/beaker"&gt;Chris Hoff&lt;/a&gt; shared a brilliant idea on twitter. A hacking/security conference for kids and their parents. Soon after &lt;a href="http://www.hackid.org/"&gt;Hackid&lt;/a&gt; was born and the dates for the first conference were set.&amp;nbsp; &lt;br /&gt;So put aside the weekend of October 9-10, 2010. The first conference will be held at the Microsoft New England Research &amp;amp; Development (NERD) Center in Cambridge, MA. The community driven content has been &lt;a href="http://www.hackid.org/HacKid/Schedule.html"&gt;posted&lt;/a&gt; and &lt;a href="http://www.regonline.com/register/checkin.aspx?EventId=879779"&gt;registration&lt;/a&gt; is live. It is the hope of the organizers that this will become the template that can be used at other locations and dates.I think I share a lot of others sentiment when I say this is going to rock!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-917088293415482273?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/917088293415482273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/06/hackid-conference.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/917088293415482273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/917088293415482273'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/06/hackid-conference.html' title='HacKid Conference'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_KM-Ojgotrpk/TFA_9qzHlKI/AAAAAAAAAFk/NAOXvP37K7g/s72-c/hackid.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-9077309455630387198</id><published>2010-06-29T23:03:00.002-04:00</published><updated>2010-09-07T16:37:33.016-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='pentesting'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>Firefox Add-ons FTW!</title><content type='html'>Just a quick post on passwords saved in the browser. After my &lt;a href="http://securitybraindump.blogspot.com/2010/06/post-exploitation-pivoting-with-windows.html"&gt;post&lt;/a&gt; on credentials stored in the Windows 7 Vault, I started to think about browser passwords and the risks that lurk there. Chris Gates had a similar &lt;a href="http://carnal0wnage.blogspot.com/2010/06/firefox-saved-passwords.html"&gt;thought&lt;/a&gt; which he posted about yesterday, and Larry Pesce wrote up a detailed &lt;a href="http://pauldotcom.com/2009/09/recovering-firefox-passwords-f.html"&gt;analysis&lt;/a&gt; last September. &lt;br /&gt;&lt;br /&gt;I personally disable this feature in Firefox but a strong master password would certainly be advisable if you do save passwords within Firefox. While I do not use this feature, I do use a lot of Firefox add-on's. Gmail Notifier, Xmarks Bookmarks, and Echofon Twitter add-on's to name a few. So I naturally turned my attention to those. &lt;br /&gt;&lt;br /&gt;I pondered where these add-on's were storing saved credentials. The answer is in same place Firefox stores them. What a more ironic way to verify this than to use a Firefox add-on (&lt;a href="https://addons.mozilla.org/en-US/firefox/addon/5817/"&gt;SQLLite Manager&lt;/a&gt;) to query the signons.sqlite database.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/TCqwGT8vgUI/AAAAAAAAAFc/Mcuo-9CpXE0/s1600/ff_logins.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="75" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/TCqwGT8vgUI/AAAAAAAAAFc/Mcuo-9CpXE0/s400/ff_logins.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;As previously covered by Gates and Pesce, conversion of the encrypted passwords is trivial as long as you also have access to the key3.db and there is no master password configured. If you are interested in the details of this, I suggest checking out the documentation &lt;a href="http://kb.mozillazine.org/Password_Manager"&gt;here&lt;/a&gt; and tool available &lt;a href="http://wejn.org/stuff/display_ff3_passwords_wejn.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;While this may have been obvious to others, it was not to me. That is one of the many reasons I love this field.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Update August 09, 2010&lt;/i&gt;: Jeremiah Grossman presented his work entitled &lt;a href="http://jeremiahgrossman.blogspot.com/2010/08/breaking-browsers-hacking-auto-complete.html"&gt;Breaking Browsers: Hacking Auto-Complete&lt;/a&gt; at Black Hat last week. The presentation included examples of using XSS to steal saved credentials in the Firefox and Chrome password managers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-9077309455630387198?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/9077309455630387198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/06/firefox-addon-ons-ftw.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/9077309455630387198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/9077309455630387198'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/06/firefox-addon-ons-ftw.html' title='Firefox Add-ons FTW!'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_KM-Ojgotrpk/TCqwGT8vgUI/AAAAAAAAAFc/Mcuo-9CpXE0/s72-c/ff_logins.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-8759930540694322871</id><published>2010-06-16T08:01:00.006-04:00</published><updated>2011-02-16T06:38:51.098-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pentesting'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>Post Exploitation Pivoting with the Windows 7 Vault</title><content type='html'>&lt;a href="http://2.bp.blogspot.com/_KM-Ojgotrpk/TF8TyWuP_9I/AAAAAAAAAFs/FF7SRaniSHA/s1600/safe_fail.png" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"&gt;&lt;img border="0" height="182" src="http://2.bp.blogspot.com/_KM-Ojgotrpk/TF8TyWuP_9I/AAAAAAAAAFs/FF7SRaniSHA/s200/safe_fail.png" width="200" /&gt;&lt;/a&gt;I have been poking around with the updated version of Credential  Manager in Windows 7 which has been commonly referred to as "Stored User Names and  Passwords" in previous version of Windows. Much like its predecessors,  the current version of Credential Manager still uses &lt;a href="http://msdn.microsoft.com/en-us/library/Aa302353"&gt;Data Protection  API (DPAPI)&lt;/a&gt;, but Windows 7 now stores saved credentials within the &lt;a href="http://www.neowin.net/news/main/09/03/07/windows-7-exploring-credential-manager-and-windows-vault"&gt;Windows  Vault&lt;/a&gt;. Such credentials can  include; user names and passwords used to  log on to network shares, websites that use Windows Integrated Authentication,  Terminal Services, and many third party applications such as Google Talk .&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_KM-Ojgotrpk/TBpL36afptI/AAAAAAAAAFU/00rRx_nEMBM/s1600/cred_mgr_capture.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="312" src="http://3.bp.blogspot.com/_KM-Ojgotrpk/TBpL36afptI/AAAAAAAAAFU/00rRx_nEMBM/s400/cred_mgr_capture.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Credential Manager and DPAPI has been under scrutiny in the past. Cain  &amp;amp; Able has had a &lt;a href="http://www.oxid.it/ca_um/topics/credential_manager_password_decoder.htm"&gt;decoder&lt;/a&gt;  for some time. More recently, researchers from Standford University  presented at &lt;a href="http://www.blackhat.com/presentations/bh-dc-10/Picod_Jean-Michel/BlackHat-DC-2010-Picod-DPAPI-slides.pdf"&gt;Black Hat DC 2010&lt;/a&gt; about their &lt;a href="http://www.dpapick.com/index.php?p=home"&gt;DPAPI research&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;While  breaking the crypto associated with this feature might be  useful (i.e. if credentials are re-used elsewhere), it is not always  necessary. The purpose of the Credential Manager is to pass saved  credentials to resources commonly accessed by the user. Once you have gained access to a host as the unprivileged user&amp;nbsp;  (take you pick of code execution bugs, Adobe pdf's seem to be popular  these days), then you can certainly leverage this feature to pivot to resources referenced within the Windows Vault. Keeping a low forensics profile would be preferred, so I attempted to find existing command line tools that were already available on the host. After poking at Windows 7 for a while, I found an undocumented utility called vaultcmd.exe in the System32 folder that appeared useful. The following is the output of the supported switches for vaultcmd;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/TBfPMqFVmII/AAAAAAAAAEk/v-6H3MOfxCk/s1600/vaultcmd_help.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="368" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/TBfPMqFVmII/AAAAAAAAAEk/v-6H3MOfxCk/s640/vaultcmd_help.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The /list switch allows us to view all Windows Vaults available on the host for the current authenticated user.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_KM-Ojgotrpk/TBfPcDXVpEI/AAAAAAAAAEs/V8DMrH7sARY/s1600/vaultcmd_list.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="368" src="http://3.bp.blogspot.com/_KM-Ojgotrpk/TBfPcDXVpEI/AAAAAAAAAEs/V8DMrH7sARY/s640/vaultcmd_list.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;It appears in this example, the two default Vaults are the only ones that exist on this host. Also note that since the user is already authenticated, the vaults are in an unlocked state. Running the /listproperties switch against each vault lists some more details, including the number of credentials saved in each location.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_KM-Ojgotrpk/TBfP_JRWa2I/AAAAAAAAAE0/qEuvoF11-Qw/s1600/vaultcmd_listproperties.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="368" src="http://4.bp.blogspot.com/_KM-Ojgotrpk/TBfP_JRWa2I/AAAAAAAAAE0/qEuvoF11-Qw/s640/vaultcmd_listproperties.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Finally, the /listcreds switch gives us our newly found targets.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_KM-Ojgotrpk/TBfQ75ml_6I/AAAAAAAAAE8/w8anmy_KiTo/s1600/vaultcmd_listcreds.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="368" src="http://2.bp.blogspot.com/_KM-Ojgotrpk/TBfQ75ml_6I/AAAAAAAAAE8/w8anmy_KiTo/s640/vaultcmd_listcreds.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;It appears, our unprivileged user has stored domain administrator credentials for two domain controllers. While this is certainly more secure than running as domain administrator locally, DPAPI adds no added security in this scenario since local access to this host has been gained. Now that we have completed our reconnaissance, we can pivot and access the servers by simply using the installed tools at our disposal. In the following example, I use psexec and the SET command to verify I have domain administrator access to DC-01 without having to specify a user name and password.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_KM-Ojgotrpk/TBfSO15i7BI/AAAAAAAAAFE/jaIihusQI1I/s1600/remotecmd_usingsavedcreds.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="368" src="http://3.bp.blogspot.com/_KM-Ojgotrpk/TBfSO15i7BI/AAAAAAAAAFE/jaIihusQI1I/s640/remotecmd_usingsavedcreds.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;br /&gt;I was also able to access the the domain controller's Admin shares via the NET USE command using stored credentials within the Windows Vault.&lt;br /&gt;&lt;blockquote&gt;net use P: \\dc-01\C$ &lt;/blockquote&gt;In addition, since the Windows Server Administrator tools were also already installed on the host, I also verified that the Windows Vault was passing these credentials to Active Directory Users and Computers and the Remote Desktops Client.&lt;br /&gt;&lt;br /&gt;I attempted to change some of the default settings for the vault using the /setproperties switch. For Example; it appears that vaultcmd has the ability to set a password on a vault;&lt;br /&gt;&lt;blockquote&gt;vaultcmd&amp;nbsp; /setproperties:"Windows Vault" /set:AddProtection /value:Password &lt;br /&gt;vaultcmd&amp;nbsp; /setproperties:"Windows Vault" /set:DefaultProtection /value:Password&lt;/blockquote&gt;But any attempt I made was met with the error; "The request is not  supported.". So I would be interested to see if anyone can find  additional documentation on this utility or the Windows Vault. I have  not been successful in finding anything to date.&lt;br /&gt;&lt;br /&gt;Some have suggested that any password management tool that hooks into the browser or operating system is more of a risk than a stand alone application that requires additional authentication mechanisms. While I generally agree with this, the emerging capabilities of attack and forensic tools that acquire volatile memory from a host (and consequently decrypted credentials), only require a bit more patience. Of course such tools, must be loaded on the compromised host increasing the forensic footprint the intruder leaves behind.&lt;br /&gt;&lt;br /&gt;Happy Hunting!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-8759930540694322871?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/8759930540694322871/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/06/post-exploitation-pivoting-with-windows.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8759930540694322871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8759930540694322871'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/06/post-exploitation-pivoting-with-windows.html' title='Post Exploitation Pivoting with the Windows 7 Vault'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_KM-Ojgotrpk/TF8TyWuP_9I/AAAAAAAAAFs/FF7SRaniSHA/s72-c/safe_fail.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-8843724655148719110</id><published>2010-06-07T21:43:00.008-04:00</published><updated>2011-06-10T08:13:40.794-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Forensics Analysis: Windows Shadow Copies</title><content type='html'>Microsoft Windows Vista and 7 includes the &lt;span id="intellitxt" name="intellitxt"&gt;Volume Shadow Copy Service (VSS) which are leveraged by &lt;/span&gt;&lt;span id="intellitxt" name="intellitxt"&gt;System Restore and  Windows Backup features of the Operating System. By default, this service is turned on and the amount of backups stored depends on the disk size and settings. There is a potential wealth of forensic evidence available within Shadow Copies and &lt;/span&gt;even though I am not the first to write about leveraging Shadow  Copies for forensic purposes, I thought it was worth writing a quick post here.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://technet.microsoft.com/en-us/library/cc754968%28WS.10%29.aspx"&gt;Vssadmin&lt;/a&gt; is a command line tool that can be used to display current VSS backups. To do so, use the syntax;&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;&lt;i&gt;vssadmin list shadows /for=c:&lt;/i&gt;&lt;/b&gt; (where c: is the volume your working with).&amp;nbsp;&lt;/blockquote&gt;Here is an example of the output;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/TA1QxV-IqwI/AAAAAAAAADg/h0SUpRXUXmU/s1600/vssadmin_list_shadows.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="256" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/TA1QxV-IqwI/AAAAAAAAADg/h0SUpRXUXmU/s640/vssadmin_list_shadows.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Make sure to note the Shadow Copy Volume you want to analyze and use it with &lt;a href="http://technet.microsoft.com/en-us/library/cc753194%28WS.10%29.aspx"&gt;Mklink&lt;/a&gt; to create a symbolic link to the backup. For example&lt;b&gt;;&lt;/b&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;&lt;i&gt;mklink /d C:\shadow_copy1  \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy1\ &lt;/i&gt;&lt;/b&gt;(note: the trailing back slash as it is needed).&amp;nbsp;&lt;/blockquote&gt;&amp;nbsp;Once created you can browse the symbolic link as you would any folder and restore files of interest by copying them out.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_KM-Ojgotrpk/TA1Q4MfA_tI/AAAAAAAAADo/dv8POL0bySk/s1600/browse_symbolic_link.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="288" src="http://4.bp.blogspot.com/_KM-Ojgotrpk/TA1Q4MfA_tI/AAAAAAAAADo/dv8POL0bySk/s640/browse_symbolic_link.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Happy Hunting.&lt;br /&gt;&lt;br /&gt;References:&lt;br /&gt;&lt;a href="http://blogs.msdn.com/b/adioltean/archive/2008/02/28/a-simple-way-to-access-shadow-copies-in-vista.aspx"&gt;MSDN Blog: A Simple Way to Access Shadow Copies in Vista&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Updated June 10, 2011&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;I came across a &lt;a href="http://computer-forensics.sans.org/blog/2011/06/09/vscs-logparser"&gt;great post&lt;/a&gt; from &lt;a href="https://twitter.com/4n6woman"&gt;@4n6woman&lt;/a&gt; on using Log Parser to parse mounted VSC's and preserve the MD5 HAshes and Metadata for easy querying. Thought I would share.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-8843724655148719110?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/8843724655148719110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/06/forensics-analysis-windows-shadow.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8843724655148719110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8843724655148719110'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/06/forensics-analysis-windows-shadow.html' title='Forensics Analysis: Windows Shadow Copies'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_KM-Ojgotrpk/TA1QxV-IqwI/AAAAAAAAADg/h0SUpRXUXmU/s72-c/vssadmin_list_shadows.PNG' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-1111255962581476546</id><published>2010-06-03T14:35:00.001-04:00</published><updated>2010-06-03T14:36:44.909-04:00</updated><title type='text'>PaulDotCom EP200: The Hackers for Charity Podcast-a-Thon</title><content type='html'>Tomorrow I will be trekking south the hang with the PaulDotCom crew for the 8 hour recording of &lt;a href="http://pauldotcom.com/wiki/index.php/Episode200"&gt;Episode 200&lt;/a&gt;. They will be &lt;a href="http://pauldotcom.com/live/"&gt;streaming live&lt;/a&gt; and it looks like they are pulling out all the stops for this episode. There will be interviews, tech segments, and appearances from HD Moore, Johnny Long, Lenny Zeltzer, Ron Gula, Jack Daniel, and a couple of surprise guests. &lt;br /&gt;&lt;br /&gt;The show is dedicated to raising awareness and money for Johnny Long's &lt;a href="http://www.hackersforcharity.org/hackers-for-charity/get-involved/"&gt;Hackers for Charity&lt;/a&gt;. If you are not familiar with the work Johnny is doing with HFC, &lt;a href="http://www.hackersforcharity.org/"&gt;take a look&lt;/a&gt;! Donations can be made via the donate button on the &lt;a href="http://pauldotcom.com/2010/06/episode-200-with-hd-moore-sock.html"&gt;PaulDotCom website&lt;/a&gt; or via the HFC &lt;a href="http://www.hackersforcharity.org/hackers-for-charity/get-involved/"&gt;Get Involved Page&lt;/a&gt;. So help out with a donation and listen live tomorrow!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-1111255962581476546?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/1111255962581476546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/06/pauldotcom-ep200-hackers-for-charity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1111255962581476546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1111255962581476546'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/06/pauldotcom-ep200-hackers-for-charity.html' title='PaulDotCom EP200: The Hackers for Charity Podcast-a-Thon'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-320084662710501278</id><published>2010-05-24T21:50:00.001-04:00</published><updated>2010-05-24T21:50:39.559-04:00</updated><title type='text'>The Security Bloggers Network</title><content type='html'>&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;a href="http://www.blogger.com/goog_2011169533"&gt;&lt;/a&gt;Rich Mogull of &lt;a href="http://www.securosis.com/"&gt;Securosis&lt;/a&gt; recently published a blog post entitled &lt;a href="http://securosis.com/blog/is-twitter-making-us-dumb-bloggers-please-come-back"&gt;Is Twitter Making Us Dumb? Bloggers, Please Come Back&lt;/a&gt;. Rich summarizes his experience starting a blog and shares his perspective on the diminishing amount of blogging.&lt;span class="fn"&gt; Alan Shimel&lt;/span&gt; who runs the &lt;a href="http://www.securitybloggersnetwork.com/"&gt;Security Blogger Network&lt;/a&gt; quickly followed up with his own &lt;a href="http://www.ashimmy.com/2010/05/calling-all-security-bloggers-come-out-come-out-where-ever-you-are.html"&gt;post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I too have noticed that my RSS reader is not nearly as full as it  once was. Many of the resources I have today in my RSS Reader came from the Security Bloggers Network after stumbling upon it several years ago. The blogs I was introduced to through the SBN opened up a new world for me. I was introduced to thoughts and opinions from every corner of the security community. Many of which I had never considered. &lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_KM-Ojgotrpk/S_so3UMrg8I/AAAAAAAAADY/TYGU1bCuoAU/s1600/sbn-logo.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://2.bp.blogspot.com/_KM-Ojgotrpk/S_so3UMrg8I/AAAAAAAAADY/TYGU1bCuoAU/s320/sbn-logo.gif" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;When I started my own blog about a year ago, it never occurred to me to even join. In retrospect, it may have been lack of confidence, as I was not sure what I was going to write about. I just knew that there were some thoughts I needed to rant about and blogging seemed like a logical medium. But I quickly found blogging to be an rewarding experience and I am currently backlogged with so many ideas for posts, I have enough material for the remainder of the year.&lt;br /&gt;&lt;br /&gt;So I am proud to announce, I am a new member of the Security Bloggers Network. If you have a blog, I recommend you consider joining. If you do not have a blog I ask you to consider starting one, as it can be a rewarding experience to both the author and the reader, alike.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-320084662710501278?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/320084662710501278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/05/security-bloggers-network.html#comment-form' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/320084662710501278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/320084662710501278'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/05/security-bloggers-network.html' title='The Security Bloggers Network'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_KM-Ojgotrpk/S_so3UMrg8I/AAAAAAAAADY/TYGU1bCuoAU/s72-c/sbn-logo.gif' height='72' width='72'/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-4942993661933040418</id><published>2010-05-03T21:33:00.000-04:00</published><updated>2010-05-03T21:33:02.551-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>Why Hackers make the Best IT Support Professionals</title><content type='html'>This is a thought that I have had brewing for some time and I will attempt to not rant too much.&amp;nbsp; Throughout my IT career, I have been watching many IT Support professionals immediately go for a quick fix to technology issues. This is not to say a quick fix isn’t always warranted. The constant barrage of support issues, end users broad siding you as you attempt to grab lunch, and evolving technology is indeed a challenge. I feel your pain. I've been there, I've done that, and I still do it on a daily basis. The beating support people take can cause even the most saintly to lose his/her patience.&lt;br /&gt;&lt;br /&gt;However, I feel the trend of the quick fix, seems to be worsening. In InfoSec, the quick fix is often used in conjunction with FUD (fear, uncertainly, and doubt) to sell those magical products with blinking lights that are going to make the latest attack vectors just magically disappear. The problem with this concept is the same in all subsets of Information Technology, however. How many of us have told colleagues, friends, and family to reboot as a solution to an issue? How many of us have told them to do so more than once for the same issue? See the quick fix is not really a fix at all, it is procrastination. &lt;br /&gt;&lt;br /&gt;I like to think that we as IT Professionals, whether desktop support, enterprise architects, coders, or InfoSec pursued our career because we all had the common love of technology. Many of us have the inquisitive nature that would rival any scientist. This makes us all brothers and sisters alike. The inquisitive nature that I felt when powering on my TI99-4A in 1981 is still with me today. This is why I chose this career. &lt;br /&gt;&lt;br /&gt;Some of the most inquisitive people I have met while working in IT have been those who have self dubbed themselves "hackers". These are not the "hackers" the media would have you believe are hijacking your wireless and stealing your digital valuables. These are self proclaimed geeks who love computers. They are not always InfoSec professionals. They may work on a helpdesk, as a systems administrator, or at the local Radio Shack. They enjoy taking things apart and putting them back together in ways that improve the technology. See hackers understand the concepts of efficiency and availability.&amp;nbsp; These concepts are the foundation of supporting any business. It is what our employee’s pay us our salaries for, regardless of the subset of IT we may fall under.&lt;br /&gt;&lt;br /&gt;Efficiency and availability is not about reboots and resets. It is about getting to the root of an issue, learning from it, and improving the system(s) from what you have learned. So take the time to understand the technology issues you come across. It can be fun and productive. If you are not feeling the love for your technology career of choice, then ask the hacker working at the local Radio Shack if he or she is willing to trade careers with you. I suspect they would jump at the chance.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-4942993661933040418?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/4942993661933040418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/05/why-hackers-make-best-it-support.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/4942993661933040418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/4942993661933040418'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/05/why-hackers-make-best-it-support.html' title='Why Hackers make the Best IT Support Professionals'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-1493360379693291750</id><published>2010-05-03T21:19:00.006-04:00</published><updated>2010-10-12T16:54:15.254-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>More Experiments with Master File Table Timestamps</title><content type='html'>I had an anonymous comment on my &lt;a href="http://securitybraindump.blogspot.com/2010/04/tampering-with-master-file-table.html%20"&gt;Tampering with Master File Table Records&lt;/a&gt; post referencing the Timestomp utility available in &lt;a href="http://www.metasploit.com/research/projects/antiforensics/"&gt;Metasploit&lt;/a&gt;. Timestomp is an anti-forensics utility used to change the date/time metadata stored in the $Standard_Information Attribute of the Master File Table. I experimented with the utility prior to the previous post but had some issues getting it to run properly on Windows 7. Moreover, Timestomp does not edit the $File_Name Attribute (MACE) values. The commenter does point out and interesting workaround noted on the Timestomp &lt;a href="http://www.forensicswiki.org/wiki/Timestomp"&gt;wiki&lt;/a&gt; however.&lt;br /&gt;&lt;br /&gt;Moving a file post manipulation with Timestomp copies all four of the $Standard_Information Attribute time values to the $File_Name Attribute Attribute values. Once moved, you must change the SI attribute values again. Staying with using the existing tools available on Windows 7, I tested using the Move-Item Cmdlet. &lt;br /&gt;&lt;blockquote&gt;CD C:\Windows\System32&lt;br /&gt;New-Item malicious.dll -type file&lt;br /&gt;(get-item malicious.dll).creationtime=$(Get-Date "02/11/10 07:30")&lt;br /&gt;(get-item malicious.dll).lastwritetime=$(Get-Date "02/11/10 07:30")&lt;br /&gt;(get-item malicious.dll).lastaccesstime=$(Get-Date "02/11/10 07:30")&lt;br /&gt;set-date -date 02/11/10&lt;br /&gt;set-date -date 07:30:00&lt;br /&gt;rename-item malicious.dll notmalicious.txt&lt;br /&gt;Move-Item notmalicious.txt C:\Users\Public\&lt;br /&gt;CD C:\Users\Public\&lt;br /&gt;(get-item notmalicious.txt).creationtime=$(Get-Date "02/11/10 07:30")&lt;br /&gt;(get-item notmalicious.txt).lastwritetime=$(Get-Date "02/11/10 07:30")&lt;br /&gt;(get-item notmalicious.txt).lastaccesstime=$(Get-Date "02/11/10 07:30")&lt;/blockquote&gt;I verified again by carving the $MFT out and using &lt;a href="http://www.integriography.com/"&gt;analyzeMFT&lt;/a&gt; to parse the contents. The following is the output of the $MFT record for our malicious file verifying that all eight date values have been edited;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_KM-Ojgotrpk/S99yXxnX1eI/AAAAAAAAADQ/Quh5B1IuQcY/s1600/export_post_move.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="24" src="http://4.bp.blogspot.com/_KM-Ojgotrpk/S99yXxnX1eI/AAAAAAAAADQ/Quh5B1IuQcY/s640/export_post_move.png" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Rob T. Lee also recently &lt;a href="http://blogs.sans.org/computer-forensics/2010/04/12/windows-7-mft-entry-timestamp-properties/"&gt;posted&lt;/a&gt; some research he has been doing on Windows 7 $MFT timestamp entries. His findings to date seem to support the aforementioned behavior. It will be interesting to see what additional behavior he finds. Keep the comments coming!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-1493360379693291750?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/1493360379693291750/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/05/more-experiments-with-master-file-table.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1493360379693291750'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1493360379693291750'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/05/more-experiments-with-master-file-table.html' title='More Experiments with Master File Table Timestamps'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_KM-Ojgotrpk/S99yXxnX1eI/AAAAAAAAADQ/Quh5B1IuQcY/s72-c/export_post_move.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-8963233082408588737</id><published>2010-04-15T22:21:00.001-04:00</published><updated>2010-04-15T22:29:13.165-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>An Aside Note on Last Access Time Values</title><content type='html'>&lt;a href="http://www.twitter.com/davehull"&gt;Dave Hull&lt;/a&gt; had brought to my attention that Windows Vista and Windows 7 has the Last Access Time attribute disabled by default. I verified that Windows Server 2008 also has this feature disabled. To enable via the registry (note a restart is necessary):&lt;br /&gt;&lt;blockquote&gt;[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]&lt;br /&gt;"NtfsDisableLastAccessUpdate"=dword:00000001&lt;/blockquote&gt;This did not prevent me from &lt;a href="http://securitybraindump.blogspot.com/2010/04/tampering-with-master-%20%20file-table.html"&gt;manipulating the $MFT attributes with PowerShell&lt;/a&gt;, but I did notice some strangeness when accessing files via explorer.exe. Specifically, the Last Access time does not always get updated even with this setting enabled. After some searching around I found this&lt;a href="http://technet.microsoft.com/en-us/library/cc781134%28WS.10%29.aspx"&gt; article&lt;/a&gt; on Microsoft TechNet. To quote the relevant sections;&lt;br /&gt;&lt;blockquote&gt;The Last Access Time on disk is not always current because NTFS looks for a one-hour interval before forcing the Last Access Time updates to disk. NTFS also delays writing the Last Access Time to disk when users or programs perform read-only operations on a file or folder, such as listing the folder’s contents or reading (but not changing) a file in the folder. If the Last Access Time is kept current on disk for read operations, all read operations become write operations, which impacts NTFS performance.&lt;/blockquote&gt;&lt;blockquote&gt;NTFS typically updates a file’s attribute on disk if the current Last Access Time in memory differs by more than an hour from the Last Access Time stored on disk, or when all in-memory references to that file are gone, whichever is more recent. For example, if a file’s current Last Access Time is 1:00 P.M., and you read the file at 1:30 P.M., NTFS does not update the Last Access Time. If you read the file again at 2:00 P.M., NTFS updates the Last Access Time in the file’s attribute to reflect 2:00 P.M. because the file’s attribute shows 1:00 P.M. and the in-memory Last Access Time shows 2:00 P.M.&lt;/blockquote&gt;I was able to confirm this behavior by altering the system time prior to accessing a file. I thought it was noteworthy since the Last Access Time may not be completely accurate. While the forensic impact of this could be debated, it should at least be considered during an investigation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-8963233082408588737?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/8963233082408588737/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/04/aside-note-on-last-access-time-values.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8963233082408588737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8963233082408588737'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/04/aside-note-on-last-access-time-values.html' title='An Aside Note on Last Access Time Values'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-3817731075073321719</id><published>2010-04-07T22:04:00.013-04:00</published><updated>2011-02-16T06:52:00.583-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>Tampering with Master File Table Records</title><content type='html'>I have been spending some time reading &lt;a href="http://www.digital-evidence.org/fsfa/index.html"&gt;File System Forensic Analysis&lt;/a&gt; by Brian Carrier which is considered by many to be the primary resource on the subject of file system forensics. Consequently, I began thinking of ways to tamper with the metadata stored within the Master File Table (MFT) of NTFS formatted drives. In NTFS everything is a file and the MFT stores information on these files. Analyzing the MFT is one way of establishing a forensic timeline of all file and folder changes on the system being investigated.&lt;br /&gt;&lt;br /&gt;The MFT file contains a unique record for each file or folder which includes several attributes such as the $Standard_Information Attribute and $File_Name Attribute. Each attribute contains metadata on every file and folder ever created, modified, accessed, or removed within NTFS.&lt;br /&gt;&lt;br /&gt;The $Standard_Information Attribute contains metadata which includes the Date/Time values that are commonly referenced by the operating system. These are the values one would see when viewing the properties of a file within explorer.exe on a Windows system. The values are sometimes referred to as M.A.C.E. and include;&lt;br /&gt;&lt;blockquote&gt;&lt;b&gt;M&lt;/b&gt;odified Time: Time the folder or file was last modified&lt;br /&gt;&lt;b&gt;A&lt;/b&gt;ccessed Time: Time the folder or file was last accessed&lt;br /&gt;&lt;b&gt;C&lt;/b&gt;reation Time: Time the folder or file was created&lt;br /&gt;&lt;b&gt;E&lt;/b&gt;ntry Modified Time: Time the MFT entry of a folder or file was last modified (note: cannot be viewed from Windows explorer)&lt;/blockquote&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/S7yk2sK094I/AAAAAAAAACg/gPe6nvVYlfc/s1600/originalfileproperties.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/S7yk2sK094I/AAAAAAAAACg/gPe6nvVYlfc/s320/originalfileproperties.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;The $File_Name Attribute contains the name of the file. In Windows there will usually be entries in both the 8.3 DOS and Win32 naming format. The $File_Name Attribute also contains similar date/time (MACE) values as those found in the Standard Information Attribute. These values often reflect the creation time of the file or folder and do not change frequently. There are exceptions to this which I discuss later in this post.&lt;br /&gt;&lt;br /&gt;Since the attribute values stored within the MFT are commonly used for generating a timeline during the analysis of Windows NTFS file systems, I started playing around with manipulating the metadata within it. If one wanted to cover one's tracks by doing so, it would be useful to use tools already available on the operating system. Such tools would ideally not track or log the commands run on the system. Irony is, the Windows PowerShell fits this description and has these capabilities. &lt;a href="http://twitter.com/davehull"&gt;Dave Hull&lt;/a&gt; has noted this on his blog &lt;a href="http://trustedsignal.blogspot.com/2008/08/touch-on-windows-via-powershell.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;By leveraging the Get-Item cmdlet in PowerShell, one can change some of the metadata within the $Standard_Information attribute and consequently the values shown in the properties of the file. For example;&lt;br /&gt;&lt;blockquote&gt;(get-item malicious.dll).creationtime=$(Get-Date "02/11/10 07:30")&lt;br /&gt;(get-item malicious.dll).lastwritetime=$(Get-Date "02/11/10 07:30")&lt;br /&gt;(get-item malicious.dll).lastaccesstime=$(Get-Date "02/11/10 07:30")&lt;/blockquote&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&amp;nbsp;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/S7y-dwhDrNI/AAAAAAAAACo/ibxNCH5TgQ4/s1600/fileproperties.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/S7y-dwhDrNI/AAAAAAAAACo/ibxNCH5TgQ4/s320/fileproperties.PNG" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;To verify this change within the MFT, I used &lt;a href="http://www.accessdata.com/downloads/current_releases/imager/Imager%20Lite%202.6.1.zip"&gt;FTK  Imager Lite&lt;/a&gt; to export the $MFT and &lt;a href="http://www.integriography.com/"&gt;AnalyzeMFT&lt;/a&gt; to parse and   export the contents into CSV format. AnalyzeMFT is a free tool based on a commercial tool called MFT Ripper by &lt;a href="http://www.mykeytech.com/"&gt;Mark Menz&lt;/a&gt;. Once exported, the CSV file can be opened in your favorite spreadsheet program for easy filtering. The following screen shot shows the MFT record for the malicious.dll after I using the Get-Item cmdlet to change the dates (note the dates are stored in UTC format).&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/S7zHzFJ2ILI/AAAAAAAAADA/nUknpCJtBYw/s1600/export_post_getitem.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="16" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/S7zHzFJ2ILI/AAAAAAAAADA/nUknpCJtBYw/s640/export_post_getitem.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;As you can see from the export, the problem with this tactic is the Std Info Entry Date (MFT Entry Modified Time) remains unchanged. Moreover, the FN Info ($File_Name Attribute) Dates also remain unchanged. Interesting enough, renaming the file will change both these values but doing so will change them to the current system time. The only real option I have been able to find is to change the system time prior to renaming. This can be accomplished by using the set-date cmdlet in Power Shell.&lt;br /&gt;&lt;blockquote&gt;set-date -date 02/11/10&lt;br /&gt;set-date -date 07:30:00&lt;br /&gt;rename-item malicious.dll notmalicious.dll&lt;/blockquote&gt;Now we have the following export from the MFT.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/_KM-Ojgotrpk/S7zJC5RmC1I/AAAAAAAAADI/1FiYLf5RfvY/s1600/export_post_rename.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="16" src="http://4.bp.blogspot.com/_KM-Ojgotrpk/S7zJC5RmC1I/AAAAAAAAADI/1FiYLf5RfvY/s640/export_post_rename.PNG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Unfortunately, this approach is far from perfect. The MFT Entry Modified Date within the $File_Name Attribute remains unscathed (I have not been able to figure out how to change this). Moreover, by default, a System Informational Event is logged within the Windows Event log of a change to the system time. Note the the date of the event however. There is a similar event logged for the time change.&lt;br /&gt;&lt;blockquote&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System&lt;br /&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft-Windows-Kernel-General&lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/10/2010 12:00:00 AM&lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;br /&gt;Task Category: None&lt;br /&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Information&lt;br /&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time&lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; User&lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompromisedHost&lt;br /&gt;Description:&lt;br /&gt;The system time has changed to ?2010?-?02?-?11T04:00:00.000000000Z from ?2010?-?04?-?07T18:49:38.251360400Z.&lt;/blockquote&gt;Other considerations, include .lnk files being stored within the MFT due to the "Recent Document History" feature being turned on by default within Windows. This feature would create a malicious.dll.lnk file in the C:\Users\Username\AppData\Roaming\Microsoft\Windows\Recent folder on Windows Vista and 7 and consequently create an MFT entry for this file with metadata. This certainly would also be a red flag for the forensic investigator. Thus an attacker may want to turn this feature off prior to performing any tasks on the host. With PowerShell this can be accomplished by using the New-ItemProperty cmdlet to create the appropriate registry values and then by using Stop-Process cmdlet to force the reload of the explorer.exe shell for the current user. &lt;br /&gt;&lt;blockquote&gt;mkdir HKCU:\software\microsoft\windows\currentversion\policies\explorer&lt;br /&gt;New-ItemProperty HKCU:\software\microsoft\windows\currentversion\policies\explorer -name norecentdocshistory -propertytype DWord -value 1&lt;br /&gt;Stop-Process -name explorer -force&lt;/blockquote&gt;The explorer process reloading will also generate an information event log.&lt;br /&gt;&lt;blockquote&gt;Log Name:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Application&lt;br /&gt;Source:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft-Windows-Winlogon&lt;br /&gt;Date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2/11/2010 7:34:12 AM&lt;br /&gt;Event ID:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1002&lt;br /&gt;Task Category: None&lt;br /&gt;Level:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Information&lt;br /&gt;Keywords:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Classic&lt;br /&gt;User:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; N/A&lt;br /&gt;Computer:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CompromisedHost&lt;br /&gt;Description:&lt;br /&gt;The shell stopped unexpectedly and explorer.exe was restarted.&lt;/blockquote&gt;Stopping the eventlog service prior to actions being taken on the compromised host may be prudent, but I will save the manipulation of other forensic timeline sources for a later post.&lt;br /&gt;&lt;br /&gt;&lt;div style="color: black;"&gt;&lt;i&gt;Updated May 3, 2010:&lt;/i&gt;&lt;/div&gt;&lt;br /&gt;Published a follow-up post on successfully changing the Entry Modified Date within the $File_Name Attribute thanks to an anonymous tip. The followup can be found &lt;a href="http://securitybraindump.blogspot.com/2010/05/more-experiments-with-master-file-table.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-3817731075073321719?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/3817731075073321719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/04/tampering-with-master-file-table.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3817731075073321719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3817731075073321719'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/04/tampering-with-master-file-table.html' title='Tampering with Master File Table Records'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_KM-Ojgotrpk/S7yk2sK094I/AAAAAAAAACg/gPe6nvVYlfc/s72-c/originalfileproperties.PNG' height='72' width='72'/><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-3750944679984918223</id><published>2010-03-31T19:34:00.004-04:00</published><updated>2010-04-01T12:26:14.612-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='pentesting'/><category scheme='http://www.blogger.com/atom/ns#' term='cons'/><title type='text'>Socs vs Greasers: The Pentesting Debate</title><content type='html'>During the &lt;a href="http://www.podcastersmeetup.com/"&gt;Podcasters Meetup&lt;/a&gt; at &lt;a href="http://www.shmoocon.org/"&gt;Shmoocon 2010&lt;/a&gt; a conversation began about the worth of penetration testing in the corporate environment. On one side of the tracks, business folks questioning why it was necessary to active exploit business systems while penetration testers argued for such. The conversation and debate has continued on many mediums since Shmoocon and many involved have made some valid points. I have not heard much from anyone who is in the trenches of security operations, however. Since this is my primary role for the small enterprise I support, I thought I could add some of my own perspective to the discussion. &lt;br /&gt;&lt;br /&gt;I am the typical one man security show that is not uncommon within business the size of my employer. I deal with all aspects of security for the organization including vulnerability scanning and penetration testing. Other responsibilities include regulatory compliance, incident response, patch/vulnerability management, and security architecture. So my view on penetration testers and the services they have to offer is the same as any other consultant or contractor that walks through my door. I welcome the second set of eyes and assistance. &lt;br /&gt;&lt;br /&gt;The reality is with all aspects of my daily responsibilities, I am going to miss things, make configurations errors, and downright fuck up from time to time. The fact the matter is I get tired, have a family, and often don't know my systems as well as I may think I do. I am a juggling clown balancing on a unicycle with a warped rim riding right down the middle of the train tracks separating these two groups.&lt;br /&gt;&lt;br /&gt;This debate is not new and many others have already touched upon some of the pros of penetration testing. Defense in depth by way of post exploitation testing is one such argument that is completely valid. There are a few additional arguments I would like to make in regards to the usefulness of penetration testing, however.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Your penetration tester should not be testing things that you know are broken. This wastes the consultant's time, your money, and does no one any good. If you know it is broken, evaluate the risk then fix it or put the appropriate mitigation in place so that it can be tested during the next engagement.&lt;/li&gt;&lt;li&gt;Sometimes exploitation is the only way to verify something is broken. The &lt;a href="http://securitybraindump.blogspot.com/2009/10/lessons-learned-vulnerability-and.html"&gt;Symantec exploit&lt;/a&gt; I blogged about last October is a great example of the risk assessment and patch management process failing within an organization. This was a situation where the only way to verify that a system was vulnerable even though it was patched was to run the POC on it. Such situations, while not the norm, are also not unusual. If you are trusting your Vendors to secure your environment, you are doing it wrong. It should be noted that the vulnerability was weaponized several months later as reported by dshield.org &lt;a href="http://www.dshield.org/diary.html?storyid=7834"&gt;here&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Incident Response! You do have an Incident Response plan right? Thought so! Do you review and practice it? What better time to see how well your IR plan works than when you're actively being attacked. A Penetration Test is a great time for the entire team to have a "fire drill" of sorts. I recently had the opportunity to listen to &lt;a href="http://www.csoandy.com/"&gt;Andy Ellis&lt;/a&gt; speak about incident response. Andy serves as Akamai's Senior Director of Information Security and Chief Security Architect. His statements about availability made an impression on me. If your management is really serious about maximizing up time, then you better have a lean, mean Incident Response team. It is not a matter of; if you have a compromise, it is a matter of when, and how well you respond to it.&lt;/li&gt;&lt;/ol&gt;What about APT do you ask? I will leave you with a recent &lt;a href="http://vrt-sourcefire.blogspot.com/2010/03/apt-should-your-panties-be-in-bunch-and.html"&gt;description&lt;/a&gt; of APT from Matt Olney of the VRT Sourcefire team;&lt;br /&gt;&lt;blockquote&gt;APT: There are people smarter than you, they have more resources than you, and they are coming for you. Good luck with that.&lt;/blockquote&gt;Matt's advice includes building a security team with "... at least one very bad person" on it. For the small business security professional, that person is often the penetration tester. Besides they are usually much more fun to have a beer with than senior management.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-3750944679984918223?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/3750944679984918223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/03/socs-vs-greasers-pentesting-debate.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3750944679984918223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3750944679984918223'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/03/socs-vs-greasers-pentesting-debate.html' title='Socs vs Greasers: The Pentesting Debate'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-1732774952171465089</id><published>2010-03-01T12:48:00.004-05:00</published><updated>2010-04-01T08:47:12.130-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Guest Post on the SMB Minute</title><content type='html'>Today &lt;a href="http://smbminute.com/"&gt;The SMB Minute&lt;/a&gt; has blogged a post written by myself entitled; &lt;a href="http://smbminute.com/archives/112"&gt;Those Who Cannot Remember the Past are Condemned to Repeat it&lt;/a&gt;. The SMB Minute is a podcast/blog focused on small and medium businesses. Aaron and Tim's goal is to talk tech for the business community by putting things into terms easy for the non-technical to understand. Thank You to both for entertaining my thoughts and ideas.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-1732774952171465089?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/1732774952171465089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/03/guest-post-on-smb-minute.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1732774952171465089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1732774952171465089'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/03/guest-post-on-smb-minute.html' title='Guest Post on the SMB Minute'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-1991450909558116072</id><published>2010-02-25T14:10:00.018-05:00</published><updated>2010-04-01T08:47:52.373-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='phishing'/><title type='text'>The Best Defense Makes a Good Offense</title><content type='html'>During the process of evaluating corporate security products, I often begin thinking about how to circumvent the features of the product. More recently, I have started to think about how to leverage the features of products to attack the defender and organization. Since my coding skills are a bit behind the times (ancient really), I quickly took the route that many attackers take. Spear phishing. There is little doubt that spear phishing is often the path of least resistance and is still highly successful. SANS described it as the "...primary initial infection vector used to compromise computers that have internet access." in the &lt;a href="http://www.sans.org/top-cyber-security-risks/"&gt;Top Cyber Security Risks&lt;/a&gt; published in September 2009.&lt;br /&gt;&lt;br /&gt;It is not inconceivable to suspect the success of email phishing correlates closely with the quality and familiarity of the email the intended victim receives. The more convincing the email, the more trust the recipient will have when clicking on a link or attachment within that email. &lt;br /&gt;&lt;br /&gt;So I thought I would play the evil attacker and post some examples of emails that a corporate end user might receive from a security product that they know and trust. What better software than a product designed to thwart spam and spear phishing? The following is a notification a user of Postini Anti-Spam services would receive (with some href attribute changes of course);&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size: small;"&gt; YourATarget Inc's junk mail protection service has detected suspicious  email message(s) since your last visit and directed them to your Message  Center.&lt;br /&gt;&lt;br /&gt;You can inspect your suspicious email at:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;a href="http://securitybraindump.blogspot.com/"&gt;https://login.postini.com/exec/login?email=user@youratarget.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Suspicious email is kept for 14 days, after which it will be  automatically deleted.&amp;nbsp; Please visit your Message Center to delete  unwanted messages and check for valid email.&lt;br /&gt;&lt;br /&gt;For help accessing and configuring your Message Center:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://securitybraindump.blogspot.com/"&gt;http://www.postini.com/services/help.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Thank You!&lt;br /&gt;&lt;br /&gt;YourATarget Inc&lt;/span&gt; &lt;/blockquote&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;Staying with that theme, Postini also provides an email encryption portal that will encrypt an email and send the recipient a notice.&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-size: small;"&gt;You have a Postini Secure Email message from  user@yoruatarget.com.&lt;br /&gt;&lt;br /&gt;To view the secure message, click &lt;a href="http://securitybraindump.blogspot.com/"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Do not reply to this notification message. This notification message was  auto-generated by the sender's security system. To reply to the sender,  please go to your secure message by clicking on the link above.&lt;/span&gt;&lt;/blockquote&gt;While there is some irony in using notifications from security products to phish and even more in the fact I was able to sent my spoofed emails through Postini's anti-spam filters unscathed. You could certainly leverage the familiarity of any enterprise application for offense. Some other possibilities include email notifications sourced from a helpdesk system, collaboration software (i.e. Sharepoint), or from email servers warning about size quotas. You can certainly apply these ideas to other attacks too. For example consider the following default Web Filter warning that could be leveraged during a Man-in-the-Middle attack.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_KM-Ojgotrpk/S4bEaWfc6BI/AAAAAAAAACI/HY2xhPq1oCg/s1600-h/webfilter.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="196" src="http://2.bp.blogspot.com/_KM-Ojgotrpk/S4bEaWfc6BI/AAAAAAAAACI/HY2xhPq1oCg/s400/webfilter.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;Please note I have nothing against Postini or similar products. It just  happens to be a product that I am familiar with and is quite  popular. I am curious on what examples others can come up with. The &lt;a href="http://www.offensive-security.com/metasploit-unleashed/Social-Engineering-Toolkit"&gt;Social Engineering Toolkit (SET)&lt;/a&gt; just released a new version and it is a great platform for testing the success of phishing attacks. It includes built in templates or you can certainly enter in your own custom email. Happy phishing!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-1991450909558116072?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/1991450909558116072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/02/best-defense-makes-good-offense.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1991450909558116072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/1991450909558116072'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/02/best-defense-makes-good-offense.html' title='The Best Defense Makes a Good Offense'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_KM-Ojgotrpk/S4bEaWfc6BI/AAAAAAAAACI/HY2xhPq1oCg/s72-c/webfilter.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-5345419219816028037</id><published>2010-02-12T14:21:00.012-05:00</published><updated>2010-10-12T16:59:24.820-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><title type='text'>Forecast: Cloudy with a Chance of Low Visibility</title><content type='html'>Now that I have had a chance to re-coup from &lt;a href="http://www.shmoocon.org/"&gt;Shmoocon&lt;/a&gt; and the associated &lt;a href="http://www.cnn.com/2010/US/weather/02/05/winter.storm/index.html"&gt;Shmoosnow Apocalypse&lt;/a&gt;, I wanted to get this post up. Great CON BTW! If you have the chance to go in the future, don't hesitate!&lt;br /&gt;&lt;br /&gt;In December, I began noticing an uptick in scans looking for TCP 1080 (socks proxy) on my corporate firewalls. Not that unusual. But by New Years Day the scans began accounting for a large percentage of all deny's logged to my syslog servers. After some investigating, the fact that all source IP's were registered to Amazon's Ec2 Elastic cloud services became apparent. Egress filtering did not indicate any outbound connections to the IP addresses in question.&lt;br /&gt;&lt;br /&gt;So began my adventures in reporting the issue to the Amazon abuse black hole. I initially reported the top source offender via &lt;a href="mailto:ec2-abuse@amazon.com"&gt;ec2-abuse@amazon.com&lt;/a&gt; on Thursday January 7, 2010 and "promptly" received the following email on Monday January 11th.&lt;br /&gt;&lt;blockquote&gt;Please file a report at&lt;br /&gt;&lt;a href="https://www.amazon.com/gp/html-forms-controller/AWSAbuse/"&gt;https://www.amazon.com/gp/html-forms-controller/AWSAbuse/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It is possible that the activity you see comes from an Amazon EC2 instance. This activity that you report was not, however, initiated by Amazon.&lt;br /&gt;&lt;br /&gt;One of the biggest advantages of Amazon EC2 is that developers are given complete control of their instances. While the IPs may indicate that the network is Amazon's, our developer customers are the ones controlling the instances. You may learn more about EC2 at &lt;a href="http://aws.amazon.com/ec2"&gt;http://aws.amazon.com/ec2&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;That said, we do take reports of unauthorized network activity from our environment very seriously. It is specifically forbidden in our terms of use.&lt;br /&gt;&lt;br /&gt;In order for us to identify the actual customer, please provide&lt;br /&gt;* src IP&lt;br /&gt;* dest IP (your IP)&lt;br /&gt;* dest port&lt;br /&gt;******************** Accurate date/timestamp and timezone of activity**************************&lt;br /&gt;* Intensity/frequency (short log extracts)&lt;br /&gt;* Your contact details (phone and email) Without these we will be unable to identify the correct owner of the IP address at that point in time.&lt;br /&gt;&lt;br /&gt;Thank you&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;&lt;br /&gt;-EC2 Abuse Team&lt;/blockquote&gt;&lt;br /&gt;I obliged but cursed as I fought to fill out the report on the badly designed web form which kept throwing vague invalid input errors. The forms purpose is to facilitate the reporting of abuse between the reporter and Amazon EC2 customer while keeping both anonymous. So I attempted to keep a positive outlook with the hope that my time may assist an Amazon EC2 customer with a possible compromise.&lt;br /&gt;&lt;br /&gt;After a week of no response, I followed up with their follow-up form located at &lt;a href="https://www.amazon.com/gp/html-forms-controller/AWSAbuseReporter"&gt;here&lt;/a&gt;. During this time the scanning for open proxies on my firewalls had escalated and was accounting for more than 30% of all daily denied connections. So I began submitted the top source IP's (all Amazon EC2 addresses) with the associated logs. To date I have not received one response from any submissions.&lt;br /&gt;&lt;br /&gt;So I wanted to share the breakdown of 30 days of logs acquired from my production firewalls. Destination port TCP 1080 made up 35.7% of all denied connections during the month of January 2010 (see breakdown of ports below).&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/S3WiUcO0H8I/AAAAAAAAABw/V814CMfqFz0/s1600-h/DSTPorts.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="342" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/S3WiUcO0H8I/AAAAAAAAABw/V814CMfqFz0/s640/DSTPorts.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Of those connection attempts, 43.7% of all source addresses resided from the same 10 addresses which were all registered to Amazon's EC2 Cloud services. All source addresses checked from the remaining sources were also registered to Amazon Ec2 Cloud services but for obvious reasons I did not check every source address. The amount of connection attempts has dropped since the end of January  but are they still occurring at a good clip.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://2.bp.blogspot.com/_KM-Ojgotrpk/S3Wi2H-qocI/AAAAAAAAAB4/lNey0g5S4SI/s1600-h/SRCIP_TCP1080.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="346" src="http://2.bp.blogspot.com/_KM-Ojgotrpk/S3Wi2H-qocI/AAAAAAAAAB4/lNey0g5S4SI/s640/SRCIP_TCP1080.JPG" width="640" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;Others have noted abuse of Amazon EC2 cloud services in the past. Brian Krebs formerly of The Washington Post and now at &lt;a href="http://www.krebsonsecurity.com/"&gt;Krebs On Security&lt;/a&gt; wrote about his &lt;a href="http://voices.washingtonpost.com/securityfix/2008/07/amazon_hey_spammers_get_off_my.html"&gt;experience&lt;/a&gt; with spammers leveraging Amazon EC2 services in July 2008. More recently, Amazon was &lt;a href="http://devcentral.f5.com/weblogs/macvittie/archive/2009/12/15/botnets-worms-zeus-amazon-open-cloud.aspx"&gt;found&lt;/a&gt; hosting command and control servers for the Zeus botnet. And while editing this post yesterday, I came across this &lt;a href="http://news.zdnet.co.uk/security/0,1000000189,40035885,00.htm"&gt;article&lt;/a&gt; at ZDNet UK on subject. The article contains some good quotes from Rik Ferguson, Senior Security Adviser at Trend Micro.&lt;br /&gt;&lt;blockquote&gt;"One of the things that persuades me personally that the cloud is absolutely a viable model and has longevity is that it has already been adopted by criminals," Ferguson said. "They are the people who are leading-edge adopters of technology that is going to work and going to stick around for a long time."&lt;/blockquote&gt;&lt;blockquote&gt;&amp;nbsp;"But now that criminals are moving into cloud services, what are you going to do? Block EC2 [Amazon Elastic Compute Cloud]? It becomes very much more difficult and I think that is an area that security companies and security professionals need to focus on."&lt;/blockquote&gt;Every ISP and ASP out there has to deal with issues similar to this. Let's face it the problem is not going away anytime soon. However, with the loss of visibility associated with the dynamic nature of cloud services, attractiveness of easy provisioning and setup for the non-technical, and the service providers desire to provide privacy for its customers, cloud services are certainly ripe for abuse. Let's hope providers, such as Amazon, can find a happy medium of providing needed services and privacy for its customers while offering others an effective mechanism for reporting and deterring any misuse and exploitation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-5345419219816028037?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/5345419219816028037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/02/forcast-cloudy-with-chance-of-low.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/5345419219816028037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/5345419219816028037'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/02/forcast-cloudy-with-chance-of-low.html' title='Forecast: Cloudy with a Chance of Low Visibility'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_KM-Ojgotrpk/S3WiUcO0H8I/AAAAAAAAABw/V814CMfqFz0/s72-c/DSTPorts.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-6411416336463092347</id><published>2010-01-20T18:46:00.004-05:00</published><updated>2010-04-01T08:47:24.818-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>The Open Source Vulnerability Database</title><content type='html'>I had the opportunity to listen to a great interview on episode 19 of the &lt;a href="http://blog.tenablesecurity.com/2010/01/tenable-network-security-podcast---episode-19.html"&gt;Tenable Network Security Podcast&lt;/a&gt; during my morning commute yesterday. The interview was with Jake Kouns the President and co-founder a of the Open Security Foundation which oversees the &lt;a href="https://osvdb.org/"&gt;Open Source Vulnerability Database (OSVDB)&lt;/a&gt; and the &lt;a href="http://datalossdb.org/"&gt;DatalossDB&lt;/a&gt;. The interview is certainly worth a listen and for those not familiar with OSVDB, take a few minutes to check it out. To quote OSVDB's about page;&lt;br /&gt;&lt;blockquote&gt;OSVDB is an independent and open source database created by and for the security community. The goal of the project is to provide accurate, detailed, current and unbiased technical information on security vulnerabilities. The project will promote greater, more open collaboration between companies and individuals, eliminate redundant works, and reduce expenses inherent with the development and maintenance of in-house vulnerability databases.&lt;/blockquote&gt;I just wanted to take a few minutes to point out the interview and OSVDB's &lt;a href="http://blog.osvdb.org/2010/01/04/challenge-osvdb-winter-2010-fundraising-goal"&gt;Winter 2010 Fundraiser&lt;/a&gt;. So if you use the database please consider donating as it is a fantastic resource that would be missed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-6411416336463092347?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/6411416336463092347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/01/open-source-vulnerability-database.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/6411416336463092347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/6411416336463092347'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/01/open-source-vulnerability-database.html' title='The Open Source Vulnerability Database'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-8459597833515247678</id><published>2010-01-11T10:35:00.005-05:00</published><updated>2010-10-12T17:00:46.299-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><category scheme='http://www.blogger.com/atom/ns#' term='phishing'/><title type='text'>Is a Warning a Mitigation?</title><content type='html'>On Friday the good people at The Internet Storm Center posted some &lt;a href="http://www.dshield.org/diary.html?storyid=7918"&gt;notes&lt;/a&gt; on a readers experience with a recent targeted phishing attempt of his corporate OWA (Outlook Web Access) users. The email used to target the end users is convincing. It explains that their mailbox settings have been changed due to a security update and includes a hyperlink to what appears to be an URL residing on the corporate domain. Once clicked, the unsuspected recipient is brought to another site that offers up an executable containing the ZBot Trojan.&lt;br /&gt;&lt;br /&gt;Soon after reading the post, I chatted with a few people who stated that they too had witnessed this attack at their place of employment. None of this is very surprising to me, except that it does not seem to occur more often. At first glance, one might be inclined to believe this is a low risk attack vector. It's just OWA right? I disagree however. Many organizations allow OWA untethered from the internet. OWA runs on Microsoft Exchange which indicates it is a Microsoft Active Directory environment. In almost all cases OWA is using the same login credentials that is used to authorize the access to corporate resources such as Windows end nodes, file shares, VPN's, databases, and web applications. It is the "keys to the kingdom" if you will. Combine this with end users running as local adminitrators and there are multiple opportunities for compromise.&lt;br /&gt;&lt;br /&gt;OWA has been no stranger to vulnerabilities in the past. An URL redirection &lt;a href="http://osvdb.org/13621"&gt;vulnerability&lt;/a&gt; affecting Exchange 2003 has gone unpatched and almost unnoticed by many Exchange administrators for years. With the exception of some frustrated forum posts from a handful of systems administrators and security practitioners, there seems to be little mention of the issue. The user is presented with the organizations OWA login page and after providing credentials is redirected to the attackers server. An example of the redirected URL:&lt;br /&gt;&lt;br /&gt;https://[victim]/exchweb/bin/auth/owalogon.asp?url=http://[attacker/file.exe]&lt;br /&gt;&lt;br /&gt;Such vulnerability would only make the aforementioned phishing attempt more effective. The Open Web Application Security Project (OWASP) recently released release candidate 1 of the &lt;a href="http://www.owasp.org/images/0/0f/OWASP_T10_-_2010_rc1.pdf"&gt;The Top Ten Critical Web Application Security Risks of 2010&lt;/a&gt;. Number eight on this list is&amp;nbsp; UnvalidatedRedirects and Forwards. To quote the summary of this risk:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;"Web applications frequently redirect and forward users to other pages and websites, and use untrusted data to determine the destination pages. Without proper validation, attackers can redirect victims to phishing or malware sites, or use forwards to access unauthorized pages."&lt;/blockquote&gt;&lt;br /&gt;Again there is no official Microsoft patch for the issue but the aforementioned OSVDB link does contain a comment describing a mitigation tactic. By hard coding the redirectPath variable in login.asp to you company's full URL path for the locale you’re using, you can prevent the redirection. It should be noted however the redirectPath should be hardcoded in each of the locale's being used (i.e. language set in the user’s browser). While Exchange 2007 is not affected by this example it is affected by a similar URL Redirection described &lt;a href="http://osvdb.org/49230"&gt;here&lt;/a&gt;. Upgrading to Exchange Service Pack 1 or higher fixes the issue.&lt;br /&gt;&lt;br /&gt;So I am not sure why I was surprised when I recently received an email from one of the email lists I subscribe to. In it, Dan from &lt;a href="http://www.madjic.net/"&gt;http://www.madjic.net/&lt;/a&gt; describes a similar redirection issue with Exchange 2007 SP1. He had verified that with some modifications, URL redirection is still possible via:&lt;br /&gt;&lt;br /&gt;https://[victim]/owa/[user]@[victim]/redir.aspx?URL=http%3a%2f%2f[attacker/file.exe]&lt;br /&gt;&lt;br /&gt;One would need to include the victim's login name but this would be trivial since in many Exchange environments the email address is the same as the Windows username. Now here is the rub. Once redirected the end user is presented with the following warning:&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/S0tCcqwdkNI/AAAAAAAAABg/QFvVuqPwAJ4/s1600-h/redirect_warning.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="178" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/S0tCcqwdkNI/AAAAAAAAABg/QFvVuqPwAJ4/s400/redirect_warning.png" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;So my question is this; is a warning a mitigation? (Please comment as I am truly curious on everyone's opinion on this) While certainly an improvement, I would not consider it a fix or mitigation. Users have a tendency to click through warnings. SSL Certificates are a great example of this. This actually reminds me of another Microsoft mitigation from almost a decade ago (I am dating myself now). &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_KM-Ojgotrpk/S0tConnX_pI/AAAAAAAAABo/fZ5IiwE59hQ/s1600-h/vba_warning.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="211" src="http://3.bp.blogspot.com/_KM-Ojgotrpk/S0tConnX_pI/AAAAAAAAABo/fZ5IiwE59hQ/s400/vba_warning.gif" width="400" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;This warning was included in Outlook 2000 Service Pack 2 and above and was a direct result of worms such as the ILOVEYOU virus which leveraged VBA in Outlook to spread to the others in the victims contact list. Did it stop the propagation of such malware? &lt;br /&gt;&lt;br /&gt;Certainly properly architecting OWA and placing it behind a proxy with appropriate ACL's that restrict outbound connections would be a better solution than a warning. This may not be feasible for small businesses, however. End User education is always a must but with spam and attacks becoming more streamlined and targeted this is not a realistic solution in itself. I purpose the better solution would be to provide systems administrators with an easy way to turn redirection off (that is a hint Microsoft). Hey let's get a bit crazy! Let's make the default setting be disabled.&lt;br /&gt;&lt;br /&gt;I think most of us understand the concept of the path of least resistance. Attackers will always take the road that is less bumpy. History has proven that phishing, is one such avenue. Many attack vectors have come and gone but yet phishing attacks still exist. Let’s not give the bad guys anything that is going to make their jobs any easier. Now go forth and mitigate!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-8459597833515247678?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/8459597833515247678/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/01/is-warning-mitigation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8459597833515247678'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8459597833515247678'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/01/is-warning-mitigation.html' title='Is a Warning a Mitigation?'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_KM-Ojgotrpk/S0tCcqwdkNI/AAAAAAAAABg/QFvVuqPwAJ4/s72-c/redirect_warning.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-7662377918014466302</id><published>2010-01-04T13:25:00.010-05:00</published><updated>2010-04-01T08:47:36.002-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='legislation'/><title type='text'>What's in a Word?</title><content type='html'>So I am doing the post holiday vacation catch up with my email last night and I found several emails in my inbox referencing a Boston Globe article published yesterday. The article is titled&lt;a href="http://www.boston.com/business/technology/articles/2010/01/03/data_breaches_affect_million_state_residents/"&gt; Data Breaches Affect Million State Residents&lt;/a&gt; .&lt;br /&gt;&lt;br /&gt;To summarize, the article briefly reviews the amount of data loss containing Personal Identifiable Information (PII) of Massachusetts residents reported since &lt;a href="http://www.mass.gov/legis/laws/mgl/93h-1.htm"&gt;MGL Chapter 93H&lt;/a&gt; was put into effect in October 2007. I was happy to see some general media coverage of the 2007 law and the newer &lt;a href="http://www.mass.gov/?pageID=ocaterminal&amp;amp;L=4&amp;amp;L0=Home&amp;amp;L1=Consumer&amp;amp;L2=Privacy&amp;amp;L3=Identity+Theft&amp;amp;sid=Eoca&amp;amp;b=terminalcontent&amp;amp;f=reg201cmr17&amp;amp;csid=Eoca#1702"&gt;201 CMR 17.00&lt;/a&gt; law which is scheduled to become effective in March 2010. I quickly became annoyed however.&lt;br /&gt;&lt;br /&gt;What struck me was a quote in the article from &lt;a href="http://www.mass.gov/?pageID=ocautilities&amp;amp;L=1&amp;amp;sid=Eoca&amp;amp;U=banthonybio"&gt;Barbara Anthony&lt;/a&gt;, Undersecretary of the Office of Consumer Affairs and Business Regulation. &lt;br /&gt;&lt;br /&gt;“In 60 percent of the cases, the breaches were due to criminal acts,’’ said Anthony. “Forty percent were negligence.’’&lt;br /&gt;&lt;br /&gt;&amp;lt;disclaimer&amp;gt;I am not an attorney nor do I play one on TV!&amp;lt;/disclaimer&amp;gt;&lt;br /&gt;&lt;br /&gt;I live and work in Massachusetts so I am familiar with both these laws. I have to say I have a real problem with this statement. Lets first look up the definition of the word negligence. It is after all a legal term which therein lies my issue with her statement.&lt;br /&gt;&lt;br /&gt;From &lt;a href="http://dictionary.reference.com/browse/negligence"&gt;dictionary.com&lt;/a&gt;&lt;br /&gt;&lt;blockquote&gt;–noun &lt;br /&gt;3. Law. the failure to exercise that degree of care that, in the circumstances, the law requires for the protection of other persons or those interests of other persons that may be injuriously affected by the want of such care. &lt;br /&gt;&lt;br /&gt;–adjective &lt;br /&gt;4. Law. pertaining to or involving a civil action for compensation for damages filed by a person who claims to have suffered an injury or loss in an accident caused by another's negligence: a negligence suit; a large negligence award. &lt;/blockquote&gt;&lt;br /&gt;So if a criminal act&lt;b&gt; &lt;/b&gt;was used to obtain data by way of an individual or company's neglect to adequately protect that data would that not be considered “negligence”? I would argue that most of the 807 cases reported by the Commonwealth of Massachusetts were probably caused by some form of negligence. If an employee of a company storing such data, copies the data to his/her laptop against company policy, and that laptop is stolen from the front seat of his/her vehicle, then that is a criminal act caused by negligence. If a company's System Administrator forgets to apply a security patch to a critical system prior to leaving for two weeks of vacation, the server is compromised, and the data is stolen, I would also consider that a criminal act resulting from negligence.&lt;br /&gt;&lt;br /&gt;My point is I would like to know how the Commonwealth is differentiating between a criminal act and negligence since the later can often lead to the former. I believe their logic and consequently their statistics are flawed. Moreover, neither law seems to outline such terminology.&lt;br /&gt;&lt;br /&gt;So why is this important? I believe companies should be held legally liable. The term negligence implies that I as a consumer residing in the Commonwealth of Massachusetts should be able to hold a company that is storing my Personal Identifiable Information liable in criminal and civil court if they have been negligent in protecting my data. Is that not the purpose of Law? Until then, I do not believe laws and regulations will have any substantial positive effect. They are just security theater.&lt;br /&gt;&lt;br /&gt;On a related note, I found this great post on philosecurity.org blog waiting in my RSS reader last night;&amp;nbsp; &lt;a href="http://philosecurity.org/2010/01/02/why-data-breaches-dont-get-reported"&gt;Why Data Breaches Don't Get Reported&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-7662377918014466302?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/7662377918014466302/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2010/01/ignorance-is-not-excuse-for-negligence.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/7662377918014466302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/7662377918014466302'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2010/01/ignorance-is-not-excuse-for-negligence.html' title='What&apos;s in a Word?'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-8169923816687363318</id><published>2009-12-31T14:19:00.018-05:00</published><updated>2011-02-16T06:45:52.495-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Adobe's "0 Face"</title><content type='html'>As you may already know, Adobe acknowledged another public security vulnerability in their products on December 15, 2009. &lt;a href="http://www.adobe.com/support/security/advisories/apsa09-07.html"&gt;APSA09-07&lt;/a&gt; affects all current and earlier versions of Adobe Acrobat and Reader with JavaScript enabled and is currently being exploited in the wild. There is no doubt Adobe products have been in the cross hairs of attackers over the past two years and Adobe's use of JavaScript seems to provide an easy opportunity for exploitation.&lt;br /&gt;&lt;br /&gt;Upon reading the advisory, it was no surprise that disabling JavaScript was the mitigation. Many users in my environment do not use this functionality and it can easily be turned off via the Windows registry. The problem is it does not remain off. When opening an Adobe JavaScript enabled .pdf the user is presented with a prompt to re-enable JavaScript. To date Adobe does not provide any way to permanently disable JavaScript via the Adobe Reader preferences menu or the registry. We all know how useful warnings are for end users right? &amp;lt;insert self-signed ssl certificate here&amp;gt; But I'll save the use of a warning as a form of mitigation of badly thought up functionality for a later blog post.&lt;br /&gt;&lt;br /&gt;&amp;lt;my rant&amp;gt;&lt;br /&gt;&lt;br /&gt;So Adobe products are increasingly being targeted and although Adobe seems to have picked up the pace with their security stance, I have often questioned if they have enough internal resources to do anything but be reactive. Once again, a zero day leveraging JavaScript in an Adobe product is flying around and the patch for this vulnerability will not be available until January 12, 2010. In my opinion, this is unacceptable. Adobe seems to be struggling with putting out the fires and are not being preventative by fixing their code or providing systems administrators with the tools or patches they need to properly mitigate. I can personally tell you my corporate IDS and Antivirus have been lighting up like a Christmas tree (tis the season) with attacks using this exploit.&lt;br /&gt;&lt;br /&gt;Soon after the advisory dropped, I listened to Dennis Fisher and Ryan Naraine interview Brad Arkin on the &lt;a href="http://threatpost.com/en_us/blogs/brad-arkin-adobe-reader-zero-day-flaws-and-security-response-121709"&gt;Digital Underground podcast&lt;/a&gt;. Brad Arkin is currently Director of Product Security and Privacy at Adobe and has held previous positions at Symantec and @stake. Now Brad seems like an intelligent guy and I applaud him for taking on such a challenge. I became annoyed while listening to the interview, however. Ryan Naraine repeatedly queried Brad during the podcast on what I have suspected for quite some time. Does Adobe have enough resources in place for dealing with the current trend of attacks targeting their products? Brad seemed to repeatedly side step the question. He attempted to explain the complexity of dealing with such vulnerabilities with such a large and diverse install base. &lt;br /&gt;&lt;br /&gt;&amp;lt;disclaimer&amp;gt; While I may have no experience dealing with what Brad has stepped up to do, I do have a lot of experience mitigating vulnerabilities in the corporate environment and my opinions here are based on that experience. &amp;lt;/disclaimer&amp;gt;&lt;br /&gt;&lt;br /&gt;Now while I have no doubt that this is a challenge indeed, maybe Adobe needs to stop, glance around, and take a cue from the company that has the largest and most diverse install base I know of. That company would be Microsoft. While far from perfect, Microsoft seems to have made some significant advances with their security program over the last 5-6 years. When &lt;a href="http://www.microsoft.com/technet/security/Bulletin/MS08-067.mspx"&gt;MS08-067&lt;/a&gt; dropped in October 2008 (for those not familiar, that’s the vulnerability used by the Conficter variants), Microsoft did what any responsible software vendor should do. They released an Out-Of-Band patch!&amp;nbsp; So what gives Adobe?&lt;br /&gt;&lt;br /&gt;I almost jumped out of my skin when Brad stated Adobe often needs to shift resources off of other security projects and research to handle an exploit such as this. So to answer Ryan’s question, I guess you do not have enough resources then? My point is if you have to shift all your resources to handle each and every fire and it still takes you a month to put out the fire, then you will never be preventative. Maybe I am being naive here but I don't believe so.&lt;br /&gt;&lt;br /&gt;&amp;lt;/my rant&amp;gt;&lt;br /&gt;&lt;br /&gt;Ok so with my ranting out of the way, I did state that I thought Adobe was making improvements. One such improvement is their implementation of the JavaScript Blacklist Framework mentioned during the podcast. It is still reactive but it is at least something. Thank you to Dennis, Ryan, and Brad for bringing this to my attention. To quote Adobe’s tech note located &lt;a href="http://kb2.adobe.com/cps/504/cpsid_50431.html"&gt;here&lt;/a&gt;;&lt;br /&gt;&lt;br /&gt;“The Adobe Reader and Acrobat JavaScript Blacklist Framework introduced in versions 9.2 and 8.1.7 provides granular control over the execution of specific JavaScript APIs. This mechanism allows selective blocking of vulnerable APIs so that you do not have to resort to disabling JavaScript altogether.”&lt;br /&gt;&lt;br /&gt;Brad admitted during the interview that this is only effective for specific vulnerabilities and it may break legitimate uses of functionality in Adobe Acrobat and Reader. He further stated Adobe has many more improvements coming during 2010. I can only hope this includes some preventative improvements to their code base and internal resources dedicated to the current target on their back.&lt;br /&gt;&lt;br /&gt;More can be found on using the blacklist framework to mitigate the vulnerability in APSA09-07 &lt;a href="http://kb2.adobe.com/cps/532/cpsid_53237.html"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For an entertaining and informative Adobe rant (that puts mine to shame) checkout the latest post on the Sourcefire VRT Team blog, entitled &lt;a href="http://vrt-sourcefire.blogspot.com/2009/12/matts-guide-to-vendor-response.html"&gt;Matt's Guide to Vendor Response&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Happy New Years to Everyone!&lt;br /&gt;&lt;br /&gt;Update:&lt;br /&gt;&lt;br /&gt;More reports of sophisticated Adobe exploits have been appearing this week. Some have little to no coverage by the AntiVirus vendors. I noted the following &lt;a href="http://blogs.zdnet.com/security/?p=5178"&gt;article&lt;/a&gt; describing Adobe's plans to begin testing a silent Adobe updater. Someone needs to tell Adobe an updater only works if you actually provide the update and explain to them the basics of enterprise change control.&lt;br /&gt;&lt;br /&gt;Details of the attacks can be found &lt;a href="http://www.theregister.co.uk/2010/01/04/adobe_reader_attack/"&gt;here&lt;/a&gt; and &lt;a href="http://www.dshield.org/diary.html?storyid=7867"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Another Update:&lt;br /&gt;&lt;br /&gt;Adobe has release patches for the Acrobat/Reader vulnerability as well as another vulnerability in Illustrator.&amp;nbsp; The Advisories can be found here:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.adobe.com/support/security/bulletins/apsb10-02.html"&gt;http://www.adobe.com/support/security/bulletins/apsb10-02.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.adobe.com/support/security/bulletins/apsb10-01.html"&gt;http://www.adobe.com/support/security/bulletins/apsb10-01.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I also found a great ADM template for tuning Adobe Acrobat and Reader JavaScript settings on the &lt;a href="http://praetorianprefect.com/archives/2010/01/disable-acrobat-reader-pdf-in-the-enterprise/"&gt;Praetorian Prefect Blog&lt;/a&gt;. Again, just note that the user will be prompted with a warning when opening a .pdf containing JavaScript.&lt;br /&gt;&lt;br /&gt;OK Last Update&lt;br /&gt;&lt;br /&gt;The Sourcefire VRT team posted an excellent &lt;a href="http://vrt-sourcefire.blogspot.com/2010/01/acrobat-javascript-blacklist-framework.html"&gt;article&lt;/a&gt; this week on the using the Acrobat JavaScript Blacklist Framework on common exploited functions within Adobe Acrobat and Reader. An example taken from their post for Adobe Acrobat 9 would be as follows:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Adobe Acrobat\9.0\FeatureLockDown\cJavaScriptPerms]"tBlackList"="Collab.getIcon|DocMedia.newPlayer|Util.printf|Spell.customDictionaryOpen|Doc.syncAnnotScan|Doc.getAnnots"&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;Additionally, they provide benign Adobe Acrobat files using each of these functions to test with.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://blog.didierstevens.com/%20"&gt;Didier Stevens&lt;/a&gt; also pointed out during a recent &lt;a href="http://media.libsyn.com/media/pauldotcom/pauldotcom-SW-episode183pt1.mp3"&gt;interview&lt;/a&gt; on PaulDotCom Security Weekly that the new version of Adobe Reader and Acrobat has changed the way it warns users that JavaScript is disabled. While not quite the administrative control I had hoped for, it is a slight improvement as it renders the .pdf regardless of the action taken by the user.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-8169923816687363318?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/8169923816687363318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/12/adobes-0-face.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8169923816687363318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8169923816687363318'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/12/adobes-0-face.html' title='Adobe&apos;s &quot;0 Face&quot;'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-3904851830526743880</id><published>2009-12-29T22:54:00.002-05:00</published><updated>2011-02-16T06:47:24.068-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Yet Another Update on the Symantec Vulnerability</title><content type='html'>It looks like &lt;a href="http://www.dshield.org/diary.html?storyid=7834"&gt;DSHIELD&lt;/a&gt; has picked up on an increase in probes for port 12174 associated with the &lt;a href="http://www.symantec.com/business/security_response/securityupdates/detail.jsp?fid=security_advisory&amp;amp;pvid=security_advisory&amp;amp;year=2009&amp;amp;suid=20090428_02"&gt;Symantec Advisory&lt;/a&gt; covered previously on this blog &lt;a href="http://securitybraindump.blogspot.com/2009/12/update-on-symantec-vulnerability.html"&gt;here&lt;/a&gt; and &lt;a href="http://securitybraindump.blogspot.com/2009/10/lessons-learned-vulnerability-and.html"&gt;here&lt;/a&gt;. In some cases of upgrading from previous versions of Symantec Corporate Antivirus to 10.1 MR8, servers are still vulnerable to this exploit. So make sure AMS and Intel File Transfer service (xfr.exe) is not running and listening on TCP Port 12174.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-3904851830526743880?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/3904851830526743880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/12/yet-another-update-on-symantec.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3904851830526743880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3904851830526743880'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/12/yet-another-update-on-symantec.html' title='Yet Another Update on the Symantec Vulnerability'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-3326650230449293748</id><published>2009-12-10T15:00:00.005-05:00</published><updated>2011-02-16T06:48:40.447-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><title type='text'>Update on Symantec Vulnerability</title><content type='html'>So I wanted to give everyone an update on the Symantec Antivirus vulnerability I outlined in my previous post entitled; &lt;a href="http://securitybraindump.blogspot.com/2009/10/lessons-learned-vulnerability-and.html"&gt;Lessons Learned: Vulnerability and Expectations Management&lt;/a&gt;. It appears that the exploit code has been published to the &lt;a href="http://www.exploit-db.com/exploits/10340"&gt;Exploit Database&lt;/a&gt; and has also been added to the &lt;a href="http://downloads.securityfocus.com/vulnerabilities/exploits/34671.rb"&gt;Metasploit Framework&lt;/a&gt;. If you have not read my previous article, please make note here. In some cases of upgrading from previous versions of Symantec Corporate Antivirus to 10.1 MR8, servers are still vulnerable to this exploit.&lt;br /&gt;&lt;br /&gt;The problem is due to the fact that AMS2 does not get removed in all cases of upgrading from version 9 to 10. If the Intel File Transfer service (xfr.exe) is running and listening on TCP Port 12174 then you are still vulnerable. Disabling the service or completely uninstalling and reinstalling Symantec Antivirus were the two options given to me by support at Symantec. I use the term "support" loosely here as I'm the one that told them disabling the serviced mitigates the issue. &lt;br /&gt;&lt;br /&gt;I have attempted to get Symantec to edit their advisory with this information without success. So make sure you verify your patches with the attached code or favorite vulnerability scanner. Tenable Nessus does have a plugin available &lt;a href="http://www.nessus.org/plugins/index.php?view=single&amp;amp;id=38664"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-3326650230449293748?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/3326650230449293748/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/12/update-on-symantec-vulnerability.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3326650230449293748'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3326650230449293748'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/12/update-on-symantec-vulnerability.html' title='Update on Symantec Vulnerability'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-5483280953122067733</id><published>2009-11-24T18:45:00.001-05:00</published><updated>2010-04-01T08:55:37.583-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='forensics'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>CMD.EXE Incident Response Cheat Sheet</title><content type='html'>Recently, I have been putting together some incident response tools and documentation for our systems administrators and wanted to provide an easy to use reference of Windows command line tools available at their disposal. There is a a lot of great information and resources available but I could not find a single one page cheat sheet of all the cmd.exe commands one might use during incident response. The closest thing I found to containing all the commands I wanted to cover was Russell Butturini's &lt;a href="http://www.irongeek.com/i.php?page=videos/pn12/russell-butturini-using-the-hak5-u3-switchblade-as-an-incident-response-and-forensics-tool"&gt;Hak5 U3 Switchblade&lt;/a&gt; which is an awesome resource but my aim was to teach what each command does. Consequently, I began creating a cheat sheet myself using Jeremy Stretch's popular &lt;a href="http://packetlife.net/"&gt;PacketLife.net&lt;/a&gt; cheat sheet template he recently made available &lt;a href="http://packetlife.net/media/library/24/Cheat_Sheet_Template.vsd"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I have attached v1.0 and am hoping others can find some value with using it or maybe make some suggestions or additions to it. I would love to do one for Linux and maybe a more detailed one on WMIC. Let me know what you think.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://1.bp.blogspot.com/_KM-Ojgotrpk/Swxv2ovk4tI/AAAAAAAAABY/POWa7H8xJ_o/s1600/WinCmdLineCS.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://1.bp.blogspot.com/_KM-Ojgotrpk/Swxv2ovk4tI/AAAAAAAAABY/POWa7H8xJ_o/s320/WinCmdLineCS.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-5483280953122067733?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/5483280953122067733/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/11/cmdexe-incident-response-cheat-sheet.html#comment-form' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/5483280953122067733'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/5483280953122067733'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/11/cmdexe-incident-response-cheat-sheet.html' title='CMD.EXE Incident Response Cheat Sheet'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_KM-Ojgotrpk/Swxv2ovk4tI/AAAAAAAAABY/POWa7H8xJ_o/s72-c/WinCmdLineCS.png' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-9080308789353392893</id><published>2009-11-23T17:48:00.002-05:00</published><updated>2010-04-01T08:58:55.879-04:00</updated><title type='text'>RBS Worldpay:  It's Not Child's Play</title><content type='html'>I have found the RBS Worldpay ATM heist fascinating. Although the dollar amount stolen cannot compare to some larger compromises in recent history, the coordination the attackers and thieves displayed is unprecedented. Moreover, it appears the corporation of law enforcement spanning three continents was able to bring an indictment on November 10, 2009. A copy of that document can be found &lt;a href="http://www.wired.com/images_blogs/threatlevel/2009/11/rbs-worldpay-indictment.pdf"&gt;here&lt;/a&gt;. Not much is known about the technical details of the compromise but I recently decided to put together a diagram of what is known about the heist for a training I am scheduled to do next month. I used the Crayon Network Visio Stencil found &lt;a href="http://www.visguy.com/2008/08/11/crayon-network-shapes/"&gt;here&lt;/a&gt; to create it and though some might find it amusing.&lt;br /&gt;&lt;br /&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://3.bp.blogspot.com/_KM-Ojgotrpk/SwsP4gaz5_I/AAAAAAAAABQ/V18MPr6AE78/s1600/RBSWorldplay.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" src="http://3.bp.blogspot.com/_KM-Ojgotrpk/SwsP4gaz5_I/AAAAAAAAABQ/V18MPr6AE78/s320/RBSWorldplay.png" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;More articles and coverage on the compromise and arrests can be found here:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.fbi.gov/page2/nov09/atm_111609.html"&gt;http://www.fbi.gov/page2/nov09/atm_111609.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://atlanta.fbi.gov/dojpressrel/pressrel09/atl111009.htm"&gt;http://atlanta.fbi.gov/dojpressrel/pressrel09/atl111009.htm&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.veracode.com/blog/2009/11/we-need-to-learn-more-about-the-rbs-worldpay-atm-attack/"&gt;http://www.veracode.com/blog/2009/11/we-need-to-learn-more-about-the-rbs-worldpay-atm-attack/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-9080308789353392893?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/9080308789353392893/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/11/rbs-worldpay-its-not-childs-play.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/9080308789353392893'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/9080308789353392893'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/11/rbs-worldpay-its-not-childs-play.html' title='RBS Worldpay:  It&apos;s Not Child&apos;s Play'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_KM-Ojgotrpk/SwsP4gaz5_I/AAAAAAAAABQ/V18MPr6AE78/s72-c/RBSWorldplay.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-5140073993699843145</id><published>2009-11-16T13:26:00.005-05:00</published><updated>2011-02-16T06:49:12.344-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><title type='text'>Only You Can Prevent Forest Fires - A Smokey The Bear Approach to Security</title><content type='html'>A few weeks back &lt;a href="http://twitter.com/haxorthematrix"&gt;Larry Pesce&lt;/a&gt; from &lt;a href="http://www.pauldotcom.com/"&gt;PaulDotCom&lt;/a&gt; posed the following question on Twitter: &lt;br /&gt;&lt;br /&gt;&lt;i&gt;"Hmm. If you had to deploy ONE security technology in your organization, what would it be? What is the risk reduction vs, total effort?&lt;/i&gt;"&lt;br /&gt;&lt;br /&gt;Many people quickly replied. Some answers included: a comprehensive patch management solution (my pick), Security Information Management (SIM) system, network based firewall, Intrusion Prevention System (IPS), incident response plan, and my personal favorite "a very large dog..." . Larry quickly followed up asking what would the second technology be and why?&lt;br /&gt;&lt;br /&gt;I struggled with that question. After all it is a "no win" situation. A proper incident response plan would certainly be needed but is reactive. Network defenses would be beneficial but do not take in account a mobile workforce. I finally settled on some sort of central system that would facilitate the system hardening of the end nodes. The reasoning for my answer is the result of experiences I had early in my information systems career.&lt;br /&gt;&lt;br /&gt;During my time as a desktop support tech, I spent most days putting out fires. The lack of centralized patch management, host based firewalls, build procedures, and asset management was the source of chaos for the desktop and systems administration teams. Worm outbreaks, improper configuration, and end users running with local administrator rights were the norm not the exception. Consequently, the team was too busy chasing their tail around to be proactive. Those experiences resonated heavily with me and ever since I have insisted in being proactive whenever possible.&lt;br /&gt;&lt;br /&gt;Would have proper incident response or a SIM solution have helped my former employer? Maybe. Incident Response procedures and SIM's are important parts of any defense infrastructure but they are reactive, not preventative. Consequently, I would certainly place them in my top five but only after implementing the basics of defense.&lt;br /&gt;&lt;br /&gt;While Larry's hypothetical situation is enough to give any security practitioner nightmares, I found it to be a great source of self reflection. Larry discusses the replies in more detail during &lt;a href="http://pauldotcom.com/wiki/index.php/Episode172"&gt;Episode 172 of PaulDotCom Security Weekly&lt;/a&gt;, so check it out when you get a chance. I'm interested to know what you would choose and how fast you would update your resume if you found yourself in the same situation.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-5140073993699843145?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/5140073993699843145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/11/only-you-can-prevent-forest-fires.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/5140073993699843145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/5140073993699843145'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/11/only-you-can-prevent-forest-fires.html' title='Only You Can Prevent Forest Fires - A Smokey The Bear Approach to Security'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-2229362014577890426</id><published>2009-11-13T21:35:00.003-05:00</published><updated>2010-04-01T08:51:05.574-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cons'/><title type='text'>DojoCon 2009</title><content type='html'>I have had several things I have been meaning to post but my day job has been keeping me crazy busy lately. However, I did manage to find a few hours to check out some of the talks streaming live from &lt;a href="http://www.dojocon.org/"&gt;DojoCon 2009&lt;/a&gt;. For those not familiar with DojoCon, it was created by &lt;a href="http://twitter.com/MarcusJcarey"&gt;Marcus J. Carey&lt;/a&gt; this year and was held November 6-7, 2009 in Maryland. Marcus not only coordinated the conference but also donated a large amount of the proceeds to &lt;a href="http://www.hackersforcharity.org/"&gt;Hackers for Charity (HFC)&lt;/a&gt;. I had the opportunity to watch several talks including the keynote from Marcus Ranum, a great talk by Matt Watchinski of Sourcefire VRT, and a fantastic breakdown on lock picking by Deviant.&lt;br /&gt;&lt;br /&gt;I haven't had the opportunity to watch the remaining talks yet but I am looking forward to it. I recommend you check out some of the &lt;a href="http://live.saecur.com/dojocon/"&gt;recordings&lt;/a&gt;, drop Marcus a thank you note, and donate to HFC. Marcus did a great job with the con and HFC is a great cause.&lt;br /&gt;&lt;br /&gt;Thank you Marcus! &lt;br /&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-2229362014577890426?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/2229362014577890426/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/11/dojocon-2009.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/2229362014577890426'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/2229362014577890426'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/11/dojocon-2009.html' title='DojoCon 2009'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-8675150476393901004</id><published>2009-10-26T21:30:00.001-04:00</published><updated>2010-04-01T08:59:41.961-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>Don't be the Smelly Kid</title><content type='html'>Often I find security professionals and management treating security as a project or series of projects. While there may be security related projects within an organization, I would argue security as whole should not be treated as such. Securing ones environment does not have defined start dates, end dates, or even budget. It needs to be part of every information system project and baked in from the beginning. Security should be part of your regular scheduled maintenance and  support structure. By treating security as one would treat personal hygiene, security becomes part of the daily routine. Lather, rinse, and repeat.&lt;br /&gt;&lt;br /&gt;I have eluded in previous posts that security products, while sometimes helpful, can also cause more overhead and issues. Specifically, products designed to provide a "band aid" to improperly designed or implementation information systems would be the equivalent of splashing some cologne on everyday and not taking a shower. Eventually, there will not be enough cologne in the world to hide the stench. So don't be the smelly kid! Lather, rinse, and repeat.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-8675150476393901004?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/8675150476393901004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/10/dont-be-smelly-kid.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8675150476393901004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8675150476393901004'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/10/dont-be-smelly-kid.html' title='Don&apos;t be the Smelly Kid'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-8566225203834992961</id><published>2009-10-13T15:31:00.001-04:00</published><updated>2010-04-01T09:00:05.163-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='legislation'/><title type='text'>The Detrimental Effects of Compliance Auditing on the Security of Small Business</title><content type='html'>Many argue that regulatory compliance with PCI, SOX, MA 201 CMR 17.00, and others help establish the minimum baseline for security in organizations. I think the point may be valid in organizations that initially had little to no security but I would argue that it has the opposite effect on a company that has the basics and beyond covered. To be specific, smaller companies which have one or two security professionals running the gambit from configuring Group Policy to writing Policies and Procedures are often already overwhelmed (note I fit into this category). Such professionals may quickly find themselves concentrating on out dated, incomplete regulations and laws rather than concentrating on reducing the risk of data loss by keeping up with current attack vectors, vulnerabilities, patches, and system logs.&lt;br /&gt;&lt;br /&gt;I recently had a discussion with some colleagues on the subject of extending the compliance auditing of SAS providers to include data beyond financial or personal identifiable information. Initially it sounds like a valid and justifiable cause. But what is the end game? If it is mountains of one hundred page SAS70's with no regulation or law behind them, then it might be a worthy cause. But stacks of paper may show nothing about the security of the data being stored by the provider and will certainly distract from other effective methods of reducing risk. Honestly, if I could spend some time shooting the shit with the solution providers security team about current security trends and attack vectors, I would probably have a more accurate assessment of their ability to secure the data.&lt;br /&gt;&lt;br /&gt;I am not suggesting we ignore current laws or regulations. We have an obligation to follow them. I am also not suggesting we do not review the hosted solutions outside vendors are providing for non-regulated data. I do believe that the review process should not mimic compliance audits, however. The time spent during the review process should match the amount of risk involved and assurance we achieve from the security review. If the security of such data is absolutely crucial, one might consider not storing the data there in the first place.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-8566225203834992961?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/8566225203834992961/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/10/detrimental-effects-of-regulatory.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8566225203834992961'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8566225203834992961'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/10/detrimental-effects-of-regulatory.html' title='The Detrimental Effects of Compliance Auditing on the Security of Small Business'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-647278327919921612</id><published>2009-10-12T21:30:00.003-04:00</published><updated>2011-02-16T06:43:44.252-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='vulnerabilities'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>Lessons Learned: Vulnerability and Expectations Management</title><content type='html'>As an information security professional, a large portion of my work day is spent with vulnerability and patch management.  So when I saw a security advisory addressing multiple vulnerabilities in both Symantec's Corporate Antivirus and Endpoint Security Solution products last June, I immediately investigated.  You can read the security advisory &lt;a href="http://www.symantec.com/business/security_response/securityupdates/detail.jsp?fid=security_advisory&amp;amp;pvid=security_advisory&amp;amp;year=2009&amp;amp;suid=20090428_02"&gt;here&lt;/a&gt;.   I became concerned because other Vendors also use the Intel File Transfer service so I thought it be prudent to investigate.&lt;br /&gt;&lt;br /&gt;I began looking around and noted that Tenable Network Solutions had a Nessus plugin.  You can find the plugin &lt;a href="http://www.nessus.org/plugins/index.php?view=single&amp;amp;id=38664"&gt;here&lt;/a&gt;.  So like any true geek with nothing to do on a Saturday evening, I began scanning.  I was surprised at what I found.&lt;br /&gt;&lt;br /&gt;The systems running the Intel File Transfer service from other vendors were not vulnerable but systems patched with Symantec 10.1 MR8 were still be vulnerable.  The solution table in Symantec’s Advisory states that the issue with AMS2 was fixed in this version. &lt;br /&gt;&lt;br /&gt;I contacted someone I knew at Tenable and asked for assistance in verifying the vulnerability.  The plugin actually contains remote execution code but it is commented out by default.  With instruction from Tenable I uncommented the cmd = "calc"; line in the NASL script and ran a nessusd -R to perform a reload of the Nessus Database.  Sure enough, the next scan verified that cmd.exe would execute without authentication on the vulnerable machines.&lt;br /&gt;&lt;br /&gt;So what gives?  Is Symantec's advisory incorrect?  Not entirely, although it may be misleading.  This became a case of reading the fine print.  Further down the advisory we find this information:&lt;br /&gt;&lt;br /&gt;"AMS2 is installed by default with Symantec Antivirus Server 9.0. AMS2 is an optional component in Symantec Antivirus Server 10.0 or 10.1. These vulnerabilities will only impact systems if AMS has been installed." &lt;br /&gt;&lt;br /&gt;And further down, under mitigation section:&lt;br /&gt;&lt;br /&gt;"Reporting has replaced AMS2 as the recommended method of alerting. Symantec Endpoint Protection Central Quarantine Server 11.0 MR3 and later no longer include AMS2. Symantec recommends that customers who are still using AMS2 switch to Reporting to manage alerts in their environments. If the customer is unable to switch to reporting immediately then Symantec recommends that the customer either disables AMS2 as a temporary mitigation or completely uninstall AMS2."&lt;br /&gt;&lt;br /&gt;All the systems vulnerable had all been upgraded from an earlier version of Symantec Antivirus Corporate Edition 9.X.  During the remote upgrade process there seemed to be no way to specify if AMS2 was to be installed or not.  Symantec support seemed unable to instruct me on how to remove or disable AMS2 from the affected systems and I have spent the last several months trying to get them to change the advisory so that the solution table listed at the top of the document noted this tidbit at the bottom.  To say the least I have not been successful in this endeavor and feel a bit frustrated.  Although the Sales Executive has been nice enough to try and sell me their Endpoint Protection v11 product and recommended I start with a fresh install.&lt;br /&gt;&lt;br /&gt;If you do want to mitigate the vulnerability, I determined disabling the Intel File Transfer service works well and does not seem interfere with my configuration.  I recommend you test this in your own environment however. &lt;br /&gt;&lt;br /&gt;So Lessons Learned:&lt;br /&gt;&lt;br /&gt;Read Security Advisories carefully.&lt;br /&gt;Scanning is an important part of any vulnerability management plan.&lt;br /&gt;Manage your expectations when dealing with vendors.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Updated December 29, 2009&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Posted two updates on the &lt;a href="http://securitybraindump.blogspot.com/2009/12/update-on-symantec-vulnerability.html"&gt;release&lt;/a&gt; of the POC for this vulnerability and a &lt;a href="http://securitybraindump.blogspot.com/2009/12/yet-another-update-on-symantec.html"&gt;report&lt;/a&gt; of the exploit being used in the wild by SANS ISC.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-647278327919921612?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/647278327919921612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/10/lessons-learned-vulnerability-and.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/647278327919921612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/647278327919921612'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/10/lessons-learned-vulnerability-and.html' title='Lessons Learned: Vulnerability and Expectations Management'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-2736449408294790534</id><published>2009-08-28T10:54:00.005-04:00</published><updated>2009-08-28T10:59:43.815-04:00</updated><title type='text'>Holy Cheat Sheets Batman!</title><content type='html'>I found this gem of a blog post yesterday via Twitter. John from &lt;a href="http://blog.securitymonks.com"&gt;http://blog.securitymonks.com&lt;/a&gt; posted a massive list of Security Cheat Sheets that are available for free. Check out the post &lt;a href="http://blog.securitymonks.com/2009/08/15/whats-in-your-folder-security-cheat-sheets/"&gt;here&lt;/a&gt;. Thanks to John!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-2736449408294790534?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/2736449408294790534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/08/holy-cheatsheets-batman.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/2736449408294790534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/2736449408294790534'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/08/holy-cheatsheets-batman.html' title='Holy Cheat Sheets Batman!'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-7070433199604296668</id><published>2009-08-20T13:58:00.006-04:00</published><updated>2010-05-03T13:52:59.756-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='incident response'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>All’s Fair in Love, War, and Hacking.</title><content type='html'>Last Month, I had to opportunity to participate in the NYC &lt;a href="http://www.infragard.net/"&gt;Infraguard&lt;/a&gt; Capture the Flag event provided by &lt;a href="http://www.whitewolfsecurity.com/"&gt;WhiteWolf Security&lt;/a&gt; and sponsored by &lt;a href="http://www.tenablesecurity.com/"&gt;Tenable Network Security&lt;/a&gt; .&lt;br /&gt;&lt;br /&gt;The Capture the Flag (CTF) was made up of two teams. The red team (attackers) and the blue team (defenders). The Blue team was given an unprotected network with unpatched hosts and was asked to defend them to the best of their ability. To complicate matters, business injects were used to simulate the real world (i.e. – The CEO wants a website up and running by the end of business). A mock FBI field office was available to report a compromise and loss of data. The blue team was not allowed to use commercial products during the event. The red team's goal is to gain access to those systems and steal the data. Points are given for each compromise and data theft. As you might expect the odds are in the attackers favor. One could argue that this is true in the real world too.&lt;br /&gt;&lt;br /&gt;The winning competing blue team was organized, well versed, and remained calm. Each team member seemed to have expertise in a particular area or operating system. They coordinated their defense and when they did get compromised they went into incident response mode, and gathered the logs and proof they needed for reporting the compromise to the FBI field office. By the afternoon of the first day, they were completely locked out of their own systems. They chose to restore their systems from backup and all of their systems were up and running again within an hour. Because of this they won the competition.&lt;br /&gt;&lt;br /&gt;It demonstrated the importance of not only defense in depth but having good Incident Response and Disaster Recovery plans in place. It is not a question of if the attackers get in, it is a question of when, so be ready!&lt;br /&gt;&lt;br /&gt;It was a great experience and learning opportunity. If you have not had the opportunity to participate in a CTF, I fully recommend it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-7070433199604296668?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/7070433199604296668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/08/alls-fair-in-love-war-and-hacking.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/7070433199604296668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/7070433199604296668'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/08/alls-fair-in-love-war-and-hacking.html' title='All’s Fair in Love, War, and Hacking.'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-756634310312988651</id><published>2009-06-29T20:38:00.007-04:00</published><updated>2009-08-21T08:41:21.777-04:00</updated><title type='text'>Two Pounds of Crap in a One Pound Box.</title><content type='html'>When I was 16 years old, my Dad decided he wanted to purchase a Ford Mustang  5.0. It was his first new car purchase since the 1967 Mustang he bought after high school.  I of course insisted he get the GT with all the options.  I drove to the dealer with him and watched as he haggled with the salesman.  Having worked in the automobile sales and service industry for 20 years, he knew what he wanted and seemed to know what it should cost.  The dealer offered him option packages and upgrades which my father promptly turned down.  When I asked why, he said that the sports package and power windows were not going to make a muscle car perform better and it was just something that would break.  As a result he purchased a stripped down LX that was several thousand dollars less expensive than the GT and was .3 seconds faster from 0-60 mph.  He had the car for almost 15 years before a tractor trailer took it out.&lt;br /&gt;&lt;br /&gt;I recently, realized how much that experience affected me.  It’s been over 20 years since that visit to the dealership and I just realized how deeply the idea of simplicity has steered my decisions with technology.  In my previous post entitled the &lt;a href="http://securitybraindump.blogspot.com/2009/06/risk-of-complexity.html"&gt;The Risk of Complexity&lt;/a&gt; I wrote about the difficulties of securing complex technologies and mentioned the importance of the fundamentals of security.  I wanted to expand on that thought here and outline some simple things that one should look for when evaluating technology solutions.  Some fundamental features every solution should include are; reliability, detailed logging, ease of systems administration, complete and accessible documentation, and a proven support history.  It is important to research the software provider’s track record on addressing functional bugs and security flaws.&lt;br /&gt; &lt;br /&gt;It seems absurd, but many solution providers offering advanced technologies and features seem to fail terribly at basic functionality and stability.  To summarize, it does not matter how sexy a security solution is if it fails open, crashes, or has unaddressed bugs in it.  Moreover, if descriptive logs and documentation are not available and you cannot obtain an intelligent response from product support on an issue, then you have put the data you are assigned to protect at risk.&lt;br /&gt;&lt;br /&gt;I recently had a conversation with the sales executive of a security solution on issues I have experienced with their product.  His purposed solution was to purchase the new model with the extended warranty (also known as an upgrade with premium support).  When I asked why I needed premium support to report an unpatched remote code execution vulnerability in a supported version, he attempted to sell me another solution his company offers.&lt;br /&gt;&lt;br /&gt;So I wanted to offer this suggestion to those test driving solutions:  The next time you are evaluating a product, ask some of questions regarding the aforementioned matters.  Kick the tires and listen to the sound the door makes when you slam it.  Test drive the product and make sure the suspension system is tight at high speeds.  If Hyped Solution Inc. keeps pushing the limited edition report package or pie chart upgrade, then it may be time to drive up the street and find another dealer.&lt;br /&gt;&lt;br /&gt;I would like to thank &lt;a href="https://twitter.com/beaker"&gt;@Beaker&lt;/a&gt; for a recent tweet about his rental car and the recent &lt;a href="http://blog.uncommonsensesecurity.com/2009/06/how-many-fluid-ounces-between-boston-to.html"&gt;blog post&lt;/a&gt; by &lt;a href="https://twitter.com/jack_daniel"&gt;@Jack_Daniel&lt;/a&gt; for jolting this memory out of my subconscious.  Both individuals have remarkable ideas that they openly share with the security community and I fully recommend following their work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-756634310312988651?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/756634310312988651/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/06/two-pounds-of-crap-in-one-pound-box.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/756634310312988651'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/756634310312988651'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/06/two-pounds-of-crap-in-one-pound-box.html' title='Two Pounds of Crap in a One Pound Box.'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-8810295512013912873</id><published>2009-06-26T21:32:00.004-04:00</published><updated>2010-04-01T09:01:44.206-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><title type='text'>The OWASP Podcast Series</title><content type='html'>While working on my next blog post, I happened upon &lt;a href="http://www.owasp.org/index.php/Podcast_27"&gt;episode 27&lt;/a&gt; of the OWASP (Open Web Application Security Project) podcast interview with Rafal Los.  If you have not subscribed to the OWASP podcast let me recommend it now!&lt;br /&gt;&lt;br /&gt;Rafal gets pretty fired up during the interview on the direction that web application development has headed.  He notes the importance of simplicity when developing web applications and condemns complexity.   His arguments are convincing and it is worth a listen.  Unfortunately, I am not convinced that what needs to happen will ever happen but one can hope.&lt;br /&gt;&lt;br /&gt;In &lt;a href="http://www.owasp.org/index.php/Podcast_28"&gt;episode 28&lt;/a&gt;, an interview Ross John Anderson, Ross discusses the axiom of functionality, scalability, and security.  He proposes any information system cannot have more than two of these at a given time.   Again the interview is worth a listen.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-8810295512013912873?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/8810295512013912873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/06/owasp-podcast-series.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8810295512013912873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/8810295512013912873'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/06/owasp-podcast-series.html' title='The OWASP Podcast Series'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-3661923413505909246</id><published>2009-06-15T07:54:00.006-04:00</published><updated>2010-04-01T09:03:55.086-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cons'/><title type='text'>Special Webcast: SANSFIRE 2009: Geekonomics</title><content type='html'>I recently discovered the book &lt;a href="http://www.geekonomicsbook.com/"&gt;Geekonomics: The Real Cost of Insecure Software&lt;/a&gt; by David Rice after listening to his &lt;a href="http://risky.biz/netcasts/auscert/rb2-auscert-podcast-david-rice-customer-centric-signalling"&gt;AusCERT 2009 talk on risky.biz&lt;/a&gt;. David is a fantastic speaker and makes some very convincing points of the role of economics, psychology, and sociology in the security inadequacies that plague software. I am still reading his book and hope to post a review once I am done, but I wanted to point that SANS will be offering a special &lt;a href="https://www.sans.org/webcasts/show.php?webcastid=92538"&gt;live webcast&lt;/a&gt; of David Rice's talk from SANSFIRE 2009 this Wednesday evening, June 17, 2009 at 7:00 PM EDT. If you have an hour to spare I recommend checking it out! You can register for the webcast here: https://www.sans.org/webcasts/show.php?webcastid=92538&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-3661923413505909246?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/3661923413505909246/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/06/special-webcast-sansfire-2009.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3661923413505909246'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/3661923413505909246'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/06/special-webcast-sansfire-2009.html' title='Special Webcast: SANSFIRE 2009: Geekonomics'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7055243034201530750.post-7808465474488377428</id><published>2009-06-14T22:26:00.007-04:00</published><updated>2010-04-01T09:01:14.157-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rant'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud'/><title type='text'>The Risk of Complexity</title><content type='html'>It is human nature to desire a shiny new technology based on marketing claims and feature promises.  But many times during my career in information technology and security I have really questioned the “value add” of a particular solution or system.  Will it really lower costs, improve employee performance, and facilitate collaboration?  Will it provide the seamless interoperability between complex systems as advertised?  Will it do all this and still provide stability and security?  Or are we just attempting to throw complex technology at managerial, organizational, and performance issues as a fix?&lt;br /&gt;&lt;br /&gt;Often, adding more complexity to technology will only make the issues associated with that technology more complex.  These issues include security.  Generally speaking, with more complexity comes less security.  This is not necessarily because the ability to secure the technology does not exist but because it becomes out of reach due to resource limitations.  These resource limitations include limitations in finances, time, and expertise. Complexity can increase the attack surface area of a network hence decreasing its security posture unless the proper training, planning, and defensive resources have been budgeted and obtained.  Unfortunately, this is often not the case.  Moreover, much of the technology used to secure and defend such solutions can increase the complexity of one’s information systems even further, potentially causing an endless loop of new features and defensive solutions.&lt;br /&gt;&lt;br /&gt;Virtualization is a great example of this.  The ability to virtualize operating systems, resources, and applications has many advantages in IT infrastructure and business.  But the ease of virtualizing systems, combined with a lack of planning and available expertise in these products has the potential of creating an out of control scenario of misconfiguration and mismanagement.  Proper change control, build procedures, code review, monitoring, disaster recovery planning, and documentation still need to be addressed.  The security risk associated with virtualization needs to be assessed, managed, mitigated, and re-assessed on a regular basis.  This can be a daunting task without the proper resources.  Such resources may not have been factored in during the budgeting and planning process or may no longer exist during economic downturns.&lt;br /&gt;&lt;br /&gt;I am not downplaying the incredible benefits of virtualization.  I use virtualization too.  However, much like any technology, it has its place and I don’t believe the “lets virtualize everything” mantra.  The idiom of “don't put all your eggs in one basket” comes to mind.  Doing so can be a serious mistake with dire consequences in assuring the confidentiality, integrity, and availability of data.  I only use virtualization as an example, due to its prevalence in our industry and the complex baggage that often comes with it.  There are dozens of other examples that could be used, but like most, I cite examples that I am familiar and comfortable with.&lt;br /&gt;&lt;br /&gt;The recent compromise of Vaserv.com, a UK ISP, has been reported to affect over 100,000 hosted web sites which may never recover.  Some have reported the attack was a result of vulnerability in the virtualization technology the web hosts were running on while others claim bad administrative practices are to blame.  Some have questioned Vaserv’s disaster recovery and incident response procedures, or lack thereof.  Most likely, it is a combination of these factors that contributed to this colossal failure. Was the complexity of the technology to blame?  Was Vaserv.com naïve to think they could increase their profit margin by decreasing engineering and administrative costs through the use of virtualization?  Or was the company putting all its “eggs in one basket” and ignoring the fundamentals of security?&lt;br /&gt;&lt;br /&gt;These are only speculations on my part as I am, like most, not privy with the details of the compromise.  The irony of this example is Vaserv.com was marketed as a low cost hosting solution.  One may speculate that many companies and individuals chose their hosting services to save money only to incur a substantial financial loss associated with the incident.  Some may feel I am simplifying the issue at hand but sometimes that is all that is needed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7055243034201530750-7808465474488377428?l=securitybraindump.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://securitybraindump.blogspot.com/feeds/7808465474488377428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://securitybraindump.blogspot.com/2009/06/risk-of-complexity.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/7808465474488377428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7055243034201530750/posts/default/7808465474488377428'/><link rel='alternate' type='text/html' href='http://securitybraindump.blogspot.com/2009/06/risk-of-complexity.html' title='The Risk of Complexity'/><author><name>Bugbear</name><uri>http://www.blogger.com/profile/14247847449190414614</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://1.bp.blogspot.com/_KM-Ojgotrpk/SjWqT4WKG3I/AAAAAAAAAAs/BE6VB8WeIfU/S220/000_0093.jpg'/></author><thr:total>0</thr:total></entry></feed>
