Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[Tutorial] SSDP Honeypot + Find Hosts for Scanning/Spoofing!

Overview of this tutorial.


For this tutorial I'll be using tcpdump to monitor certain ports for traffic and log that traffic to a file. Tcpdump is essentially the command-line version of Wireshark. The OS I'm using in this tutorial is Ubuntu 14.10.


With an SSDP honeypot you'll be able to pick up a lot of different SSDP scans and see the servers and the hosts people are using for scanning. Typically the hosts people are using for scanning also spoof. Wooo!



Code
sudo apt-get install tcpdump

Install tcpdump.

Code
sudo screen

Start a screen session.

Code
sudo tcpdump -i eth0 'port 1900' -w ssdpcapture.pcap

This will start the tcpdump process on the interface eth0 (may be different on your server), monitor port 1900 for traffic, and log that traffic to the file ssdpcapture.pcap.

Code
ctrl a d

Detach from your screen session.

Now you wait a couple days and let that honeypot pick up lots of different SSDP scans.



Code
sudo screen -r

After a couple days have passed, ssh back into your server and reconnect to your screen session.

Code
ctrl a c

This will kill the tcpdump process. In order to read the ssdpcapture.pcap traffic log, we have to kill the process.

Code
exit

This will close your screen session. Tcpdump does not output the capture file correctly if a screen session is open (bug).



Code
sudo tcpdump -r ssdpcapture.pcap

This will read the ssdpcapture.pcap traffic log and output its contents.

[Image: 8ljjA9k.png]

This is what some of the output of ssdpcapture.pcap traffic log should look like. This is clearly an SSDP scan...

...So now we go to bgp.he.net and use their bgp looking glass to find the host of the IP address from the ssdpcapture.pcap traffic log!

[Image: HspMm1J.png]

Ta da! A host for scanning/spoofing!
Private Layer
(this host is already semi-public anyway). 🤝
[Image: Dl25VbV.gif]
Not really true, I do port scan on a couple of servers that don't allow IP scanning or spoofing
(Dec 16, 2014 02:45 AM)askarne Wrote:  Not really true, I do port scan on a couple of servers that don't allow IP scanning or spoofing

You're going to have explain what you're trying to say because it doesn't make sense.
[Image: Dl25VbV.gif]
(Dec 16, 2014 10:12 AM)ℜuby Wrote:  You're going to have explain what you're trying to say because it doesn't make sense.

He's saying that on hosts that don't condone suspicious activity like port scans, he does it anyway. And if the company is dead enough and the process is mostly electronic, it's true because I do that all the time and not once even got a slight warning from the hosting company
(Dec 16, 2014 03:59 PM)Zappos Wrote:  He's saying that on hosts that don't condone suspicious activity like port scans, he does it anyway. And if the company is dead enough and the process is mostly electronic, it's true because I do that all the time and not once even got a slight warning from the hosting company

Yeah I understand that much, what I don't understand is why you're both saying it. It's obvious. The hosts you find from this honeypot you have to just assume are cool with scanning. Although you can scan with any host.
[Image: Dl25VbV.gif]
(Dec 16, 2014 05:41 PM)ℜuby Wrote:  Yeah I understand that much, what I don't understand is why you're both saying it. It's obvious. The hosts you find from this honeypot you have to just assume are cool with scanning. Although you can scan with any host.
oh okay now I understand the thread a little more. Although I'd still be careful with the hosts you do find.


Possibly Related Threads...
Thread / Author Replies Views Last Post
by cl0udzzJul 20, 2026 04:29 AM 5 259 Jul 20, 2026 04:29 AM
Last Post: U23Ser
by ma‌nsMay 2, 2023 08:37 PM 168 18,198 May 2, 2023 08:37 PM
Last Post: Stunner
by KingSymbolJul 28, 2021 04:43 AM 8 694 Jul 28, 2021 04:43 AM
Last Post: suishi