Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

[ Create a new account ]

Article Poll

Poll Preferred Security Measure
SSH
SRP
telnet
[ Results | Polls ]
Comments:299 | Votes:2410

SSH v. SRP

Posted by CmdrTaco on Thu Feb 24, 2000 12:35 PM
from the glad-it's-not-called-PSSST! dept.
A reader asks, "We've all heard of SSH. My question is whether SSH is really the best option, or the only option? Many security experts and cryptographers believe SSH users may be lulled into a false sense of security, because of some outstanding security issues. An open-source project based at Stanford purports to have solved these problems."

The Stanford group claims SRP to be safe against snooping and immune to reply attacks. SRP exchanges a session key in the process of authentication, provides mutual authentication to resist dictionary attacks, offers what is supposed to be perfect forward secrecy, and does not require the server host to keep any information secure. This comparison of these two technologies should provide food for thought. Can SRP replace SSH? Does it truly offer more security? Is it the better choice? In simple terms, what are *your* thoughts?

This discussion has been archived. No new comments can be posted.
SSH v. SRP | Log In/Create an Account | Top | 299 comments (Spill at 50!) | Index Only | Search Discussion
Display Options Threshold:
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
(1) | 2 | 3
  • by noeld (43600) on Thursday February 24 2000, @07:50AM (#1248211) Homepage
    As the subject says ssh has been banged on for years there is now even an OpenSSH [openssh.org] project. This is time tested.

    This counts a lot in my book, even if SRP is better in some areas, how well is it going to stand up when it starts getting banged arround.

    Noel

    RootPrompt.org -- Nothing but Unix [rootprompt.org]

  • Does it offer session encryption too? by r-dass (Score:1) Thursday February 24 2000, @07:50AM
  • Can SRP shroud X connections? by Mike Greaves (Score:2) Thursday February 24 2000, @07:52AM
  • ssh -r and -l (Score:4)

    by Spoing (152917) on Thursday February 24 2000, @07:54AM (#1248214) Homepage
    #man ssh

    -L port:host:hostport
    Specifies that the given port on the local (client)
    host is to be forwarded to the given host and port
    on the remote side. This works by allocating a
    socket to listen to port on the local side, and
    whenever a connection is made to this port, the
    connection is forwarded over the secure channel,
    and a connection is made to host:hostport from the
    remote machine. Port forwardings can also be spec-
    ified in the configuration file. Only root can
    forward privileged ports.

    -R port:host:hostport
    Specifies that the given port on the remote
    (server) host is to be forwarded to the given host
    and port on the local side. This works by allocat-
    ing a socket to listen to port on the remote side,
    and whenever a connection is made to this port, the
    connection is forwarded over the secure channel,
    and a connection is made to host:hostport from the
    local machine. Port forwardings can also be speci-
    fied in the configuration file. Privileged ports
    can be forwarded only when logging in as root on
    the remote machine.

    Add tuneling, and I think your points are easily addressed.
  • Re:Telnet is the only solution. by slashdot-terminal (Score:2) Thursday February 24 2000, @07:58AM
  • Telnet With S/Key (Score:4)

    by n3rd (111397) on Thursday February 24 2000, @07:59AM (#1248218)
    Even though I haven't used it often, telnet with S/Key login seems to be a great alternative to vanilla telnet.

    From what I understand, it's only vulnerable to TCP hijacking (most things are) and dictionary attacks (which can be easily detected or accounts can be configured to be "locked out" after X bad login attempts).

    The best one of these is OPIE [inner.net] which can provide a one time pad for telnet, FTP and even su.

    Better yet, OpenBSD comes with this feature built into the OS.
  • by HancockDC (148897) on Thursday February 24 2000, @07:59AM (#1248219) Homepage
    Regarding the ssh/srp comparison, I cannot evaluate whether I am dealing with a ticking bomb (by using ssh) or not.

    What I CAN do is point out that the most dangerous security attitude is "It can't happen to me!" There is no substitute for watching the security web sites, making sure you have applied the latest security patches, and simply being aware of what is happening on your system.

    ssh is a definite plus over telnet, and I use it routinely. It is now just as natural to me as using the telnet command was 10 years ago. I'll certainly keep an eye on any new ways of doing things, but it would take a little more than what I have seen so far to make a switch at this time
    -----------------------------------------

  • by slashdot-terminal (83882) on Thursday February 24 2000, @07:59AM (#1248220) Homepage
    I would love to use SSH... problem is the machines I have to connect from. Is there any way to use SSH from a windows box. I would install SSH except all of the machines on campus are winblows boxes.

    Actually if you look at your local tucows mirror you can get ssh type telnet shells. I know of at least one I saw being used but forgot the name.
  • SSH issues? by freddie (Score:2) Thursday February 24 2000, @08:00AM
  • Re:Telnet is the only solution. by EXTomar (Score:2) Thursday February 24 2000, @08:00AM
  • SSH, what a misnomer. by GoNINzo (Score:1) Thursday February 24 2000, @08:01AM
  • Data encryption by Boolean Tryst (Score:2) Thursday February 24 2000, @08:02AM
  • Re:telnet rulez (Score:3)

    by _fuzz_ (111591) <me@davedunAAAkin.com minus threevowels> on Thursday February 24 2000, @08:02AM (#1248225) Homepage
    So you send your root password over the internet in cleartext? Now that's living on the edge... of stupidity. Have you ever used a packet sniffer? The output looks like this:
    [anonymous@coward /]$ su -

    Password: ontheedge

    [root@coward /root]#
    Next thing you know, you're taking part in a DDoS attack.
  • Security (Score:5)

    by jd (1658) <[imipak] [at] [yahoo.com]> on Thursday February 24 2000, @08:03AM (#1248226) Homepage Journal
    Here is a crude list of the various options. It's not complete, and it's not meant to be. The opinions I express are my own - I bought them for 5 cents each at the corner market.

    • SSH 1.x - Offers a nice, basic, secure link to a computer. There have been claims of buffer overruns, for some versions, but these have either been fixed or don't exist.
    • SSH 2.x - A supposedly less restricted version of the above, but with a licence that makes me wonder. Still, it's a very nice security package.
    • OpenSSH - A genuinely Open Source clone of SSH 1.x.
    • LSH - A genuinely Open Source clone of SSH 2.x
    • Kerberos - A serious network-buster, by all accounts. The overhead is high. On the other hand, the logo is cool, and it has been stress-tested.
    • NIST IPSec - Would you trust a Government-produced encryption package? Besides, it's way out of date and the maintainers would make snails look like international sprinters.
    • FreeS/WAN IPSec - Encrypt ALL your connections irrespective of the package you're using. VERY nice and VERY powerful. Needs to be installed at both ends, but that's true of all software, really.
    • EnSKIP - Same as IPSec, comes with the International Kernel Patches. Faster encryption than IPSec, in some cases. The original EnSKIP code isn't maintained, so I hope the kerneli people are doing something with it.
    • TCFS - An encrypted file system, linking two or more computers. If you're wanting to share files, this is probably a good bet.
  • Re:If only I could SSH by Mr. Protocol (Score:1) Thursday February 24 2000, @08:03AM
  • Re:If only I could SSH by jschauma (Score:2) Thursday February 24 2000, @08:06AM
  • by Phil Hands (2365) on Thursday February 24 2000, @08:06AM (#1248230) Homepage
    Check out mindterm [mindbright.se] (a Java SSH implementation) and PuTTY [greenend.org.uk] (a Free Windoze Telnet/SSH)

  • Re:If only I could SSH by Masem (Score:2) Thursday February 24 2000, @08:06AM
  • Re:If only I could SSH by andersen (Score:1) Thursday February 24 2000, @08:07AM
  • Re:Telnet is the only solution. by Anonymous Coward (Score:1) Thursday February 24 2000, @08:07AM
  • Re:If only I could SSH by Eric.pl (Score:1) Thursday February 24 2000, @08:08AM
  • Re:telnet rulez by slashdot-terminal (Score:2) Thursday February 24 2000, @08:08AM
  • by Signal 11 (7608) on Thursday February 24 2000, @08:09AM (#1248237)
    The problem most people side-step or don't even know about is man in the middle attacks:

    Works like this... you're host A connecting to host B but the packets go through host C. So unless host A and B have an alternate method to exchange keys, you're vulnerable to having host C replace the key with it's own, so in reality you're talking to host C and it's using a simple form of IP masquarading to make it look as if it's B or A...

    So long as host C is the only route between the two (which is suprisingly easy to accomplish) - or through icmp and bgp manipulation makes that the case - you can ensure that host C has access to all the data over the wire even though those two hosts think they now have a trusted connection! Unless you can bypass host C via another path you won't even know it's happening.

    Now, let me make this clear: there is no method for you to ensure data integrity over a public network like the internet. You must exchange keys over a secure medium before you can communicate securely over any network unless you can ensure that the entire network is under the same (trusted) administrative domain and have verified that it has not been tampered with (very, very difficult).

    So in short: Yeah, SSH has problems. But this new program isn't going to make any leaps forward. You really need a PGP-style distributed key server system where you can verify the key's integrity through a trust network and/or via multiple independent routes / hosts. Otherwise, the alternative is a Kerberos-style system. Unfortunately THAT system has a single point of failure - if the key server is compromised your entire network is compromised. I'm not an expert though on Kerberos, so feedback is appreciated.

    That is all,

  • by jbarnett (127033) on Thursday February 24 2000, @08:10AM (#1248238) Homepage
    Sure telnet can connect to any port, this is really great for testing out service "by hand" or to see if xyz host can connect to port xx on host zyx though the firewall. Sure telnet is invaulable for some things, but it is still unsecure.

    For example, if you telnet into a server, su to root, do some root work, exit root account, read your email, exit the telnet session. If someone was sniffing your network they would have

    1) you login and password
    2) ROOTS! login and passowrd!!
    3) the IP of the machine your telneted into
    4) A rough idea of how you work, what "major" logs, info you check when you fist log on
    5) that you girlfriend is pissed at you (via the email)
    6) that your boss is pissed at you (via the email)
    7) that pretty much anyone that emails you has some bitching to do about something (via the email)
    8) how good of a typist you are.

    Sure telnet is convent, but is insecure. If you do anytype of remote rooting(TM) you need SSH. I would highly suggest you use SSH for normal remote logs and ALWAYS use SSH when doing remote rooting(TM).

    True story, I know a freind that used to go to college part time, and did Jr. level admin stuff for a local company. At school one day he was chilling at the computer lab after class, he got an email at his school's email account saying that their was problems with XYZ on the server at work and all hell was breaking loose. He quickly fired up Windows 95 Telnet, hoped over to the site in normal user mode, looked around and firgured out the problem. The problem needed root access, he shoved up the SU command without a thought, entered the password, fixed the problem, the bosses where happy.

    The thing he didn't know was that there was a group of college security nerd playing around in the computer lab at the time, they where developing a Windows 95 ethernet sniffer. It was still beta, but it sure enough grab his password and also ROOT's password!!! They told him about it, and he promptly called an admin on site that changed root's password from the console, but if these security nerds in the computer lab where script kids or malice mother fuckers, who knows what would of happened!!

    Sniffing is easy, try sniffit, a easy to use packet sniffer for Linux. When I was on help desk I used to sniff the admin computer and come up with all kinda of neat things. The thing I didn't want to find out though is that %90 of his day was involed in IRC chatting under the #lesbains channel with the nick Amy34Blonde (he was male).

  • Name one major hack based on an SSH weakness by rambone (Score:1) Thursday February 24 2000, @08:12AM
  • Differences... (Score:4)

    by altair1 (71744) on Thursday February 24 2000, @08:12AM (#1248242)
    SSH is a little more versatile in that it can do port forwarding to make
    arbitrary TCP connections secured. It can even be used to support secure PPP
    tunnels. SRP on the otherhand is less versatile. Only telnet and ftp seem to
    be supported. Someone please correct me if I'm wrong, but as far as I know
    SRP does not have any sort of connection forwarding like SSH does.

    Another major difference is in licensing. SRP is under the GPL. No official
    version of SSH is under a real open source licesense. SSH2 forbids any sort
    of commercial use, even internally. SSH1 is slightly less restrictive in
    that it allows for commercial use without paying them, but you can only use
    it internally. These license restrictions are the reason SSH isn't found in
    most linux distros.

    However, there is an open source implementation of SSH being developed by
    the OpenBSD people at http://www.openssh.org. It is ususably stable in its
    current version.

    The main thing SRP and SSH have in common is that they require no
    infrastructure to be secure. In otherwords, you do not need any sort of key
    distribution centers, or any other sort of software besides the daemon
    itself and the client program to make everything work. Compare this to say,
    Kerberos. Using kerberos, you can have secure connectivity to a machine,
    however, there's a lot of additional infrastructure and complexity thrown
    in, (such as KDC machines). You'll want to use Kerberos if you have a lot of
    machines that will share a common user/password database. Kerberos will let
    you log into one machine, say a kerberized workstation, and you'll be able
    to securely log into any other machine (via telnet, rlogin, rsh, rcp, ssh,
    ftp, pop3...) that's part of the same Kerberos realm without ever having to
    type your password (assuming your client software supports Kerberos authentication).

    SRP is arguably more secure than SSH, however SSH is a little more widely
    implememnted and can be used for more things. If all you need is a secure
    telnet and FTP, and the existing clients are suitable for you and you can
    trust it (SRP is a litte newer), I'd give it a try.

  • Bwahahaha by Phexro (Score:1) Thursday February 24 2000, @08:14AM
  • Re:If only I could SSH by jeff_C (Score:1) Thursday February 24 2000, @08:14AM
  • Audit it. by generic (Score:1) Thursday February 24 2000, @08:15AM
  • Apples and oranges (Score:4)

    by Djinh (92332) on Thursday February 24 2000, @08:16AM (#1248247)
    SRP seems to be an authentication protocol. A promising one, but just that, nothing more nothing less.

    SSH on the other hand is a very useful application offering secure communications to another host. Keep in mind that SSH's password authentication happens after the encrypted channel has been set up. This means that the password can only be intercepted if the crypto fails.

    SRP's security is based on similar cypro primitives as SSH's, so if the magic crypto hack we're all looking for gets found both will be useless.

  • Re:If only I could SSH by Puff65535 (Score:1) Thursday February 24 2000, @08:17AM
  • Re:Data encryption by nconway (Score:1) Thursday February 24 2000, @08:18AM
  • Re:Yeah there are some at tucows by Fluffy (Score:1) Thursday February 24 2000, @08:21AM
  • Sourceforge? (Score:4)

    by |c0bra| (152925) on Thursday February 24 2000, @08:21AM (#1248251) Homepage
    This is really interesting since anyone hosted by SourceForge [sourceforge.net] is required to use SSH and SCP to get to their shell accounts and transfer files. It would be nice to see the people producing SRP put it up on SourceForge if they haven't already. For those of you who dont know, sourceforge is a free service brought to you by your friends at VA Linux. Its for people who need a place to work and publish Open Source projects and stuff. I love it so far.

  • Re:SSH windoze client? Yes! Use TeraTerm. 3.1/9x/N by slashdot-terminal (Score:2) Thursday February 24 2000, @08:22AM
  • Re:If only I could SSH by rnt (Score:2) Thursday February 24 2000, @08:23AM
  • Re:telnet rulez by vectro (Score:2) Thursday February 24 2000, @08:25AM
  • Re:Telnet is the only solution. by slashdot-terminal (Score:2) Thursday February 24 2000, @08:25AM
  • SSH - the only secure solution... for now by John Hurliman (Score:2) Thursday February 24 2000, @08:26AM
  • Re:Telnet With S/Key by Chang (Score:1) Thursday February 24 2000, @08:26AM
  • Re:If only I could SSH by jeff_C (Score:1) Thursday February 24 2000, @08:28AM
  • Re:Data encryption by ajm (Score:2) Thursday February 24 2000, @08:29AM
  • Re:Yeah there are some at tucows by Grand Facade (Score:1) Thursday February 24 2000, @08:29AM
  • SSH by Anonymous Coward (Score:2) Thursday February 24 2000, @08:30AM
  • PUTTY rocks! by zosima (Score:1) Thursday February 24 2000, @08:30AM
  • Re:PKI and other issues by Kaa (Score:2) Thursday February 24 2000, @08:36AM
  • I allow telnet in, but only as bait to nab h4x0rz by Anonymous Coward (Score:2) Thursday February 24 2000, @08:37AM
  • by TheTomcat (53158) on Thursday February 24 2000, @08:42AM (#1248268) Homepage
    I'm running an SSH client for Windows called SecureCRT. It works very well (key emulation is not 100%, but I can't even find a TELNET client that works properly). There's a 30day evaluation on Tucows.
  • Re:Encryption style by drnomad (Score:1) Thursday February 24 2000, @08:44AM
  • Comparing Apples to Oranges by Joe_NoOne (Score:2) Thursday February 24 2000, @08:47AM
  • Re:PKI and other issues by iabervon (Score:2) Thursday February 24 2000, @08:47AM
  • pcAnywhere encryption. by Otto (Score:1) Thursday February 24 2000, @08:47AM
  • Re:telnet rulez by scumdamn (Score:1) Thursday February 24 2000, @08:48AM
  • Re:PKI and other issues by tjoynt (Score:1) Thursday February 24 2000, @08:49AM
  • Re:telnet rulez (Score:3)

    by Fluffy the Cat (29157) on Thursday February 24 2000, @08:50AM (#1248278) Homepage
    Maybe there's nothing that you care about on the machine. I had a thought I don't know about you but perhaps if you security gets compromised and someone was doing one of these fabled attacks then perhaps you could just shut down the machine or turn it off in the first place?

    If a single machine on a network is compromised, the entire network's security is greatly decreased. If someone cracks my machine, 600 other machines become hugely more vulnerable because the first thing any even vaguely competent script-kiddie is going to do is install a packet sniffer. As for turning machines off if they start being used for DoS attacks - great. I'm sure the remote site will be thrilled that it only took a few hours for you to wake up/get home/notice before pulling the plug. Security is not something that should be dealt with half-heartedly, and if you're not going to care about security then your machine should not be allowed anywhere near the internet.

    Who transfers to the root partition as part of their normal access or for su'ing?

    That's what su - does.

    Assuming you edit the file /etc/login.access or something like that you could just remove logins for root or anyone else from certain times. Bango you have removed the problem without expending any problems at all.

    You mean block root access at certain times of day? But that would prevent me from doing remote administration at certain times of day, and still does nothing to prevent someone packet sniffing my root password when I do use it. From that point on, I've lost. You should never transmit your root password via telnet unless you trust all the other hosts on your network.
  • Magical Factoring of Primes: SNAKE OIL ALERT by rambone (Score:1) Thursday February 24 2000, @08:52AM
  • Convienience (sp?) by tsphere (Score:1) Thursday February 24 2000, @08:52AM
  • Re:SSH by dvdeug (Score:1) Thursday February 24 2000, @08:53AM
  • Re:If only I could SSH by mystik (Score:1) Thursday February 24 2000, @08:53AM
  • Re:If only I could SSH by ragnar (Score:1) Thursday February 24 2000, @08:56AM
  • Re:Security by AppleJuice (Score:1) Thursday February 24 2000, @08:57AM
  • Re:PKI and other issues by Chalst (Score:2) Thursday February 24 2000, @08:59AM
  • Re:Telnet With S/Key by Inoshiro (Score:2) Thursday February 24 2000, @08:59AM
  • Re:PUTTY rocks! by errorlog (Score:1) Thursday February 24 2000, @09:01AM
  • Re:PKI and other issues by Signal 11 (Score:1) Thursday February 24 2000, @09:01AM
  • Re:If only I could SSH --- You can by Fluffy the Cat (Score:1) Thursday February 24 2000, @09:01AM
  • by stain ain (151381) on Thursday February 24 2000, @09:03AM (#1248293)
    There's a way to defeat, in some extent, man in the middle attacks when using public key cryptography: the interlock protocol designed by Rivest and Shamir.

    The protocol works this way:
    1) A sends B his public key
    2) B sends A his public key
    3) A encrypts using B's public key and sends half the message to B
    4) B encrypts using A's public key and sends half the message to B
    5) A sends the other half to B
    6) B sends the other half to A
    7) Both A and B put the two halves together and decrypt the message with their private keys

    If someone is in the middle, he can change the public keys by its own keys, but then in points 3 and 4 he will not be able to pass the real message because it has not been transmitted yet; he will have to invent a completely new message and though the "conversation" will be completely different. This is not a perfect solution since, in fact, he will be able to intercept at least the first messages exchange, but his presence would be detected quickly.
    As you pointed, the good solution is to use some kind of trusted third party authentication.

  • Windows Clients by Joe_NoOne (Score:1) Thursday February 24 2000, @09:04AM
  • Re:Telnet is the only solution. by Anonymous Coward (Score:1) Thursday February 24 2000, @09:04AM
  • Groundless, eh?

    Here's a buffer overflow [rootshell.com].

    Here's a bounce attack [rootshell.com]

    Here's another one [rootshell.com].

    Now what would happen I used a more current source of attacks? There were a couple on BugTraq a couple months ago.

    And don't tell me that 'patches come out quickly' because the bounce attacks were not patched for several weeks, and I know, because I was hit with them. So it might sound like just hype, but there is proof out there.

    And I forgot, just because URL's were not included, I have no clue, right? Happier?

    --
    Gonzo Granzeau

  • SRP plus CIPE by rjamestaylor (Score:2) Thursday February 24 2000, @09:05AM
  • Re:PKI and other issues by Signal 11 (Score:1) Thursday February 24 2000, @09:06AM
  • by Jon Peterson (1443) <`gro.tfirdwons' `ta' `noj'> on Thursday February 24 2000, @09:07AM (#1248299) Homepage
    Too many people either fail to make the distinction between authentication and encryption, or else feel that if you fix encryption then you fix authentication.

    This latter belief appears to stem from the very shortsighted supposition that if you have an unguessable (not in crack files) password and always send it encrypted you'll be OK.

    There are so many ways to get a password its not true. Passwords, while a good start, are not the be-all and end all of authorisation.

    The public key authentication mechanism of SSH actually makes things worse, because the key is (effectively) tied to one or more computers rather being tied to the individual, which is almost always the wrong approach. Most authentication systems are trying to authenticate people, not computers - the fact that the same people often use the same computers is merely convenient - convenient for the computer system not the user.

    Worse still, the public key, being digital, is easily copied without the owner knowing. Sure, it's password protected, but that just brings us back to passwords again.

    So, for authentication I much prefer physical card based systems - i.e. two factor systems. You know when you've lost your card, you can keep track of who has cards, and you can't replicate stealthily.

    SecurID is nice because it integrates well with existing systems - no special card reading hardware needed. Other such systems exist, too.

    Sure, we need the encryption as well, but simply sending ye olde unix password over an encrypted channel is no magic solution to safe authentication.
  • Re:Apples and oranges by Another MacHack (Score:1) Thursday February 24 2000, @09:08AM
  • Re:PKI and other issues by Signal 11 (Score:1) Thursday February 24 2000, @09:09AM
  • Re:Differences... by Anonymous Coward (Score:2) Thursday February 24 2000, @09:12AM
  • Re: hmm by drnomad (Score:1) Thursday February 24 2000, @09:14AM
  • by Furry Ice (136126) on Thursday February 24 2000, @09:16AM (#1248307)
    True, the SSH implementation has been around for a long time, and there aren't any SRP implementations that I consider high quality (more later), but this doesn't mean that one can't be written. The simple fact is that the protocol is quite simple and appears to be equivalent (if I remember, it was proven to be equivalent) to the Diffie-Hellman problem, so the mathematics are solid--have been banged on for years, one might say. However, we just need a good, pervasive implementation, which would be a good project for the community. SRP isn't encumbered by patents and provides a lot of flexibility for encryption options.

    For those who don't know, SRP just verifies the identity of a user to a server and, optionally, the server to the user. However, the process of this verification also _securely_ produces a shared symmetric key at both ends of the connection which can then be used to encrypt the rest of the session using a cipher of choice. Encryption is optional, if only secure authentication is required.

    It's time we stop letting the fact that there aren't well ironed implementations of the protocol prevent us from using it. The main problem with the existing implemenatations from Stanford is that they require too many changes to the system (su, login, passwd, and some others) all have to be replaced with SRP aware versions, and yet another password file has to be created (/etc/tpasswd). PAM can probably relieve some of these problems (there used to be an SRP PAM module--is it still around?), but most of the difficulty with SRP lies in integrating it with your system. If we worked on simplifying this a bit, it could potentially be a very good solution.

  • Re:SSH, what a misnomer. by GoNINzo (Score:1) Thursday February 24 2000, @09:16AM
  • Once again, name a major hack due to SSH flaws by rambone (Score:1) Thursday February 24 2000, @09:17AM
  • Re:Security by Hawke (Score:2) Thursday February 24 2000, @09:18AM
  • Re:USe OpenSSH by jpatokal (Score:2) Thursday February 24 2000, @09:18AM
  • Re:Encryption style by drnomad (Score:1) Thursday February 24 2000, @09:24AM
  • Re:Once again, name a major hack due to SSH flaws by GoNINzo (Score:2) Thursday February 24 2000, @09:25AM
  • Re:Telnet is the only solution. by TheCarp (Score:2) Thursday February 24 2000, @09:26AM
  • Re:PKI and other issues by pjl5602 (Score:1) Thursday February 24 2000, @09:26AM
  • Re:USe OpenSSH by erice (Score:1) Thursday February 24 2000, @09:27AM
  • Re:Telnet is the only solution. by EXTomar (Score:1) Thursday February 24 2000, @09:29AM
  • Re:USA: Pure, concentrated right-wing evil insanit by TheCarp (Score:1) Thursday February 24 2000, @09:35AM
  • Re:Telnet is the only solution. by The Mayor (Score:2) Thursday February 24 2000, @09:35AM
  • Re:Once again, name a major hack due to SSH flaws by rambone (Score:1) Thursday February 24 2000, @09:36AM
  • Re:If only I could SSH by ripicheep (Score:1) Thursday February 24 2000, @09:36AM
  • Re:Once again, name a major hack due to SSH flaws by GoNINzo (Score:2) Thursday February 24 2000, @09:45AM
  • by fizzz (30154) on Thursday February 24 2000, @09:45AM (#1248325)

    The algorithm you're suggesting is mostly a precursor of the current PKIs (I haven't read its reference paper, and don't really have the time to find it, but I wouldn't be surprised to find that it dates back ~RSA publication times).

    By definition, at it's worst, a man-in-the-middle attack cannot be blocked/prevented: if A has never met B, there is no way for A to be convinced that she is really talking to B and not to C. If B is in the same situation (having never met A) and is also really speaking with C then although their communication may get from one to the other, it will always be possible for C to see all of it (since C can simply pretend to each of them to be the other player and then decrypt/reencrypt the message).

    For trust to be achieved perfectly you will always need an additional piece of information (or mean of identification) in which you can trust... PKI's are one of the possible solutions. In the case of the Rivest-Shamir you're describing both parties must have common knowledge of the message's content prior to starting the algorithm otherwise a middleman could switch messages for it's own. In essence the protocol becomes dependant on the messages's nature and the fact that both players must know it... Two complete strangers could not use it.

    But then again, there can't exist a protocol for two complete strangers to identify themselves to one another...

  • Re:Telnet is the only solution. by AnOminous CowHerd (Score:1) Thursday February 24 2000, @09:46AM
  • Re:Encryption style by toastyman (Score:2) Thursday February 24 2000, @09:48AM
  • Re:PKI and other issues by TheCarp (Score:2) Thursday February 24 2000, @09:56AM
  • Re:Telnet is the only solution. by guacamole (Score:2) Thursday February 24 2000, @10:07AM
  • Re:Encryption style by QuMa (Score:2) Thursday February 24 2000, @10:08AM
  • by srussell (39342) on Thursday February 24 2000, @10:08AM (#1248336) Homepage Journal
    As far as I can see, SRP provides no functionality that isn't already present in SSH. In the interest of full disclosure, I'll state that I don't have anything to do with any SSH project, although I do use OpenSSH. When I speak of SSH below, I'm speaking of OpenSSH in particular.

    From a purely technical point of view, SSH, when using public key cryptography, is as secure as SRP. In the following list, I don't claim that SRP doesn't do any of these things; I'm merely clarifying what SSH does do.

    1. SSH keeps a "known hosts" file on the client, to thwart middlemen attacks. SSH warns the user if the server fails to authenticate itself properly.
    2. SSH encrypts each session with a randomly generated key, which it communicates through a secure connection. Therefore, if a single session key is somehow compromised, all other sessions are still secure.
    3. Authentication is done either with public/private keys or with a server side authentication mechanism, such as PAM. In the second case, any passwords or other information is transmitted encrypted, and so is secure. In the first case, the password is never transmitted and there is no chance of the user's password on the server being compromised through SSH. The user's password is never used to encrypt a session.
    4. OpenSSH, OpenSSL, and LSH are all open source, non-commercial projects.
    5. SSH allows securing of arbitrary ports, and provides extensive port forwarding capabilities. Therefore, any service on a server running SSHD can be secured, as long as the client program can alter the port of the service it is requesting. As an example, to secure an IMAP connection, one would issue: ssh -L 1442:servername:143 servername and then connect with their email client to localhost:1442.
    6. Although most users of OpenSSH are unaware of the fact, OpenSSL, which is required for OpenSSH, provides a powerful tool for dealing with X.509 certificates. With OpenSSL, you can encrypt, generate hashes, generate certificates, generate certificate requests, and perform a large number of other security-related actions. OpenSSL documentation is extremely sparce, and due to the complexity of X.509, using OpenSSL tools can be difficult; this is probably the primary reason why most people are oblivious to OpenSSL capabilities.
    7. OpenSSL is the basis for a number of port wrapping tools, such as sslwrap. With these tools, you can provide secure sockets to services such as HTTP, IMAP, telnet, and POP. Many clients, such as Netscape, understand secure sockets, and several ports are defined as "well known ports" for these secure services. (EG: IMAP's secure port is 993, and Netscape Communicator knows and can take advantage of this).
    8. Using public keys with SSH simplifies accessing services, so that 'ssh' and 'scp' are as easy to use as 'rsh' and 'rcp'. This is slightly less secure on a shared client, because the private key is held in the client memory during a login session, and is subject to core dump attacks. If the client machine is not shared, this is not an issue.
    9. OpenSS[HL] doesn't require using RSA algorithms; in fact, you can choose from any number of non-commercial algorithms.
    The SRP site claims that there are several "advantages" to using SRP, but never says what these advantages are in relation to. In particular, the SRP site does not claim that SRP is more secure than SSH. SRP is certainly more secure that vanilla telnet, but I see no advantage to using SRP over SSH. The obvious advantage to using SSH over SRP is that SSH is ubiquitous, and well tested.

    Please, if anyone knows any way in which SRP is superior to SSH, I'd like to know.

  • Re:Security by SEAL (Score:1) Thursday February 24 2000, @10:12AM
  • Re:Security by Ded Bob (Score:1) Thursday February 24 2000, @10:13AM
  • Re:Security by logicTrAp (Score:2) Thursday February 24 2000, @10:16AM
  • Re:Telnet is the only solution. by jgerman (Score:1) Thursday February 24 2000, @10:18AM
  • Darn 'anonymous' button by That Nebulous Entity (Score:1) Thursday February 24 2000, @10:20AM
  • Re:Value added for SRP? by kkenn (Score:1) Thursday February 24 2000, @10:24AM
  • Re: hmm by Dr. Blue (Score:1) Thursday February 24 2000, @10:28AM
  • Re:PKI and other issues by ninoles (Score:1) Thursday February 24 2000, @10:30AM
  • by evilpenguin (18720) on Thursday February 24 2000, @10:32AM (#1248349)
    Huh, I say, Huh?!?

    When you telnet to a specific port you are just connecting a socket to it and passing stdin to it and passing what comes out of it to stdout. If you had to write this from scratch it would be about 150 lines of C code (and many fewer lines of perl or Java code). You aren't "sacrificing telnet" to use ssh!

    The rest of telnet is support for terminal emulation and some terminal capabilties negotiation at start up, all of which works only when talking to telnetd, and none of which comes into play when connecting to any other port (unless, of course, you're connecting to telnetd on another port).

    A later poster complains that ssh is only useful for shell accounts. Absurd. You can do arbitrary port forwarding through ssh, turning ANY network service into an encrypted service. It is a VERY handy way to create a secure opening through a firewall:

    Machine A is behind a firewall that forbids incoming connections.
    Machine B is out on the internet.

    You want to use a service on machine A from machine C (another machine out on the internet).

    Machine A can make an outbound ssh connection to machine B and tell machine B to open port 3500 on B for listen and to "tunnel" it to port 80 on machine A.

    Machine C can then type this URL into his browser:

    http://[machine B's address]:3500/

    This will connect to port 3500 on machine B (obviously), but less obvious is that machine B will forward all traffic encrypted over the SAME ssh socket Machine A has open to B. No one observing the traffic between A and B will know that machine C sent traffic to machine A, nor will they be able to tell that more than one "conversation" is taking place over the single link.

    SSH is not sacrificing freedom, it is enabling freedom. No, I won't use SSH2 (which is a close commercial product), but I certainly will use SSH1 and OpenSSH.

    SSH is a major tool for flexibility,
  • Re:Telnet is the only solution. by Zurk (Score:1) Thursday February 24 2000, @10:33AM
  • Re:Telnet is the only solution. by PieceMaker (Score:1) Thursday February 24 2000, @10:40AM
  • Seems vulnerable to spoof atack by argoff (Score:1) Thursday February 24 2000, @10:42AM
  • by Robin Hood (1507) on Thursday February 24 2000, @10:44AM (#1248355) Homepage
    There's an SSH module available for Tera Term someplace.

    You're thinking of TTSSH [zip.com.au]. When I have to use a random Windows box and I need SSH, this is what I download and use.
    -----
    The real meaning of the GNU GPL:

  • Apples and Oranges (Score:4)

    by Anonymous Coward on Thursday February 24 2000, @10:51AM (#1248357)
    Stanford's biggest complaint about SSH is a political one. Their point is *IF* you can't politically use encryption then SSH buys you nothing hence SRP is preferable. However, if you take the time to use SSH then you probably are able to use encryption. SRP does not provide an alternative to SSH with encryption, it provides an alternative to authenticating on an insecure transport. When compared with other similar protocols such as APOP, SRP has definate advantages. Despite these advantages, present implimentations do not address everything that SSH (with encryption) is designed to provide:

    • 1) Keeping the initial authentication information secret
    • 2) Authenticating future packets come from same client that authenticated
    • 3) Keeping the entire session private

    SRP does the first step of keeping the initial authentication secret. Since both sides then have a secret random number as a side effect of SRP, it would be possible to use a collision resistent one-way hash to "sign" future packets. However, as far as I can tell, no implimentation of SRP currently accomplish signing of future packets. The last point can't be addressed while still meeting SRP's goals of not using encryption. This becomes a problem when legacy authenitication methods are used withen the SRP authenticated session. For example, withen an SSH encrypted stream, the "su" application can be run without revealing the password in clear text and without the application needing to be altered. SRP on the other hand only can address this if your willing to replace the "su" application and all other authentication applications to be used withen the session (passwd, DBA tools, etc.) via SRP based ones. In some cases, such as with database tools, an SRP replacement may not be possible. Therefore, SRP has it's own political problem of: is all your authentication application vendors accepting enough of SRP to provide you with an SRP aware version of their application? You may find that depending on what country you live in, the politics of SRP acceptence is far worse problem then the politics behind encryption.

    That all having been said, I am impressed by SRP and would like to see it submitted to the W3C for use in future revisions in the HTTP standard. There are several cases that I'm aware of that keeping the password private is important but the data isn't sensative enough to warrent the overhead of SSL.

  • Advantages to SRP by kkenn (Score:2) Thursday February 24 2000, @10:53AM
  • Something Stinks... by pastaman (Score:1) Thursday February 24 2000, @10:56AM
  • Re:Differences... by joneshenry (Score:2) Thursday February 24 2000, @11:01AM
  • Re:Security by Zoinks (Score:1) Thursday February 24 2000, @11:01AM
  • here are the links by Jesus Christ (Score:2) Thursday February 24 2000, @11:04AM
  • Re:Telnet With S/Key by petej (Score:1) Thursday February 24 2000, @11:06AM
  • Re:Telnet is the only solution. by The Mayor (Score:1) Thursday February 24 2000, @11:07AM
  • Re:PKI and other issues by Webmonger (Score:1) Thursday February 24 2000, @11:13AM
  • two-party vs. three-party authentication by coyote-san (Score:2) Thursday February 24 2000, @11:22AM
  • Re: Kerberos by coyote-san (Score:2) Thursday February 24 2000, @11:23AM
  • Re:Advantages to SRP by srussell (Score:1) Thursday February 24 2000, @11:23AM
  • Re:SSHD everywhere? by TheCarp (Score:2) Thursday February 24 2000, @11:29AM
  • Re:Telnet With S/Key by n3rd (Score:1) Thursday February 24 2000, @11:36AM
  • Re:Value added for SRP? by srussell (Score:1) Thursday February 24 2000, @11:37AM
  • A metacomment by Tr011Thr4$h3r (Score:2) Thursday February 24 2000, @11:40AM
  • Re:If only I could SSH by wts (Score:1) Thursday February 24 2000, @11:41AM
  • Mac SSH client by paulschreiber (Score:1) Thursday February 24 2000, @11:43AM
  • Re:If only I could SSH by Garpenlov (Score:1) Thursday February 24 2000, @11:46AM
  • Re:SSH, what a misnomer. by I R A Aggie (Score:2) Thursday February 24 2000, @11:49AM
  • And for those of you who really don't speak German by T-Punkt (Score:1) Thursday February 24 2000, @11:57AM
  • SSH vs SRP by Aaron Denney (Score:1) Thursday February 24 2000, @11:58AM
  • Crack my machine ! by jfwcc (Score:1) Thursday February 24 2000, @11:59AM
  • SRP+SSH Vulnerabilities by Orasis (Score:2) Thursday February 24 2000, @12:01PM
  • Re:two-party vs. three-party authentication by dmiller (Score:2) Thursday February 24 2000, @12:10PM
  • Re:SSHD everywhere? by pal (Score:1) Thursday February 24 2000, @12:15PM
  • Re:SSHD everywhere? by Athos (Score:2) Thursday February 24 2000, @12:16PM
  • Re: Kerberos by Jesus Christ (Score:1) Thursday February 24 2000, @12:18PM
  • Re:Encryption style by Signail11 (Score:2) Thursday February 24 2000, @12:23PM
  • Re:I allow telnet in, but only as bait to nab h4x0 by fsck (Score:1) Thursday February 24 2000, @12:26PM
  • Re:But how about the source...? by drnomad (Score:1) Thursday February 24 2000, @12:29PM
  • Re:SSHD everywhere? by fsck (Score:1) Thursday February 24 2000, @12:33PM
  • Re:USe OpenSSH by Jesus Christ (Score:1) Thursday February 24 2000, @12:40PM
  • Re:Differences... by altair1 (Score:1) Thursday February 24 2000, @12:45PM
  • Re:PKI and other issues by Joshua Spoerri (Score:1) Thursday February 24 2000, @12:47PM
  • Re:Yeah there are some at tucows by xanth (Score:1) Thursday February 24 2000, @12:48PM
  • Re:telnet rulez by Morrigu (Score:1) Thursday February 24 2000, @12:50PM
  • Re:Encryption style by drnomad (Score:1) Thursday February 24 2000, @12:50PM
  • Re:Once again, name a major hack due to SSH flaws by gellor (Score:1) Thursday February 24 2000, @12:54PM
  • Re: hmm by drnomad (Score:1) Thursday February 24 2000, @12:58PM
  • *I* can find primes fast! by tilly (Score:2) Thursday February 24 2000, @01:05PM
  • Re:Encryption style by drnomad (Score:1) Thursday February 24 2000, @01:08PM
  • Re:Encryption style by drnomad (Score:1) Thursday February 24 2000, @01:24PM
  • Re:*I* can find primes fast! by wagnerer (Score:1) Thursday February 24 2000, @01:36PM
  • Try a 20 digit number by tilly (Score:2) Thursday February 24 2000, @01:41PM
  • FLT (offtopic) by divec (Score:1) Thursday February 24 2000, @01:48PM
  • Re:Telnet is the only solution. by copito (Score:2) Thursday February 24 2000, @01:54PM
  • Re:*I* can find primes fast! by Silver A (Score:1) Thursday February 24 2000, @02:00PM
  • I'm really sorry, but... by Sangui5 (Score:1) Thursday February 24 2000, @02:19PM
  • Re:Advantages to SRP by kkenn (Score:1) Thursday February 24 2000, @02:25PM
  • Same algorithm by tilly (Score:1) Thursday February 24 2000, @02:27PM
  • Oops by tilly (Score:2) Thursday February 24 2000, @02:28PM
  • Re:Value added for SRP? by kkenn (Score:1) Thursday February 24 2000, @02:29PM
  • Re:SSH has been banged on for years by tjw99 (Score:1) Thursday February 24 2000, @02:30PM
  • Re:Does it offer session encryption too? by tjw99 (Score:1) Thursday February 24 2000, @02:31PM
  • Re:Security by Brainchild (Score:1) Thursday February 24 2000, @02:47PM
  • Re:Apples and oranges by tjw99 (Score:1) Thursday February 24 2000, @03:07PM
  • Overstated vulnerabilities due to buffer overflows by rambone (Score:1) Thursday February 24 2000, @03:10PM
  • Re:SSH - the only secure solution... for now by tjw99 (Score:1) Thursday February 24 2000, @03:12PM
  • SRP is the secure one - cryptographic reasons by Paul Crowley (Score:2) Thursday February 24 2000, @03:12PM
  • Re:Comparing Apples to Oranges by tjw99 (Score:1) Thursday February 24 2000, @03:13PM
  • by tjw99 (156357) on Thursday February 24 2000, @03:18PM (#1248441)
    In a sense, you are correct when you say that SSH when used with RSA authentication offers the same level of security as SRP. The big value-add is that SRP doesn't require you to keep an RSA key - it derives its security using only a password. You can sit down at any remote location, knowing only your password, and log in. At the same time, the session is fully protected against both active and passive attacks.

    SRP is more secure than SSH+regular passwords.

    SRP is more convenient than SSH+RSA authentication.

    SRP can be integrated as an authentication mechanism for SSH (and it has, check out LSH).
  • Re:Seems vulnerable to spoof atack by tjw99 (Score:1) Thursday February 24 2000, @03:20PM
  • Re:Telnet With S/Key by c o r e (Score:1) Thursday February 24 2000, @03:21PM
  • Re:SSH vs SRP by tjw99 (Score:1) Thursday February 24 2000, @03:24PM
  • Network Topologies and sniffers by Jason Pollock (Score:1) Thursday February 24 2000, @03:26PM
  • This makes me smile :-) by T-Punkt (Score:1) Thursday February 24 2000, @03:33PM
  • Thank you! by ballsbot (Score:1) Thursday February 24 2000, @03:37PM
  • Re:SRP is the secure one - cryptographic reasons by Tuck (Score:1) Thursday February 24 2000, @04:05PM
  • Re:Network Topologies and sniffers by Effugas (Score:2) Thursday February 24 2000, @04:27PM
  • Key Theory by Effugas (Score:2) Thursday February 24 2000, @04:37PM
  • Re:Once again, name a major hack due to SSH flaws by Pathwalker (Score:2) Thursday February 24 2000, @04:43PM
  • Re: NFS within SSH by That Nebulous Entity (Score:1) Thursday February 24 2000, @04:59PM
  • Points to consider by tjw99 (Score:1) Thursday February 24 2000, @05:19PM
  • Re:SRP is the secure one - cryptographic reasons by tjw99 (Score:1) Thursday February 24 2000, @05:32PM
  • Keys tied to computers? Indivviduals? Try both! by smurfi (Score:1) Thursday February 24 2000, @05:34PM
  • Re:Telnet is the only solution. by lgas (Score:1) Thursday February 24 2000, @05:55PM
  • Re:Value added for SRP? by Furry Ice (Score:2) Thursday February 24 2000, @06:00PM
  • Re:SSH issues? by Dr. Tom (Score:1) Thursday February 24 2000, @06:01PM
  • Re:ssh -r and -l by SL Baur (Score:2) Thursday February 24 2000, @07:03PM
  • Does it run on *nix, Win32, MacOS... by randombit (Score:1) Thursday February 24 2000, @07:11PM
  • Re:Once again, name a major hack due to SSH flaws by tjw99 (Score:1) Thursday February 24 2000, @08:42PM
  • Re:Keys tied to computers? Indivviduals? Try both! by tjw99 (Score:1) Thursday February 24 2000, @08:48PM
  • Re:FLT (offtopic)... JOKING? by Beethoven (Score:1) Thursday February 24 2000, @09:08PM
  • Re:A metacomment by Bald Wookie (Score:1) Thursday February 24 2000, @09:36PM
  • SSH is somewhat secure against MTM by Djinh (Score:1) Thursday February 24 2000, @09:40PM
  • Re:PKI and other issues by Jon Peterson (Score:1) Thursday February 24 2000, @10:34PM
  • Re:If only I could SSH by frost22 (Score:1) Friday February 25 2000, @12:19AM
  • Re:Telnet is the only solution. by WWWWolf (Score:1) Friday February 25 2000, @01:14AM
  • Re:PKI and other issues, Interlock protocol by bluGill (Score:2) Friday February 25 2000, @03:55AM
  • Re:PKI and other issues by TheCarp (Score:2) Friday February 25 2000, @04:45AM
  • Re:No one has claimed to have "rooted" NT using pc by Chexum (Score:1) Friday February 25 2000, @05:01AM
  • Re:ssh tutorial by NetNrrd (Score:1) Friday February 25 2000, @05:15AM
  • RSA License and RSAREF by _Sprocket_ (Score:2) Friday February 25 2000, @06:02AM
  • fuck off, luser by Jesus Christ (Score:1) Friday February 25 2000, @06:44AM
  • Who says SRP is not patented? by nealmcb (Score:1) Friday February 25 2000, @07:43AM
  • Re:Who says SRP is not patented? by tjw99 (Score:1) Friday February 25 2000, @07:53AM
  • Re:SSH is somewhat secure against MTM by tjw99 (Score:1) Friday February 25 2000, @07:59AM
  • Re:Value added for SRP? by tjw99 (Score:1) Friday February 25 2000, @08:02AM
  • Re:SRP and patents by tjw99 (Score:1) Friday February 25 2000, @08:06AM
  • Completeness Theorem != Incompleteness Theorem by divec (Score:2) Friday February 25 2000, @09:09AM
  • Re:Telnet is the only solution. by jovlinger (Score:1) Friday February 25 2000, @09:32AM
  • Re:Who says SRP is not patented? by nealmcb (Score:1) Friday February 25 2000, @12:16PM
  • FLT not undecideable by divec (Score:2) Saturday February 26 2000, @05:30AM
  • Re:FLT not undecideable by divec (Score:1) Saturday February 26 2000, @05:32AM
  • 81 replies beneath your current threshold.
(1) | 2 | 3