NTFS Fundamentals. [Kevin s Attic for Security Research]

Size: px
Start display at page:

Download "NTFS Fundamentals. [Kevin s Attic for Security Research]"

Transcription

1 [] NTFS Fundamentals DO NOT FORGET TO REMAIN THE ORIGINAL SOURCE WHEN YOU MAKE USE OF THIS MATERIAL OR (RE)DISTRIBUTE IT.

2 What to Cover 1. Information with Tools 2. NTFS Layout 3. MBR 4. VBR 5. MFT MFT Entry and MFT Attributes Cluster Runs LCN&VCN Sparse/Compression Resident/Non-Resident File 2

3 NTFS > Information with Tools (Sysinternals) ntfsinfo.exe c:\ Use NTFSInfo to see detailed information about NTFS volumes, including the size and location of the Master File Table (MFT) and MFT-zone, as well as the sizes of the NTFS meta-data files. technet.microsoft.com/en-us/sysinternals/bb aspx 3

4 NTFS > Information with Tools (TSK) mmls \\.\PhysicalDrive0 FSUTIL c:\fsutil fsinfo ntfsinfo [Drive] 4

5 NTFS > NTFS Layout NTFS Layout 모든 Data를 File 형태로관리함 : 파일시스템관리데이터, 사용자데이터 관리데이터역시물리적위치와독립적임 단, VBR은 BPR(BIOS Parameter Block) 으로고정위치에존재함 - Volume 설정값, 실행코드 5

