Email Address:
admin@achik.us achikahmed.info@gmail.com
Our Social Media Profiles:
Image files can contain hidden details that are not visible when viewing the photo normally. These details may include the camera or device used to capture the image, image size, creation date, GPS location data, and software information. Image metadata is commonly checked by OSINT researchers, cybersecurity learners, and digital investigators to learn more about a photo and its origin. In this tutorial, we will use ExifTool to extract and view metadata information from image files on Linux.
Here’s what you can do with image metadata analysis:
Image metadata is hidden information stored inside image files such as JPG, JPEG, PNG, and TIFF. It contains technical details about the image including device information, image size, timestamps, GPS data, and software details. This information helps photographers, investigators, and researchers understand more about a photo.
ExifTool is a command-line tool used to view and analyze metadata stored inside files. It can display hidden details from images, videos, and other file types, making it useful for OSINT, digital forensics, and cybersecurity learning. ExifTool can be used on almost any Linux distribution, including Ubuntu, Kali Linux, Debian, Linux Mint, Parrot OS, Fedora, Arch Linux, and other Linux-based systems.
ExifTool can be installed on most Debian-based Linux distributions. The commands in this guide work on Ubuntu, Kali Linux, Debian, Linux Mint, Parrot OS, and Pop!_OS. Make sure your Linux system has an active internet connection before starting the installation process.
Below are the simple steps to install the image metadata analysis Exiftool on a Debian-based Linux system.
Update Linux packages first.
sudo apt update && sudo apt upgrade -yInstall the the exiftool package.
sudo apt install exiftool -yCheck whether the installation was successful.
exiftool -verBelow are the simple steps to find hidden information from an image file.
View all available metadata from an image.
exiftool image.jpgDisplays all metadata information stored inside the image.
Analyze an image located in another directory.
exiftool /path/to/image.jpgReads metadata from the specified image file.
Save metadata information into a text file.
exiftool image.jpg > result.txtStores all metadata information in a text file for later analysis.
As we analysis image Metadata using Exiftool, it needs commands to inspect different types of image information. Below are some useful commands for beginners.
Show image creation date.
exiftool -DateTimeOriginal image.jpgDisplay camera model information.
exiftool -Model image.jpgCheck image dimensions.
exiftool -ImageSize image.jpgDisplay GPS information if available.
exiftool -GPSPosition image.jpgView software used to edit the image.
exiftool -Software image.jpgCheck file type information.
exiftool -FileType image.jpgShow help menu.
exiftool -hAnalyze multiple images together.
exiftool *.jpgSave metadata output to a file.
exiftool image.jpg > output.txtDisplay file information only.
exiftool -FileName -FileSize image.jpgChoose the command you want and the tool will automatically display the selected information directly inside the Linux terminal.
Not every image contains complete metadata information. Some social media platforms remove metadata when images are uploaded, while some cameras and devices may not store GPS information.
Finding hidden information from an image is a useful way to learn OSINT and digital forensics basics. ExifTool is a useful tool for viewing hidden information stored inside image files. It helps analyze photo metadata, check camera details, view timestamps, and inspect other information directly from a Linux terminal.