Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

log2timeline.py: unable to read backup NTFS volume header #3592

Closed
MikeHofmann opened this issue May 14, 2021 · 4 comments
Closed

log2timeline.py: unable to read backup NTFS volume header #3592

MikeHofmann opened this issue May 14, 2021 · 4 comments
Assignees
Labels

Comments

@MikeHofmann
Copy link

Description of problem:

We have two images (from different aquisition tools, differents systems, different examiner) which fail to be parsed with log2timeline.py. Shortly after starting the process, the following error is given:

2021-05-14 08:53:31,742 [INFO] (MainProcess) PID:122 <data_location> Determined data location: /usr/share/plaso
2021-05-14 08:53:31,757 [INFO] (MainProcess) PID:122 <artifact_definitions> Determined artifact definitions path: /usr/share/artifacts
Checking availability and versions of dependencies.
[OK]

Unable to scan source with error: Unable to open file system with error: pyvshadow_volume_open_file_object: unable to open volume. libvshadow_ntfs_volume_header_read_data: invalid volume system signature. libvshadow_ntfs_volume_header_read_file_io_handle: unable to read NTFS volume header. libvshadow_volume_open_read_ntfs_volume_headers: unable to read backup NTFS volume header. libvshadow_volume_open_read: unable to read NTFS volume headers. libvshadow_volume_open_file_io_handle: unable to read from file IO handle..

We tried different tools to convert the image files (from EWF to EWF, from EWF to RAW) and retry parsing without success. Both images open with XWays without trouble. Also tried --no_vss without success.

Command line and arguments:

log2timeline.py --workers 1 --debug timeline.plaso /redactedt/62_redacted/redacted.E01

Source data:

Please provide the source data you used when you experienced the problem.
For publicly available data please provide an URL or path of the source data.

Plaso version:

log2timeline.py --version
plaso - log2timeline version 20210412

Operating system Plaso is running on:

Installed using latest docker image

Installation method:

Installed using latest docker image

Debug output/tracebacks:

logfile just contains one line:

2021-05-14 08:53:34,195 [ERROR] (MainProcess) PID:122 <log2timeline> Unable to scan source with error: Unable to open file system with error: pyvshadow_volume_open_file_object: unable to open volume. libvshadow_ntfs_volume_header_read_data: invalid volume system signature. libvshadow_ntfs_volume_header_read_file_io_handle: unable to read NTFS volume header. libvshadow_volume_open_read_ntfs_volume_headers: unable to read backup NTFS volume header. libvshadow_volume_open_read: unable to read NTFS volume headers. libvshadow_volume_open_file_io_handle: unable to read from file IO handle..
@joachimmetz
Copy link
Member

joachimmetz commented May 14, 2021

It looks like your images are missing the NTFS back-up volume header. Are these images of a volume created by a live imaging tool on Windows? Are you sure your imaging tool includes the full volume and not silently skips the last sector?

Have a look at https:/libyal/libbfoverlay/wiki/Examples#correcting-truncated-windows-live-volume-images to see if that can help work-around the missing data

@joachimmetz joachimmetz self-assigned this May 14, 2021
@joachimmetz joachimmetz changed the title log2timeline.py fails to read image with error: log2timeline.py: unable to read backup NTFS volume header May 14, 2021
@joachimmetz
Copy link
Member

joachimmetz commented May 14, 2021

Possibly related log2timeline/dfvfs#514

@MikeHofmann
Copy link
Author

MikeHofmann commented May 17, 2021

Are these images of a volume created by a live imaging tool on Windows?

One was done with AccessData® FTK® Imager 4.5.0.3 the other with Logicube Falcon-Neo 3.1. I doubt that these two are affected, especially the Falcon-Neo was done offline as its a hardware-imager.

I'll try some of the recovery tips from your link later in the week.

@joachimmetz
Copy link
Member

joachimmetz commented May 17, 2021

I doubt that these two are affected, especially the Falcon-Neo was done offline as its a hardware-imager.

any other reasons why the backup volume header could be missing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants