⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 skins_iso9660.txt

📁 linux下开发的针对所有磁盘的数据恢复的源码
💻 TXT
字号:
                         The ISO9660 File System                 Sleuth Kit Implementation Notes (SKINs)                        http://www.sleuthkit.org                      Wyatt Banks, Crucial Security                        Last Updated: June 2005INTRODUCTION=======================================================================The ISO9660 file system is used on many platforms and has manyvariations and extensions.  At the most basic level of ISO9660 thereare several differences than traditional filesystems due to the typeof media available.This document gives a quick overview of ISO9660 and how it was implemented.The Sleuth Kit allows one to investigate an ISO9660 image in the sameways as any UNIX image, including:  - Creation of ASCII timeline of file activity  - File and directory level analysisISO9660 OVERVIEW=======================================================================This provides a quick introduction to the ISO9660 file system.  Theterms used are different then with other file systems.  For a fulloverview of the file system, refer to the document "Volume and FileStructure of CDROM for Information Interchange"http://www.ecma-international.org/publications/standards/Ecma-119.htmVolume descriptors-----------------------------------------------------------------------ISO9660 uses structures called Volume Descriptors to store informationabout the directory hierarchy of an ISO9660 volume.  At 32768 bytesinto the image there is a contiguous list of volume descriptors.A primary volume descriptor contains an address of a Path Table whichis a list of every directory on the volume.  In this path table eachdirectory record has a single run of contiguous bytes known as anExtent.  Each directory's single data extent contains a group ofcontiguous directory descriptors which represent files, directoriesor other standard file types.Primary volume descriptors only allow uppercase filenames in the8.3 format (8 chars dot 3 chars).Supplementary volume descriptors are very similar to primary volumedescriptors.  The main difference is that supplementary volumedescriptors store filenames as UCS-2 characters and are usedin Microsoft Joliet extensions to allow mixed case filenames up to103 characters.All volume descriptors are stored at least once, with there being arequirement to have only a single primary volume descriptor for animage to be valid.  Supplementary volume descriptors usually containthe same data as primary volume descriptors.FILES-----------------------------------------------------------------------ISO9660 file are stored in an extent whose size is measured in bytes.A file is considered unique if its extent address is unique.DIRECTORIES-----------------------------------------------------------------------Directory names are only stored in the path table of the volumedescriptor.  As a directory is encountered as a directory descriptorinside another directory's extent, the address of its data extentis examined by the ISO9660 implementation to see if we've seen thisdirectory before and figure out what its name is.Directories are unusual in the way they are identified as a uniqueinode.  If we examine the root directory using a primary volumedescriptor then its extent address is where on the volume the extentcontaining the list of directory descriptors with 8.3 encoded namesexists.  If we examine the root directory of that same volume using a supplementary volume descriptor we will find that the extentaddress is different because these directory descriptors are UCS-2encoded, even though each directory descriptor will point at the samedata extent for each file.This last paragraph is quite complicated.  Lets simplify:Imagine a CD with 3 files on it: file-1.txt, file-2.txt, file3.txt.The path table in a primary volume descriptor has one directory in itand its extent contains 3 directory descriptor structures with 8.3 uppercase encoding.  The path table in a supplementary volumedescriptor describing this same volume has one directory but its extentis different because those 3 directory descriptor structures aredifferent than the previous 3.  The files are not considered uniquebecause their extent addresses (where their data lies) is not unique.OF NOTE:-----------------------------------------------------------------------Due to many reports of mastering software errata, there are someissues that The Sleuth Kit handles that the specifications for ISO9660say will never happen.  The specs say that there is only one uniqueprimary volume descriptor per volume.  The Sleuth Kit handles the possibility of finding more and alerts the user to this.Inodes don't really exist in ISO9660 so the implementation is improvised based on anything thats extent is unique is a differentfile.  The pseudo inode strucutre is stored in a linked list to makeviewing an entire image faster.ISO9660 stores many fields as both byte order.  A 32 bit numberwill take 8 bytes, the first 4 are little endian, the last 4 arebig endian.USING THE SLEUTH KIT WITH ISO9660=======================================================================The Sleuth Kit allows one to view all aspects of the ISO9660 structure.All Sleuth Kit commands should work the same as their counterparts.Note that Autopsy can automate this process for you and allows youto view all attributes.   http://www.sleuthkit.org/autopsyWHAT THE SLEUTH KIT CANNOT CURRENTLY DO=======================================================================There are a few things that The Sleuth Kit is not yet able to dowith ISO9660:- Multisessions CDs are not handled.- High Sierra is not handled.- Files that are stored with an interleave gap-----------------------------------------------------------------Send documentation updates to: <doc-updates at sleuthkit dot org>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -