Latest / Blue Security / MDE Tamper Protection
Transcript
- 0:06Welcome to the blue security podcast, a weekly podcast for
- 0:10information security Defenders, where we bring you two sessions
- 0:13on best practices, tools and implementation for Enterprise
- 0:17security. Now here are your hosts for
- 0:19today's show, Andy jaw, and Adam Brewer.
- 0:22Welcome to this week's episode of the blue security podcast.
- 0:25I'm Andy your host. I'm Adam your co-host this week.
- 0:28We're going to talk about a protection in Defender for
- 0:31endpoint specifically. But this concept of tamper
- 0:34protection does apply to other endpoint protection solutions
- 0:38that are out there. Other vendors have some sort of
- 0:41flavor of this can be turned on or off.
- 0:44And so the reason why I wanted to talk about this was we at
- 0:47Microsoft came out with a Blog recently announcing that tamper
- 0:51protection for Defender. For endpoint will be turned on
- 0:54for all existing customers unless you already have, it
- 0:58explicitly turned off and that's Starting to roll out on October
- 1:0124th of this year, so little less than a month.
- 1:05Tamper protection actually has already been turned on by
- 1:08default for home users, since it came out in March of 2019.
- 1:13And then last year, it was turned on by default for new
- 1:16customers of Defender. For a point p 2 or M 365, E5.
- 1:21I definitely recommend this Adam.
- 1:23I know you recommend this and this is Microsoft's stance, is
- 1:26that you should turn this on unless there's specific
- 1:30Instances or for whatever reason testing that you want to have it
- 1:34off and after October 24th of this year, you're going to
- 1:37actually explicitly have to Define that in policy to turn it
- 1:40off. You have to opt out.
- 1:41It's going to be turned on by default.
- 1:43So what is tamper protection? Exactly.
- 1:47Really what it is. It's a feature.
- 1:49It's a specific feature within Defender for endpoint and it's
- 1:53available on Windows 10 and 11 Server. 2012 R2, 2016 20, 19,
- 1:59and 22, as well as Mac OS is currently not available for
- 2:04Linux will talk about that a little bit later on why that is.
- 2:08But for the majority of Windows modern operating systems, as
- 2:13well as server that are supported, it is available, it's
- 2:15not available for Windows 8.1 or Windows 7.
- 2:18One of the reasons why this feature was implemented is
- 2:22actually because we saw several attack vectors where the
- 2:27attackers were turning off the Endpoint protection.
- 2:30So they would compromise the device through vulnerability or
- 2:33the network or whatever. And then once they got access to
- 2:36the device you can use Powershell or registry
- 2:38modification to turn off and point protection.
- 2:41Whether it's Defender for endpoint or something else
- 2:43really, any endpoint protection, usually can be just turned off.
- 2:47And then of course, like once it's turned off, you can deploy
- 2:49anything you want, malware and ransomware.
- 2:51It's free game at that point and so Microsoft at the beginning of
- 2:552019 or, you know, even further back started developing this and
- 2:58then rolled it out in Teen. And it's really been a huge way
- 3:03to protect against this specific attack Vector.
- 3:06If you think to reports of several recent security
- 3:11incidents at Major organizations, often times part
- 3:14of the narrative has been exactly what you just described
- 3:16that attackers got in. And one of the first things they
- 3:19did was disabled the endpoint protection before proceeding
- 3:22with their attack. So this is a very well-known
- 3:25real world thing that attackers do and of course they do.
- 3:28I mean it's makes a ton of sense.
- 3:29Right? And so went a protection is
- 3:32enabled, even if you are the admin on the machine, there are
- 3:36things. You can't do like disable virus
- 3:39and threat protection. Disabled real-time protection,
- 3:42turn off Behavior, monitoring disable, the antivirus
- 3:45protection like the office antivirus disabled.
- 3:48Cloud delivered, protection remove security intelligence
- 3:51updates. Like, you know, all the things
- 3:53that normally your endpoint protection platform is doing,
- 3:56you know, turn all that off, suppress notification, so that
- 3:59users don't get. That something's funny going on
- 4:01disabled scanning of archives and network files.
- 4:03Disable automatic actions on detected threats like
- 4:06automatically quarantining or deleting them.
- 4:08So when tamper protection is enabled, all that stays on and
- 4:11attackers can't disable it just because they have admin on a
- 4:14machine which is incredibly advantageous to stopping an
- 4:18attack and it's four steps. Absolutely.
- 4:20And how it does this is it essentially locks these values,
- 4:24right? So Cloud deliver protection is
- 4:26turned on. Once you have tamper protection,
- 4:28turn on AV. It's turned on real-time
- 4:30protection is turned on, and once that is turned on, it's
- 4:34locked in place, and you cannot change it through registry
- 4:38editor. You can't change it through
- 4:40Powershell. You can't change it through
- 4:41group policy. It has to be done through some
- 4:44sort of device management. So, SCCM or InTune are pretty
- 4:49much the only ways that you can turn it on or off.
- 4:53So, let's just talk about that real quick.
- 4:54Because obviously configuration manager, if you're using
- 4:57configuration manager, you can as admin.
- 5:00SCCM can turn this feature on or off for specific device groups
- 5:04with in there as well as in tune.
- 5:06So those are pretty obvious. If you have a device that's not
- 5:09in management. You can turn it on and off
- 5:12locally on the device. So if it's just stand alone and
- 5:16not managed through SCCM or in tune, then you can go.
- 5:19And so you can look at your home computer.
- 5:21If you have a home machine on Windows, you can go in and take
- 5:24a look at it and you'll be able to turn on and off tamper
- 5:27protection. If it's on, you can't turn.
- 5:29Turn off those things that we were talking about but you can
- 5:32turn off tamper protection if that makes sense.
- 5:34So it's like a one switch and if you're an admin, you can turn it
- 5:37on and off if it's outside of management.
- 5:40Obviously, if it's within management that options can be
- 5:42great out, you could also manage this setting through the
- 5:45defender portal, if you do that, like have it, what?
- 5:48We call a Defender for endpoint security settings, managed
- 5:53device, which doesn't require enrollment into a device
- 5:57management solution. It's just being Through Defender
- 6:00for endpoint, and it has certain ways that you can just manage
- 6:03the security settings. This being one of the security
- 6:06settings, if you're doing it that way, that's okay.
- 6:08It does require dependency on the cloud deliver protection
- 6:11which does require connection to the internet to turn that
- 6:15setting on or off. So you Narada have Cloud deliver
- 6:17protection turn on or Microsoft Advanced Protection Service to
- 6:20check. If it's turned on, you can just
- 6:22go to the security app within Microsoft and see if it's turned
- 6:26on or you can do a Powershell command lit called get Get MP
- 6:30computer status and look to see is to a protected or real-time
- 6:34protection enabled, equal true. And if it does, then you're good
- 6:37to go. You can also view any type of
- 6:40tamper attempts to disable or do anything with it.
- 6:45Those alerts will show up within the defender portal for Mac OS.
- 6:49I wasn't able to verify this, but I believe this is also going
- 6:54to apply to Mac OS, mde. If it's not, we'll make a
- 6:57correction at a later show, but I Able to look that up right
- 7:01now. There are three modes when you
- 7:03deliver the fender for a point, to a Mac, there's disabled audit
- 7:07and block. And right now before it becomes
- 7:10default disable a still, the default option.
- 7:13And like I said, I believe it's going to be turned to block.
- 7:17When the window side is going to be turned on.
- 7:19You can set it to disable and that just it doesn't have
- 7:22anything turn on. If you have it on audit it will
- 7:24show any type of tamper operations in the logs, but it
- 7:28won't specifically block anything.
- 7:29Thing and then if you set it to block, it will fully turn on
- 7:33tamper protection and all tampering operations are
- 7:35blocked. And so, like tampering
- 7:37operations are actions to uninstall Defender for endpoint
- 7:40trying to edit any of the config files.
- 7:42Creation of new files under a Defender for endpoint location.
- 7:46Trying to delete any of the defender endpoint files,
- 7:49renaming of the files, or any commands to stop the agent, all
- 7:52that will be blocked when it is turned on and you can manage
- 7:56those settings through either. A manual configuration, where
- 7:59you live, We are just entering in a command locally in The Bash
- 8:03window, or through JF, or in tune via a configuration, XML
- 8:07file. And I mentioned Linux in the
- 8:09beginning, tamper protection is on the roadmap.
- 8:12I was sitting in one of our product calls and some folks
- 8:15were talking about it and when is it coming out?
- 8:17And it's been on the road map for a long time, it is something
- 8:20that they're aware of and that they're working on.
- 8:22But because of the way Linux works, if you have root, you
- 8:27pretty much have free Reign Over the operating system.
- 8:29So, Oh, it's a little bit more difficult to implement for
- 8:32Linux. There are some tamper resistance
- 8:35features built-in and certainly any type of actions to disable
- 8:39or uninstall the agent are logged.
- 8:42But it's not protection parody with the other operating systems
- 8:45quite yet. Just a note on the Mac OS piece,
- 8:48just to clarify. What Andy was saying when he was
- 8:50talking about whether or not, this applies to Mac OS, Mac OS
- 8:53does have tamper protection with Defender for endpoint.
- 8:55That was not what Andy was questioning because he obviously
- 8:58went through the detail on how you enable it.
- 8:59What he was saying, we just need to confirm is whether or not
- 9:02it's having it enabled by default, October 24th, along
- 9:05with its Windows Brethren. And again, we'll follow up on a
- 9:08future show, but assume that's going to happen.
- 9:10Until said otherwise, the only data point I would add and add
- 9:13to that conversation, is it looks like tamper protection on
- 9:16Mac OS is still in preview, so more likely than not, maybe not
- 9:20being rolled out automatically, but, you know, we'll follow up
- 9:23on a future show with the Deeds. But either way, good to thing to
- 9:25get familiar with and be prepared for I forgot that it
- 9:28was in preview. Thanks.
- 9:29We Went on so many internal calls and features that are in
- 9:32preview and roadmap. That's a good thing to note that
- 9:35it is in preview. So with that in mind it probably
- 9:38is not going to be enabled by default, right?
- 9:41As my guess. That would be my guess too.
- 9:43Yep, and preview features, just for people's situational
- 9:47awareness. Sometimes preview features, get
- 9:49rolled back. They're not always things that
- 9:51will get rolled out into production.
- 9:54A lot of common features that have been asked for like this
- 9:57one here. Tamper protection for Mac OS, 9.
- 9:59Nine point, nine percent, pretty sure that it will not get rolled
- 10:02back, but there are many features that go into preview
- 10:05that are rolled back. So, yes, for them to turn it on
- 10:07by default for a preview feature, probably not going to
- 10:10happen. A great Soul.
- 10:12Good call out there, and thanks for the update on that atom.
- 10:15Yep, that was like a real time, follow-up.
- 10:18So, you know, a lot of people talk about in the industry
- 10:20tamper-proof, and that's a whole nother conversation because in
- 10:25order to make something tamper-proof, in my opinion, it
- 10:27would mean that you cannot turn it off.
- 10:29Or modify it, right? And so in this case, like if
- 10:32you're compromising your admins who still have access to the
- 10:35configuration, then you technically can still disable
- 10:38protection. Attackers could get those
- 10:40credentials access, the security portal just like they did.
- 10:44You know, we talked about the Uber security incident where
- 10:47they compromised, the Vault compromised, the admin
- 10:49credentials, and then we're able to get access to the security
- 10:52portal. You can pretty much do whatever
- 10:54you want. So, this is protection from the
- 10:57device level. If that device gets compromised,
- 10:59your Not able to manipulate the settings outside of the
- 11:03management. So still a very good thing and
- 11:05again, I mentioned this at the beginning of the show, if you're
- 11:08not on Defender friend point, just talked to your solution
- 11:10vendor, that is your endpoint protection and ask about this
- 11:14type of feature, maybe you already know about it, maybe you
- 11:16have it enabled, maybe you don't.
- 11:18And if you don't I would definitely look at getting this
- 11:20type of feature enabled because not being able to modify the
- 11:24settings. Locally is key even to be able
- 11:27to add in an exception, right? If I was an attacker, May Be, I
- 11:29can't turn it off but I can access the exceptions list.
- 11:32Well, I'm just going to make a folder and exception and then
- 11:35drop my malware in there and execute it from there, right?
- 11:38So there's a lot of different ways you want to make sure that
- 11:41these settings are just configured through your device
- 11:44management solution. Speaking of exceptions, I know
- 11:47we all have short-term memory sometimes but exceptions is one
- 11:51of the reasons, the solarwinds exploits were able to propagate.
- 11:56So prolifically is because solarwinds by default.
- 11:59Did you exclude it from all your antivirus monitoring.
- 12:02So that's a good call there. Just on a total random side note
- 12:05that you should be very, very, very conservative with
- 12:08exclusions. You do put into place for that
- 12:10exact reason and that that applies not just to anodized
- 12:13applies to email as well, which is another conversation for
- 12:15another time. Yeah, don't accept stuff unless
- 12:19you really, really have to. Yeah, that's a great call out
- 12:22Adam because I actually had a conversation with a customer
- 12:24this week about them. Migrating from one EDR,
- 12:28solution, or Iris solution to another.
- 12:31They happen to be wanting to move off of one competitive
- 12:33vendor on to Microsoft's, and they wanted to know how to
- 12:37migrate their exceptions policies over.
- 12:40And I said, well, you pretty much have to do it manually
- 12:42because there's just no way to like exported via like a CSV or
- 12:46XML or whatever you have to look at it and then add it in.
- 12:49However, I said this is a good time to review that list because
- 12:52I bet there's things on there that you don't need to accept
- 12:55anymore. So, look at each exception,
- 12:58whether it be a file path or I'll type even and ask yourself
- 13:02if that should be on the exceptions list because every
- 13:05single exception is a hole in your security, right?
- 13:07So maybe do an audit of your exceptions list at some point,
- 13:10which might be very long. If you've had your solution for
- 13:13a long time. Hmm.
- 13:15Take a look and be very cautious of what you're adding, just
- 13:18like, what Adam said. And that's our show for this
- 13:20week. Hopefully, you learned something
- 13:21about tamper protection and if you don't have it on, it's going
- 13:24to be turned on for you. Otherwise make sure that you
- 13:27have a policy are to Able it, if that's what you want to do over.
- 13:31We recommend that you leave it. On our contact information will
- 13:34be in the show notes. If you guys have any questions
- 13:37comments topics that you want us to talk about on future shows,
- 13:40thanks. And I'll talk to you guys next
- 13:41week. Thank you for listening to the
- 13:43blue security podcast. Please check out the show notes.
- 13:46Catch up on episodes. You may have missed and
- 13:48subscribe so you don't miss any future episodes.
- 13:50Find Andy, on Twitter at age 0, 0, and Adam at AJ Brewer.
- 13:55See you at our next episode?