Protect your AWS Environment using Microsoft Cloud App Security

Published 02-19-2021 01:15 PM 3,681 Views
Microsoft

As you know, Microsoft Cloud App Security can help protect several SaaS applications. It gives you control over the actions carried out by your users and to the data they decide to store in the cloud.  SaaS app protection is indeed critical, but that should not come at the cost of neglecting the protection of your Infrastructure as a Service (IaaS).

 

For that purpose, Cloud App Security can integrate with your AWS platform and detect risky behavior, control data sharing and help review best practice recommendations.

 

Note: While this blog is specific to AWS, Cloud App Security can also help you secure your Azure and Google Cloud Platform environments in the same way.

 

Why Connect AWS?

Microsoft Cloud App Security will help your protecting your AWS infrastructure in the following ways:

 

Benefit

Description

Feature or policy

Cloud Security Posture Management

A large portion of security issues we see daily are related to:

-          Accidental or malicious configuration changes

-          Lack of compliance to products’ best practices

MCAS can help in both of these areas.

Policies can be configured to alert you when a configuration is modified in a way that may impact security.

Best practices for AWS (as well as for other IaaS platforms) are reported in MCAS, making it a single pane of glass for your cloud security recommendations.

Get security configuration recommendations for AWS | Microsoft Docs

 

Activity policy templates: “IAM Policy Change”, “Security Group Configuration changes”, Network ACL changes”, etc.

Compromised account or insider threat

As for most applications, when AWS is connected, the applicable build-in threat detection policies will apply automatically. Some are standard and apply to all apps, some are tailored for IaaS.

Built-in policies such as “Multiple delete VM activites”, “Multiple VM creation activities”, “Impossible Travel”, “Activity from infrequent country”, “Connection from Risky IP”. Etc.

Data leakage protection

Many of the security incident we’ve seen in the news in the past few months/years are often due to improperly shared documents or folders.

To help you limit these risks, MCAS can detect publicly shared AWS S3 buckets and alert you, or automatically make them private.

Note: MCAS does not inspect the content of files stored in AWS S3 buckets, only their sharing status.

File policy template: “Publicly accessible S3 buckets”

 

Activity policy template: “S3 Bucket Activity”

 

How to Connect AWS to Microsoft Cloud App Security?

Let's start with connecting AWS and Cloud App Security. Several steps need to be accomplished in this connection: Cloud App Security needs to gather (1) all the activities happening at the AWS level, like it does for other apps, and (2) some of the configuration settings and best practice guidance to review the account’s security configuration.  In order to get the activities and security recommendations, the connection of AWS to Cloud App Security is two-fold:

  1. You must connect Microsoft Cloud App Security with AWS for Security Auditing: this will provide you with all the activities happening in your AWS environment, as well as the sharing status of your S3 buckets.

 

This is demonstrated in the video below.

 

  1. You need to connect Microsoft Cloud App Security to AWS for Security Recommendations: this will provide you with best practice security recommendations regarding your AWS environment directly in your Cloud App Security console.

 

The video below shows how to establish this connection, as well as how to leverage Security recommendations from the Cloud App Security console.

 

A step-by-step procedure to establish these connections is also available here.

 

Protect AWS - Threat detection

Once AWS is connected, the built-in threat detection policies listed here are in place analyzing the activities of taking place in AWS.

 

Let’s note the policies below that are specific to IaaS platforms and apply only to AWS and Azure:

 

Policy name

Description

Unusual multiple storage deletion activities (preview)

This policy profiles your environment and triggers alerts when users perform multiple storage deletion or DB deletion activities in a single session with respect to the baseline learned, which could indicate an attempted breach.

Multiple delete VM activities

This policy profiles your environment and triggers alerts when users perform multiple delete VM activities in a single session with respect to the baseline learned, which could indicate an attempted breach.

Unusual multiple VM creation activities (preview)

This policy profiles your environment and triggers alerts when users perform multiple create VM activities in a single session with respect to the baseline learned, which could indicate an attempted breach.

Unusual region for cloud resource (preview)

This policy profiles your environment and triggers alerts when a user performs suspicious creation activities in a cloud region that was not recently, or was never, accessed. This may indicate that an attacker is creating cloud resources to run malicious activities like crypto mining.

 

