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

Replace binwalk generic carver functionality with unblob #109

Draft
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

dorpvom
Copy link
Collaborator

@dorpvom dorpvom commented Jan 23, 2023

No description provided.

@soxrok2212
Copy link
Contributor

I can get behind this; binwalk has largely been abandoned and unblob seems to be more accurate at carving out components.

@jstucke
Copy link
Collaborator

jstucke commented Jul 17, 2024

I can get behind this; binwalk has largely been abandoned and unblob seems to be more accurate at carving out components.

You can already use FACT and the FACT extractor with unblob as carver: A docker image based on this branch is available as tag "unblob" (see https://hub.docker.com/repository/docker/fkiecad/fact_extractor/general). So you can simply pull it with

docker pull fkiecad/fact_extractor:unblob

and if you want to use it in FACT you need to edit src/unpacker/extraction_container.py and replace fkiecad/fact_extractor with fkiecad/fact_extractor:unblob.

But be advised: unblob does not always work better than binwalk and there are many cases where files are not extracted that were extracted with binwalk as carver (e.g. whole file systems). This is also the reason we binwalk was not fully replaced with unblob in the extractor yet.

@jstucke
Copy link
Collaborator

jstucke commented Jul 25, 2024

I can get behind this; binwalk has largely been abandoned and unblob seems to be more accurate at carving out components.

FYI: There seems to be a bug in the latest version of the extractor container with unblob. It will not carve files because the CLI API/behavior changed in a way that carving files without unpacking is no longer possible in a recent version. We will push a fix to this branch soon.

edit: I have pushed a fix and the image on docker hub should also already be fixed

@jstucke
Copy link
Collaborator

jstucke commented Aug 15, 2024

Has currently problems with certain container types (which unblob will not carve because it expects a dedicated unpacker to be available for these types). Will be ready when:

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

Successfully merging this pull request may close these issues.

3 participants