Linux and Macintosh File Systems

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/68

flashcard set

Earn XP

Description and Tags

Flashcards covering Linux and Macintosh file systems for cyber forensics and incident response.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

69 Terms

1
New cards

UNIX Distributions

Silicon Graphics, Inc. (SGI) IRIX, Santa Cruz Operation (SCO) UnixWare, Sun Solaris, IBM AIX, and HP-UX

2
New cards

Linux distributions

Ubuntu, Debian, Red Hat, OpenSUSE, and Slackware

3
New cards

/usr directory in Linux

Most applications and commands; contains binary files required at boot time (bin) and binaries needing superuser permission (sbin)

4
New cards

/etc directory in Linux

Most system configuration files

5
New cards

/home directory in Linux

Home directories for all users, typically named after usernames

6
New cards

/root directory in Linux

Home directory for the root user (superuser)

7
New cards

/dev directory in Linux

Device files that act as stand-ins for the devices they represent

8
New cards

/var directory in Linux

Subdirectories like log, mail, and spool

9
New cards

/etc/exports

File systems exported to remote hosts, possibly including remote drive mappings

10
New cards

/etc/fstab

File system table of devices and mount points

11
New cards

/var/log/lastlog

User's last logon

12
New cards

/var/log/wtmp

Logon and logoff history information

13
New cards

/var/run/utmp

Current user's logon information

14
New cards

/var/log/dmesg

System messages log

15
New cards

/var/log/syslog

System log, which might be called system.log or kernel.log

16
New cards

/etc/shadow

Master password file, stores hashed passwords

17
New cards

/etc/group

Group memberships for the local system

18
New cards

/etc/passwd

Account information for the local system

19
New cards

uname -a

Finds the name of your computer and the Linux Kernel revision number

20
New cards

pwd

Identifies the current path

21
New cards

ls

Sees a list of the directory's contents

22
New cards

ifconfig

Sees your network interfaces wired, wireless, firewire, and so on

23
New cards

cd

Navigates to the root directory

24
New cards

sudo cat /etc/passwd

Sees a listing of all user accounts configured for the system

25
New cards

Third Extended File System (Ext3)

Replaced Ext2 in most Linux distributions

26
New cards

Fourth Extended File System (Ext4)

Added support for partitions larger than 16 TB

27
New cards

The extended file system (ext)

Has max 2 GB partition size and max 255 filename characters

28
New cards

inode

Basic building block of Ext2

29
New cards

journaling feature

Ensures that information on updates is recorded so it can recover unsaved data

30
New cards

Block

Disk allocation unit of at least 512 bytes

31
New cards

Superblock

Indicates disk geometry, available space, and location of the first inode; manages the file system

32
New cards

Inode blocks

First data after the superblock; assigned to every file allocation unit

33
New cards

Data blocks

Location where directories and files are stored, linked directly to inodes

34
New cards

Bad Block Inode

Keeps track of disk's bad sectors

35
New cards

Hard link

A pointer that allows accessing the same file by different filenames

36
New cards

Link count

A field inside each inode that specifies the number of hard links

37
New cards

Symbolic links

Pointers to other files not included in the link; also known as soft links or symlinks

38
New cards

MAC OS X

Built on a core called Darwin; consists of a Berkeley Software Distribution (BSD) UNIX application layer

39
New cards

Hierarchical File System (HFS)

Files stored in nested directories (folders)

40
New cards

Extended Format File System (HFS+)

Supports smaller file sizes on larger volumes, resulting in more efficient disk use

41
New cards

Apple File System (APFS)

Metadata is also copied to help with crash protection; supports TRIM operations, sparse files, cloning, timestamp granularity, etc.

42
New cards

Data fork

Typically contains data the user creates, such as text or spreadsheets

43
New cards

Resource fork (RF)

Stores file metadata (like icon) and application information

44
New cards

Volume

Any storage medium used to store files

45
New cards

Catalog

The listing of all files and directories on the volume; maintains relationships between files and directories

46
New cards

MacOS

Stores user settings in the form of property list format (plist)

47
New cards

Spotlight

Used to search for specific keywords that show malicious activities

48
New cards

Foremost

A freeware carving tool that can read many image file formats

49
New cards

lsof –p [process ID]

Prints list of open files and their paths

50
New cards

python vol.py - -file= --profile= linux_bash

Outputs the user’s command history from the memory

51
New cards

dmesg [options]

Outputs the entire kernel buffer, without stops, e.g. RAM, messages from hardware

52
New cards

mount [options]

Outputs all attached filesystems available on the system

53
New cards

lsmod

Outputs the status of modules in the Kernel; outputs a list of loaded modules

54
New cards

pslist

Outputs all processes that were running on the machine

55
New cards

Freta tool

Malicious software, kernel roots, hiding processed etc

56
New cards

Plist files

For installed applications on a system

57
New cards

Third Extended File System (Ext3)

Replaced Ext2 in most Linux distributions

58
New cards

Fourth Extended File System (Ext4)

Added support for partitions larger than 16 TB

59
New cards

The extended file system (ext)

Has max 2 GB partition size and max 255 filename characters

60
New cards

inode

Basic building block of Ext2

61
New cards

journaling feature

Ensures that information on updates is recorded so it can recover unsaved data

62
New cards

Block

Disk allocation unit of at least 512 bytes

63
New cards

Superblock

Indicates disk geometry, available space, and location of the first inode; manages the file system

64
New cards

Inode blocks

First data after the superblock; assigned to every file allocation unit

65
New cards

Data blocks

Location where directories and files are stored, linked directly to inodes

66
New cards

Bad Block Inode

Keeps track of disk's bad sectors

67
New cards

Hard link

A pointer that allows accessing the same file by different filenames

68
New cards

Link count

A field inside each inode that specifies the number of hard links

69
New cards

Pointers to other files not included in the link; also known as soft links or symlinks