Author Topic: Honeypot program  (Read 4526 times)

0 Members and 1 Guest are viewing this topic.

Offline Craz1000

  • Forum Regular
  • Posts: 111
  • I'm OK
    • View Profile
    • Craz1000.net
Honeypot program
« on: September 23, 2021, 11:29:33 am »
This program will listen on port 23. On a connection it will store the IP, then disconnect. once 50 unique IPs are recorded it will create a firewall rule in windows firewall. Rinse and repeat.
* HoneyPot.bas (Filesize: 3.49 KB, Downloads: 262)
* Ipcommisc.bi (Filesize: 0.54 KB, Downloads: 227)
* ipcommsg.bi (Filesize: 1.16 KB, Downloads: 231)
* Logger.bi (Filesize: 0.38 KB, Downloads: 216)
* Logger.h (Filesize: 0.37 KB, Downloads: 228)

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Honeypot program
« Reply #1 on: September 23, 2021, 05:58:15 pm »
I mean no offense. But my understanding of "listening" to ports is non existent. May I ask why this is being done or what is the purpose of such a program and how does it benefit the average user? Just curious.
Logic is the beginning of wisdom.

Offline Craz1000

  • Forum Regular
  • Posts: 111
  • I'm OK
    • View Profile
    • Craz1000.net
Re: Honeypot program
« Reply #2 on: September 23, 2021, 06:48:43 pm »
Port 23 is the most scanned port in existence. Every port scanner will ping it. So if you for example are running a server at the front of your network you can use this to gather the IP address of people either scanning your network or straight attempting to telnet in. Naturally you would want to block these address with your firewall.

This program simply automates this process. This is how most honeypot type programs work.
Is this useful for the average user, absolutely not. It is only useful to those who run a windows machine at the edge of their network.
« Last Edit: September 23, 2021, 06:54:04 pm by Craz1000 »

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Honeypot program
« Reply #3 on: September 24, 2021, 04:23:10 am »
Understood.

"Honeypot"? Could be interpreted as something to "attract" or "trap". I suppose the programmers intent will determine that... Many thanks for the info. Much appreciated.

J

Logic is the beginning of wisdom.

Offline Craz1000

  • Forum Regular
  • Posts: 111
  • I'm OK
    • View Profile
    • Craz1000.net
Re: Honeypot program
« Reply #4 on: September 24, 2021, 11:39:21 am »
You are dead on. These are called Honeypots because they are just that, a trap. I wrote this to gather ip addresses of people scanning my server at the front end, and automate adding these ips to the firewall so i dont have to spend time rummaging through the logs.

Offline johnno56

  • Forum Resident
  • Posts: 1270
  • Live long and prosper.
    • View Profile
Re: Honeypot program
« Reply #5 on: September 24, 2021, 05:36:59 pm »
Cool...
Logic is the beginning of wisdom.