Difference between pages "Carver 2.0 Planning Page" and "The Sleuth Kit How-To"

From ForensicsWiki
(Difference between pages)
Jump to: navigation, search
(Requirements)
 
m (Category:Howtos)
 
Line 1: Line 1:
This page is for planning Carver 2.0.
+
To find which file maps to a given sector number on the first partition of a Windows volume:
  
= License =
+
  ifind -o63 -d <sector-number> <disk-image>
 +
This returns an inode number.
  
BSD
+
  ffind -o63 <disk-image> <inode-number>
  
= OS =
+
For example, if we want to find which file maps to sector 1249 of the file image.iso, use:
 +
  $ ifind -o63 -d 1249 image.iso
 +
  6
 +
  $ ffind -o63 image.iso 6
 +
  /TCLAIM.TXT
  
Linux/FreeBSD/MacOS
+
You can print out the contents of the file with the icat command:
  
= Requirements =
+
<pre>
* AFF and EWF file images supported from scratch.
+
$ icat -o63 image.iso  6
* File system aware layer.
+
�����������������������������������������������������������������������������ͻ
** By default, files are not carved.
+
� ������������    �����������  ��              ��      ��������  ���    ��� �
* Plug-in architecture for identification/validation.
+
�      ��        ��      ��  ��            ����        ��      ����  ���� �
** Can we exercise libmagic or at least the patterns they identify?
+
�      ��        ��          ��            ��  ��      ��      �� �� �� �� �
* Ship with validators for:
+
�      ��        ��          ��          ��    ��      ��      ��  ���  �� �
** JPEG
+
�      ��        ��          ��          ��      ��    ��      ��      �� �
** PNG
+
�      ��        ��          ��          ��      ��    ��      ��      �� �
** GIF
+
�      ��        ��          ��          ����������    ��      ��      �� �
** MSOLE
+
�      ��        ��      ��  ��          ��      ��    ��      ��      �� �
** ZIP
+
�      ��        �����������  ����������� ��      ��  ��������  ��      �� �
** TAR (gz/bz2)
+
�                                                                            �
* Simple fragment recovery carving using gap carving.
+
�����������������������������������������������������������������������������ͼ
* Recovering of individual ZIP sections and JPEG icons that are not sector aligned.
+
</pre>
* Autonomous operation (what is it? [[User:.FUF|.FUF]] 19:18, 28 October 2008 (UTC)).
+
* Tested on 500GB-sized images. Should be able to carve a 500GB image in roughly 50% longer than it takes to read the image.
+
** Perhaps allocate a percentage budget per-validator (i.e. each validator adds N% to the carving time)
+
* Parallelizable.
+
* Configuration:
+
** Can handle some kind of config files, like Revit07 format.
+
** Disengage internal configuration structure from configuration files, create parsers that present the expected structure
+
**  Either extend Scalpel/Foremost syntaxes for extended features or create a tertiary syntax, at which point a converter would likely be useful.
+
* Can output audit.txt file.
+
* Easy integration into ascription software.
+
  
= Ideas =
+
[[Category:Howtos]]
* Use as much TSK if possible. Don't carry your own FS implementation there way photorec does.
+
* Extracting/carving data from [[Thumbs.db]]? I've used [[foremost]] for it with some success. [[Vinetto]] has some critical bugs :( [[User:.FUF|.FUF]] 19:18, 28 October 2008 (UTC)
+
* Carving data structures. For example, extract all TCP headers from image by defining TCP header structure and some fields (e.g. source port > 1024, dest port = 80). This will extract all data matching the pattern and write a file with other fields. Another example is carving INFO2 structures and URL activity records from index.dat [[User:.FUF|.FUF]] 19:18, 28 October 2008 (UTC)
+
 
+
= Supported File Systems =
+
 
+
Build a large list of supported filesystems. File carving programs ignore the filesystem, but this doesn't mean that they support all of them. Do we support Reiser4 with tail packing? Or exFAT? Or NTFS with compression? Document this. [[User:.FUF|.FUF]] 19:18, 28 October 2008 (UTC)
+

Latest revision as of 13:22, 30 March 2009

To find which file maps to a given sector number on the first partition of a Windows volume:

 ifind -o63 -d <sector-number> <disk-image>

This returns an inode number.

 ffind -o63 <disk-image> <inode-number>

For example, if we want to find which file maps to sector 1249 of the file image.iso, use:

 $ ifind -o63 -d 1249 image.iso
 6
 $ ffind -o63 image.iso 6
 /TCLAIM.TXT

You can print out the contents of the file with the icat command:

$ icat -o63 image.iso  6
�����������������������������������������������������������������������������ͻ
� ������������    �����������  ��              ��      ��������   ���     ��� �
�      ��         ��       ��  ��             ����        ��      ����   ���� �
�      ��         ��           ��            ��  ��       ��      �� �� �� �� �
�      ��         ��           ��           ��    ��      ��      ��  ���  �� �
�      ��         ��           ��          ��      ��     ��      ��       �� �
�      ��         ��           ��          ��      ��     ��      ��       �� �
�      ��         ��           ��          ����������     ��      ��       �� �
�      ��         ��       ��  ��          ��      ��     ��      ��       �� �
�      ��         �����������  ����������� ��      ��  ��������   ��       �� �
�                                                                             �
�����������������������������������������������������������������������������ͼ