Author Topic: Gmail with HTTPS  (Read 6761 times)

0 Members and 1 Guest are viewing this topic.

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Gmail with HTTPS
« Reply #15 on: August 20, 2008, 01:44:34 pm »
gmail doesn't have to use cookies.  The "remember me" checkbox will do this, but without it, I don't think it uses cookies.  This tool hijacks the session by looking for the session ids in the requests, from what I understand.  It's unlikely that it's anything fancy, but it's irrelevant.  This thread is saying "turn on always over https" not "omg look at these sweet hax".
A site *always* uses cookies to remember who you are, even if the cookie only lasts for the session. The only alternative is to use trickery, like somebody's cache or ip address or something.

But yeah, I think it's ridiculous that sites like gmail and hotmail don't have SSL on for everybody, by default.


Passing the session ID around through the URLs works too.

Certain browsers don't allow global javascript variables, and while there are workarounds to that, they're all far more ugly than using cookies. Every major web app users cookies, period.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Gmail with HTTPS
« Reply #16 on: August 20, 2008, 01:53:29 pm »
gmail doesn't have to use cookies.  The "remember me" checkbox will do this, but without it, I don't think it uses cookies.  This tool hijacks the session by looking for the session ids in the requests, from what I understand.  It's unlikely that it's anything fancy, but it's irrelevant.  This thread is saying "turn on always over https" not "omg look at these sweet hax".
A site *always* uses cookies to remember who you are, even if the cookie only lasts for the session. The only alternative is to use trickery, like somebody's cache or ip address or something.

But yeah, I think it's ridiculous that sites like gmail and hotmail don't have SSL on for everybody, by default.


Passing the session ID around through the URLs works too.

Certain browsers don't allow global javascript variables, and while there are workarounds to that, they're all far more ugly than using cookies. Every major web app users cookies, period.

I know.

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: Gmail with HTTPS
« Reply #17 on: August 20, 2008, 02:18:26 pm »
I just turned it on.  Thanks.  I was under the impression that it was already across SSL the whole time... lol.

How were you able to set it so that it redirects you automatically to the secure site? I was thinking about this the other day, because I use GMail Notifier in my tray and it doesn't run HTTPS. Hrm.. guess I have to wait for them to update for that to work secure.
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Gmail with HTTPS
« Reply #18 on: August 20, 2008, 02:24:16 pm »
It's an option in the main settings page on the website. I'm not sure about notifier; I use several different flavors of notifiers on different computers, and I'd like to know too :P

I work at an IP company; ethereal is on the standard image that we use for new computers, because it's used by so many. All our switches are managed, etc. It really would be trivial for anyone who works here to hijack my gmail session.
« Last Edit: August 20, 2008, 02:26:05 pm by Camel »

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Gmail with HTTPS
« Reply #19 on: August 20, 2008, 02:33:23 pm »
I just turned it on.  Thanks.  I was under the impression that it was already across SSL the whole time... lol.

How were you able to set it so that it redirects you automatically to the secure site? I was thinking about this the other day, because I use GMail Notifier in my tray and it doesn't run HTTPS. Hrm.. guess I have to wait for them to update for that to work secure.

Does the updater use HTTP?  I could be the case that it's using IMAP with SSL.  I haven't used it in a long time.

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Gmail with HTTPS
« Reply #20 on: August 20, 2008, 02:44:28 pm »
Does the updater use HTTP?  I could be the case that it's using IMAP with SSL.  I haven't used it in a long time.

Yes; it's accessing the GWT-RPC service directly with HTTP.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline Explicit

  • Hero Member
  • *****
  • Posts: 717
  • Hail Bender!
    • View Profile
Re: Gmail with HTTPS
« Reply #21 on: August 20, 2008, 03:10:36 pm »
I just turned it on. Thanks. I was under the impression that it was already across SSL the whole time... lol.

How were you able to set it so that it redirects you automatically to the secure site? I was thinking about this the other day, because I use GMail Notifier in my tray and it doesn't run HTTPS. Hrm.. guess I have to wait for them to update for that to work secure.

What I did to solve that problem awhile back was hex edit Gmail Notifier. Run a string search for 'http://mail.google.com/mail/', and from there just change it to 'https://mail.google.com/mail/' without inserting any extra bytes (you're going to overwrite one of the bytes).
Quote
Like all things in life, pumping is just a primitive, degenerate form of bending.

Quote
Hey, I don't tell you how to tell me what to do, so don't tell me how to do what you tell me to do! ... Bender knows when to use finesse.

[13:41:45]<@Fapiko> Why is TehUser asking for wang pictures?
[13:42:03]<@TehUser> I wasn't asking for wang pictures, I was looking at them.
[13:47:40]<@TehUser> Mine's fairly short.

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Gmail with HTTPS
« Reply #22 on: August 20, 2008, 03:12:11 pm »
That would be good, but can it handle HTTPS connections?
- Newby
http://www.x86labs.org

Quote
[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Gmail with HTTPS
« Reply #23 on: August 20, 2008, 03:13:58 pm »
What I did to solve that problem awhile back was hex edit Gmail Notifier. Run a string search for 'http://mail.google.com/mail/', and from there just change it to 'https://mail.google.com/mail/' without inserting any extra bytes (you're going to overwrite one of the bytes).

That sounds too simple to be true; I refuse to believe it :)

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline Explicit

  • Hero Member
  • *****
  • Posts: 717
  • Hail Bender!
    • View Profile
Re: Gmail with HTTPS
« Reply #24 on: August 20, 2008, 03:15:27 pm »
Camel, do it. :)
Quote
Like all things in life, pumping is just a primitive, degenerate form of bending.

Quote
Hey, I don't tell you how to tell me what to do, so don't tell me how to do what you tell me to do! ... Bender knows when to use finesse.

[13:41:45]<@Fapiko> Why is TehUser asking for wang pictures?
[13:42:03]<@TehUser> I wasn't asking for wang pictures, I was looking at them.
[13:47:40]<@TehUser> Mine's fairly short.

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Gmail with HTTPS
« Reply #25 on: August 20, 2008, 03:16:23 pm »
That would be good, but can it handle HTTPS connections?

I'm assuming it uses a common library to handle its connections.  Most of the ones I've seen support stuff like HTTPS transparently.

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Gmail with HTTPS
« Reply #26 on: August 20, 2008, 03:18:53 pm »
Well, I turned on the option to force https, and google notifier is broken now. I suppose I'll have to hex it.

Is the byte following the string known to be unused? It seems likely that it is, since compilers tend to align strings.

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!

Offline Explicit

  • Hero Member
  • *****
  • Posts: 717
  • Hail Bender!
    • View Profile
Re: Gmail with HTTPS
« Reply #27 on: August 20, 2008, 03:21:20 pm »
Well, I turned on the option to force https, and google notifier is broken now. I suppose I'll have to hex it.

Is the byte following the string known to be unused? It seems likely that it is, since compilers tend to align strings.

I'm assuming it's unused since I haven't experienced anything out of the norm when running the notifier, though it's not a safe assumption to make.

This is on Windows by the way.
« Last Edit: August 20, 2008, 04:00:56 pm by Explicit[nK] »
Quote
Like all things in life, pumping is just a primitive, degenerate form of bending.

Quote
Hey, I don't tell you how to tell me what to do, so don't tell me how to do what you tell me to do! ... Bender knows when to use finesse.

[13:41:45]<@Fapiko> Why is TehUser asking for wang pictures?
[13:42:03]<@TehUser> I wasn't asking for wang pictures, I was looking at them.
[13:47:40]<@TehUser> Mine's fairly short.

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: Gmail with HTTPS
« Reply #28 on: August 20, 2008, 06:47:56 pm »
Well, I turned on the option to force https, and google notifier is broken now. I suppose I'll have to hex it.

Is the byte following the string known to be unused? It seems likely that it is, since compilers tend to align strings.

Same thing happened to me.. so I fooled around with it in a hex editor, and now it seems to work. Not sure if it's completely secure though, you'd have to hex it and then sniff the traffic to test. Try it!
« Last Edit: August 20, 2008, 06:59:50 pm by Quik »
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline Camel

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
    • BNU Bot
Re: Gmail with HTTPS
« Reply #29 on: August 21, 2008, 12:04:19 pm »
I got lazy and did the edit with vi in text mode; despite the file size changing by one byte, it still works. I've verified that it's using TLSv1.

[edit] Specifically, TLS_RSA_WITH_RC4_128_SHA
« Last Edit: August 21, 2008, 12:06:12 pm by Camel »

<Camel> i said what what
<Blaze> in the butt
<Camel> you want to do it in my butt?
<Blaze> in my butt
<Camel> let's do it in the butt
<Blaze> Okay!