Nytro Posted May 2, 2011 Report Posted May 2, 2011 NTFS On-Disk StructureVisual Basic NTFS Programmer’s Guide© 2004 Alex Ionescu1. BASIC CONCEPTS........................................................................................................................... 51.1 INTRODUCTION............................................................................................................................... 51.2 NTFS TERMINOLOGY .................................................................................................................... 51.3 GENERAL TERMINOLOGY.............................................................................................................. 61.4 NTFS VERSIONS............................................................................................................................ 72. THE BOOT RECORD........................................................................................................................ 72.1 DEFINITION..................................................................................................................................... 72.2 STRUCTURE..................................................................................................................................... 73. METAFILES ...................................................................................................................................... 103.1 INTRODUCTION............................................................................................................................. 103.1.1 Description .......................................................................................................................... 103.1.2 Listing (NTFS 3.0+) .......................................................................................................... 103.2 $MFT.............................................................................................................................................. 113.2.1 Description .......................................................................................................................... 113.2.2 Structure .............................................................................................................................. 113.3 $MFTMIRR ................................................................................................................................... 123.3.1 Description .......................................................................................................................... 123.3.2 Structure .............................................................................................................................. 133.4 $LOGFILE...................................................................................................................................... 133.4.1 Description .......................................................................................................................... 133.4.2 Structure .............................................................................................................................. 143.5 $VOLUME....................................................................................................................................... 143.5.1 Description .......................................................................................................................... 143.5.2 Structure .............................................................................................................................. 143.6 $ATTRDEF..................................................................................................................................... 153.6.1 Description .......................................................................................................................... 153.6.2 Structure .............................................................................................................................. 153.7 . (DOT) ............................................................................................................................................ 163.7.1 Description .......................................................................................................................... 163.7.2 Structure .............................................................................................................................. 173.8 $BITMAP ........................................................................................................................................ 173.8.1 Description .......................................................................................................................... 173.8.2 Structure .............................................................................................................................. 173.9 $BOOT............................................................................................................................................. 183.9.1 Description .......................................................................................................................... 183.9.2 Structure............................................................................................................................... 183.10 $BADCLUS.................................................................................................................................... 183.10.1 Description....................................................................................................................... 183.10.2 Structure........................................................................................................................... 183.11 $SECURE...................................................................................................................................... 193.11.1 Description....................................................................................................................... 193.11.2 Structure........................................................................................................................... 203.12 $UPCASE ..................................................................................................................................... 213.12.1 Description....................................................................................................................... 213.12.2 Structure........................................................................................................................... 223.13 $EXTEND...................................................................................................................................... 223.13.1 Description....................................................................................................................... 223.15 $OBJID........................................................................................................................................ 223.15.1 Description....................................................................................................................... 223.15.2 Structure........................................................................................................................... 233.16 $QUOTA........................................................................................................................................ 233.16.1 Description....................................................................................................................... 233.16.2 Structure........................................................................................................................... 243.17.1 Description....................................................................................................................... 263.17.2 Structure........................................................................................................................... 263. 18 $USNJRNL.................................................................................................................................. 273.18.1 Description....................................................................................................................... 273.18.2 Structure........................................................................................................................... 274. ATTRIBUTES.................................................................................................................................... 294.1 INTRODUCTION............................................................................................................................. 294.1.1 Definition ............................................................................................................................. 294.1.2 Listing (NTFS 3.0+) .......................................................................................................... 294.2 TYPES OF ATTRIBUTES ................................................................................................................ 314.2.1 Attribute Definition ......................................................................................................... 314.2.2 Attribute Structure........................................................................................................... 314.2.3 Nonresident Attribute Definition ............................................................................... 324.2.4 Nonresident Attribute Structure ................................................................................ 324.2.5 Resident Attribute Definition.................................................................................................... 334.2.6 Resident Attribute Structure........................................................................................ 334.2.7 Named and Unnamed Attributes................................................................................ 344.3 $STANDARD_INFORMATION............................................................................................. 344.3.1 Description .......................................................................................................................... 344.3.2 Structure .............................................................................................................................. 354.4 $ATTRIBUTE_LIST.................................................................................................................. 364.4.1 Description .......................................................................................................................... 364.4.2 Structure .............................................................................................................................. 364.5 $FILE_NAME .............................................................................................................................. 374.5.1 Description .......................................................................................................................... 374.6 $OBJECT_ID.............................................................................................................................. 384.6.1 Description .......................................................................................................................... 384.6.2 Structure .............................................................................................................................. 384.7 $SECURITY_DESCRIPTOR.................................................................................................. 394.7.1 Description .......................................................................................................................... 394.7.2 Structure .............................................................................................................................. 394.8 $VOLUME_NAME...................................................................................................................... 414.8.1 Description .......................................................................................................................... 414.9 $VOLUME_INFORMATION.................................................................................................. 414.9.1 Description .......................................................................................................................... 414.9.2 Structure .............................................................................................................................. 414.10 $DATA......................................................................................................................................... 424.10.1 Description....................................................................................................................... 424.10.2 Structure........................................................................................................................... 434.11 $INDEX_ROOT......................................................................................................................... 434.11.1 Description....................................................................................................................... 434.11.2 Structure........................................................................................................................... 444.12 $INDEX_ALLOCATION ........................................................................................................ 454.12.1 Description....................................................................................................................... 454.12.2 Structure........................................................................................................................... 464.13 $BITMAP................................................................................................................................... 474.13.1 Description....................................................................................................................... 474.13.2 Structure........................................................................................................................... 474.14 $REPARSE_POINT................................................................................................................. 474.14.1 Description....................................................................................................................... 474.14.2 Structure........................................................................................................................... 484.15 $EA_INFORMATION............................................................................................................. 494.15.1 Description....................................................................................................................... 494.15.2 Structure........................................................................................................................... 504.16 $EA............................................................................................................................................... 504.16.1 Description....................................................................................................................... 504.16.2 Structure........................................................................................................................... 504.17 $LOGGED_UTILITY_STREAM.......................................................................................... 514.17.1 Description....................................................................................................................... 514.17.2 Structure........................................................................................................................... 515.0 ADVANCED CONCEPTS ............................................................................................................ 525.1 VCNS AND LCNS .......................................................................................................................... 525.2 DATA RUNS ................................................................................................................................... 525.2.1 Definition ............................................................................................................................. 525.2.2 Structure .............................................................................................................................. 535.3 SECURITY CONCEPTS................................................................................................................... 585.3.1 SIDs ....................................................................................................................................... 585.3.2 ACLs ...................................................................................................................................... 615.3.3 ACEs ...................................................................................................................................... 615.4 INDEXES ......................................................................................................................................... 615.5 SPARSE FILES............................................................................................................................... 615.6 ENCRYPTION................................................................................................................................. 615.7 COMPRESSION ............................................................................................................................... 615.8 USNS .............................................................................................................................................. 61Download:http://www.alex-ionescu.com/NTFS.pdfSursa: Publications « Alex Ionescu’s Blog Quote