Difference between pages "Forensic Live CD issues" and "Content Lost in Migration"

From ForensicsWiki
(Difference between pages)
Jump to: navigation, search
m (Incorrect write-blocking approach)
 
m
 
Line 1: Line 1:
== The problem ==
+
Below is a list of the pages that Google says no longer exists on the ForensicsWiki. In going through the backups it appears that the pages were never created in the first place. If you know of content that is missing please contact us.
  
[[Live CD|Forensic Live CDs]] are widely used during computer forensic investigations. Currently, many vendors of such Live CD distributions spread false claims that their distributions "do not touch anything", "write protect everything" and so on. Unfortunately, community-developed distributions are no exception here. Finally, it turns out that many Linux-based forensic Live CDs are not tested properly and there are no suitable test cases published.
+
 +
wiki/Forensics_Wiki:General_disclaimer
 +
 +
404
 +
 +
5/25/14
 +
 +
2
 +
 +
index.php?title=LNK
 +
 +
404
 +
 +
4/11/14
 +
 +
3
 +
 +
wiki/Talk:Ddrescue
 +
 +
404
 +
 +
6/14/14
 +
 +
4
 +
 +
wiki/RIPEMD-160
 +
 +
404
 +
 +
6/14/14
 +
 +
5
 +
 +
wiki/Brute-force
 +
 +
404
 +
 +
6/14/14
 +
 +
6
 +
 +
wiki/Whirlpool
 +
 +
404
 +
 +
6/14/14
 +
 +
7
 +
 +
wiki/Guy_Voncken
 +
 +
404
 +
 +
6/14/14
 +
 +
8
 +
 +
wiki/Darren_Bilby
 +
 +
404
 +
 +
6/14/14
 +
 +
9
 +
 +
wiki/Disk_imaging
 +
 +
404
 +
 +
6/14/14
 +
 +
10
 +
 +
wiki/SquashFS
 +
 +
404
 +
 +
6/14/14
 +
 +
11
 +
 +
wiki/Talk:GELI
 +
 +
404
 +
 +
6/14/14
 +
 +
12
 +
 +
wiki/Daubert
 +
 +
404
 +
 +
6/14/14
 +
 +
13
 +
 +
wiki/GEOM
 +
 +
404
 +
 +
6/14/14
 +
 +
14
 +
 +
wiki/RAID
 +
 +
404
 +
 +
6/14/14
 +
 +
15
 +
 +
wiki/CBC
 +
 +
404
 +
 +
6/14/14
 +
 +
16
 +
 +
wiki/Ubuntu
 +
 +
404
 +
 +
6/14/14
 +
 +
17
 +
 +
wiki/Key-file
 +
 +
404
 +
 +
6/14/14
 +
 +
18
 +
 +
wiki/LWR
 +
 +
404
 +
 +
6/14/14
 +
 +
19
 +
 +
wiki/CAST
 +
 +
404
 +
 +
6/14/14
 +
 +
20
 +
 +
wiki/XTS
 +
 +
404
 +
 +
6/14/14
 +
 +
21
 +
 +
wiki/Talk:Volatility_Framework
 +
 +
404
 +
 +
6/14/14
 +
 +
22
 +
 +
wiki/Talk:Volatility
 +
 +
404
 +
 +
6/14/14
 +
 +
23
 +
 +
wiki/Lodovico_Marziale
 +
 +
404
 +
 +
6/14/14
 +
 +
24
 +
 +
wiki/Open_source
 +
 +
404
 +
 +
6/14/14
 +
 +
25
 +
 +
wiki/Talk:OpenBSD
 +
 +
404
 +
 +
6/14/14
 +
  
== Another side of the problem ==
+
 
+
26
Another side of the problem of insufficient testing of forensic Live CDs is that many users do not know what happens "under the hood" of the provided operating system and cannot adequately test them.
+
 
+
wiki/Directory
=== Example ===
+
 
