{"id":15636984,"url":"https://github.com/rosesecurity/wolfpack","last_synced_at":"2025-04-05T06:06:25.969Z","repository":{"id":202858399,"uuid":"702728385","full_name":"RoseSecurity/WolfPack","owner":"RoseSecurity","description":"WolfPack combines the capabilities of Terraform and Packer to streamline the deployment of red team redirectors on a large scale.","archived":false,"fork":false,"pushed_at":"2025-03-20T18:55:36.000Z","size":178,"stargazers_count":148,"open_issues_count":0,"forks_count":15,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T05:05:59.086Z","etag":null,"topics":["ansible","cybersecurity","infrastructure-as-code","packer","terraform"],"latest_commit_sha":null,"homepage":"https://rosesecurity.gitbook.io/wolfpack/","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RoseSecurity.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":"2023-10-09T22:26:12.000Z","updated_at":"2025-03-28T23:39:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d768e8d-55ef-4724-81c0-6d9e9b58793c","html_url":"https://github.com/RoseSecurity/WolfPack","commit_stats":{"total_commits":76,"total_committers":3,"mean_commits":"25.333333333333332","dds":0.5789473684210527,"last_synced_commit":"aafee5daa0c7895f69d9aafd0ff98962db1597b8"},"previous_names":["rosesecurity-research/wolfpack","rosesecurity/wolfpack"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoseSecurity%2FWolfPack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoseSecurity%2FWolfPack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoseSecurity%2FWolfPack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoseSecurity%2FWolfPack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoseSecurity","download_url":"https://codeload.github.com/RoseSecurity/WolfPack/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247294536,"owners_count":20915340,"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":["ansible","cybersecurity","infrastructure-as-code","packer","terraform"],"created_at":"2024-10-03T11:09:25.000Z","updated_at":"2025-04-05T06:06:25.938Z","avatar_url":"https://github.com/RoseSecurity.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# :wolf: WolfPack\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"WolfPack\" src=\"img/wolfpack.png\" \u003e\n\u003c/p\u003e\n\n---\n\nWolfPack combines the capabilities of `Terraform` and `Packer` to streamline the deployment of red team redirectors on a large scale. This tool enables security professionals to efficiently scale out the creation and management of Apache redirectors, which mimic authentic websites. These redirectors act as a bridge, seamlessly redirecting incoming traffic to a controlled C2 infrastructure. WolfPack simplifies the process of setting up and configuring these deceptive elements, making it an invaluable asset for security testing and red teaming exercises.\n\n## Installation:\n\nDownload the repository:\n\n```Console\ngit clone https://github.com/RoseSecurity-Research/WolfPack.git\n```\n\nEnsure that you have downloaded [Packer](https://www.packer.io/) and [Terraform](https://www.terraform.io/) before continuing! This can be simply done using the following methods:\n\n### Packer \u0026 Terraform Download Methods (MacOS): \n\n1.) Install Homebrew by entering this command into your terminal application: `/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)\"`. Then install both packer and terraform via brew: \n\n```Bash\n$ brew tap hashicorp/tap \u0026\u0026 brew update\n$ brew cask install packer\n$ brew cask install terraform\n```\n\n## Deployment:\n\nTo deploy WolfPack, ensure that you have an active AWS profile with credentials within your current terminal session before continuing with the following commands:\n\n```Console\n$ vim playbooks/apache_install.yaml\n```\n\nLocate the following lines and replace them with the `User-Agent` and IP address of your C2 server:\n\n```yaml\n    - name: Add .htaccess\n      copy:\n        dest: /var/www/.htaccess\n        content: |\n          # .htaccess Start\n          RewriteEngine On\n          RewriteCond %{REQUEST_METHOD} ^(GET|POST) [NC]\n          RewriteCond %{REQUEST_URI} ^/api/v1/2023/(.*)$\n          \n          # Change the following to the User-Agent for callbacks\n          RewriteCond %{HTTP_USER_AGENT} \"Mozilla/5.0 \\(Windows NT 10.0; Win64; x64) AppleWebKit/537.36 \\(KHTML, like Gecko\\) Chrome/113.0.0.0 Safari/537.36\"\n\n          # Change the following to your C2 IP Address\n          RewriteRule ^.*$ \"https://10.8.0.2%{REQUEST_URI}\" [P,L]\n```\n\nDeploy the AMI:\n\n```Console\n$ cd images/redirector\n$ packer init\n$ packer build .\n```\n\nThis will deploy a custom redirector AMI within your AWS account EC2 services. \n\n\u003e [!NOTE]\n\u003e This code is undergoing development, so if you encounter any errors or have any enhancement requests, feel free to create an issue on this repository \n\n## Future Development:\n\n- [ ] Add Let's Encrypt functionality for certificates\n- [ ] Add Terraform for creation of VPC, subnets, and security groups\n- [ ] Add support for downloading custom website pages for deployment with Apache\n- [ ] Create Red Team C2 servers and collaboration suite\n\n\n## References:\n\n- [Packer and Terraform](https://developer.hashicorp.com/terraform/tutorials/provision/packer)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosesecurity%2Fwolfpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frosesecurity%2Fwolfpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frosesecurity%2Fwolfpack/lists"}