{"id":387308,"url":"https://github.com/oniondecoy/installer","last_synced_at":"2025-08-02T10:31:56.636Z","repository":{"id":216001648,"uuid":"95954600","full_name":"OnionDecoy/Installer","owner":"OnionDecoy","description":"A platform to run private unannounced Honeypots as Tor Hidden Services (aka Onion Decoys) inside the Tor Network.","archived":false,"fork":false,"pushed_at":"2017-08-14T09:10:40.000Z","size":74379,"stargazers_count":25,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-06T12:35:40.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/OnionDecoy.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}},"created_at":"2017-07-01T09:24:13.000Z","updated_at":"2024-03-24T20:04:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"68a66a39-344c-4e87-8160-caa3d73512d4","html_url":"https://github.com/OnionDecoy/Installer","commit_stats":null,"previous_names":["oniondecoy/installer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OnionDecoy/Installer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnionDecoy%2FInstaller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnionDecoy%2FInstaller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnionDecoy%2FInstaller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnionDecoy%2FInstaller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OnionDecoy","download_url":"https://codeload.github.com/OnionDecoy/Installer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OnionDecoy%2FInstaller/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268370966,"owners_count":24239781,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-01-07T22:25:40.004Z","updated_at":"2025-08-02T10:31:56.625Z","avatar_url":"https://github.com/OnionDecoy.png","language":"Shell","funding_links":[],"categories":["\u003ca id=\"6e80463404d46f0493cf6e84597e4b5c\"\u003e\u003c/a\u003e工具","\u003ca id=\"a53d22b9c5d09dc894413453f4755658\"\u003e\u003c/a\u003e未分类"],"sub_categories":["\u003ca id=\"e99ba5f3de02f68412b13ca718a0afb6\"\u003e\u003c/a\u003eTor\u0026\u0026\u0026Onion\u0026\u0026洋葱"],"readme":"# Onion Decoy Server\n\nA platform to run private unannounced Honeypots as Tor Hidden Services (aka Onion Decoys) inside the Tor Network.\n\n\n### Approach Description\n\nThe Onion Decoys are implemented with Docker containers as honeypots. The reason to choose Docker is that it is good at process and filesystem isolation, which ultimately gives the ability to run more services on the same box instead of having to deal with resource intensive virtual machines. Also, Docker containers can easily be made very clean, containing no identifying data and having uptimes that are different from the host they're running in, which makes it difficult to get identified from outside. \n\nThe Docker containers are composed with two popular open source honeypots viz. Glastopf for HTTP and Cowrie for SSH \u0026 Telnet. The honeypot containers expose three ports viz. port 80 (HTTP), port 22 (SSH) and port 23 (Telnet). Each honeypot container is linked with a separate HS container which together creates the Onion Decoy having a unique onion address. The onion addresses are randomly generated and are not announced publicly anywhere.\n\n\n```sh\n# run a container with a network application\n$ docker run -d -p 80:80 --name hello_world_container kitematic/hello-world-nginx\n\n# and just link it to this container\n$ docker run -tid --link hello_world_container --name hello_world_torrified_container iotdocktor/container-torrify\n```\n\nThe .onion URLs will be displayed to stdout at startup.\n\nTo keep onion keys, or you already have Hostname/PrivateKey for Tor Hidden Service\njust mount volume `/var/lib/tor/hidden_service/`\n\n```sh\n$ docker run -d --link hello_world_container --name hello_world_torrified_container --volume /path/to/keys:/var/lib/tor/hidden_service/ iotdocktor/container-torrify\n```\n\n### Setup port\n\nBy default, ports are the same as linked containers, but a default port can be mapped using `PORT_MAP` environment variable.\n\n__Caution__: Using `PORT_MAP` with multiple ports on single service will cause `tor` to fail.\n\n\n### Onion Decoy Installation Steps\n\n\n1\u003e Install __Ubuntu Server 16.04__\n\n2\u003e Install the following Dependencies\n```sh\nsudo apt-get install apache2-utils apparmor apt-transport-https aufs-tools bash-completion build-essential ca-certificates cgroupfs-mount curl dialog dnsutils docker.io dstat ethtool genisoimage git glances html2text htop iptables iw libltdl7 lm-sensors man nginx-extras nodejs npm ntp openssh-server openssl syslinux psmisc pv python-pip vim wireless-tools wpasupplicant\n```\n\n3\u003e Run the following command\n```sh\nsudo apt-get update\n```\n\n4\u003e Copy the ___OnionDecoy/Installer___ Repository contents to ___/root/OD_Installer___\n\n5\u003e Give necessary executable permissions to ___/root/OD_Installer___\n```sh\nsudo -i nautilus\n```\n\n6\u003e Execuite the __Installation Script__\n```sh\nsudo /root/OD_Installer/install.sh\n```\n\n7\u003e After System Reboot, execute the __Decoy Setup Script__ from the home directory\n```sh\ncd /home/$(SUDO_USER)  or $USER or whoami\nsudo ./setup.sh\n```\n\n---\n\n### Onion Decoy Server (Pre-Installed Virtual Appliance)\nPlease Download the OVA Template from here.\n[Onion_Decoy_Server_Ubuntu_16_04](https://drive.google.com/open?id=0B8mjYbIXCEyzOXduTFQ0WnBoWE0 \"Onion Decoy Server v1.0\")","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foniondecoy%2Finstaller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foniondecoy%2Finstaller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foniondecoy%2Finstaller/lists"}