Amazon GuardDuty is a machine studying (ML)-based safety monitoring and clever risk detection service that analyzes and processes varied AWS information sources, constantly screens your AWS accounts and workloads for malicious exercise, and delivers detailed safety findings for visibility and remediation.
I like the function of GuardDuty Runtime Monitoring that analyzes working system (OS)-level, community, and file occasions to detect potential runtime threats for particular AWS workloads in your surroundings. I first launched the overall availability of this function for Amazon Elastic Kubernetes Service (Amazon EKS) assets in March 2023. Seb wrote concerning the growth of the Runtime Monitoring function to supply risk detection for Amazon Elastic Container Service (Amazon ECS) and AWS Fargate in addition to the preview for Amazon Elastic Compute Cloud (Amazon EC2) workloads in Nov 2023.
In the present day, we’re saying the overall availability of Amazon GuardDuty EC2 Runtime Monitoring to develop risk detection protection for EC2 situations at runtime and complement the anomaly detection that GuardDuty already supplies by constantly monitoring VPC Stream Logs, DNS question logs, and AWS CloudTrail administration occasions. You now have visibility into on-host, OS-level actions and container-level context into detected threats.
With GuardDuty EC2 Runtime Monitoring, you’ll be able to determine and reply to potential threats which may goal the compute assets inside your EC2 workloads. Threats to EC2 workloads typically contain distant code execution that results in the obtain and execution of malware. This might embody situations or self-managed containers in your AWS surroundings which might be connecting to IP addresses related to cryptocurrency-related exercise or to malware command-and-control associated IP addresses.
GuardDuty Runtime Monitoring supplies visibility into suspicious instructions that contain malicious file downloads and execution throughout every step, which can assist you uncover threats throughout preliminary compromise and earlier than they develop into business-impacting occasions. You can too centrally allow runtime risk detection protection for accounts and workloads throughout the group utilizing AWS Organizations to simplify your safety protection.
Configure EC2 Runtime Monitoring in GuardDuty
With a number of clicks, you’ll be able to allow GuardDuty EC2 Runtime Monitoring within the GuardDuty console. On your first use, you must allow Runtime Monitoring.
Any clients which might be new to the EC2 Runtime Monitoring function can attempt it for free for 30 days and acquire entry to all options and detection findings. The GuardDuty console reveals what number of days are left within the free trial.
Now, you’ll be able to arrange the GuardDuty safety agent for the person EC2 situations for which you need to monitor the runtime habits. You’ll be able to select to deploy the GuardDuty safety agent both routinely or manually. At GA, you’ll be able to allow Automated agent configuration, which is a most popular choice for many clients because it permits GuardDuty to handle the safety agent on their behalf.
The agent shall be deployed on EC2 situations with AWS Programs Supervisor and makes use of an Amazon Digital Non-public Cloud (Amazon VPC) endpoint to obtain the runtime occasions related together with your useful resource. If you wish to handle the GuardDuty safety agent manually, go to Managing the safety agent Amazon EC2 occasion manually within the AWS documentation. In multiple-account environments, delegated GuardDuty administrator accounts handle their member accounts utilizing AWS Organizations. For extra info, go to Managing a number of accounts within the AWS documentation.
Whenever you allow EC2 Runtime Monitoring, you’ll find the lined EC2 situations checklist, account ID, and protection standing, and whether or not the agent is ready to obtain runtime occasions from the corresponding useful resource within the EC2 occasion runtime protection tab.
Even when the protection standing is Unhealthy, that means it isn’t presently capable of obtain runtime findings, you continue to have protection in depth in your EC2 occasion. GuardDuty continues to supply risk detection to the EC2 occasion by monitoring CloudTrail, VPC circulate, and DNS logs related to it.
Take a look at GuardDuty EC2 Runtime safety findings
When GuardDuty detects a possible risk and generates safety findings, you’ll be able to view the small print of the wholesome info.
Select Findings within the left pane if you wish to discover safety findings particular to Amazon EC2 assets. You should use the filter bar to filter the findings desk by particular standards, equivalent to a Useful resource sort of Occasion
. The severity and particulars of the findings differ primarily based on the useful resource position, which signifies whether or not the EC2 useful resource was the goal of suspicious exercise or the actor performing the exercise.
With immediately’s launch, we assist over 30 runtime safety findings for EC2 situations, equivalent to detecting abused domains, backdoors, cryptocurrency-related exercise, and unauthorized communications. For the complete checklist, go to Runtime Monitoring discovering sorts within the AWS documentation.
Resolve your EC2 safety findings
Select every EC2 safety discovering to know extra particulars. Yow will discover all the knowledge related to the discovering and look at the useful resource in query to find out whether it is behaving in an anticipated method.
If the exercise is allowed, you need to use suppression guidelines or trusted IP lists to forestall false optimistic notifications for that useful resource. If the exercise is sudden, the safety greatest apply is to imagine the occasion has been compromised and take the actions detailed in Remediating a probably compromised Amazon EC2 occasion within the AWS documentation.
You’ll be able to combine GuardDuty EC2 Runtime Monitoring with different AWS safety companies, equivalent to AWS Safety Hub or Amazon Detective. Or you need to use Amazon EventBridge, permitting you to make use of integrations with safety occasion administration or workflow methods, equivalent to Splunk, Jira, and ServiceNow, or set off automated and semi-automated responses equivalent to isolating a workload for investigation.
Whenever you select Examine with Detective, you’ll find Detective-created visualizations for AWS assets to rapidly and simply examine safety points. To study extra, go to Integration with Amazon Detective within the AWS documentation.
Issues to know
GuardDuty EC2 Runtime Monitoring assist is now out there for EC2 situations operating Amazon Linux 2 or Amazon Linux 2023. You might have the choice to configure most CPU and reminiscence limits for the agent. To study extra and for future updates, go to Stipulations for Amazon EC2 occasion assist within the AWS documentation.
To estimate the each day common utilization prices for GuardDuty, select Utilization within the left pane. Through the 30-day free trial interval, you’ll be able to estimate what your prices shall be after the trial interval. On the finish of the trial interval, we cost you per vCPU hours tracked month-to-month for the monitoring brokers. To study extra, go to the Amazon GuardDuty pricing web page.
Enabling EC2 Runtime Monitoring additionally permits for a cost-saving alternative in your GuardDuty value. When the function is enabled, you gained’t be charged for GuardDuty foundational safety VPC Stream Logs sourced from the EC2 situations operating the safety agent. This is because of related, however extra contextual, community information out there from the safety agent. Moreover, GuardDuty would nonetheless course of VPC Stream Logs and generate related findings so you’ll proceed to get network-level safety protection even when the agent experiences downtime.
Now out there
Amazon GuardDuty EC2 Runtime Monitoring is now out there in all AWS Areas the place GuardDuty is on the market, excluding AWS GovCloud (US) Areas and AWS China Areas. For a full checklist of Areas the place EC2 Runtime Monitoring is on the market, go to Area-specific function availability.
Give GuardDuty EC2 Runtime Monitoring a attempt within the GuardDuty console. For extra info, go to the Amazon GuardDuty Consumer Information and ship suggestions to AWS re:Submit for Amazon GuardDuty or by means of your normal AWS assist contacts.
— Channy