Go Back   Wireless and Wifi Forums > News > Newsgroups > comp.security.misc
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-31-2008, 12:55 AM
Harry
Guest
 
Posts: n/a
Default A basic/newbie question on https.

Hello,

Let's say, I can securely log into https://<URL> site using username
'u1' and password 'p1' from within a browser.

1. Is it possible to write a proxy
* that runs on my client machine,
* that the browser on the same client machine points to,
* that intercepts another username/password pair -- u2/p2 --
entered on the login page of the site and transforms it to u1/p1 so
that the user authentication can happen ?

Basically, what I'm trying to accomplish is temporarily allow a user
to log into https://<URL> without actually divulging the real username/
password (u1/p1). (I would validate u2/p2 within the above proxy so
that only the users I allow can access the site.)

This proxy could either be a stand-alone program, or a browser plugin.
I know https is a secure protocol; what I don't know is the point at
which the encryption occurs and whether or not this point is late
enough to allow interception from the browsing machine... whether a
browser would allow hooks / interception API without compromising the
motivations/goals of the https protocol.

2. Also, any recommendations for a 'good' open-source http proxy?
Muffin seems to be very old project. Proxomitron is superb but is not
opensource!

Many thanks in advance,
/HS

Reply With Quote
  #2 (permalink)  
Old 01-31-2008, 03:56 AM
Todd H.
Guest
 
Posts: n/a
Default Re: A basic/newbie question on https.

Harry <simonsharry@gmail.com> writes:
> Hello,
>
> Let's say, I can securely log into https://<URL> site using username
> 'u1' and password 'p1' from within a browser.
>
> 1. Is it possible to write a proxy
> * that runs on my client machine,
> * that the browser on the same client machine points to,
> * that intercepts another username/password pair -- u2/p2 --
> entered on the login page of the site and transforms it to u1/p1 so
> that the user authentication can happen ?


parosproxy.org

Yes. Paros Proxy can do this. "Replace http request header using
defined pattern" or "replace http request body using defined pattern"
are the functions you could leverage for this depending on how the
username is passed.


> Basically, what I'm trying to accomplish is temporarily allow a user
> to log into https://<URL> without actually divulging the real username/
> password (u1/p1). (I would validate u2/p2 within the above proxy so
> that only the users I allow can access the site.)


So this user is going to be using the workstation this proxy is
running on? Paros isn't a service or anything--it's designed as an
interactive web proxy program, but I suppose you could modify it to
run quietly and demurely as a service. Or if you're on a multi user
machine, run it as another user.

> This proxy could either be a stand-alone program, or a browser plugin.
> I know https is a secure protocol; what I don't know is the point at
> which the encryption occurs and whether or not this point is late
> enough to allow interception from the browsing machine... whether a
> browser would allow hooks / interception API without compromising the
> motivations/goals of the https protocol.



https is easy to man in the middle if you've got control of the client
machine. Dumbing down the browser enough not to freak out at the
certificate mismatch between paros's internal cert vs the destination
site's name will be one issue. Even if not dumbed down, a frightening
number of users will just okay the cert warning anyway.

Best Regards,
--
Todd H.
http://www.toddh.net/

Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Wireless Protocol Question Jeff Liebermann alt.internet.wireless 0 10-04-2007 03:47 PM
Re: '911 Leaders Saying They Are Jesus' - The King of America - Live broadcasts out in the fields, trumping evil demons by the power of the Word . . . : They'll tell you, blame the shadows in the New World Order, but don't rely on evidence to form yo God Guy Good alt.comp.hardware 1 08-09-2007 02:47 AM
Router Security Question... spooker Network Troubleshooting 3 10-11-2006 12:29 PM
Https question Anand kumar comp.security.misc 7 08-23-2005 07:34 PM
SSL Proxy / How to forward HTTPS connections? fritz-bayer@web.de comp.security.misc 2 08-14-2005 03:35 AM


All times are GMT. The time now is 05:17 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45