Quick Config – Quick Value!

In addition to the built-in threat detection policies there are a number of file and activity policy templates specifically for AWS activities, that you can use as a starting point to create your own policies.

 

The list is available here:

Template

Description

Publicly accessible S3 buckets (AWS)

Alert when an S3 bucket in AWS is publicly accessible.

Virtual Private Network (VPC) changes (AWS)

Alert on any API calls made to create, update, or delete an Amazon VPC, an Amazon VPC peering connection, or an Amazon VPC connection to classic Amazon EC2 instances.

 

IAM Policy changes (AWS)

Alert on any API calls made to change IAM policy

 

Console Sign-in Failures (AWS)

Alert of multiple sign-in failures to AWS console.

 

CloudTrail changes (AWS)

 

Alert on any API call made to create, update, or delete a CloudTrail trail, or to start or stop logging a trail.

 

EC2 Instance changes (AWS)

 

Alert on any API call is made to create, terminate, start, stop, or reboot an Amazon EC2 instance.

 

Network Gateway changes (AWS)

 

Alert on API call made to create, update, or delete customer's internet gateway.

 

Network Access Control List (ACL) changes (AWS)

 

Alert on any configuration changes involving Network ACLs.

 

S3 Bucket Activity (AWS)

 

Alert when AWS S3 API call is made to PUT or DELETE bucket policy, bucket lifecycle, bucket replication, or to PUT a bucket ACL. The alert will also cover Cross-origin resource sharing PUT bucket and DELETE bucket events.

Security Group Configuration changes (AWS)

Alert on configuration changes which involve security groups.

 

When you create a new policy from a template the default behavior is to create an alert, so you can be notified of a match to the policy. This does not have any impact on the users or environment. After reviewing the policy matches you can decide to configure governance actions to be taken when there is a policy match. For example, a policy that is created from the Publicly accessible S3 buckets (AWS), you can decide to “Make private” or “Remove a collaborator”. 

 

The video below will details how to create and configure these policy templates:

 

Custom policy

All the templates we discussed above are great best practices and apply to most customers. However, they may not capture the uniqueness of your environment.  For that, you can configure custom policies.  Here are a few best practices when configuring these:

  • Single or repeated activity?
    • That would be depending on your needs. For example, we can imagine that a case where a number of S3 buckets would become public in a short amount of time would be suspicious. On the other side, changing a critical security setting would only need to happen once to show a risk.
  • Activity Filters: filters will help define the criteria for your new policy to trigger. You can filter but app, user, client type, etc. Here are a few relevant filter examples you may want to consider
    • App: always start with the app you are creating the policy for. This will limit the number of entries when applying a filter on the Activity Type.
    • Activity Type: every activity policy should have an activity type filter: they will define when the policy triggers. For AWS it could be a configuration change, or a sharing change in an AWS bucket.
    •  Other filters can bring additional value, and they should be reviewed as needed.

And now, a real-life example. The policy below will alert when a large number of S3 buckets are shared within a minute:

image.png

Reviewing and addressing AWS Security Config recommendations in Microsoft Cloud App Security

Microsoft Cloud App Security can also help you verify and ensure that your AWS environment configuration complies with Amazon’s best practices recommendations.  Our official documentation, here, describes how to get started. Once you navigate through the page, you can start reviewing the recommendations.

Note: these recommendations showing up in your environment do not necessarily mean that a security incident has happened, but rather that the environment is not following security best practices.

image.png

The filters in this page can be used to prioritize high severity recommendations, or specific AWS accounts in your environment.  As an example, let’s review the first item from the list above.

 

One of the critical recommendations is to avoid the use of the “root” account in AWS. By clicking on the recommendation, Microsoft Cloud App Security automatically redirects you to the AWS portal, where you can take action.

image.png

 

Note: not only will the security recommendation page show security configuration best practices for AWS, but also for Azure and Google Cloud Platform, should you use these.  This will make Microsoft Cloud App Security your "one stop shop" to review your Cloud Platform Security Posture (CSPM).

 

Share your use case!

