{"id":28392571,"url":"https://github.com/1birdo/smb-honeypot","last_synced_at":"2026-04-21T04:03:47.002Z","repository":{"id":250635595,"uuid":"835015740","full_name":"1Birdo/SMB-HoneyPot","owner":"1Birdo","description":"A Simplistic SMB HoneyPot With AbuseIPDB Reporting","archived":false,"fork":false,"pushed_at":"2025-03-21T22:10:21.000Z","size":55,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-25T09:35:44.818Z","etag":null,"topics":["abuse","abuseipdb","abuseipdb-api","honeypot","ip","linux","logging","logs","open-source","python","python3","reporting","trap","wsl"],"latest_commit_sha":null,"homepage":"https://birdo.uk","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1Birdo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null}},"created_at":"2024-07-29T01:36:36.000Z","updated_at":"2025-07-13T16:46:39.000Z","dependencies_parsed_at":"2024-07-29T02:45:13.497Z","dependency_job_id":"c83fa24a-72c8-4ce9-8d89-c67b542507e0","html_url":"https://github.com/1Birdo/SMB-HoneyPot","commit_stats":null,"previous_names":["birdo1221/smb-honeypot","1birdo/smb-honeypot"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/1Birdo/SMB-HoneyPot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Birdo%2FSMB-HoneyPot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Birdo%2FSMB-HoneyPot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Birdo%2FSMB-HoneyPot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Birdo%2FSMB-HoneyPot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1Birdo","download_url":"https://codeload.github.com/1Birdo/SMB-HoneyPot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1Birdo%2FSMB-HoneyPot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32076295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","abuseipdb","abuseipdb-api","honeypot","ip","linux","logging","logs","open-source","python","python3","reporting","trap","wsl"],"created_at":"2025-05-31T13:43:41.179Z","updated_at":"2026-04-21T04:03:46.970Z","avatar_url":"https://github.com/1Birdo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SMB Honeypot\n\nThis script captures login and connection attempts to SMB port 445 and optionally reports the IP addresses to AbuseIPDB. It also logs these attempts in a separate `/logs/` directory, e.g., `smb_attempts_20250116.log`.\n\n## Features\n- **IP Reporting**: Optional integration with [AbuseIPDB](https://www.abuseipdb.com/) for reporting malicious IP addresses.\n- **Logging**: Detailed logs of all login/connection attempts.\n- **Open-source Example**: See my AbuseIPDB reports [here](https://www.abuseipdb.com/user/137416).\n\n---\nIf you having issue killing the processing or by using CTRL + Z or C, i would recommend using these commands instead,\n   \n#### Check what's using port 445\n`sudo netstat -tulpn | grep 445`\n\n#### Kill the process using port 445 (replace PID with the number you see from above command)\n`sudo kill PID`\n\n#### Or more aggressively if needed:\n`sudo kill -9 PID`\n   \n## Getting Started\n\n### Prerequisites\n- **Python 3.x**\n- **Linux or WSL**: Requires `iptables` (not recommended on WSL due to compatibility issues). A Windows alternative must be used for Windows endpoints.\n\n### AbuseIPDB Integration\nYou can make public reports via AbuseIPDB, but note that anonymous submissions cannot be tracked or deleted and may be perceived as less legitimate.\n\n![AbuseIPDB Example](https://github.com/user-attachments/assets/f0cc7367-d557-4ff5-92ab-f63a73ec1f5f)\n\n---\n\n## Installation\n\n1. **Clone the Repository**:\n    ```bash\n    git clone https://github.com/Birdo1221/SMB-HoneyPot.git\n    cd SMB-HoneyPot\n    ```\n\n2. **Install Required Packages**:\n    ```bash\n    pip install requests ipaddress\n    ```\n\n3. **Configure AbuseIPDB**:\n    Replace the placeholder in the script with your AbuseIPDB API key:\n    ```python\n    ABUSE_IPDB_API_KEY = 'Replace with your AbuseIPDB API Token'\n    ```\n---\n\n## Usage\n\n1. **Run the Script**:\n    ```bash\n    screen python3 main.py\n    ```\n\n2. **Enable Logging**:\n    The script will create log files like `smb_attempts_20250116.log` in the `/logs/` directory.\n\n3. **Edit Configurations**:\n    Customize the script as needed, including your AbuseIPDB API key. To get an API key, visit the API tab [AbuseIPDB API](https://www.abuseipdb.com/) after logging in.\n\n---\n\n## Latest Version\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1birdo%2Fsmb-honeypot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1birdo%2Fsmb-honeypot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1birdo%2Fsmb-honeypot/lists"}