Welcome, Guest. Please login or register.

Author Topic: Secure connections really secure ?  (Read 3241 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show only replies by Jose
Secure connections really secure ?
« on: July 11, 2007, 04:03:12 PM »
Thought this would be interesting for others too. Not being a network guru (though I've already read the IP protocol rfc;)) I was wondering what protocol do browsers/webservers use when a requester pops up saying we are using a secure connection. Like when using Paypal. And how secure is it really ? What about if you're connecting through one of those wifi AP's someone set up (talking about intentional internet sharing here, not stealing;)) won't he be able to spy on all the data that goes through the server (same applies to ISPs ?) I mean, even if the thing is encrypted he'll be able to view the initialization process so I don't get it how a connection can really be secure for the user, at least on the provider side.
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline Floid

  • Hero Member
  • *****
  • Join Date: Feb 2003
  • Posts: 918
    • Show only replies by Floid
Re: Secure connections really secure ?
« Reply #1 on: July 11, 2007, 04:21:02 PM »
Start here:
http://en.wikipedia.org/wiki/Https
http://en.wikipedia.org/wiki/Secure_Sockets_Layer
Quote
In order to generate the session keys used for the secure connection, the browser uses the server public key from the certificate to encrypt a random number and send it to the server. Only the server can decrypt it (with its private key): this is the one fact that makes the keys hidden from third parties, since only the server and the client have access to this data.


If HTTPS weren't secure for use through an AP it would be equally insecure for use through every other equally untrusted path on the internet.

Attacking the encryption involved is computationally expensive and not ordinarily worthwhile when the "secure" site's systems can be compromised directly (password attacks, SQL holes, idiots sharing customer_data.xls on an open WebDAV share, grabbing an unencrypted backup off the Iron Mountain truck), yielding entire databases at once.  

You might want to be concerned if you're hiding from or working for the NSA.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Secure connections really secure ?
« Reply #2 on: July 11, 2007, 04:21:15 PM »
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show only replies by Jose
Re: Secure connections really secure ?
« Reply #3 on: July 11, 2007, 04:28:24 PM »
Nice! I'll have to digest the info a bit before actually understanding it though...:)
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline sir_inferno

  • Hero Member
  • *****
  • Join Date: Oct 2003
  • Posts: 1037
    • Show only replies by sir_inferno
Re: Secure connections really secure ?
« Reply #4 on: July 11, 2007, 06:37:35 PM »
Quote

Jose wrote:
What about if you're connecting through one of those wifi AP's someone set up (talking about intentional internet sharing here, not stealing;)) won't he be able to spy on all the data that goes through the server (same applies to ISPs ?) I mean, even if the thing is encrypted he'll be able to view the initialization process so I don't get it how a connection can really be secure for the user, at least on the provider side.


wireless is extremely vulnerable to man in the middle attacks...but if you've got encryption like SSL then your data is absolutely secure
 

Offline trip6

  • Sr. Member
  • ****
  • Join Date: Jun 2007
  • Posts: 348
    • Show only replies by trip6
Re: Secure connections really secure ?
« Reply #5 on: July 11, 2007, 09:14:42 PM »
I am a network engineer... Here is the down low on SSL or Secure Socket Layer encryption. SSL has its own TCP port 443. SSL is commonly used with HTTPS protocol. TCP is a session oriented protocol, meaning that the client and the server establish a session before communication takes place. What SSL does is setup an encryption algorithm for that session based on a security certificate, if you don't have the correct algorithm you cannot transmit data to that session. Can it be hacked yes, just like anything it just takes along time. Security is finite not infinite so all security can be cracked given an appropriate amount of time and the appropraite resources to do so. But it creates enough of a stumbling block that 90% of the people trying to crack it, give up before they can or do not have the resources or knowledge to do so. Think of it as a safe, I can break into a safe but if the walls are 20 foot thick, I may have to risk myself and have significant resources to do so. Hope that makes sense to you... Feel free to ask questions.
 

Offline Ami_GFX

  • Sr. Member
  • ****
  • Join Date: Apr 2007
  • Posts: 379
    • Show only replies by Ami_GFX
Re: Secure connections really secure ?
« Reply #6 on: July 12, 2007, 12:40:09 AM »
Yes, SSL is secure. The weak point is not the protocol but the user--ie, if some hacker obtains your Paypal password through a trojan, phishing scheme, or whatever means, his access to your account will be just as secure as yours. Making sure your computer is malware free and avoiding using computers that you're not sure about for anything but casual surfing and never clicking on direct links in emails will help out a lot on the user end of the equation.
A2500 owned since 1993 with A2630/DKB 2632, DKB Megachip, GVP EGS Spectrum, A2320 and GVP HC+8 on the inside and a DCTV on the outside. A4000D with CSPPC, Cybervision 64 and a Flicker Magic flicker fixer. A4000T Toaster Flyer & CSMKII. All systems completly retro and classic and mostly used to do geometic art as in my avatar.
 

Offline InTheSand

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 1766
    • Show only replies by InTheSand
    • http://www.ali.geek.nz
Re: Secure connections really secure ?
« Reply #7 on: July 12, 2007, 02:37:55 AM »
Quote

Floid wrote:
idiots sharing customer_data.xls on an open WebDAV share


Heh! Are people/companies really that stupid??!  :lol:

 - Ali
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show only replies by Jose
Re: Secure connections really secure ?
« Reply #8 on: July 13, 2007, 03:05:36 PM »
All seems pretty straightforward, still a doubt poped up about when using wireless but logged in here today and you guys have already answered that:)

