https://github.com/pwdrkeg/honeyport
A powershell script for creating a Windows honeyport.
https://github.com/pwdrkeg/honeyport
Last synced: about 1 month ago
JSON representation
A powershell script for creating a Windows honeyport.
- Host: GitHub
- URL: https://github.com/pwdrkeg/honeyport
- Owner: Pwdrkeg
- Created: 2012-09-18T20:11:49.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-10-22T14:13:28.000Z (over 9 years ago)
- Last Synced: 2024-08-07T21:11:53.324Z (10 months ago)
- Language: PowerShell
- Size: 246 KB
- Stars: 87
- Watchers: 9
- Forks: 28
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-honeypot - **76**星
README
.SYNOPSIS
Block IP Addresses that connect to specified TCP ports..DESCRIPTION
Listens on TCP ports, logging connections and optionally blocking suspicious IPs via Windows Firewall.
Includes detailed logging, proper firewall rule creation verification, and improved error handling..PARAMETER Ports
List of TCP ports to monitor for connections..PARAMETER WhiteList
List of IP Addresses that should not be blocked..PARAMETER Block
If specified, blocks the connecting IP addresses..PARAMETER LogPath
Optional path for logs. Defaults to "C:\HoneyPort_Logs"..EXAMPLE
PS C:\> .\honeyport.ps1 -Ports 22,23,1001 -Block -Verbose