Difference between pages "New Technology File System (NTFS)" and "Tools:Data Recovery"

From ForensicsWiki
(Difference between pages)
Jump to: navigation, search
 
(Carving)
 
Line 1: Line 1:
The '''New Technology File System''' ('''NTFS''') is a [[file system]] developed and introduced by [[Microsoft]] in 1995 with [[Windows]] NT. As a replacement for the [[FAT]] file system, it quickly became the standard for [[Windows 2000]], [[Windows XP]] and [[Windows Server 2003]].
+
= Partition Recovery =
  
The features of NTFS include:
+
*[http://www.ptdd.com/index.htm Partition Table Doctor]
 +
: Recover deleted or lost partitions (FAT16/FAT32/NTFS/NTFS5/EXT2/EXT3/SWAP).
  
* [[Hard-links]]
+
*[http://www.diskinternals.com/ntfs-recovery/ NTFS Recovery]
* Improved performance, reliability and disk space utilization
+
: DiskInternals NTFS Recovery is a fully automatic utility that recovers data from damaged or formatted disks.
* Security [[access control lists]]
+
* File system journaling
+
  
== Time Stamps ==
+
*[http://www.stud.uni-hannover.de/user/76201/gpart/ gpart]
 +
: Gpart is a tool which tries to guess the primary partition table of a PC-type hard disk in case the primary partition table in sector 0 is damaged, incorrect or deleted.
  
NTFS keeps track of lots of time stamps. Each file has a time stamp for 'Create', 'Modify', 'Access', and 'Entry Modified'. The latter refers to the time when the MFT entry itself was modified. These four values are commonly abbreviated as the 'MACE' values. Note that other attributes in each MFT record may also contain timestamps that are of forensic value.
+
*[http://www.cgsecurity.org/wiki/TestDisk Testdisk]
 +
: TestDisk is OpenSource software and is licensed under the GNU Public License (GPL).  
  
Additional information on how NTFS timestamps work when files are moved or copied is available here: [http://support.microsoft.com/kb/299648 Microsoft KB 299648]
+
== See Also ==
  
=== Changes in Windows Vista  ===
+
* [http://support.microsoft.com/?kbid=166997 Using Norton Disk Edit to Backup Your Master Boot Record]
  
In Windows Vista, NTFS no longer tracks the Last Access time of a file by default. This feature can be enabled by the user if desired via setting the registry key 'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisableLastAccessUpdate' to '0'.
+
== Notes ==
  
== Alternate Data Streams ==
+
* "fdisk /mbr" restores the boot code in the [[Master Boot Record]], but not the partition itself. On newer versions of Windows you should use fixmbr, bootrec, mbrfix, or mbrwizard. You can also extract a copy of the specific standard MBR code from tools like bootrec.exe and diskpart.exe in Windows (from various offsets) and copy it to disk with dd (Use bs=446 count=1). For Windows XP SP2 c:\%WINDIR%\System32\diskpart.exe the MBR code is found between offset 1b818h and 1ba17h.
The '''NTFS''' file system includes a feature referred to as Alternate Data Streams (ADSs).  This feature has also been referred to as "multiple data streams", "alternative data streams", etc.  ADSs were included in '''NTFS''' in order to support the resource forks employed by the Hierarchal File System ([[HFS]]) employed by Macintosh systems.
+
  
As of [[Windows XP]] SP2, files downloaded via Internet Explorer, Outlook, and Windows Messenger were automatically given specific "zoneid" ADSs.  The [[Windows]] Explorer shell would then display a warning when the user attempted to execute these files (by double-clicking them).
+
= Data Recovery =
 +
The term "Data Recovery" is frequently used to mean forensic recovery, but the term really should be used for recovering data from damaged media.  
  
Sysadmins should be aware that prior to Vista, there are no tools native to the [[Windows]] platform that would allow you to view the existence of arbitrary ADSs.  While ADSs can be created and their contents executed or viewed, it wasn't until the "/r" switch was introduced with the "dir" command on Vista that arbitrary ADSs would be visible.  Prior to this, tools such as [http://www.heysoft.de/Frames/f_sw_la_en.htm LADS] could be used to view the existence of these files.
+
*[http://www.toolsthatwork.com/bringback.htm BringBack]  
 +
: BringBack offers easy to use, inexpensive, and highly successful data recovery for Windows and Linux (ext2) operating systems and digital images stored on memory cards, etc.
  
Microsoft FSRM (File System Resource Manager) also uses ADS as part of 'file classification'.
+
*[http://www.runtime.org/raid.htm RAID Reconstructor]
 +
: Runtime Software's RAID Reconstructor will reconstruct RAID Level 0 (Striping) and RAID Level 5 drives.
  
Examiners should be aware that most forensic analysis applications, including [[EnCase]] and ProDiscover, will display ADSs found in acquired images in red.
+
*[http://www.salvationdata.com Salvation Data]
 +
: Claims to have a program that can read the "bad blocks" of Maxtor drives with proprietary commands.
  
== Advanced Format (4KB Sector) Hard Drives ==
+
* [http://www.e-rol.com/en/ e-ROL]
NTFS does not natively handle drives that use the new standard of 4KB sectors. For information on this, see [[Advanced Format]].
+
: Erol allows you to recover through the internet files erased by mistake. Recover your files online for free.
  
== Transactional NTFS (TxF) ==
+
* [http://www.recuva.com/ Recuva]
 +
: Recuva is a freeware Windows tool that will recover accidentally deleted files.
  
According to MSDN Transactional NTFS (TxF) allows file operations on an NTFS file system volume to be performed in a transaction.  
+
* [http://www.snapfiles.com/get/restoration.html Restoration]
 +
: Restoration is a freeware Windows software that will allow you to recover deleted files
  
Several TxF related file-system-metadata files can be found in the file-system-metadata directory: \$Extend\$RmMetadata\. TxF also uses the MFT attribute $LOGGING_UTILITY_STREAM with the name $TXF_DATA.
+
* [http://www.undelete-plus.com/ Undelete Plus]
 +
: Undelete Plus is a free deleted file recovery tool that works for all versions of Windows (95-Vista), FAT12/16/32, NTFS and NTFS5 filesystems and can perform recovery on various solid state devices.
  
TxF uses the [[Common Log File System (CLFS)]]
+
* [http://www.data-recovery-software.net/ R-Studio]
 +
: R-Studio is a data recovery software suite that can recover files from FAT(12-32), NTFS, NTFS 5, HFS/HFS+, FFS, UFS/UFS2 (*BSD, Solaris), Ext2/Ext3 (Linux) and so on.
  
== External links ==
+
See also [[Data Recovery Stories]]
* [http://en.wikipedia.org/wiki/NTFS Wikipedia: NTFS]
+
* [http://msdn.microsoft.com/en-us/library/bb968806%28v=VS.85%29.aspx MSDN on Transactional NTFS]  
+
* [http://en.wikipedia.org/wiki/Transactional_NTFS Wikipedia on Transactional NTFS]
+
* [http://www.tzworks.net/prototype_page.php?proto_id=12  Windows NTFS Metadata Extractor Utility] Free tool that can be run on Windows, Linux or Mac OS-X
+
* [http://sourceforge.net/projects/linux-ntfs/files/NTFS%20Documentation/ Linux-ntfs Documentation] Detailed documentation of the NTFS format by the Linux-NTFS driver creators.
+
  
[[Category:File Systems]]
+
=Carving=
 +
*[http://www.datalifter.com/products.htm DataLifter® - File Extractor Pro]
 +
: Data carving runs on multiple threads to make use of modern processors
 +
 
 +
*[http://foremost.sourceforge.net/ Foremost]
 +
: Foremost is a console program to recover files based on their headers, footers, and internal data structures.
 +
 
 +
*[http://www.digitalforensicssolutions.com/Scalpel/ Scalpel]
 +
: Scalpel is a fast file carver that reads a database of header and footer definitions and extracts matching files from a set of image files or raw device files. Scalpel is filesystem-independent and will carve files from FATx, NTFS, ext2/3, or raw partitions.
 +
 
 +
*[[EnCase]]
 +
: EnCase comes with some eScripts that will do carving.
 +
 
 +
*[[CarvFs]]
 +
: A virtual file system (fuse) implementation that can provide carving tools with the possibility to do recursive multi tool zero-storage carving (also called in-place carving). Patches and scripts for scalpel and foremost are provided. Works on raw and encase images.
 +
 
 +
*[[LibCarvPath]]
 +
: A shared library that allows carving tools to use zero-storage carving on carvfs virtual files.
 +
 
 +
*[http://www.cgsecurity.org/wiki/PhotoRec PhotoRec]
 +
: PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (thus, its 'Photo Recovery' name) from digital camera memory.
 +
 
 +
*[http://www.datarescue.com/photorescue/ PhotoRescue]
 +
: Datarescue PhotoRescue Advanced is picture and photo data recovery solution made by the creators of IDA Pro. PhotoRescue will undelete, unerase and recover pictures and files lost on corrupted, erased or damaged compact flash (CF) cards, SD Cards, Memory Sticks, SmartMedia and XD cards.
 +
 
 +
* [https://www.uitwisselplatform.nl/projects/revit RevIt]
 +
: RevIt (Revive It) is an experimental carving tool, initially developed for the DFRWS 2006 carving challenge. It uses 'file structure based carving'. Note that RevIt currently is a work in progress.
 +
 
 +
* [http://jbj.rapanden.dk/magicrescue/ Magic Rescue]
 +
: Magic Rescue is a file carving tool that uses "magic bytes" in a file contents to recover data.

Revision as of 13:14, 12 December 2008

Partition Recovery

Recover deleted or lost partitions (FAT16/FAT32/NTFS/NTFS5/EXT2/EXT3/SWAP).
DiskInternals NTFS Recovery is a fully automatic utility that recovers data from damaged or formatted disks.
Gpart is a tool which tries to guess the primary partition table of a PC-type hard disk in case the primary partition table in sector 0 is damaged, incorrect or deleted.
TestDisk is OpenSource software and is licensed under the GNU Public License (GPL).

See Also

Notes

  • "fdisk /mbr" restores the boot code in the Master Boot Record, but not the partition itself. On newer versions of Windows you should use fixmbr, bootrec, mbrfix, or mbrwizard. You can also extract a copy of the specific standard MBR code from tools like bootrec.exe and diskpart.exe in Windows (from various offsets) and copy it to disk with dd (Use bs=446 count=1). For Windows XP SP2 c:\%WINDIR%\System32\diskpart.exe the MBR code is found between offset 1b818h and 1ba17h.

Data Recovery

The term "Data Recovery" is frequently used to mean forensic recovery, but the term really should be used for recovering data from damaged media.

BringBack offers easy to use, inexpensive, and highly successful data recovery for Windows and Linux (ext2) operating systems and digital images stored on memory cards, etc.
Runtime Software's RAID Reconstructor will reconstruct RAID Level 0 (Striping) and RAID Level 5 drives.
Claims to have a program that can read the "bad blocks" of Maxtor drives with proprietary commands.
Erol allows you to recover through the internet files erased by mistake. Recover your files online for free.
Recuva is a freeware Windows tool that will recover accidentally deleted files.
Restoration is a freeware Windows software that will allow you to recover deleted files
Undelete Plus is a free deleted file recovery tool that works for all versions of Windows (95-Vista), FAT12/16/32, NTFS and NTFS5 filesystems and can perform recovery on various solid state devices.
R-Studio is a data recovery software suite that can recover files from FAT(12-32), NTFS, NTFS 5, HFS/HFS+, FFS, UFS/UFS2 (*BSD, Solaris), Ext2/Ext3 (Linux) and so on.

See also Data Recovery Stories

Carving

Data carving runs on multiple threads to make use of modern processors
Foremost is a console program to recover files based on their headers, footers, and internal data structures.
Scalpel is a fast file carver that reads a database of header and footer definitions and extracts matching files from a set of image files or raw device files. Scalpel is filesystem-independent and will carve files from FATx, NTFS, ext2/3, or raw partitions.
EnCase comes with some eScripts that will do carving.
A virtual file system (fuse) implementation that can provide carving tools with the possibility to do recursive multi tool zero-storage carving (also called in-place carving). Patches and scripts for scalpel and foremost are provided. Works on raw and encase images.
A shared library that allows carving tools to use zero-storage carving on carvfs virtual files.
PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (thus, its 'Photo Recovery' name) from digital camera memory.
Datarescue PhotoRescue Advanced is picture and photo data recovery solution made by the creators of IDA Pro. PhotoRescue will undelete, unerase and recover pictures and files lost on corrupted, erased or damaged compact flash (CF) cards, SD Cards, Memory Sticks, SmartMedia and XD cards.
RevIt (Revive It) is an experimental carving tool, initially developed for the DFRWS 2006 carving challenge. It uses 'file structure based carving'. Note that RevIt currently is a work in progress.
Magic Rescue is a file carving tool that uses "magic bytes" in a file contents to recover data.