Mattias from the duo DefenderBoys (DefenderBoys.com) (Stefan Schörling & Mattias Borg) was asked by Microsoft to join Heike Ritters Ninja Show to talk about, and demo Attack Disruption and Evilginx and MFA bypass
It uses Defender XDR’s ability to correlate signals from many different sources into a single, high-confidence incident through insights from endpoints, identities, email and collaboration tools, and SaaS apps.
It identifies assets controlled by the attacker and used to spread the attack.
It automatically takes response actions across relevant Microsoft Defender products to contain the attack in real-time by containing and disabling affected assets.
With all the capabilities provided within Attack Disruption, it’s important that Defender XDR is configured correctly. For instance, if you have configured a gMSA account for the MDI actions, and it does not work properly, it will affect disruption negatively.
MDE Prereqs
Minimum Sense version for contain user:v10.8470
Auto IR: Full – remediate threats automatically (recommended for full coverage, no automated response turns off automatic disruption for device group)
Endpoint discovery set to Standard (not basic)
In MDE the most common configuration improvements seen are:
Sample submission is not configured to send files automatically
Some time ago, Microsoft announced and released Automatic Attack Disruption which is a feature within the Microsoft Defender XDR suite. Since then it has growth and from working for a service provider of Managed Detection and Response and running 100% Microsoft XDR, this is an amazing feature.
This blogpost will explain different aspects of disruption and how certain things works and the requirements in form of configurations to make it work.
Please note: All screenshots from Defender is from a Demo and Lab tenants and not customer tenants
The feature has to many parts possible to write a blog post about on its own, but let’s start somewhere:
Automatic Attack Disruption is not a new Auto IR (MDE) that acts on a single detection and tries to remediate according to defined playbook. Attack Disruption is chain of events, lower signals, such as RDP login to next event to next etc. until a certain level of confidence is reached. When the confidence reaches 99%+ SNR (Signal to Noise Ratio) then it kicks in. But it doesn’t simply stops processes or uses other classical Antimalware techniques, it goes back to the initial event and blocks everything used on the way.
Example scenario:
Internet to exposed RDP > Ask for service tickets for all SPNs (Kerberoast) > [Offline crack] > Login interactively to a server from the compromised RDP using one of the credentials from the Kerberoast attack > Enumerate ADCS templates > enroll certificate with new SAN > Domain admin
What Attack disruption will do is take a note of the initial RDP (similar to a human like: “Ok, someone used RDP, it’s not malicious but I will keep an eye on it”).
Next step is the Kerberoast
Still not malicious activities depending on how the threat actor executes that it could be an SPN enumeration alert. However, asking DC for a ticket is how Active Directory works and let’s play this as no incidents are generated in this case.
Threat Actor’s next step, after the tickets where cracked and the SPN account password is now in clear text (using hashcat, john to crack the password). Now it’s time for Threat Actor to login using these credentials and they user RDP to login interactively on the remote server.
The server they end up on has access as system to enroll a vulnerable certificate template (ESC1) and becomes domain admin using a sensitive account as the SAN name.
When Attack Disruption is over 99% certain that this is malicious activities, it kicks in. Remember that just RDP is very common still by both users and admins and Attack Disruption does not kick in until it is certain.
What is awesome with the feature is that when it kicks in, it takes care of entities involved in the chain, to completely block the Threat Actor. Such as containing device (If not onboarded to MDE, it will tell all onboarded endpoints that they are not allowed to communicate with the mentioned device). The involved users will be contained as well, blocking them from logons and disabling accounts.
Another example I would like to explain is the Business Email Compromise, BEC
A user clicks on a phishing link (even if we, as a community pushes security awareness, it still happens frequently)
The user who clicked ends up on the link lands on a phishing website, which act as a proxy and therefor can handle MFA requests as well since the proxy will try authenticate to, in this case, Office 365
MFA
From the Threat Actor side and the Evilginx, the authentication is captured
The cookies from the authentication can then be injected to the browser and the threat actors are logged in.
The Threat Actor then takes further steps, such as configure rules to exfiltrate all incoming emails using a forward rule to an external email address, or send a email to finance department to pay an invoice, and configure a rule to move all replies to such email to another folder to avoid the compromised user to notice this.
Back to Attack Disruption…
So what happens in the last scenario is that the service detects the events which by themselves might not be that bad, but when chained it’s certain that it’s something bad going on and disruption kicks in to stop the attack.
Another example
Attack Disruption is definitely a game-changer. When it detects something bad it will take actions on all assets used by the Threat actor automatically which will happen faster than a human can react and click. The humans are still needed, but this is a great feature the back the human SecOps.
Building Disruption Scenarios
When Microsoft develop new scenarios, they start, as in proactive Threat Hunting, with a hypothesis.
Research creates hypothesis
Research validates hypothesis in telemetry
Detector(s) development for events worth noticing
Detectors trigger as non-customer facing detections (establish 99% confidence)
Non customer facing alerts are manually investigated (establishing 99% confidence)
Release alerts to customers (not taking action)
Alerts are released but throttled – Disrupt engages (Triggered alerts are manually investigated)
Alerts are released through release rings (Customer grading is monitored)
Customers with Disrupt incidents are being contacted and interviewed (Validating response efficacy)
Scenario gets released to all customers
Detector are being reviewed and updated (based on new TTPs and customer feedback/ researcher grading)
From correlated signals to disruption
Scenarios and requirements
Endpoints
On-Prem Identity
Office 365
Cloud Apps
Sentinel
Cloud Identity
Human Operated Ransomware
**
**
Hands on Keyboard Attack
**
Business Email Compromise
**
**
Adversary-in-the-Middle
**
**
**
**
**
Compomised Credentials by Known Threat Actor
**
**
Credential Stuffing
**
**
Compromised IaaS Cloud Resource
**
SAP Financial Process Manipulation (3rd Party Signals required)
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.