AWS Certified Security – Specialty flashcards
159 free flashcards. Tap a card to flip it.
SSE-KMS for Compliance
Flip cardServer-Side Encryption with AWS KMS (SSE-KMS) for Amazon S3 automatically encrypts objects using customer-managed keys (CMKs) in AWS KMS, providing a robust solution for compliance, auditing, and key management.
- Uses customer-managed keys (CMKs) stored and managed in AWS KMS.
- Integrates with AWS CloudTrail to provide detailed audit logs of all key usage.
- Allows security teams to define granular key policies and access controls for CMKs.
Memory trick: KMS Keeps PHI Secure, Compliant, and Key-Controlled.
Server-Side Encryption with AWS KMS (SSE-KMS)
Flip cardSSE-KMS uses AWS KMS to manage encryption keys, providing customers with control over key lifecycle and integration with CloudTrail for auditing.
- Uses customer master keys (CMKs) in KMS.
- Provides an audit trail of key usage via CloudTrail.
- Supports automatic key rotation.
Memory trick: KMS gives you the 'Key Master' control for S3 encryption.
S3 Bucket Policy for SSE-KMS Enforcement
Flip cardA bucket policy using conditions to enforce server-side encryption with a specific AWS KMS key for all uploaded objects.
- Uses `s3:x-amz-server-side-encryption` condition key to check encryption type.
- Uses `s3:x-amz-server-side-encryption-aws-kms-key-id` condition key to check the KMS key ARN.
- Combines `StringNotEquals`, `Null`, and `StringNotEqualsIfExists` to ensure comprehensive enforcement.
Memory trick: Think of a 'triple-check' at the S3 upload gate: Is it KMS? Is there a key ID? Is it THE specific key?
IAM Policy Evaluation Logic: Implicit Deny
Flip cardIf an AWS API action is not explicitly allowed by any applicable policy, it is implicitly denied by default.
- Explicit Deny always overrides Explicit Allow.
- Implicit Deny is the default state if no Allow is present.
- Understanding this logic is crucial for secure IAM policy design.
Memory trick: Think of a bouncer at a club: if your name isn't on the 'allowed' list, you're automatically 'denied' entry.
S3 Bucket Policies & SCPs for Cross-Account Access
Flip cardCombining S3 bucket policies for granular resource-based access with Service Control Policies (SCPs) for organizational-level guardrails, including root user restrictions.
- S3 bucket policies define who can access the bucket and from where.
- SCPs set maximum permissions for all IAM entities (including root users) within accounts in an AWS Organization.
- Using both provides defense-in-depth: bucket policies manage allowed access, SCPs prevent disallowed access from other accounts, especially root.
Memory trick: Think of a 'double lock': the bucket policy is the inner lock, and the SCP is the outer gate for the whole organization.
KMS Custom Key Store with CloudHSM
Flip cardA feature of AWS KMS that allows customers to use their own AWS CloudHSM cluster as the backing store for their KMS keys, providing FIPS 140-2 Level 3 validated hardware security module (HSM) protection and exclusive control over key material.
- Integrates CloudHSM with KMS for seamless service integration.
- Ensures cryptographic operations and key storage occur within customer-controlled HSMs.
- Meets strict compliance requirements for dedicated hardware security.
Memory trick: CloudHSM is KMS's Custom Strongbox.
S3 Storage Classes for Archival
Flip cardAmazon S3 offers several storage classes optimized for different access patterns and costs. S3 Glacier and S3 Glacier Deep Archive are designed for long-term, rarely accessed data, with Deep Archive being the most cost-effective for retention periods of 7-10 years or more.
- S3 Standard: high durability, high availability, frequently accessed.
- S3 Glacier Flexible Retrieval: archives, retrieval in minutes to hours.
- S3 Glacier Deep Archive: lowest cost, retrieval in hours.
- All S3 storage classes support encryption at rest.
Memory trick: For 'deep' savings, 'archive' your data 'after' its active phase.
Amazon Macie for S3 Data Classification
Flip cardAmazon Macie is a data security service that uses machine learning and pattern matching to discover, classify, and protect sensitive data (like PII) in Amazon S3, providing continuous monitoring and alerts.
- Automatically discovers sensitive data like PII, financial data, and credentials.
- Provides visibility into S3 bucket security and access.
- Generates findings and alerts for sensitive data exposures or policy violations.
Memory trick: Macie Makes S3 Secrets Scrutinized and Signaled.
EC2 Dedicated Hosts
Flip cardAn Amazon EC2 Dedicated Host is a physical server with EC2 instance capacity fully dedicated to your use. It allows you to use your existing server-bound software licenses and provides physical isolation for stricter compliance and security requirements.
- Provides physical server isolation for EC2 instances.
- Supports existing server-bound software licenses.
- Offers visibility into sockets and physical cores.
- More expensive than other EC2 options due to dedicated hardware.
Memory trick: A 'Dedicated Host' is like having your own private server room in the cloud.
Default EBS Encryption
Flip cardAWS allows you to enable default encryption for all newly created Amazon EBS volumes and snapshot copies in a specific AWS Region for your account. Once enabled, all new EBS volumes created in that Region are automatically encrypted.
- Applies to new EBS volumes and snapshot copies in a specific region.
- Uses the default KMS key for EBS or a specified custom KMS key.
- A simple, proactive way to enforce encryption at rest.
- Does not affect existing unencrypted volumes.
Memory trick: To encrypt all EBS, just 'flip the default switch' in the account settings.
EC2 Remote Forensic Data Collection
Flip cardAWS Systems Manager (SSM) provides secure, remote management of EC2 instances. Its agent allows security engineers to execute forensic scripts and collect data (e.g., process lists, network states) without direct SSH/RDP login, minimizing impact on potential evidence.
- SSM Agent is pre-installed on many AMIs.
- Enables remote command execution without SSH/RDP.
- Integrates with IAM for granular permissions.
Memory trick: SSM Agent is your ghost in the machine, collecting evidence silently.
AWS Forensic Environment Setup
Flip cardA secure AWS forensic environment involves creating a highly isolated VPC (no internet gateway) for analysis. This prevents contamination and ensures evidence integrity, with controlled access to necessary services like S3 via VPC endpoints.
- Requires strict network isolation (dedicated VPC, no internet gateway).
- Compromised volumes are attached to a clean forensic instance.
- VPC endpoints provide secure access to AWS services (e.g., S3) without public internet.
Memory trick: Build a secure sandbox for your forensics, locked away from the internet.
Hybrid Cloud Connectivity
Flip cardDesigning robust hybrid cloud connectivity involves combining AWS Direct Connect for high-throughput with VPN for encryption and redundancy, often leveraging Transit Gateway for centralized routing.
- Direct Connect: Dedicated, high-bandwidth connection.
- Site-to-Site VPN: Encrypted tunnel over public internet.
- Direct Connect Gateway: Connects DX to multiple VPCs/regions.
- Transit Gateway: Central routing hub for VPCs and on-premises.
Memory trick: Direct Connect for Speed, VPN for Backup, Gateway for Global.
AWS Transit Gateway
Flip cardAWS Transit Gateway is a network transit hub that you can use to interconnect your virtual private clouds (VPCs) and on-premises networks to a single gateway.
- Simplifies network topology for many VPCs.
- Enables inter-region VPC connectivity.
- Traffic stays within the AWS global network.
- Supports dynamic routing and centralized management.
Memory trick: Transit Gateway Takes on Topology Troubles.
Secure Outbound Internet Access with Inspection
Flip cardA VPC architecture pattern where private instances securely access the internet via a NAT Gateway, with all outbound traffic subjected to deep packet inspection by a Network Firewall.
- Private subnets for application instances.
- NAT Gateway for outbound internet access.
- AWS Network Firewall for centralized deep packet inspection.
Memory trick: Private Apps Need NAT and Firewall Guard!
Encrypted Hybrid Cloud Connectivity (Direct Connect + VPN)
Flip cardA robust hybrid cloud connectivity solution that combines the dedicated, private, and high-bandwidth connection of AWS Direct Connect with the end-to-end encryption capabilities of AWS Site-to-Site VPN. The VPN is established over the Direct Connect link.
- Direct Connect provides a private, dedicated network connection.
- VPN adds a layer of encryption over the private Direct Connect link.
- Ensures data in transit is both private and encrypted.
- Offers high availability and predictable network performance.
Memory trick: Direct Connect is the 'private road', and VPN is the 'armored car' on that road.
S3 Data Protection Best Practices
Flip cardA combination of S3 features like encryption, access control, and public access blocking is essential for securing sensitive data in S3.
- Default encryption ensures all new objects are encrypted.
- Block Public Access prevents accidental public exposure.
- IAM policies and bucket policies control authorized access.
Memory trick: Encrypt, Block, and Control for S3 Data Security.
NAT Gateway
Flip cardA NAT Gateway enables instances in a private subnet to connect to the internet or other AWS services, but prevents the internet from initiating a connection with those instances.
- Allows outbound internet from private subnets.
- Resides in a public subnet.
- Requires an Elastic IP address.
- Provides a centralized point for outbound traffic.
Memory trick: NAT Gateway Nurtures Network Access for Private Subnets.
Security Groups
Flip cardSecurity Groups act as a virtual firewall for your EC2 instances to control inbound and outbound traffic. They operate at the instance level.
- Stateful: automatically allows return traffic.
- Operate at the instance level.
- Allow or deny based on IP, port, and protocol.
Memory trick: Security Groups Guard Instances, NACLs Nurture Subnets.
Centralized S3 Public Access Monitoring
Flip cardMonitoring for publicly accessible S3 buckets across an AWS Organization is critical for data protection. AWS Security Hub offers a consolidated view of security findings, including S3 public access, making it effective for this task.
- Security Hub aggregates findings from various services.
- Pre-defined controls like S3.3 detect public S3 buckets.
- Provides a centralized dashboard for multi-account security posture.
Memory trick: Security Hub is the central security command center for all your AWS accounts.
Lambda VPC Integration
Flip cardTo securely access resources in a private VPC subnet (like RDS) from AWS Lambda, the Lambda function must be configured to run within that VPC and use private networking.
- Lambda in VPC allows access to private resources.
- Place Lambda in private subnets for security.
- Use security groups for granular access control.
- Traffic remains within the AWS network, not public internet.
Memory trick: Lambda Lives in VPC, Links to RDS Privately.
S3 Access Behavioral Analysis
Flip cardAnalyzing an IAM user's S3 access patterns requires capturing object-level API activity via CloudTrail data events. Amazon Athena can then query these logs in S3 for deep behavioral insights into successful, failed, and unusual access attempts.
- CloudTrail data events record object-level S3 actions.
- Logs are stored in S3 for long-term retention.
- Athena enables SQL queries over S3 data for analysis.
Memory trick: CloudTrail records the story, and Athena helps you read between the lines of S3 access.
Web Application Security Stack
Flip cardA combination of AWS services designed to protect web applications against various threats, including DDoS attacks and common web exploits, offering layered security and automated mitigation.
- AWS Shield provides DDoS protection (Standard for basic, Advanced for enhanced).
- AWS WAF protects against common web exploits (SQL injection, XSS) at the application layer.
- WAF integrates with Application Load Balancer, CloudFront, and API Gateway.
- This combination offers automated, scalable, and managed security.
Memory trick: For web apps, 'Shield' blocks the big waves (DDoS), and 'WAF' catches the 'bad fish' (exploits).
Secure Cross-Account S3 Access for Lambda
Flip cardEnabling AWS Lambda functions to securely and privately access S3 buckets in a different AWS account using VPC Endpoints and S3 Bucket Policies.
- VPC Endpoint for S3 ensures private access.
- S3 Bucket Policy grants cross-account access.
- Least privilege enforced by targeting specific Lambda roles.
Memory trick: Lambda's S3 Secret: VPC Endpoint, Bucket Policy!
API Gateway Private Endpoints
Flip cardAmazon API Gateway Private API endpoints are accessible only from within your Amazon VPC by using an interface VPC endpoint.
- API is not exposed to the public internet.
- Access controlled via VPC Endpoint policies and resource policies.
- Traffic remains within the AWS network.
- Ideal for internal applications and microservices.
Memory trick: Private Endpoint Protects API Privately.
Lambda VPC Configuration
Flip cardConnecting AWS Lambda functions to a Virtual Private Cloud (VPC) by configuring them to run within private subnets, allowing secure access to private VPC resources.
- Lambda ENIs are created in specified subnets.
- Private subnets restrict public internet access.
- Security Groups control traffic to/from Lambda ENIs.
- No NAT Gateway if no internet access is required.
Memory trick: Lambda's VPC Home: Private Subnets, Secure Talk!
Cross-Account Resource Access
Flip cardSecurely granting access to an AWS resource in one account to a principal (user, role, or service) in another account, typically using resource-based policies or IAM roles.
- Resource-based policies (S3, SQS, KMS) are ideal for specific resources.
- IAM roles (trust policies) allow principals to assume roles in other accounts.
- Avoid sharing long-lived credentials.
- Adhere to the principle of least privilege.
Memory trick: Resource Policies Reach Resources.
Secure EC2 Remote Access
Flip cardAWS Systems Manager Session Manager provides a secure, auditable, and port-free way to remotely access and manage EC2 instances.
- No open inbound ports (SSH/RDP) needed.
- Uses IAM for granular access control.
- Records sessions for auditing (S3/CloudWatch Logs).
- Works with Windows and Linux instances.
Memory trick: Session Manager Secures SSH Sessions.
Idempotent Automated Remediation
Flip cardIdempotent automated remediation ensures that a security action (e.g., revoking access keys) can be safely executed multiple times without unintended side effects. This is often achieved using AWS Lambda triggered by EventBridge, with the Lambda function designed to handle repeated calls gracefully.
- Idempotency means repeated execution yields same result.
- EventBridge triggers Lambda for security findings.
- Lambda functions use AWS SDK for remediation actions (e.g., IAM key rotation/deletion).
Memory trick: EventBridge and Lambda ensure your automated fixes are one-and-done, even if called twice.
Automated IR with EventBridge & Lambda
Flip cardAmazon EventBridge acts as the central event bus to receive security findings (e.g., from GuardDuty) and trigger AWS Lambda functions to execute automated incident response actions, such as revoking IAM roles.
- EventBridge reacts to events from AWS services.
- Lambda executes custom code in response to triggers.
- Together, they form a powerful serverless automation pattern.
Memory trick: EventBridge is the traffic cop directing security alerts to the right Lambda responders.
S3 Access Log Analysis with Athena
Flip cardS3 server access logs record detailed requests made to an S3 bucket. Amazon Athena provides a powerful, serverless SQL query engine to efficiently analyze these logs directly in S3, crucial for forensic investigations of data access and exfiltration.
- S3 server access logs record every request to a bucket.
- Logs are stored in S3.
- Athena enables SQL queries for fast analysis of S3 data.
Memory trick: Athena is your SQL-powered librarian for S3 access logs.
EC2 Instance Isolation
Flip cardThe process of preventing a potentially compromised Amazon EC2 instance from communicating with other systems while preserving its state for investigation.
- Crucial for containing security incidents.
- Network-level isolation is often the first step.
- Preservation of state is vital for forensic analysis.
Memory trick: Security Groups are your first fence for a compromised EC2.
Lambda VPC Configuration for Private Resources and Outbound Internet
Flip cardTo allow AWS Lambda functions to access resources within a private VPC (like RDS) and also connect to the internet for external APIs securely, the Lambda function must be configured to operate within the VPC's private subnets, with outbound internet access facilitated by a NAT Gateway.
- Lambda functions need VPC access enabled to connect to resources in a VPC.
- Place Lambda in *private* subnets to prevent inbound internet access.
- Private subnets must have a route to a NAT Gateway for outbound internet connectivity.
Memory trick: Lambda needs a 'Private Door' to the database and a 'NAT Gate' to the Internet.
AWS Systems Manager Session Manager
Flip cardA fully managed AWS service that provides secure, auditable, and browser-based or CLI-based remote management of EC2 instances and other supported resources without the need to open inbound ports, manage bastion hosts, or handle SSH keys.
- No open inbound ports (e.g., SSH, RDP) required on instances.
- Uses IAM for granular access control and authorization.
- Sessions are logged to CloudWatch Logs or S3 for auditing.
- Works with instances in private subnets without a public IP.
Memory trick: For EC2 access, 'Session Manager' is like a 'secret tunnel' with no visible doors.
Secure Container Image Pipeline
Flip cardA set of automated processes and tools within a CI/CD pipeline designed to build, scan for vulnerabilities, and store container images securely, ensuring that only approved and secure images are deployed to production environments.
- Involves building images from trusted base images.
- Includes automated vulnerability scanning (e.g., Amazon ECR with Inspector).
- Enforces security policies to block vulnerable images.
- Stores images in a secure, private registry (Amazon ECR).
Memory trick: ECR + Inspector is like a 'security checkpoint' for container images before they board the 'production train'.
Cross-Account Access with IAM Roles
Flip cardAWS Identity and Access Management (IAM) roles can be used to securely delegate access to AWS resources between different AWS accounts. This involves one account defining a role that can be assumed by an entity (like an IAM role or user) in another account, providing temporary credentials.
- Eliminates the need to share long-term credentials (access keys).
- Adheres to the principle of least privilege by granting temporary, specific permissions.
- Requires a trust policy on the role in the resource account and a permissions policy on the assuming entity in the calling account.
Memory trick: IAM Roles are like 'Guest Passes' for different accounts.
Secure Container Supply Chain
Flip cardA process flow that integrates container image scanning, automated build and deployment pipelines, and runtime enforcement to ensure only secure and approved container images are deployed.
- ECR image scanning for vulnerability detection.
- CodePipeline for automated CI/CD with gates.
- Fargate task definitions enforce approved images.
Memory trick: ECR Scan, CodePipeline Plan, Fargate Run!
Secure RDS Configuration
Flip cardBest practices for securing Amazon RDS instances involve network isolation, in-transit encryption, and robust authentication mechanisms.
- Private subnets for network isolation.
- SSL/TLS for in-transit encryption.
- IAM database authentication for strong access control.
Memory trick: RDS: Private Network, Encrypted Data, IAM Power!
AWS Web Application Firewall (WAF)
Flip cardAWS WAF helps protect web applications or APIs against common web exploits and bots that may affect availability, compromise security, or consume excessive resources.
- Protects against common web exploits (SQL injection, XSS).
- Filters traffic based on custom rules (IPs, HTTP headers).
- Integrates with ALB, CloudFront, API Gateway, AppSync.
- Provides granular control over web requests.
Memory trick: WAF Watches Web Attacks, Shield Stops DDoS.
EC2 Instance Isolation with Security Groups
Flip cardSecurity groups act as a virtual firewall for EC2 instances, controlling inbound and outbound traffic. They are stateful and operate at the instance level, making them ideal for granular instance isolation during an incident.
- Operate at the instance level, not subnet.
- Are stateful: return traffic is automatically allowed.
- Can be modified dynamically to restrict traffic instantly.
Memory trick: Security Groups are like personal bodyguards for each EC2 instance.
Live EC2 Memory Forensics
Flip cardLive memory forensics involves capturing the volatile memory (RAM) of a running EC2 instance to analyze processes, network connections, and other ephemeral data. This is typically achieved by running a memory capture tool via AWS Systems Manager.
- Focuses on volatile data not stored on disk.
- Requires capturing memory while the instance is running.
- Systems Manager is key for remote execution of capture tools.
Memory trick: Systems Manager is your remote control for live memory evidence collection.
Secure EC2-S3 Access
Flip cardUsing IAM roles attached to EC2 instances to grant secure, temporary, and least-privilege access to AWS resources like S3 buckets and KMS keys.
- IAM roles provide temporary credentials.
- Principle of least privilege is applied.
- Eliminates hardcoding credentials.
Memory trick: EC2's S3 Key: IAM Roles, Not Hardcoded!
Centralized Egress Inspection with Transit Gateway
Flip cardA network architecture pattern where all outbound internet traffic from multiple VPCs is routed through a central inspection VPC containing security appliances (like firewalls) before reaching the internet, typically using AWS Transit Gateway.
- Enhances security by forcing all egress traffic through inspection devices.
- Provides a scalable and manageable solution for multi-VPC environments.
- Utilizes AWS Transit Gateway for inter-VPC routing and NAT Gateway for internet access.
Memory trick: Transit Gateway routes traffic through the 'Inspection Checkpoint' before it goes to the Internet.
AWS API Call Forensics
Flip cardAWS CloudTrail provides a complete history of API calls made in an AWS account, including who made the call, when, from where, and what resources were affected. It is essential for security investigations involving compromised credentials.
- Records all AWS API calls and related events.
- Logs are delivered to S3 and can be sent to CloudWatch Logs.
- Crucial for security auditing, compliance, and incident response.
Memory trick: CloudTrail is the ultimate detective's notebook for every AWS action.
Centralized Encrypted Network Connectivity
Flip cardUsing AWS Transit Gateway with Site-to-Site VPN to achieve encrypted and centrally managed network connectivity between multiple AWS VPCs and on-premises networks.
- Transit Gateway for hub-and-spoke routing.
- Site-to-Site VPN for encrypted on-premises connectivity.
- Scalable and centrally managed.
Memory trick: Transit Gateway + VPN: Centralized, Encrypted, Connected!
EBS Default Encryption
Flip cardYou can enable default encryption for all new EBS volumes and snapshot copies created in a specific AWS Region for your account, using either AWS-managed or customer-managed KMS keys.
- Applied per AWS Region.
- Affects newly created volumes and snapshot copies.
- Can use AWS-managed keys or customer-managed (CMK) keys.
- Enforces encryption without manual intervention.
Memory trick: EBS Encryption is Enabled Easily by Default.
AWS Security Groups
Flip cardAWS Security Groups act as a virtual firewall for your EC2 instances, controlling inbound and outbound traffic at the instance level.
- Stateful: automatically allows return traffic for permitted inbound/outbound rules.
- Operate at the instance level, not the subnet level.
- Can be associated with one or more EC2 instances.
Memory trick: Think of Security Groups as a personal bouncer for your EC2 instance, checking IDs for every connection.
VPC Flow Log Analysis
Flip cardVPC Flow Logs capture information about the IP traffic going to and from network interfaces in a VPC. CloudWatch Logs Insights is the primary tool for interactively querying and analyzing these logs for security investigations.
- Records network flow data (source/destination IP, port, protocol).
- Can be published to CloudWatch Logs or S3.
- CloudWatch Logs Insights offers interactive query capabilities.
Memory trick: Logs Insights is the magnifying glass for your CloudWatch Logs.
Private API Gateway Configuration
Flip cardConfiguring Amazon API Gateway with a 'Private' endpoint type and a VPC Endpoint to restrict access solely to internal VPCs, combined with IAM authorizers for secure authentication.
- Private endpoint type for internal VPC access.
- VPC Endpoint for private connectivity.
- IAM authorizer for IAM credential-based authentication.
Memory trick: API Gateway: Private Endpoints, IAM Authorizers, Internal Access!
SSE-KMS Benefits
Flip cardServer-Side Encryption with AWS KMS provides encryption at rest for S3 objects using KMS-managed keys, offering automatic key rotation, auditability, and integration with AWS services.
- Uses AWS KMS Customer Master Keys (CMKs)
- Supports automatic annual key rotation
- Key usage is logged in AWS CloudTrail for auditability
- Managed service, reducing operational burden
Memory trick: KMS: Keys Managed Securely, Audited Regularly.
VPC Flow Logs
Flip cardA feature that enables you to capture information about the IP traffic going to and from network interfaces in your VPC.
- Records source/destination IP, port, protocol, action (ACCEPT/REJECT), bytes, packets.
- Can be published to Amazon CloudWatch Logs or Amazon S3.
- Useful for network troubleshooting, security analysis, and compliance.
Memory trick: VPC Flow Logs show network's ebb and flow, where data dares to go.
AWS WAF Logging
Flip cardAWS WAF protects web applications from common exploits, and its logging feature sends detailed web request information to a Kinesis Data Firehose stream for analysis.
- AWS WAF filters web traffic based on defined rules.
- Protects against SQL injection, XSS, and other OWASP Top 10 threats.
- WAF logs provide granular details of every web request.
- Kinesis Data Firehose is an ideal destination for WAF logs for real-time processing.
Memory trick: WAF blocks web threats, Firehose logs the deeds, for forensic needs.
Amazon Inspector
Flip cardAn automated security assessment service that helps improve the security and compliance of applications deployed on AWS by identifying vulnerabilities and deviations from best practices.
- Discovers and scans EC2 instances, container images, and Lambda functions.
- Identifies software vulnerabilities and unintended network exposure.
- Generates prioritized, actionable security findings.
- Integrates with AWS Security Hub for centralized management of findings.
Memory trick: Inspector scans, finds flaws, keeps your AWS secure by its aws.
Amazon Kinesis Data Firehose
Flip cardA fully managed service for delivering real-time streaming data to destinations like S3, Redshift, Splunk, and other HTTP endpoints.
- Automatically scales to match data throughput.
- Supports data transformation via AWS Lambda.
- Integrates with various AWS services as sources and destinations.
Memory trick: Firehose funnels logs, fast and full, to your SIEM system's pool.
AWS Config for Security Group Compliance
Flip cardAWS Config continuously audits security group rules using managed or custom rules to ensure compliance with security policies, alerting on non-compliant configurations.
- AWS Config evaluates resource configurations against desired states.
- Managed rules exist for common security best practices (e.g., restricted SSH).
- Non-compliant findings can trigger notifications via SNS.
- Provides a compliance timeline and history for audited resources.
Memory trick: Config checks security doors, warns if they're too wide, no more.
S3 Access Logging Compliance
Flip cardEnsuring S3 server access logging is enabled for sensitive buckets and logs are sent to a separate, secure cross-account S3 bucket, continuously monitored by AWS Config.
- S3 server access logging records requests to a bucket.
- Logs should be stored in a separate, secure bucket, ideally cross-account.
- AWS Config custom rules can continuously check this configuration.
- S3 bucket policies enable cross-account log delivery.
Memory trick: Config checks S3 logs are flowing right, cross-account, secure, and always bright.
CloudWatch Alarm for Root Activity
Flip cardA configuration using CloudTrail, CloudWatch Logs, Metric Filters, and SNS to alert on IAM root user API activity.
- CloudTrail records root user API calls.
- CloudWatch Logs ingests CloudTrail events.
- Metric Filter extracts specific patterns (e.g., 'userIdentity.type': 'Root').
- CloudWatch Alarm triggers based on the metric, sending notifications via SNS.
Memory trick: Root's API calls, through CloudTrail's sight, become CloudWatch metrics, sparking SNS light.
AWS CloudTrail with S3 Object Lock
Flip cardCloudTrail records AWS API calls and console actions, and S3 Object Lock provides WORM (Write Once, Read Many) protection for objects stored in S3, ensuring log immutability.
- CloudTrail provides a history of AWS API calls for auditing.
- S3 Object Lock prevents objects from being deleted or overwritten.
- Combined, they meet strict compliance requirements for log integrity and retention.
Memory trick: CloudTrail logs actions, S3 Lock ensures facts forever last.
CloudTrail for Access Key Forensics
Flip cardUsing AWS CloudTrail's Event History and CloudTrail Lake to investigate the usage of compromised access keys, including source IP, time, and services accessed.
- CloudTrail logs all API calls and console actions.
- Records `sourceIPAddress`, `userIdentity`, and `eventName` (API call).
- Event History provides a 90-day searchable view.
- CloudTrail Lake allows advanced queries over long-term, aggregated logs.
Memory trick: CloudTrail's history, like a detective's eye, reveals where a key has flown, and why.
EKS Container Logging & Monitoring
Flip cardUsing Fluent Bit DaemonSet for log collection and CloudWatch Logs/Container Insights for centralized logging and performance metrics for Amazon EKS.
- Fluent Bit is a lightweight log processor.
- DaemonSet ensures Fluent Bit runs on every EKS node.
- CloudWatch Logs provides centralized log storage and analysis.
- CloudWatch Container Insights offers specialized metrics for EKS.
Memory trick: Fluent Bit gathers container's chatter, CloudWatch Insights shows what truly matters.