Git Product home page Git Product logo

sert's Introduction

SERT

Spirion EnCase Reporting Tool

Screenshot of Terminal Image

This tool will check the current evidence file, mounted as an E01 EnCase file, and match the Spirion results for generating reports for litigation purposes.

Mount EWF (E01) Image in Debian

To mount the Expert Witness File, you first need to install a few items from the Debian APT repository.

root@demon:~# apt install ewf-tools -y

Next, we need to mount the raw image to create a file descriptor that we can then mount using the proper file system of the original drive that was copied to the image.

root@demon:~# mkdir /mnt/raw
root@demon:~# ewfmount /path/to/file.e01 /mnt/raw

Now, we can mount the file descriptor image /mnt/raw/ewf1, but first we need the byte offset to the partition we want to analyze.

root@demon:~# fdisk -l /mnt/raw/ewf1
Device              Start        End   Sectors   Size Type
/mnt/raw/ewf1p1      2048     206847    204800   100M EFI System
/mnt/raw/ewf1p2    206848     468991    262144   128M Microsoft reserved
/mnt/raw/ewf1p3    468992  998543625 998074634 475.9G Microsoft basic data
/mnt/raw/ewf1p4 998545408 1000212479   1667072   814M Windows recovery environment

In my case above, it is /mnt/raw/ewf1p3. That offset is 468992 as shown above. So, we multiply that by 512 (which can do using Bash and interpolation during the mount command) like so,

root@demon:~# mkidr /mnt/evidence
mount /mnt/raw/ewf1 /mnt/evidence/ -o ro,loop,show_sys_files,streams_interace=windows,offset=$((468992*512))

Running SERT

To run SERT, we pass three arguments,

  1. The path to the Spirion PII file report
  2. The path to the mounted EWF/E01 Drive
  3. The path and name of the report file to generate (this will append the UNIX date and ".csv")
root@demon:~/Code/Workspaces/SERT# ./sert.py ~/pii_spirion_file.csv /mnt/evidence/ ~/report_name

SERT, Spirion EnCase Reporting Tool

[msg] Got /root/pii_spirion_file.csv for the Spirion file.
[msg] Got /mnt/evidence/ as the evidence mount point.
[msg] Got report title of /root/report_name for the report.

References

Mounting EWF Images with Linux

Spirion

EnCase

sert's People

Contributors

rackunsec avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.