Stop an attack in AWS

How to detect an  
‍‍attack in AWS
Demo screenshot: Stop a Cyberattack in AWS with Vectra AI
Stop an AWS Attack!

Let's see how a SecOps analyst using Vectra can detect and respond to attackers targeting AWS.
Start The Tour
Desktop is required to access the demo.

If you can't use your laptop at the moment, here is the transcript below!

Stop an attack in AWS!

Let's see how a SecOps analyst using Vectra can detect and respond to attackers targeting AWS.

Account compromise in AWS

Start by clicking Expand All to review the prioritized Azure AD, M365, and AWS account details to understand if any accounts have been compromised and need to be remediated.

Uncover account compromise in AWS through the Vectra Platform

Click the AWS identity to investigate the compromise.

Investigate compromised accounts in AWS through the Vectra Platform

You can see that chris@corp.ai is prioritized as an active compromise with several different Vectra detections correlated to the user.

Let's investigate chris@corp.ai to understand what might be happening.

Uncover Command and Control through the Vectra Platform

You can see the user performed several actions that triggered alerts, including:

  • Enumerating EC2 instances, S3 Buckets, and user permissions
  • Reading network configurations
  • Modifying user permissions
  • Hijacking Lambda functions

Let's take a deeper look at these alerts by clicking Expand All.

Hijacking Lambda alerts in the Vectra Platform

The expanded detections reveal more details about this identity's potentially malicious activities.

AWS Lambda Hijacking

The AWS LambdaHijacking alert could indicate that an attacker has gained persistence in the environment. Let's investigate that alert first.

AWS Lambda Hijacking - Lateral Movement detection in the Vectra Platform

You can see details of the Lambda change that could have given the attacker persistence.

This detection uses AI to monitor the time series of AWS API calls and request parameters to detect the behavior related to malicious modifications to an AWS Lambda function. 

To understand more about this type of Vectra detection, click ? to review the in-app explanation page.

What is AWS Lambda Hijacking

Now that we understand how this detection works.

Let's investigate and understand

  • What API calls were made, and with what parameters?
  • What role was used?
  • From where were the changes made?

 

AWS Lambda Hijacking investigation in the Vectra Platform

Our investigation reveals that this was a malicious change that provided the attacker backdoor access to the environment.

The attacker assumed the role of lambdaManager-role, created a new Lambda function, and used the API call PutRule to create a backdoor.

 

Malicious activity through backdoor in AWS

Before we remediate, let's understand what else the attacker has been doing with their access.

Malicious activity through backdoor in AWS

Let's investigate the logs to see what else the attacker has done.

Click Instant Investigation for query-less access to the account's historical activity in AWS.

investigation to find the attacker in AWS

 

The attacker accessed several different services across multiple regions.

The attacker accessed several different services across multiple regions.

Multiple role assumptions occurred during the attack, potentially hiding the attacker's activities. Vectra correlates all role assumptions back to the user for easy investigations.

Stop the attacker in AWS 

We now have enough information to stop the attacker with the data collected by revoking the identity's access and removing the Lambda backdoor.

Stop the attacker in AWS 

Attack Stopped!

Stop an attack in AWS!

Let's see how a SecOps analyst using Vectra can detect and respond to attackers targeting AWS.

Account compromise in AWS

Start by clicking Expand All to review the prioritized Azure AD, M365, and AWS account details to understand if any accounts have been compromised and need to be remediated.

Uncover account compromise in AWS through the Vectra Platform

Click the AWS identity to investigate the compromise.

Investigate compromised accounts in AWS through the Vectra Platform

You can see that chris@corp.ai is prioritized as an active compromise with several different Vectra detections correlated to the user.

Let's investigate chris@corp.ai to understand what might be happening.

Uncover Command and Control through the Vectra Platform

You can see the user performed several actions that triggered alerts, including:

  • Enumerating EC2 instances, S3 Buckets, and user permissions
  • Reading network configurations
  • Modifying user permissions
  • Hijacking Lambda functions

Let's take a deeper look at these alerts by clicking Expand All.

Hijacking Lambda alerts in the Vectra Platform

The expanded detections reveal more details about this identity's potentially malicious activities.

AWS Lambda Hijacking

The AWS LambdaHijacking alert could indicate that an attacker has gained persistence in the environment. Let's investigate that alert first.

AWS Lambda Hijacking - Lateral Movement detection in the Vectra Platform

You can see details of the Lambda change that could have given the attacker persistence.