Now that you know all you need to get started with protecting AWS using Microsoft Cloud App Security, please share with us your thoughts and your use cases. We would love to hear your feedback on our AWS integration.

 

Blog by @Gershon Levitz , Idan Basre and @Yoann Mallet 

1 Comment
Microsoft

Awesome capabilities! very helpful!

%3CLINGO-SUB%20id%3D%22lingo-sub-2155806%22%20slang%3D%22en-US%22%3ERe%3A%20Protect%20your%20AWS%20Environment%20using%20Microsoft%20Cloud%20App%20Security%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2155806%22%20slang%3D%22en-US%22%3E%3CP%3EAwesome%20capabilities!%20very%20helpful!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2150380%22%20slang%3D%22en-US%22%3EProtect%20your%20AWS%20Environment%20using%20Microsoft%20Cloud%20App%20Security%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2150380%22%20slang%3D%22en-US%22%3E%3CP%3EAs%20you%20know%2C%20Microsoft%20Cloud%20App%20Security%20can%20help%20protect%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcloud-app-security%2Fenable-instant-visibility-protection-and-governance-actions-for-your-apps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Eseveral%20%3C%2FA%3E%3CSPAN%3ESaaS%20applications%3C%2FSPAN%3E.%20It%20gives%20you%20control%20over%20the%20actions%20carried%20out%20by%20your%20users%20and%20to%20the%20data%20they%20decide%20to%20store%20in%20the%20cloud.%26nbsp%3B%20SaaS%20app%20protection%20is%20indeed%20critical%2C%20but%20that%20should%20not%20come%20at%20the%20cost%20of%20neglecting%20the%20protection%20of%20your%20Infrastructure%20as%20a%20Service%20(IaaS).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20that%20purpose%2C%20Cloud%20App%20Security%20can%20integrate%20with%20your%20AWS%20platform%20and%20detect%20risky%20behavior%2C%20control%20data%20sharing%20and%20help%20review%20best%20practice%20recommendations.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%3A%20While%20this%20blog%20is%20specific%20to%20AWS%2C%20Cloud%20App%20Security%20can%20also%20help%20you%20secure%20your%20Azure%20and%20Google%20Cloud%20Platform%20environments%20in%20the%20same%20way.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--524340285%22%20id%3D%22toc-hId--524341967%22%3EWhy%20Connect%20AWS%3F%3C%2FH2%3E%0A%3CP%3EMicrosoft%20Cloud%20App%20Security%20will%20help%20your%20protecting%20your%20AWS%20infrastructure%20in%20the%20following%20ways%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22150%22%3E%3CP%3EBenefit%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22266%22%3E%3CP%3EDescription%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3EFeature%20or%20policy%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22150%22%3E%3CP%3ECloud%20Security%20Posture%20Management%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22266%22%3E%3CP%3EA%20large%20portion%20of%20security%20issues%20we%20see%20daily%20are%20related%20to%3A%3C%2FP%3E%0A%3CP%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Accidental%20or%20malicious%20configuration%20changes%3C%2FP%3E%0A%3CP%3E-%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lack%20of%20compliance%20to%20products%E2%80%99%20best%20practices%3C%2FP%3E%0A%3CP%3EMCAS%20can%20help%20in%20both%20of%20these%20areas.%3C%2FP%3E%0A%3CP%3EPolicies%20can%20be%20configured%20to%20alert%20you%20when%20a%20configuration%20is%20modified%20in%20a%20way%20that%20may%20impact%20security.%3C%2FP%3E%0A%3CP%3EBest%20practices%20for%20AWS%20(as%20well%20as%20for%20other%20IaaS%20platforms)%20are%20reported%20in%20MCAS%2C%20making%20it%20a%20single%20pane%20of%20glass%20for%20your%20cloud%20security%20recommendations.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcloud-app-security%2Fsecurity-config-aws%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EGet%20security%20configuration%20recommendations%20for%20AWS%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EActivity%20policy%20templates%3A%20%E2%80%9CIAM%20Policy%20Change%E2%80%9D%2C%20%E2%80%9CSecurity%20Group%20Configuration%20changes%E2%80%9D%2C%20Network%20ACL%20changes%E2%80%9D%2C%20etc.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22150%22%3E%3CP%3ECompromised%20account%20or%20insider%20threat%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22266%22%3E%3CP%3EAs%20for%20most%20applications%2C%20when%20AWS%20is%20connected%2C%20the%20applicable%20build-in%20threat%20detection%20policies%20will%20apply%20automatically.%20Some%20are%20standard%20and%20apply%20to%20all%20apps%2C%20some%20are%20tailored%20for%20IaaS.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3EBuilt-in%20policies%20such%20as%20%E2%80%9CMultiple%20delete%20VM%20activites%E2%80%9D%2C%20%E2%80%9CMultiple%20VM%20creation%20activities%E2%80%9D%2C%20%E2%80%9CImpossible%20Travel%E2%80%9D%2C%20%E2%80%9CActivity%20from%20infrequent%20country%E2%80%9D%2C%20%E2%80%9CConnection%20from%20Risky%20IP%E2%80%9D.%20Etc.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22150%22%3E%3CP%3EData%20leakage%20protection%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22266%22%3E%3CP%3EMany%20of%20the%20security%20incident%20we%E2%80%99ve%20seen%20in%20the%20news%20in%20the%20past%20few%20months%2Fyears%20are%20often%20due%20to%20improperly%20shared%20documents%20or%20folders.%3C%2FP%3E%0A%3CP%3ETo%20help%20you%20limit%20these%20risks%2C%20MCAS%20can%20detect%20publicly%20shared%20AWS%20S3%20buckets%20and%20alert%20you%2C%20or%20automatically%20make%20them%20private.%3C%2FP%3E%0A%3CP%3ENote%3A%20MCAS%20does%20not%20inspect%20the%20content%20of%20files%20stored%20in%20AWS%20S3%20buckets%2C%20only%20their%20sharing%20status.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22208%22%3E%3CP%3EFile%20policy%20template%3A%20%E2%80%9CPublicly%20accessible%20S3%20buckets%E2%80%9D%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EActivity%20policy%20template%3A%20%E2%80%9CS3%20Bucket%20Activity%E2%80%9D%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1963172548%22%20id%3D%22toc-hId-1963170866%22%3EHow%20to%20Connect%20AWS%20to%20Microsoft%20Cloud%20App%20Security%3F%3C%2FH2%3E%0A%3CP%3ELet's%20start%20with%20connecting%20AWS%20and%20Cloud%20App%20Security.%20Several%20steps%20need%20to%20be%20accomplished%20in%20this%20connection%3A%20Cloud%20App%20Security%20needs%20to%20gather%20(1)%20all%20the%20activities%20happening%20at%20the%20AWS%20level%2C%20like%20it%20does%20for%20other%20apps%2C%20and%20(2)%20some%20of%20the%20configuration%20settings%20and%20best%20practice%20guidance%20to%20review%20the%20account%E2%80%99s%20security%20configuration.%26nbsp%3B%26nbsp%3BIn%20order%20to%20get%20the%20activities%20and%20security%20recommendations%2C%20the%20connection%20of%20AWS%20to%20Cloud%20App%20Security%20is%20two-fold%3A%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3EYou%20must%20connect%20Microsoft%20Cloud%20App%20Security%20with%20AWS%20for%20%3CSTRONG%3ESecurity%20Auditing%3C%2FSTRONG%3E%3A%20this%20will%20provide%20you%20with%20all%20the%20activities%20happening%20in%20your%20AWS%20environment%2C%20as%20well%20as%20the%20sharing%20status%20of%20your%20S3%20buckets.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThis%20is%20demonstrated%20in%20the%20video%20below.%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22video-embed-center%20video-embed%22%3E%3CIFRAME%20class%3D%22embedly-embed%22%20src%3D%22https%3A%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FN7Xs2Vq3YAM%253Ffeature%253Doembed%26amp%3Bdisplay_name%3DYouTube%26amp%3Burl%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DN7Xs2Vq3YAM%26amp%3Bimage%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FN7Xs2Vq3YAM%252Fhqdefault.jpg%26amp%3Bkey%3Db0d40caa4f094c68be7c29880b16f56e%26amp%3Btype%3Dtext%252Fhtml%26amp%3Bschema%3Dyoutube%22%20width%3D%22400%22%20height%3D%22225%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2FIFRAME%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%20start%3D%222%22%3E%0A%3CLI%3EYou%20need%20to%20connect%20Microsoft%20Cloud%20App%20Security%20to%20AWS%20for%20%3CSTRONG%3ESecurity%20Recommendations%3C%2FSTRONG%3E%3A%20this%20will%20provide%20you%20with%20best%20practice%20security%20recommendations%20regarding%20your%20AWS%20environment%20directly%20in%20your%20Cloud%20App%20Security%20console.%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20video%20below%20shows%20how%20to%20establish%20this%20connection%2C%20as%20well%20as%20how%20to%20leverage%20Security%20recommendations%20from%20the%20Cloud%20App%20Security%20console.%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22video-embed-center%20video-embed%22%3E%3CIFRAME%20class%3D%22embedly-embed%22%20src%3D%22https%3A%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252F6ZMjkoTG6xc%253Ffeature%253Doembed%26amp%3Bdisplay_name%3DYouTube%26amp%3Burl%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253D6ZMjkoTG6xc%26amp%3Bimage%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252F6ZMjkoTG6xc%252Fhqdefault.jpg%26amp%3Bkey%3Db0d40caa4f094c68be7c29880b16f56e%26amp%3Btype%3Dtext%252Fhtml%26amp%3Bschema%3Dyoutube%22%20width%3D%22400%22%20height%3D%22225%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2FIFRAME%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EA%20step-by-step%20procedure%20to%20establish%20these%20connections%20is%20also%20available%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcloud-app-security%2Fconnect-aws-to-microsoft-cloud-app-security%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-155718085%22%20id%3D%22toc-hId-155716403%22%3EProtect%20AWS%20-%20Threat%20detection%3C%2FH2%3E%0A%3CP%3EOnce%20AWS%20is%20connected%2C%20the%20built-in%20threat%20detection%20policies%20listed%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcloud-app-security%2Fprotect-aws%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E%20are%20in%20place%20analyzing%20the%20activities%20of%20taking%20place%20in%20AWS.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ELet%E2%80%99s%20note%20the%20policies%20below%20that%20are%20specific%20to%20IaaS%20platforms%20and%20apply%20only%20to%20AWS%20and%20Azure%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22294%22%3E%3CP%3E%3CSTRONG%3EPolicy%20name%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22330%22%3E%3CP%3E%3CSTRONG%3EDescription%3C%2FSTRONG%3E%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22294%22%3E%3CP%3EUnusual%20multiple%20storage%20deletion%20activities%26nbsp%3B(preview)%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22330%22%3E%3CP%3EThis%20policy%20profiles%20your%20environment%20and%20triggers%20alerts%20when%20users%20perform%20multiple%20storage%20deletion%20or%20DB%20deletion%20activities%20in%20a%20single%20session%20with%20respect%20to%20the%20baseline%20learned%2C%20which%20could%20indicate%20an%20attempted%20breach.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22294%22%3E%3CP%3EMultiple%20delete%20VM%20activities%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22330%22%3E%3CP%3EThis%20policy%20profiles%20your%20environment%20and%20triggers%20alerts%20when%20users%20perform%20multiple%20delete%20VM%20activities%20in%20a%20single%20session%20with%20respect%20to%20the%20baseline%20learned%2C%20which%20could%20indicate%20an%20attempted%20breach.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22294%22%3E%3CP%3EUnusual%20multiple%20VM%20creation%20activities%26nbsp%3B(preview)%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22330%22%3E%3CP%3EThis%20policy%20profiles%20your%20environment%20and%20triggers%20alerts%20when%20users%20perform%20multiple%20create%20VM%20activities%20in%20a%20single%20session%20with%20respect%20to%20the%20baseline%20learned%2C%20which%20could%20indicate%20an%20attempted%20breach.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22294%22%3E%3CP%3EUnusual%20region%20for%20cloud%20resource%26nbsp%3B(preview)%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22330%22%3E%3CP%3EThis%20policy%20profiles%20your%20environment%20and%20triggers%20alerts%20when%20a%20user%20performs%20suspicious%20creation%20activities%20in%20a%20cloud%20region%20that%20was%20not%20recently%2C%20or%20was%20never%2C%20accessed.%20This%20may%20indicate%20that%20an%20attacker%20is%20creating%20cloud%20resources%20to%20run%20malicious%20activities%20like%20crypto%20mining.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1651736378%22%20id%3D%22toc-hId--1651738060%22%3EQuick%20Config%20%E2%80%93%20Quick%20Value!%3C%2FH2%3E%0A%3CP%3EIn%20addition%20to%20the%20built-in%20threat%20detection%20policies%20there%20are%20a%20number%20of%20file%20and%20activity%20policy%20templates%20specifically%20for%20AWS%20activities%2C%20that%20you%20can%20use%20as%20a%20starting%20point%20to%20create%20your%20own%20policies.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20list%20is%20available%20here%3A%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3ETemplate%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EDescription%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EPublicly%20accessible%20S3%20buckets%20(AWS)%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EAlert%20when%20an%20S3%20bucket%20in%20AWS%20is%20publicly%20accessible.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EVirtual%20Private%20Network%20(VPC)%20changes%20(AWS)%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EAlert%20on%20any%20API%20calls%20made%20to%20create%2C%20update%2C%20or%20delete%20an%20Amazon%20VPC%2C%20an%20Amazon%20VPC%20peering%20connection%2C%20or%20an%20Amazon%20VPC%20connection%20to%20classic%20Amazon%20EC2%20instances.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EIAM%20Policy%20changes%20(AWS)%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EAlert%20on%20any%20API%20calls%20made%20to%20change%20IAM%20policy%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EConsole%20Sign-in%20Failures%20(AWS)%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EAlert%20of%20multiple%20sign-in%20failures%20to%20AWS%20console.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3ECloudTrail%20changes%20(AWS)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EAlert%20on%20any%20API%20call%20made%20to%20create%2C%20update%2C%20or%20delete%20a%20CloudTrail%20trail%2C%20or%20to%20start%20or%20stop%20logging%20a%20trail.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EEC2%20Instance%20changes%20(AWS)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EAlert%20on%20any%20API%20call%20is%20made%20to%20create%2C%20terminate%2C%20start%2C%20stop%2C%20or%20reboot%20an%20Amazon%20EC2%20instance.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3ENetwork%20Gateway%20changes%20(AWS)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EAlert%20on%20API%20call%20made%20to%20create%2C%20update%2C%20or%20delete%20customer's%20internet%20gateway.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3ENetwork%20Access%20Control%20List%20(ACL)%20changes%20(AWS)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EAlert%20on%20any%20configuration%20changes%20involving%20Network%20ACLs.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3ES3%20Bucket%20Activity%20(AWS)%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EAlert%20when%20AWS%20S3%20API%20call%20is%20made%20to%20PUT%20or%20DELETE%20bucket%20policy%2C%20bucket%20lifecycle%2C%20bucket%20replication%2C%20or%20to%20PUT%20a%20bucket%20ACL.%20The%20alert%20will%20also%20cover%20Cross-origin%20resource%20sharing%20PUT%20bucket%20and%20DELETE%20bucket%20events.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3ESecurity%20Group%20Configuration%20changes%20(AWS)%3C%2FP%3E%0A%3C%2FTD%3E%0A%3CTD%20width%3D%22312%22%3E%3CP%3EAlert%20on%20configuration%20changes%20which%20involve%20security%20groups.%3C%2FP%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhen%20you%20create%20a%20new%20policy%20from%20a%20template%20the%20default%20behavior%20is%20to%20create%20an%20alert%2C%20so%20you%20can%20be%20notified%20of%20a%20match%20to%20the%20policy.%20This%20does%20not%20have%20any%20impact%20on%20the%20users%20or%20environment.%20After%20reviewing%20the%20policy%20matches%20you%20can%20decide%20to%20configure%20governance%20actions%20to%20be%20taken%20when%20there%20is%20a%20policy%20match.%20For%20example%2C%20a%20policy%20that%20is%20created%20from%20the%20Publicly%20accessible%20S3%20buckets%20(AWS)%2C%20you%20can%20decide%20to%20%E2%80%9CMake%20private%E2%80%9D%20or%20%E2%80%9CRemove%20a%20collaborator%E2%80%9D.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EThe%20video%20below%20will%20details%20how%20to%20create%20and%20configure%20these%20policy%20templates%3A%3C%2FP%3E%0A%3CP%3E%3C%2FP%3E%3CDIV%20class%3D%22video-embed-center%20video-embed%22%3E%3CIFRAME%20class%3D%22embedly-embed%22%20src%3D%22https%3A%2F%2Fcdn.embedly.com%2Fwidgets%2Fmedia.html%3Fsrc%3Dhttps%253A%252F%252Fwww.youtube.com%252Fembed%252FtJQFEj7q1go%253Ffeature%253Doembed%26amp%3Bdisplay_name%3DYouTube%26amp%3Burl%3Dhttps%253A%252F%252Fwww.youtube.com%252Fwatch%253Fv%253DtJQFEj7q1go%26amp%3Bimage%3Dhttps%253A%252F%252Fi.ytimg.com%252Fvi%252FtJQFEj7q1go%252Fhqdefault.jpg%26amp%3Bkey%3Db0d40caa4f094c68be7c29880b16f56e%26amp%3Btype%3Dtext%252Fhtml%26amp%3Bschema%3Dyoutube%22%20width%3D%22400%22%20height%3D%22225%22%20scrolling%3D%22no%22%20title%3D%22YouTube%20embed%22%20frameborder%3D%220%22%20allow%3D%22autoplay%3B%20fullscreen%22%20allowfullscreen%3D%22true%22%3E%3C%2FIFRAME%3E%3C%2FDIV%3E%3CP%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-835776455%22%20id%3D%22toc-hId-835774773%22%3ECustom%20policy%3C%2FH2%3E%0A%3CP%3EAll%20the%20templates%20we%20discussed%20above%20are%20great%20best%20practices%20and%20apply%20to%20most%20customers.%20However%2C%20they%20may%20not%20capture%20the%20uniqueness%20of%20your%20environment.%26nbsp%3B%26nbsp%3BFor%20that%2C%20you%20can%20configure%20custom%20policies.%26nbsp%3B%26nbsp%3BHere%20are%20a%20few%20best%20practices%20when%20configuring%20these%3A%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3ESingle%20or%20repeated%20activity%3F%3CUL%3E%0A%3CLI%3EThat%20would%20be%20depending%20on%20your%20needs.%20For%20example%2C%20we%20can%20imagine%20that%20a%20case%20where%20a%20number%20of%20S3%20buckets%20would%20become%20public%20in%20a%20short%20amount%20of%20time%20would%20be%20suspicious.%20On%20the%20other%20side%2C%20changing%20a%20critical%20security%20setting%20would%20only%20need%20to%20happen%20once%20to%20show%20a%20risk.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3CLI%3EActivity%20Filters%3A%20filters%20will%20help%20define%20the%20criteria%20for%20your%20new%20policy%20to%20trigger.%20You%20can%20filter%20but%20app%2C%20user%2C%20client%20type%2C%20etc.%20Here%20are%20a%20few%20relevant%20filter%20examples%20you%20may%20want%20to%20consider%3CUL%3E%0A%3CLI%3EApp%3A%20always%20start%20with%20the%20app%20you%20are%20creating%20the%20policy%20for.%20This%20will%20limit%20the%20number%20of%20entries%20when%20applying%20a%20filter%20on%20the%20Activity%20Type.%3C%2FLI%3E%0A%3CLI%3EActivity%20Type%3A%20every%20activity%20policy%20should%20have%20an%20activity%20type%20filter%3A%20they%20will%20define%20when%20the%20policy%20triggers.%20For%20AWS%20it%20could%20be%20a%20configuration%20change%2C%20or%20a%20sharing%20change%20in%20an%20AWS%20bucket.%3C%2FLI%3E%0A%3CLI%3E%26nbsp%3BOther%20filters%20can%20bring%20additional%20value%2C%20and%20they%20should%20be%20reviewed%20as%20needed.%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3EAnd%20now%2C%20a%20real-life%20example.%20The%20policy%20below%20will%20alert%20when%20a%20large%20number%20of%20S3%20buckets%20are%20shared%20within%20a%20minute%3A%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F256147i369D977DE249F3B9%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--971678008%22%20id%3D%22toc-hId--971679690%22%3EReviewing%20and%20addressing%20AWS%20Security%20Config%20recommendations%20in%20Microsoft%20Cloud%20App%20Security%3C%2FH2%3E%0A%3CP%3EMicrosoft%20Cloud%20App%20Security%20can%20also%20help%20you%20verify%20and%20ensure%20that%20your%20AWS%20environment%20configuration%20complies%20with%20Amazon%E2%80%99s%20best%20practices%20recommendations.%26nbsp%3B%26nbsp%3BOur%20official%20documentation%2C%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fcloud-app-security%2Fsecurity-config-aws%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehere%3C%2FA%3E%2C%20describes%20how%20to%20get%20started.%26nbsp%3BOnce%20you%20navigate%20through%20the%20page%2C%20you%20can%20start%20reviewing%20the%20recommendations.%3C%2FP%3E%0A%3CP%3ENote%3A%20these%20recommendations%20showing%20up%20in%20your%20environment%20do%20not%20necessarily%20mean%20that%20a%20security%20incident%20has%20happened%2C%20but%20rather%20that%20the%20environment%20is%20not%20following%20security%20best%20practices.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F256148iF7AFB66D66FFA832%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EThe%20filters%20in%20this%20page%20can%20be%20used%20to%20prioritize%20high%20severity%20recommendations%2C%20or%20specific%20AWS%20accounts%20in%20your%20environment.%26nbsp%3B%26nbsp%3BAs%20an%20example%2C%20let%E2%80%99s%20review%20the%20first%20item%20from%20the%20list%20above.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOne%20of%20the%20critical%20recommendations%20is%20to%20avoid%20the%20use%20of%20the%20%E2%80%9Croot%E2%80%9D%20account%20in%20AWS.%20By%20clicking%20on%20the%20recommendation%2C%20Microsoft%20Cloud%20App%20Security%20automatically%20redirects%20you%20to%20the%20AWS%20portal%2C%20where%20you%20can%20take%20action.%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22image.png%22%20style%3D%22width%3A%20624px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F256149i0D24ADC74281466E%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22image.png%22%20alt%3D%22image.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3ENote%3A%20not%20only%20will%20the%20security%20recommendation%20page%20show%20security%20configuration%20best%20practices%20for%20AWS%2C%20but%20also%20for%20Azure%20and%20Google%20Cloud%20Platform%2C%20should%20you%20use%20these.%26nbsp%3B%26nbsp%3BThis%20will%20make%20Microsoft%20Cloud%20App%20Security%20your%20%22one%20stop%20shop%22%20to%20review%20your%20Cloud%20Platform%20Security%20Posture%20(CSPM).%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1515834825%22%20id%3D%22toc-hId-1515833143%22%3EShare%20your%20use%20case!%3C%2FH2%3E%0A%3CP%3ENow%20that%20you%20know%20all%20you%20need%20to%20get%20started%20with%20protecting%20AWS%20using%20Microsoft%20Cloud%20App%20Security%2C%20please%20share%20with%20us%20your%20thoughts%20and%20your%20use%20cases.%20We%20would%20love%20to%20hear%20your%20feedback%20on%20our%20AWS%20integration.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBlog%20by%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F44744%22%20target%3D%22_blank%22%3E%40Gershon%20Levitz%3C%2FA%3E%26nbsp%3B%2C%20Idan%20Basre%20and%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F38317%22%20target%3D%22_blank%22%3E%40Yoann%20Mallet%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-2150380%22%20slang%3D%22en-US%22%3E%3CP%3EWant%20to%20improve%20your%20AWS%20platform%20security%3F%20Yes%2C%20Microsoft%20Cloud%20App%20Security%20can%20help%20you%20do%20it!%20Learn%20how%20you%20can%20combat%20cloud%20threats%20and%20get%20best%20practice%20security%20recommendations!%3C%2FP%3E%3C%2FLINGO-TEASER%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2150380%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Cloud%20App%20Security%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Version history
Last update:
‎May 11 2021 01:58 PM
Updated by: