AWS EC2

Amazon Elastic Compute Cloud (EC2) is a web service that allows users to create and run virtual machines (instances) in the Amazon Web Services (AWS) cloud

#Create a Virtual Machine & Install an OS onto the VM
#VM creation and configuration
root@oco:~$ BROWSER > https://aws.amazon.com/ > My Account > AWS Management Console
 > All Services > Compute > EC2 > Instances > Instances > Launch Instances
 Name & Tags:
  Name: {MythicC2Server}
 Application & OS Images:
  Browse More AMIs: Ubuntu Server LTS (HVM), SSD Volume Type
 Instance Type: t2.medium/t2.large
 Key Pair (login): Create New Key Pair
 Network Settings: {default}
  Network: vpc-0d50648fce11e930b
  Subnet: no preference (Default subnet in any availability zone)
  Auto-assign public IP: enabled
  FW (security groups): Create security group
  Allow SSH traffic from: My IP - {xxx.xxx.xxx.xxx/32}
  * Anywhere 0.0.0.0/0 shouldn't be used as the C2 should only be accessible by the Red Team operators
  * the "Allow HTTPS traffic from the internet" option can be enabled based on requirements
     - e.g., beacon call backs that need to use it
  * the "My IP - {xxx.xxx.xxx.xxx/32 is tied to the individual's remote public IP}
     - this specific aws instance can be accessed ONLY by a specific IP through local port forwarding
 Configure Storage: 1x 30GiB gp2 Root volume (Not Encrypted)
  * free tier's max is 30GiB
 Number of Instances: 1
 Launch Instance
 
root@oco:~$ BROWSER > https://aws.amazon.com/ > View All Instances > {instanceID}
 * verify that the instance is running
    - Instance state: running

Last updated