Re: Netcat through Squid HTTP Proxy

From: Rogan Dawes (lists_at_dawes.za.net)
Date: 05/18/05

  • Next message: L. Walker: "Re: penetrating web-based authentication if you know one of the usernames"
    Date: Wed, 18 May 2005 17:01:44 +0200
    To: Joachim Schipper <j.schipper@math.uu.nl>
    
    

    Joachim Schipper wrote:

    >On Tue, May 17, 2005 at 03:34:16PM +0200, Christoph Puppe wrote:
    >
    >
    >>Henderson, Dennis K. schrieb:
    >>
    >>
    >>
    >>>It seems like he was looking for information on how to prevent this.
    >>>
    >>>
    >> The most thorough way to prevent proxy abuses, that use the CONNECT
    >>feature to simulate valid HTTPS traffic, is breaking up all this
    >>connections, decrypted and have them scrutinized with your normal content
    >>security tool. The Proxy acts like a man in the middle attacker, it get's
    >>the HTTPS connection, produces a certificate that matches the site beeing
    >>requested and presents this to the client. The client agrees on a
    >>session-key with the proxy and starts sending requests. The proxy pipes
    >>this requests through some logic to determine if this is an OK request,
    >>most firewalls and CS-Tools will do this for you. Then the proxy opens a
    >>new connection to the site requested, checks the certificate and sends the
    >>requests. The results are processed likewise.
    >>
    >>
    >The problem, of course, being that this makes verification of the remote
    >end of the connection impossible as well as compromising privacy for the
    >parties behind the firewall.
    >
    >So this will also make HTTPS less useful for the user. There is a trade
    >off here...
    >
    > Joachim
    >
    >
    This does not necessarily prevent the user from verifying the remote end
    of the connection. If the MITM makes sure to only re-generate and sign
    certificates that are already valid, using the MITM's CA key, then the
    user can determine if the original certificate was valid also.

    i.e.
    WebServer provides a valid cert, signed, etc. The MITM generates a new
    certificate with the same information, and signs it with its own trusted
    cert. The user knows that the cert is OK.

    WebServer provides a cert signed by an untrusted CA, the MITM recreates
    the cert with the same information, but signs it with its own untrusted
    cert. The user is prompted to accept the cert, exactly as they would
    have othewise.

    The only REAL flaw with this approach is the lack of support for client
    side certs . . . . (and the privacy compromise on the MITM host, of
    course, but we assume that this decision has already been made in favour
    of content-security . . . .)

    Regards,

    Rogan


  • Next message: L. Walker: "Re: penetrating web-based authentication if you know one of the usernames"

    Relevant Pages

    • Re: Connecting PDA/Phone to Web Services using SSL?
      ... I even used the SslChainSaver tool that Scott(from the Windows ... only the root cert was required. ... make a successful connection to the web service using SSL. ... a Windows 2003 AD domain with Certificate Services installed on the DC. ...
      (microsoft.public.dotnet.framework.compactframework)
    • Re: winsock + Schannel => Expired Intermediate Cert
      ... the TLS handshake can be found in the certificate store referenced by ... cert chain to the client instead of just the server's cert. ... CA cert stored locally in order to trust a given server cert. ... to create an SSL connection to a well known server. ...
      (microsoft.public.platformsdk.security)
    • Re: Certificate problem
      ... The certificate has been imported into the Personal Cert store. ... Failed to connect to server. ... "The connection has terminated unexpectedly. ...
      (microsoft.public.inetserver.iis)
    • RE: [Full-Disclosure] MSN Webcam / Chat Spoof
      ... OCSP is not per cert, you can request cert status of multiple certificates ... Yes with OCSP you have less data per connection, ... certificate validation, the size of the CRL would be irrelevant. ...
      (Full-Disclosure)
    • Re: Cant send mail
      ... Requests for assistance by email can not and will not be acknowledged. ... certificate that could not be verified. ... connection but a broadband dial-up keeps popping up. ...
      (microsoft.public.windows.vista.mail)