USB Stick Filecarving
Last updated
Last updated
Someone was able to hack one of your staff’s computer and is now blackmailing you. He has received an email containing a file called blackmail.docx. You have a reasonable suspicion that the hacker is one of the other employees and so you told the system administrator to confiscate the suspect’s USB stick. The system administrator confiscated the stick and created a dd image. Eventually he gave it to you for a forensic analysis.
Download USB dd Image from here:
Unzip USBStickCarving.zip
Use Linux Forensic Tools:
Your goal is:
Analyze the image of the USB stick.
Identify the Volume Serial Number of the image
Search for a copy of blackmail.docx on the image.
Is there anything else suspiscious?
unzip USBStickCarving.zip
md5sum usb_stick.dd
fsstat usb_stick.dd
Volume S/N is: AE78E78878E74DA1
Let's try to mount the image:
mkdir /mnt/usb_stick
mount usb_stick.dd /mnt/usb_stick -o ro,loop,show_sys_files,streams_interface=windows
While browsing during the html
, docs
and Tools
directory I can find suspiscious files:
burpsuite_free_windows-x64_v1_7_26.exe
sqlmap.py
owasp.txt
rsnake.txt
sql.txt
…
blackmail.docx wasn`t located yet.
foremost -t zip usb_stick.dd
Note: word files (*.docx) are ziped xml files, so you have to look for zip files
Let's habe a closer look to the output directory:
This is the default file hierarchy used in word / libreoffice files. The metadata is mainly to be found in docProps/core.xml while the word file’s content appears in word/document.xml
You can of course rename the 00215144.zip to 00215144.docx and open the file using Microsoft Word or LibreOffice:
mv 00215144.zip 00215144.docx
bulk_extractor usb_stick.dd -o bulk_data
Inside the bulk_data directory I could find a lot of more files, but none of them showd me a document called blackmail.docx
The zip file direcory shows the xml files which belongs with high probability to a docx file!
tsk_recover usb_stick.dd sleuth_data
A file called blackmail.docx was restored, but the content is not what I've expected!