+
404
For example, [http://forensiccop.blogspot.com/2009/10/forensic-cop-journal-13-2009.html ''Forensic Cop Journal'' (Volume 1(3), Oct 2009)] describes a test case when an Ext3 file system was mounted using "-o ro" mount flag as a way to write protect the data. The article says that all tests were successful (i.e. no data modification was found after unmounting the file system), but it is known that damaged (i.e not properly unmounted) Ext3 file systems cannot be write protected using only "-o ro" mount flags (write access will be enabled during file system recovery).
+
 
+
6/14/14
And the question is: will many users test damaged Ext3 file system (together with testing the clean one) when validating their favourite forensic Live CD distribution? My answer is "no", because many users are unaware of such traits.
+
 
+
27
== Problems ==
+
 
+
wiki/Yaffs
Each problem is followed by a list of distributions affected (currently this list is not up-to-date).
+
 
+
404
=== Journaling file system updates ===
+
 
+
6/14/14
When mounting (and unmounting) several journaling file systems with only "-o ro" mount flag a different number of data writes may occur. Here is a list of such file systems:
+
 
+
28
{| class="wikitable" border="1"
+
|-
+
wiki/Talk:Excel_Spreadsheet_(XLS)
!  File system
+
!  When data writes happen
+
404
!  Notes
+
|-
+
6/14/14
|  Ext3
+
|  File system requires journal recovery
+
29
|  To disable recovery: use "noload" flag, or use "ro,loop" flags, or use "ext2" file system type
+
|-
+
wiki/TCFS
|  Ext4
+
|  File system requires journal recovery
+
404
|  To disable recovery: use "noload" flag, or use "ro,loop" flags, or use "ext2" file system type
+
|-
+
6/14/14
|  ReiserFS
+
|  File system has unfinished transactions
+
30
|  "nolog" flag does not work (see ''man mount''). To disable journal updates: use "ro,loop" flags
+
|-
+
wiki/Wipe
|  XFS
+
|  Always (when unmounting)
+
404
|  "norecovery" flag does not help (fixed in recent 2.6 kernels). To disable data writes: use "ro,loop" flags.
+
|}
+
6/14/14
 
+
Incorrect mount flags can be used to mount file systems on evidentiary media during the boot process or during the file system preview process. As described above, this may result in data writes to evidentiary media. For example, several Ubuntu-based forensic Live CD distributions mount and recover damaged Ext3/4 file systems on fixed media (e.g. hard drives) during execution of [http://en.wikipedia.org/wiki/Initrd ''initrd''] scripts (these scripts mount every supported file system type on every supported media type using only "-o ro" flag in order to find a root file system image).
+
31
 
+
[[Image:ext3 recovery.png|thumb|right|[[Helix3]]: damaged Ext3 recovery during the boot]]
+
wiki/WvWare
 
+
List of distributions that recover Ext3 (and sometimes Ext4) file systems during the boot:
+
404
 
+
{| class="wikitable" border="1"
+
6/14/14
|-
+
!  Distribution
+
32
!  Version
+
|-
+
wiki/NCryptfs
|  Helix3
+
|  2009R1
+
404
|-
+
|  SMART Linux (Ubuntu)
+
6/14/14
|  2010-01-20
+
|-
+
33
|  FCCU GNU/Linux Forensic Boot CD
+
|  12.1
+
wiki/SmartCard
|-
+
|  SPADA
+
404
|  4
+
|-
+
6/14/14
|  DEFT Linux
+
|  7
+
34
|}
+
 
+
wiki/Shred
=== Orphan inodes deletion ===
+
 
+
404
When mounting Ext3/4 file systems all orphan inodes are removed, even if "-o ro" mount flag was specified. Currently, there is no specific mount flag to disable orphan inodes deletion. The only solution here is to use "-o ro,loop" flags.
+
 
+
6/14/14
=== Root file system spoofing ===
+
 
+
35
''See also: [[Early userspace | early userspace]]''
+
 
+
wiki/Scanners
Most Ubuntu-based forensic Live CD distributions use Casper (a set of scripts used to complete initialization process during early stage of boot). Casper is responsible for searching for a root file system (typically, an image of live environment) on all supported devices (because a bootloader does not pass any information about device used for booting to the kernel), mounting it and executing ''/sbin/init'' program on a mounted root file system that will continue the boot process. Unfortunately, Casper was not designed to meet computer forensics requirements and is responsible for damaged Ext3/4 file systems recovery during the boot (see above) and root file system spoofing.
+
 
+
404
[[Image:Grml.png|thumb|right|[[grml]] mounted root file system from the [[hard drive]]]]
+
 
+
6/14/14
Currently, Casper may select fake root file system image on evidentiary media (e.g. [[Hard Drive|HDD]]), because there are no authenticity checks performed (except optional UUID check for a possible live file system), and this fake root file system image may be used to execute malicious code during the boot with root privileges. Knoppix-based forensic Live CD distributions are vulnerable to the same attack.
+
 
+
36
List of Ubuntu-based distributions that allow root file system spoofing:
+
 
+
wiki/Address_Resolution_Protocol
{| class="wikitable" border="1"
+
|-
+
404
!  Distribution
+
!  Version
+
6/14/14
|-
+
|  Helix3
+
37
|  2009R1
+
|-
+
wiki/Biew
|  Helix3 Pro
+
|  2009R3
+
404
|-
+
|  CAINE
+
6/14/14
|  1.5
+
|-
+
38
|  DEFT Linux
+
|  5
+
wiki/CFS
|-
+
|  Raptor
+
404
|  2.0
+
|-
+
6/14/14
|  BackTrack
+
|  4
+
39
|-
+
|  SMART Linux (Ubuntu)
+
wiki/Hardware
|  2010-01-20
+
|-
+
404
|  FCCU GNU/Linux Forensic Boot CD
+
|  12.1
+
6/14/14
|}
+
 
+
40
Vulnerable Knoppix-based distributions include: SPADA, LinEn Boot CD, BitFlare.
+
 
+
wiki/Hexdump
[http://anti-forensics.ru/ Anti-Forensics.Ru project] [http://digitalcorpora.org/corp/aor/drives/ released several ISO 9660 images] used to test various Linux Live CD distributions for root file system spoofing (description for all images is [http://anti-forensics.ru/casper/ here]).
+
 
+
404
=== Swap space activation ===
+
 
+
6/14/14
''Feel free to add information about swap space activation during the boot in some distributions''
+
 
+
41
=== Incorrect mount policy ===
+
 
+
wiki/Ldd
==== rebuildfstab and scanpartitions scripts ====
+
 
+
404
Several forensic Linux Live CD distributions (Helix3 2009R1, Helix3 Pro 2009R3, old versions of CAINE, old versions of grml) use rebuildfstab and scanpartition scripts to create entries for attached devices in ''/etc/fstab''. Some versions of these scripts use wrong wildcards while searching for available block devices (''/dev/?d?'' instead of ''/dev/?d*''), this results in missing several "exotic" devices (like /dev/sdad, /dev/sdad1, etc) and in data writes when mounting them (because fstab lacks of read-only mount options for these devices).
+
 
+
6/14/14
=== Incorrect write-blocking approach ===
+
 
+
42
Some forensic Linux Live CD distributions rely on [[hdparm]] and [[blockdev]] programs to mount file systems in read-only mode (by setting the underlying block device to read-only mode). Unfortunately, setting a block device to read-only mode does not guarantee that [http://oss.sgi.com/archives/xfs/2009-07/msg00213.html no write commands will be passed to the drive]. There were several other bugs related to writing on a read-only block device in the past (like [https://lkml.org/lkml/2007/2/6/1 Ext3/4 orphan inodes deletion]). At present (Linux 3.14.2), kernel code still disregards read-only mode set on block devices in many places (it should be noted that setting a block device to read-only mode will efficiently write-protect the drive from programs running in userspace, while kernel and its modules still can write anything to the block device, regardless of the read-only mode).
+
 
+
wiki/Ltrace
=== TRIM aka discard command ===
+
 
+
404
== External links ==
+
 
+
6/14/14
* [http://www.computer-forensics-lab.org/pdf/Linux_for_computer_forensic_investigators_2.pdf Linux for computer forensic investigators: problems of booting trusted operating system]
+
* [http://www.computer-forensics-lab.org/pdf/Linux_for_computer_forensic_investigators.pdf Linux for computer forensic investigators: «pitfalls» of mounting file systems]
+
43
 
+
[[Category:Live CD]]
+
wiki/Memory_Card
 +
 +
404
 +
 +
6/14/14
 +
 +
44
 +
 +
wiki/OLE-2
 +
 +
404
 +
 +
6/14/14
 +
 +
45
 +
 +
wiki/Other_Devices
 +
 +
404
 +
 +
6/14/14
 +
 +
46
 +
 +
wiki/SFS
 +
 +
404
 +
 +
6/14/14
 +
 +
47
 +
 +
wiki/Sdd
 +
 +
404
 +
 +
6/14/14
 +
 +
48
 +
 +
wiki/Kevin_Fairbanks
 +
 +
404
 +
 +
6/14/14
 +
 +
49
 +
 +
index.php?title=Timestomp
 +
 +
404
 +
 +
4/11/14
 +
 +
50
 +
 +
wiki/Metasploi
 +
 +
404
 +
 +
6/14/14
 +
 +
26-50 of 51

Latest revision as of 07:51, 16 June 2014

Below is a list of the pages that Google says no longer exists on the ForensicsWiki. In going through the backups it appears that the pages were never created in the first place. If you know of content that is missing please contact us.


wiki/Forensics_Wiki:General_disclaimer

404

5/25/14

2

index.php?title=LNK

404

4/11/14

3

wiki/Talk:Ddrescue

404

6/14/14

4

wiki/RIPEMD-160

404

6/14/14

5

wiki/Brute-force

404

6/14/14

6

wiki/Whirlpool

404

6/14/14

7

wiki/Guy_Voncken

404

6/14/14

8

wiki/Darren_Bilby

404

6/14/14

9

wiki/Disk_imaging

404

6/14/14

10

wiki/SquashFS

404

6/14/14

11

wiki/Talk:GELI

404

6/14/14

12

wiki/Daubert

404

6/14/14

13

wiki/GEOM

404

6/14/14

14

wiki/RAID

404

6/14/14

15

wiki/CBC

404

6/14/14

16

wiki/Ubuntu

404

6/14/14

17

wiki/Key-file

404

6/14/14

18

wiki/LWR

404

6/14/14

19

wiki/CAST

404

6/14/14

20

wiki/XTS

404

6/14/14

21

wiki/Talk:Volatility_Framework

404

6/14/14

22

wiki/Talk:Volatility

404

6/14/14

23

wiki/Lodovico_Marziale

404

6/14/14

24

wiki/Open_source

404

6/14/14

25

wiki/Talk:OpenBSD

404

6/14/14


26

wiki/Directory

404

6/14/14

27

wiki/Yaffs

404

6/14/14

28

wiki/Talk:Excel_Spreadsheet_(XLS)

404

6/14/14

29

wiki/TCFS

404

6/14/14

30

wiki/Wipe

404

6/14/14

31

wiki/WvWare

404

6/14/14

32

wiki/NCryptfs

404

6/14/14

33

wiki/SmartCard

404

6/14/14

34

wiki/Shred

404

6/14/14

35

wiki/Scanners

404

6/14/14

36

wiki/Address_Resolution_Protocol

404

6/14/14

37

wiki/Biew

404

6/14/14

38

wiki/CFS

404

6/14/14

39

wiki/Hardware

404

6/14/14

40

wiki/Hexdump

404

6/14/14

41

wiki/Ldd

404

6/14/14

42

wiki/Ltrace

404

6/14/14

43

wiki/Memory_Card

404

6/14/14

44

wiki/OLE-2

404

6/14/14

45

wiki/Other_Devices

404

6/14/14

46

wiki/SFS

404

6/14/14

47

wiki/Sdd

404

6/14/14

48

wiki/Kevin_Fairbanks

404

6/14/14

49

index.php?title=Timestomp

404

4/11/14

50

wiki/Metasploi

404

6/14/14

26-50 of 51