6 NTFS > MBR(Master MBR(Master Boot Code B Partition Table B Signature B 저장매체의가장첫번째 Sector(LBA 0) 에위치함 Boot Code는기계어로 Booting 가능한 Partition을지정하며, 없을경우오류메시지출력 Partition Table은주파티션 4개정보를가지며, Table 당 16B임 MBR은 VBR의시작점을가리킴 Cluster (512 Byte) 크기 Signature: 0x55AA 6

7 NTFS > MBR(Master MBR(Master Boot Code B Partition Table B Signature B 0x0000 0x0010 0x00(~) 0x01B0 0x01C0 0x01D0 0x01E0 0x01F Boot Code (446 B) (Boot Code Continued) (Boot Code Continued) Boot Code PP#1 Primary Partition #1 (16B) PP#2 Primary Partition #2 (16B) PP#3 Primary Partition #3 (16B) Primary Partition #4 (16B) 55 AA 7

8 NTFS > MBR(Master MBR(Master : Partition Table Structure Boot Code B Partition Table B Signature B (1) (2) (2) (3) (4) (5) (6) 55 AA Field Size Description Note (1) Boot flag 1B 0x80 ( 부팅가능 ), 0x00( 부팅불가 ) (2) Starting CHS Address 3B CHS 방식일경우 Partition 시작 CHS 주소 (3) Partition Type (0x00 0xFF) 1B Wiki 참조 0x07 (4) Ending CHS Address 3B CHS 방식일경우 Partition 마지막 CHS 주소 (5) Starting LBA Address 4B LBA 방식일경우 Partition 시작 LBA 주소 (6) Size in Sector 4B Partition에할당한 Sector 수 en.wikipedia.org/wiki/partition_type 8

9 NTFS > MBR(Master MBR(Master Boot Code B Partition Table B Signature B en.wikipedia.org/wiki/partition_type 9

10 NTFS > VBR(Volume VBR(Volume or BPB(Boot Parameter Block) Jump Code 0-2 3B OEM ID B BPB B Bootstrap Code B Signature B NTFS Partition의가장첫번째 Sector에위치함 Boot Sector, NTLDR 위치, Boot Code 정보를포함하며 BPB(Boot Parameter Block) 이라고도함 VBR은 MFT의시작점을가리킴 Cluster (512 Byte) 크기 Signature: 0x55AA 10

11 NTFS > VBR(Volume VBR(Volume or BPB(Boot Parameter Block) Jump Code 0-2 3B OEM Name B BPB B Bootstrap Code B Signature B 0x0000 0x0010 0x0020 0x0030 0x0040 0x0050 0x00(..) 0x01F0 EB OEM Name (Unused) F8 (Unused) (Unused) Total Sector Start of MFT Start of MFTMirr F6 (Unused) 01 (Unused) Serial Number (Unused) Boot Code (436B) (Boot Code Continued) Boot Code 55 AA

12 NTFS > VBR(Volume VBR(Volume or BPB(Boot Parameter Block) Jump Code 0-2 3B OEM Name B BPB B Bootstrap Code B Signature B (1) (2) (3) (4) (5) (Unused) (6) (Unused) (Unused) (7) (8) (9) (10) (Unused) (11) (Unused) (12) (Unused) Boot Code (436B) Field Size (Offset) Description Note (1) Jump Boot Code 3B (0-2) 부트코드로점프하는기계어 Instruction 0xEB5290 (2) OEM ID 8B (3-10) 제조회사를나타냄, 윈도우는 NTFS 로표기 (3) Bytes Per Sector 2B (11-12) Sector 당 Byte 수 (512,1024,2048,4096 중하나 ) 512 (0xF6) (4) Sectors Per Cluster 1B (13) Cluster 당 Sector 수 (0 보다크고 2 의배수 ) 8 (5) Reserved Sector Count 2B (14-15) NTFS는 Reserved 영역이없고 Partition 앞에 Boot Sector가존재하므로 0x00 (6) Media 1B (21) Volume을어떤 Media에저장하는지기록, 최신윈도우는이항목을참조하지않음 0 0xF8 ( 고정 disk) 12

13 NTFS > VBR(Volume VBR(Volume or BPB(Boot Parameter Block) Jump Code 0-2 3B OEM Name B BPB B Bootstrap Code B Signature B (1) (2) (3) (4) (5) (Unused) (6) (Unused) (Unused) (7) (8) (9) (10) (Unused) (11) (Unused) (12) (Unused) Boot Code (436B) Field Size (Offset) Description Note (7) Total Sectors 8B (40-47) Volume 에있는전체 Sector 수 (8) Start Cluster of $MFT 8B (48-55) MFT 의시작 Cluster 주소 (9) Start Cluster of $MFTMirr 8B (56-63) MFT 복사본 MFTMirr 의 Cluster 주소 (10) MFT Entry Size 1B (64) MFT Entry 크기 (2^(-10)=1,024) 0xF6 (11) Index Record Size 1B (68) Index Record 의크기 0x01 (12) Serial Number 8B (72-79) Volume 의 Serial Number 13

14 NTFS > VBR(Volume VBR(Volume or BPB(Boot Parameter Block) Example Jump Code 0-2 3B OEM Name B BPB B Bootstrap Code B Signature B EB OEM Name (Unused) F8 (Unused) (Unused) Total Sector Start of MFT Start of MFTMirr F6 (Unused) 01 (Unused) Serial Number (Unused) Boot Code (436B)

15 NTFS > VBR(Volume VBR(Volume or BPB(Boot Parameter Block) Example Jump Code 0-2 3B OEM Name B BPB B Bootstrap Code B Signature B 15

16 NTFS > MFT (Master Includes the information for all files and directories Increases the size as the number of entries grow gradually Grows only and never shrinks as MFT Entry is not removed when a file is deleted Each cluster can contain 4 MFT Entries when the cluster size of 4KB. Each file may have more than a single MFT entry. What would be the size of MFT if the number of files in the volume is 100,000? 16

17 NTFS > MFT (Master Entry MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n MFT Entry consists of MFT Entry Header and multi-attributes. An attribute consists of Attribute Header and Content. Signature: 0x46494c45 or FILE Each MFT Entry has 1KB (= 1024 Bytes) in size. Sometimes this is called File Record. MFT Entry #(n+1) MFT Entry #(n+2) MFT Entry #(n+k). MFT Entry #(m) 17

18 NTFS > MFT (Master Entry 0-15 : Meta Data Files (Reserved) MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n MFT Entry #(n+1) MFT Entry #(n+2) MFT Entry #(n+k). MFT Entry #(m) MFT Entry # Filename Description 0 $MFT MFT 자체정보를담은파일 1 $MFTMirr MFT 파일백업 2 $LogFile Transaction Journal 기록 3 $Volume Volume에관한정보 4 $AttrDef 인자값, 이름, 크기속성정보 5. File System Root directory 6 $Bitmap File System Cluster 할당관리정보 7 $Boot Boot Record 영역정보 8 $BadClus Bad Cluster 관련정보 9 $Secure File 보안과접근권한정보 10 $Upcase 모든 Unicode 대문자 11 $Extend 추가적인확장 directory 12~23 Unused 사용하지않음 24~ General Files 일반 File, Directory 저장 Not specified $ObjId 파일고유의 Object ID (Win2K 이상 ) Not specified $Quota 사용량정보 (Win2K 이상 ) Not specified $Reparse Reparse Point 정보 (Win2K 이상 ) Not specified $UsnJrnl File, Directory 변경시기록 (Win2K 이상 ) 18

19 NTFS > MFT (Master Entry : File Reference Address (File Record Number) MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Sequence Value MFT Entry Address What if MFT Entry number is 2,048? MFT Entry Address: 0x Sequence Value: 0x0020 MFT Entry #(n+1) MFT Entry #(n+2) MFT Entry #(n+k). MFT Entry #(m) 19

20 NTFS > MFT (Master Entry : Base / Non-base MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n MFT Entry 75 MFT Entry 76 MFT Entry 77 MFT Entry 78 MFT Entry 79 MFT Entry Base MFT Entry 77 Non-Base MFT Entry 75, 79, 80 Base MFT Entry 77 Base MFT Entry 77 In case of 4 MFT Entries: MFT Entry #(n+1) Whole MFT Entries: 75, 77, 79, 80 MFT Entry #(n+2) MFT Entry #(n+k). MFT Entry #(m) Base MFT Entry: 77 Non-Base MFT Entries: 75, 79, 80 Non-base Entry has a value for File Reference to base MFT Entry item in MFT Header 20

21 NTFS > MFT (Master Entry Header MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? Attribute Header #x 24B Attribute Content #x?? The Header in each MFT Entry 42 Bytes in size All information in MFT Entry are attributes other than Entry Header. 21

22 NTFS > MFT (Master Entry Header MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) Field Size (Offset) Description Note (1) Signature 4B (0-3) 단순문자열로보통 FILE 문자열로구성 0x46494c45 (2) Offset of Fixup Array 2B (4-5) MFT Entry 내 Fixup 배열위치정보 0x0030 (48) (3) Count of Fixup Values 2B (6-7) Fixup 배열항목개수 0x0003 (3) (4) $LogFile Sequence # (LSN) 8B (8-15) $LogFile 에 data 의마지막 Transaction 위치 (5) Sequence Value 2B (16-17) MFT Entry 할당 / 해제시 File Reference Addr. 주소생성, 항상값이증가함 (6) Hard Link Count 2B (18-19) MFT Entry 에연결되어있는 Hard Link 수 0x0001 (1) 22

23 NTFS > MFT (Master Entry Header MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) (11) (12) Field Size (Offset) Description Note (7) Offset to First Attribute 2B (20-21) 첫번째속성의 Offset 0x0038 (56) (8) Flags 2B (22-23) 0x01 ( 사용중 ), 0x02 ( 디렉토리 ) (9) Used Size of MFT Entry 4B (24-27) MFT Entry 가사용하는실제 Byte 수 (10) Allocated Size of MFT Entry 4B (28-31) MFT Entry 크기 ( 항상 1 KB = 1,024B) 1024 (11) File Reference to Base MFT Entry 8B (32-39) Non-base MFT Entry일경우 base MFT Entry 위치의 File Reference Address (12) Next Attribute ID 2B (40-41) 미래에생성할속성이가질속성 ID 23

24 NTFS > MFT (Master Entry Header Example MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? Sequence Value Signature Hard Link Count Offset of Fixup Array Offset to First Attr. Count of Fixup Values Flags File Reference to Base MFT Entry $LogFile Sequence Number (LSN) Used Size of MFT Entry Next Attr. ID Allocated Size of MFT Entry 24

25 NTFS > MFT (Master Entry Attribute Header MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? NTFS에존재하는속성종류는 16가지임 MFT Entry 속성 header는저장방식에따라 Resident, Non-Resident로나눔 저장방식에따라속성 Header 항목이다름 공통 Header 16B Resident Header (24B) = 공통 Header (16B) + 전용 Header (8B) Non-Resident Header (64B) = 공통 Header (16B) + 전용 Header (48B) 25

26 NTFS > MFT (Master Entry Attribute Kinds MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? Attr Type ID Attr Name Description 0x10 (16) $STANDARD_INFORMATION 최근접근시간, 생성시간, 소유자 0x20 (32) $ATTRIBUTE_LIST 속성리스트 0x30 (48) $FILE_NAME 유니코드형식의파일명 0x40 (64) $VOLUME_VERSION Volume 정보 ( 이전버전 ) 0x40 (64) $OBJECT_ID File, Directory 고유값 0x50 (80) $RECURITY_DESCRIPTOR File 접근제어와보안속성 0x60 (96) $VOLUME_NAME Volume명 0x70 (112) $VOLUME_INFORMATION File System 버전과 Flag 0x80 (128) $DATA File 내용 0x90 (144) $INDEX_ROOT Index Tree의 Root node 0xa0 (160) $INDEX_ALLOCATION Index Tree와연결된 node 0xb0 (176) $BITMAP 할당정보관리속성 0xc0 (192) $SYMBOLIC_LINK Soft Link 정보 ( 이전버전 ) 0xc0 (192) $REPARSE_POINT Reparse 위치정보 0xd0 (208) $EA_INFORMATION OS/2 호환용 0xe0 (224) $EA OS/2 호환용 0xf0 (256) $LOGGED_UTILITT_STREAM 암호화속성정보와 Key 26

27 NTFS > MFT (Master Entry Structure Overview MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? MFT Entry MFT Entry Header Attribute #1 Header Attribute #1 Content Attribute #2 Header Attribute #2 Content Attribute #3 Header Cluster ### Unused Cluster ### Attribute #3 Content 27

28 NTFS > MFT (Master Entry Structure: Cluster Runs, LCN & VCN MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n MFT Entry MFT Entry Header Entry Header Attribute Header #1 42B 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? Attribute #1 Header Attribute #1 Content If the size of attributes becomes bigger than a single cluster size, then it use Cluster Runs. It consists of start cluster and length. LCN (Logical Cluster Number) means the address in sequence from the first cluster. VCN (Virtual Cluster Number) means the relative address in sequence from the file. NTFS uses it with VCN-to-LCN mapping. Attribute #2 Header Attribute #2 Content Attribute #3 Header Attribute #3 Cluster Runs Unused Cluster A: Attribute#3 Content (1) Cluster B: Attribute#3 Content (2) LCN Run Data Start Cluster Length VCN Cluster A = 1588 Size A = LCN Cluster B = 1295 Size B = VCN 28

29 NTFS > MFT (Master Entry Structure: Sparse Attribute MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? Sparse applies to only $DATA attribute. What if the data has a series of 0s? The below shows that attribute #3 has 15 clusters but save its content in 7 clusters only. NTFS call it a hole, returning zero data when application tries to read the data from it. MFT Entry MFT Entry Header Attribute #1 Header Attribute #1 Content Attribute #2 Header Attribute #2 Content Attribute #3 Header Attribute #3 Cluster Runs Unused LCN Run Data Start Cluster Length Cluster 1588: Attribute#3 Content (1) VCN (N/A) 8 No Cluster has been allocated for Attribute#3 Content (2) LCN Cluster 1295: Attribute#3 Content (3) VCN 29

30 NTFS > MFT (Master Entry Structure: Compression Attribute MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? NTFS supports compression from file system viewpoint. It uses cluster units, 16 clusters (usually 64KB) by default. If the size of cluster is larger than 4KB, then NTFS does not support compression feature, which is why NTFS fixates it as 4 KB at most. NTFS uses LZ77 with variable for compression algorithm. Sometimes compression takes advantage of sparse attribute if necessary. The cases for compression is when to store all 0s for data (sparse) and when to use the same or less clusters after compression. 30

31 NTFS > MFT (Master Entry Attribute Header (Common) MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Pad (1) (2) (3) (4) (5) (6) (7) (12) (13) (14) (15) Padding (17) (18) (19) Field Size (Offset) Description Note (1) Attribute Type ID(identifier) 4B (0-3) 속성고유의 Type ID (2) Length of Attribute 4B (4-7) 속성의길이 (Header + Content) (3) Non-resident Flag 1B (8) 1 (Non-resident), 0 (Resident) 속성 (4) Length of name 1B (9) 속성이름의길이 (5) Offset to name 2B (10-11) 속성이름의저장위치 (6) Flags 2B (12-13) 속성의상태 (0x0001: 압축, 0x4000: 암호화, 0x8000: Sparse) (7) Attribute Identifier 2B (14-15) 속성 Type ID 과는별도로속성자체고유값 31

32 NTFS > MFT (Master Entry Attribute Header (Resident Only) MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Pad (1) (2) (3) (4) (5) (6) (7) (12) (13) (14) (15) Padding (17) (18) (19) Field Size (Offset) Description Note (8) Size of Content 4B (16-19) 속성내용의크기 (9) Offset to Content 4B (20-21) 속성내용의위치 (10) Indexed Flag 1B (22) 속성이검색에사용하는지여부 (1이면 index 정보로사용중임 ) 32

33 NTFS > MFT (Master Entry Attribute Header (Non-Resident Only) MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Pad (1) (2) (3) (4) (5) (6) (7) (12) (13) (14) (15) Padding (17) (18) (19) Field Size (Offset) Description Note (12) Starting VCN of the run list 8B (16-23) 속성의 Run list 시작 VCN (13) Ending VCN of the run list 8B (24-31) 속성의 Run list 마지막 VCN (14) Offset to the run list 2B (32-33) 속성 Run list 위치 (15) Compression unit size 2B (34-35) 압축단위크기 (cluster 개수 ) (17) Allocated size of attribute content 8B (40-47) 속성 data 가할당된전체 cluster 크기 (Byte) (18) Real Size of attribute content 8B (48-55) 속성 data 의실제크기 (19) Initialized size of attribute content 8B (56-63) 속성 data 의초기화크기 33

34 NTFS > MFT (Master Entry Attribute: Example for $MFT File MFT Entry #0 MFT Entry #1 MFT Entry #2.. MFT Entry #n Entry Header 42B Attribute Header #1 24B Attribute Content #1?? Attribute Header #2 64B Attribute Content #2?? Non- Len Offset to Attr Type ID Len of Attr Reg of Flags Attr ID Name Flag Nam Size of Content Offset of Content Indx Flag Pad 34

35 35

CSN08101 Digital Forensics. Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak

CSN08101 Digital Forensics. Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak CSN08101 Digital Forensics Lecture 8: File Systems Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak Objectives Investigative Process Analysis Framework File Systems FAT NTFS EXT2/EXT3 last

More information

Advanced Operating Systems

Advanced Operating Systems Advanced Operating Systems File Systems: File Allocation Table, Linux File System, NTFS Lecture 10 Case Studies of File Systems File Allocation Table (FAT) Unix File System Berkeley Fast File System Linux

More information

File Systems. Martin Děcký. DEPARTMENT OF DISTRIBUTED AND DEPENDABLE SYSTEMS

File Systems. Martin Děcký. DEPARTMENT OF DISTRIBUTED AND DEPENDABLE SYSTEMS File Systems Martin Děcký DEPARTMENT OF DISTRIBUTED AND DEPENDABLE SYSTEMS http://d3s.mff.cuni.cz/ CHARLES UNIVERSITY IN PRAGUE FACULTY OF MATHEMATICS AND PHYSICS MS-DOS FAT History 1977 1996 FAT32 FAT12

More information

File System Interpretation

File System Interpretation File System Interpretation Part III. Advanced Techniques and Tools for Digital Forensics CSF: Forensics Cyber-Security Fall 2018 Nuno Santos Previously: Introduction to Android forensics! How does Android

More information

On-disk filesystem structures

On-disk filesystem structures On-disk filesystem structures Jan van Wijk Filesystem on-disk structures for FAT, HPFS, NTFS, JFS, EXTn and ReiserFS Presentation contents Generic filesystem architecture (Enhanced) FAT(32), File Allocation

More information

Windows File System. File allocation table (FAT) NTFS - New Technology File System. used in Windows 95, and MS-DOS

Windows File System. File allocation table (FAT) NTFS - New Technology File System. used in Windows 95, and MS-DOS Windows File System Windows File System File allocation table (FAT) used in Windows 95, and MS-DOS NTFS - New Technology File System 2 Key features of NTFS NTFS uses clusters(rather than sectors) as units

More information

NTFS Recoverability. CS 537 Lecture 17 NTFS internals. NTFS On-Disk Structure

NTFS Recoverability. CS 537 Lecture 17 NTFS internals. NTFS On-Disk Structure NTFS Recoverability CS 537 Lecture 17 NTFS internals Michael Swift PC disk I/O in the old days: Speed was most important NTFS changes this view Reliability counts most: I/O operations that alter NTFS structure

More information

FORENSIC ANALYSIS OF RESILIENT FILE SYSTEM IN WINDOWS SERVER 2012

FORENSIC ANALYSIS OF RESILIENT FILE SYSTEM IN WINDOWS SERVER 2012 FORENSIC ANALYSIS OF RESILIENT FILE SYSTEM IN WINDOWS SERVER 2012 By Aemun Iqbal A thesis submitted to the faculty of Information Security Department, Military College of Signals, National University of

More information

Vorlesung Computerforensik. Kapitel 7: NTFS-Analyse

Vorlesung Computerforensik. Kapitel 7: NTFS-Analyse Harald Baier FAT-Analyse / SS 2016 1/64 Vorlesung Computerforensik Kapitel 7: NTFS-Analyse Harald Baier Hochschule Darmstadt, CRISP SS 2016 Harald Baier FAT-Analyse / SS 2016 2/64 General information about

More information

The FAT File System. 1. FAT Overview. 2. Boot Sector, FAT, Root Directory, and Files The FAT F 䤀耄 le System

The FAT File System. 1. FAT Overview. 2. Boot Sector, FAT, Root Directory, and Files The FAT F 䤀耄 le System CIS 24 Home http://www.c jump.com/cis24/cis24syllabus.htm The FAT File System 1. FAT Overview 2. Boot Sector, FAT, Root Directory, and Files 3. FAT File System Layout 4. FAT Clusters and Sectors 5. FAT,

More information

Time Rules for NTFS File System for Digital Investigation

Time Rules for NTFS File System for Digital Investigation Time Rules for NTFS File System for Digital Investigation Tejpal Sharma 1, Manjot Kaur 2 ¹ Assitant Professsor,Deptt. of Computer science and Engg. CGC-College of Engg., Landran Mohali (Punjab), India

More information

HỆ THỐNG FILE TRÊN PC

HỆ THỐNG FILE TRÊN PC MÔN HỆ ĐIỀU HÀNH Chương 8 HỆ THỐNG FILE TRÊN PC 8.1 Cách tổ chức ĩa cứng trên PC 8.2 Qui trình boot máy PC 8.3 Định dạng FAT 8.4 Định dạng NTFS Tài liệu tham khảo : chương 6, sách "Modern Operating Systems",

More information

NTFS File System and Data Security. Yanhui Tu. KingSoft

NTFS File System and Data Security. Yanhui Tu. KingSoft NTFS File System and Data Security Yanhui Tu KingSoft Index 1 File System kernel analysis 2 Stream and Data security 3 Data recover 4 Date overwrite File There are 2 different kinds Metafiles: user can

More information

COMP091 Operating Systems 1. File Systems

COMP091 Operating Systems 1. File Systems COMP091 Operating Systems 1 File Systems Media File systems organize the storage space on persistent media such as disk, tape, CD/DVD/BD, USB etc. Disk, USB drives, and virtual drives are referred to as

More information

File Systems. What do we need to know?

File Systems. What do we need to know? File Systems Chapter 4 1 What do we need to know? How are files viewed on different OS s? What is a file system from the programmer s viewpoint? You mostly know this, but we ll review the main points.

More information

Unit OS8: File System

Unit OS8: File System Unit OS8: File System 8.6. Lab Manual 1 Copyright Notice 2000-2005 David A. Solomon and Mark Russinovich These materials are part of the Windows Operating System Internals Curriculum Development Kit, developed

More information

File System Concepts File Allocation Table (FAT) New Technology File System (NTFS) Extended File System (EXT) Master File Table (MFT)

File System Concepts File Allocation Table (FAT) New Technology File System (NTFS) Extended File System (EXT) Master File Table (MFT) File System Concepts File Allocation Table (FAT) New Technology File System (NTFS) Extended File System (EXT) Master File Table (MFT) 1 FILE SYSTEM CONCEPTS: FILE ALLOCATION TABLE (FAT) Alex Applegate

More information

The Extended MBR (version 1.05) (dated: 01 Nov 2018) by Benjamin David Lunt Copyright (c) Forever Young Software

The Extended MBR (version 1.05) (dated: 01 Nov 2018) by Benjamin David Lunt Copyright (c) Forever Young Software The Extended MBR (version 1.05) (dated: 01 Nov 2018) by Benjamin David Lunt Copyright (c) Forever Young Software 1984-2018 http://www.fysnet.net You may distribute this document in its entirety and/or

More information

Machine Language and System Programming

Machine Language and System Programming زبان ماشين وبرنامه نويسی سيستم Machine Language and System Programming جلسه دوازدھم دانشگاه صنعتی ھمدان پاييز 1389 Objectives Explain the purpose and structure of file systems Describe Microsoft file structures

More information

A Quick Review of On-Disk Layout of Some Popular Disk File Systems

A Quick Review of On-Disk Layout of Some Popular Disk File Systems Global Journal of Computer Science & Technology Volume 11 Issue 6 Version 1.0 April 2011 Type: Double Blind Peer Reviewed International Research Journal Publisher: Global Journals Inc. (USA) Online ISSN:

More information

Guide to Computer Forensics and Investigations Fourth Edition. Chapter 6 Working with Windows and DOS Systems

Guide to Computer Forensics and Investigations Fourth Edition. Chapter 6 Working with Windows and DOS Systems Guide to Computer Forensics and Investigations Fourth Edition Chapter 6 Working with Windows and DOS Systems Understanding Disk Drives Disk drives are made up of one or more platters coated with magnetic

More information

Roadmap for This Lecture

Roadmap for This Lecture File Systems (I) 2 Roadmap for This Lecture File Systems supported by Windows NTFS Design Goals File System Driver Architecture NTFS Operation Windows File System On-Disk Structure 3 Windows File System

More information

FAT16 File System Specification Version 1.0 MMCA Technical Committee

FAT16 File System Specification Version 1.0 MMCA Technical Committee The MultiMediaCard FAT16 File System Specification Version 1.0 MMCA Technical Committee Revision History Version Date Section/ Page Changes compared to previous issue 0.1 all Initial file system spec proposal

More information

RecuperaBit: Forensic File System Reconstruction Given Partially Corrupted Metadata

RecuperaBit: Forensic File System Reconstruction Given Partially Corrupted Metadata Università Ca Foscari Venezia Master s Degree programme Second Cycle (D.M. 270/2004) in Informatica Computer Science Final Thesis Ca Foscari Dorsoduro 3246 30123 Venezia RecuperaBit: Forensic File System

More information

A Formal Logic for Digital Investigations: A Case Study Using BPB Modifications.

A Formal Logic for Digital Investigations: A Case Study Using BPB Modifications. A Formal Logic for Digital Investigations: A Case Study Using BPB Modifications. Abstract I. Mitchell Middlesex University, UK A Formal Logic is developed and the following presented: i) Notation for Formal

More information

File System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

File System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University File System Case Studies Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics The Original UNIX File System FFS Ext2 FAT 2 UNIX FS (1)

More information

File System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

File System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University File System Case Studies Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics The Original UNIX File System FFS Ext2 FAT 2 UNIX FS (1)

More information

CS609 Final Term Subjective Paper Solved with references March (2014)

CS609 Final Term Subjective Paper Solved with references March (2014) CS609 Final Term Subjective Paper Solved with references March (2014) Solved by: Saher/Aqualeo www.freeittips.com Q:1 How large file contents can be managed using FAT? 2 marks Larger files would be comprised

More information

makes floppy bootable o next comes root directory file information ATTRIB command used to modify name

makes floppy bootable o next comes root directory file information ATTRIB command used to modify name File Systems File system o Designed for storing and managing files on disk media o Build logical system on top of physical disk organization Tasks o Partition and format disks to store and retrieve information

More information

ECE 598 Advanced Operating Systems Lecture 17

ECE 598 Advanced Operating Systems Lecture 17 ECE 598 Advanced Operating Systems Lecture 17 Vince Weaver http://web.eece.maine.edu/~vweaver vincent.weaver@maine.edu 3 April 2018 Announcements Project Topics Should have gotten response on project topic

More information

Computer Forensics: Investigating Data and Image Files, 2nd Edition. Chapter 3 Forensic Investigations Using EnCase

Computer Forensics: Investigating Data and Image Files, 2nd Edition. Chapter 3 Forensic Investigations Using EnCase Computer Forensics: Investigating Data and Image Files, 2nd Edition Chapter 3 Forensic Investigations Using EnCase Objectives After completing this chapter, you should be able to: Understand evidence files

More information

Understanding FAT12. Introduction to Computer Forensics. Kessler/Schirling

Understanding FAT12. Introduction to Computer Forensics. Kessler/Schirling Understanding FAT12 Introduction to Computer Forensics Kessler/Schirling Fall 2002 EXP 248 Project #3 You have a floppy disk image file Examine floppy to find an address and a password, and verify MD5

More information

Operating Systems. Lecture File system implementation. Master of Computer Science PUF - Hồ Chí Minh 2016/2017

Operating Systems. Lecture File system implementation. Master of Computer Science PUF - Hồ Chí Minh 2016/2017 Operating Systems Lecture 7.2 - File system implementation Adrien Krähenbühl Master of Computer Science PUF - Hồ Chí Minh 2016/2017 Design FAT or indexed allocation? UFS, FFS & Ext2 Journaling with Ext3

More information

Table 12.2 Information Elements of a File Directory

Table 12.2 Information Elements of a File Directory Table 12.2 Information Elements of a File Directory Basic Information File Name File Type File Organization Name as chosen by creator (user or program). Must be unique within a specific directory. For

More information

ECE 598 Advanced Operating Systems Lecture 14

ECE 598 Advanced Operating Systems Lecture 14 ECE 598 Advanced Operating Systems Lecture 14 Vince Weaver http://www.eece.maine.edu/~vweaver vincent.weaver@maine.edu 19 March 2015 Announcements Homework #4 posted soon? 1 Filesystems Often a MBR (master

More information

CS609 FINAL TERM CURRENT 2014 SUBJECTIVE PAPERS

CS609 FINAL TERM CURRENT 2014 SUBJECTIVE PAPERS CS609 FINAL TERM CURRENT 2014 SUBJECTIVE PAPERS Current papers of CS609 CS609 SUBJECTIVE CURRENT PAPERS SOLVED BY GHAZAL KANGAN Solved Subjective Current Papers Question:1 How large file contents can be

More information

15: Filesystem Examples: Ext3, NTFS, The Future. Mark Handley. Linux Ext3 Filesystem

15: Filesystem Examples: Ext3, NTFS, The Future. Mark Handley. Linux Ext3 Filesystem 15: Filesystem Examples: Ext3, NTFS, The Future Mark Handley Linux Ext3 Filesystem 1 Problem: Recovery after a crash fsck on a large disk can be extremely slow. An issue for laptops. Power failure is common.

More information

Chapter Two File Systems. CIS 4000 Intro. to Forensic Computing David McDonald, Ph.D.

Chapter Two File Systems. CIS 4000 Intro. to Forensic Computing David McDonald, Ph.D. Chapter Two File Systems CIS 4000 Intro. to Forensic Computing David McDonald, Ph.D. 1 Learning Objectives At the end of this section, you will be able to: Explain the purpose and structure of file systems

More information

DOS. 5/1/2006 Computer System Software CS 012 BE 7th Semester 2

DOS. 5/1/2006 Computer System Software CS 012 BE 7th Semester 2 DOS File System DOS The moment we turn the computer on, the computer loads a special program called the operating system into the computer s memory which provides an environment for us to run other programs.

More information

CS609 Final Term Solved MCQs with References Without Repetitions 14/02/2013

CS609 Final Term Solved MCQs with References Without Repetitions 14/02/2013 1 CS609 Final Term Solved MCQs with References Without Repetitions 14/02/2013 In BPB, root directory is saved in. (BIOS parameter block) Cluster#0 Cluster#1 (Ref) Cluster#2 Cluster#3 In NTFS, total sizes

More information

NSTL White Paper. System Performance and File Fragmentation. In Windows NT

NSTL White Paper. System Performance and File Fragmentation. In Windows NT NSTL White Paper File Fragmentation In Windows NT Table of Contents Executive Summary... 3 I. Introduction... 4 File Fragmentation and Data Fragmentation are Different... 4 Fragmentation Can Impede Performance...

More information

WINDISK: A File and disk Editor

WINDISK: A File and disk Editor s WINDISK: A File and disk Editor Table of content Introduction Loading a file Saving the edited file DBCS files DBCS language selection SBCS files Disk geometry Print view Printer Setup Save view to file

More information

Segmentation with Paging. Review. Segmentation with Page (MULTICS) Segmentation with Page (MULTICS) Segmentation with Page (MULTICS)

Segmentation with Paging. Review. Segmentation with Page (MULTICS) Segmentation with Page (MULTICS) Segmentation with Page (MULTICS) Review Segmentation Segmentation Implementation Advantage of Segmentation Protection Sharing Segmentation with Paging Segmentation with Paging Segmentation with Paging Reason for the segmentation with

More information

Filesystem. Disclaimer: some slides are adopted from book authors slides with permission

Filesystem. Disclaimer: some slides are adopted from book authors slides with permission Filesystem Disclaimer: some slides are adopted from book authors slides with permission 1 Recap Directory A special file contains (inode, filename) mappings Caching Directory cache Accelerate to find inode

More information

Chapter 8: Filesystem Implementation

Chapter 8: Filesystem Implementation ADRIAN PERRIG & TORSTEN HOEFLER ( 252-0062-00 ) Networks and Operating Systems Chapter 8: Filesystem Implementation source: xkcd.com Access Control 1 Protection File owner/creator should be able to control:

More information

FYSOS and the Simple File System This document pertains to and is written for the purpose of adding this file system to FYSOS found at:

FYSOS and the Simple File System This document pertains to and is written for the purpose of adding this file system to FYSOS found at: The Simple File System 18 September 2017 Original Design by Brendan Trotter This documentation and minor additions by Benjamin David Lunt Copyright (c) Forever Young Software 1984-2017 Version 1.10.rc02

More information

Microsoft File Allocation Table

Microsoft File Allocation Table Microsoft File Allocation Table CSC362, Information Security originally appeared in late 1970s for small disks with simple folder structures uses a FAT to index files (naturally) the original FAT- 12 gave

More information

Example Implementations of File Systems

Example Implementations of File Systems Example Implementations of File Systems Last modified: 22.05.2017 1 Linux file systems ext2, ext3, ext4, proc, swap LVM Contents ZFS/OpenZFS NTFS - the main MS Windows file system 2 Linux File Systems

More information

Filesystem. Disclaimer: some slides are adopted from book authors slides with permission 1

Filesystem. Disclaimer: some slides are adopted from book authors slides with permission 1 Filesystem Disclaimer: some slides are adopted from book authors slides with permission 1 Storage Subsystem in Linux OS Inode cache User Applications System call Interface Virtual File System (VFS) Filesystem

More information

File System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

File System Case Studies. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University File System Case Studies Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics The Original UNIX File System FFS Ext2 FAT 2 UNIX FS (1)

More information

Adam Harrison Principal Consultant - Verizon VTRAC

Adam Harrison Principal Consultant - Verizon VTRAC Adam Harrison Principal Consultant - Verizon VTRAC Adam Harrison (@harrisonamj) Who I am: Principal Consultant (Forensic Investigator) Verizon Threat Research Advisory Center (VTRAC Investigative Response)

More information

bytes per disk block (a block is usually called sector in the disk drive literature), sectors in each track, read/write heads, and cylinders (tracks).

bytes per disk block (a block is usually called sector in the disk drive literature), sectors in each track, read/write heads, and cylinders (tracks). Understanding FAT 12 You need to address many details to solve this problem. The exercise is broken down into parts to reduce the overall complexity of the problem: Part A: Construct the command to list

More information

8/19/2010. Computer Forensics File system forensics. Data analysis. Process of analysing data. Different layers of information.

8/19/2010. Computer Forensics File system forensics. Data analysis. Process of analysing data. Different layers of information. Computer Forensics File system forensics Thomas Mundt thm@informatik.uni-rostock.de Data analysis Different layers of information. Application data analysis Swap space analysis File system analysis Database

More information

Thanks for the feedback! Chapter 8: Filesystem Implementation. File system operations. Acyclic-Graph Directories. General Graph Directory

Thanks for the feedback! Chapter 8: Filesystem Implementation. File system operations. Acyclic-Graph Directories. General Graph Directory ADRIAN PERRIG & TORSTEN HOEFLER ( 252-0062-00 ) Networks and Operating Systems Chapter 8: Filesystem Implementation Thanks for the feedback! Some answers: I ll provide references to books (I m not only

More information

Initial Bootloader. On power-up, when a computer is turned on, the following operations are performed:

Initial Bootloader. On power-up, when a computer is turned on, the following operations are performed: Initial Bootloader Introduction On power-up, when a computer is turned on, the following operations are performed: 1. The computer performs a power on self test (POST) to ensure that it meets the necessary

More information

THOMAS RUSSELL, Information Technology Teacher

THOMAS RUSSELL, Information Technology Teacher THOMAS RUSSELL, Information Technology Teacher Historical/Conceptual After installing the hard drive it needs to be partitioned. Partitioning is the process of electronically subdividing the physical hard

More information

Boot Process in details for (X86) Computers

Boot Process in details for (X86) Computers Boot Process in details for (X86) Computers Hello,,, Let's discuss what happens between the time that you power up your PC and when the desktop appears. In fact we should know that the boot process differs

More information

CS609 - Final Term Papers Fall 2012

CS609 - Final Term Papers Fall 2012 CS609 - System Programming Solved Subjective From Final term Papers July 10,2013 MC100401285 Moaaz.pk@gmail.com Mc100401285@gmail.com PSMD01 CS609 - Final Term Papers Fall 2012 Q#1 In how many ways higher

More information

HTCIA International Conference. Atlanta, GA. Robert Shullich CPP, CISSP, CISM, CISA, CGEIT, CRISC, GSEC, GCFA. September 20th,

HTCIA International Conference. Atlanta, GA. Robert Shullich CPP, CISSP, CISM, CISA, CGEIT, CRISC, GSEC, GCFA. September 20th, HTCIA International Conference September 20-22, 22 2010 Atlanta, GA Demystifying the Microsoft Extended File System (exfat) Robert Shullich CPP, CISSP, CISM, CISA, CGEIT, CRISC, GSEC, GCFA September 20th,

More information

File Systems Forensics

File Systems Forensics File Systems Forensics Section II. Basic Forensic Techniques and Tools CSF: Forensics Cyber-Security MSIDC, Spring 2017 Nuno Santos Summary! Analysis of file systems! Recovery of deleted files 2 Recall

More information

Figure 1-1 Example of File System Layout

Figure 1-1 Example of File System Layout SATA-IP exfat reference design manual Rev1.1 5-Sep-13 1 Introduction The exfat file system is the successor to FAT32 in the FAT family of file systems. It incorporates several improvements over FAT32 such

More information

Long-term Information Storage Must store large amounts of data Information stored must survive the termination of the process using it Multiple proces

Long-term Information Storage Must store large amounts of data Information stored must survive the termination of the process using it Multiple proces File systems 1 Long-term Information Storage Must store large amounts of data Information stored must survive the termination of the process using it Multiple processes must be able to access the information

More information

File System Implementation. Sunu Wibirama

File System Implementation. Sunu Wibirama File System Implementation Sunu Wibirama File-System Structure Outline File-System Implementation Directory Implementation Allocation Methods Free-Space Management Discussion File System Structure File

More information

The Ensoniq EPS/EPS16+/ASR-10 Bank Format

The Ensoniq EPS/EPS16+/ASR-10 Bank Format The Ensoniq EPS/EPS16+/ASR-10 Bank Format, document version 0.7 1/6 The Ensoniq EPS/EPS16+/ASR-10 Bank Format documented by Thoralt Franz The Ensoniq EPS/EPS16+/ASR-10 Bank Format, document version 0.7

More information

Hard facts. Hard disk drives

Hard facts. Hard disk drives Hard facts Text by PowerQuest, photos and drawings Vlado Damjanovski 2004 What is a hard disk? A hard disk or hard drive is the part of your computer responsible for long-term storage of information. Unlike

More information

Introduction to OS. File Management. MOS Ch. 4. Mahmoud El-Gayyar. Mahmoud El-Gayyar / Introduction to OS 1

Introduction to OS. File Management. MOS Ch. 4. Mahmoud El-Gayyar. Mahmoud El-Gayyar / Introduction to OS 1 Introduction to OS File Management MOS Ch. 4 Mahmoud El-Gayyar elgayyar@ci.suez.edu.eg Mahmoud El-Gayyar / Introduction to OS 1 File Management Objectives Provide I/O support for a variety of storage device

More information

File systems Computer Forensics

File systems Computer Forensics Mag. iur. Dr. techn. Michael Sonntag File systems Computer Forensics E-Mail: sonntag@fim.uni-linz.ac.at http://www.fim.uni-linz.ac.at/staff/sonntag.htm Institute for Information Processing and Microprocessor

More information

FILE SYSTEM IMPLEMENTATION. Sunu Wibirama

FILE SYSTEM IMPLEMENTATION. Sunu Wibirama FILE SYSTEM IMPLEMENTATION Sunu Wibirama File-System Structure Outline File-System Implementation Directory Implementation Allocation Methods Free-Space Management Discussion File-System Structure Outline

More information

Introduction. Secondary Storage. File concept. File attributes

Introduction. Secondary Storage. File concept. File attributes Introduction Secondary storage is the non-volatile repository for (both user and system) data and programs As (integral or separate) part of an operating system, the file system manages this information

More information

Secondary Storage (Chp. 5.4 disk hardware, Chp. 6 File Systems, Tanenbaum)

Secondary Storage (Chp. 5.4 disk hardware, Chp. 6 File Systems, Tanenbaum) Secondary Storage (Chp. 5.4 disk hardware, Chp. 6 File Systems, Tanenbaum) Secondary Stora Introduction Secondary storage is the non volatile repository for (both user and system) data and programs. As

More information

File Systems. CS 4410 Operating Systems. [R. Agarwal, L. Alvisi, A. Bracy, M. George, E. Sirer, R. Van Renesse]

File Systems. CS 4410 Operating Systems. [R. Agarwal, L. Alvisi, A. Bracy, M. George, E. Sirer, R. Van Renesse] File Systems CS 4410 Operating Systems [R. Agarwal, L. Alvisi, A. Bracy, M. George, E. Sirer, R. Van Renesse] The abstraction stack I/O systems are accessed through a series of layered abstractions Application

More information

CHAPTER 11: IMPLEMENTING FILE SYSTEMS (COMPACT) By I-Chen Lin Textbook: Operating System Concepts 9th Ed.

CHAPTER 11: IMPLEMENTING FILE SYSTEMS (COMPACT) By I-Chen Lin Textbook: Operating System Concepts 9th Ed. CHAPTER 11: IMPLEMENTING FILE SYSTEMS (COMPACT) By I-Chen Lin Textbook: Operating System Concepts 9th Ed. File-System Structure File structure Logical storage unit Collection of related information File

More information

Lecture S3: File system data layout, naming

Lecture S3: File system data layout, naming Lecture S3: File system data layout, naming Review -- 1 min Intro to I/O Performance model: Log Disk physical characteristics/desired abstractions Physical reality Desired abstraction disks are slow fast

More information

White Paper Western Digital Comments on Sector Sizes Larger than 512 Bytes

White Paper Western Digital Comments on Sector Sizes Larger than 512 Bytes White Paper Western Digital Comments on June 1, 2005 T13/e05122r2 Revision 2 Technical Editor: Curtis E. Stevens Western Digital Phone: 949-672-7933 E-Mail: Curtis.Stevens@WDC.com THIS WHITEPAPER IS MADE

More information

Digital Investigation

Digital Investigation Digital Investigation 28 (2019) S30eS39 Contents lists available at ScienceDirect Digital Investigation journal homepage: www.elsevier.com/locate/diin Using the object ID index as an investigative approach

More information

FreeBSD and the IBM PC BIOS

FreeBSD and the IBM PC BIOS FreeBSD and the IBM PC BIOS Bruce M. Simpson bms@freebsd.org 27th December 2002 1 Introduction This document is intended as a source of technical information for individuals wishing to support FreeBSD

More information

Hard Disk Organization. Vocabulary

Hard Disk Organization. Vocabulary Hard Disk Organization Vocabulary Platter: one ceramic plate, covered with magnetizable film where the bits are actually stored. Both sides of a platter can be used. Increasing the number of platters is

More information

Garmin Image (IMG) File Format. Herbert Oppmann

Garmin Image (IMG) File Format. Herbert Oppmann Garmin Image (IMG) File Format Herbert Oppmann herby@memotech.franken.de http://www.memotech.franken.de/fileformats/ 2018-01-01 Content Garmin Image (IMG) File Format...4 Basic data types...4 General file

More information

Virtual Memory 1. Virtual Memory

Virtual Memory 1. Virtual Memory Virtual Memory 1 Virtual Memory key concepts virtual memory, physical memory, address translation, MMU, TLB, relocation, paging, segmentation, executable file, swapping, page fault, locality, page replacement

More information

UNIX File Systems. How UNIX Organizes and Accesses Files on Disk

UNIX File Systems. How UNIX Organizes and Accesses Files on Disk UNIX File Systems How UNIX Organizes and Accesses Files on Disk Why File Systems File system is a service which supports an abstract representation of the secondary storage to the OS A file system organizes

More information

Filesystem. Disclaimer: some slides are adopted from book authors slides with permission 1

Filesystem. Disclaimer: some slides are adopted from book authors slides with permission 1 Filesystem Disclaimer: some slides are adopted from book authors slides with permission 1 Recap Blocking, non-blocking, asynchronous I/O Data transfer methods Programmed I/O: CPU is doing the IO Pros Cons

More information

Implementation should be efficient. Provide an abstraction to the user. Abstraction should be useful. Ownership and permissions.

Implementation should be efficient. Provide an abstraction to the user. Abstraction should be useful. Ownership and permissions. File Systems Ch 4. File Systems Manage and organize disk space. Create and manage files. Create and manage directories. Manage free space. Recover from errors. File Systems Complex data structure. Provide

More information

File Systems Ch 4. 1 CS 422 T W Bennet Mississippi College

File Systems Ch 4. 1 CS 422 T W Bennet Mississippi College File Systems Ch 4. Ë ¾¾ Ì Ï ÒÒ Ø Å ÔÔ ÓÐÐ 1 File Systems Manage and organize disk space. Create and manage files. Create and manage directories. Manage free space. Recover from errors. Ë ¾¾ Ì Ï ÒÒ Ø Å

More information

Virtual Memory 1. Virtual Memory

Virtual Memory 1. Virtual Memory Virtual Memory 1 Virtual Memory key concepts virtual memory, physical memory, address translation, MMU, TLB, relocation, paging, segmentation, executable file, swapping, page fault, locality, page replacement

More information

Boot Engineering Extension Record (B.E.E.R.) By Curtis E. Stevens

Boot Engineering Extension Record (B.E.E.R.) By Curtis E. Stevens Boot Engineering Extension Record (B.E.E.R.) By Curtis E. Stevens Agenda Introduction to Booting Why BEER? BEER and Booting BEER and Runtime Services BEER and SETUP Summary Introduction to Booting System

More information

Preview. COSC350 System Software, Fall

Preview. COSC350 System Software, Fall Preview File System File Name, File Structure, File Types, File Access, File Attributes, File Operation Directories Directory Operations File System Layout Implementing File Contiguous Allocation Linked

More information

Filesystems Overview

Filesystems Overview Filesystems Overview ext2, NTFS, ReiserFS, and the Linux Virtual Filesystem Switch mdeters@cs.wustl.edu www.cs.wustl.edu/ doc/ Fall 2003 Seminar on Storage-Based Supercomputing Filesystems Overview: Outline

More information

Computer Systems. Assembly Language for x86 Processors 6th Edition, Kip Irvine

Computer Systems. Assembly Language for x86 Processors 6th Edition, Kip Irvine Computer Systems Assembly Language for x86 Processors 6th Edition, Kip Irvine Chapter 15: Disk Fundamentals Yonsei University Department of Computer Science Jaekyung Kim(kimjk@cs.yonsei.ac.kr) (c) Pearson

More information

CS3210: Booting and x86

CS3210: Booting and x86 CS3210: Booting and x86 Lecture 2 Instructor: Dr. Tim Andersen 1 / 34 Today: Bootstrapping CPU -> needs a first instruction Memory -> needs initial code/data I/O -> needs to know how to communicate 2 /

More information

OSTA. CD UDF with ISO File System for Recording on CD-R and CD-E media

OSTA. CD UDF with ISO File System for Recording on CD-R and CD-E media OSTA CD UDF with ISO-9660 File System for Recording on CD-R and CD-E media Version 1. 8 2 71 September 4July 15, 1996 Table of Contents 1. File System Overview...1 1.1 Advantages...1 2. References...2

More information

FORENSICS CYBER-SECURITY

FORENSICS CYBER-SECURITY FORENSICS CYBER-SECURITY MEIC, METI 2016/2017 1 st Semester 1 st Exam January 10, 2017 Duration: 2h00 - Use a pen only; no extra material is allowed, such as calculator, scratch paper, etc. - Write your

More information

Older geometric based addressing is called CHS for cylinder-head-sector. This triple value uniquely identifies every sector.

Older geometric based addressing is called CHS for cylinder-head-sector. This triple value uniquely identifies every sector. Review: On Disk Structures At the most basic level, a HDD is a collection of individually addressable sectors or blocks that are physically distributed across the surface of the platters. Older geometric

More information

CS3210: Booting and x86. Taesoo Kim

CS3210: Booting and x86. Taesoo Kim 1 CS3210: Booting and x86 Taesoo Kim 2 What is an operating system? e.g. OSX, Windows, Linux, FreeBSD, etc. What does an OS do for you? Abstract the hardware for convenience and portability Multiplex the

More information

Lesson 09: SD Card Interface

Lesson 09: SD Card Interface Lesson 09: SD Card Interface 1. Introduction A Secure Data (SD) card is a data storage device that can be used as massive storage in an embedded system. We will introduce a method to access data on a SD

More information

Typical File Extensions File Structure

Typical File Extensions File Structure CS 355 Operating Systems File Systems File Systems A file is a collection of data records grouped together for purpose of access control and modification A file system is software responsible for creating,

More information

Time Left. sec(s) Quiz Start Time: 12:13 AM. Question # 5 of 10 ( Start time: 12:18:29 AM ) Total Marks: 1

Time Left. sec(s) Quiz Start Time: 12:13 AM. Question # 5 of 10 ( Start time: 12:18:29 AM ) Total Marks: 1 64 Quiz Start Time: 12:13 AM Question # 5 of 10 ( Start time: 12:18:29 AM ) Total Marks: 1 The root directory of floppy contains fixed entries 64 256 128 512 77 Quiz Start Time: 12:13 AM Question # 6 of

More information

21/02/2012. BIOS and boot process Storage devices Partitions. CSN08101 Digital Forensics Lecture 5A: PC Boot Sequence and Storage Devices.

21/02/2012. BIOS and boot process Storage devices Partitions. CSN08101 Digital Forensics Lecture 5A: PC Boot Sequence and Storage Devices. CSN08101 Digital Forensics Lecture 5A: PC Boot Sequence and Storage Devices Module Leader: Dr Gordon Russell Lecturers: Robert Ludwiniak Objectives BIOS and boot process Storage devices Partitions Computer

More information

C13: Files and Directories: System s Perspective

C13: Files and Directories: System s Perspective CISC 7310X C13: Files and Directories: System s Perspective Hui Chen Department of Computer & Information Science CUNY Brooklyn College 4/19/2018 CUNY Brooklyn College 1 File Systems: Requirements Long

More information

Venstar Thermostat Adapter

Venstar Thermostat Adapter Developer Venstar Thermostat Adapter v001 Developer Venstar Thermostat Adapter Version 001 May 23, 2013 Revision History Rev Date Comments 001 05/23/13 Initial Release Page 1 of 13 Table of Contents 1

More information

Kinetis Bootloader to Update Multiple Devices in a Field Bus Network

Kinetis Bootloader to Update Multiple Devices in a Field Bus Network Freescale Semiconductor, Inc. Document Number: AN5204 Application Note Rev. 0, 01/2016 Kinetis Bootloader to Update Multiple Devices in a Field Bus Network 1. Introduction This application note describes

More information