Slashdot Log In
Point-and-Click Gmail Hacking Shown at Black Hat
Posted by
Zonk
on Fri Aug 03, 2007 09:12 AM
from the man-they-get-all-the-fun-demos dept.
from the man-they-get-all-the-fun-demos dept.
not5150 writes "Using Gmail or most other webmail programs over an unsecured access point just got a bit more dangerous. At Black Hat Robert Graham, CEO of errata security, showed how to capture and clone session cookies very quickly over connections without encryption. He even hijacked a shocked attendee's Gmail account in the middle of his presentation. 'While Ou was typing, Graham was running Ferret and sniffing all the cookies that were being sent from Ou's laptop and Google. Graham then clicked on Ou's IP address and Gmail page, complete with Ou's recently sent message on the screen. We photographed both Graham's and Ou's laptop at that time and posted it to the picture gallery. You'll see that the contents are exactly the same.'"
Related Stories
[+]
Your Rights Online: Delete Cookies, Inflate Net Traffic Estimates 217 comments
eldavojohn writes "In my browser, I regularly go to the tools menu and clear my private data. This includes my cookies. As a result, people like me who destroy cookies by the thousands may be inflating estimates of Web traffic by up to 150 percent. People have good reasons for clearing out cookies — we've heard about bad cookies before (and I think the FCC is still investigating the issue). But every time you delete cookies, many of the sites you've visited count you as a new visitor next time."
[+]
Encrypt and Sign Gmail messages with FireGPG 206 comments
Linux.com (Same owners as Slashdot) has a story up about FireGPG and says "Gmail may be an excellent Web-based email application, but there is no easy way to use it with privacy tools like GnuPG. The FireGPG extension for Firefox is designed to solve this problem. It integrates nicely into Gmail's interface and allows you...
Encrypt and sign Gmail messages with FireGPG
Encrypt and sign Gmail messages with FireGPG
This discussion has been archived.
No new comments can be posted.
Point-and-Click Gmail Hacking Shown at Black Hat
|
Log In/Create an Account
| Top
| 260 comments
| Search Discussion
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Slow News day? (Score:5, Insightful)
(Last Journal: Thursday February 15 2007, @08:00PM)
Re:Slow News day? (Score:5, Informative)
Re:Slow News day? (Score:4, Interesting)
(http://192.168.0.1/)
Worrying.
Re:Slow News day? (Score:4, Informative)
Re:Slow News day? (Score:5, Interesting)
Re:Slow News day? (Score:5, Insightful)
Re:Slow News day? (Score:5, Insightful)
(Last Journal: Tuesday October 30, @10:59AM)
This is Google we're talking about. They can take it.
I mean, seriously, even an old 200 mhz Linux box set up as a server can do crypto at wire speed (100 mbit ethernet). I'm sure it takes them more cycles to spellcheck it for you.
"Not entirely secure" is not the same thing as "useless".
Consider: The majority of most websites are mostly served as plain HTML over HTTP. Is it still "useless" for me to admin mine using SSH instead of unsecured FTP? I think not.
The point I am making here is, if your communications with Gmail are unencrypted, it makes it possible for someone to not only intercept the content of the message, but alter it -- they could, in fact, hijack your whole session, gain access to your archived mail, and send mail pretending to be you. All of this is theoretically possible with that SMTP connection between Gmail and another mailserver, but it's also insanely difficult to get anywhere close to what you can get by hijacking the session.
And there's even a point to encrypting it, as opposed to just signing it. Well, two points, actually:
I mean, I tend to agree with you somewhat -- I only really do email from the one machine that has my GPG key, and I wouldn't use Gmail for more than backup. I don't see much point to webmail, because I never login to anything from a computer that isn't my own, because I don't like exposing myself to keyloggers.
But even if it can't be very secure, why make it even less secure than it can be?
Re:Slow News day? (Score:4, Informative)
(http://www.linuxdsl.co.uk/)
Essentially, if you enter via http://mail.google.com/ [google.com] Google remembers this and encrypts only the login process and then reverts back to plain text. If you enter via https://mail.google.com/ [google.com] your session remains encrypted throughout.
Re:Slow News day? (Score:5, Informative)
Bottom line (Score:5, Informative)
(http://kadin.sdf-us.org/ | Last Journal: Tuesday October 16, @01:46PM)
It's more of an indictment of Google than anything, because they default to unencrypted HTTP rather than HTTPS, and most users won't know that they can go to https://mail.google.com/mail/ [google.com] to force smarter behavior.
Re:Bottom line (Score:5, Informative)
(http://www.fishface.g.la/)
psh (Score:1, Funny)
Re:psh (Score:5, Funny)
Could be fixed easily by Google. Shame. (Score:3, Insightful)
(http://slashdot.org/)
Re:Could be fixed easily by Google. Shame. (Score:4, Informative)
(Last Journal: Tuesday December 19 2006, @05:12PM)
I fail to see how the average person, as usual, being lax about their security is in any way Google's fault. This was something I found immediately, just because I won't check my email without a secure connection.
Re:Could be fixed easily by Google. Shame. (Score:5, Informative)
Re:Could be fixed easily by Google. Shame. (Score:5, Insightful)
(http://theravensnest.org/ | Last Journal: Sunday October 07, @07:05AM)
It's not Google's fault... (Score:4, Funny)
Re:Could be fixed easily by Google. Shame. (Score:4, Interesting)
The point is, security is more than just "what's available." It also has to be about how good the defaults are. The technical community cried foul when Microsoft included a firewall in Windows XP but didn't have it turned on by default, and we complained so much that in SP2 Microsoft finally changed the default.
I agree that security is ultimately the responsibility of the user, but they should not have to seek out secure settings and turn them all on one by one. The default mode for any network-enabled program should be Secure. If the user needs Insecure, then they should have to change a setting to make it so. Spam should be opt-in, security should be opt-out. Anything else is unfair to the user.
Good reason to install Better GMail! (Score:4, Informative)
Re:Good reason to install Better GMail! (Score:5, Informative)
Thunderbird? (Score:1, Offtopic)
Correct me if I'm wrong but (Score:5, Informative)
Re:Correct me if I'm wrong but (Score:5, Insightful)
(http://www.chimairaworld.com/ | Last Journal: Wednesday February 14 2007, @11:50AM)
Security is an application-layer problem. (Score:4, Insightful)
(http://kadin.sdf-us.org/ | Last Journal: Tuesday October 16, @01:46PM)
I agree with the latter recommendation about using SSL, but saying 'secure your wireless AP' doesn't do a lot to help the many public wifi locations; I think it's unhealthy to ever assume that a wireless connection will be secure. As more wireless networks are rolled out, and more people get laptops with built-in wireless and traipse happily from home to their local coffeeshop, where they're sharing an IP and an unencrypted connection with many untrusted users, opportunities for sniffing and hijacking are only going to become more common.
As users demand more portability, security and authentication need to be moved (and kept) up at the application layer, and not simply assumed as part of the datalink or physical layers.
Re:Correct me if I'm wrong but (Score:4, Informative)
(http://www.bitsex.net/)
This isn't new! (Score:1)
(http://www.midnight-labs.org/)
Yes, it is. (Score:5, Insightful)
(http://kadin.sdf-us.org/ | Last Journal: Tuesday October 16, @01:46PM)
1) It's being done to Gmail, a service provided by People Who Should Know Better.
2) There is now a tool that allows any script kiddie to do it, meaning that it's no longer a theoretical exploit; it's something that your next-door neighbor is going to be doing to you (or your slightly less-technically-savvy family/friends) if you don't take precautions.
#2 is probably most significant, since it's really what's going to cause #1 to change. Sometimes, producing a GUIed, Windows-based exploit tool is the fastest way to get a problem fixed, because it's the easiest way to turn an academic argument into a real-world security issue that will get resources thrown at it. (Of course, it may also land you in jail.)
Firefox (Score:2)
I'm going to look for the Firefox extension now...
POP/SMTP + SSL (Score:1)
(http://www.echelon.cx/)
Of course, you still have to use web access to enable it.
Duhh (Score:1)
The guy is intercepting traffic and stole a cookie. Big deal.
Additional info : If you need the id as well, try base64 decoding of all the fields in the cookie ( dont remember whether it was orkut or gmail that sends out id base64 encoded )
And why exactly is this front page news? The attack is lame, and the technique is script kiddie stuff, and has been around since ages.
O RLY? (Score:2)
(http://www.livejournal.com/users/control_group)
But the openness of your wireless network really isn't their problem. You don't blame the banks if you shout your PIN out while you're at the ATM, do you? Or, more aptly, you don't blame the bank if you trust your ATM card and PIN to some stranger in a coffee shop.
It isn't Google's responsibility to secure your connection end-to-end. It's far more reasonable to think that it's your responsibility to not broadcast sensitive information in plaintext!!
A BLack hat attendee hacked? (Score:1, Redundant)
Luckily gmail keeps the entire session in https opposed to other sides that also are hackable the same way, where only the logon is secure. After that they switch to http and are susceptible (e.g. facebook) to this attack.
There is more on this on Ars Technica: http://arstechnica.com/news.ars/post/20070801-repo rt-sidejacking-session-information-over-wifi-easy- as-pie.html [arstechnica.com]
Always use https://gmail.google.com (Score:3, Informative)
ssl and gmai. (Score:2)
Cookie Monters with Black Hats (Score:1)
(http://www.hottila.com/)
Easy fix (Score:3, Informative)
use gmail over https (Score:2, Informative)
Accessing http://gmail.google.com/ [google.com] will redirect you to a secure page for login, but after that you're back in plain text. If you start at https://gmail.google.com/ [google.com] then afaik the rest of your gmail session runs over SSL.
Make it default to https (Score:4, Informative)
#
# Actual snippet from my Apache configuration
# Some details have been changed to protect the innocent
# And some details have been changed to protect the guilty
#
# The virtual host "secure.mydomain.co.uk" cannot be accessed
# by http; only by https.
#
# The insecure port
<VirtualHost 10.11.12.13:80>
ServerName secure.mydomain.co.uk
DocumentRoot
<Directory
RedirectMatch ^/[^iI]
# In this directory is a page with a dire warning
# that https is required to access this server.
# NB. To avoid creating an infinite loop, we never
# redirect if request begins with I or i.
</Directory>
</VirtualHost>
# The secure port
<VirtualHost 10.11.12.13:443>
SSLEngine on
</VirtualHost>
What about iGoogle? (Score:1, Insightful)
(http://www.wasimmer.de/)
Ferret? (Score:1)
(http://www.techwolf.net/)
Running all traffic over HTTPS... (Score:1)
(http://www.etnu.org/)
The clue word here is "sniffing". (Score:2)
This has nothing to do with any Google insecurity.
On a wired switched network, it's only possible to sniff from either a mirrored switch port or from a hub connection that has been put somewhere in the data path of the target being sniffed. Neither of these things are a particularly easy thing to do.
On a wireless network, sure, it's easy if the network is secure and encrypted - but anyone who uses an insecure unecrypted wireless network is a total fool if he or she is surprised that this kind of exploit works.
The fact is if any encryption key exchanges go on between encrypting endpoints, if you can sniff what the two are doing and catch the data flow at the right time as a "man-in-the-middle" attack, it's theoretically possible to intercept just about any type of connection - difficult but possible.
Move along, there really is nothing to see here.
It's about the Wireless ... (Score:1)
(http://360.yahoo.com/sibeliusop47)
So, why are we still using the webmail client? (Score:1)
(http://timcol6.freehostia.com/)
Repeat after me... (Score:1)
(http://realityfactory2.sourceforge.net/)
Re:I give 10 minutes (Score:3)
Re:I give 10 minutes (Score:1)
Re:thank god... (Score:1, Insightful)
Re:thank god... (Score:1)
Re:thank god... (Score:4, Funny)