This repository has been archived by the owner on Apr 14, 2020. It is now read-only.
forked from Coalfire-Research/Red-Baron
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f21666d
commit 96da94d
Showing
7 changed files
with
144 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,3 @@ | ||
* | ||
!.gitignore | ||
!certificates | ||
!examples | ||
!modules | ||
!scripts | ||
!ssh_keys | ||
!terraform.d | ||
!README.md | ||
.terraform | ||
*.tfstate* | ||
*.tfvars |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// Minimum required TF version is 0.10.0 | ||
|
||
terraform { | ||
required_version = ">= 0.10.0" | ||
} | ||
|
||
// Create VPC for AWS instances | ||
|
||
module "create_vpc" { | ||
source = "./modules/aws/create-vpc" | ||
} | ||
|
||
// ------------------------------------- | ||
|
||
module "http_c2" { | ||
source = "./modules/aws/http-c2" | ||
|
||
vpc_id = "${module.create_vpc.vpc_id}" | ||
subnet_id = "${module.create_vpc.subnet_id}" | ||
|
||
// 1 http C2 ha. ha. ha... 2 http C2s ha. ha. ha... 3 http C2s ha. ha. ha... | ||
//count = 2 | ||
|
||
// Wanna auto install empire? | ||
//install = ["./scripts/empire.sh"] | ||
|
||
// Wanna auto install metasploit? | ||
//install = ["./scripts/metasploit.sh"] | ||
|
||
// Wanna install CS? | ||
//install = ["./scripts/cobaltstrike.sh"] | ||
|
||
// I WANT EVERYTHING | ||
//install = ["./scripts/empire.sh", "./scripts/metasploit.sh", "./scripts/cobaltstrike.sh"] | ||
} | ||
|
||
|
||
module "http_rdir" { | ||
source = "./modules/aws/http-rdir" | ||
|
||
//count = 4 | ||
vpc_id = "${module.create_vpc.vpc_id}" | ||
subnet_id = "${module.create_vpc.subnet_id}" | ||
|
||
redirect_to = "${module.http_c2.ips}" | ||
|
||
//regions = ["TX", "SG"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// Minimum required TF version is 0.10.0 | ||
|
||
terraform { | ||
required_version = ">= 0.10.0" | ||
} | ||
|
||
module "http_c2" { | ||
source = "./modules/linode/http-c2" | ||
|
||
// 1 http C2 ha. ha. ha... 2 http C2s ha. ha. ha... 3 http C2s ha. ha. ha... | ||
//count = 2 | ||
|
||
// Wanna auto install empire? | ||
//install = ["./scripts/empire.sh"] | ||
|
||
// Wanna auto install metasploit? | ||
//install = ["./scripts/metasploit.sh"] | ||
|
||
// Wanna install CS? | ||
//install = ["./scripts/cobaltstrike.sh"] | ||
|
||
// I WANT EVERYTHING | ||
//install = ["./scripts/empire.sh", "./scripts/metasploit.sh", "./scripts/cobaltstrike.sh"] | ||
} | ||
|
||
module "http_rdir" { | ||
source = "./modules/linode/http-rdir" | ||
|
||
// 1 redirector ha. ha. ha... 2 redirectors ha. ha. ha... 3 redirectors ha. ha. ha.. | ||
//count = 4 | ||
redirect_to = "${module.http_c2.ips}" | ||
|
||
//regions = ["TX", "SG"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
// Minimum required TF version is 0.10.0 | ||
|
||
terraform { | ||
required_version = ">= 0.10.0" | ||
} | ||
|
||
// Create VPC for AWS instances | ||
|
||
module "create_vpc" { | ||
source = "./modules/aws/create-vpc" | ||
} | ||
|
||
// ------------------------------------- | ||
|
||
module "phishing_server" { | ||
source = "./modules/aws/phishing-server" | ||
|
||
// 1 phishing server ha. ha. ha... 2 phishing servers ha. ha. ha... 3 phishing servers ha. ha. ha... | ||
//count = 2 | ||
vpc_id = "${module.create_vpc.vpc_id}" | ||
subnet_id = "${module.create_vpc.subnet_id}" | ||
|
||
} | ||
|
||
module "http_rdir" { | ||
source = "./modules/aws/http-rdir" | ||
|
||
// 1 redirector ha. ha. ha... 2 redirectors ha. ha. ha... 3 redirectors ha. ha. ha... | ||
//count = 4 | ||
vpc_id = "${module.create_vpc.vpc_id}" | ||
subnet_id = "${module.create_vpc.subnet_id}" | ||
|
||
redirect_to = "${module.phishing_server.ips}" | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Minimum required TF version is 0.10.0 | ||
|
||
terraform { | ||
required_version = ">= 0.10.0" | ||
} | ||
|
||
module "phishing_server" { | ||
source = "./modules/linode/phishing-server" | ||
|
||
// 1 phishing server ha. ha. ha... 2 phishing servers ha. ha. ha... 3 phishing servers ha. ha. ha... | ||
//count = 2 | ||
} | ||
|
||
|
||
module "http_rdir" { | ||
source = "./modules/linode/http-rdir" | ||
|
||
// 1 redirector ha. ha. ha... 2 redirectors ha. ha. ha... 3 redirectors ha. ha. ha... | ||
//count = 4 | ||
redirect_to = "${module.phishing_server.ips}" | ||
|
||
// 1337 APT's all come from Texas and Singapore | ||
//regions = ["TX", "SG"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
/* | ||
The simplest and (probably) most common scenario: | ||
- 1 HTTP C2 | ||
- 2 HTTP Redirectors | ||
|