Windows thumbnail cache: Difference between revisions

Content deleted Content added
 
(35 intermediate revisions by 19 users not shown)
Line 1:
{{Short description|Aspect of the Windows operating system}}
On [[Microsoft Windows]] [[operating system]]s, starting with the IE4[[Internet Explorer 4]] Active Desktop Update for Win95/Windows 95 to 98,<ref name=PCWorld>{{cite web |url=http://www.pcworld.com/article/13357/windows_tips.html|title=Windows Tips|date=19 October 1999|work=PCWorld}}</ref><ref name=AccessData>[http://accessdata.com/media/en_us/print/papers/wp.Thumbs_DB_Files.en_us.pdf Thumbs.db files forensic issues: AccessData Corporation]</ref> a '''thumbnail cache''' is used to store [[thumbnail]] images for [[Windows Explorer]]'s thumbnail view. This speeds up the display of images as these smaller images do not need to be recalculated every time the user views the folder.
 
==Purpose==
Windows stores thumbnails of graphics files, and certain document and movie files, in the Thumbnail Cache file, including the following formats: [[JPEG]], [[BMP file format|BMP]], [[Graphics Interchange Format|GIF]], [[Portable Network Graphics|PNG]], [[Tagged Image File Format|TIFF]], [[Audio Video Interleave|AVI]], [[Portable Document Format|PDF]], [[Microsoft PowerPoint|PPTX]], [[Microsoft Word|DOCX]], [[HTML]], and many others. Its purpose is to prevent intensive disk [[I/O]], CPU processing, and load times when a folder that contains a large number of files is set to display each file as a thumbnail. This effect is more clearly seen when accessing a DVD containing thousands of photos without the thumbs.db file and setting the view to show thumbnails next to the filenames. Thumbnail caching was introduced in Windows 2000;<ref name=AccessData/> wherein the thumbnails were stored in the image file's [[alternate data stream]] if the operating system was installed on a drive with the [[NTFS]] file system. A separate Thumbs.db file was created if Windows 2000 was installed on a FAT32 volume. [[Windows Me]] also created Thumbs.db files.<ref name=AccessData/> From Windows XP, thumbnail caching, and thus creation of Thumbs.db, can optionally be turned off. In Windows XP only, from Windows Explorer Tools Menu, ''Folder Options'', by checking "Do not cache thumbnails" on the ''View'' tab. In other versions of Windows, thumbnail caching can be turned off via [[Group Policy]]. Under Windows 2000, Windows Me, and Windows XP, a context menu command to force refreshing the thumbnail is available by right clicking the image in ''Thumbnail'' view of Windows Explorer.
 
==Thumbs.db==
'''Thumbs.db''' files are stored in each directory that contains thumbnails on Windows systems. The file is created locally among the images, however, preventing system wide use of the data and creating additional data load on removable devices.<ref>[http://msdn.microsoft.com/en-us/library/bb774628(VS.85).aspx IThumbnailCache Interface], MSDN, Microsoft Corporation</ref> [[Windows XP editions#Media Center Edition|Windows XP Media Center Edition]] also creates <code>ehthumbs.db</code> which holds previews of video files. Each thumbnail created in a directory is represented in this database file as a small JPEG file, regardless of the file's original format. The images are resized to 96×96 pixels by default or a proportional miniature of their original shape for non-square images, with 96 pixels on the longer side. The size can be controlled by a setting on Windows Registry. Each folder with initiated thumbnail views (that is where they have displayed a Thumbnails or Filmstrip view in Windows Explorer) will have a Thumbs.db file. Folders with pictures also display previews on their icon when displayed in Thumbnail mode – the first four images in the folder at 40×40 pixels (or proportionally shaped), with a 1-pixel divider overlaid on a standard large folder icon. The Thumbs.db file is stored in [[ObjectCompound LinkingFile and Embedding|OLE CompoundBinary DocumentFormat]] format, the same format that many [[Microsoft Office]] products use.<ref>[http://forums.oracle.com/forums/thread.jspa?messageID=5365475 Java 2D – Thumbnails Thumbs.db], Oracle Forums</ref>
[[File:How to see thumbnail view in pc system.png|thumb|right|click [['''View.''']]...Press '''Extra large icons''' for [[larger Thumbnail view]]]]
'''Thumbs.db''' files are stored in each directory that contains thumbnails on Windows systems. The file is created locally among the images, however, preventing system wide use of the data and creating additional data load on removable devices.<ref>[http://msdn.microsoft.com/en-us/library/bb774628(VS.85).aspx IThumbnailCache Interface], MSDN, Microsoft Corporation</ref> [[Windows XP editions#Media Center Edition|Windows XP Media Center Edition]] also creates <code>ehthumbs.db</code> which holds previews of video files. Each thumbnail created in a directory is represented in this database file as a small JPEG file, regardless of the file's original format. The images are resized to 96×96 pixels by default or a proportional miniature of their original shape for non-square images, with 96 pixels on the longer side. The size can be controlled by a setting on Windows Registry. Each folder with initiated thumbnail views (that is where they have displayed a Thumbnails or Filmstrip view in Windows Explorer) will have a Thumbs.db file. Folders with pictures also display previews on their icon when displayed in Thumbnail mode – the first four images in the folder at 40×40 pixels (or proportionally shaped), with a 1-pixel divider overlaid on a standard large folder icon. The Thumbs.db file is stored in [[Object Linking and Embedding|OLE Compound Document]] format, the same format that many [[Microsoft Office]] products use.<ref>[http://forums.oracle.com/forums/thread.jspa?messageID=5365475 Java 2D – Thumbnails Thumbs.db], Oracle Forums</ref>
 
==Centralized thumbnail cache==
Line 16:
 
==As forensic evidence==
Law-enforcement agencies have used this file to prove that illicit photos were previously stored on the hard drive.<ref>{{cite web |url=http://aisel.aisnet.org/cgi/viewcontent.cgi?article=1169&context=amcis2014|title=Forensic Analysis of Windows Thumbcache files|publisher=AISEL|work=University of South Australia}}</ref> For example, the [[FBI]] used the "thumbs.db" file in 2008 as evidence of viewing depictions of [[child pornography]].<ref>{{cite web |url=http://news.cnet.com/8301-13578_3-9899151-38.html?tag=mncol;txt|title=FBI posts fake hyperlinks to snare child porn suspects|publisher=CBS Interactive|work=CNET|archive-url=https://web.archive.org/web/20121105184141/http://news.cnet.com/8301-13578_3-9899151-38.html|archive-date=November 5, 2012}}</ref>
 
In 2013, research was conducted that focused on the Digital Forensic implications of thumbnail caches and recovering partial thumbnail cache files. It identified that whilst there is a standard definition of a thumbnail cache the structure and forensic artefactsartifacts recoverable from them varies significantly between operating systems. The work also showed that the thumbcache_256.db contains non-standard thumbnail cache records which can store interesting data such as network place names and allocated drive letters. <ref>[https://core.ac.uk/download/pdf/17168934.pdf], Morris </ref> <ref>[http://www.identatron.co.uk/research_2011.html], Morris & Chivers </ref>
Forensic Analysis of Windows Thumbcache files Completed Research Paper U.of S.Australia
http://aisel.aisnet.org/cgi/viewcontent.cgi?article=1169&amp=&context=amcis2014&amp=&sei-redir=1&referer=https%253A%252F%252Fwww.google.nl%252Fsearch%253Fq%253Dhow%252Bto%252Bview%252Bthumbs.db%252Bcontents%2526dcr%253D0%2526ei%253D1fV0Wt7eJcbDwQLY1YDYCA%2526start%253D20%2526sa%253DN#search=%22how%20view%20thumbs.db%20contents%22
 
In 2013, research was conducted that focused on the Digital Forensic implications of thumbnail caches and recovering partial thumbnail cache files. It identified that whilst there is a standard definition of a thumbnail cache the structure and forensic artefacts recoverable from them varies significantly between operating systems. The work also showed that the thumbcache_256.db contains non-standard thumbnail cache records which can store interesting data such as network place names and allocated drive letters. <ref>[https://core.ac.uk/download/pdf/17168934.pdf], Morris </ref> <ref>[http://www.identatron.co.uk/research_2011.html], Morris & Chivers </ref>
 
==See also==
*[[.DS_Store]]
*[[.db]]
*[[Quick Look]]
 
Line 33 ⟶ 29:
==External links==
*[https://thumbcacheviewer.github.io/ Thumbcache Viewer] – open-source thumbcache_*.db viewer
*[https://thumbsviewer.github.io/ Thumbs Viewer] – open-source viewers for both Thumbs.db (legacy mode) and ThumnailThumbnail Cache (modern)
*[https://github.com/AtesComp/Vinetto Vinetto] is a forensics tool to examine Thumbs.db files.
*{{webarchive |url=https://web.archive.org/web/20131116234204/http://www.thumbnailexpert.com/en/formats/windows-thumbnail-cache/ |date=November 16, 2013 |title=Windows thumbnail cache}} – Description of thumbs.db file
*[http://www.sevenforums.com/tutorials/10794-thumbnail-cache-enable-disable.html Prevent the creation of thumbs.db files via Group Policy (Windows 7)]