Home > Ask the Security Experts > Application Security Questions & Answers > Can email header information be used to track down spoofers?
Ask The Security Expert: Questions & Answers
EMAIL THIS

Can email header information be used to track down spoofers?

Michael Cobb EXPERT RESPONSE FROM: Michael Cobb

Pose a Question
Other Security Categories
Meet all Security Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 26 September 2006
Can the header information received from rejected spoofed emails help track down spoofers?

>
EXPERT RESPONSE
Unfortunately, Simple Mail Transfer Protocol (SMTP), the main protocol used when sending email, does not include a way to authenticate where the email message originated. However, the mail server inserts a Received: header at the top of every email message it processes, providing a continuous track of the message's route and making it possible to determine the origin of the message.

In fact, the only part of the email header that can't be faked is the Received: line, which references your mail server. Spammers often add spoofed Received: headers to try to hide the true origin of the unwanted email, but modern mail transfer programs record the sender's correct IP address. So even if the sender uses a fictitious or false name when contacting the receiving server, you can determine the origin of the spoofed message.

Let's take a look at a typical Received header:

Received: from bay121-f19.bay121.hotmail.com ([207.46.10.99] helo=hotmail.com) by argon.webfusion.co.uk with esmtp (Exim 4.54) id 1FvB5u-0007UK-Qd for; Tue, 27 Jun 2006 11:46:58 +0100

This header indicates the message was received by argon.webfusion.co.uk (which runs esmtp Message Transfer Agent) from a server named bay121-f19.bay121.hotmail.com on June 27, 2006 at 11:46:58, which is one hour ahead of the Universal clock Time. It also shows us that the host bay121-f19.bay121.hotmail.com has an IP address of 207.46.10.99. Using the WHOIS tool we know that this IP address is registered to Microsoft.

Since Received: headers are always added to the top of the message, check each of the subsequent Received headers to find the first one that is suspicious. Perform a whois lookup of the IP addresses in the Received: header to see who, if anyone, owns the address. Any headers after such a header can be safely ignored. This first invalid header means that it must be spoofed. You can presume that the general origin of the spam is the server that received the message with this false information. Using the IP address you can look up the name and contact details of the registered owner of the receiving server, probably an ISP. Email them and provide a sample of the spam you received, making sure to include the full message headers. Even if the ISP can use their logs to trace who sent the email, it may well have come from a zombie machine -- a PC taken over by a spammer to send spam unbeknown to the owner. You can also report spam via the CERT Web-based Incident Reporting Form at https://irf.cc.cert.org if you do not get a satisfactory response from the ISP.

In order to provide as much information as possible to help trace unwanted emails, increase the level of logging on your mail server. Also, consider configuring your firewall to route SMTP connections from outside your firewall through a central mail hub. This will provide you with a single point of entry for email and central logging capabilities. Finally, consider using digital signatures, like PGP, to exchange authenticated email messages. This provides a mechanism for ensuring that a message is from who it appears to be, as well as ensuring that the message has not been altered in transit. Similarly, you may want enable SSL/TLS in your mail transfer software to increase the amount of authentication performed when sending mail.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED CONTENT
Application Security
Can IBM's SMash technology secure Web applications?
Why is backscatter spam so difficult to block?
What are the risks of disabling the User Account Control (UAC) feature on Windows Vista?
Protecting exposed servers from Google hacks (and Google 'dorks')
Which automated quality assurance tools can be used to test software?
Has proof-of-concept mobile device malware translated into any meaningful attacks?
Is it possible to ban chat programs on an enterprise LAN?
How to test the security of personal details submitted to a website
Is security improved when the number of Internet gateways is reduced?
Are Internet cafe users' email credentials at risk?

Spam and Antispam
Apple iPhone mail, Safari prone to spoofing
Why is backscatter spam so difficult to block?
Spam Blockers Losing Ground on Sophisticated Attackers
Companies still monitoring email manually, survey finds
Google Docs used in latest spam run
New phishing, Zeus Trojan technique spreads crimeware
Kraken botnet balloons to dangerous levels
New Storm attack exploits April Fool's Day
Gmail CAPTCHA cracking leads to spam surge
Clinton, Obama campaigns used in spam blasts
Spam and Antispam Research

Email Security Basics
Secure messaging complications result in limited protection
Podcast: Exchange security -- A quick primer
Are Internet cafe users' email credentials at risk?
Enigmail: Wrapping email in a digital security blanket
Email authentication showdown: IP-based vs. signature-based
Are challenge-response technologies the best way to stop spam?
Researchers flag Symantec Mail Security flaws
Serious Google Gmail flaw exposes sensitive user data
Will only allowing whitelist email messages stop image spam?
How is internal mail channeled through an enterprise firewall?

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
CAPTCHA  (SearchSecurity.com)
challenge-response system  (SearchSecurity.com)
content filtering  (SearchSecurity.com)
DomainKeys  (SearchSecurity.com)
Joe job  (SearchSecurity.com)
munging  (SearchSecurity.com)
Register of Known Spam Operations  (SearchSecurity.com)
Sender Policy Framework  (SearchSecurity.com)
spam cocktail  (SearchSecurity.com)
spam filter  (SearchSecurity.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Find Security Solutions for Your Business
Targeted Security Channel Tips for Resellers, Integrators and Consultants
TechTarget Security Media
Information Security View this month\\'s issue and subscribe today.
Information Security Decisions Apply online for free conference admission.
SearchSecurity.com
HomeNewsMagazineMultimediaWhite PapersLearningAdviceTopicsEventsAbout Us

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts