Remote Exploit Forums

Go Back   Remote Exploit Forums > BackTrack 4 (pre) Final > BackTrack 4 Bugs and Fixes


BackTrack 4 Bugs and Fixes Post bugs here. Even better, post FIXES here !

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-12-2009, 05:26 PM
Just burned his ISO
 
Join Date: Dec 2008
Posts: 1
Exclamation BackTrack 4 Pre Release is not forensically safe in "forensics" mode

BackTrack 4 Pre Release recovers Ext3 file systems during the boot process and thus modifies the data on suspect media (including at least one important file system timestamp: "Last Write Time"); the screenshot is below. The "bug" is in initrd casper scripts that perform unsafe fake read-only mounts of several file system types. The patch for scripts/casper-helpers function get_fstype():

Code:
 get_fstype() { 
     local FSTYPE 
     local FSSIZE 
     eval $(fstype < $1) 
 
     # Fix: do not allow journal recovery on Ext3 
     if [ "$FSTYPE" = "ext3" ]; then 
         echo "ext2" 
         return 0 
     fi 
 
     # Fix: do not allow journal recovery on Ext4 
     if [ "$FSTYPE" = "ext4" ]; then 
         echo "ext2" 
         return 0 
     fi 
 
     if [ "$FSTYPE" != "unknown" ]; then 
         echo $FSTYPE 
         return 0 
     fi 
     /lib/udev/vol_id -t $1 2>/dev/null 
 }
This will force all possible Ext3/4 mounts during the boot to disable all journal recovery actions.

hxxp://img53.imageshack.us/img53/8003/bt4fail.png (change to "http"; not allowed to post URLs to external sites)
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:41 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2