Search: Home Bugtraq Vulnerabilities Mailing Lists Jobs Tools Vista
      Digg this story   Add to del.icio.us   (page 1 of 2 ) next 
Notes On Vista Forensics, Part Two
Jamie Morris 2007-04-13

Introduction

In part one of this series [ref 1] we looked at the different editions of Vista available and discussed the various encryption and backup features which might be of interest to forensic examiners. In this article we will look at the user and system features of Vista which may (or may not) present new challenges for investigators and discuss the use of Vista itself as a platform for forensic analysis.

User files and applications

One of the first things to note about users' data files is that they're not where they used to be! Instead of the familiar "Documents and Settings" folder we must instead look to a new folder called "Users". Other folders which typically fall under the scope of an examination have also moved [ref 2] so examiners running scripts which expect certain files or folders to be in specific locations may need to do some editing. Another interesting change is that Vista is configured by default to not update the last access time on files, a decision made to increase file system performance. [ref 3].

At the application level, much forensic work consists of reconstructing web browsing and email activity so let's take a look at the relevant programs provided by Vista.

Vista ships with Windows Internet Explorer 7 for web browsing and, although forensic examiners will certainly encounter other browsers during Vista's lifetime, it seems reasonable to assume that IE7 and its Microsoft successors will represent the vast majority of browsers whose use comes under investigation. Familiarity with IE's usage of files and directories, together with experience using appropriate tools for recreating browsing activity (using the browser history, cache, cookies, favorites, etc.), will continue to be essential components of every investigator's arsenal and most people currently working in the field will already be familiar with IE7 since its release last year. The version of IE7 included with Vista does include a number of additional features, however, which examiners should at least be aware of (such as Protected Mode, Parental Controls, and enhanced Network Diagnostics).

Windows Mail [ref 4] is the standard, standalone email client included with Vista. Functionally, if not aesthetically, similar to Outlook Express, Windows Mail is likely to be the focus of many investigations. In terms of architecture, however, it should be noted that Windows Mail uses a JET database and messages, including newsgroup posts, are now stored in individual files (mail files have a .eml extension and newsgroup posts .nws). These files have two "streams" - for mail messages the first stream consists of RFC compliant MIME data and the second stream holds XML metadata. Another change is that account information which used to be stored in the Registry is now also held in XML format within the Windows Mail folder of a user's profile [ref 5].

However, Windows Mail is not the only email option likely to be available to Vista users at some stage in the future. Windows Live Mail Desktop [ref 6], somewhat unfortunately abbreviated to "WLMd", is an email solution currently in beta which Microsoft describes as "an email client that can be downloaded onto Windows XP or Windows Vista...a rough super-set of Windows Mail in Windows Vista" [ref 7]. While the exact set of features is still being worked out, in broad terms this is an email client which will integrate with Windows Live Hotmail (previously known as Windows Live Mail), Microsoft's Web 2.0 mail client, and include a number of other features above and beyond those available in Windows Mail. Investigators already familiar with cases involving Hotmail usage will probably be well prepared for the challenges arising from WLMd but it will be interesting to see exactly what those challenges are once this client is released - those wishing to get a head start may wish to check out the beta at http://ideas.live.com/. In fact, situations where a user's data may no longer be stored on the local machine should come as no surprise to forensic examiners. Over the past few years most practitioners have come to realize that the hard disk is not the only source of potential evidence and have been forced to take a more holistic view of a suspect's computing environment whether that means a focus on the nearby, such as RAM or backup storage, or further afield, such as network devices or remote servers.

One last point which involves RAM, application usage and a new feature in Vista. As most computer users will know, there often comes a time when our machines slow to a crawl due to too many applications making demands on available memory. The most straightforward solution to this problem (other than running fewer programs at the same time, of course) is to add extra RAM but this can still be a daunting task for those with little technical knowledge. Vista offers a solution to this problem in the shape of ReadyBoost [ref 8], a new feature which allows attached flash memory devices to be used as extra memory. However, examiners should be aware of two important points. First, although strictly speaking ReadyBoost does provide extra memory the data held on the flash device is actually also present in the host machine's RAM - the intended benefit of the feature is that it provides faster access to this data for certain types of operations. Second, the data on the device is AES-128 encrypted. It's too early to say how often examiners are likely to encounter ReadyBoost in practice (reports on its effectiveness appear mixed so its popularity may be limited) but with our attention being more and more focused on evidence sources beyond the hard drive it is at least something to be aware of.

System files and metadata

Log files are often a useful source of information and changes to the Event Viewer in Vista mean that log files are now created in an XML compliant .elf format (rather than as .evt files seen previously). Any scripts which are used to locate and parse log files may need to be updated.

The hidden file "thumbs.db" introduced in previous Windows versions which has been of such interest to investigators over the past few years has also undergone a significant change. In fact this file has been replaced by a number of "thumbcache_xxx.db" files which are now located within a user's profile at

\Users\\AppData\Local\Microsoft\Windows\Explorer

Another change to be aware of is that the Disk Cleanup Wizard included with Vista may be used to delete these thumbnails. [Note: in some cases Microsoft now refers to thumbnails as "icons" or "live icons".]

Metadata can be described as data about data. In the world of computer forensics, metadata is usually discussed in terms of information held about a file, a well known example of which is the information associated with a Word document which can include various details such as the author's name, comments and revision history (in fact, this particular example is so well known that Microsoft was forced to create a tool to help users remove the data in question!) Metadata on Windows systems becomes even more interesting when you examine multiple file streams, a concept first introduced in NT 3.51, which allow you to associate extra information with a file on an NTFS filesystem. Although the information held in these streams may appear invisible to the typical user, it can be a rich source of information to the examiner. This potential repository for data could also be used to hide information and so it has become an essential area to cover during an investigation.



[ref 1] http://www.securityfocus.com/infocus/1889
[ref 2] http://www.devsource.com/article2/0,1895,1999637,00.asp
[ref 3] http://blogs.technet.com/filecab/archive/2006/11/07/
disabling-last-access-time-in-windows-vista-to-improve-ntfs-performance.aspx

[ref 4] http://www.microsoft.com/windows/products/windowsvista/features/details/mail.mspx
[ref 5] http://msdn2.microsoft.com/en-us/library/ms715237.aspx
[ref 6] http://morethanmail.spaces.live.com/
[ref 7] http://blog.bryanstarbuck.com/
[ref 8] http://www.microsoft.com/windows/products/windowsvista/
features/details/performance.mspx
Article continued on Page 2 



SecurityFocus accepts Infocus article submissions from members of the security community. Articles are published based on outstanding merit and level of technical detail. Full submission guidelines can be found at http://www.securityfocus.com/static/submissions.html.
    Digg this story   Add to del.icio.us   (page 1 of 2 ) next 
Comments Mode:







 

Privacy Statement
Copyright 2007, SecurityFocus