So as I see it, I don't care if anyone spies on the sites that I visit when using wireless connection, cause the ones with sensitive information are encrypted.
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show only replies by Jose
Re: Secure connections really secure ?
« Reply #9 on: July 13, 2007, 03:10:07 PM »
Kind of makes using a more uncommon platform a very good choice when it comes to security doesn't it.. :-)
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline Zac67

  • Hero Member
  • *****
  • Join Date: Nov 2004
  • Posts: 2890
    • Show only replies by Zac67
Re: Secure connections really secure ?
« Reply #10 on: July 13, 2007, 11:17:26 PM »
@trip6

Just to put your statement into scale: to break into a safe w/ 20 feet walls, you need what? a month?

To break an AES-256 key using every piece of hardware on this planet, you'd need several times longer than the current age of the universe (actually you're not even beginning to get to the same scale here), using much, much more power than the universe has got - and yes, I have converted all matter to energy for that purpose...

So, with today's technology you can safely assume AES-256 or RC5-256 (or even 128 bit keys) to be secure. This may rapidly change once reasonably sized quantum computers become available, but that'll take a bit.

PS: The still commonly used RC4 encryption has some weaknesses (e.g. in WEP), so it must be carefully implemented and use appropriate key lengths. E.g. WPA can still be considered secure whereas WEP is highly compromised. WPA2 (optionally) uses AES, so it's the best choice for wireless LAN encryption.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Secure connections really secure ?
« Reply #11 on: July 13, 2007, 11:51:14 PM »
@Jose

Here's an article you might find interesting, too:
Secure programming with the OpenSSL API, Part 2: Secure handshake
 

Offline JoseTopic starter

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2871
    • Show only replies by Jose
Re: Secure connections really secure ?
« Reply #12 on: July 14, 2007, 06:35:53 PM »
"Here's an article you might find interesting, too: ..."

Very :-)
\\"We made Amiga, they {bleep}ed it up\\"
 

Offline vk3heg

  • Full Member
  • ***
  • Join Date: Jan 2006
  • Posts: 157
    • Show only replies by vk3heg
Re: Secure connections really secure ?
« Reply #13 on: July 16, 2007, 10:20:15 AM »
Quote

InTheSand wrote:
Quote

Floid wrote:
idiots sharing customer_data.xls on an open WebDAV share


Heh! Are people/companies really that stupid??!  :lol:

 - Ali


YES!

:roll: :shocked:
Amiga 3000: Towered, 12Mb Ram, 9Gig SCSI Hd, Retina BLT Z3, X-Surf, OS3.1
Amiga 4000D: Warp Engine \'040 40Mhz, 150mb Ram, CyberVision 64/4, X-Surf, OS3.9
 

Offline uncharted

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1520
    • Show only replies by uncharted
Re: Secure connections really secure ?
« Reply #14 on: July 16, 2007, 10:38:44 AM »
Quote

Jose wrote:
All seems pretty straightforward, still a doubt poped up about when using wireless but logged in here today and you guys have already answered that:)

So as I see it, I don't care if anyone spies on the sites that I visit when using wireless connection, cause the ones with sensitive information are encrypted.


Wireless routers can be set up with WPA encryption for an additional layer of security.