Windows
Please help to improve this article by expanding it.
|
Windows is a widely-spread operating system from Microsoft.
There are 2 main branches of Windows:
- the DOS-branch: i.e. Windows 95, 98, ME
- the NT-branch: i.e. Windows NT 4, XP, Vista
Contents
- 1 Features
- 2 Forensics
- 3 Advanced Format (4KB Sector) Hard Drives
- 4 %SystemRoot%
- 5 See Also
- 6 External Links
- 6.1 Recycle Bin
- 6.2 Malware/Rootkits
- 6.3 Program execution
- 6.4 Tracking removable media
- 6.5 Under the hood
- 6.5.1 MSI
- 6.5.2 Side-by-side (WinSxS)
- 6.5.3 Application Experience and Compatibility
- 6.5.4 System Restore (Restore Points)
- 6.5.5 Crash dumps
- 6.5.6 RPC
- 6.5.7 User Account Control (UAC)
- 6.5.8 Windows Event Logs
- 6.5.9 Windows Scripting Host
- 6.5.10 USB
- 6.5.11 WMI
- 6.5.12 Windows Error Reporting (WER)
- 6.5.13 Windows Firewall
- 6.5.14 Windows 32-bit on Windows 64-bit (WoW64)
- 6.6 Windows XP
Features
- Basic and Dynamic Disks, see: [1]
Introduced in Windows NT
Introduced in Windows 2000
Introduced in Windows XP
- Prefetch
- System Restore (Restore Points); also present in Windows ME
SP2
- Windows Firewall
Introduced in Windows Server 2003
- Volume Shadow Copies
Introduced in Windows Vista
- BitLocker
- Search integrated in operating system
- ReadyBoost
- SuperFetch
- Transactional NTFS (TxF)
- Transactional Registry (TxR)
- Shadow Volumes; the volume-based storage of the Volume Shadow Copy data
- $Recycle.Bin
- Windows XML Event Log (EVTX)
- User Account Control (UAC)
Introduced in Windows Server 2008
Introduced in Windows 7
Introduced in Windows 8
- File History
- Storage Spaces
- Search Charm History
- Resilient File System (ReFS); Was initially available in the Windows 8 server edition.
Introduced in Windows Server 2012
Forensics
Partition layout
Default partition layout, first partition starts:
- at sector 63 in Windows 2000, XP, 2003
- at sector 2048 in Windows Vista, 2008, 7
Filesystems
Recycle Bin
The Recycle Bin contains "Recycled" files. Moving files and directories to the Recycle Bin is also referred to as soft deletion, since the files are not removed from the file system.
RECYCLER
The Recycler format is used by Windows 2000, XP.
Per user Recycle Bin folder in the form:
C:\Recycler\%SID%\
Which contains:
- INFO2 file; "Recycled" files metadata
$RECYCLE.BIN
The $Recycle.Bin is used as of Windows Vista.
Per user Recycle Bin folder in the form:
C:\$Recycle.Bin\%SID%\
Which contains:
- $I files; "Recycled" file metadata
- $R files; the original data
Registry
The Windows Registry is a database of keys and values that provides a wealth of information to forensic investigators.
Thumbs.db Files
Thumbs.db files can be found on many Windows systems. They contain thumbnails of images or documents and can be of great value for the investigator.
See also: Vista thumbcache.
Browser Cache
Browser History
The Web Browser History files can contain significant information. The default web browser that comes with Windows is Microsoft Internet Explorer but other common browsers on Windows are Apple Safari, Google Chrome, Mozilla Firefox and Opera.
Search
Setup API Logs
Windows Vista introduced several new Setup API Log files.
Also see [2].
Sleep/Hibernation
After (at least) Windows 7 recovers from sleep/hibernation there often is a system time change event (event id 1) in the event logs.
Users
Windows stores a users Security identifiers (SIDs) under the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
The %SID%\ProfileImagePath value should also contain the username.
Windows Error Reporting (WER)
As of Vista, for User Access Control (UAC) elevated applications WER reports can be found in:
C:\ProgramData\Microsoft\Windows\WER\
As of Vista, for non-UAC elevated applications (LUA) WER reports can be found in:
C:\Users\%UserName%\AppData\Local\Microsoft\Windows\WER\
Corresponding registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting
Advanced Format (4KB Sector) Hard Drives
Windows XP does not natively handle drives that use the new standard of 4KB sectors. For information on this, see Advanced Format.
%SystemRoot%
The actual value of %SystemRoot% is store in the following registry value:
Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ Value: SystemRoot
See Also
- Prefetch
- Setup API Logs
- SuperFetch
- Windows Desktop Search
- Windows Event Log (EVT)
- Windows XML Event Log (EVTX)
- Windows Vista
- Windows 7
- Windows 8
External Links
- Wikipedia: Microsoft Windows
- Windows 7, Windows Server 2008 R2, and Windows Vista setup log file locations
- The Forensic Analysis of the Microsoft Windows Vista Recycle Bin, by Mitchell Machor, 2008
- Microsoft Windows File System Tunneling, by Eric Huber, February 24, 2013
- Spotting the Adversary with Windows Event Log Monitoring, by National Security Agency/Central Security Service, February 28, 2013
- Search history on Windows 8 and 8.1, by Yogesh Khatri's, April 1, 2014
- Search history on windows 8.1 - Part 2, by Yogesh Khatri's, April 21, 2014
Recycle Bin
- Lesson 3 – The Recycle Bin, by Steve Hailey
- The Forensic Analysis of the Microsoft Windows Vista Recycle Bin, by Mitchell Machor, January 22, 2008
Malware/Rootkits
- Inside Windows Rootkits, by Chad Tilbury, September 4, 2013
Program execution
- HowTo: Determine Program Execution, by Harlan Carvey, July 06, 2013
- It Is All About Program Execution, by Corey Harrell, January 14, 2014
- Know your Windows Processes or Die Trying, by Patrick Olsen, January 18, 2014
Tracking removable media
- Tracking USB First insertion in Event logs, by Yogesh Khatri, August 18, 2012
Under the hood
- MSDN: Comparing Memory Allocation Methods, by Microsoft
- How Windows Starts Up (Part the second)
- DLL/COM Redirection
- Dynamic-Link Library Search Order
- Image File Execution Options
MSI
- Changes to Package Caching in Windows Installer 5.0, by Heath Stewart, February 2, 2009
- MSI: The Case Of The Invalid Signature, by Didier Stevens, July 26, 2013
Side-by-side (WinSxS)
- Wikipedia: Side-by-side assembly
- Assembly Searching Sequence
- RT_MANIFEST resource, and ISOLATION_AWARE_ENABLED
- Isolated Applications and Side-by-side Assemblies
- DotLocal (.local) Dll Redirection, by Junfeng Zhang, January 24, 2006
- Diagnosing SideBySide failures, by Junfeng Zhang, April 14, 2006
- EVERYTHING YOU NEVER WANTED TO KNOW ABOUT WINSXS
- DLL Side-loading: A Thorn in the Side of the Anti-Virus Industry, by Amanda Stewart, April 2014
Application Experience and Compatibility
- Technet: Understanding Shims, by Microsoft
- MSDN: Application Compatibility Database, by Microsoft
- Secrets of the Application Compatilibity Database (SDB) – Part 1, by Alex Ionescu, May 20, 2007
- Secrets of the Application Compatilibity Database (SDB) – Part 2, by Alex Ionescu, May 21, 2007
- Secrets of the Application Compatilibity Database (SDB) – Part 3, by Alex Ionescu, May 26, 2007
- Leveraging the Application Compatibility Cache in Forensic Investigations, by Andrew Davis, May 4, 2012
- Revealing the RecentFileCache.bcf File, by Corey Harrell, December 2, 2013
- Revealing Program Compatibility Assistant HKCU AppCompatFlags Registry Keys, by Corey Harrell, December 17, 2013
System Restore (Restore Points)
- Wikipedia: System Restore
- Restore Point Forensics, by Steve Bunting
- Restore Point Analysis, by Harlan Carvey, June 16, 2007
- Restore Point Forensics, by Harlan Carvey, October 20, 2006
- System Restore Point Log Decoding
Crash dumps
- Technet: Drwtsn32 on Windows Vista/Windows Server 2008/Windows 7/Windows Server 2008 R2, by Yong Rhee, December 29, 2010
- MSDN: How to read the small memory dump file that is created by Windows if a crash occurs, by Microsoft
RPC
- RPC to Go v.1, by Michael Platts, October 24, 2008
- RPC to Go v.2, by Michael Platts, December 4, 2008
User Account Control (UAC)
- User Account Control – What Penetration Testers Should Know, by Raphael Mudge, March 20, 2014
Windows Event Logs
- Exploring the Program Inventory Event Log, by Corey Harrell, March 24, 2014
Windows Scripting Host
- Going To Ground with The Windows Scripting Host (WSH), by Devon Kerr, February 19, 2014
USB
- USBKEY Guide, by SANS Institute - Digital Forensics and Incident Response, September 2009
- USB Drive Enclosure Guide, by SANS Institute - Digital Forensics and Incident Response, September 2009
WMI
- Understanding WMI Malware, by Julius Dizon, Lennard Galang, and Marvin Cruz, July 2010
Windows Error Reporting (WER)
- Drwtsn32 on Windows Vista/Windows Server 2008/Windows 7/Windows Server 2008 R2, by Yong Rhee, December 29, 2010
- Exploring Windows Error Reporting, by Corey Harrell, February 24, 2014