Tech

Guides
 

A practical example of why HTML e-mail is a bad idea

By Chad Perrin, Special to ZDNet Asia
Tuesday, March 31, 2009 11:33 AM
Viewing e-mail messages without rendering HTML formatted content can be a simple, easy, and effective security technique.

I received a phishing e-mail the other day, and it reminded me why I use mutt as my mail user agent.

The headers and text of the email look like this:

Delivered-To: unknown
    Envelope-to: me@example.com
    Delivery-date: Wed, 11 Feb 2009 09:45:07 -0700
    Reply-To:
    From: "service@paypal.com"
    Subject: Account Expired ! Please renew your account !
    Date: Wed, 11 Feb 2009 11:48:20 -0500
    X-Priority: 1
    X-MSMail-Priority: High
    X-Mailer: Microsoft Outlook Express 6.00.2600.0000
    X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
    Bcc:
    X-OriginalArrivalTime: 11 Feb 2009 16:45:05.0698 (UTC)
FILETIME=[17964020:01C98C68] X-user: ::::0.0.0.0:host.example.net:::::: <html> <head> <meta http-equiv="Content-Language" content="en-us"> </meta><meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title></title> </meta></head> <body> <font face="Arial, Helvetica, sans-serif" size="2">Dear Member,<br /> <br /> Your PayPal account has expired. <br /> You must renew it immediately or your account will be closed. <br /> If you intend to use this service in the future, you must take action at once!<br />

To continue <a href="http://example.org/files/liaz/index.php">click
    here</a>, login to your PayPal account and follow the steps.<br />
    <br />

Thank you for using PayPal!<br />
    The PayPal Team<br />
    <br />
    </font><font face="Arial, Helvetica, sans-serif" size="2">Please do not reply
    to this email. This mailbox is not monitored and you will not receive a respons.
    For assistence, log in to your PayPal<br />
    account and click the Help link located in the top right corner of any PayPal
    page.</font><font face="Arial, Helvetica, sans-serif" size="2"><br />
    <br />
    PayPal Email ID PP3573</font>
    </body>

    </html>

Obviously, I have changed all the domain names and IP addresses (other than PayPal's domain name) to protect my privacy and to protect any of you from accidentally visiting a phishing site. I don't want my readers getting infected because of my articles, after all.

The highlighted snippet contains a link. If you look at it closely, you'll notice that's not a PayPal URL in the link--something you wouldn't necessarily notice if you viewed the e-mail with HTML rendered, which would just look like this:

spam email: rendered

This isn't exactly the cleverest phishing attempt in the world. It contains spelling errors, and targets something that most security-aware people will immediately recognize as a common subject of phishing e-mail messages. A more well thought out attempt might fool someone who doesn't habitually look at the plain text of e-mail, however.

In general, legitimate e-mail messages with HTML formatting come with a plain text version as well these days. When signing up for mailing lists and other mass-notifications, it is almost always possible to choose whether you get e-mail in plain text or HTML form. The exceptions are almost always phishing e-mail.

Some people may get more HTML formatted e-mail than others, of course, but for most of us there really isn't any need to render HTML for all e-mail messages. In my case, in fact, HTML formatting is a very accurate predictor that an e-mail I receive is unwanted, and I use HTML formatting as part of my spam filtering criteria.

In my list of basic e-mail security tips from almost a year ago, I mentioned that one should avoid letting HTML render in your e-mail client. Take this as an object lesson in the kind of threat HTML e-mail can present.

Chad Perrin is an IT consultant, developer, and freelance professional writer. He holds both Microsoft and CompTIA certifications and is a graduate of two IT industry trade schools.



WORTHWHILE?

0

2 votes
Blog

Talkback 2 comments

A practical example of why HTML e-mail is a bad idea
erm....these are now easily detected automatically in any popular html email client available today.....
Posted by Marc on Tuesday, March 31 2009 02:52 PM

A practical example of why HTML e-mail is a bad idea
In this case, any other web pages will also present the same set of risks.

I do think tiny url is very most risky. I gave a detailed explanation at sgenterprise20.blogspot.com...
Posted by Sim Hua Soon on Wednesday, April 08 2009 12:05 AM


Guest user

Guest user

Level: 
Joined: —
Already a member? Log in »



 

Loading...

Whitepapers/Case Studies

Downloads

Internet Security News



Tech Jobs Now!

Tags

  1. authentication and encryption
  2. business security
  3. chad perrin
  4. computer
  5. data security
  6. michael kassner
  7. microsoft corp.
  8. microsoft windows
  9. network
  10. network security
  11. operating system
  12. password
  13. pc security
  14. security
  15. security applications / tools
  16. security implementation / standards
  17. security management
  18. server
  19. tool
  20. web