Domain 7 - Infrastructure Security Flashcards
How are networks generally physically segmented in the cloud?
There are three physically segregated networks
a) Service Network - Internet to compute nodes, instance to instance
b) Storage - Compute to storage nodes
c) Management - API traffic and management traffic.
What are some of the challenges in cloud networking?
- Physical appliances for monitoring not possible in a virtual environment.
- Virtual appliances can become choke points and SPOFs.
- VAs need to scale with the resource they monitor
- Resources may have very short life spans -e.g. Lambda.
- Dynamic and fast changing nature of the cloud environment (ephemeral IP addresses, auto-scaling etc.).
SDN Benefits?
- Isolation is easier
-SDN Firewalls are flexible -e.g. Security Groups can be applied to EC2 instances no matter where they are located. - Security Groups can be applied to Auto-scaling groups.
- SDNs eliminate low-level attacks like ARP spoofing, and packet sniffing
What is CSA’s Software Defined Perimeter?
In the SDP architecture, there are three components:
a) SDP client on the connecting asset (e.g. laptop)
b) SDP controller - authN, authZ of SDP clients and configuring connections to the SDP Gateway
c) SDP Gateway - terminates client traffic (data path) and policy enforcement point.
What are the different types of compute abstractions?
- Virtual Machines
- Containers
- Platform-based (e.g. PaaS)
- Serverless (e.g. Lambda).
What are the benefits of an immutable workloads?
- No need to patch running systems; just update images and start a new instance with it.
- Disable remote logins (much more secure)
- Updates are faster
- Disable unused services
- Security testing is done during image creation, no need for vulnerability testing of running environments.
What requirements do immutable workloads bring?
- Consistent image creation process and automated deployment processes must be in place
- Security testing must be integrated into the image creation and deployment process
- Image creation must account for configuration (e.g. turn off logins)
- Send sufficiently detailed logs to an external collector
- Service catalog becomes complicated as there may be hundreds of microservices and updates a day.
How does the cloud affect workload security controls?
- Serverless compute- inability to run agents
- Traditional agents may be too bulky to run on VMs. Need to be redesigned.
- Static IP addressing may be replaced by dynamic IPs that are reused.
- Ephemeral nature of cloud resources -e.g. auto scaling, serverless
- Cloud instances may be less resilient than physical infrastructure.
How does cloud affect logging and monitoring?
- Ephemeral nature of cloud resources mean traditional identifiers may not suffice (e.g. IP addresses are dynamic and shared - no longer static)
- Logs may have to be offloaded sooner before the VM/Lambda disappears.
- Logs may incur storage and/or network costs depending on whether you store it in the cloud or bring them back on-prem.
How does cloud affect vulnerability assessment?
- Pen tests may not be permitted by cloud provider
- Default deny limits effectiveness of tests - need to open ports
- For immutable workloads - assessments may have to be done at image building time.