This is a modification of Azure Terraform code in main DShield repo https://github.com/DShield-ISC/dshield
export ARM_CLIENT_SECRET=
export ARM_CLIENT_ID=
export ARM_TENANT_ID=
export ARM_SUBSCRIPTION_ID=
export AZURE_LOCATION=eastus
export AZURE_VM_SIZE=
dshield_email=""
dshield_apikey=""
dshield_userid=""
-
honeypot_nodes (default:
1
increase to scale horizontally) -
azure_region (default:
East US
) if using Azure -
azure_image_size (default:
Standard_B1ls
) if using Azure -
honeypot_network (default:
10.40.0.0/16
for VPC &10.40.0.0/24
for SG) -
honeypot_ssh_port (default:
12222
) -
dshield_ca_country (default:
US
) -
dshield_ca_state (default:
Florida
) -
dshield_ca_city (default:
Jacksonville
) -
dshield_ca_company (default:
DShield
) -
dshield_ca_depart (default:
Decoy
) -
SSH credentials are contained in the default location:
~/.ssh/id_rsa
~/.ssh/id_rsa.pub
terraform init; terraform plan --var-file=.tfvars -out=honeypot; terraform apply "honeypot"
OR
terraform init; terraform apply
and type yes
when prompted