{"id":13481817,"url":"https://github.com/IllusiveNetworks-Labs/WebTrap","last_synced_at":"2025-03-27T12:31:35.019Z","repository":{"id":86881086,"uuid":"115615340","full_name":"IllusiveNetworks-Labs/WebTrap","owner":"IllusiveNetworks-Labs","description":"This project is designed to create deceptive webpages to deceive and redirect attackers away from real websites.","archived":false,"fork":false,"pushed_at":"2018-03-28T13:44:48.000Z","size":19,"stargazers_count":63,"open_issues_count":2,"forks_count":16,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-10-30T15:51:09.611Z","etag":null,"topics":["deception","deceptive-webpages","honeypot","web-cloner"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IllusiveNetworks-Labs.png","metadata":{"files":{"readme":"Readme.md","changelog":"CHANGELOG.md","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}},"created_at":"2017-12-28T11:08:33.000Z","updated_at":"2024-10-12T21:44:15.000Z","dependencies_parsed_at":"2023-05-29T16:30:29.048Z","dependency_job_id":null,"html_url":"https://github.com/IllusiveNetworks-Labs/WebTrap","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IllusiveNetworks-Labs%2FWebTrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IllusiveNetworks-Labs%2FWebTrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IllusiveNetworks-Labs%2FWebTrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IllusiveNetworks-Labs%2FWebTrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IllusiveNetworks-Labs","download_url":"https://codeload.github.com/IllusiveNetworks-Labs/WebTrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245845008,"owners_count":20681817,"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":["deception","deceptive-webpages","honeypot","web-cloner"],"created_at":"2024-07-31T17:00:56.143Z","updated_at":"2025-03-27T12:31:34.687Z","avatar_url":"https://github.com/IllusiveNetworks-Labs.png","language":"Python","funding_links":[],"categories":["Honeypots"],"sub_categories":[],"readme":"# WebTrap\nThis project is designed to create deceptive webpages to deceive and redirect attackers away from real websites.\nThe deceptive webpages are generated by cloning real websites, specifically their login pages.\nFor further reading material on the tool development, please visit our [blog](https://blog.illusivenetworks.com/phishing-the-phishers-using-attackers-own-tools-to-combat-apt-style-attacks).\n\n## Getting Started\nThe project is composed of two tools:\n* Web Cloner - Responsible for cloning real websites and creating the deceptive web pag.e\n* Deceptive Web server - Responsible for serving the cloned webpages, and reporting to a syslog server upon requests\n\n## Operating System\nThe project was designed and tested on an Ubuntu 16.04 machine\n\n## Prerequisites\n```\npip install requests\napt install gir1.2-webkit2-3.0 python-gi python-gi-cairo python3-gi python3-gi-cairo gir1.2-gtk-3.0\n```\n\n## How to use\n### How to use the Web Cloner\n```\nusage: WebCloner.py [-h] [-o OUTPUT_DIRECTORY] website_url\n\npositional arguments:\n  website_url           The URL path to the web page you desire to clone\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -o OUTPUT_DIRECTORY, --output-directory OUTPUT_DIRECTORY\n                        Setting the output directory for the cloned webpage\n```\n### How to run the Deceptive web server\n```\nusage: TrapServer.py [-h] [--webroot-directory WEBROOT_DIRECTORY]\n                     [--syslog-server SYSLOG_SERVER]\n                     [--log-file-path LOG_FILE_PATH]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  --webroot-directory WEBROOT_DIRECTORY, -d WEBROOT_DIRECTORY\n                        root directory for the HTTP server\n  --syslog-server SYSLOG_SERVER, -s SYSLOG_SERVER\n                        syslog server that the deceptive user will report the\n                        request to it\n  --log-file-path LOG_FILE_PATH, -l LOG_FILE_PATH\n                        access log file path\n```\n## Examples\n### Cloning Wikipedia login page\n```\npython ./WebCloner.py -o ~/WikiPediaLoginPage/ https://en.wikipedia.org/w/index.php?title=Special:UserLogin\n```\n### Running deceptive web server\n```\nsudo python ./TrapServer.py -d ~/WikiPediaLoginPage/ -s \u003cSYSLOG_SERVER\u003e\n```\n## Authors\n\n* **Dolev Ben Shushan**\n\n## License\n\nThis project is licensed under the  BSD 3-clause license - see the [LICENSE](LICENSE) file for details\n\n## Thanks\n\n* [@king-phisher](https://github.com/securestate/king-phisher) project for the initial web_cloner\n* [@Session.js](https://github.com/codejoust/session.js) project for the client side data collection\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIllusiveNetworks-Labs%2FWebTrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FIllusiveNetworks-Labs%2FWebTrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FIllusiveNetworks-Labs%2FWebTrap/lists"}