Latest / Blue Security / State of Identity 2023
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:22Another episode of the blue skirt.
- 0:23A podcast, I'm Andy your hosts. I'm Adam your co-host this week.
- 0:27I wanted to talk about a Blog article that I And I stumbled
- 0:30upon by a company called ort ort.
- 0:35I think that's probably how you pronounce it.
- 0:36And to me it looks like they are a vendor of sort which might
- 0:41compete with like the Cyber arcs of the world, it's an identity
- 0:45governance type product, but they published this blog called
- 0:48the state of identity security in 2023.
- 0:51So of course, I love reading about identity, I read through
- 0:54the report and they had some really good takeaways and some
- 0:59actions. Nothing that's mind-blowing.
- 1:01But it's always good to reinforce because we are still
- 1:06getting attacked from an identity standpoint.
- 1:09And I think I heard on one of the podcast that I listen to
- 1:13that. Still today, the majority of
- 1:16attacks happened, through initial vectors of fishing, and
- 1:20then usually a credential compromise after that.
- 1:22So identity is still right there in the initial access.
- 1:26So, starting from the top, they had three big takeaways He's the
- 1:30first one is Enterprises lack, strong MFA adoption.
- 1:34Now we all know that MFA adoption has been on the rise
- 1:39and very little companies that I have come across.
- 1:42Now do not have at least some sort of MFA for the most part,
- 1:47but this takeaway is they lack strong MFA.
- 1:50So, the point is really about the adoption of fish resistant
- 1:54MFA, as a second factor, and their surveys, in this report
- 1:57showed that only one point eight, two percent of Accounts
- 2:00are using this type of MFA which that sounds about right to me.
- 2:03I don't know. I think most people are not
- 2:05using that type of MFA agreed and then they said that their
- 2:09sample showed 40.2 6% of accounts have either no MFA or
- 2:15week MFA. So you know, that's also
- 2:18probably by week MFA. We probably mean like SMS MFA so
- 2:23about 40% is using that. They also found that users have
- 2:28some extremely long Ian's configured without having to
- 2:32re-authenticate. That does make it easier for
- 2:34attackers to hijack session successfully.
- 2:37So, when we talk about those session hijacks or the MFA
- 2:41prompt the MFA bombing, you know, without having to
- 2:44re-authenticate it, makes it easier for attackers to to get
- 2:47those. They actually found that on
- 2:49average companies have a lot of monthly sessions and this was an
- 2:53analysis did from OCTA where they looked at companies who are
- 2:57OCTA customers. But several of those Summers had
- 3:00monthly sessions that were longer than seven days.
- 3:04The recommended session length is one working day and to me
- 3:08that says eight hours. So usually you authenticate,
- 3:11once that session should last eight hours and then you'd have
- 3:14to be prompted again. So that was the first takeaway
- 3:18which was all about strong MFA adoption the MFA number sound
- 3:23right aligned with what we see still very little fish resistant
- 3:28MFA being used out there. There would love to see more of
- 3:31it. Understand some of the headwinds
- 3:33with adopting it so it sounds right. 40.2 6% either having no
- 3:39MFA or very weak. MFA means.
- 3:41So if you kind of do the math here there's a big chunk.
- 3:44Now we're not patent everyone on the back for this but about 58%
- 3:47that must be like, moderate MFA. So it's like 2% are strong.
- 3:52But gosh, that's still a big number and we know this.
- 3:55I mean like the horse is super dead guys.
- 3:57Just turn on my face for everyone.
- 3:59All Time. But sounds right.
- 4:01So the session liked one is interesting, though, because
- 4:04this runs counter to Microsoft guidance, Microsoft guidance in
- 4:07general is that you should not specifically enforce a session
- 4:12length in the Microsoft world. When you sign in, you get to
- 4:15tokens, you get an access token, which is valid for one hour and
- 4:18you get a refresh token, which can have a much longer validity
- 4:22time. Especially if you've performed
- 4:23strong authentication like with multi-factor authentication and
- 4:27that access token is actually the bearers A token.
- 4:30It's the thing you can steal and hijack, a session.
- 4:32It is good for at most 1 hour, with continuous access
- 4:35evaluation that window can be much shorter today, but let's
- 4:38just say, worst case scenario. It's one hour after an hour
- 4:41because you don't possess the refresh token, you can exchange
- 4:44that anyway and the refresh token doesn't get you in.
- 4:47It doesn't get you anywhere. You have to exchange that for an
- 4:49access token to maintain access. So this guidance doesn't really
- 4:53add up at least not in a Microsoft world because changing
- 4:56that doesn't change. The fact that the thing
- 4:58attackers steal the hijacking. Russian is good for at most 1
- 5:01hour. So maybe this applies to other
- 5:04identity providers but for our listeners who run Azure active
- 5:08directory as their IDP session length should not be reduced
- 5:12unless you have another reason to do it.
- 5:14Perhaps it's a regulatory requirement or an audit
- 5:18requirement, or you just want to do it for an application.
- 5:21You deemed to be extra sensitive.
- 5:23So to be fair, although, overall, Microsoft is not
- 5:25recommended. Sometimes it's do as we say, not
- 5:28as we do, I can say for Or our internal World, our benefit site
- 5:32of all things, constantly requires re-authentication.
- 5:35I think, at times you had a free hour or two but it is highly
- 5:38sensitive. And you can change really
- 5:39sensitive things, like your direct deposit information so
- 5:42that all makes sense. But in general, just wanted to
- 5:45point out that that's one of those things and you know, on
- 5:48this show so much of security guidance like we know what we're
- 5:51supposed to do and there's broad industry agreement as to the
- 5:54right approach. This one is interesting to me
- 5:56that there actually is disagreement on the correct
- 5:59approach on this. Someone.
- 6:00So just wanted to bring that out for conversational purposes.
- 6:03Of course, that that guidance is different.
- 6:05So if you actually want to see this for yourself, if you go to
- 6:08the documentation for the session length, setting and
- 6:10Azure ad, it actually says in the documentation that setting
- 6:14this to a lower interval, does not meaningfully improve
- 6:17security, it's actually in the documentation, so for what it's
- 6:19worth. Yeah, I think one of the things
- 6:22that we have an advantage for is that we have the ability when
- 6:26you're within the Microsoft ecosystem to Perform other
- 6:30signals that can demonstrate strong authentication?
- 6:35That can then refresh that session, whereas idps that
- 6:39aren't Azure. The only way they have to
- 6:43perform another authentication. Signal is another prompt for
- 6:46MFA. That's all they have.
- 6:48There is nothing else. They can't mix in device.
- 6:51Compliance signals. They can mix in Windows.
- 6:53Hello for business, which does count as another MFA prompt.
- 6:56So if I sign into my Windows device, With Windows, hello for
- 7:01business, that sends a signal to Azure active directory, to say
- 7:04you've performed MFA on this device without ever having
- 7:08prompted me on the authenticator, right?
- 7:10So that's the advantage. And so that's why I think the
- 7:13guidance has been eight hours for other idps because if they
- 7:17didn't do that, they would constantly be prompted for MFA,
- 7:20just like our benefit site. Every time we sign in an hour or
- 7:24whatever, we get prompted for MFA and I got to go grab my
- 7:27phone, do the problem and that's the Time throughout the day.
- 7:30For the most part I have to grab my phone for an MFA, right?
- 7:33But I am constantly performing MFA on my Windows machine
- 7:36because I sign in with Windows. Hello for business, every time
- 7:39you unlock it, you've just performed another MFA.
- 7:42Yeah, so I think you're probably correct in the fact that if you
- 7:46are in the Microsoft ecosystem, the guidance is not to shorten
- 7:50that just to keep it at the default length and for other
- 7:54idps. You either have the I'm going to
- 7:56bother my user a lot throughout the day.
- 7:59I'm going to bother And once in the beginning of the day and
- 8:02then, you know, the next day. So it's just once a day but just
- 8:04reasonable, right? That's still not a bad user
- 8:08experience. And I don't think it Prime's her
- 8:10users to, like respond affirmatively to MFA bombing or
- 8:14stuff like that. And that's really where the
- 8:15concern comes from is you get these very overzealous security
- 8:18teams like we should prompt users to re-authenticate every
- 8:20half hour. It's like a they do that every
- 8:22time they unlock their Windows PC, but be now you're priming
- 8:25them to just start spamming accept.
- 8:28And now, you've just really as Supposed to improve security,
- 8:31you've actually diminished it because of an anti-pattern or
- 8:34you've trained your users to respond affirmatively to MFA
- 8:37bombing or MFA spamming type of tax.
- 8:39A second takeaway that they found in this report is dormant
- 8:43accounts or in the crosshairs and we did talk about this
- 8:46recently as well on one of our episodes.
- 8:49But they found that dormant accounts represent on average 24
- 8:53percent of a company's total counts and they are regularly
- 8:57targeted and they have actual examples because This is not
- 9:00hypothetical. So apt 29, which I'm not exactly
- 9:03sure what the actual name of that is.
- 9:07But in August of 2022, they launched a Brute Force attack on
- 9:11some dormant accounts and according to Mandy, and thick
- 9:13conducted a password guessing attack against a list of
- 9:16mailboxes and successfully. Guess the password to an account
- 9:19that had never been set up or used and so the group knew that
- 9:23these were inactive dormant account and usually they don't
- 9:26have the same security scrutiny as a Active account.
- 9:30And then they were able to enroll that compromised account
- 9:33into their own MFA. And so, if you are keeping
- 9:36dormant accounts around, for sure, remove them from any
- 9:40security groups. They found that inactive users
- 9:43are usually dominated within many groups on average companies
- 9:47have 196 groups with over 75 percent in active users.
- 9:51And that is just a staggering number to me.
- 9:54So one, if you happen to be keeping them around remove them.
- 9:58But I think we had a Sir, some sort of episode where we talked
- 10:01about it, like, if the users aren't employees anymore, you
- 10:05should just remove the account. Unless there's some sort of
- 10:07compliance that I'm not aware of Regulatory Compliance audit that
- 10:12requires you to keep them for a certain amount of time.
- 10:14So, the most interesting line here that caught my attention
- 10:17was furthermore, they could have roll any compromised account
- 10:20with their own. I'm a PHA, I have often pointed
- 10:22out because I had customers want to, like, really hardened when
- 10:26you could enroll something to MFA.
- 10:28And as I kind of said, why, You doing that?
- 10:30I said ultimately if I'm a user and somebody else hijacks my
- 10:34account and in roles that an MFA, I just got a great signal
- 10:37that my account is compromised. Why would you want to hide that
- 10:39signal? That's like a canary in a coal
- 10:41mine. Don't lock that down.
- 10:42I mean, that's a great way to tell, but of course, if that
- 10:44account is completely inactive in, no one else is signing into
- 10:47it. Well, he'll why not go ahead and
- 10:49register your own MFA? Nobody's going to notice.
- 10:51And the other thing too, is if you do need to keep an active
- 10:53accounts around for any reason, you should, of course, not only
- 10:56obviously disable them and all this, and that you should change
- 10:59the password. And you should set it to like a
- 11:01super long complex, randomly generated, password mashed, the
- 11:04keyboard for all I care, you know.
- 11:06But there's no reason they should have any reasonably
- 11:09guessable or typable password like ever.
- 11:12If you have some reason you Warehouse disabled accounts,
- 11:14which again, ideally just don't do that, but if you have to
- 11:17Regulatory Compliance or whatever, that's the way we've
- 11:20always done it which is a bad security recent, but anyhow,
- 11:22change the password and a lot of this goes away but gosh, those
- 11:25are staggering numbers to and I believe it again.
- 11:28It's just one of those clean up things.
- 11:29Is that falls through the cracks and it's not really hurting
- 11:32anybody and it's not the squeaky wheel.
- 11:34So why would you go fix it? One of the reasons why I love
- 11:37doing this podcast is because there are certain things that I
- 11:41learn from you and you learn from me and I'm sure our
- 11:43listeners learn things, as they listen to us, talk about it out
- 11:47of all the times I've ever talked about this.
- 11:49Never once have I ever thought about changing the password to
- 11:52an inactive user? Like, I've done this action,
- 11:55where I've moved in active users to another OU disabled them,
- 11:59remove them Scooter groups. I've never thought about
- 12:01changing the password. That's such a great tip and I
- 12:03don't know why I never thought about it.
- 12:04But yeah, such a good call out, literally just mash the keyboard
- 12:08and it's fine. Like it just should be a
- 12:09password, nobody knows and no one.
- 12:11No one needs to know. You don't need to keep track of
- 12:13it. You can just generate a random
- 12:15string and just change the password because it's just
- 12:17there, right? You just keeping it there for
- 12:18the object or whatever, right. If you're going to re-enable it
- 12:20obviously you're going to reset the password anyway, so it
- 12:23doesn't matter. So yeah, it should be a
- 12:24password. Nobody knows, such a great tip.
- 12:27Thank you. I don't know where I got it.
- 12:28I'm not going to say okay. Came up with it.
- 12:30But obviously work with somebody smart who told me to do that and
- 12:33I passed along information, sharing baby, great, great tip.
- 12:36So the third one that we're going to talk about is their
- 12:39final, takeaway is admins and executives are under attack.
- 12:43This is not anything new. This is not earth shattering, we
- 12:45know that domain administrators are more likely to face account
- 12:49probing or account compromise. You're going to try to get the
- 12:52keys to the kingdom, but in some instances.
- 12:55So user domain admin, accounts usually are fine, right?
- 12:59It's Those servers accounts that some vendor comes in and like,
- 13:03oh I need a service account. It has to have domain
- 13:06administrator rights. Those are the ones that usually
- 13:09sometimes get setup with less scrutiny, or they're lacking
- 13:13some sort of security control. I know that initially OCTA used
- 13:17to require Global administrator within Azure.
- 13:19And of course, you're not going to sculpt MFA for that Global
- 13:23admin account because that can cause problems, when it's
- 13:25prompting for the service, they recently changed Don't know what
- 13:30recent but they did change it to where it could use a service
- 13:34principle, but it still needed, Global administrative rights.
- 13:37And so those are the ones that I'm more worried about when
- 13:39you're looking at these, not necessarily the admins, which I
- 13:42think usually are short up, much better.
- 13:45And then of course, Executives executives are infamously, you
- 13:48know. They don't want to be bothered
- 13:50with the security stuff. Although like we talked about
- 13:52last week where you know the C cells in the c-suite and the
- 13:55board members are now under much more scrutiny, maybe, you know,
- 13:59The executives are going to be much more open to having
- 14:03security controls, especially when you explain to them the
- 14:06risk. And I know that in my
- 14:07experience, the ones in it have been much more open to security.
- 14:12It's usually the ones outside of it.
- 14:14I think lawyers are infamously like don't bother me with the
- 14:17security. They are getting better
- 14:19especially the ones that are involved with risk but yeah the
- 14:22executives right? They usually have more leeway
- 14:25usually have to flex a little bit more but because they're
- 14:28more likely to get attacked. These are the ones that actually
- 14:30need the security controls more, the administrators.
- 14:33I also think back to several weeks ago when we are covering
- 14:36the updates from LastPass and all the very targeted attack on
- 14:41one of their administrators that had occurred actually
- 14:43infiltrating their home network and what not?
- 14:45We might not see that level but again administrators do need to
- 14:48be aware, they're very attractive targets and they need
- 14:51to secure their accounts appropriately.
- 14:52And I agree with you. It's probably more likely to be
- 14:55those service style accounts, but I still am sure.
- 14:59Especially in smaller organizations.
- 15:01You have almost that single-threaded admin who does
- 15:04everything and who knows if they're running like scheduled
- 15:08task with their user Identity or something crazy like that.
- 15:11There's probably all sorts of examples where it's like, well,
- 15:13I can't put MFA on my account because then this doesn't work.
- 15:16And ultimately, there should be very few instances of that
- 15:19today, but I bet they exist Executives.
- 15:22Absolutely, I saw this. I will say now, I just had my
- 15:25sixth anniversary at Microsoft, so I'm a bit out of the loop
- 15:28from kind of the world of enterprise.
- 15:29Sighs it. But obviously there's been a lot
- 15:31of high profile information security incidents.
- 15:34Since really, I left Enterprise it.
- 15:36I'd be curious to know if Executives have kind of at least
- 15:39started to adopt a little more of this and be a little more
- 15:42open to it and especially as we've gotten better, lower
- 15:45friction options as well. Compared to what we had in the
- 15:48past that were pretty friction field.
- 15:50If we're all being honest with ourselves, the state-of-the-art
- 15:52in current login technology has improved significantly.
- 15:55So maybe that reduces some of the pushback as well.
- 15:58I have to imagine, it's better. That was six years ago, but I'm
- 16:01sure it's not where we want to be, because there again, is the
- 16:04fair perception that my time is incredibly valuable, which it
- 16:08is. And so anything that is really
- 16:10creating friction between me and getting work done is not
- 16:12acceptable. I understand there's risk
- 16:14involved with that but I don't care.
- 16:16And there's that kind of individuality but versus being
- 16:19part of the team kind of thing and Executives tend to sometimes
- 16:23think that what's good for the rest of the company doesn't
- 16:26necessarily apply to them and I'm painting with a broad brush
- 16:28on that. And I realize that And they're
- 16:30not always the case but there are some for sure.
- 16:32And so I think that's again a challenge will continue to deal
- 16:35with definitely. So just to kind of go over the
- 16:38action items in case, you know, you didn't pick up on it while
- 16:42we were talking through it. This is the summary of the blog
- 16:46and kind of the findings, but number one, sharp your MFA.
- 16:49So start deploying fish resistant MFA maybe for those
- 16:52priority accounts maybe for the admin account Executives MFA all
- 16:57the time for sure. But also Lies single, sign-on
- 17:01and other factors like Windows, hello for business or compliant
- 17:04device. If you are within that Microsoft
- 17:06ecosystem, yeah, you can use those signals and not shorten up
- 17:11that session time. Like we talked about tidy up,
- 17:13your identity, like remove an active users from groups, delete
- 17:18users who are no longer with the company.
- 17:20You know if you have to keep them around great tip from Adam
- 17:22reset, the password and then of course monitor those priority
- 17:25accounts like Executives and admins.
- 17:28So if you are within the Microsoft ecosystem in exchange,
- 17:32like for Defender for office and Defender for identity, you can
- 17:35Mark certain mailboxes or accounts as priority and then
- 17:39that will show up with a separate tag when they get
- 17:42alerted to if there's something happening to it and I'm sure the
- 17:45other type of EDR Solutions. And secure email gateways have a
- 17:49way to also Mark them but kind of go through and figure out
- 17:53what your priority. You should.
- 17:54At least have an inventory. That's kind of like the basics
- 17:56of like security, like have an inventory.
- 17:58Like know what you To monitor so know that your priority accounts
- 18:02know your priority mail boxes and then if you have a tool that
- 18:05allows you to tag them like Defender for office or Defender
- 18:08for identity, then you can get a specific alert when that
- 18:11priority account has something malicious happening to it think
- 18:15that's a great summary. This was a cool blog post so go
- 18:18check it out at Orcs website and then you know if you have any
- 18:22tips or tricks you want to share with us you know we'd love to
- 18:24pass them along in a future show.
- 18:26That's our show for this week. Thanks for watching and
- 18:28listening as always. As our contact information will
- 18:31be in the show notes. If you have any questions or
- 18:33topics you want to talk about in the future.
- 18:34Thanks, we'll talk to you guys next week.
- 18:36Thank you for listening to the blue security podcast.
- 18:38Please check out the show notes. Catch up on episodes.
- 18:41You may have missed and subscribe so you don't miss any
- 18:43future episodes. Find Andy, on Twitter at age 0,
- 18:470, and Adam at AJ Brewer. See you at our next episode?
- 18:29As our contact information will be in the show notes.
- 18:31If you have any questions or topics you want to talk about in
- 18:34the future. Thanks, we'll talk to you guys
- 18:35next week. Thank you for listening to the
- 18:37blue security podcast. Please check out the show notes.
- 18:40Catch up on episodes. You may have missed and
- 18:42subscribe so you don't miss any future episodes.
- 18:44Find Andy, on Twitter at age 0, 0, and Adam at AJ Brewer.
- 18:49See you at our next episode?