Forensics
Learn how to use Autopsy, the free digital forensics software, in a hands-on practice case. Start with a verified disk image, run ingest modules, look for deleted files, and use keyword hits and timeline entries to build a report.
sudo apt install autopsy
autopsy (GUI application)
Autopsy is free, open-source digital forensics software and a graphical interface to The Sleuth Kit. It helps investigators examine verified disk images, search for evidence, recover deleted files when possible, and use timestamps to build a timeline of activity. Here, Autopsy is the name of the software, not a medical procedure.
Try your first case on a spare USB stick you own. (1) Save notes.txt containing OrchidLab and write down when you saved it. Save a second file named draft.txt, delete it, and stop writing to the stick. (2) Use a forensic imaging tool to make a bit-for-bit RAW image on another drive, record the image hash, and set the stick aside. (3) In the Autopsy desktop app, create a practice case, add the verified copy as a Disk Image, and enable Keyword Search. After ingest finishes, search for OrchidLab and check that the hit comes from notes.txt. (4) Look for draft.txt among the deleted entries in the file tree. If you find it, use Extract File(s) to save a copy outside the evidence folder and check whether its contents survived. (5) In Timeline, find the modification entry for notes.txt. Compare the recorded last-write time with your lab note using the same time zone. (6) Tag the findings and generate an HTML report from the Tools menu. Record the image hash and what you could or could not recover.
Ingest modules automate checks on your data source. Hash Database Lookup compares file fingerprints with reference sets, and Keyword Search makes readable text searchable. EXIF Parser reads photo metadata, while Recent Activity surfaces traces such as browser history and downloads. Email Parser extracts messages from supported mail files. File Type Identification checks file contents rather than relying on extensions. Android Analyzer looks for records such as messages and call logs in supported Android data, and PhotoRec Carver searches unallocated space for file signatures. Enable only the modules that answer your question: for the practice case, start with Keyword Search and leave Android Analyzer and Email Parser off.
Timeline uses file-system MAC times: modification, access, and metadata change. A separate creation time may also appear if the file system records it. Check the event type and time zone before drawing conclusions. Keyword Search looks for terms in indexed text from file contents and supported metadata, so open each hit to see where the term appeared. Hash Lookup recognizes known files in an NSRL reference set and flags matches to a configured known-bad hash set. A hash match tells you about a file's contents, not whether someone opened or ran it.
Start with deleted entries in the file tree. If an entry is still listed, use Extract File(s) to save a copy to a separate output folder and check whether the contents are intact. If the entry is gone, try PhotoRec Carver: it searches unallocated space, which the file system marks as available for reuse, for recognizable file signatures. Carved files may lack their original names and paths. The tsk_recover command in the commands list below takes a different approach: it exports recoverable unallocated files using surviving file-system records, not signature carving. Neither method can recover overwritten data.
Tag the findings you want to hand over, then generate an HTML report from the Tools menu, or choose PDF if your installation offers it. Keep the report and extracts with notes on the image hash, time zone, and recovery limits. On Kali, the autopsy command opens the older Autopsy Forensic Browser, a web interface to The Sleuth Kit; the desktop release from autopsy.com provides the full case, ingest-module and Timeline workflow described in this tutorial. Autopsy is pre-installed on some Kali images; if it is missing, use sudo apt install autopsy. Get the Windows installer or the macOS download and setup instructions from autopsy.com. Use Volatility for memory dumps rather than Autopsy, and try Foremost if you need another signature-carving pass on a verified disk image.
To use Autopsy, launch the application, create a new case, add a forensic disk image as a data source, choose your ingest modules, and let Autopsy process the image — then review the results, reconstruct the timeline, tag the evidence that matters, and generate a report. The loop is case, image, ingest, review, and report, and every step below follows it.
Autopsy is an open-source digital forensics platform and the graphical interface to The Sleuth Kit (TSK). It is widely used by law enforcement, corporate investigators, and incident response teams to examine disk images and extract digital evidence.
Originally developed by Brian Carrier, Autopsy provides an extensible architecture with ingest modules for file analysis, keyword searching, timeline generation, hash database lookups, and web artifact extraction.
Autopsy supports evidence from hard drives, SSDs, mobile devices, and disk image files in formats like E01, RAW, VHD, and VMDK. Its modular design allows forensic analysts to customize workflows for criminal investigations, corporate audits, and incident response engagements.
| Command | Purpose |
|---|---|
autopsy | Start the Kali browser interface and open the exact URL printed in the terminal, including its session token. |
autopsy -p 9999 | Start the browser interface on port 9999 and open the printed URL. |
autopsy -d /path/to/evidence | Set the evidence locker directory. This option does not select a disk image. |
mmls /path/to/image.dd | List the image's partitions and find the start sector of the partition you want to examine. |
fls -rd -o 2048 /path/to/image.dd | Recursively list deleted file entries at the example offset of 2048 sectors. Use the actual partition start sector from mmls. |
tsk_recover -o 2048 /path/to/image.dd /output | Export recoverable unallocated files to /output. Replace the example offset with the actual partition start sector and use a separate output directory. |
autopsyStart the Autopsy Forensic Browser web server on localhost:9999autopsy -p 9999Start Autopsy listening on a specific TCP portautopsy -d /path/to/evidenceUse a specific evidence locker directory for casesautopsy -i 192.168.1.10Bind the Autopsy web server to a specific IP addressautopsy -CRun Autopsy without requiring browser cookiesmmls /path/to/image.ddDisplay the partition layout of a disk imageimg_stat /path/to/image.ddShow details about a forensic image file and its formatfsstat -o 2048 /path/to/image.ddPrint file system details for the partition at an offsetfls -r -o 2048 /path/to/image.ddRecursively list files and directories, including deleted onesfls -rd -o 2048 /path/to/image.ddList only deleted file entries recursivelyicat -o 2048 /path/to/image.dd 12345Extract the content of a file by its inode numberistat -o 2048 /path/to/image.dd 12345Show metadata for a specific inode (times, size, blocks)ils -o 2048 /path/to/image.ddList inode information, focusing on deleted inodesffind -o 2048 /path/to/image.dd 12345Find the file name(s) that point to a given inodeifind -o 2048 -n /etc/passwd /path/to/image.ddFind the inode associated with a file nameblkcat -o 2048 /path/to/image.dd 1000Display the raw contents of a data unit (block/cluster)blkls -o 2048 /path/to/image.dd > unalloc.ddExtract unallocated disk space for carvingblkstat -o 2048 /path/to/image.dd 1000Show allocation status of a specific data unitjls -o 2048 /path/to/image.ddList entries in the file system journal (ext3/ext4)fls -r -m / -o 2048 /path/to/image.dd > body.txtGenerate a timeline body file from file system metadatamactime -b body.txt -d > timeline.csvBuild a chronological CSV timeline from a body filetsk_recover -o 2048 /path/to/image.dd /outputRecover deleted files from an image into an output directorytsk_gettimes /path/to/image.dd > body.txtCollect MAC times from an image into a body filesorter -o 2048 -d /output /path/to/image.ddCategorize files by type using file signaturessrch_strings -a /path/to/image.ddExtract ASCII strings from an image for keyword reviewMount and analyze forensic disk images to recover deleted files, examine file system structures, and extract evidence from storage media.
Build chronological timelines of file system activity, user actions, and system events to understand what happened during an incident.
Compare file hashes against NSRL and custom hash databases to identify known files, known-bad software, and reduce analysis time.
Search across all file contents and metadata for specific keywords, patterns, and regular expressions to locate relevant evidence.
Extract browser history, cookies, downloads, and cached web content to trace online activity.
Parse and examine email databases from Outlook, Thunderbird, and web-based clients to extract communication evidence.
Check deleted entries on a verified disk image, export recoverable files, or try signature carving when the entries are missing.
Review available messages, call logs, and other supported artifacts on an authorized Android forensic copy.
Forensics
Volatility is an advanced open-source memory forensics framework used for incident response and malware analysis, allowing extraction of digital artifacts from volatile memory (RAM) samples.
Forensics
Foremost is a forensic data recovery program that recovers files based on their headers, footers, and internal data structures.
Forensics
ExifTool is a platform-independent tool for reading, writing, and editing metadata in a wide variety of files including images, audio, and video.
Forensics
Learn how to use Binwalk to scan a firmware image, read the signature table, extract embedded filesystems, and spot encrypted regions — a beginner tutorial for Kali Linux.
Forensics
Steghide is a steganography tool designed to hide confidential data inside various types of image and audio files without altering their outward appearance.
Web Application
Learn how to use FFUF (Fuzz Faster U Fool), the extremely fast open-source web fuzzer written in Go: place the FUZZ keyword where a wordlist entry should go, run your first scan, filter the noise, and discover hidden directories, files, parameters, virtual hosts and API endpoints on targets you have permission to test.
Learn digital forensics fundamentals including evidence collection, forensic imaging, memory analysis, timeline analysis, and proper chain of custody procedures for investigations.
Tools · IntermediateLearn how to use Metasploit in Kali Linux: start msfconsole, search modules, run your first lab exploit, and master Meterpreter with a cheat sheet.
Tools · IntermediateLearn how to use Burp Suite to intercept requests, test with Repeater and Intruder, follow a worked DVWA example, and start free with Community Edition.
OSINT · BeginnerLearn how to use whois in Kali Linux: look up any domain, IP or AS number, read the record, and spot red flags — with a worked example and cheat sheet.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.