Metadata Extraction
Investigation TechniquesComplete suite:
| Tool | File Type | URL | Platform |
|---|---|---|---|
| ExifTool | Images, PDF, Office | https://exiftool.org | CLI |
| FOCA | Office, PDF (GUI) | https://github.com/ElevenPaths/FOCA | Windows |
| Metagoofil | Public documents | https://github.com/laramies/metagoofil | CLI |
| MAT2 | Metadata cleaner | https://0xacab.org/jvoisin/mat2 | CLI |
Metadata workflow:
# 1. Extract metadata
exiftool -a -u -g1 document.pdf > metadata.txt
# 2. Search sensitive info
grep -i "author\|creator\|email\|gps" metadata.txt
# 3. Clean before publishing
mat2 --inplace clean_document.pdf