Sslstrip in c#, proxy requests

Page 1 of 1

1 Replies - 614 Views - Last Post: 23 September 2013 - 09:30 AM Rate Topic: -----

#1 orestis125  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 27-December 12

Sslstrip in c#, proxy requests

Posted 23 September 2013 - 09:27 AM

I'm trying to develop Sslstrip in c#. I'm not sure if it's possible, since in Linux you can redirect incoming data to a specific port (Which an application listens to) using iptables; you can't do that in windows (I've asked and searched everywhere).

I'm doing my tests on a separate laptop in my own network which is using Linux; this is purely educational (If I wanted to do anything illegal I would just use Sslstrip). Basically my application so far causes ARP poisoning between the gateway and this other laptop. This works as intended. However, what's remaining is to proxy the requests from laptop<->gateway. I've tried using TcpListener and HttpListener but they don't accept the connections, possibly because the destination IP addresses are different than my host's IP address (If it could be something else please let me know).

I've also tried working my way with raw sockets using WinPCap. Everything worked fine in HTTP (Would just re-forward the packets based on the ARP table) but it will be a pain in HTTPS since I manually have to set the data of the raw packets based on the SSL protocol; that's going to take ages.

How would I go into developing such a transparent proxy? I basically need a TcpListener or preferably an HttpListener that accepts connections even if the destination IP address is not my host's address.

Is This A Good Question/Topic? 0
  • +

Replies To: Sslstrip in c#, proxy requests

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon

Reputation: 13962
  • View blog
  • Posts: 55,727
  • Joined: 12-June 08

Re: Sslstrip in c#, proxy requests

Posted 23 September 2013 - 09:30 AM

Sorry - we will not assist you in malicious programming activities, and I will be closing the thread. If you have further questions on 'why' feel free to shoot me a PM. As it is - please do not open further threads on this topic.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1