Latest / Blue Security / Common M365 Misconfigurations
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 another episode of the Blue Security Podcast.
- 0:24I'm Andy, your host. I'm Adam, your cohost.
- 0:27So friend of the show Christina Merlo posted a link for Trimark
- 0:31Security which is her employer and it was for common Azure AD
- 0:36and M365 security misconfigurations.
- 0:39She does M365 security assessments for Trimark, so she
- 0:43either authored or had a lot of input into this document and I
- 0:47wanted to go through it. Because it is really good,
- 0:49always good to review your security configuration for M365,
- 0:54especially if you are an M365 customer, which most enterprises
- 0:58are I assume if you're listening to the show, you probably have
- 1:00some business with Microsoft, even if it's just O365 and
- 1:05Office, which this will have some things to do with that as
- 1:07well. The document first talks about
- 1:10the shared responsibility model for SASS apps and specifically
- 1:15for Microsoft's shared responsibility matrix.
- 1:18And if you go to the link, you'll see that what shared
- 1:21responsibility is, is basically understanding that part of the
- 1:25security is on you as a customer and part of it is on the SAS
- 1:29provider or in this case Microsoft.
- 1:31And where that responsibility overlaps and who is responsible
- 1:35for what depends on what model you're using, whether it's a
- 1:39SAS, a pass and I ask or on Prem.
- 1:41Obviously if it's on premise infrastructure, you as the
- 1:45customer are responsible for everything.
- 1:48Including like physical access to your data center which is
- 1:51where you're hosting your stuff in SASS models that
- 1:54responsibility is transferred to Microsoft.
- 1:56We have data centers and by we if you're listening to the show
- 1:59you know that Adam and I are employed by Microsoft.
- 2:02So in this case Microsoft has actual data centers that are
- 2:06located many different areas and physical security is tightly
- 2:09controlled to these data centers.
- 2:11So in the SASS model that is on Microsoft but understanding for
- 2:14some of these identity misconfigurations and.
- 2:18Access controls. No matter what model you're in,
- 2:20that actually always lies with the organization and with the
- 2:23customer. So access control 2M365IS solely
- 2:28a customer responsibility. Good place to start.
- 2:31Always good to review that responsibility matrix.
- 2:34Like Andy said, it's linking the show notes to the Try Micro
- 2:36Security blog, where that is included as part of this
- 2:39discussion. But at the end of the day, the
- 2:41critical thing to know for today's conversation is you're
- 2:43responsible for all of this. Because mostly what we're going
- 2:46to talk about is access control in various.
- 2:48Thereof. The first one that they call out
- 2:50is regular user accounts are members of global administrator
- 2:54roles or highly privileged roles.
- 2:56Now when they're calling these out, these are things that they
- 2:58see in their security assessments that are common at
- 3:02customers. And while I don't do security
- 3:04assessments myself, I've seen this at organizations that I've
- 3:08been a part of. I've also talked to customers
- 3:11who have had these. So this is a big issue.
- 3:13And by normal users, we mean like the normal user that you're
- 3:17getting e-mail. On that you're signing into your
- 3:19computer on that user is also a member of a privileged role, you
- 3:24should always have a dedicated admin account.
- 3:26Also, if at all possible, you should use Privileged Identity
- 3:31Management so that instead of assigning a direct role within
- 3:35Azure to a user account or an admin user account, you are
- 3:40assigning it to be eligible to elevate to that role when
- 3:44needed. Understand that PIM or
- 3:46Privileged Identity Management. Does require Azure Active
- 3:49Directory P2 licensing, but I've seen at a lot of organizations
- 3:53where they just get a ADP2 licensing for their admins
- 3:57specifically for this feature for PIM.
- 4:00So it may not be something you want to license everyone with
- 4:03right away, but just scope it to the folks who have privileged
- 4:07roles within Azure AD. Azure AD also kind of yells at
- 4:11you if you have more than five active global admins at the same
- 4:15time, and that only counts like if you're using.
- 4:18Him and more than five elevate to global admin at the same
- 4:21time. Then it'll say, hey, you have
- 4:23too many global admins. There's actually very little
- 4:26that you need a global admin for from a daytoday basis.
- 4:29So this is something you want to keep an eye on.
- 4:32And then of course enforce MFA for your privileged roles.
- 4:35So that's their first one. Pretty straightforward.
- 4:37Still things that they're seeing during their security
- 4:40assessments. I get a little bit of flashbacks
- 4:43from that first item because when I first became in at the
- 4:47time, Oath. 65 admin now, more than a decade ago, at the time,
- 4:51we did just use our regular user accounts and they were assigned
- 4:54global admin. And so when I would go schedule
- 4:56a meeting with someone, I could see their entire calendar.
- 4:58I mean, there's issues beyond just the security risk involved.
- 5:01There's the thing that I see, things I shouldn't see because
- 5:05like I could open the CEO's calendar and see all their
- 5:07calendar entries. Like that's not good.
- 5:09So absolutely should be a separate account.
- 5:11I'll add the comment that not only should it be a separate
- 5:14account, it should be an account that is cloud only.
- 5:16There's not a synchronized identity.
- 5:18It is created and mastered in Azure AD.
- 5:20It only lives there, so just add that on as well.
- 5:22As long as you're going to go down that path to do it really
- 5:24the right way. Absolutely agree with you Andy
- 5:26on the Privileged Identity Management.
- 5:28Even though it should be an isolated admin account, you
- 5:30should also do that just in time, elevation and as much as
- 5:33possible. You should not be elevating to
- 5:35GA unless it's something that can only be accomplished with GA
- 5:38You should have eligibility for other roles like Exchange
- 5:41Administrator into an Administrator.
- 5:42Whatever you need to do the task at hand and elevate to just that
- 5:46role, don't go GA unless you. Absolutely have to.
- 5:48It protects you. It acts as a blast radius
- 5:51protection for you because if you run a script that does
- 5:55something bad, maybe not having permission can save your bacon.
- 5:58So consider that as well. That has benefits to you in
- 6:01terms of job security and protecting your environment.
- 6:05The number of GA, you know five is like a magic number.
- 6:08Obviously that doesn't scale with the size of your
- 6:10enterprise. So obviously you know it's a
- 6:13line in the sand to start with and then scale up or down as
- 6:16needing if you're a really small enterprise.
- 6:18Five could be way too many. If you're a really big
- 6:20enterprise, there might be times when you need more, although
- 6:22hopefully not. And then of course I mean my
- 6:24goodness, not only should you enforce MFA, but go listen to
- 6:27our show from a week ago about authentication strength becoming
- 6:30generally available in conditional access and require
- 6:32fish resistant methods of multi factor for your admin accounts.
- 6:36Let's take it a step further, not just MFA, but should be
- 6:39something that's not susceptible to MFA bombing or not
- 6:42susceptible to the whims of your telecom and otherwise, yeah, I
- 6:45think all great advice and obviously sorry.
- 6:48With the tired phrase but low hanging fruit.
- 6:50Because if you can protect those admin accounts, you've already
- 6:52hardened your environment a great deal.
- 6:54The second one is unrestricted external sharing access for
- 6:58SharePoint and OneDrive and what they typically see is this is
- 7:02set to anyone, anyone for SharePoint and OneDrive which is
- 7:06the default. Coincidentally.
- 7:07I was curious and I went and checked my demo environment,
- 7:10which is something that I spin up and show to customers.
- 7:14I've had this demo environment for almost a year and a half
- 7:17now. And I don't really do a lot of
- 7:20SharePoint, OneDrive demonstrations, it's more on the
- 7:22security side. So I just want to check the
- 7:24sharing permissions. And of course because I haven't
- 7:27touched it, it was set to the most permissive, which is
- 7:30anyone, anyone. And there are also additional
- 7:32sharing settings that you can do.
- 7:34You could limit sharing to a specific domain, like if you
- 7:37have a competitor, you can just not allow your users to share to
- 7:40them. You can also scope it to certain
- 7:43security groups. You can also disallow guests
- 7:47from sharing. Things that they're not the
- 7:49owners of within that document or file.
- 7:52So take a look at that. Because the recommended setting
- 7:55that try mark is saying is basically anything but anyone.
- 7:59So if you want to set it to new and existing guests must provide
- 8:03a verification code, or existing guests only that are already in
- 8:06your organization's directory, which means that an admin has to
- 8:10add them as a guest into the identity store.
- 8:13You can't just like have a user share it out to someone who's
- 8:16not in the identity store, So there is an.
- 8:18Extra step there, which is a little bit less permissive and
- 8:20then you could just disallow sharing outside of the
- 8:23organization completely, which that probably isn't feasible for
- 8:26most orgs these days, especially if you're actively using
- 8:30SharePoint and OneDrive as part of your business process.
- 8:32But anyways, take a look at the settings there.
- 8:34It's something that most security folks probably don't go
- 8:37to because it is more of a collaboration tool.
- 8:39You might have a dedicated SharePoint admin taking
- 8:43ownership of that. So definitely something to take
- 8:45a look at from a security standpoint.
- 8:47This. Works in concert with all of the
- 8:50existing controls around external identities, by the way.
- 8:53So this is kind of a SharePoint or OneDrive front end to those
- 8:58capabilities. So the default behavior anyone
- 9:01means I could create a link and anyone can click that link and
- 9:03view it. There's no authentication
- 9:05required. Trimark's recommendation is
- 9:07don't do that, which I would tend to agree with.
- 9:09The next one is actually how the Microsoft tenant is configured
- 9:12new an existing guest, so that's where I can either invite an
- 9:15external identity that's already represented.
- 9:18In Azure Active Directory for my tenant or if it's not there,
- 9:21SharePoint or OneDrive will create an invitation for them to
- 9:24create an external identity in your environment and then access
- 9:27the file after that. Now it's just a different kind
- 9:30of workflow, but under the hood it's all the same process and it
- 9:34all goes to the same place. So if you already have controls
- 9:36in place around this configured at an Azure Active Directory
- 9:39level, none of this overrides it.
- 9:41Think of this as an application leveraging those existing
- 9:44controls and configurations. This is an additional kind of
- 9:47front end. To it existing guests.
- 9:49Now here's the thing. I've had a lot of organizations
- 9:51say we're going to only allow existing guests.
- 9:53And like Andy explained perfectly, that means if you
- 9:56want somebody to access something, they have to be
- 9:58brought into your directory through other means.
- 10:00Usually that's we're going to define some sort of admin who
- 10:02goes and creates those guests. Here's what I would challenge
- 10:05you to consider. If you want to operate in that
- 10:08model, you probably are going to create some sort of workflow,
- 10:10maybe through your ticketing system, maybe say ServiceNow.
- 10:12And it's going to be, oh, I want to invite somebody to look at
- 10:15this file on my OneDrive. Well, I have to go over to
- 10:17ServiceNow. I have to.
- 10:18To open a ticket, it has to get reviewed by this team.
- 10:20They're going to invite the user.
- 10:21Then once the user has created an identity, by the way, nothing
- 10:24happens yet. Now I have to go back and say,
- 10:26OK, now you can share that file. It's a very obtuse process.
- 10:29And what I would challenge you on is all of that extra friction
- 10:33adding meaningful security or is this just a way for us to have
- 10:36our fingers and more business because we like the control?
- 10:39Because unless you're doing some sort of vetting and having your
- 10:42help desk or whoever is servicing those tickets doing
- 10:45some sort of vetting, every single time they create a new
- 10:47identity. You're not meaningfully adding
- 10:49security. You're just shifting that work
- 10:50to somebody else and creating a more obtuse process that
- 10:54generates no security value for your organization.
- 10:56So I would say, if you at all can enable it so that people can
- 11:00invite guests through this regular workflow through their
- 11:02normal process, hey, I'm working in a file.
- 11:04I want to share it with someone. OK, I share it out.
- 11:06That doesn't mean you can't put meaningful controls around it
- 11:09with conditional access and configuring external identities
- 11:12must do MFA or must do this or must do that.
- 11:15That's fine. Please do that.
- 11:17But I just. Challenge this model, and I've
- 11:19seen a lot of orgs do this where they want to spin up a whole
- 11:22bunch of process around this because there's this perceived
- 11:24need for control. But I've never heard them
- 11:27articulate what security value they're bringing to the
- 11:29situation by adding all of that friction to it.
- 11:32So that's my challenge to you is if you want to operate that
- 11:35model, that's cool and it's supported, but figure out where
- 11:38you're layering an additional security value.
- 11:40If you're doing that, then when the person is servicing that
- 11:43ticket, how are they vetting that identity before they add
- 11:45it? Really good call out there,
- 11:47Adam, A lot of. Times security teams just want
- 11:50to do something because they think it's more secure, but
- 11:53they're not really enabling the business and that's really what
- 11:55security is here to do. You should think of yourself as
- 11:59enabling the business rather than putting additional process
- 12:02that will burden users in the. Workflow.
- 12:04Absolutely. I mean, the worst part of that
- 12:06whole thing is, OK, I have to go to another system.
- 12:08I have to open a ticket, the ticket gets done, I get an
- 12:11e-mail, tickets been completed. What's not going to be super
- 12:13clear unless somebody reads the ticket is that now they have to
- 12:16go back to that file, remember what they.
- 12:18We're working on and go reshare it.
- 12:19So you've completely taken that inspiration out of the moment of
- 12:23ah, I want to collaborate on this with someone and now you've
- 12:26created a multi day process and then I have to remember to come
- 12:29back to it. You're really stifling
- 12:30innovation and you're stifling collaboration by not allowing
- 12:34that collaboration in the moment when it got light bulb goes off
- 12:37above somebody's head. So the challenge is make that
- 12:40worthwhile. If you think that's that
- 12:42important and you want to stifle that collaboration and
- 12:44productivity then make it worthwhile through some
- 12:47meaningful addition. Security.
- 12:48Not just we want visibility into the process because there's
- 12:51other ways to get visibility started on my soapbox on this
- 12:54one, but uh, this is one I've been through a time or two and
- 12:57have some scar tissue. From the third one, surprisingly
- 12:59is multi factor authentication is not enforced for user
- 13:03accounts and admins. Apparently this is still a thing
- 13:06and I think Microsoft has statistics on this as well, like
- 13:09how many accounts are still not MFA enabled.
- 13:13I'm again shocked but I think most people who are listening to
- 13:17this podcast. Or have been at at least some
- 13:20security you know conference or something like that will
- 13:23understand the importance of enabling MFA and if you haven't
- 13:26done it, you are way behind the power curve and so definitely do
- 13:30that. The best way to do it is through
- 13:32conditional access, although there are other ways to enforce
- 13:35it. There's also a new conditional
- 13:38access policy template. These are the things where if
- 13:41you're not sure how to scope a conditional access policy,
- 13:44there's a one click template for a lot of different things that
- 13:47are very common. One of them is require
- 13:49multifactor authentication for all users.
- 13:52So definitely go and do that if you haven't.
- 13:55Apparently the horse is still not dead, so we're going to keep
- 13:58kicking it. But.
- 14:01The one thing I'll just add to this, if you have resistance to
- 14:04enabling MFA because of some perception and again dear
- 14:07listener, I know you don't have an objection.
- 14:09There's someone in your business who does, right?
- 14:11I've been through that too and I've seen plenty of that.
- 14:14If someone still has an objection to multifactor
- 14:16authentication on the concept that it would be burdensome to
- 14:20users, we need to re educate because a modern correctly
- 14:24implemented multifactor authentication should not be
- 14:27burdensome to users. The experience should be I open.
- 14:31My Windows PC, it scans my face, I send it with Windows, slow for
- 14:34business without touching a thing.
- 14:36I go to my stuff and it just works.
- 14:38I should basically never be prompted unless something really
- 14:40weird changes or I'm going to something sensitive like I'm
- 14:43going to my benefits site and then only then do I get prompted
- 14:46to pick up my phone and do a quick number match and I'm on my
- 14:49way. Other than that, it should be
- 14:51almost invisible and transparent to users by this point.
- 14:54If you still have a MFA implementation where users are
- 14:58being prompted even, I'd say once a day is.
- 15:01Almost too much. It should be like once a week
- 15:03tops. Then you're doing it wrong to be
- 15:04honest. And so it's time to reevaluate
- 15:07and get to a modern practice and then go re educate your objector
- 15:10in the business or in leadership or wherever that we can do this
- 15:14securely without it being burdensome to you.
- 15:16And here's how And you know what If there's cost involved with
- 15:19that, so be it. Articulate the cost of that
- 15:21versus the cost of a breach and even the most hardened bean
- 15:24counter, we'll see which side is the right side to invest on.
- 15:27So it's still a thing and they're shockingly high.
- 15:30I mean it's. It's still at least 1/3 of
- 15:32accounts or something like that, I think from last I've seen, if
- 15:34not even it. Might even be more.
- 15:36It might even be more. Yeah, it's stunning.
- 15:38And I'll even go a step farther because you said Windows
- 15:40computer. Like I actually do my daily work
- 15:44on a Mac and I never get prompted for MFA.
- 15:47And when I do, it is the same thing that you get prompted for,
- 15:50which is anytime I'm accessing money like my benefits or I'm
- 15:54changing my success. Factors, HR, yeah.
- 15:57HR Yeah, Anything that has like to do with personal.
- 16:01Vacations and and money and W twos and you know, whatever like
- 16:05that will get prompted for MFA and otherwise.
- 16:08I'm never prompted for it. Of course my Mac is enrolled in
- 16:11Intune, it's compliant, it has Defender for endpoint deployed
- 16:15on it through Microsoft. So it is a personally owned Mac
- 16:18and managed through MDM and I get prompted for MFA probably
- 16:22the same amount of times that you do, which is just anytime
- 16:24I'm accessing very sensitive personal information you're.
- 16:27Right, I should have included the Mac.
- 16:28My Mac is enrolled as well. Listeners and.
- 16:31I have the same experience, and even on my iPhone, same
- 16:33experience, So I didn't want to single out Windows PCs.
- 16:36I just know of course that's the majority of enterprise devices
- 16:39deployed and that integration between Windows Hello for
- 16:42Business and Azure Active Directory just creates that
- 16:45really strong linkage where you already essentially performed
- 16:48MFA when you unlock the machine and you do that through a
- 16:50biometric, even better. It's completely seamless to the
- 16:53user. #4 is legacy or basic authentication is still enabled?
- 16:57I'm a little bit surprised at this, but I guess I shouldn't be
- 17:00because. Enterprises move very slowly and
- 17:03so they are probably seeing data that they're still legacy
- 17:06authentication being used. Microsoft began deprecating
- 17:09basic legacy authentication in December of 2022.
- 17:13However, like I said, try mark is still seeing this enabled in
- 17:17many tenants and legacy authentication is prone to brute
- 17:21forcing and other legacy attacks because they don't support
- 17:24modern security capabilities like MFA.
- 17:27And you know if you remember way back in the day like pop mail
- 17:30and. Those protocols where you had to
- 17:32like go and create like a app password instead of like just
- 17:36signing in and using MFA. That's legacy authentication and
- 17:39there's still a ton of enterprise apps that probably
- 17:42have this, so if this applies to you, you should definitely test
- 17:46it. There's ways to look up in Azure
- 17:49AD logging for sign ins on what applications frequency, all of
- 17:54that that are using legacy authentication.
- 17:56There's a selection in the filter to just filter based on
- 17:59that so you can see exactly what's using it.
- 18:01And if it is a business critical application, you will want to
- 18:04reach out to the application owner, maybe the developer and
- 18:08say hey like when are you going to implement modern
- 18:10authentication for this app and so that we can move to it.
- 18:13When that hump is essentially tackled, you can then go ahead
- 18:17and block legacy authentication using again one of these new
- 18:21conditional access policy templates where it just says
- 18:24block legacy authentication. Now you can also exclude like a
- 18:28user if you're using like a service account to.
- 18:31Sign in. You can also exclude like an
- 18:32application from that conditional access policy, so
- 18:35definitely test it. If you have it, look at blocking
- 18:38legacy auth. You can make exceptions to that
- 18:40conditional access policy if needed and then go from there.
- 18:43Another one of those. I can't believe we're still
- 18:45talking about this things right Andy, you hit the nail in the
- 18:48head perfectly. I will just summarize this very
- 18:50simply. If you have legacy auth enabled
- 18:53at all, it should be in a tightly scoped, and I mean
- 18:55tightly scoped conditional access exception to a specific
- 18:59identity, a specific application.
- 19:01Specific IP ranges, whatever, so that you have the minimum,
- 19:05tiniest amount open possible. Because legacy authentication is
- 19:09essentially like leaving the back door unlocked, you can put
- 19:11all the security you want on the front end.
- 19:13You can harden the door six ways to Sunday the front door and
- 19:15then leave the back door unlocked.
- 19:16And so we can just walk around and walk in the back.
- 19:18It's a big deal. We've been talking about it for
- 19:20a long time. Most orgs, to their credit, have
- 19:22done a great job with this. If you still need it, scope the
- 19:24heck out of it. Lock it down as much as you can.
- 19:27This is essentially the exhaust port on the Death Star people.
- 19:29So you know. Make that as tidy as possible so
- 19:32a little X wing can't come through and shoot a proton
- 19:34torpedo in it. That's your goal at this point.
- 19:36You want it smaller than a whomper at for sure.
- 19:38Sorry for the analogy, but this is a big deal.
- 19:40And again, our employer has started to just shut a lot of
- 19:43this down, like an exchange online where it's just not
- 19:46supported anymore for things like EWSAPI and stuff like that.
- 19:50So there's less you can do with it anyway.
- 19:52And I think your hand has already been forced, but there
- 19:54might still be a couple scenarios still kicking out
- 19:56there. So if you have none, you know,
- 19:58review your A AD, sign in logs, if you can't find anything, just
- 20:00block. It entirely.
- 20:01If you've got a couple of apps, you have, like Andy said, two
- 20:04things to do #1 scope it #2 Check that app owner about
- 20:07getting modern and in a hurry, because time's running now.
- 20:10The last one on our list is no configured emergency brake glass
- 20:13accounts or they're not implemented according to best
- 20:16practices. So they're misconfigured
- 20:18essentially. And there is a whole Microsoft
- 20:21doc on implementing brake glass accounts.
- 20:24This is something that you definitely should have in
- 20:26emergency situations when there's like a security breach
- 20:29or some sort of system. Some failure normal admin
- 20:32accounts might not be available and having a break glass account
- 20:36will help you sign in to your M365 admin your Azure and let
- 20:41you have access to those systems when your normal admin accounts
- 20:44may not have it and so as best practice try Mark recommends at
- 20:48least two. We'll link the break glass
- 20:50account documentation in here as well so you can review it
- 20:53because Microsoft has guidance on this but they recommend
- 20:56havingthe.onmicrosoft.com as a global admin role.
- 21:01To use as break glass accounts so not associated with your
- 21:04tenant just in case something else happens like your domain.
- 21:08Essentially use the default whatever contoso dot on
- 21:11microsoft.com domain as your break glass accounts and you
- 21:15should exclude these brace glass accounts from conditional access
- 21:18and MFA requirements. Although you can still have MFA
- 21:21enabled for the accounts, just do it from a different
- 21:25conditional access policy, not your normal one that you would
- 21:27scope to all your other users. You should also enroll them in
- 21:30PIM so that. They have the permanent global
- 21:33administrator role assigned. If you're using MFA, I would use
- 21:37a 502 security token. You can use like the auth or
- 21:41maybe like you know a password vault and store that in there,
- 21:44but I would highly recommend against that.
- 21:46I would recommend using a 502 token and then taking that token
- 21:50and putting it into a physical safe somewhere like in your
- 21:54office. I've always been a high
- 21:56proponent of having physical safes in your security center
- 22:00wherever. Your your offices, because it
- 22:02can serve a multitude of different things.
- 22:04Evidence for lawsuits or criminal activity.
- 22:07You know just a place to securely store laptops that
- 22:10you're forensically investigating.
- 22:12But in this case, yeah your 502 security key for your global
- 22:15admin tenants. Yeah, put that in there and you
- 22:18know have a log scope, a process around it that anytime anyone
- 22:21opens up the safe they have to sign in sign out and have that
- 22:24audible trail. So have that enabled.
- 22:26That's how I would do it if it was me and then you can have
- 22:29monitoring for the. Sign ins for anyone who's trying
- 22:32to use these global admin accounts and have like an alert
- 22:35pop up if they're signed in under them.
- 22:37If you don't use Fido 2 keys. Of course you could always like
- 22:40scope a super long password and store that somewhere.
- 22:44Again, I would do it offline if at all possible, but better to
- 22:47use a Fido 2 key if at all possible.
- 22:49So if I'm setting this up today, Azure AD accounts are still
- 22:53required to have a password. I can't have a password less
- 22:56account yet. So would you just recommend
- 22:59random number generated random? Ring generator and sitting the
- 23:02password to garbage and really only signing in with the Fido 2
- 23:05key? Or what's the guidance there?
- 23:06I would still set a long password for sure.
- 23:10And store that as well. Yes, yeah, yes.
- 23:13Yeah, I would do both. I mean, you don't want, like a
- 23:15guessable password. You'd still want to scope a long
- 23:18password even if you're using a Fido 2 key.
- 23:21But I would like to have the Peace of Mind to have the Fido 2
- 23:24key, you know, just like. It's easier to.
- 23:26Yes, and also like if you were to you know, actually I have a
- 23:30demo environment where. Where I've onboarded AWS into
- 23:33Defender for cloud and as it's evaluating my AWS environment
- 23:37for security vulnerabilities. One of the things it recommends,
- 23:41and this is something that AWS recommends as well, is that your
- 23:44root account needs to have a hardware token.
- 23:46So just using a hardware token to sign into the root account
- 23:50and that would be the same thing here.
- 23:52Like have some sort of hardware token to sign in versus a
- 23:55username and password. You should have break Glass
- 23:58accounts, and there's some multitude of reasons why.
- 24:01Say a common one I've seen is customers have locked themselves
- 24:04out with well-intentioned conditional access policies that
- 24:06go sideways. So that's a good enough reason
- 24:08in and of itself because it's really hard to have Microsoft
- 24:11support let you back into your tenant for obvious reasons.
- 24:14It's in general, it's really, really hard to access anything
- 24:17like customer data, customer facing by design, which is a
- 24:20good thing. Nobody at Microsoft has standing
- 24:22access to customer data, so there's a whole regular moral
- 24:24process you have to go through to do that.
- 24:26So if you lock yourselves out, save yourself days of not being
- 24:29able to get in potentially or. Hours and have this that you can
- 24:32leverage, but of course there's a number of really bad scenarios
- 24:35we can think of where you might need this, so highly recommend
- 24:39it. Love all of the guidance here
- 24:40and of. Course, they absolutely,
- 24:41positively should be cloud only accounts.
- 24:44I said all your GA accounts should be cloud only as well.
- 24:46Anything privileged should be cloud only.
- 24:47But this is the thing you should go do.
- 24:49Like if you get off this, stop listening to this podcast,
- 24:52you're like, gosh, there's some things I need to go work on #1
- 24:54should be break glass account before you go do anything else
- 24:56because all the other stuff we're talking about, this can
- 24:59save your bacon if any of those things go sideways.
- 25:01So start here, get this one done.
- 25:04Oh, and definitely exclude it from all the CA policies for the
- 25:08first use case I just mentioned where I've seen customers lock
- 25:11them. Self's out with a
- 25:11well-intentioned but see a policy that went sideways.
- 25:14These should be excluded from every CA policy.
- 25:16There's no conditional access to access this account, it's just
- 25:19really hard because the password is 64 characters or require
- 25:22spider two key. Right.
- 25:23If you have a bunch of them, after you create the account,
- 25:25just go right back into your conditional access policies and
- 25:28just start excluding that new account in all of your policies.
- 25:32Well, hopefully you learned something.
- 25:33I really enjoyed reading through this document because even for
- 25:36me I looked at the SharePoint stuff and I didn't have that
- 25:39configured, so. Take a look.
- 25:41It's never bad to just audit your M365 for environment based
- 25:46on some of these best practice guidance documentation.
- 25:49So thanks to try Mark and friend of the pod, Christina Murillo
- 25:54for putting this out there. That's our show for this week.
- 25:56Thanks as always for watching and listening to our show.
- 25:58Our contact information will be in the show notes if you have
- 26:01any questions or topics you want us to talk about in the future.
- 26:03Thanks. We'll talk to you guys next
- 26:04week.