AW: audit perspective: proof that all connections are encrypted

From: Miro Dietiker, MD Systems (info_at_md-systems.ch)
Date: 09/16/05

  • Next message: Miro Dietiker, MD Systems: "AW: ssh -R only listening on lo"
    To: <secureshell@securityfocus.com>
    Date: Fri, 16 Sep 2005 07:31:10 +0200
    
    

    Hi Florin

    As i think of, sshd only allows encrypted connections! If the client
    doesn't accept any specified encryption, connection is being cancelled
    and not continued unencrypted. So in the other direction, there's no
    config item to say "allow unencrypted connections in case of
    handshake-failure" since success is a must to the protocol.

    Watch man sshd_config:
         Ciphers
                 Specifies the ciphers allowed for protocol version 2.
    Multiple
                 ciphers must be comma-separated. The default is

                   ``aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,
     
    aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr''

    This way you could specify the allowed (and this way enforced)
    encryption algorithms...

    GrEeZ!

    +-------------------------------+ +-------------------------------+
    | Miro Dietiker | | MD Systems Miro Dietiker |
    | Dipl. Ing. FH Elektrotechnik | | Alte Zürcherstrasse 10 |
    | | | 8903 Birmensdorf |
    | | | |
    | Mobile: +41 (0)78 707 30 10 | | Geschäft: +41 (0)43 344 03 56 |
    | | | Fax: +41 (0)43 344 03 57 |
    | m.dietiker@md-systems.ch | | info@md-systems.ch |
    | | | www.md-systems.ch |
    +-------------------------------+ +-------------------------------+

    -----Ursprüngliche Nachricht-----
    Von: Florin Andrei [mailto:florin@andrei.myip.org]
    Gesendet: Freitag, 16. September 2005 01:06
    An: secureshell@securityfocus.com
    Betreff: audit perspective: proof that all connections are encrypted

    I have what's perhaps a slightly unusual question.

    Suppose company X is going through an audit (think: SOX). Suppose one of
    the questions that the auditors ask is: "we want proof that all your
    remote access devices only allow encrypted connections, not plaintext".

    With a VPN concentrator, that's easy: you show them the encryption
    algorithms that are enabled, show them that plaintext is a disabled
    option and they're happy.

    But how about openssh? Which is the config item in sshd_config that says
    "if the client does not agree with all these encryption schemes, all of
    which are not plaintext, terminate the connection"?

    Essentially, we have to prove that plaintext is rejected by the server.

    Any connection with the Ciphers and MACs options in sshd_config?

    Hopefully I'm making myself understood. This is not a strictly technical
    question, it's somewhere on the border between technical issues and
    legal issues. I need an answer that will satisfy people who are not
    geeks - if I'm being sent in the right direction I can build a coherent
    response myself (hopefully) but I need a starting point.

    I believe that this kind of issue will become more common in the near
    future, as the practice of auditing will extend to more and more
    companies.

    Thanks,

    -- 
    Florin Andrei
    http://florin.myip.org/
    

  • Next message: Miro Dietiker, MD Systems: "AW: ssh -R only listening on lo"

    Relevant Pages

    • RE: ssh and ids
      ... Note that SSL decryption is available in both IDS and IPS ... Encryption remains the bane of network-based intrusion ... "long duration" flow, a behavior-based system can pinpoint those ... connections that seem to be "out of the norm". ...
      (Focus-IDS)
    • Re: ssh and ids
      ... Encryption remains the bane of network-based intrusion detection ... behavioral traffic analysis technologies go a long way toward solving some ... By observing the duration of a "flow" (read: a TCP socket or series of ... a behavior-based system can pinpoint those connections that ...
      (Focus-IDS)
    • Re: Bypass School And Work Filters www.classgetter.com
      ... I have seen connections from. ... And there is now one EXPENSIVE VPN solution that uses ... a proprietary encryption scheme, that cannot be intercepted ...
      (comp.security.firewalls)
    • Re: MAY-OFFEND: New shule member
      ... have to open the laptop every time I needed a connection. ... am amazed at how many people have not encrypted their routers. ... shops and the school system all have open ISP connections. ... encryption, and WPA is "better" but not always available from ...
      (rec.humor.jewish)
    • Indistinguishability and integrity in symmetric encryption
      ... "The 'right' security property for general-purpose symmetric encryption". ... >symmetric encryption scheme (for which the empty plaintext is not ... A has interfaces to an encryption oracle ... It is assumed that the ciphertext returned by A is different to all those ...
      (sci.crypt)