312-50 ยท Footprinting and reconnaissance
Email footprinting
Email tracking, header analysis, collecting addresses with tools such as theHarvester, and what a tracking pixel reveals.
Key points
- Email footprinting looks at what email leaks.
- Received: each mail server adds a line on top, so read bottom up to follow the route from origin to inbox.
- Headers also show server names, software, sometimes internal IPs.
- Tracking pixel: tiny remote image; on opening, its request tells the sender the open time, IP address and mail client.
- theHarvester: collects addresses and subdomains from public sources.
Source: https://github.com/laramies/theHarvester
Practice questions
In which order should Received headers be read to follow a message from its origin to the recipient?
- Top to bottom, as the lines appear
- Alphabetically by server name
- Bottom to top, oldest hop first
- By the largest timestamp first
Show answer
Answer: C. Bottom to top, oldest hop first
Every server prepends its own Received line, so the newest hop is at the top and the origin is at the bottom. Reading bottom to top follows the real route.
Which pieces of information can an email header expose?
- Names of the relaying mail servers
- Mail software or version strings
- The recipient's mailbox password
- Sometimes an internal IP of a sending host
- Contents of other messages in the thread store
Show answer
Answer: A. Names of the relaying mail servers, B. Mail software or version strings, D. Sometimes an internal IP of a sending host
Headers carry the relay path, server software strings and sometimes internal addressing. They do not contain the recipient's mailbox password or other messages.
The From header of an email is verified by the mail system, so it always shows the real sender.
Show answer
Answer: False
The From header is just text the sender's software supplies and can be forged. Reliable origin analysis uses the Received chain and authentication results such as SPF, DKIM and DMARC.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
