Forensics
ExifTool is a platform-independent tool for reading, writing, and editing metadata in a wide variety of files including images, audio, and video.
sudo apt install libimage-exiftool-perl
exiftool [options] <file>
ExifTool is the most widely used tool for reading, writing, and editing metadata in files. It supports over 400 file formats and hundreds of metadata tags including EXIF, IPTC, XMP, GPS, and proprietary manufacturer data.
Created by Phil Harvey, ExifTool is essential for digital forensics, OSINT investigations, photography workflows, and privacy protection. It can extract timestamps, GPS coordinates, camera settings, software versions, and other embedded information from virtually any file type.
ExifTool is also powerful for metadata sanitization — stripping GPS coordinates, personal information, and other sensitive data from files before public sharing. Its batch processing capabilities make it suitable for analyzing large collections of files efficiently.
| Command | Purpose |
|---|---|
exiftool <file> | Read available metadata. |
exiftool -a -G1 -s <file> | Show duplicate tags with group and tag names. |
exiftool -a '-gps*' -ee <file> | Search broadly for GPS metadata. |
exiftool -json <file> | Emit metadata as JSON. |
exiftool image.jpgDisplay all metadata from a fileexiftool /path/to/fileRead EXIF, IPTC, XMP and MakerNotes from any supported fileexiftool -a -u -g1 image.jpgShow all tags including duplicates and unknown, grouped by locationexiftool -G1 -s image.jpgList metadata with group names and short tag IDsexiftool -s -s -s -Model image.jpgPrint only the value of the Model tag with no tag nameexiftool -common /path/to/fileShow only the common meta information tagsexiftool -GPS:all image.jpgExtract only tags in the GPS groupexiftool "-GPS*" image.jpgExtract GPS-related tags using a wildcardexiftool -json image.jpgOutput metadata in JSON formatexiftool -X image.jpgOutput metadata as RDF/XMLexiftool -csv /path/to/file > out.csvExport metadata for a directory of files to CSVexiftool -htmlDump image.jpg > dump.htmlProduce an HTML byte-level dump of the file structureexiftool -Author="<USER>" image.jpgWrite or overwrite the Author tag valueexiftool -all= image.jpgRemove all metadata from a fileexiftool -all= -overwrite_original image.jpgStrip all metadata in place without keeping a backup copyexiftool -gps:all= image.jpgRemove only the GPS metadata from a fileexiftool -TagsFromFile src.jpg dst.jpgCopy all metadata from a source file to a destination fileexiftool "-DateTimeOriginal+=0:0:0 1:0:0" image.jpgShift the original date/time forward by one hourexiftool "-FileName<CreateDate" -d "%Y%m%d_%H%M%S.%%e" /path/to/fileRename files based on their capture date/timeexiftool -r /path/to/fileRecursively process all files in a directory treeexiftool -ext jpg /path/to/fileOnly process files with the .jpg extensionexiftool -if "$GPSLatitude" -r /path/to/fileRecursively list only files that contain GPS dataexiftool -b -ThumbnailImage image.jpg > thumb.jpgExtract the embedded thumbnail image in binary modeexiftool -v3 image.jpgVerbose output showing tag offsets and raw valuesexiftool -verPrint the ExifTool version numberExtract GPS coordinates, timestamps, and device information from images for intelligence gathering.
Strip metadata from files before sharing to remove GPS locations, names, and device identifiers.
Extract timestamps and device info from files to establish timelines and authenticate evidence.
Batch rename, organize, and edit metadata in photo collections based on camera settings.
Extract author and copyright information from digital files to identify ownership.
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.
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.
Forensics
Foremost is a forensic data recovery program that recovers files based on their headers, footers, and internal data structures.
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.
Reporting
Pipal is a password analyzer tool that takes a wordlist and provides statistics on it, such as top passwords, base words, lengths, and character sets, useful for analyzing password complexity habits.
Learn digital forensics fundamentals including evidence collection, forensic imaging, memory analysis, timeline analysis, and proper chain of custody procedures for investigations.
Security Operations · AdvancedLearn detection engineering principles including rule development, Sigma rules, testing methodologies, false positive management, and building a detection program for security operations.
Security Operations · IntermediateLearn how to analyze logs step by step: read Linux and Windows logs, search with grep and journalctl, and investigate a real brute-force attack in auth.log.
Security Operations · AdvancedLearn the incident response lifecycle including preparation, detection, containment, eradication, recovery, and lessons learned with practical frameworks and real-world scenarios.
Prints a detailed list of all embedded tags hidden within the file, which often includes hardware identifiers, timestamps, software versions, and geographic coordinates.
This tool is designed for authorized security testing, educational purposes, and legitimate network administration only. Unauthorized access to computer systems is illegal.