How to generate security findings to help your security team with incident response simulations
Continually reviewing your organization’s incident response capabilities can be challenging without a mechanism to create security findings with actual Amazon Web Services (AWS) resources within your AWS estate. As prescribed within the AWS Security Incident Response whitepaper, it’s important to periodically review your incident response capabilities to make sure your security team is continually maturing internal processes and assessing capabilities within AWS. Generating sample security findings is useful to understand the finding format so you can enrich the finding with additional metadata or create and prioritize detections within your security information event management (SIEM) solution. However, if you want to conduct an end-to-end incident response simulation, including the creation of real detections, sample findings might not create actionable detections that will start your incident response process because of alerting suppressions you might have configured, or imaginary metadata (such as synthetic Amazon Elastic Compute Cloud (Amazon EC2) instance IDs), which might confuse your remediation tooling.
<p>In this post, we walk through how to deploy a solution that provisions resources to generate simulated security findings for actual provisioned resources within your AWS account. Generating simulated security findings in your AWS account gives your security team an opportunity to validate their cyber capabilities, investigation workflow and playbooks, escalation paths across teams, and exercise any response automation currently in place.</p>
<blockquote>
<p><strong>Important:</strong> It’s strongly recommended that the solution be deployed in an isolated AWS account with no additional workloads or sensitive data. No resources deployed within the solution should be used for any purpose outside of generating the security findings for incident response simulations. Although the security findings are non-destructive to existing resources, they should still be done in isolation. For any AWS solution deployed within your AWS environment, your security team should review the resources and configurations within the code.</p>
</blockquote>
<h2>Conducting incident response simulations</h2>
<p>Before deploying the solution, it’s important that you know what your goal is and what <a href="https://docs.aws.amazon.com/whitepapers/latest/aws-security-incident-response-guide/types-of-simulations.html" target="_blank" rel="noopener">type of simulation</a> to conduct. If you’re primarily curious about the format that active <a href="https://aws.amazon.com/guardduty" target="_blank" rel="noopener">Amazon GuardDuty</a> findings will create, you should generate <a href="https://docs.aws.amazon.com/guardduty/latest/ug/sample_findings.html" target="_blank" rel="noopener">sample findings with GuardDuty</a>. At the time of this writing, <a href="https://aws.amazon.com/inspector/" target="_blank" rel="noopener">Amazon Inspector</a> doesn’t currently generate sample findings.</p>
<p>If you want to validate your incident response playbooks, make sure you have playbooks for the security findings the solution generates. If those playbooks don’t exist, it might be a good idea to start with a high-level tabletop exercise to identify which playbooks you need to create.</p>
<p>Because you’re running this sample in an AWS account with no workloads, it’s recommended to run the sample solution as a <a href="https://docs.aws.amazon.com/whitepapers/latest/aws-security-incident-response-guide/types-of-simulations.html" target="_blank" rel="noopener">purple team exercise</a>. Purple team exercises should be periodically run to support training for new analysts, validate existing playbooks, and identify areas of improvement to reduce the <a href="https://docs.aws.amazon.com/whitepapers/latest/aws-security-incident-response-guide/mean-time-to-respond.html" target="_blank" rel="noopener">mean time to respond</a> or identify areas where processes can be optimized with automation.</p>
<p>Now that you have a good understanding of the different simulation types, you can create security findings in an isolated AWS account.</p>
<h2>Prerequisites</h2>
<ol>
<li>[Recommended] A separate AWS account containing no customer data or running workloads</li>
<li><a href="https://aws.amazon.com/guardduty/" target="_blank" rel="noopener">GuardDuty</a>, along with GuardDuty <a href="https://docs.aws.amazon.com/guardduty/latest/ug/kubernetes-protection.html" target="_blank" rel="noopener">Kubernetes Protection</a></li>
<li><a href="https://aws.amazon.com/inspector/" target="_blank" rel="noopener">Amazon Inspector</a> must be enabled</li>
<li>[Optional] <a href="https://aws.amazon.com/security-hub/" target="_blank" rel="noopener">AWS Security Hub</a> can be enabled to show a consolidated view of security findings generated by GuardDuty and Inspector</li>
</ol>
<h2>Solution architecture</h2>
<p>The architecture of the solution can be found in Figure 1.</p>
<div id="attachment_33785" class="wp-caption aligncenter">
<img aria-describedby="caption-attachment-33785" src="https://infracom.com.sg/wp-content/uploads/2024/04/img1-8.png" alt="Figure 1: Sample solution architecture diagram" width="780" class="size-full wp-image-33785">
<p id="caption-attachment-33785" class="wp-caption-text">Figure 1: Sample solution architecture diagram</p>
</div>
<ol>
<li>A user specifies the type of security findings to generate by passing an <a href="https://aws.amazon.com/cloudformation" target="_blank" rel="noopener">AWS CloudFormation</a> parameter.</li>
<li>An <a href="https://aws.amazon.com/sns" target="_blank" rel="noopener">Amazon Simple Notification Service (Amazon SNS)</a> topic is created to subscribe to findings for notifications. Subscribed users are notified of the finding through the deployed SNS topic.</li>
<li>Upon user selection of the CloudFormation parameter, <a href="https://aws.amazon.com/ec2" target="_blank" rel="noopener">EC2</a> instances are provisioned to run commands to generate security findings.<br><blockquote>
<p><strong>Note</strong>: If the parameter <span>inspector</span> is provided during deployment, then only one EC2 instance is deployed. If the parameter <span>guardduty</span> is provided during deployment, then two EC2 instances are deployed.</p>
</blockquote> </li>
<li>For Amazon Inspector findings:
<ol>
<li>The Amazon EC2 user data creates a .txt file with vulnerable images, pulls down Docker images from <a href="https://github.com/vulhub/vulhub" target="_blank" rel="noopener">open source vulhub</a>, and creates an <a href="https://aws.amazon.com/ecr" target="_blank" rel="noopener">Amazon Elastic Container Registry (Amazon ECR)</a> repository with the vulnerable images.</li>
<li>The EC2 user data pushes and tags the images in the ECR repository which results in Amazon Inspector findings being generated.</li>
<li>An <a href="https://aws.amazon.com/eventbridge" target="_blank" rel="noopener">Amazon EventBridge</a> cron-style trigger rule, <span>inspector_remediation_ecr</span>, invokes an <a href="https://aws.amazon.com/lambda" target="_blank" rel="noopener">AWS Lambda</a> function.</li>
<li>The Lambda function, <span>ecr_cleanup_function</span>, cleans up the vulnerable images in the deployed Amazon ECR repository based on applied tags and sends a notification to the Amazon SNS topic.<br><blockquote>
<p><strong>Note</strong>: The <span>ecr_cleanup_function</span> Lambda function is also invoked as a custom resource to clean up vulnerable images during deployment. If there are issues with cleanup, the EventBridge rule continually attempts to clean up vulnerable images.</p>
</blockquote> </li>
</ol> </li>
<li>For GuardDuty, the following actions are taken and resources are deployed:
<ol>
<li>An <a href="https://aws.amazon.com/iam" target="_blank" rel="noopener">AWS Identity and Access Management (IAM)</a> user named guardduty-demo-user is created with an IAM access key that is INACTIVE.</li>
<li>An <a href="https://aws.amazon.com/systems-manager/" target="_blank" rel="noopener">AWS Systems Manager</a> parameter stores the IAM access key for guardduty-demo-user.</li>
<li>An <a href="https://aws.amazon.com/secrets-manager/" target="_blank" rel="noopener">AWS Secrets Manager</a> secret stores the inactive IAM secret access key for guardduty-demo-user.</li>
<li>An <a href="https://aws.amazon.com/dynamodb/" target="_blank" rel="noopener">Amazon DynamoDB</a> table is created, and the table name is stored in a Systems Manager parameter to be referenced within the EC2 user data.</li>
<li>An <a href="https://aws.amazon.com/s3" target="_blank" rel="noopener">Amazon Simple Storage Service (Amazon S3)</a> bucket is created, and the bucket name is stored in a Systems Manager parameter to be referenced within the EC2 user data.</li>
<li>A Lambda function adds a threat list to GuardDuty that includes the IP addresses of the EC2 instances deployed as part of the sample.</li>
<li>EC2 user data generates GuardDuty findings for the following:
<ol>
<li><a href="https://aws.amazon.com/eks" target="_blank" rel="noopener">Amazon Elastic Kubernetes Service (Amazon EKS)</a>
<ol>
<li>Installs eksctl from <a href="https://github.com/aws-samples/generate-aws-security-services-findings/blob/1154e13da86c8e524b4fb21c6053a621f2238832/source/user-data/guardduty-user-data.sh#L11" target="_blank" rel="noopener">GitHub</a>.</li>
<li>Creates an EC2 key pair.</li>
<li>Creates an EKS cluster (dependent on <a href="https://docs.aws.amazon.com/eks/latest/userguide/troubleshooting.html#ICE" target="_blank" rel="noopener">availability zone capacity</a>).</li>
<li>Updates EKS cluster configuration to make a dashboard public.</li>
</ol> </li>
<li>DynamoDB
<ol>
<li>Adds an item to the DynamoDB table for <strong>Joshua Tree</strong>.</li>
</ol> </li>
<li>EC2
<ol>
<li>Creates an <a href="https://aws.amazon.com/cloudtrail" target="_blank" rel="noopener">AWS CloudTrail</a> trail named <span>guardduty-demo-trail-</span> and subsequently deletes the same CloudTrail trail. The <span></span> is randomly generated by using the <a href="https://tldp.org/LDP/abs/html/randomvar.html" target="_blank" rel="noopener">$RANDOM</a> function</li>
<li>Runs <span>portscan</span> on 172.31.37.171 (an RFC 1918 private IP address) and private IP of the EKS Deployment EC2 instance provisioned as part of the sample. Port scans are primarily used by bad actors to search for potential vulnerabilities. The target of the port scans are internal IP addresses and do not leave the sample VPC deployed.</li>
<li>Curls DNS domains that are labeled for bitcoin, command and control, and other domains associated with known threats.</li>
</ol> </li>
<li>Amazon S3
<ol>
<li>Disables Block Public Access and server access logging for the S3 bucket provisioned as part of the solution.</li>
</ol> </li>
<li>IAM
<ol>
<li>Deletes the existing account password policy and creates a new password policy with a minimum length of six characters.</li>
</ol> </li>
</ol> </li>
</ol> </li>
<li>The following <a href="https://aws.amazon.com/eventbridge" target="_blank" rel="noopener">Amazon EventBridge</a> rules are created:
<ol>
<li><span>guardduty_remediation_eks_rule</span> – When a GuardDuty finding for EKS is created, a Lambda function attempts to delete the EKS resources. Subscribed users are notified of the finding through the deployed SNS topic.</li>
<li><span>guardduty_remediation_credexfil_rule</span> – When a GuardDuty finding for <span>InstanceCredentialExfiltration</span> is created, a Lambda function is used to <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_revoke-sessions.html" target="_blank" rel="noopener">revoke the IAM role’s temporary security credentials</a> and AWS permissions. Subscribed users are notified of the finding through the deployed SNS topic.</li>
<li><span>guardduty_respond_IAMUser_rule</span> – When a GuardDuty finding for IAM is created, subscribed users are notified through the deployed SNS topic. There is no remediation activity triggered by this rule.</li>
<li><span>Guardduty_notify_S3_rule</span> – When a GuardDuty finding for Amazon S3 is created, subscribed users are notified through the deployed Amazon SNS topic. This rule doesn’t invoke any remediation activity.</li>
</ol> </li>
<li>The following Lambda functions are created:
<ol>
<li><span>guardduty_iam_remediation_function</span> – This function revokes active sessions and sends a notification to the SNS topic.</li>
<li><span>eks_cleanup_function</span> – This function deletes the EKS resources in the EKS CloudFormation template.<br><blockquote>
<p><strong>Note</strong>: Upon attempts to delete the overall sample CloudFormation stack, this runs to delete the EKS CloudFormation template.</p>
</blockquote> </li>
</ol> </li>
<li>An S3 bucket stores EC2 user data scripts run from the EC2 instances</li>
</ol>
<h2>Solution deployment</h2>
<p>You can deploy the <strong>SecurityFindingGeneratorStack</strong> solution by using either the <a href="https://aws.amazon.com/console/" target="_blank" rel="noopener">AWS Management Console</a> or the <a href="https://aws.amazon.com/cdk/" target="_blank" rel="noopener">AWS Cloud Development Kit (AWS CDK)</a>.</p>
<h3>Option 1: Deploy the solution with AWS CloudFormation using the console</h3>
<p>Use the console to sign in to your chosen AWS account and then choose the <strong>Launch Stack</strong> button to open the <a href="https://aws.amazon.com/cloudformation" target="_blank" rel="noopener">AWS CloudFormation</a> console pre-loaded with the template for this solution. It takes approximately 10 minutes for the CloudFormation stack to complete.</p>
<p><a href="https://awsiammedia.s3.amazonaws.com/public/sample/1426-generate-security-services-findings/security_finding_generator.yaml" rel="noopener noreferrer" target="_blank"><img loading="lazy" src="https://d2908q01vomqb2.cloudfront.net/22d200f8670dbdb3e253a90eee5098477c95c23d/2019/06/05/launch-stack-button.png" alt="Launch Stack" width="190" height="36" class="aligncenter size-full wp-image-10149"></a></p>
<h3>Option 2: Deploy the solution by using the AWS CDK</h3>
<p>You can find the latest code for the SecurityFindingGeneratorStack solution in the <a href="https://github.com/aws-samples/generate-aws-security-services-findings" target="_blank" rel="noopener">SecurityFindingGeneratorStack GitHub repository</a>, where you can also contribute to the sample code. For instructions and more information on using the <a href="https://aws.amazon.com/cdk" target="_blank" rel="noopener">AWS Cloud Development Kit (AWS CDK)</a>, see <a href="https://aws.amazon.com/getting-started/guides/setup-cdk/" target="_blank" rel="noopener">Get Started with AWS CDK</a>.</p>
<h4>To deploy the solution by using the AWS CDK</h4>
<ol>
<li>To build the app when navigating to the project’s root folder, use the following commands:
<div class="hide-language">
<pre class="unlimited-height-code"><code class="lang-text">npm install -g aws-cdk-lib
npm install
<li>Run the following command in your terminal while authenticated in your separate deployment AWS account to bootstrap your environment. Be sure to replace <span></span> with your account number and replace <span></span> with the AWS Region that you want the solution deployed to.
<div class="hide-language">
<pre class="unlimited-height-code"><code>cdk bootstrap aws:///</code></pre>
</div> </li>
<li>Deploy the stack to generate findings based on a specific parameter that is passed. The following parameters are available:
<ol>
<li>inspector</li>
<li>guardduty</li>
</ol>
<div class="hide-language">
<pre class="unlimited-height-code"><code>cdk deploy SecurityFindingGeneratorStack –parameters securityserviceuserdata=inspector</code></pre>
</div> </li>
<h2>Reviewing security findings</h2>
After the solution successfully deploys, security findings should start appearing in your AWS account’s GuardDuty console within a couple of minutes.</p>
<h3>Amazon GuardDuty findings</h3>
<p>In order to create a diverse set of GuardDuty findings, the solution uses Amazon EC2 <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/user-data.html" target="_blank" rel="noopener">user data</a> to run scripts. Those scripts can be found in the <a href="https://github.com/aws-samples/generate-aws-security-services-findings/tree/main/source/user-data" target="_blank" rel="noopener">sample repository</a>. You can also review and change scripts as needed to fit your use case or to remove specific actions if you don’t want specific resources to be altered or security findings to be generated.</p>
<p>A comprehensive list of active GuardDuty finding types and details for each finding can be found in the <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_finding-types-active.html" target="_blank" rel="noopener">Amazon GuardDuty user guide</a>. In this solution, activities which cause the following GuardDuty findings to be generated, are performed:
<p>To generate the EKS security findings, the EKS Deployment EC2 instance is running eksctl commands that deploy CloudFormation templates. If the EKS cluster doesn’t deploy, it might be because of <a href="https://docs.aws.amazon.com/eks/latest/userguide/troubleshooting.html#ICE" target="_blank" rel="noopener">capacity restraints in a specific Availability Zone</a>. If this occurs, manually delete the failed EKS CloudFormation templates.</p>
<p>If you want to create the EKS cluster and security findings manually, you can do the following:</p>
<ol>
<li>Sign in to the <a href="https://us-east-1.console.aws.amazon.com/ec2/home?region=us-east-1#Home:" target="_blank" rel="noopener">Amazon EC2</a> console.</li>
<li>Connect to the EKS Deployment EC2 instance using an IAM role that has access to start a session through <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/session-manager-to-linux.html" target="_blank" rel="noopener">Systems Manager</a>. After connecting to the <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/ssm-agent-technical-details.html#ssm-user-account" target="_blank" rel="noopener">ssm-user</a>, issue the following commands in the <a href="https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html#what-is-a-session" target="_blank" rel="noopener">Session Manager session</a>:
<ol>
<li>sudo chmod 744 /home/ec2-user/guardduty-script.sh</li>
<li>chown ec2-user /home/ec2-user/guardduty-script.sh</li>
<li>sudo /home/ec2-user/guardduty-script.sh</li>
</ol> </li>
</ol>
<p>It’s important that your security analysts have an incident response playbook. If playbooks don’t exist, you can refer to the <a href="https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_remediate.html" target="_blank" rel="noopener">GuardDuty remediation recommendations</a> or <a href="https://github.com/aws-samples/aws-incident-response-playbooks/tree/master/playbooks/Amazon%20GuardDuty%20Playbooks" target="_blank" rel="noopener">AWS sample incident response playbooks</a> to get started building playbooks.</p>
<h3>Amazon Inspector findings</h3>
<p>The findings for Amazon Inspector are generated by using the open source <a href="https://github.com/vulhub/vulhub" target="_blank" rel="noopener">Vulhub</a> collection. The open source collection has pre-built vulnerable Docker environments that pull images into Amazon ECR.</p>
<p>The Amazon Inspector findings that are created vary depending on what exists within the open source library at deployment time. The following are examples of findings you will see in the console:</p>
<ul>
<li><a href="https://access.redhat.com/security/cve/cve-2022-28347" target="_blank" rel="noopener">CVE-2022-28347 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2022-34265" target="_blank" rel="noopener">CVE-2022-34265 – django, django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2023-31047" target="_blank" rel="noopener">CVE-2023-31047 – django, django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2022-28346" target="_blank" rel="noopener">CVE-2022-28346 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2023-24816" target="_blank" rel="noopener">CVE-2023-24816 – ipython</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2021-45115" target="_blank" rel="noopener">CVE-2021-45115 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2022-23833" target="_blank" rel="noopener">CVE-2022-23833 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2021-31542" target="_blank" rel="noopener">CVE-2021-31542 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2023-4622" target="_blank" rel="noopener">CVE-2023-4622 – kernel-devel, kernel</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2023-36053" target="_blank" rel="noopener">CVE-2023-36053 – django, django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2021-45116" target="_blank" rel="noopener">CVE-2021-45116 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2023-4207" target="_blank" rel="noopener">CVE-2023-4207 – kernel-devel, kernel</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2023-24580" target="_blank" rel="noopener">CVE-2023-24580 – django, django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2022-36359" target="_blank" rel="noopener">CVE-2022-36359 – django, django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2023-4623" target="_blank" rel="noopener">CVE-2023-4623 – kernel-devel, kernel</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2021-44420" target="_blank" rel="noopener">CVE-2021-44420 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2023-4921" target="_blank" rel="noopener">CVE-2023-4921 – kernel-devel, kernel</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2022-22818" target="_blank" rel="noopener">CVE-2022-22818 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2021-45452" target="_blank" rel="noopener">CVE-2021-45452 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2021-33203" target="_blank" rel="noopener">CVE-2021-33203 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2021-32052" target="_blank" rel="noopener">CVE-2021-32052 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2021-3281" target="_blank" rel="noopener">CVE-2021-3281 – django</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2023-3772" target="_blank" rel="noopener">CVE-2023-3772 – kernel-devel, kernel</a></li>
<li><a href="https://access.redhat.com/security/cve/cve-2023-43804" target="_blank" rel="noopener">CVE-2023-43804 – urllib3</a></li>
<li><a href="https://security.snyk.io/vuln/SNYK-PYTHON-DJANGO-5880505" target="_blank" rel="noopener">IN1-PYTHON-DJANGO-5880505 – django, django</a></li>
<li><a href="https://security.snyk.io/vuln/SNYK-PYTHON-PYLINT-568073" target="_blank" rel="noopener">IN1-PYTHON-PYLINT-568073 – pylint, pylint</a></li>
<li><a href="https://security.snyk.io/vuln/SNYK-PYTHON-DJANGO-5932095" target="_blank" rel="noopener">IN1-PYTHON-DJANGO-5932095 – django, django</a></li>
<li><a href="https://security.snyk.io/vuln/SNYK-PYTHON-PYLINT-1089548" target="_blank" rel="noopener">IN1-PYTHON-PYLINT-1089548 – pylint, pylint</a></li>
<li><a href="https://security.snyk.io/vuln/SNYK-PYTHON-PYLINT-609883" target="_blank" rel="noopener">IN1-PYTHON-PYLINT-609883 – pylint, pylint</a></li>
</ul>
<p>For Amazon Inspector findings, you can refer to parts 1 and 2 of <a href="https://aws.amazon.com/blogs/mt/automate-vulnerability-management-and-remediation-in-aws-using-amazon-inspector-and-aws-systems-manager-part-1/" target="_blank" rel="noopener">Automate vulnerability management and remediation in AWS using Amazon Inspector and AWS Systems Manager</a>.</p>
<h2>Clean up</h2>
<p>If you deployed the security finding generator solution by using the <strong>Launch Stack</strong> button in the console or the CloudFormation template <span>security_finding_generator_cfn</span>, do the following to clean up:</p>
<ol>
<li>In the <a href="https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1" target="_blank" rel="noopener">CloudFormation console</a> for the account and Region where you deployed the solution, choose the <strong>SecurityFindingGeneratorStack</strong> stack.</li>
<li>Choose the option to <strong>Delete</strong> the stack.</li>
</ol>
<p>If you deployed the solution by using the AWS CDK, run the command <span>cdk destroy</span>.</p>
<blockquote>
<p><strong>Important</strong>: The solution uses eksctl to provision EKS resources, which deploys additional CloudFormation templates. There are custom resources within the solution that will attempt to delete the provisioned CloudFormation templates for EKS. If there are any issues, you should verify and manually delete the following CloudFormation templates:</p>
</blockquote>
<ul>
<li>eksctl-GuardDuty-Finding-Demo-cluster</li>
<li>eksctl-GuardDuty-Finding-Demo-addon-iamserviceaccount-kube-system-aws-node</li>
<li>eksctl-GuardDuty-Finding-Demo-nodegroup-ng-</li>
</ul>
<h2>Conclusion</h2>
<p>In this blog post, I showed you how to deploy a solution to provision resources in an AWS account to generate security findings. This solution provides a technical framework to conduct periodic simulations within your AWS environment. By having real, rather than simulated, security findings, you can enable your security teams to interact with actual resources and validate existing incident response processes. Having a repeatable mechanism to create security findings also provides your security team the opportunity to develop and test automated incident response capabilities in your AWS environment.</p>
<p>AWS has multiple services to assist with increasing your organization’s security posture. <a href="https://aws.amazon.com/security-hub/" target="_blank" rel="noopener">Security Hub</a> provides native integration with AWS security services as well as partner services. From Security Hub, you can also implement automation to respond to findings using custom actions as seen in <a href="https://aws.amazon.com/blogs/security/use-security-hub-custom-actions-to-remediate-s3-resources-based-on-macie-discovery-results/" target="_blank" rel="noopener">Use Security Hub custom actions to remediate S3 resources based on Amazon Macie discovery results</a>. In part two of a two-part series, you can learn <a href="https://aws.amazon.com/blogs/security/how-to-investigate-and-take-action-on-security-issues-in-amazon-eks-clusters-with-amazon-detective-part-2/" target="_blank" rel="noopener">how to use Amazon Detective to investigate security findings in EKS clusters</a>. <a href="https://aws.amazon.com/security-lake/" target="_blank" rel="noopener">Amazon Security Lake</a> automatically normalizes and centralizes your data from AWS services such as Security Hub, AWS CloudTrail, <a href="https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html" target="_blank" rel="noopener">VPC Flow Logs</a>, and <a href="https://aws.amazon.com/route53" target="_blank" rel="noopener">Amazon Route 53</a>, as well as <a href="https://docs.aws.amazon.com/security-lake/latest/userguide/custom-sources.html" target="_blank" rel="noopener">custom sources</a> to provide a mechanism for comprehensive analysis and visualizations. </p>
<p>If you have feedback about this post, submit comments in the Comments section below. If you have questions about this post, start a new thread on the <a href="https://repost.aws/tags/TAbM0xYgFuTsOtxRDmkvrhMA/incident-response" rel="noopener" target="_blank">Incident Response re:Post</a> or <a href="https://console.aws.amazon.com/support/home" rel="noopener" target="_blank">contact AWS Support</a>.</p>
<!-- '"` -->