Guide to Computer Forensics and Investigations: Linux and Macintosh File Systems

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/90

flashcard set

Earn XP

Description and Tags

A comprehensive set of 1000 flashcards reviewing important concepts and definitions related to Linux and Macintosh file systems, tailored for examination preparation.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

91 Terms

1
New cards

What are the objectives of Chapter 7 in the guide?

Describe Linux file structures, Describe Macintosh file structures, Use Linux forensics tools.

2
New cards

What was the early file system standard for Linux?

Second Extended File System (Ext2).

3
New cards

Which file system replaced Ext2 in most Linux distributions?

Third Extended File System (Ext3).

4
New cards

What does the Fourth Extended File System (Ext4) provide support for?

Partitions larger than 16 TB and improved management of large files.

5
New cards

What command do you use to create a hard link in Linux?

ln command.

6
New cards

What does the superblock in a UNIX/Linux file system specify?

Disk geometry, available space, and it keeps track of all inodes.

7
New cards

What is contained in the inode block?

First data after the superblock, assigned to every file allocation unit.

8
New cards

What is the function of data blocks?

They store directories and files on a disk drive.

9
New cards

What do pointers 1 to 10 in an inode do?

They are direct pointers to data storage blocks.

10
New cards

What type of inode pointer links to 128 pointer inodes?

Pointer 11, which is an indirect pointer.

11
New cards

What is a bad block inode?

It keeps track of the disk’s bad sectors.

12
New cards

What are symbolic links also known as?

Soft links or symlinks.

13
New cards

What is the main function of the volume in Mac OS?

It is any storage medium used to store files.

14
New cards

What files store application settings in macOS?

Plaintext, plist files, and the SQLite database.

15
New cards

How are deleted files handled at the command line in macOS?

They do not show up in the trash.

16
New cards

What does FileVault do in macOS?

It is used to encrypt and decrypt a user’s /users directory.

17
New cards

What format did files use before OS X in macOS?

Hierarchical File System (HFS).

18
New cards

What is the catalog in macOS?

It is a listing of all files and directories on the volume.

19
New cards

What does an inode contain for a file?

Mode and type of file, number of links, UID and GID, file size, last access time, and last modified time.

20
New cards

What are clumps in the context of Mac file structures?

Groups of contiguous allocation blocks that reduce fragmentation.

21
New cards

What are allocation blocks in macOS?

A set of consecutive logical blocks.

22
New cards

What is the function of a Master Directory Block (MDB)?

It stores all information about a volume.

23
New cards

What does unified logging in macOS record?

Log files for applications and system activities.

24
New cards

What is the role of the Volume Control Block (VCB)?

It stores information from the MDB when OS mounts.

25
New cards

Which command can be used to find bad blocks on a Linux computer?

badblocks command, must be logged in as root.

26
New cards

What is a file's data fork?

It typically contains data the user creates, such as text or spreadsheets.

27
New cards

What is an inode's last status change time?

It indicates when the attributes of the file were last changed.

28
New cards

What does the bad block inode help in identifying?

It helps in identifying sectors on a disk that are corrupted or unusable.

29
New cards

How many pointers does the first inode have?

13 pointers.

30
New cards

What is the indirect pointer in an inode used for?

To link to additional blocks that contain file data.

31
New cards

What is the purpose of the file system in UNIX/Linux?

To manage files, directories, and their metadata.

32
New cards

How does macOS handle deleted files when they are deleted through the command line?

They bypass the Trash and are not recoverable directly.

33
New cards

What is the Apple File System (APFS)?

A file system introduced in macOS High Sierra that helps with crash protection.

34
New cards

What kind of access do macOS users have to other user accounts' files?

Limited access.

35
New cards

What is the format of plist files?

Preference files for installed applications on a macOS system.

36
New cards

What does the second and third extended file systems (Ext3 and Ext4) improve compared to Ext2?

Improved file recovery and management, along with larger partition support.

37
New cards

What is the role of the data block in a filesystem?

Where directories and files are stored.

38
New cards

In Linux, what does everything represent?

Everything is a file.

39
New cards

What is contained within the resource fork of a file in macOS?

Additional information such as menus and dialog boxes.

40
New cards

How do symbolic links differ from hard links?

Symbolic links point to other files and can exist across storage devices, while hard links point to the same inode.

41
New cards

What are utilities for macOS forensic analysis mentioned in the guide?

BlackBag Technologies, MacQuisition, EnCase, X-Ways Forensics.

42
New cards

What constitutes a hard link in Linux?

A pointer that allows accessing the same file with different filenames.

43
New cards

What kind of operating system is UNIX described in the lecture?

Multiuser, multithreaded, and secure OS.

44
New cards

What is the primary function of the allocation block in macOS?

To allocate storage for files.

45
New cards

What are the pointers 12 and 13 in an inode?

A double-indirect pointer and a triple-indirect pointer respectively.

