Skip to content

Lesson 10 of 13 · 15m

Images and Geolocation

EXIF, pixel forensics, SunCalc shadow math, and satellite history turn a photo into coordinates.

A photograph leaks its location through three independent channels: the metadata riding inside the file, the pixels themselves, and everywhere else the image has already been posted. Geolocation is the discipline of interrogating all three — and it is a solved enough problem that volunteers do it as a hobby.

EXIF: read it before anything else

exiftool -a -G1 image.jpg dumps every metadata tag in the file — GPS coordinates, device model, capture timestamp, editing software, thumbnail remnants. The GPS tags (GPS Latitude, GPS Longitude, GPS Position) are the jackpot: iPhones and Androids embed location unless the camera's location permission was off, and the precision is often within meters.

Know where EXIF survives. Twitter has stripped metadata on upload since roughly 2013; Discord, WhatsApp, and most messengers strip or recompress the file outright. The leak paths that persist: forum and blog uploads (phpBB and WordPress often serve the original), email attachments, AirDrop and direct file shares, self-hosted galleries, and public cloud buckets. A Discord screenshot of a photo carries no EXIF — and this produces the standing rule: geolocate original files, never screenshots of screenshots.

The pixels

When metadata is stripped, the image contents still testify. Reverse-image search is the first interrogation: TinEye sorts results oldest-first, which reconstructs the image's posting lineage; Google Lens is strongest on objects and landmarks; Yandex Images has historically been the best face matcher and still earns its place in the rotation.

Beyond reverse search is landmark forensics, the craft the GeoGuessr community industrialized: signpost fonts and shapes, utility pole styles, bollard geometry, license-plate frames, electrical outlet types, soil color, vegetation. GeoTips and the community metas document per-region tells because the world's infrastructure is a fingerprint — every country's poles and curbs differ at a glance once you learn the vocabulary.

Reverse-image lineage pays a second way: the oldest result is usually the origin post — the uncropped, unstripped original. Following an image backward through TinEye's date ordering routinely recovers a version with metadata intact after every repost scrubbed it.

Sun and satellite

A shadow plus a date bounds a location mathematically. suncalc.org computes the sun's azimuth and altitude for any coordinate and any timestamp — measure the shadow direction in the photo, and SunCalc tells you which latitudes produce that geometry at which times of day. Combined with one identified landmark, the candidate set collapses to a few blocks.

For dating a photo whose timestamp was stripped, satellite archives do the work: Sentinel Hub's EO Browser and Google Earth Pro's historical imagery layer let you scroll a location through years of passes. Construction state, tree growth, painted markings — a building under construction pins the photo to the months that construction ran.

Proof cases

November 2017: Strava published a public global heatmap — aggregated, consented fitness telemetry. In January 2018, analyst Nathan Ruser spent a weekend on it and found patrol routes and base perimeters across Afghanistan and Syria. No intrusion, no leak; aggregation alone did it.

Bellingcat's MH17 work geolocated every frame of Buk launcher 3x2 crossing Russia — VK photos, dashcam video — against road junctions and pylons, tying the launcher to the 53rd Brigade's documented inventory. GeoConfirmed runs the same method today: volunteers geolocate conflict footage and publish coordinates with stated confidence.

The interrogation order

Original file → exiftool -a -G1 → landmark analysis on the pixels → reverse-image lineage → SunCalc bounds → satellite confirmation. Every step lands in the ledger, and the final coordinate carries a confidence statement — "intersection of X and Y streets, corroborated by shadow geometry" beats a pin on a map with no reasoning attached.

Was this lesson helpful?

Sign in to rate

Keep reading

Related articles from the SudoSecurity blog.