Skip to content

Instantly share code, notes, and snippets.

@santrancisco
Last active June 18, 2019 06:12
Show Gist options
  • Save santrancisco/cb8268b13695d1528cc353835ebb9d58 to your computer and use it in GitHub Desktop.
Save santrancisco/cb8268b13695d1528cc353835ebb9d58 to your computer and use it in GitHub Desktop.
cloudformation example
{
"AWSTemplateFormatVersion": "2010-09-09",
"Description": "CTF check",
"Resources": {
"sg": {
"Type": "AWS::EC2::SecurityGroup",
"Properties": {
"GroupDescription": "SSH Security Group",
"SecurityGroupIngress": {
"CidrIp": "0.0.0.0/0",
"FromPort": 22,
"ToPort": 22,
"IpProtocol": "tcp"
},
"SecurityGroupEgress": {
"CidrIp": "0.0.0.0/0",
"FromPort": 22,
"ToPort": 22,
"IpProtocol": "tcp"
},
"Tags": [
{
"Key": "Name",
"Value": "demo1"
},
{
"Key": "LOB",
"Value": "Finance"
}
]
}
}
}
}
@santrancisco
Copy link
Author

DONOT USE - Example of vulnerable security group

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment