Skip to content

wyrover/bulk_extractor-rec

 
 

Repository files navigation

Bulk Extractor with Record Carving (bulk_extractor-rec)

It is based on bulk_extrator and supports following scanner:

  • ntfsindx - $INDEX_ALLOCATION record (INDX)
  • ntfslogfile - $LogFile record (RSTR/RCRD)
  • ntfsmft - $MFT record (FILE)
  • ntfsusn - $UsnJrnl:$J record (USN_RECORD_V2/V4)
  • utmp - wtmp/btmp record (utmp)

Ready to build

The following procedure works on Fedora 26 or above.

Install required package

sudo dnf update
sudo dnf groupinstall development-tools
sudo dnf install flex zlib-devel
sudo dnf install libxml2-devel compat-openssl10-devel tre-devel bzip2-devel libtool gcc-c++
sudo dnf install libewf-devel afflib-devel sqlite-devel --skip-broken
sudo dnf install java-1.8.0-openjdk-devel

Git

git clone --recursive https://github.com/4n6ist/bulk_extractor-rec.git
cd bulk_extractor-rec

Build

Linux

sh bootstrap.sh
./configure
make
sudo make install

Windows (exe)

cd src_win
chmod 755 CONFIGURE_F20.bash
./CONFIGURE_F20.bash
make

If you encounter an error at libewf when you run CONFIGURE_F20.bash , then edit libewf-########/libuna/libuna_extern.h

(Line 44)
#define LIBUNA_EXTERN /* extern */
->
#define LIBUNA_EXTERN extern

Then try to build/install libewf and run CONFIGURE_F20.bash again.

cd libewf-########
make
sudo make install
cd ..
./CONFIGURE_F20.bash
make

If you encounter a following error:

../../plugins/plugin_test.cpp:10:10: fatal error: be13_api/bulk_extractor_i.h: No such file or directory
 #include "be13_api/bulk_extractor_i.h"  // from ../src/be13_api/bulk_extractor_i.h

Then edit AM_CPPFLAGS variable in build_win64/plugins/Makefile

AM_CPPFLAGS = -I.. -I../src  -I../src/be13_api  -I$(top_srcdir)/src/\
be13_api
->
AM_CPPFLAGS = -I.. -I../src -I../../src -I../src/be13_api  -I$(top_srcdir)/src/\
be13_api

Documentation & Download

Documentation and windows binary is available at https://www.kazamiya.net/bulk_extractor-rec/

About

It is based on bulk_extractor (https://github.com/simsong/bulk_extractor) and add scanners for record carving

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 43.4%
  • Java 18.3%
  • C 11.1%
  • Shell 9.1%
  • Python 6.3%
  • HTML 3.6%
  • Other 8.2%