46
New cards

What does 'everything is a file' imply in UNIX/Linux?

All resources, including devices and processes, are treated as files.

47
New cards

What challenge do examiners face when acquiring images from macOS systems?

Physical access to the drive.

48
New cards

What component defines the file system along with boot block, superblock, and data block in UNIX/Linux?

Inode block.

49
New cards

What role did the Extended Format File System (HFS+) play in macOS?

Supports smaller file sizes on larger volumes for efficient disk use.

50
New cards

What type of blocks do logical blocks in macOS not exceed in size?

512 bytes.

51
New cards

What tool can be used to create an image of a macOS drive?

MacQuisition or forensic boot CD/DVD.

52
New cards

How do bad blocks affect a file system?

They can cause data loss and corruption in the file system.

53
New cards

What type of files does the user typically create in the data fork?

User-generated content such as documents and spreadsheets.

54
New cards

How many logical EOF descriptors are there and what do they represent?

Two: Logical EOF represents the actual end of the file, and Physical EOF represents bytes allotted.

55
New cards

What does the inode block do in a UNIX/Linux filesystem?

Holds metadata for files.

56
New cards

Which tools are mentioned for forensic analysis of Linux filesystems?

Sleuth Kit, Autopsy, Foremost.

57
New cards

In the context of file structures, what is fragmentation?

The condition when files are divided into non-contiguous blocks.

58
New cards

What is the significance of the boot block in UNIX/Linux systems?

Contains the bootstrap code needed to start the operating system.

59
New cards

What is the relationship between files and directories in macOS file systems?

Files are stored within directories which organize them hierarchically.

60
New cards

What metadata is contained in an inode for each file?

Size, ownership (UID and GID), permissions, timestamps.

61
New cards

What process must users follow to use the Sleuth Kit and Autopsy efficiently?

They need to have root privileges.

62
New cards

What do users need to know for forensics procedures in macOS?

Where file system components are located and how files are stored.

63
New cards

What is the purpose of the End of File (EOF) descriptors in macOS?

To indicate the end of a file's data.

64
New cards

What type of files contains file metadata in macOS?

Files in the resource fork.

65
New cards

What is a volume in macOS?

Any storage medium used to store files.

66
New cards

What is the function of the B*-tree file system in earlier Mac versions?

It organizes files and directories for efficient access.

67
New cards

What do you need to consider when creating hard links in Linux?

That they point to the same file and share the same inode.

68
New cards

How does macOS's Unix-based system enhance security?

Through improved access controls and encryption capabilities.

69
New cards

What command should be used to check the file system for errors in Linux?

e2fsck command.

70
New cards

How does the presence of bad blocks impact data integrity in UNIX/Linux?

They may cause data loss or file corruption.

71
New cards

What does a logical block consist of in macOS?

It cannot exceed a set size, usually 512 bytes.

72
New cards

What must a forensic examiner do to examine a case with the Sleuth Kit?

Follow instructions to use the tool properly.

73
New cards

What characterizes the ownership of a file in UNIX/Linux?

It is characterized by UID (user ID) and GID (group ID).

74
New cards

What is the volume control block (VCB) used for in macOS?

It stores information when the operating system mounts a volume.

75
New cards

What challenges do forensic investigators face with macOS file systems?

Limited access and physical constraints related to drive removal.

76
New cards

What is a utility available for macOS forensic analysis?

BlackBag Technologies.

77
New cards

What aspects do UNIX-like operating systems share with Windows OSs?

They all have a kernel.

78
New cards

What does Ext4 add in terms of file management?

More flexibility and improved management for large files.

79
New cards

What is the core purpose of the inode in UNIX/Linux filesystems?

To hold metadata about a file.

80
New cards

What kind of applications may read and write data in the data fork of a Mac file?

Applications that create user content.

81
New cards

What practices should you follow while using Linux commands?

Be aware that commands are case-sensitive.

82
New cards

Which format does the Master Directory Block (MDB) use to organize information?

Stores information about the volume including file allocations.

83
New cards

What can the inode's generation number indicate?

Versioning information of the file.

84
New cards

What does the command 'badblocks' require in terms of permissions?

Must be executed with root privileges.

85
New cards

What type of pointer is described as a triple-indirect pointer?

Pointer 13 in the inode structure.

86
New cards

What file format is used for configuration in the Foremost data recovery tool?

foremost.conf.

87
New cards

What can happen if you attempt to create links on a case-insensitive file system?

There may be unexpected results due to name conflicts.

88
New cards

What is essential for maintaining file system integrity?

Using tools like e2fsck and ensuring no overwriting of important data.

89
New cards

How many components define the file system in UNIX and Linux?

Four components: boot block, superblock, inode block, and data block.

90
New cards

Which system allowed Apple to enhance macOS with better security?

The transition to being Unix-based.

91
New cards

What system structure allows for the organization of file systems?

Hierarchical File System that nests directories.