Windows Forensics Flashcards
1
Q
What is a .lnk file?
A
- a data object that contains information that can be used to access another data object
- shortcuts
- metadata files specific interpreted by the Windows shell
- 0x4C (4C 00 00 00) at offset 0 within the file
2
Q
What is an important note about .lnk files?
A
- the absolute path to the file is NOT store in the lnk file
3
Q
Where are the most common locations to find .lnk files?
A
- My Recent Documents
- \%USERPROFILE%\Recent
- \%USERPROFILE%\Application Data\Microsoft\Office\Recent
4
Q
.lnk timestamps?
A
- when the file is opened, the MAC timestamps of the target file are read and stored within the associated link file
- FILETIME format using 8 bytes
5
Q
Tools for .lnk forensics?
A
- Exiftool
- Windows LNK Parsing Utility
- LECmd.exe (Eric Zimmerman)
- WinHex
6
Q
Thumbnails
A
- when the user uses the Thumbnails or Filmstrip vies from Windows folder, a small thumbnail version is created
- stored in thumbcache.db
- %USERPROFILE%\AppData\Local\Microsoft\Windows\ Explorer
7
Q
Volume ShadowCopy Service
A
- VSS
- a set of COM APIs that implements a framework to allow volume backups to be performed while applications on a system continue to write to the volumes
- Windows service that provides snapshots for a specific point back in time
- aka restore points
8
Q
Prefetch Files
A
- windows cache manager (memory management system)
- tracks the first 2 minutes of boot process and the first 10 seconds of all other applications startup
- these results written to prefetch files
- next time a system boots or a “prefetched” application executes, the cache manager can use these prefetch files like a “cheat sheet” to speed up the loading process
9
Q
Prefetch Content for Executables
A
- executable’s name
- absolute path to the executable
- no. of times the program ran w/in the system
- last time the application ran
- list of DLLs used by the program
10
Q
Location of Prefetch Files
A
- %SystemRoot%\Prefetch\
- .pf extension
11
Q
Prefetch Registry Keys
A
- settings related to prefetch files are written in the following registry key;
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl Set\Control\SessionManager\Memory Management\PrefetchParameters
12
Q
ShimCache
A
- aka Application Compatibility Cache
- allows Windows to track executable files and scripts that may require special compatibility settings to properly run
- it is maintained within kernel memory
- alternative to Prefetch if disabled
- can track more items than prefetch
- amcache.hve
- %SYSTEMROOT%\AppCompat\Programs
13
Q
Windows Registry
A
- special type of file system
- stores low-level system settings, application settings, and user preferences
- two categories:
- system registry files
- user registry files
14
Q
Registry Structure
A
- Hives: contain keys (directories) and values
- Keys: directories
- Subkeys: no difference between key and subkey
- Values: store data (e.g. settings)
15
Q
Registry Root Keys
A
- HKEY_CLASSES_ROOT
- HKEY_CURRENT_USER
- HKEY_LOCAL_MACHINE
- HKEY_USERS
- HKEY_CURRENT_CONFIG