Latest / Blue Security / Apple 0-day's, Storm-0558 follow up, MFST Conditional Access Dashboard
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 house for
- 0:19today's show, Andy JA and Adam Brewer.
- 0:21Welcome to this week's episode of the Blue Security Podcast.
- 0:25I'm Andy, your host. I'm Adam, your cohost.
- 0:27Adam, this is season three, our third year episode 52.
- 0:32So this marks the end of our third year and that is just nuts
- 0:36to me. That's incredible.
- 0:37You know how many podcasts were started during the pandemic?
- 0:40That maybe went a couple of episodes or maybe hung on for a
- 0:43little while. But to go through three years of
- 0:46shows that we've been doing it this long, that's really cool.
- 0:49And thanks for going on this journey with me.
- 0:50For those of you that don't know listeners of the show, Andy
- 0:53preps the majority of the. Topics and the show notes each
- 0:56week. So he puts in the time to
- 0:58research and determine what we should talk about.
- 1:00And he incorporates feedback from listeners and from me, as
- 1:03well as the flavor of the day on Twitter or X or whatever we're
- 1:06calling it these days. So he spends a lot of time on
- 1:08that. And then he also spends a lot of
- 1:10time editing the audio each week, which if you've listened
- 1:13to the podcast and audio format, you know it's really tightly
- 1:17edited, cuts out a lot of the arms and ahs and pauses and
- 1:20makes a sound smarter than we maybe actually are.
- 1:23And then I have the. Honor of doing the video.
- 1:26And so I edit the video and post it to YouTube, but still Andy
- 1:29has to come in and update the show notes and all that as well.
- 1:32So a labor of love from both of us, but Andy definitely does
- 1:35more of the work. So you know, thanks for again
- 1:38including me in this project. It's been so fun and I never
- 1:41expected that we would do three years without missing a week for
- 1:46three straight years. And listeners, that's hard as
- 1:48well because obviously life happens.
- 1:50We've got different things to do, vacations, whatever.
- 1:53And so we have to be flexible. About recording shows and
- 1:56different days, different times, recording two or three episodes
- 2:00to get ahead, especially like during the holidays.
- 2:02I feel like that first week of December, we basically record
- 2:05through the end of the year sometimes because the holidays
- 2:07are so tough for us to get together and do a show live.
- 2:09So a labor of love for you all. We have not made a dime from
- 2:12this show. I think we've spent a lot more
- 2:14on it than we've made back. But I think we have earned our
- 2:17investment back in the community we've built and in the knowledge
- 2:21we've been able to gather. By having to do a show, you
- 2:23learn a lot of things as. Well, and so I can certainly say
- 2:26I have learned a lot each week from the topics we discuss and
- 2:29from the listener feedback we get.
- 2:31And that's been really its own reward.
- 2:33And thank you to the listeners as well, because I have gotten
- 2:37incredible feedback from the listener community and I want to
- 2:41thank them for sticking with us and also recommending the show
- 2:44to fellow Infosect folks. So thank you very much and we
- 2:48hope that we'll have many more years to come.
- 2:51I started the show with Adam, thinking that we would.
- 2:55Run out of topics and there is no shortage of topics.
- 2:58So we'll get on with the news of that We're going to catch up on
- 3:02here and as you can tell security is an ongoing issue and
- 3:06pretty much always will be. So the first thing that I wanted
- 3:09to talk about is there was a zero day discovered by a
- 3:14Washington DC based civil society organization called
- 3:17Citizen Lab. And this was targeted towards
- 3:19Apple devices and it was actively being exploited and it
- 3:23was a zero day zero. Click vulnerability being used
- 3:26to deliver the NSO Group's Pegasus Mercenary spyware.
- 3:30And what was most important about this was that you could
- 3:34compromise iPhones running the latest version of iOS 16.6
- 3:39without any interaction from the victim.
- 3:42So essentially the victim would just get an I message and the
- 3:46exploit would execute. So very, very dangerous.
- 3:49Citizen Lab immediately disclosed the findings to Apple
- 3:52and then help them with their investigation.
- 3:54Apple. Issued 2 Cve's related to the
- 3:56exploit chain. There are CVE 2020 340-1064 and
- 4:01CVE 2020 340-1061. Basically, everyone needs to
- 4:07update their devices as soon as possible and anyone who might
- 4:11face additional risk because of who they are or what they're
- 4:15able to do. If you are the president of the
- 4:17United States. If you are a famous actor, if
- 4:21you have access to classified information.
- 4:25You know all those people. You should probably enable
- 4:28something called lockdown mode. And we mentioned the lockdown
- 4:31mode in one of our previous shows when we talked about it
- 4:34when it first came out. But essentially it's a very
- 4:36heavily locked down mode of iOS that you can enable at will.
- 4:41You can take it in and out of lockdown mode whenever you want.
- 4:45A couple of things. I'm not gonna go through every
- 4:46single feature, but importantly to know in this mode messages
- 4:51most message attachment types are blocked other than certain
- 4:54images. Videos and audios, so features
- 4:56such as links and link previews are unavailable.
- 5:00So this attack confirmed by Apple engineers would have been
- 5:03prevented if you were in lockdown mode.
- 5:06And I think lockdown mode really came around because of this type
- 5:09of attack where you'd get a picture or a link and it was a
- 5:12zero click 0 interaction exploit that can compromise the device.
- 5:16The other thing to know, especially for our enterprise
- 5:19folks, is in lockdown mode. Configuration profiles can't be
- 5:22installed and the device cannot be enrolled.
- 5:25In MDM or device supervision at all while it's in lockdown mode.
- 5:29However, there's a link to an article that I will put in the
- 5:33show notes. I researched this because I
- 5:35remember from our show previously that if you are
- 5:39already enrolled in MDM and you put it into lockdown mode, that
- 5:43still works and your management of that device from an
- 5:47enterprise corporate standpoint will still work.
- 5:49So if you are trying to wipe the device or do something you know,
- 5:54I think the. Only thing that doesn't work in
- 5:57lockdown mode is pushing out applications.
- 6:00But you can still take some actions on the device if it was
- 6:03already enrolled in MDM and then you put it in lockdown mode.
- 6:06If you put it in lockdown mode, it won't be able to enroll in
- 6:09any MDM, so that's something to note if you're an enterprise
- 6:13customer. I thought it was really good
- 6:15that the article published by Citizens Lab was done on
- 6:18September 7th and then by the 8th, which was Friday, September
- 6:238th, I already saw. Updates for my iOS devices as
- 6:27well as my Mac OS devices. It was an extremely quick patch
- 6:30from Apple. But the other thing to note is
- 6:33having talked to a lot of enterprise customers, a lot of
- 6:36times device management teams and security teams are
- 6:39different. And so this is another
- 6:42illustration that if you are on the security team, you need to
- 6:45have some very tight communication and collaboration
- 6:48cadence between the two teams. If they are not the same, which
- 6:51most likely they aren't right? Like most people have a device
- 6:54management. Team, application deployment,
- 6:57patching, that's all usually like infrastructure type stuff
- 7:00and then you have your security team, which doesn't really do
- 7:02that, but those policies need to be dictated by security and you
- 7:06need to have. When something like this comes
- 7:08out, you need to go and update that compliance policy right
- 7:11away to make it so that you know your device would be out of
- 7:14compliance if it's not updated to this latest patch.
- 7:17The other thing to note is if you haven't already, I highly
- 7:21recommend that you get your users in this.
- 7:25Cycle of knowing when a patch comes out like oh, it's expected
- 7:28of them to update right away. We get a message on all of our
- 7:31enrolled devices that we're out of compliance, we need to
- 7:34update. It doesn't take away our access
- 7:36right away. There is a small grace period.
- 7:39And then if we don't update between that, our access to
- 7:41company data is revoked. And that's something that really
- 7:44needs to be drilled into your corporate security culture that
- 7:48is expected to keep your devices up to date and not just look at
- 7:52it and be like I'll do it when I do it like you see it if.
- 7:55You have the time. You do it right away.
- 7:56If you don't do it right, then at the end of your work day,
- 7:58then right when everything's done and you're ready to shut it
- 8:01down, update and reboot. This might be the first zero day
- 8:07that lockdown mode prevents. At least very public zero day
- 8:11that we've confirmed like lockdown mode prevents.
- 8:14And so that on its face is interesting because we did talk
- 8:18about it and we talked about for a high value targets that's
- 8:23something you should consider enabling and.
- 8:25Now we have that real world example to go with it where
- 8:27confirmed Lockdown mode would have prevented this from
- 8:30happening. Now again, NSL group, they're
- 8:33not going away unfortunately and they're going to continue to
- 8:36look for these exploits and continue to not responsibly
- 8:40disclose them, which I'm very grumpy about.
- 8:42But everything else pretty much worked as intended.
- 8:45Apple has added this new feature.
- 8:47It does work for those high value targets Apple patched very
- 8:50quickly. And then Andy, I like your call
- 8:52out for the enterprise. I managed mobile.
- 8:55Devices in the enterprise many years ago now.
- 8:57I joined Microsoft in 2017 so I'm a little bit out of the
- 9:00game, but at the time I did it we had much more lenient
- 9:03policies. I think we almost allowed an
- 9:05entire -1 OS generation and this was back when Apple didn't
- 9:10continue to issue security patches for previous
- 9:12generations. I don't think they did this time
- 9:15around, which maybe means like iOS 15 was not impacted by it.
- 9:18But either way, I like your call out on using device compliance
- 9:22policies in your mobile device management.
- 9:25From like Intune to require you to be on the latest operating
- 9:28system within a very short period of time.
- 9:30As Andy said, Microsoft does this for our devices, our
- 9:33personally owned devices that are enrolled in Intune.
- 9:36I have a Mac OS device and an iOS device enrolled.
- 9:39I will get notified if I haven't already by MSIT that I need to
- 9:43have these devices updated, probably within.
- 9:45They usually give you 5 days to a week or so to get it done, but
- 9:48if you don't then your device becomes non compliant.
- 9:50Your e-mail stops syncing. Your calendar stops syncing.
- 9:53You can't get to internal websites.
- 9:55So it becomes very clear that you need to take some action and
- 9:58it'll walk you through that remediation process
- 10:00automatically. And if you have not yet bitten
- 10:03off this challenge, it's time to start wrapping your arms around
- 10:07it and to start to bite that off.
- 10:08And eventually what happens is you create that culture, that
- 10:12expectation that you will be constantly patching and updating
- 10:16your device as a requirement to maintain enterprise access.
- 10:19And by the way, sometimes that's going to happen before Apple
- 10:22even automatically pushes the update.
- 10:24So. We talked about on a previous
- 10:26show that Apple has spoken to how when an update comes out,
- 10:31even though you have that automatic updates box enabled on
- 10:35your iOS device, they still offer that overtime to more and
- 10:38more devices. It's that stage rollout kind of
- 10:42model. And I have had times where I of
- 10:44course have that enabled and I have not even been offered the
- 10:47update, but Microsoft has already cut me off.
- 10:51Access to corporate resources because they had not installed
- 10:54an iOS update that I didn't know came out.
- 10:56So that said, that's an area of opportunity.
- 10:58I know a lot of mobile threat detection vendors, MTD vendors
- 11:02have some of that capability like send a push notification to
- 11:05a user, hey, there's an OS update available, you should go
- 11:07install it. I think Defender for endpoint
- 11:09does that too. In fact, I'm pretty sure I've
- 11:11seen it, but I somehow missed it.
- 11:12So I think this is still an area of opportunity where maybe like
- 11:16if you have an enterprise device it would be great if you could
- 11:18turn on some sort of setting with Apple to.
- 11:20Be like I want updates right away, all the time.
- 11:23Like not only do I want automatic updates, I want to be
- 11:25in the first ring of automatic updates.
- 11:27Like that should be some sort of opt in to make sure that if
- 11:30Apple pushes out an update, like let's say it's Wednesday, when I
- 11:34go to bed Wednesday night, my phone should automatically
- 11:36download it, install it and reboot that same day.
- 11:38I want that Apple go make that happen, make that a thing I can
- 11:41opt into, because I would gladly check that box and do that thing
- 11:45now that I've run into scenarios where my device is not
- 11:48automatically updated because of that staged world.
- 11:50Wow, so great call outs here. Obviously very targeted.
- 11:54Not something general folks need to concern themselves with, but
- 11:57you all should go install these updates right away.
- 12:00I believe they were on Mac OS, iOS, iPad OS, and Watch OS.
- 12:04We're all impacted because those are all I Message platforms.
- 12:06I do not believe there was a TV OS update pushed because TV OS
- 12:10does not connect to I. Message.
- 12:12Our next story is about the followup investigation from the
- 12:17Storm 0558 attack. Back that involved acquired
- 12:22Microsoft Consumer Keys where they were used to forge access
- 12:26to owaandoutlook.com. And I think it's really
- 12:30important to be transparent when a breach happens.
- 12:33And talking through the results of that investigation is also
- 12:37important because it's going to help others in the industry
- 12:40learn and so that we can collectively get better benefit
- 12:43from one person's mistake and hopefully not happening
- 12:46somewhere else. And so, you know, we did talk
- 12:49about this story when it. Happened and MSRC which is the
- 12:53Microsoft Security Research Center published the results of
- 12:56the major technical investigation for Storm 0558 key
- 13:00acquisition this week. And we'll of course have a link
- 13:02to the blog, really good to look through.
- 13:04There was a blog on July 11th of this year that had details on
- 13:10the China based threat actor Storm 0558 where they used that
- 13:13Microsoft consumer key, but as part of this technical
- 13:16investigation they found that there was a consumer.
- 13:20Signing system crash in April of 2021 which resulted in a
- 13:25snapshot of the crash process or crash dump.
- 13:28And these crash dumps, which normally should redact sensitive
- 13:32information, should not have had the signing key inside.
- 13:35But because of a race condition, which is a computer programming
- 13:40condition where two things are trying to have access to the
- 13:43same amount of data, there was a key that was present in the
- 13:47crash dump. So that issue was corrected and
- 13:50then. The key materials presence in
- 13:53the crash dump was also not detected by the Microsoft's
- 13:56systems. This was also corrected and then
- 13:59from there the crash dump was moved from the isolation
- 14:02production network into Microsoft's debugging
- 14:05environment on the Internet connected corporate network.
- 14:08This is consistent with standard debugging process and then
- 14:12Microsoft's credential scanning methods did not detect the key
- 14:16in that crash dump. Again, that issue also has been
- 14:19corrected. So there were.
- 14:20Several things I think that went wrong in this whole process and
- 14:24all of these as part of the technical investigation were
- 14:26corrected as part of Microsoft's remediation and getting better
- 14:30for the future. So what happened is once this
- 14:33key was in that debugging environment which was connected
- 14:36to the corporate network, there was the China based actor Storm
- 14:390558 and they were able to get the key from a compromised
- 14:44Microsoft engineer's corporate account who had access to that
- 14:47debugging environment. So somehow this corporate?
- 14:50Count was compromised, the threat actor was able to access
- 14:54the debugging environment and somehow found this key, which
- 14:57seems like a pretty sophisticated attack in my mind
- 15:00because it just so happens that there was this key here and they
- 15:03were able to find it, but that was essentially what happened.
- 15:06So I think a lot of things went wrong.
- 15:09Microsoft has corrected all of it and the other thing that I
- 15:11saw was that there wasn't any logs associated with this
- 15:15specific exfiltration from the threat actor and that's due to
- 15:19log retention policy. I saw a lot of chatter on
- 15:23Twitter slash X about this because they're like, oh,
- 15:27Microsoft doesn't have enough money or doesn't have enough
- 15:29space to keep the logs. And you know, if you think to
- 15:32how long most corporations keep logs, it's usually, I think at
- 15:36most I've ever seen for most orgs is around 13 months because
- 15:41it's, you know, you kind of do like a year plus an extra just
- 15:44to have a little bit of wiggle room.
- 15:45This was over two years ago. This was April of 2021.
- 15:49So I think getting rid of. Logs is a good thing.
- 15:51I mean, for most orgs there is a cost to storing logs.
- 15:55There's also a security issue because logs can also have
- 15:58information in them and if you keep them, logs can be
- 16:01compromised and stuff can happen.
- 16:03I also think it's a liability issue.
- 16:05It's not lost on me that keeping logs can not only be a security
- 16:08issue, but. You can also have that
- 16:11discovered in court and it could be a liability issue.
- 16:13So All in all log retention policies, you know we talked
- 16:16about data retention last week with data security and getting
- 16:19rid of stuff, it's good. I think in the same thing
- 16:21getting rid of logs is good and this being that far back doing a
- 16:25technical investigation just so happens that over two years ago.
- 16:29So I don't see it being an issue that we don't have the logs.
- 16:32And by we it's important to note that if you're a listener of the
- 16:35show and you are listening for the first time, Adam and I do
- 16:38work for Microsoft. We mentioned that.
- 16:39We don't work in this particular area, but you know as part of
- 16:44kind of being transparent I think is good to talk about it.
- 16:47Yeah, absolutely. That's one of the things they
- 16:49really like about working for Microsoft.
- 16:52I worked for Apple in the past, and I literally work for Apple
- 16:55retail like I worked at a mall store, and even that.
- 16:58Like, they were really picky about what you posted on social
- 17:02media. Like you weren't actually
- 17:03allowed to post pictures of yourself wearing your Apple
- 17:05uniform as an example. And that's neither here nor
- 17:08there, but one of the. Things they appreciate about
- 17:10working for Microsoft is people love that we do a podcast.
- 17:13Outside of work, I've never gotten any pushback from any
- 17:16manager. And you know, there's limits on
- 17:18what we can say. Sometimes we may have internal
- 17:21information we can't share on the show, or there's
- 17:23circumstances where you don't want to add a whole bunch of
- 17:25additional, like, color commentary on things because,
- 17:28you know, there's ongoing legal issues or whatever.
- 17:30But for the most part, like Microsoft, employees have a
- 17:32pretty wide latitude on to do the right thing and to be able
- 17:36to speak to things in a responsible way.
- 17:38And so I appreciate that. We have that ability to do that
- 17:41and be transparent. So like Andy said, we both work
- 17:43for Microsoft. There's a blog post from the
- 17:45Microsoft Security Research Center.
- 17:47You should go read that. That will be LinkedIn, the show
- 17:49notes. And Andy did a good summary of
- 17:51everything contained within it. And you know, I think there's
- 17:54been a healthy criticism on some of the things that have gone on
- 17:57and I think that's a great part of the Infosec community.
- 18:00We need to have that dialogue on what to do better or ways we
- 18:03could do things differently and that's really helpful.
- 18:06I will say the one thing I'll caution folks on just and these.
- 18:09In general, so I'm not responding to anything specific
- 18:12in here, but oftentimes there's the like well certainly
- 18:15Microsoft does the money to do that.
- 18:17And The thing is Microsoft does not spend money freely like just
- 18:22frivolously like everything in Microsoft has to have a return
- 18:26on investment, has to be justifiable in some sense.
- 18:29That doesn't mean we don't invest in things like security
- 18:32or Rd. where there's, you know, long term value in doing that or
- 18:36it's the right thing to do because we absolutely do a ton
- 18:39of that if you. Look at our entire digital
- 18:41crimes unit. Very little of that is a direct
- 18:43ROI from Microsoft, but it's the right thing to do with our
- 18:47resources and scale. So keep in mind that Microsoft
- 18:50does not just throw money away being kind of that alter
- 18:53statesman in the tech community. We have built a lot of really
- 18:57smart, like really good business people in our company and we're
- 19:01very conscientious about how we spend.
- 19:02That said, we do have access to a ton of resources and a lot of
- 19:05times I do tell customers I do point out like if we choose.
- 19:09Not to do something oftentimes that's not from a lack of
- 19:13resources, that's from a conscientious decision was made
- 19:16to do it this way. And a lot of times when I bring
- 19:18up that conversation that's around an architecture or a
- 19:21design decision that might be different than the way a lot of
- 19:25whatever community thinks or wants to operate.
- 19:28And so, Andy, I think your point's spot on.
- 19:30Certainly Microsoft has the resources to keep logs longer if
- 19:33we chose to. There's a balancing act of what
- 19:36is the value, what is the risk and it seems like.
- 19:39We came out on some logging level that is less than 30
- 19:43months, which would be required to still have log information on
- 19:47this particular X fill incident and I think less than 30 months
- 19:51is a justifiable time frame. If you don't that's a great
- 19:54conversation to have in general on the value of log retention
- 19:57versus disposing of logs and and the elimination of some of the
- 20:00risk associated. That's a great conversation to
- 20:02have. The other thing here I will say
- 20:04is in general I have seen some Monday morning quarterbacking on
- 20:08some of the architectural. Sign And one thing I'm
- 20:11constantly reminded of working here and again this is broad
- 20:15observation and not specific feedback, is that the decision
- 20:19making that goes into a hyper scale cloud service, especially
- 20:23one like an Azure Active Directory or an Exchange Online
- 20:26is operating at a scale that pretty much no one outside of a
- 20:30large tech company like a Google or a Microsoft or maybe Apple
- 20:34has familiarity with like even in the identity space.
- 20:38And I believe these numbers have only grown farther apart.
- 20:40We used to have a number where we'd say Microsoft is more
- 20:43authentications in a day than Octa does in a month.
- 20:47So the delta between them was 30X in terms of the number of
- 20:51authentications handled. When you handle that much more,
- 20:55you make different architectural decisions, you make different
- 20:57design decisions on how to run your service.
- 21:00And that doesn't mean we are above reproach.
- 21:03That doesn't mean we're above conversation on how to do things
- 21:06better. But it does mean sometimes an
- 21:09architecture that might work in your enterprise or might work
- 21:12even for smaller tech companies doesn't scale when you're that
- 21:15big and you handled that many I/O events per second or per
- 21:20millisecond or whatever the case may be.
- 21:22So I've seen some Monday morning quarterbacking here.
- 21:24I think that's valuable. I think we as a community should
- 21:26do that. But recognize as well that
- 21:28sometimes different decisions have to be made just by virtue
- 21:31of scale. One other thing I'll call out
- 21:32too, that if you're curious about because Andy, you kind of
- 21:35made mention this without explaining it.
- 21:37There was a lot of, and rightfully so, confusion over
- 21:40why a consumer identity signing key allowed access to enterprise
- 21:45mail accounts and that also is explained in this blog.
- 21:48I won't try to summarize it in great detail other than to say
- 21:52there was a validation check that was assumed to be occurring
- 21:55that wasn't working correctly and the downstream folks
- 21:58implementing that didn't implement a separate check
- 22:01because they assumed it was happening upstream.
- 22:03Which I think there are lessons to be learned there from an app
- 22:06SEC perspective. You know, don't assume the input
- 22:09to sanitize downstream, Do it yourself.
- 22:11I'm sure there's lessons learned from our engineering folks
- 22:13there. But also again, that's another
- 22:16issue that was corrected. And I just want to point out
- 22:19like whenever you see a failure of these systems, whether it's a
- 22:23security incident, whether it's a widespread outage, you have to
- 22:27have cascading failures for it to happen because so much fault
- 22:32tolerance is built into these systems today.
- 22:34So much defense in depth is implemented in these systems
- 22:37today that you have to have multiple failures over failures
- 22:41for this to happen. And so just like as Andy walked
- 22:44through this, I just want to highlight this one more time.
- 22:46Andy mentioned there was a system crash that created a
- 22:50snapshot like a crash dump, and it's supposed to automatically
- 22:53redact sensitive information when that happens.
- 22:55That didn't work. OK, that's like #1 #2.
- 22:58When that crash dump is written out, like in the production
- 23:02system, it is supposed to again have a scan that would redact
- 23:05it. That failed.
- 23:06Then when it was moved to the corporate Internet connected
- 23:09network to be used in debugging circumstances, that's where code
- 23:14scanning should have again picked up secrets in the code
- 23:17and that failed and that's been corrected.
- 23:19So if you're keeping score at home, that's three separate
- 23:22failures, completely independent from one another, that all
- 23:26failed sequentially. And so when you start to do the
- 23:30math and like, what does it take to have sequential, rare
- 23:33failures to happen one over another over another, It's very
- 23:37rare and it happened. And the THREAT Act were at the
- 23:40right place at the right time. And so again, I'm not trying to
- 23:43diminish the severity of this. I'm trying to contextualize this
- 23:46in the sense that if AWS goes down tomorrow, it's probably
- 23:50cascading failures. And that's important thing to
- 23:53keep in mind is all of these large tech companies are
- 23:57building in that fault tolerance, that defense in depth
- 23:59and it takes a very rare set of circumstances to get past them.
- 24:04And that's why we're continually learning and doing even better
- 24:07so we can fix those and hopefully prevent the next one.
- 24:10But no system is 100% secure and no system has 100% uptime.
- 24:15So it continues to be a work in progress.
- 24:17You know what did Lexus used to say?
- 24:18They were the relentless pursuit of perfection.
- 24:21I think that's what we're all chasing too.
- 24:22Yeah, very good call out there on the cascading failures.
- 24:25And then of course like the other failure that was the
- 24:28corporate security engineer who had a compromised account,
- 24:32right. So he did something wrong there
- 24:35and also had his account compromise.
- 24:37So I think if you read through the article.
- 24:39Right, like we just talked about Apple having a zero day, right?
- 24:43No system is perfect and Microsoft tries to do a lot of
- 24:46things correct. They're literally in the
- 24:48beginning of this article they talk about how like controls for
- 24:51the production environment require background checks,
- 24:54dedicated accounts, secure access workstations, or saws
- 24:58multi factor authentication using hardware tokens.
- 25:01And then those environments, they don't use e-mail
- 25:04conferencing, web research, collaboration tools.
- 25:07They restrict everything to just in time and just enough access
- 25:10policies. I mean, there's a lot that goes
- 25:12into it. So, you know, this was a needle
- 25:14in the haystack. It happened, you know, I think
- 25:16back to like cascading failures. If we did a episode on the
- 25:20Facebook outage a few years ago, if you remember, there was like
- 25:23this mass outage for Facebook, WhatsApp and Instagram.
- 25:26And we talked about like the cascading failures of I think
- 25:29the, the servers and the power. Controls of what happened
- 25:33physically behind the scenes and what the engineers had to do to,
- 25:35like, spin it back up, right. They couldn't even get physical
- 25:38access because everything was down.
- 25:40Like they had to break in their own data centers, essentially to
- 25:43get things going again. It's it's wild stuff.
- 25:45Yeah, OK. So final two things I want to
- 25:48talk about are identity related and they're really good.
- 25:52So number one, we published A blog on conditional access
- 25:56dashboards and templates, which are now generally available.
- 26:00So the condition. Additional Access dashboard is
- 26:02really, really good. It's in the intro center or
- 26:05intro.microsoft.com when you sign in with your corporate
- 26:08account. This dashboard will give you a
- 26:10summary of your policies. It'll tell you any gaps in your
- 26:13coverage and also provide some valuable insights on signin
- 26:16activity within your tenant. There are some additional
- 26:18insight and reporting capabilities like See All
- 26:21Unprotected Signins which is under the user tile.
- 26:24It'll help you identify users that are signing in without
- 26:27protections of a conditional access policy.
- 26:29You can also look at all non. Compliant devices or see all
- 26:33unmanaged devices which are under the device tile and it'll
- 26:36help you identify any type of device compliance gaps.
- 26:38Another thing you can look at is top 10 most accessed as without
- 26:42conditional access Coverage under the Coverage tab, which
- 26:45will go one step further and identify users without coverage
- 26:49for that a by clicking the number in the Users without
- 26:52Coverage column. So really really good insights
- 26:55will help you scope your conditional access policies.
- 26:58And then the other thing is templates.
- 26:59We've touched on this before, but.
- 27:01Templates are now GA. I highly recommend you take a
- 27:03look at them and start using them.
- 27:05They're a predefined set of conditions and controls that
- 27:07provide a nice way to deploy new policies which align with
- 27:12Microsoft's general recommendations when it comes to
- 27:14conditional access. And there's templates that are
- 27:17organized into five different scenarios, Secure Foundation,
- 27:20Zero Trust, Remote Work, Protect, Administrators, and
- 27:23Emerging Threats. There's 16 predefined templates.
- 27:27A couple of examples for them are require phishing resistant
- 27:30multi. Authentication for admins.
- 27:33There's another one that says require MFA for all users,
- 27:36There's another one for block legacy authentication, so on and
- 27:39so forth. And what's really nice is you
- 27:40can go. To these templates and just
- 27:42click the button and it will create the policy for you.
- 27:45Now if you've created a conditional access policy,
- 27:47you'll know that there are several things that you have to
- 27:49going to go through. You have to define the operating
- 27:51system, the users, the conditions that you want, the
- 27:56access level, so on and so forth.
- 27:59And sometimes it can get a little bit complicated depending
- 28:01on what you want to do. And these are very nice because
- 28:03they're just one click deploy. And of course once they're
- 28:06deployed, you can still go back and modify, you can make
- 28:09exceptions to that policy. It's not just a.
- 28:11One, and done so it can is a great way to get you started on
- 28:15at least sixteen of the most common recommended policies that
- 28:19Microsoft thinks that you should deploy.
- 28:21Love this. I covered conditional access for
- 28:23years in my previous role at Microsoft, and the actual
- 28:27building policies part sometimes flummoxed.
- 28:30A lot of customers, especially a lot of security folks, come from
- 28:33a network background. And conditional access policies
- 28:37are more or less the inverse of like how you create firewall
- 28:40rules like routing rules for firewalls and that flummoxed
- 28:43people as well. So being able to take a
- 28:46template, create a policy from it and kind of see like how it
- 28:49works, I feel like that's a great teaching tool as well.
- 28:52In addition to it gets people thinking of things they should
- 28:56be doing. Like if you see a template for
- 28:58require fishing resistant multifactor authentication for
- 29:01admins Wow, it's mouthful. That gives you the idea of maybe
- 29:05I should be doing that, maybe I should require fish resistant
- 29:08MFA for my admins and then you might go implement in it.
- 29:11So obviously nothing but good stuff here.
- 29:13Super happy to see this. This brings more usability, more
- 29:17ideas, better ways to do things to people who use intra ID, and
- 29:22that's a win. And one of the most common
- 29:25misconfigurations for M365IS gaps in conditional access.
- 29:31You can have conditional access for one app and not for another,
- 29:35and if an attacker is able to compromise your account, they
- 29:39can access information from the. App that doesn't have any
- 29:42conditional access to it. So very very important to take a
- 29:45look at your gaps and coverage. What apps are not being covered?
- 29:48Because if there's a lot and you're looking at it and you're
- 29:50like, oh, Salesforce is not covered by MFA, well that's
- 29:54probably an issue, right? So you should scope your apps
- 29:57under the same conditional access policies for everything.
- 30:00The last thing is this documentation that was kind of
- 30:05floating around on LinkedIn and Twitter.
- 30:07Slash X and I saw it clicked on it and I was like wow this is
- 30:10the first. Time I've ever seen it and it
- 30:12would have been super helpful for me when I was doing
- 30:15administration at a company and it is a delegate by task for
- 30:21enter ID or Azure Active Directory as the legacy name.
- 30:24And it's great documentation for those who want to scope role
- 30:27permissions for least privileged access.
- 30:30And what this document is, is that it gives you a list of
- 30:33tasks along with the least privileged role to accomplish
- 30:36that task. Really really great.
- 30:38Because how I used to do it was I would assign the roles.
- 30:41That I thought the person should need.
- 30:43And then when they said hey Andy, I can't do this thing that
- 30:46I used to be able to do, I'm like, OK, I guess I'll step you
- 30:48up to the next level that I think based on some other
- 30:52documentation, right. And what this does is like they
- 30:55tell me like, hey Andy, I can't delete a device anymore.
- 30:58I used to be able to do that. I can go and find that task
- 31:02Delete device on this list and it tells me, oh, you need to
- 31:05have Cloud Device Administrator or into an administrator
- 31:08assigned to that user in order to accomplish that task.
- 31:11Or for another example, consent to delegated permissions for
- 31:14enterprise apps. So when there's an application
- 31:17that requires those permissions, you know that popup box that
- 31:20says, hey, I like the ability to read all users in your
- 31:24environment and read all their inboxes.
- 31:26And you know some crazy permission for some new app that
- 31:29a user is trying to allow for a wath.
- 31:31Well, if you want to restrict that and you want an admin to
- 31:35approve those delegated permissions, they need Cloud
- 31:38Application Admin or Application Admin in order to.
- 31:41Accomplish that task. So really really good for you to
- 31:43target the permissions for the least privileged access.
- 31:47And like I said, this was the first time I had ever seen it
- 31:50and I really wish that I had this back then when I was
- 31:53scoping permission. So hopefully you guys can look
- 31:54in the show notes, take a look at this and it'll help you kind
- 31:58of scope down your admin roles. When we were doing the pre show,
- 32:02Andy mentioned this and I said I think I saw this as well and so
- 32:07we had definitely both seen it making the rounds on LinkedIn.
- 32:10A lot of people are posting it with very effusive praise like
- 32:14holy smokes I had not seen this before.
- 32:16This is amazing. This is one of the best
- 32:18resources I've seen in a while And I will say me personally, I
- 32:21have always had customers when I've been at Microsoft ask me
- 32:25about roles and what's the best role to do this, what's the
- 32:28least privileged role to do that.
- 32:30And so now you have a fairly comprehensive set of
- 32:33documentation to walk you through that.
- 32:35I love a good bit of documentation when it really
- 32:38scratches A niche and this does exactly that.
- 32:40So if you use intra ID at all, which if you're a Microsoft
- 32:43customer, you do at least somewhat definitely something to
- 32:46go. Check out and that's our show
- 32:47for this week. Thanks for listening and
- 32:49watching. As always.
- 32:51Our contact information as well as the links that we talked
- 32:54about will be in the show notes that is in the description of
- 32:58the show. So go in there, check it out,
- 33:00click on the links, read about all the things that we talked
- 33:03about. If you guys have any questions
- 33:04or topics you want to talk about in the future, just e-mail us.
- 33:07Thanks. We'll talk to guys next week.
- 33:09Thank you for listening to the Blue Security Podcast.
- 33:12Please check out the show notes, catch up on episodes you may
- 33:14have missed, and subscribe so you don't miss any future
- 33:17episodes. Find Andy on Twitter at a Jaw
- 33:20Zero and Adam at Ajbrewer. See you at our next episode.