{"id":20469560,"url":"https://github.com/birdo1221/ssh-honeypot","last_synced_at":"2025-03-05T13:22:16.581Z","repository":{"id":249580405,"uuid":"831905659","full_name":"Birdo1221/SSH-HoneyPot","owner":"Birdo1221","description":"A Simplistic SSH HoneyPot With AbuseIPDB Reporting","archived":false,"fork":false,"pushed_at":"2024-08-27T22:34:05.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-16T01:53:57.299Z","etag":null,"topics":["abuse-detection","abuseipdb","abuseipdb-api","actor","brute","brute-force","bruteforce","detection","geolocation","honeypot","honeypot-fake","logging","malicious","network","ssh","ssh-abuse"],"latest_commit_sha":null,"homepage":"https://github.com/Birdo1221/SSH-HoneyPot/tree/main","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Birdo1221.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-22T00:28:30.000Z","updated_at":"2025-01-05T20:58:36.000Z","dependencies_parsed_at":"2024-07-29T02:46:29.603Z","dependency_job_id":null,"html_url":"https://github.com/Birdo1221/SSH-HoneyPot","commit_stats":null,"previous_names":["birdo1221/ssh-honeypot"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Birdo1221%2FSSH-HoneyPot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Birdo1221%2FSSH-HoneyPot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Birdo1221%2FSSH-HoneyPot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Birdo1221%2FSSH-HoneyPot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Birdo1221","download_url":"https://codeload.github.com/Birdo1221/SSH-HoneyPot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242031760,"owners_count":20060635,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["abuse-detection","abuseipdb","abuseipdb-api","actor","brute","brute-force","bruteforce","detection","geolocation","honeypot","honeypot-fake","logging","malicious","network","ssh","ssh-abuse"],"created_at":"2024-11-15T14:09:28.170Z","updated_at":"2025-03-05T13:22:16.575Z","avatar_url":"https://github.com/Birdo1221.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSH Honeypot\n\nThe script is designed to capture login attempts  + report the IP addresses to AbuseIPDB. \n\nI am currently using this myself, [ AbuseipDB Results ](https://www.abuseipdb.com/user/137416) .\n\n## Getting Started\n### Prerequisites\n- Python 3.x\n- Paramiko library\n- Requests library\n- Curl\n- iptables  ==\u003e Linux Only, Will need to find a Windows Alternative\n\n  ### Example of the log in action and the abuseipdb setup reporting it.\n   \n![Example](https://github.com/user-attachments/assets/bafc4425-a2e5-456a-9cfa-44cdca1a51b2)\n\n![Example2](https://github.com/user-attachments/assets/75571484-9b32-4369-881f-814992aafa08)\n\n\n### Installation\n\n1. Clone the repository:\n    ```sh\n    git clone https://github.com/Birdo1221/SSH-HoneyPot.git\n    cd ssh-honeypot\n    ```\n\n2. Install the required Python packages:\n    ```sh\n    pip install paramiko requests\n    ```\n\n3. Replace the placeholder in the script with your Abuse-IPDB API key:\n    ```python\n    ABUSE_IPDB_API_KEY = 'Replace with Abuse-IPDB API Token'\n    ```\n4. You don’t need to manually remove any ports from the list; the script will simply skip any that are already in use.\n    However, to run the server on the ports below 1024, you will need to have sudo / administrative privileges.\n   ```python\n    PORTS = [2222, 2200, 22222, 50000, 3389, 1337, 10001, 222, 2022, 2181, 23, 2000, 830, 2002, 5353, 8081, 6000, 5900]\n    ```\n   Im currently using these ports due to them being the most commonly used port for ssh on shodan / zoomeye.\n   \n## Usage\n\n### 1. Just need to run the file\n\n**Run:** `Python3 ssh-honeypot-All.py`\n\n### 2. Running the logging varients will create the log file\n**File:** `ssh_login_attempts.log`\n\n   You can change the name of the log file to whatever.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirdo1221%2Fssh-honeypot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbirdo1221%2Fssh-honeypot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbirdo1221%2Fssh-honeypot/lists"}