SCANNING FILES, PHOTOS, DOCUMENTS, HEADERS...
STATUS: TRACE AWARENESS MODE
METADATA :: HIDDEN DATA IN FILES
> It can reveal when, where, how, and by whom a file, message, or photo was created.
WHAT IS METADATA?
Metadata is information attached to a file or communication. It does not always appear in the visible content, but it can still be read by software, websites, investigators, platforms, or anyone who receives the file.
A document may look clean, but still contain the author name. A photo may show only a landscape, but still include the GPS location. An email may look simple, but its headers can reveal routing information and mail servers.
Camera model, timestamp, GPS location, orientation, editing software, sometimes device serial-related information.
Author, company, template path, revision count, comments, tracked changes, software version, creation and modification dates.
Headers, sender path, mail servers, timestamps, authentication results, message IDs, and sometimes client information.
WHY IT MATTERS
Metadata can connect a file to a person, a device, an organization, a place, or a timeline. For everyday sharing, it may not matter. For privacy-sensitive work, journalism, activism, internal company documents, or public posting, it can matter a lot.
COMMON METADATA LEAKS
Smartphones and cameras can store GPS coordinates, shooting date, camera model, lens data, orientation, and editing software in image files.
PDFs may include author names, creator tools, timestamps, embedded comments, previous versions, hidden layers, or form data.
Word, Excel, and PowerPoint files can contain authors, reviewers, hidden comments, tracked changes, custom properties, and embedded objects.
ZIP and similar archives can preserve filenames, folder structures, modification dates, and sometimes operating system details.
CHECK FILE METADATA
On Linux, macOS, or Windows, one of the most useful tools is exiftool. It can inspect a wide range of file types.
# Show metadata
exiftool photo.jpg
exiftool document.pdf
exiftool report.docx
# Show only GPS-related metadata
exiftool -gps:all photo.jpg
# Show author-related fields
exiftool -Author -Creator -Producer -Company document.pdf
REMOVE METADATA FROM PHOTOS
For images, remove metadata before publishing or sending them to people who do not need the extra information.
# Remove all metadata from a copy
exiftool -all= -o clean.jpg original.jpg
# Remove GPS data only
exiftool -gps:all= photo.jpg
# Remove metadata from every JPG in a folder
exiftool -all= *.jpg
REMOVE METADATA FROM PDF FILES
PDFs are tricky because metadata can be stored in several ways: document properties, embedded objects, comments, form fields, hidden layers, or previous edits.
# Basic PDF metadata removal with exiftool
exiftool -all= -o clean.pdf original.pdf
# Safer method: export/print to a new PDF
# Open the document, print to PDF, then check the new file again.
OFFICE DOCUMENTS
Office files can contain hidden content even when the visible document looks clean. Use the built-in document inspector before sharing.
Microsoft Office:
File > Info > Check for Issues > Inspect Document
LibreOffice:
File > Properties
File > Export As > Export as PDF
Before sharing:
- remove comments
- accept or reject tracked changes
- remove hidden sheets or hidden slides
- check document properties
- export a clean copy
EMAIL METADATA
Email contains headers. Headers are useful for routing, spam filtering, authentication, and troubleshooting, but they also contain technical traces such as timestamps, mail servers, message IDs, and sometimes client details.
SCREENSHOTS VS PHOTOS
A screenshot often contains less camera metadata than a photo, but it can still leak information visually: usernames, tabs, browser bookmarks, notifications, internal URLs, ticket numbers, IP addresses, paths, or customer data.
GPS coordinates, device model, timestamp, visible background, reflections, badges, screens, documents, or location clues.
Open tabs, account names, internal tools, notifications, browser extensions, URLs, tokens, private messages, or admin panels.
PRACTICAL CHECKLIST
- Inspect files before publishing them.
- Remove EXIF data from photos before public upload.
- Use document inspector tools before sharing Office files.
- Export a clean PDF instead of sharing editable documents when possible.
- Never rely only on black rectangles for redaction. Use proper redaction tools.
- Check screenshots for visible private information.
- Keep an original copy privately, then share a cleaned copy.
- For sensitive work, use a dedicated workflow or a separate device/profile.
USEFUL TOOLS
Powerful command-line tool to read and remove metadata from many file types.
Metadata Anonymisation Toolkit. Useful for cleaning common file formats on Linux.
Built-in Microsoft Office feature to find comments, author names, hidden content, and document properties.
MINIMAL SAFE WORKFLOW
1. Keep the original file private.
2. Create a copy for sharing.
3. Inspect metadata with exiftool or a document inspector.
4. Remove unnecessary metadata.
5. Re-open and verify the cleaned file.
6. Share the clean copy, not the original.