Latest / Blue Security / Automatic Attack Disruption with OAuth Protection
Transcript
- 0:06Welcome to the Blue Security Podcast, a weekly podcast for
- 0:10information security defenders where we bring you discussions
- 0:13on best practices, tools, and implementation for enterprise
- 0:16security. Now here are your hosts for
- 0:19today's show, Andy JA and Adam Brewer.
- 0:22Welcome to this week's episode of the Brew Security Podcast.
- 0:24I'm Andy, your host. I'm Adam, your Co host.
- 0:27Today we're going to be talking about automatic attack
- 0:30disruption, which is one of the newer features within
- 0:33Microsoft's. Security stack.
- 0:36We have talked about this before.
- 0:37But there's something new that has been added in.
- 0:39We now have O auth protection built into automatic attack
- 0:43disruption. So throughout the show, we're
- 0:45going to talk about, you know, O auth and kind of go.
- 0:48Back over what? Automatic attack disruption is
- 0:51but over the past. Couple years.
- 0:53There's been a significant increase in nation state
- 0:58attackers and just cybersecurity attackers leveraging Oauth as an
- 1:03attack vector. And so now the Defender XDR
- 1:07platform uses the automatic attack disruption with these
- 1:11signals to mitigate Oauth activities that might be
- 1:15suspicious. So what is?
- 1:17Oauth in general, if you're not familiar, brand new to.
- 1:20Security or you're. You know, first listening in
- 1:22here using this term, you're like, what is Oauth?
- 1:25It's essentially a common standard used to access
- 1:27applications and services without revealing the password.
- 1:30So this is probably something that most people have
- 1:32encountered in their daily lives.
- 1:34You might go into a website and you might see the sign in with
- 1:38Google, sign in with Facebook, sign in with Apple.
- 1:42And often times there's a sign in with Microsoft.
- 1:44And what happens a lot is a user at a company might inadvertently
- 1:51or on purpose use their corporate Entra ID to sign into
- 1:58Microsoft instead of an MSA, like a Outlook.com e-mail
- 2:02address. And so when you do that, you
- 2:06know the employees might not think about it 'cause when you
- 2:08do that, it usually pops up something and by.
- 2:11Default if a security. Administrator has not gone in
- 2:14to. Restrict what?
- 2:16Applications can be. Approved or what?
- 2:19Permissions can be approved by default.
- 2:21It's wide open actually, and so a user can consent and often
- 2:26times there's applications. Even if you did go in and
- 2:29restrict it, there may be historical applications that are
- 2:32still there with permissions and so it pops up a sign that says
- 2:37here are the permissions that you want to grant to the
- 2:39application and the user. Will just hit OK because that's
- 2:42what users do. They're not going to look
- 2:43through the list and hit no, they're going to they're trying
- 2:46to do something probably business related, maybe like for
- 2:50example, it's a marketing department that wants to send
- 2:54out mass emails. So they get some, you know, like
- 2:59a platform to do like surveys like SurveyMonkey or something
- 3:01like that. And then they want to send out
- 3:03and you have to authenticate using this Oauth for permissions
- 3:07for SurveyMonkey to send out the emails on behalf of
- 3:10SurveyMonkey, right? And so the users trying to do
- 3:14something for work, they need to send out these surveys.
- 3:16And so they, they get this tool and they just hit OK, I of
- 3:19course I need to approve. This.
- 3:21Tool to do the emails but maybe? The tool itself says.
- 3:25Oh, not only can I send emails, but I can also read all of your
- 3:28emails and then I can like add users and so on and so forth.
- 3:31So there's all these different permissions and all the
- 3:34permissions are listed within the Microsoft Graph permissions
- 3:37reference, which I'll list in the show notes.
- 3:40There's a ton of them and they may not know that some of these.
- 3:43Are probably over privileged. So First things first.
- 3:48You should always check to see if you have restricted this the.
- 3:51Recommendation is to at least restrict it somewhat, not leave
- 3:54it out out in the open. There's a couple different
- 3:57options which. We've talked about before.
- 3:59You can do consent for all apps. You can do user consents from
- 4:05verified publishers or selected permissions.
- 4:08So you can do selected permissions of that you think
- 4:12are. LOW, which is also a good idea.
- 4:14Or you can just block it all and have an admin approve each one
- 4:17of them, which can be process burdening but that that could be
- 4:22an option as well. So first check that be familiar
- 4:25with the permissions in the graph reference and then you
- 4:28don't understand that over privileged apps can be a risk.
- 4:32For your. Company like our internal
- 4:35research shows that one in three Oauth applications are over
- 4:39privileged and so you know common tactic is an attacker.
- 4:44Will use like a a. Phishing source to compromise
- 4:47user count and then create a malicious Oauth application with
- 4:51elevated privileges. Or they could hijack an existing
- 4:54Oauth app and manipulate it for malicious use, and so once
- 4:58they're in with these permissions, then they can do
- 5:02certain things. Because if I have.
- 5:04Access to. Create an app.
- 5:05I could you know there's there's APIs and permissions in the
- 5:09graph reference for things like creating a new VMI can create
- 5:13AVM to do some Bitcoin mining or something like that or or host
- 5:18malware or something. So there's there's.
- 5:21Permissions and APIs that you don't want Oauth apps to do.
- 5:25And in fact, we, I think we had an over privileged Oauth app in
- 5:29one of the attacks from Microsoft a while back.
- 5:33And so these things they can they can hit any company.
- 5:36So that's what we're talking about here and trying to protect
- 5:38that in general. Just a reminder, Andy and I both
- 5:40work for Microsoft in our field security sales.
- 5:43We do the show outside of work, on our own time and with our own
- 5:46money, so we're just talking about stuff we know as we often
- 5:50do on the show, but not under editorial control or guidance
- 5:54from our employer. But of course, we'd love to keep
- 5:56our employer in our good graces. That said, and a good overview
- 6:01on Oauth apps what they are, you touched on some of the settings
- 6:05and enter ID that you can configure.
- 6:07Guidance is to configure that to the admin only setting,
- 6:11recognizing that that does create administrative burden,
- 6:14but is for sure the most secure option.
- 6:16One call out is in Defender for Cloud apps.
- 6:19If you're licensed for that, there is an entire app
- 6:21governance model in there that can go through your Oauth apps,
- 6:26talk about the prevalence of them, talk about the sensitivity
- 6:29of the permissions they've requested, can even highlight
- 6:32known malicious applications that are there as well.
- 6:36So certainly something to use if you're concerned about Oauth
- 6:39apps is look at those Defender for cloud apps options and and
- 6:43do that review of them. Let's see anything else to touch
- 6:46on. I would imagine that default may
- 6:48change in the future aligned with Microsoft Secure Future
- 6:51initiative where having defaults be be secure by default is, is a
- 6:56goal for Microsoft moving forward.
- 6:57You will see some continued shift in defaults over time as
- 7:01we move them to be secure out-of-the-box.
- 7:03And so I would imagine that's something that will change with
- 7:06time on with that enter ID setting.
- 7:08In fact, that may have already been announced when you were
- 7:10talking about that Andy and the default, I was thinking, I
- 7:13thought that changed, but sometimes it's hard to keep
- 7:15track of to be honest. But I would imagine you will see
- 7:18a change in the future, if it hasn't already.
- 7:20Yeah, my, my guess is based on our the way that things have
- 7:24been moving, we probably will change it to.
- 7:26The the verify publishers. At a minimum, yeah.
- 7:30If that hasn't happened already, that sounds like where it was
- 7:32going. I think it was at least going to
- 7:33move to verify publishers by default.
- 7:36OK, so. In Microsoft's automatic attack
- 7:40disruption capabilities, this is something that was announced a
- 7:43little while back and now we're expanding on some of.
- 7:46Those capabilities with this. O auth protection, but it's
- 7:50essentially a way that we can disrupt in.
- 7:52Progress attacks. And prevent them from spreading.
- 7:56And what it does is it analyzes things that are happening within
- 8:00your environment in the Defender XDR, including signals from
- 8:04devices, identities, applications, Azure activity, I
- 8:08mean everything that feeds into Defender XDR.
- 8:13And we're going to. Correlate these based.
- 8:15On some models that we've done using AI machine learning
- 8:19language. As well as real.
- 8:20World threat intelligence and if we can say with 99% confidence
- 8:27that this is an attack that we think is happening right now and
- 8:30that we know what is going to happen next, then we will block
- 8:34that attack from continuing. Now the question comes up a lot
- 8:39of why do we have to wait for things to happen, right?
- 8:42Why can't we just proactively? Stop it if we.
- 8:43See something like this happen? Why can't we?
- 8:45Just block it right off the bat. And there are some tools within
- 8:49the stack that can do that, but this is kind of the next step
- 8:53where. We're we're very, very.
- 8:55Sure, 99% confidence we have to have that signal because like
- 8:58some of these things, disabling a user containing a device can
- 9:02be disruptive for a business if it were just to happen with
- 9:06lower confidence. And so we do have to.
- 9:09Get. All these signals.
- 9:11To be. Exactly, you know.
- 9:13Very, very sure that this is the type.
- 9:15Of attack that's happening, it fits this model, it fits this
- 9:18threat intelligence. These are the signs we're seeing
- 9:21before we actually automatically take action on it.
- 9:25So. That's a really good point,
- 9:27Andy. And just to unpack that a little
- 9:29bit further, I would say we as a security industry have put all
- 9:33our eggs in the basket of protection for a very long time
- 9:37where we've been so over rotated on protection, protection,
- 9:40protection that we have not done as much work on detection and
- 9:45response as we should have. And as a result of that, when
- 9:49things do slip through the protection layer, we aren't as
- 9:53strong on what to do next. If we're relying on ad hoc human
- 9:57response that is human generated every time at human speed and
- 10:03with the limitations of human intelligence, that's a losing
- 10:06battle over time. And The thing is, attackers are
- 10:08smart. They may learn.
- 10:11I can consistently get past this protection if I do this.
- 10:16But here's where we're talking about XDR.
- 10:19And this is where XDR is not just a marketing term.
- 10:22In Microsoft language, XDR means more than just the endpoint.
- 10:27It means extended is how everyone else uses it.
- 10:30But that can just sound like extreme extended.
- 10:33Cool. Microsoft literally means no.
- 10:36This is signal from the endpoint, from the cloud
- 10:39identity, from the on premises identity, from the collaboration
- 10:42security solution, from the SAS security solution, from the
- 10:46cloud security posture management solution, from
- 10:48insider risk management, from data loss prevention.
- 10:51All of those signals flow into Defender XDR.
- 10:55And where Microsoft's Big Mac sauce, the secret sauce, if you
- 10:58will, is in that incident correlation engine where we're
- 11:02taking all of those disparate alerts from those different
- 11:05solutions and we're stitching them together in a timeline in
- 11:09order with all of those different security domains in a
- 11:12single view. It's the mythical single pane of
- 11:15glass, except we've been doing it now for half a decade.
- 11:18And honestly, when we get so hung up and like, well, we're
- 11:20doing a crowd strike compete. So let's look at Defender for
- 11:23Endpoint. We're doing a Proofpoint
- 11:24compete. So let's look at Defender for
- 11:25office. We're missing the bigger picture
- 11:28and that's Defender XDR. And that's what this is, a
- 11:31capability of this automated attack disruption.
- 11:34It's when we're able to create those instance with very high
- 11:37confidence and predict the next steps with very high confidence,
- 11:40with high fidelity signal and with 99% confidence we can
- 11:44disrupt the attack, then we're going to do it and we're going
- 11:47to have that on by default. That's what this is.
- 11:50And sometimes you don't get to the point of it being high
- 11:52fidelity when all these things are viewed in a vacuum.
- 11:56This is why we fundamentally believe that a multi vendor
- 12:00approach cannot be as successful as a platform approach.
- 12:04Because I may have one identity incident that by itself identity
- 12:08alert doesn't look like that big of a deal.
- 12:11Or I may have a SAS security incident alert, sorry, that
- 12:14doesn't look like that big of a deal.
- 12:16But when I put them on a timeline and I'm able to stitch
- 12:18them together across the miter attack framework and I can see
- 12:22the different stages progressing, progressing from
- 12:25initial access and reconnaissance to lateral
- 12:27movement. Now I know with confidence
- 12:30something is happening and let's stop it.
- 12:33And that only happens when you have all of those disparate
- 12:35alerts brought together and correlated.
- 12:38And if you can't do that, or if you're relying on your SIM to do
- 12:41it with some sort of static analysis or static rule sets,
- 12:45then you're you're missing that. And that's what we so
- 12:48fundamentally believe is this is the only way to really do this
- 12:51at scale effectively. And it lights up capabilities
- 12:54like automated attack disruption.
- 12:56Yeah. And just to kind of touch on
- 12:59automatic attack disruption from the beginning if you're not
- 13:03familiar. We did do a little bit.
- 13:05Of a show on this as well, but it has a few actions that it can
- 13:09take automatically contain the device which is uses MDE
- 13:14defender for endpoint to do that.
- 13:16So if there is something that's malicious on the device itself
- 13:19and we know with high confidence that it could laterally move, we
- 13:22can cut that off and automatically contain that
- 13:25device without any administrative action.
- 13:28You can also disable. The user, so this uses.
- 13:31Defender for identity to do that, and you do.
- 13:33Have to have that. Action Identity within defender
- 13:36identity configured which uses a GMSA to do that.
- 13:40But when you do. That if we have.
- 13:43An identity. So MDMDI is on premise so that
- 13:46you know for Active Directory and of course like it can work
- 13:49with Intra. As well to disable that so it
- 13:51all. Depends on how you the disable
- 13:54identity works differently depending on the identity that's
- 13:56involved and how it's being scoped, but.
- 13:59Either way, we have the ability to disable.
- 14:01The identity for on Prem or in the cloud automatically without
- 14:06any administrative actions. So if we detect.
- 14:09That with 99% confidence or higher that the identity is
- 14:13compromised, we'll disable the identity.
- 14:16Now the problem is with just disabling the identity is this
- 14:21stuff takes time in the modern identity world.
- 14:23Active Directory you disable. An identity on Prem, it takes
- 14:27time to replicate that change to the domain controllers.
- 14:30If you sync that identity with ENTRA 80, sync takes time unless
- 14:34you kick off a manual Dirsync right?
- 14:36So these things take time in order to replicate and and then.
- 14:41Oh, by the way. If it's a cloud resource, you
- 14:43have. Tokens that are involved and so
- 14:45those tokens have lifetimes to them, whereas your session token
- 14:48is is at least an hour, right And so that.
- 14:53That short lived. Token depending on where it was
- 14:55issued and when it what time frame the identity.
- 14:58Was disabled like. We'll still have a lifetime.
- 15:02For the attacker. To do damage to.
- 15:03Whatever resource they already have access to.
- 15:06And so this is where this automatic attack disruption
- 15:09shines. There's another action that it
- 15:11can take called contain user. And So what it does?
- 15:16Is it uses the. MDE the defender for M point
- 15:20agent to contain the user automatically.
- 15:25Where it'll. Block any lateral movement or
- 15:27remote encryption related to incoming communications with
- 15:31Defender for endpoint onboarded devices, and so if you already
- 15:35have a connection to something, it can cut that off.
- 15:38So say you are. Using.
- 15:40RDP to a server or your SSH to a resource or you have.
- 15:46Access to an application that you've authenticated to.
- 15:50We can communicate between the MDE onboarded devices and say oh
- 15:54this. User is.
- 15:55Compromised. Because we have those.
- 15:58Signals with XDR and moves a lot faster than these traditional
- 16:01sync methods of identity and we can automatically revoke access.
- 16:06To resources. And applications that have
- 16:08already been authenticated to and so that's really important.
- 16:13Because it it. Travels a lot faster and you can
- 16:15cut off. Access to those resources right
- 16:17away. The usual response time for
- 16:20automated attack disruption is under 3 minutes.
- 16:23To give you a timeline on that, as Andy was comparing to
- 16:26traditional user disablement, which can depending on your
- 16:30Dirsync interval and everything else, access token expiration
- 16:33can be up to an hour in many cases, if not longer.
- 16:36So to summarize, Andy, what we've talked about so far, we've
- 16:38talked about automated attack disruption, which we've done on
- 16:41a previous show and we covered the ability to disable
- 16:45identities, to contain endpoints.
- 16:47And now you just covered containing identities.
- 16:50And so now we're going to pivot to talking about the new
- 16:53capability, which is has to do with Oauth.
- 16:56So let's talk about that. Yeah, so an attack example for
- 17:00this new. Oauth capabilities is.
- 17:02Let's say for initial access. You know, if we're using the
- 17:05miter framework here, initial access, user gets an e-mail that
- 17:09looks legitimate but contains a phishing link that redirects
- 17:13them to an adversary in the middle phishing kit.
- 17:15Through that, you know, the next step in the minor attack
- 17:18framework is credential access. And so the user clicks on that
- 17:21link, they're redirected. To the the proxy.
- 17:24Impersonation page and they fill in their credentials and the
- 17:28attacker steals the credentials in the access token which gives
- 17:31them the ability to create or modify O auth applications in
- 17:35persistence and defence. In evasion, the attacker is
- 17:39going to create multiple malicious.
- 17:41O auth apps across. The various tenants with.
- 17:45Read Write capabilities. To the user's emails, files,
- 17:47other resources, and then the attacker creates an inbox
- 17:51forwarding rule to exfiltrate emails, the additional rule
- 17:55created to empty out the sent box, and then deleting any of
- 17:58the evidence that the user was compromised.
- 18:01So most organizations are fairly blind when it comes to this type
- 18:07of attack. So we'll come in with automatic
- 18:10attack disruption Defender XDR is going to gain insights from
- 18:14all of these different sources, endpoints, identities, e-mail,
- 18:17collaboration tools, SAS applications, and they correlate
- 18:20it into this one single high confidence incident and it's
- 18:25going to take automatic action. To disable the.
- 18:28Identity and contain that user. That.
- 18:32Created that highly malicious O auth application.
- 18:35Now before you go any further, let's let's unpack why
- 18:38organizations are so blind to this.
- 18:40So the initial e-mail could have been a zero day website, a
- 18:45bespoke website that maybe was stood up with Evil Jinx or one
- 18:48of its cousins that's never been seen before. 0 day threat and
- 18:52the user clicked on it and the attacker stole their access
- 18:55token. They intercepted it.
- 18:57Attacker in the middle took that access token, replayed it.
- 19:01So we have no like sign in logs from unusual sign insurance or
- 19:05anything like that because we're using the existing sign and
- 19:07we're just stealing the access token.
- 19:09And most organizations up until recently have not had really
- 19:13good ability to detect token replay as well.
- 19:15So we're going to replay the token, then we're going to go
- 19:18quietly create a couple of Oauth apps to gain that persistence,
- 19:21which we have poor visibility into and poor understanding to.
- 19:25And then we're going to set up e-mail forwarding rules, which
- 19:27by the way, organizations also tend to be blind too.
- 19:29At no point have we like signed in as the user done anything to
- 19:34give any hint that anything's wrong.
- 19:35The user went through a normal sign in.
- 19:37It worked as normal. It it was their organizations
- 19:40legit sign in Page just passing through a proxy.
- 19:43So it's not like they got redirected to some sketchy
- 19:45looking phishing site that was like FedEx spelled wrong and
- 19:48told them they had a package or anything weird like that.
- 19:51It was none of this really raises anybody's attention.
- 19:54And again, talking about like why putting all the alerts
- 19:57together and correlating them helps.
- 19:59Think of any one of these alerts.
- 20:02No software ran on the endpoint. We clicked a link to a one time,
- 20:06perhaps even bespoke 0 day website that's never been
- 20:09flagged as malicious. We we see no anomalous sign
- 20:12insurance. We don't really see any
- 20:14anomalous behavior or anything because all of this is
- 20:17relatively under the radar. Creating new e-mail rules is not
- 20:20terribly unusual. Consenting to Oauth apps and
- 20:23most organizations is under managed and also does not raise
- 20:26attention. All of this by itself is not
- 20:30that big of a deal. And so if you're looking at all
- 20:32these in a vacuum and you see the click and proof point and it
- 20:36doesn't get your attention from e-mail perspective and you see
- 20:40in Netscope that they visited this website, it doesn't get
- 20:42your attention and you don't have any alerting on some of
- 20:46these other things like you. Can you begin to understand why
- 20:49like none of this bubbles up to be attention worthy.
- 20:53But when you put it all together and you say Honda click the zero
- 20:56day and we see a token theft and we see this, Oh, and we see that
- 21:01and you put that all together, all of a sudden you're like,
- 21:02holy smokes, there's something going on here.
- 21:05And I'm really confident about it.
- 21:06But you have to have that visibility across domains to do
- 21:09that. And unless you are a SIM warlord
- 21:12to build, you know the most incredible analytics rules in
- 21:15your SIM to stitch this together.
- 21:16You're not catching this any other way other than having
- 21:20something that can correlate all those together.
- 21:22Yeah, and I always tell organizations that I.
- 21:24Talked to about this. Is that automatic attack
- 21:27disruption? Is at its.
- 21:29Core and identity protection obviously like it uses MDE.
- 21:32As well for device. Contained but at its.
- 21:35Core it's It's a. Huge identity protection
- 21:38solution. Because it it's.
- 21:41Looking at the identity compromised identities helping
- 21:43you. Disable the users as well as.
- 21:47Contain that lateral movement with contain user ability.
- 21:50And so that's really we're gaining insight on the malicious
- 21:54Oauth creations and signals here.
- 21:57And based on those types of signals, now we're going to
- 22:00disable the compromised user that.
- 22:02Created that Oauth app. And then you can remediate that
- 22:05later. Now there is some integration.
- 22:07Required for this Oauth feature which is there.
- 22:11You know, Adam, you had mentioned previously that the
- 22:13Fender for. Cloud Apps has that.
- 22:15Oauth permissions analyzer that. That's posture management app
- 22:20governance in there. You do have to.
- 22:22Have that integration turned on for XDR in order to monitor for
- 22:28malicious Oauth applications and if you wanted to go and revoke.
- 22:32That Oauth. Permission that's also done
- 22:35within defender for. Cloud apps, so you have to.
- 22:38Go into Defender for cloud apps, look at the application, revoke
- 22:41the permissions and also. Revoke the application.
- 22:44And you can also have different policies built into Defender for
- 22:47cloud apps to do that automatically if.
- 22:49If a threshold is. Exceeded in in the risk of the
- 22:52application to just revoke it automatically and so that's part
- 22:57of it. So if we get into some of the
- 22:58the licensing requirements like. How do I get?
- 23:01This. How do I turn it on?
- 23:02Adam, you mentioned that it is turned on by.
- 23:04Default. Really.
- 23:05Any one of the defender things that.
- 23:08If you have a. License for one of the defender
- 23:10things. It's part part of automatic
- 23:13attack disruption already, but the more that you have and the
- 23:16more that you. Deploy the better the.
- 23:18Solutions going to be right like at a minimum you have to have at
- 23:22least one of the defender stacks like defender for endpoint,
- 23:25defender for identity, defender for cloud apps, defender for
- 23:28endpoint. But if you have a combination of
- 23:30licensing like EMSE. 5 or E5 security or.
- 23:33The full E5. Stack.
- 23:35Obviously that's. Going to be better and then the
- 23:36more that you deploy from those and you know we're going to do a
- 23:40show on this shortly in the future but.
- 23:42A lot. Of our stuff even works in
- 23:44passive mode and you can deploy. It side by side.
- 23:47With third party things and so you know, stay listening to for.
- 23:50That. Show because I think that would
- 23:52be very. Valuable for a lot of people
- 23:54because we. Understand that not everybody is
- 23:56A1 Microsoft Shop. Even Microsoft's not a one
- 23:59Microsoft shop, right? Right.
- 24:01Like we use obviously all of our tools, but.
- 24:03We have third party tools as well and so you know.
- 24:06A lot. We're not even the first to
- 24:08adopt our tools in some cases because you know, at the scale
- 24:12of Microsoft 220,000 employees and contractors like it has to
- 24:15be enterprise ready to be ready to go.
- 24:18And our CSO's past and present have said, hey, you know, our
- 24:23job is to protect Microsoft, not to be the first and best
- 24:27customer for our engineering teams.
- 24:28Now, obviously we're going to use our tools whenever and
- 24:31wherever it makes sense and when they're ready.
- 24:32But we have a mandate to protect the company, not just be a
- 24:36showcase customer. And so, yeah, we're, we're not
- 24:38100% homogeneous Microsoft and, and nobody is.
- 24:42And to Andy's point, and I look forward to doing that, show,
- 24:44Andy, there are ways to get some of this telemetry and
- 24:48information, even if it's not your primary tool.
- 24:51Running Defender for endpoint and passive mode runner
- 24:53defender, running Defender for office as a second set of eyes,
- 24:57as as 2 examples of tools where you can capture that telemetry
- 25:01and that information, even if you're still relying on another
- 25:04solution today. And that can help get these
- 25:07signals into the XDR platform and enable these kind of use
- 25:10cases. So as far as configuration goes,
- 25:12now it is turned on by. Default but if.
- 25:14You wanted to go and configure. The level of.
- 25:17Automatic attack disruption that's available.
- 25:20For your devices. And users you can do that and so
- 25:23if you go under endpoints and permissions and device groups
- 25:27you can review your. Device group.
- 25:28Policies and there's a remediation level column.
- 25:32Microsoft recommends using full remediation and so that's.
- 25:36What it defaults to and. If you do full remediation,
- 25:39Defender for Endpoint will automatically investigate and
- 25:42remediate devices without any human intervention.
- 25:45There's. Several semi approval ones that
- 25:47are there and then there's also a no automation.
- 25:50So if you do no automation, you're gonna turn off automatic
- 25:54attack disruption for those devices.
- 25:57And there may be a reason that you wanna do that for certain.
- 25:59Device groups. So again.
- 26:01These are done by. Device groups.
- 26:03The identities. There's no configuration for it.
- 26:05If we sense an identity that is gonna be, that is compromised
- 26:0999%, we're going to disable the identity and you can go on from
- 26:12there. But disabling devices can be
- 26:15impactful and so you can choose that level of automation here.
- 26:19Now the semi ones you can do semi.
- 26:21Approval for all folders. Which means that you do have to
- 26:24approve the remediation action or you can do semi approval for
- 26:28non temporary folders or you can do semi approval for system
- 26:32folders. And so there's.
- 26:33A couple levels that you can do for that for those device
- 26:37automation. Levels and you can pick and
- 26:38choose. So you also need to configure
- 26:41some other things. And again, we're going to link
- 26:43the documentation for configuring this in the show
- 26:46notes, but you do have to configure device discovery to at
- 26:49least standard mode on. Your device.
- 26:52MDE settings MDI auditing on domain controllers needs to be
- 26:56turned on. I mentioned the MDI action
- 26:59account. You got to have a GMSA.
- 27:01Scoped for that. Action account in order to
- 27:03disable identities on Prem and that Defender for Cloud Apps
- 27:07connector needs to be turned on. For the O auth.
- 27:10Portion of this so some things that you do need to do a lot of
- 27:14this stuff most customers who are using.
- 27:16XDR probably already have configured, so if this stuff is
- 27:21stuff that you've already. Done.
- 27:23It's turned on automatically and you're like good to go.
- 27:25Then there's nothing else, but there's some granular controls
- 27:28that you can do. For the device groups.
- 27:30But overall, I think this is, you know, it was a game changer
- 27:34back then. It's still a game changer now.
- 27:36This is something that's very unique to Microsoft.
- 27:38Like there's really no other company out there.
- 27:41And, and this is not just like me talking as a Microsoft
- 27:44employee, but as a security professional.
- 27:47This is. Game changing.
- 27:49There's There's really nothing else on the market in a suite
- 27:52that has. This type of capability.
- 27:53With this type of. Level of visibility.
- 27:57And access to do this type of defense.
- 28:00Yeah, absolutely. And and we do market it that way
- 28:03too. I, I have just had the
- 28:05opportunity to review a lot of our marketing material slides
- 28:10and, and they certainly lean heavily on this because the
- 28:13belief is it's very differentiated.
- 28:15It's, it is unique capability in the Microsoft stock today.
- 28:18And it's by virtue of the approach that Microsoft uses
- 28:22with the platform as opposed to and kind of doing the multi
- 28:25vendor or individual workload solutions, it's, it's building
- 28:29them together and that's the difference maker here.
- 28:32So you know, certainly taking as much advantage of this as you
- 28:36can understand if if you're using other solutions, you may
- 28:39not be able to take advantage of all of it.
- 28:41But this is one of those things that's really high upside and
- 28:44very little downside. And yes, as Microsoft under
- 28:48continues down this secure future initiative path, we are
- 28:52going to see more programs and and software from Microsoft ship
- 28:56in its most secured state by default secure out-of-the-box.
- 29:00And you will see more of this we, we mentioned it with the
- 29:03entry ID settings could potentially change.
- 29:04But this is not the last you will hear where Microsoft will
- 29:07say this is on by default in its most strict and secure setting.
- 29:11And that's because that is our North star for how we're going
- 29:14to build software and services moving forward is they will be
- 29:17secure by default, secure by design with secure operations
- 29:21built in. And and that's we talked about
- 29:23the tyranny of the default all the time on this show.
- 29:25And and you will see that shift. So the days of having to quote
- 29:29UN quote unbox something like software doesn't come in boxes
- 29:32today, but having to spend a whole bunch of time hardening it
- 29:35and getting it to that state. The goal is in the future, you
- 29:38don't have to do that because out-of-the-box it's in its most
- 29:41hardened and secure state. Obviously, some of those are
- 29:43aspirational goals more than maybe realistic goals in some
- 29:46cases. But you will see that shift with
- 29:49Microsoft over time. And this is a great example of
- 29:52that where we're confident this is not going to give you false
- 29:55positives. This is not going to take
- 29:57undesirable actions. This is only going to kick in
- 30:00when you really want it to kick in and and stop those actions
- 30:04within 3 minutes of detection in almost all cases with 99%
- 30:08confidence. And that's just something at
- 30:10human scope and scale we cannot solve for.
- 30:13And you talked about, Andy, in one of the two major security
- 30:17incidents Microsoft had in 2023, one was at the hands of the
- 30:21Chinese, one was one was at the hands of the Russians.
- 30:24And I forget which one was which.
- 30:25I believe this was the Russian attack that leveraged the Oauth
- 30:28applications to kind of evade detection.
- 30:31We literally took those learnings from that incident and
- 30:35built them into the product. So today we would have automatic
- 30:39attack disruption against the attack technique that they used
- 30:43that was so novel and so flew under the radar that it was able
- 30:47to breach some of our defenses, not all of them because the
- 30:52defence in depth and and layered approach really did work and
- 30:55prevent a larger blast radius from that incident.
- 30:58But now taking what we learned from that and making it so all
- 31:02customers are protected from that attack by default.
- 31:05That that's that's why I love being a cybersecurity
- 31:07professional and it's why I talk about like the rising tide
- 31:10lifting all ships and, and those sorts of, you know,
- 31:13cybersecurity is a team sport, all of those things.
- 31:16It's because I do believe that like when we can take bad things
- 31:20that happen and and disappointing things that
- 31:22happen, but we can learn from them and we can all harden our
- 31:26defenses over time because of that.
- 31:27What we learned. That's really cool.
- 31:29And that's what I love about cybersecurity is when we're able
- 31:32to get those wins and make these attackers have to work even
- 31:35harder to get something done. And they will, I have no doubt.
- 31:38But as we continue to harden our defenses and make their jobs
- 31:41harder, that's that's the fun part of this job is stopping the
- 31:44bad guys. All right, that's.
- 31:45Our show for. This week, thanks for watching
- 31:47and listening. As always, our contact
- 31:49information along with the links to what we talked about will be
- 31:53in the show notes. If you have any questions or
- 31:55topics you want us to talk about in the future, please reach out.
- 31:58Thanks. We'll talk to you guys.
- 31:59Next week. Thank you for listening to the
- 32:00Blue Security Podcast. Please check out the show notes,
- 32:03catch up on episodes you may have missed, and subscribe so
- 32:06you don't miss any future episodes.
- 32:08Find Andy on Twitter at a Jaw Zero and Adam at AJ Brewer.
- 32:13See you at our next episode.