This detection uses AI to monitor the time series of AWS API calls and request parameters to detect the behavior related to malicious modifications to an AWS Lambda function. 

To understand more about this type of Vectra detection, click ? to review the in-app explanation page.

What is AWS Lambda Hijacking

Now that we understand how this detection works.

Let's investigate and understand

  • What API calls were made, and with what parameters?
  • What role was used?
  • From where were the changes made?

 

AWS Lambda Hijacking investigation in the Vectra Platform

Our investigation reveals that this was a malicious change that provided the attacker backdoor access to the environment.

The attacker assumed the role of lambdaManager-role, created a new Lambda function, and used the API call PutRule to create a backdoor.

 

Malicious activity through backdoor in AWS

Before we remediate, let's understand what else the attacker has been doing with their access.

Malicious activity through backdoor in AWS

Let's investigate the logs to see what else the attacker has done.

Click Instant Investigation for query-less access to the account's historical activity in AWS.

investigation to find the attacker in AWS

 

The attacker accessed several different services across multiple regions.

The attacker accessed several different services across multiple regions.

Multiple role assumptions occurred during the attack, potentially hiding the attacker's activities. Vectra correlates all role assumptions back to the user for easy investigations.

Stop the attacker in AWS 

We now have enough information to stop the attacker with the data collected by revoking the identity's access and removing the Lambda backdoor.

Stop the attacker in AWS 

Attack Stopped!

Stop an attack in AWS!

Let's see how a SecOps analyst using Vectra can detect and respond to attackers targeting AWS.

Account compromise in AWS

Start by clicking Expand All to review the prioritized Azure AD, M365, and AWS account details to understand if any accounts have been compromised and need to be remediated.

Uncover account compromise in AWS through the Vectra Platform

Click the AWS identity to investigate the compromise.

Investigate compromised accounts in AWS through the Vectra Platform

You can see that chris@corp.ai is prioritized as an active compromise with several different Vectra detections correlated to the user.

Let's investigate chris@corp.ai to understand what might be happening.

Uncover Command and Control through the Vectra Platform

You can see the user performed several actions that triggered alerts, including:

  • Enumerating EC2 instances, S3 Buckets, and user permissions
  • Reading network configurations
  • Modifying user permissions
  • Hijacking Lambda functions

Let's take a deeper look at these alerts by clicking Expand All.

Hijacking Lambda alerts in the Vectra Platform

The expanded detections reveal more details about this identity's potentially malicious activities.

AWS Lambda Hijacking

The AWS LambdaHijacking alert could indicate that an attacker has gained persistence in the environment. Let's investigate that alert first.

AWS Lambda Hijacking - Lateral Movement detection in the Vectra Platform

You can see details of the Lambda change that could have given the attacker persistence.

This detection uses AI to monitor the time series of AWS API calls and request parameters to detect the behavior related to malicious modifications to an AWS Lambda function. 

To understand more about this type of Vectra detection, click ? to review the in-app explanation page.

What is AWS Lambda Hijacking

Now that we understand how this detection works.

Let's investigate and understand

  • What API calls were made, and with what parameters?
  • What role was used?
  • From where were the changes made?

 

AWS Lambda Hijacking investigation in the Vectra Platform

Our investigation reveals that this was a malicious change that provided the attacker backdoor access to the environment.

The attacker assumed the role of lambdaManager-role, created a new Lambda function, and used the API call PutRule to create a backdoor.

 

Malicious activity through backdoor in AWS

Before we remediate, let's understand what else the attacker has been doing with their access.

Malicious activity through backdoor in AWS

Let's investigate the logs to see what else the attacker has done.

Click Instant Investigation for query-less access to the account's historical activity in AWS.

investigation to find the attacker in AWS

 

The attacker accessed several different services across multiple regions.

The attacker accessed several different services across multiple regions.

Multiple role assumptions occurred during the attack, potentially hiding the attacker's activities. Vectra correlates all role assumptions back to the user for easy investigations.

Stop the attacker in AWS 

We now have enough information to stop the attacker with the data collected by revoking the identity's access and removing the Lambda backdoor.

Stop the attacker in AWS 

Attack Stopped!

Want to start seeing and stopping AWS compromises in your own environment?

Vectra detects compromises that SIEM don’t

Less than a month after a Global Healthcare Giant deployed Vectra's Detect for AWS, Vectra discovered an AWS compromise that was undetected by their SIEM.
Download the Case Study

Learn more about the Vectra platform

Understand more about the Vectra platform and its approach to threat detection and response.