Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

The UBI Forensic Toolkit (UBIFT) is a Python command-line interface tool that aims to provide various functionalities to assist an IT forensic evaluation of the UBIFS file system.

License

NotificationsYou must be signed in to change notification settings

matthias-deu/ubift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The UBI Forensic Toolkit (UBIFT) is a Python command-line interface tool that aims to provide various functionalities to assist an IT-forensic evaluation of the UBIFS file system. It is based on the concepts ofThe Sleuth Kit by Brian Carrier.As such, UBIFT aims to fulfil the requirements for forensic tools set by Brian Carrier in his paperDefining Digital Forensic Examination and Analysis Tools Using Abstraction Layers.Furthermore, UBIFT makes use of Carrier's idea of a layered approach for forensics tools that is also described in his paper.

A notable feature of UBIFT is the ability to recover deleted data. Most commands can be used in conjunction with a--deleted parameter, causing UBIFT to look for deleted content. For instance, all deleted directory entries may be retrieved with the following command:

python ./ubift.pyfls/path/to/your_flash_dump.bin-o0-ndata--deletedTypeInodeParentNamefile0105secret.txtdir0104secret_folderfile0107secret_image1.jpgfile0107secret_image4.jpg

In order to recover all files (including deleted files), use the following command:

python ./ubift.pyubift_recover/path/to/your_flash_dump.bin--output/path/to/output--deleted

Usage

UBIFT uses a similar syntax asThe Sleuth Kit. Every command has a prefix and a suffix. The prefix, such asmtd refers to the layer it is operating on. The suffix, such asls depicts the desired operation to be performed.

UBIFT supports the following commands:

CommandDescription
mtdlsLists information about all available Partitions, including UBI instances. UBI instances have the description 'UBI'.
mtdcatOutputs the binary data of an MTD partition, given by its index. Use 'mtdls' to see all indeces.
pebcatOutputs a specific phyiscal erase block.
ubilsLists all instances of UBI and their volumes.
ubicatOutputs contents of a specific UBI volume to stdout.
leblsLists all mapped LEBs of a specific UBI volume.
lebcatOutputs a specific mapped logical erase block of a specified UBI volume.
fsstatOutputs information regarding the UBIFS file-system within a specific UBI volume.
flsOutputs information regarding file names in an UBIFS instance within a specific UBI volume.
istatDisplays information about a specific inode in an UBIFS instance.
icatOutputs the data of an inode.
ilsLists all inodes of a given UBIFS instance.
ffindOutputs directory entries associated with a given inode number.
ubift_recoverExtracts all files found in UBIFS instances. Creates one directory for each UBI volume with UBIFS.
ubift_infoOutputs information regarding recoverability of deleted inodes. This parameter takes priority over all other parameters.
jlsLists all nodes within the journal.

For a detailed description of every command, refer to the--help of the tool.

Autopsy Integration

UBIFT can be integrated with Autopsy by using the Python ingest module found at/ubift/autopsy/ubift_autopsy.py

An installation guide about the installation of Python modules can be foundhere

IMPORTANT: The module requires UBIFT to be available in the same directory as the Python ingest module. Therefore UBIFT has to be packed and provided viapyInstaller to the same directory as the module

Branchoriginal

Contains the original version described in the master's thesis. The original version contains some differences that were changed in later versions. For instance, instead of specifying offsets and ubi volumes as follows:

python .\ubift.pyfls'D:\flash_dump.bin'-o123-ndata

The parameters were positional arguments, resulting in a loss of flexibility.

python .\ubift.pyfls'D:\flash_dump.bin'123data

Dependencies

cstruct~=5.2

setuptools~=60.2.0

crcmod~=1.7

zstandard~=0.21.0

python-lzo>=1.11

pathvalidate

Similar Tools

UBIFS Dumper

UBI Reader

References

The Sleuth Kit

Autopsy

Author

Matthias Deutschmann (matthias_de@gmx.net)

About

The UBI Forensic Toolkit (UBIFT) is a Python command-line interface tool that aims to provide various functionalities to assist an IT forensic evaluation of the UBIFS file system.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp