Thread: [sleuthkit-users] dls rawfs_block_walk errors
Brought to you by:
carrier
|
From: Mark K. M. <mar...@la...> - 2006-05-25 04:14:14
|
Hi all, I'm using Sleuthkit 2.03 and Autopsy 2.06 on Debian Linux (Sarge). = While extracting Unicode strings from an image, dls threw the following = error: /usr/local/sleuthkit/bin/dls: rawfs_block_walk: Error reading block at = 58605129: Success It did the same thing during an ASCII string extraction, but I didn't = note the exact error. I checked the source (rawfs.c) and it looks like = that error occurs when (surprise) there's a problem reading a block = while iterating the blocks of the image. I'm not sure exactly what the = problem was, because I didn't rerun the dls command with the verbose = option specified (I'm planning to, but it's time consuming and I haven't = gotten to that yet). My questions are: When it comes to extracting strings, is it important = that a block read error be a fatal error? Currently it stops the string = extraction (because dls quits). I was thinking of making a small change = to the source to keep iterating the blocks past a read error based on a = command argument (an "ignore read errors" type switch). Am I just = getting myself into trouble here, or does doing something like this make = sense? Thanks, Mark |
|
From: Brian C. <ca...@sl...> - 2006-05-25 12:46:36
|
What is the size (in bytes) of the file you are reading? I guess this error could occur if your file is not a multiple of 512-bytes. Did you import the file image as a rawfs? brian On May 25, 2006, at 12:08 AM, Mark K. Murdock wrote: > Hi all, > > I'm using Sleuthkit 2.03 and Autopsy 2.06 on Debian Linux (Sarge). > While extracting Unicode strings from an image, dls threw the > following error: > > /usr/local/sleuthkit/bin/dls: rawfs_block_walk: Error reading block > at 58605129: Success > > It did the same thing during an ASCII string extraction, but I > didn't note the exact error. I checked the source (rawfs.c) and it > looks like that error occurs when (surprise) there's a problem > reading a block while iterating the blocks of the image. I'm not > sure exactly what the problem was, because I didn't rerun the dls > command with the verbose option specified (I'm planning to, but > it's time consuming and I haven't gotten to that yet). > > My questions are: When it comes to extracting strings, is it > important that a block read error be a fatal error? Currently it > stops the string extraction (because dls quits). I was thinking of > making a small change to the source to keep iterating the blocks > past a read error based on a command argument (an "ignore read > errors" type switch). Am I just getting myself into trouble here, > or does doing something like this make sense? > > Thanks, > Mark > |
|
From: Mark K. M. <mar...@la...> - 2006-05-25 14:17:40
|
The image size is 30005826468 bytes. I imported it as a raw drive = image. It was previously NTFS, but was formatted and then a small (2 = GB) FAT32 filesystem was created and a new operating system was = installed in it. =20 So, in the "Select a volume to analyze or add a new image file" screen I = see: disk image-QWUF12CCHU-copy.dd-disk raw details C:/ image-QWUF12CCHU-copy.dd-63-4160834 fat32 details Mark -----Original Message----- From: Brian Carrier [mailto:ca...@sl...] Sent: Thu 5/25/2006 7:46 AM To: Mark K. Murdock Cc: sle...@li... Subject: Re: [sleuthkit-users] dls rawfs_block_walk errors =20 What is the size (in bytes) of the file you are reading? I guess =20 this error could occur if your file is not a multiple of 512-bytes. =20 Did you import the file image as a rawfs? brian On May 25, 2006, at 12:08 AM, Mark K. Murdock wrote: > Hi all, > > I'm using Sleuthkit 2.03 and Autopsy 2.06 on Debian Linux (Sarge). =20 > While extracting Unicode strings from an image, dls threw the =20 > following error: > > /usr/local/sleuthkit/bin/dls: rawfs_block_walk: Error reading block =20 > at 58605129: Success > > It did the same thing during an ASCII string extraction, but I =20 > didn't note the exact error. I checked the source (rawfs.c) and it =20 > looks like that error occurs when (surprise) there's a problem =20 > reading a block while iterating the blocks of the image. I'm not =20 > sure exactly what the problem was, because I didn't rerun the dls =20 > command with the verbose option specified (I'm planning to, but =20 > it's time consuming and I haven't gotten to that yet). > > My questions are: When it comes to extracting strings, is it =20 > important that a block read error be a fatal error? Currently it =20 > stops the string extraction (because dls quits). I was thinking of =20 > making a small change to the source to keep iterating the blocks =20 > past a read error based on a command argument (an "ignore read =20 > errors" type switch). Am I just getting myself into trouble here, =20 > or does doing something like this make sense? > > Thanks, > Mark > |
|
From: Brian C. <ca...@sl...> - 2006-05-25 17:45:07
|
Yea, the image size is not a multiple of 512 and the file system code makes that assumption. So, the error occurred because it could not read a full 512 bytes from the final sector. I'll look into changing it so that it better handles this situation. brian Mark K. Murdock wrote: > The image size is 30005826468 bytes. I imported it as a raw drive > image. It was previously NTFS, but was formatted and then a small (2 > GB) FAT32 filesystem was created and a new operating system was > installed in it. > > So, in the "Select a volume to analyze or add a new image file" screen I > see: > > disk image-QWUF12CCHU-copy.dd-disk raw details > C:/ image-QWUF12CCHU-copy.dd-63-4160834 fat32 details > > Mark > > > -----Original Message----- > From: Brian Carrier [mailto:ca...@sl...] > Sent: Thu 5/25/2006 7:46 AM > To: Mark K. Murdock > Cc: sle...@li... > Subject: Re: [sleuthkit-users] dls rawfs_block_walk errors > > What is the size (in bytes) of the file you are reading? I guess > this error could occur if your file is not a multiple of 512-bytes. > Did you import the file image as a rawfs? > > brian > > > > On May 25, 2006, at 12:08 AM, Mark K. Murdock wrote: > > > Hi all, > > > > I'm using Sleuthkit 2.03 and Autopsy 2.06 on Debian Linux (Sarge). > > While extracting Unicode strings from an image, dls threw the > > following error: > > > > /usr/local/sleuthkit/bin/dls: rawfs_block_walk: Error reading block > > at 58605129: Success > > > > It did the same thing during an ASCII string extraction, but I > > didn't note the exact error. I checked the source (rawfs.c) and it > > looks like that error occurs when (surprise) there's a problem > > reading a block while iterating the blocks of the image. I'm not > > sure exactly what the problem was, because I didn't rerun the dls > > command with the verbose option specified (I'm planning to, but > > it's time consuming and I haven't gotten to that yet). > > > > My questions are: When it comes to extracting strings, is it > > important that a block read error be a fatal error? Currently it > > stops the string extraction (because dls quits). I was thinking of > > making a small change to the source to keep iterating the blocks > > past a read error based on a command argument (an "ignore read > > errors" type switch). Am I just getting myself into trouble here, > > or does doing something like this make sense? > > > > Thanks, > > Mark > > > > |
|
From: Mark K. M. <mar...@la...> - 2006-05-25 14:21:07
|
Oh, well wait ... I just noticed that the block reported in the error = (58605129) is the last block of my raw disk image. So I'm no longer = concerned it's missing information in the string extraction. ;) -----Original Message----- From: Brian Carrier [mailto:ca...@sl...] Sent: Thu 5/25/2006 7:46 AM To: Mark K. Murdock Cc: sle...@li... Subject: Re: [sleuthkit-users] dls rawfs_block_walk errors =20 What is the size (in bytes) of the file you are reading? I guess =20 this error could occur if your file is not a multiple of 512-bytes. =20 Did you import the file image as a rawfs? brian On May 25, 2006, at 12:08 AM, Mark K. Murdock wrote: > Hi all, > > I'm using Sleuthkit 2.03 and Autopsy 2.06 on Debian Linux (Sarge). =20 > While extracting Unicode strings from an image, dls threw the =20 > following error: > > /usr/local/sleuthkit/bin/dls: rawfs_block_walk: Error reading block =20 > at 58605129: Success > > It did the same thing during an ASCII string extraction, but I =20 > didn't note the exact error. I checked the source (rawfs.c) and it =20 > looks like that error occurs when (surprise) there's a problem =20 > reading a block while iterating the blocks of the image. I'm not =20 > sure exactly what the problem was, because I didn't rerun the dls =20 > command with the verbose option specified (I'm planning to, but =20 > it's time consuming and I haven't gotten to that yet). > > My questions are: When it comes to extracting strings, is it =20 > important that a block read error be a fatal error? Currently it =20 > stops the string extraction (because dls quits). I was thinking of =20 > making a small change to the source to keep iterating the blocks =20 > past a read error based on a command argument (an "ignore read =20 > errors" type switch). Am I just getting myself into trouble here, =20 > or does doing something like this make sense? > > Thanks, > Mark > |