From 8d9c993e309974c9107d30ee8ef89f320931f0a2 Mon Sep 17 00:00:00 2001 From: George Tang Date: Wed, 18 Oct 2023 10:41:42 -0700 Subject: [PATCH] adding AWS CIS 2.0 framework --- .../standards/cis-aws-foundations/v2.0.0.json | 416 ++++++++++++++++++ 1 file changed, 416 insertions(+) create mode 100644 templates/standards/cis-aws-foundations/v2.0.0.json diff --git a/templates/standards/cis-aws-foundations/v2.0.0.json b/templates/standards/cis-aws-foundations/v2.0.0.json new file mode 100644 index 0000000..0bfc861 --- /dev/null +++ b/templates/standards/cis-aws-foundations/v2.0.0.json @@ -0,0 +1,416 @@ +{ + "standard": "CIS AWS Foundations 2.0", + "version": "2.0.0", + "webLink": "https://www.cisecurity.org/benchmark/amazon_web_services/", + "sections": [ + { + "title": "Identity and Access Management", + "requirements": [ + { + "ref": "1.1", + "title": "Maintain current contact details", + "summary": "Ensure contact email and telephone details for AWS accounts are current and map to more than one individual in your organization. An AWS account supports a number of contact details, and AWS will use these to contact the account owner if activity judged to be in breach of Acceptable Use Policy or indicative of likely security compromise is observed by the AWS Abuse team. Contact details should not be for a single individual, as circumstances may arise where that individual is unavailable. Email contact details should point to a mail alias which forwards email to multiple individuals within the organization; where feasible, phone contact details should point to a PABX hunt group or other call-forwarding system.", + "applicable": true + }, + { + "ref": "1.2", + "title": "Ensure security contact information is registered", + "summary": "AWS provides customers with the option of specifying the contact information for account's security team. It is recommended that this information be provided.", + "applicable": true + }, + { + "ref": "1.3", + "title": "Ensure security questions are registered in the AWS account", + "summary": "The AWS support portal allows account owners to establish security questions that can be used to authenticate individuals calling AWS customer service for support. It is recommended that security questions be established.", + "applicable": true + }, + { + "ref": "1.4", + "title": "Ensure no 'root' user account access key exists", + "summary": "The 'root' user account is the most privileged user in an AWS account. AWS Access Keys provide programmatic access to a given AWS account. It is recommended that all access keys associated with the 'root' user account be deleted.", + "applicable": true + }, + { + "ref": "1.5", + "title": "Ensure MFA is enabled for the 'root' user account", + "summary": "The 'root' user account is the most privileged user in an AWS account. Multi-factor Authentication (MFA) adds an extra layer of protection on top of a username and password. With MFA enabled, when a user signs in to an AWS website, they will be prompted for their username and password as well as for an authentication code from their AWS MFA device. Note: When virtual MFA is used for 'root' accounts, it is recommended that the device used is NOT a personal device, but rather a dedicated mobile device (tablet or phone) that is managed to be kept charged and secured independent of any individual personal devices. (\"non-personal virtual MFA\") This lessens the risks of losing access to the MFA due to device loss, device trade-in or if the individual owning the device is no longer employed at the company.", + "applicable": true + }, + { + "ref": "1.6", + "title": "Ensure hardware MFA is enabled for the 'root' user account", + "summary": "The 'root' user account is the most privileged user in an AWS account. MFA adds an extra layer of protection on top of a user name and password. With MFA enabled, when a user signs in to an AWS website, they will be prompted for their user name and password as well as for an authentication code from their AWS MFA device. For Level 2, it is recommended that the 'root' user account be protected with a hardware MFA.", + "applicable": true + }, + { + "ref": "1.7", + "title": "Eliminate use of the 'root' user for administrative and daily tasks", + "summary": "With the creation of an AWS account, a 'root user' is created that cannot be disabled or deleted. That user has unrestricted access to and control over all resources in the AWS account. It is highly recommended that the use of this account be avoided for everyday tasks.", + "applicable": true + }, + { + "ref": "1.8", + "title": "Ensure IAM password policy requires minimum length of 14 or greater", + "summary": "Password policies are, in part, used to enforce password complexity requirements. IAM password policies can be used to ensure password are at least a given length. It is recommended that the password policy require a minimum password length 14.", + "applicable": true + }, + { + "ref": "1.9", + "title": "Ensure IAM password policy prevents password reuse", + "summary": "IAM password policies can prevent the reuse of a given password by the same user. It is recommended that the password policy prevent the reuse of passwords.", + "applicable": true + }, + { + "ref": "1.10", + "title": "Ensure multi-factor authentication (MFA) is enabled for all IAM users that have a console password", + "summary": "Multi-Factor Authentication (MFA) adds an extra layer of authentication assurance beyond traditional credentials. With MFA enabled, when a user signs in to the AWS Console, they will be prompted for their user name and password as well as for an authentication code from their physical or virtual MFA token. It is recommended that MFA be enabled for all accounts that have a console password.", + "applicable": true + }, + { + "ref": "1.11", + "title": "Do not setup access keys during initial user setup for all IAM users that have a console password", + "summary": "AWS console defaults to no check boxes selected when creating a new IAM user. When creating the IAM User credentials you have to determine what type of access they require. Programmatic access: The IAM user might need to make API calls, use the AWS CLI, or use the Tools for Windows PowerShell. In that case, create an access key (access key ID and a secret access key) for that user. AWS Management Console access: If the user needs to access the AWS Management Console, create a password for the user.", + "applicable": true + }, + { + "ref": "1.12", + "title": "Ensure credentials unused for 45 days or greater are disabled", + "summary": "AWS IAM users can access AWS resources using different types of credentials, such as passwords or access keys. It is recommended that all credentials that have been unused in 45 or greater days be deactivated or removed.", + "applicable": true + }, + { + "ref": "1.13", + "title": "Ensure there is only one active access key available for any single IAM user", + "summary": "Access keys are long-term credentials for an IAM user or the AWS account 'root' user. You can use access keys to sign programmatic requests to the AWS CLI or AWS API (directly or using the AWS SDK)", + "applicable": true + }, + { + "ref": "1.14", + "title": "Ensure access keys are rotated every 90 days or less", + "summary": "Access keys consist of an access key ID and secret access key, which are used to sign programmatic requests that you make to AWS. AWS users need their own access keys to make programmatic calls to AWS from the AWS Command Line Interface (AWS CLI), Tools for Windows PowerShell, the AWS SDKs, or direct HTTP calls using the APIs for individual AWS services. It is recommended that all access keys be regularly rotated.", + "applicable": true + }, + { + "ref": "1.15", + "title": "Ensure IAM Users Receive Permissions Only Through Groups", + "summary": "IAM users are granted access to services, functions, and data through IAM policies. There are four ways to define policies for a user: 1) Edit the user policy directly, aka an inline, or user, policy; 2) attach a policy directly to a user; 3) add the user to an IAM group that has an attached policy; 4) add the user to an IAM group that has an inline policy. Only the third implementation is recommended.", + "applicable": true + }, + { + "ref": "1.16", + "title": "Ensure IAM policies that allow full \"*:*\" administrative privileges are not attached", + "summary": "IAM policies are the means by which privileges are granted to users, groups, or roles. It is recommended and considered a standard security advice to grant least privilege -that is, granting only the permissions required to perform a task. Determine what users need to do and then craft policies for them that let the users perform only those tasks, instead of allowing full administrative privileges.", + "applicable": true + }, + { + "ref": "1.17", + "title": "Ensure a support role has been created to manage incidents with AWS Support", + "summary": "AWS provides a support center that can be used for incident notification and response, as well as technical support and customer services. Create an IAM Role, with the appropriate policy assigned, to allow authorized users to manage incidents with AWS Support.", + "applicable": true + }, + { + "ref": "1.18", + "title": "Ensure IAM instance roles are used for AWS resource access from instances", + "summary": "AWS access from within AWS instances can be done by either encoding AWS keys into AWS API calls or by assigning the instance to a role which has an appropriate permissions policy for the required access. \"AWS Access\" means accessing the APIs of AWS in order to access AWS resources or manage AWS account resources.", + "applicable": true + }, + { + "ref": "1.19", + "title": "Ensure that all the expired SSL/TLS certificates stored in AWS IAM are removed", + "summary": "To enable HTTPS connections to your website or application in AWS, you need an SSL/TLS server certificate. You can use ACM or IAM to store and deploy server certificates. Use IAM as a certificate manager only when you must support HTTPS connections in a region that is not supported by ACM. IAM securely encrypts your private keys and stores the encrypted version in IAM SSL certificate storage. IAM supports deploying server certificates in all regions, but you must obtain your certificate from an external provider for use with AWS. You cannot upload an ACM certificate to IAM. Additionally, you cannot manage your certificates from the IAM Console.", + "applicable": true + }, + { + "ref": "1.20", + "title": "Ensure that IAM Access analyzer is enabled for all regions", + "summary": "Enable IAM Access analyzer for IAM policies about all resources in each active AWS region. IAM Access Analyzer is a technology introduced at AWS reinvent 2019. After the Analyzer is enabled in IAM, scan results are displayed on the console showing the accessible resources. Scans show resources that other accounts and federated users can access, such as KMS keys and IAM roles. So the results allow you to determine if an unintended user is allowed, making it easier for administrators to monitor least privileges access. Access Analyzer analyzes only policies that are applied to resources in the same AWS Region.", + "applicable": true + }, + { + "ref": "1.21", + "title": "Ensure IAM users are managed centrally via identity federation or AWS Organizations for multi-account environments", + "summary": "In multi-account environments, IAM user centralization facilitates greater user control. User access beyond the initial account is then provided via role assumption. Centralization of users can be accomplished through federation with an external identity provider or through the use of AWS Organizations.", + "applicable": true + }, + { + "ref": "1.22", + "title": "Ensure access to AWSCloudShellFullAccess is restricted", + "summary": "AWS CloudShell is a convenient way of running CLI commands against AWS services; a managed IAM policy ('AWSCloudShellFullAccess') provides full access to CloudShell, which allows file upload and download capability between a user's local system and the CloudShell environment. Within the CloudShell environment a user has sudo permissions, and can access the internet. So it is feasible to install file transfer software (for example) and move data from CloudShell to external internet servers.", + "applicable": true + } + ] + }, + { + "title": "Storage", + "requirements": [ + { + "ref": "2.1.1", + "title": "Ensure S3 Bucket Policy is set to deny HTTP requests", + "summary": "At the Amazon S3 bucket level, you can configure permissions through a bucket policy making the objects accessible only through HTTPS.", + "applicable": true + }, + { + "ref": "2.1.2", + "title": "Ensure MFA Delete is enabled on S3 buckets", + "summary": "Once MFA Delete is enabled on your sensitive and classified S3 bucket it requires the user to have two forms of authentication.", + "applicable": true + }, + { + "ref": "2.1.3", + "title": "Ensure all data in Amazon S3 has been discovered, classified and secured when required.", + "summary": "Amazon S3 buckets can contain sensitive data, that for security purposes should be discovered, monitored, classified and protected. Macie along with other 3rd party tools can automatically provide an inventory of Amazon S3 buckets.", + "applicable": true + }, + { + "ref": "2.1.4", + "title": "Ensure that S3 Buckets are configured with 'Block public access (bucket settings)'", + "summary": "Amazon S3 provides Block public access (bucket settings) and Block public access (account settings) to help you manage public access to Amazon S3 resources. By default, S3 buckets and objects are created with public access disabled. However, an IAM principal with sufficient S3 permissions can enable public access at the bucket and/or object level. While enabled, Block public access (bucket settings) prevents an individual bucket, and its contained objects, from becoming publicly accessible. Similarly, Block public access (account settings) prevents all buckets, and contained objects, from becoming publicly accessible across the entire account.", + "applicable": true + }, + { + "ref": "2.2.1", + "title": "Ensure EBS Volume Encryption is Enabled in all Regions", + "summary": "Elastic Compute Cloud (EC2) supports encryption at rest when using the Elastic Block Store (EBS) service. While disabled by default, forcing encryption at EBS volume creation is supported.", + "applicable": true + }, + { + "ref": "2.3.1", + "title": "Ensure that encryption-at-rest is enabled for RDS Instances", + "summary": "Amazon RDS encrypted DB instances use the industry standard AES-256 encryption algorithm to encrypt your data on the server that hosts your Amazon RDS DB instances. After your data is encrypted, Amazon RDS handles authentication of access and decryption of your data transparently with a minimal impact on performance.", + "applicable": true + }, + { + "ref": "2.3.2", + "title": "Ensure Auto Minor Version Upgrade feature is Enabled for RDS Instances", + "summary": "Ensure that RDS database instances have the Auto Minor Version Upgrade flag enabled in order to receive automatically minor engine upgrades during the specified maintenance window. So, RDS instances can get the new features, bug fixes, and security patches for their database engines.", + "applicable": true + }, + { + "ref": "2.3.3", + "title": "Ensure that public access is not given to RDS Instance", + "summary": "Ensure and verify that RDS database instances provisioned in your AWS account do restrict unauthorized access in order to minimize security risks. To restrict access to any publicly accessible RDS database instance, you must disable the database Publicly Accessible flag and update the VPC security group associated with the instance.", + "applicable": true + }, + { + "ref": "2.4.1", + "title": "Ensure that encryption is enabled for EFS file systems", + "summary": "EFS data should be encrypted at rest using AWS KMS (Key Management Service).", + "applicable": true + } + ] + }, + { + "title": "Logging", + "requirements": [ + { + "ref": "3.1", + "title": "Ensure CloudTrail is enabled in all regions", + "summary": "AWS CloudTrail is a web service that records AWS API calls for your account and delivers log files to you. The recorded information includes the identity of the API caller, the time of the API call, the source IP address of the API caller, the request parameters, and the response elements returned by the AWS service. CloudTrail provides a history of AWS API calls for an account, including API calls made via the Management Console, SDKs, command line tools, and higher-level AWS services (such as CloudFormation).", + "applicable": true + }, + { + "ref": "3.2", + "title": "Ensure CloudTrail log file validation is enabled", + "summary": "CloudTrail log file validation creates a digitally signed digest file containing a hash of each log that CloudTrail writes to S3. These digest files can be used to determine whether a log file was changed, deleted, or unchanged after CloudTrail delivered the log. It is recommended that file validation be enabled on all CloudTrails.", + "applicable": true + }, + { + "ref": "3.3", + "title": "Ensure the S3 bucket used to store CloudTrail logs is not publicly accessible", + "summary": "CloudTrail logs a record of every API call made in your AWS account. These logs file are stored in an S3 bucket. It is recommended that the bucket policy or access control list (ACL) applied to the S3 bucket that CloudTrail logs to prevent public access to the CloudTrail logs.", + "applicable": true + }, + { + "ref": "3.4", + "title": "Ensure CloudTrail trails are integrated with CloudWatch Logs", + "summary": "AWS CloudTrail is a web service that records AWS API calls made in a given AWS account. The recorded information includes the identity of the API caller, the time of the API call, the source IP address of the API caller, the request parameters, and the response elements returned by the AWS service. CloudTrail uses Amazon S3 for log file storage and delivery, so log files are stored durably. In addition to capturing CloudTrail logs within a specified S3 bucket for long term analysis, real time analysis can be performed by configuring CloudTrail to send logs to CloudWatch Logs. For a trail that is enabled in all regions in an account, CloudTrail sends log files from all those regions to a CloudWatch Logs log group. It is recommended that CloudTrail logs be sent to CloudWatch Logs. Note: The intent of this recommendation is to ensure AWS account activity is being captured, monitored, and appropriately alarmed on. CloudWatch Logs is a native way to accomplish this using AWS services but does not preclude the use of an alternate solution.", + "applicable": true + }, + { + "ref": "3.5", + "title": "Ensure AWS Config is enabled in all regions", + "summary": "AWS Config is a web service that performs configuration management of supported AWS resources within your account and delivers log files to you. The recorded information includes the configuration item (AWS resource), relationships between configuration items (AWS resources), any configuration changes between resources. It is recommended AWS Config be enabled in all regions.", + "applicable": true + }, + { + "ref": "3.6", + "title": "Ensure S3 bucket access logging is enabled on the CloudTrail S3 bucket", + "summary": "S3 Bucket Access Logging generates a log that contains access records for each request made to your S3 bucket. An access log record contains details about the request, such as the request type, the resources specified in the request worked, and the time and date the request was processed. It is recommended that bucket access logging be enabled on the CloudTrail S3 bucket.", + "applicable": true + }, + { + "ref": "3.7", + "title": "Ensure CloudTrail logs are encrypted at rest using KMS CMKs", + "summary": "AWS CloudTrail is a web service that records AWS API calls for an account and makes those logs available to users and resources in accordance with IAM policies. AWS Key Management Service (KMS) is a managed service that helps create and control the encryption keys used to encrypt account data, and uses Hardware Security Modules (HSMs) to protect the security of encryption keys. CloudTrail logs can be configured to leverage server side encryption (SSE) and KMS customer created master keys (CMK) to further protect CloudTrail logs. It is recommended that CloudTrail be configured to use SSE-KMS.", + "applicable": true + }, + { + "ref": "3.8", + "title": "Ensure rotation for customer created symmetric CMKs is enabled", + "summary": "AWS Key Management Service (KMS) allows customers to rotate the backing key which is key material stored within the KMS which is tied to the key ID of the Customer Created customer master key (CMK). It is the backing key that is used to perform cryptographic operations such as encryption and decryption. Automated key rotation currently retains all prior backing keys so that decryption of encrypted data can take place transparently. It is recommended that CMK key rotation be enabled for symmetric keys. Key rotation can not be enabled for any asymmetric CMK.", + "applicable": true + }, + { + "ref": "3.9", + "title": "Ensure VPC flow logging is enabled in all VPCs", + "summary": "VPC Flow Logs is a feature that enables you to capture information about the IP traffic going to and from network interfaces in your VPC. After you've created a flow log, you can view and retrieve its data in Amazon CloudWatch Logs. It is recommended that VPC Flow Logs be enabled for packet \"Rejects\" for VPCs.", + "applicable": true + }, + { + "ref": "3.10", + "title": "Ensure that Object-level logging for write events is enabled for S3 bucket", + "summary": "S3 object-level API operations such as GetObject, DeleteObject, and PutObject are called data events. By default, CloudTrail trails don't log data events and so it is recommended to enable Object-level logging for S3 buckets.", + "applicable": true + }, + { + "ref": "3.11", + "title": "Ensure that Object-level logging for read events is enabled for S3 bucket", + "summary": "S3 object-level API operations such as GetObject, DeleteObject, and PutObject are called data events. By default, CloudTrail trails don't log data events and so it is recommended to enable Object-level logging for S3 buckets.", + "applicable": true + } + ] + }, + { + "title": "Monitoring", + "requirements": [ + { + "ref": "4.1", + "title": "Ensure unauthorized API calls are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. It is recommended that a metric filter and alarm be established for unauthorized API calls.", + "applicable": true + }, + { + "ref": "4.2", + "title": "Ensure management console sign-in without MFA is monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. It is recommended that a metric filter and alarm be established for console logins that are not protected by multi-factor authentication (MFA).", + "applicable": true + }, + { + "ref": "4.3", + "title": "Ensure usage of 'root' account is monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. It is recommended that a metric filter and alarm be established for 'root' login attempts to detect the unauthorized use, or attempts to use the root account.", + "applicable": true + }, + { + "ref": "4.4", + "title": "Ensure IAM policy changes are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. It is recommended that a metric filter and alarm be established changes made to Identity and Access Management (IAM) policies.", + "applicable": true + }, + { + "ref": "4.5", + "title": "Ensure CloudTrail configuration changes are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, where metric filters and alarms can be established. It is recommended that a metric filter and alarm be utilized for detecting changes to CloudTrail's configurations.", + "applicable": true + }, + { + "ref": "4.6", + "title": "Ensure AWS Management Console authentication failures are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. It is recommended that a metric filter and alarm be established for failed console authentication attempts.", + "applicable": true + }, + { + "ref": "4.7", + "title": "Ensure disabling or scheduled deletion of customer created CMKs is monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. It is recommended that a metric filter and alarm be established for customer created CMKs which have changed state to disabled or scheduled deletion.", + "applicable": true + }, + { + "ref": "4.8", + "title": "Ensure S3 bucket policy changes are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. It is recommended that a metric filter and alarm be established for changes to S3 bucket policies.", + "applicable": true + }, + { + "ref": "4.9", + "title": "Ensure AWS Config configuration changes are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. It is recommended that a metric filter and alarm be established for detecting changes to AWS Config's configurations.", + "applicable": true + }, + { + "ref": "4.10", + "title": "Ensure security group changes are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. Security Groups are a stateful packet filter that controls ingress and egress traffic within a VPC. It is recommended that a metric filter and alarm be established for detecting changes to Security Groups.", + "applicable": true + }, + { + "ref": "4.11", + "title": "Ensure Network Access Control Lists (NACL) changes are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. NACLs are used as a stateless packet filter to control ingress and egress traffic for subnets within a VPC. It is recommended that a metric filter and alarm be established for changes made to NACLs.", + "applicable": true + }, + { + "ref": "4.12", + "title": "Ensure changes to network gateways are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. Network gateways are required to send/receive traffic to a destination outside of a VPC. It is recommended that a metric filter and alarm be established for changes to network gateways.", + "applicable": true + }, + { + "ref": "4.13", + "title": "Ensure route table changes are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. Routing tables are used to route network traffic between subnets and to network gateways. It is recommended that a metric filter and alarm be established for changes to route tables.", + "applicable": true + }, + { + "ref": "4.14", + "title": "Ensure VPC changes are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, or an external Security information and event management (SIEM) environment, and establishing corresponding metric filters and alarms. It is possible to have more than 1 VPC within an account, in addition it is also possible to create a peer connection between 2 VPCs enabling network traffic to route between VPCs. It is recommended that a metric filter and alarm be established for changes made to VPCs.", + "applicable": true + }, + { + "ref": "4.15", + "title": "Ensure AWS Organizations changes are monitored", + "summary": "Real-time monitoring of API calls can be achieved by directing CloudTrail Logs to CloudWatch Logs, and establishing corresponding metric filters and alarms. It is recommended that a metric filter and alarm be established for AWS Organizations changes made in the master AWS Account.", + "applicable": true + }, + { + "ref": "4.16", + "title": "Ensure AWS Security Hub is enabled", + "summary": "Security Hub collects security data from across AWS accounts, services, and supported third-party partner products and helps you analyze your security trends and identify the highest priority security issues. When you enable Security Hub, it begins to consume, aggregate, organize, and prioritize findings from AWS services that you have enabled, such as Amazon GuardDuty, Amazon Inspector, and Amazon Macie. You can also enable integrations with AWS partner security products.", + "applicable": true + } + ] + }, + { + "title": "Networking", + "requirements": [ + { + "ref": "5.1", + "title": "Ensure no Network ACLs allow ingress from 0.0.0.0/0 to remote server administration ports", + "summary": "The Network Access Control List (NACL) function provide stateless filtering of ingress and egress network traffic to AWS resources. It is recommended that no NACL allows unrestricted ingress access to remote server administration ports, such as SSH to port 22 and RDP to port 3389, using either the TDP (6), UDP (17) or ALL (-1) protocols", + "applicable": true + }, + { + "ref": "5.2", + "title": "Ensure no security groups allow ingress from 0.0.0.0/0 to remote server administration ports", + "summary": "Security groups provide stateful filtering of ingress and egress network traffic to AWS resources. It is recommended that no security group allows unrestricted ingress access to remote server administration ports, such as SSH to port 22 and RDP to port 3389, using either the TDP (6), UDP (17) or ALL (-1) protocols", + "applicable": true + }, + { + "ref": "5.3", + "title": "Ensure no security groups allow ingress from ::/0 to remote server administration ports", + "summary": "Security groups provide stateful filtering of ingress and egress network traffic to AWS resources. It is recommended that no security group allows unrestricted ingress access to remote server administration ports, such as SSH to port 22 and RDP to port 3389.", + "applicable": true + }, + { + "ref": "5.4", + "title": "Ensure the default security group of every VPC restricts all traffic", + "summary": "A VPC comes with a default security group whose initial settings deny all inbound traffic, allow all outbound traffic, and allow all traffic between instances assigned to the security group. If you don't specify a security group when you launch an instance, the instance is automatically assigned to this default security group. Security groups provide stateful filtering of ingress/egress network traffic to AWS resources. It is recommended that the default security group restrict all traffic. The default VPC in every region should have its default security group updated to comply. Any newly created VPCs will automatically contain a default security group that will need remediation to comply with this recommendation. NOTE: When implementing this recommendation, VPC flow logging is invaluable in determining the least privilege port access required by systems to work properly because it can log all packet acceptances and rejections occurring under the current security groups. This dramatically reduces the primary barrier to least privilege engineering - discovering the minimum ports required by systems in the environment. Even if the VPC flow logging recommendation in this benchmark is not adopted as a permanent security measure, it should be used during any period of discovery and engineering for least privileged security groups.", + "applicable": true + }, + { + "ref": "5.5", + "title": "Ensure routing tables for VPC peering are \"least access\"", + "summary": "Once a VPC peering connection is established, routing tables must be updated to establish any connections between the peered VPCs. These routes can be as specific as desired - even peering a VPC to only a single host on the other side of the connection.", + "applicable": true + }, + { + "ref": "5.6", + "title": "Ensure that EC2 Metadata Service only allows IMDSv2", + "summary": "When enabling the Metadata Service on AWS EC2 instances, users have the option of using either Instance Metadata Service Version 1 (IMDSv1; a request/response method) or Instance Metadata Service Version 2 (IMDSv2; a session-oriented method).", + "applicable": true + } + ] + } + ] +} \ No newline at end of file