Table of Contents

System Forensics, Investigation, and Response Day 1-3

Day 1

port 445 for windows – fileshares, cifs, smb fileshares, netbios a little, direcotry services, rpc, lots of stuff.

0xEBFE jumps back two spaces and loops to produce a processor spike.

Computer Forensics Primer..5

AUP should wave all rights of privacy.

# Following best practices (like chain of custody) of data integrity is used to show expertise in handling evidence. Law enforcement is leagaly bound to follow chain of custody rules. Absence of tampering cannot be used to throw out evidence because it 'could' be tampered with. Evidence of tampering must be present to bring up evidence tampering arguments.


# live image

Forensic Investigation Methodology..19

File System Essentials..30

physical

Drive itself

first 512 bytes(one sector) are MBR

In MBR are partition table and boot loader (LILO, Grub, Windows has one, partition magic has one)

length of partions is in MBR

partition ends in 55aa

DOS based partitions are used by x86 Intel systems despite OS

the 512 byte MBR can have a max of 4 partitions max in MBR

partition table tells starting sector, number of sectors and type (ext3, ntfs, swap)

one of the 4 can designate an extended partion

At the begining of the extended partion is a 512 byte sector of another partition table, or an extended partition table.

file system

uses 512 byte sectors

cluster, fragment or block (depending on OS) can be multiple sectors.

data

everything sits at the data layer

metadata

Similar to Card Catalog

Generic name for metadata is inode. In windows ntfs=master file table entry; fat=fat directory.

many blocks or cluster can be associated with a file,

filename

How the three layers interact

  1. Physical layer–Hard drive
  2. File system Layer–includes partitioning information
  3. Data Layer–Start of partition, addressable block or cluster. allocated/not allocated. multiple sectors.
  4. metadata layer is card catalog. points to data layer
  5. filename points to inode number.

Page 42 has Partition table entry contents

mount (to determine the device name)
dd if=/dev/hda bs=512 count=1 of=mbr.img

Linux FileSystem Basics (Ext2 and EXT3)..56

Linux Ext2/Ext3 File system layer (Superblock)

  1. Block size
  2. Total Number of Blocks
  3. Number of Blocks per group
  4. Number of reserved blocks(prior to first block group.)
  5. total number of inodes
  6. number of inodes per block group

table of contents at each block group Page 58

inode has enough pointer for 12 addressed. 13th entry is an indirect block list. 14th is double indirect block.

Windows File System Basics..70