Penetration Testing mailing list archives

RE: HTTPS proxy tool that resigns SSL certs


From: "Steve Abatangle" <stevea () eloan com>
Date: Tue, 6 Jun 2006 10:55:11 -0700

Bluecoat makes a product that does this very thing -- they claim it's the only proxy server (commercial, anyway) that 
does this. The browser *will* be alerted, but you can either alert the user community to accept the CA cert, or just 
install the CA cert into the browsers on all workstations.

-----Original Message-----
From: Rogan Dawes [mailto:discard () dawes za net]
Sent: Monday, June 05, 2006 10:18 PM
To: Phil Frederick
Cc: pen-test () securityfocus com; huzeyfe.onal () gmail com; one2 () onetwo com
Subject: Re: HTTPS proxy tool that resigns SSL certs


Phil Frederick wrote:
On 6/2/06, Huzeyfe Onal <huzeyfe.onal () gmail com> wrote:
On 1 Jun 2006 03:14:53 -0000, one2 () onetwo com <one2 () onetwo com> wrote:
Hi,


Does anyone know of an HTTPS proxy tool that will let you resign SSL 
certificates when doing a MITM attack?


Thanks,

One2

Hi,

Cain & Abel gives you this option. It recreate fake valid
certificate(
not signed by Original CA, it is  self signed)

Yeah, but this will still pop up a certificate warning.

I am assuming you are talking about proxy for an *outbound*
connection.

This can be done without having the private key, but it gets a little
complicated to setup.  This is assuming you have full control of the
client end network - DNS, routing, etc...

Set up your own authortative record in the DNS at the client end of
the connection.  Have it redirect to your own site with a validly
signed cert (try to make the name as close as possible so as not to
make it easily noticeable to the end-user).  Then make a connection
from your server and pass the results back to the client (with or
without any modification you want to do).  Basically you are still
acting as a proxy, but rather than passing SSL traffic directly, you
become and end point to the user and a client point to the legitimate
end point.  That way all the information will traverse in plain-text
across the computer, yet still be encrypted everywhere else.


It may be possible to insert the CA used by Cain & Abel into the 
victim's browser (assuming this is being done for legitimate purposes), 
which would make the provided certs "legitimate" as far as the browser 
can see.

Regards,

Rogan

------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security? 
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's 
Choice Award from eWeek. As attacks through web applications continue to rise, 
you need to proactively protect your applications from hackers. Cenzic has the 
most comprehensive solutions to meet your application security penetration 
testing and vulnerability management needs. You have an option to go with a 
managed service (Cenzic ClickToSecure) or an enterprise software 
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service can 
help you: http://www.cenzic.com/news_events/wpappsec.php 
And, now for a limited time we can do a FREE audit for you to confirm your 
results from other product. Contact us at request () cenzic com for details.
------------------------------------------------------------------------------


------------------------------------------------------------------------------
This List Sponsored by: Cenzic

Concerned about Web Application Security?
Why not go with the #1 solution - Cenzic, the only one to win the Analyst's
Choice Award from eWeek. As attacks through web applications continue to rise,
you need to proactively protect your applications from hackers. Cenzic has the
most comprehensive solutions to meet your application security penetration
testing and vulnerability management needs. You have an option to go with a
managed service (Cenzic ClickToSecure) or an enterprise software
(Cenzic Hailstorm). Download FREE whitepaper on how a managed service can
help you: http://www.cenzic.com/news_events/wpappsec.php
And, now for a limited time we can do a FREE audit for you to confirm your
results from other product. Contact us at request () cenzic com for details.
------------------------------------------------------------------------------


Current thread: