Latest / Blue Security / Protecting M365 from on-premise attacks
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:21Welcome to this week's episode of blue screen, a podcast.
- 0:24I'm Andy your host. I'm Adam your co-host this week.
- 0:27We have a great topic. We're going to talk about it.
- 0:30It is a Microsoft doc that is on our learn page and it's called
- 0:34protecting em 365 from on-premise attacks.
- 0:37We've talked about many of the things within this document and
- 0:40I've even referenced this document on a previous show,
- 0:42saying, hey, we should do a whole show on this and so that's
- 0:45what we're doing tonight. Love it.
- 0:47The first thing that I wanted to say right off the bat is number
- 0:50one right in the documentation in the first few sentences.
- 0:54It says that Microsoft recommends that you implement
- 0:58this Guidance. The second thing I will Say is
- 1:00that I don't know of many companies out there that have
- 1:03fully implemented. This guidance.
- 1:05In fact, when we start talking about the very first one you're
- 1:07probably going to be like oh that's something I need to
- 1:09probably do so you know, security is a journey and you
- 1:14may not be there yet, but this is a roadmap for you.
- 1:17So from a high level, we're going to kind of talk about the
- 1:20things that is documentation recommends and then some
- 1:23specific security recommendations in each one.
- 1:26So when we talk about threats to on-premise environments, there
- 1:30are two major vectors of attack. The first one is Federated trust
- 1:34relationships and that's like Samuel authentication when
- 1:37you're using on-prem, 80 to authenticate to em 365, commonly
- 1:41known as a TFS and this is a concern.
- 1:46If your sam'l token signing certificate is compromised
- 1:49because if that happens and Federation allows anyone who has
- 1:52a certificate to impersonate any user in the cloud.
- 1:56So we've talked about ad fs and try and get rid of ATF.
- 2:00Some in this documentation says, you know, you should disable
- 2:03Federation trust relationships when possible and migrate to
- 2:07something called account synchronization, which is
- 2:09sinking accounts between, I'm Prem using 80 connect to as your
- 2:14ad, but that can still be a vector of attack.
- 2:17In fact, that's the second one because any modified privileged
- 2:20users including their credentials.
- 2:22Are groups, have administrative privileges in.
- 2:24EM, 365 can be used to attack the cloud.
- 2:27So Microsoft recommends that you you synchronize only objects
- 2:31that have no privileges Beyond a user with an M 365.
- 2:35Anything that has privileged or trusted role within Azure should
- 2:40be kept within Azure and any privileged users on a D should
- 2:43be kept within 80. So basically keeping those
- 2:46separate which is like the first thing in the guidance.
- 2:49So when we talk about the guidance, we're going to talk
- 2:51about four things. The very first thing is
- 2:53isolating M 365 admin accounts. We've mentioned this before.
- 2:58This means that you need to Master your admin accounts with
- 3:01in Azure ad and those accounts are just Cloud accounts.
- 3:05There's no user that is provisioned on premise in active
- 3:09directory that syncs to Azure ad with an admin role.
- 3:13And then, of course, those users need to be authenticated using
- 3:16multi-factor secured by Azure ad conditional access and access
- 3:20only using Azure managed workstations.
- 3:23Now, this one can be a tough one.
- 3:25Because at least that Microsoft, I'm pretty sure that we have
- 3:28on-prem admins separate. Thumb are Azure ad admins
- 3:32because we're big enough company that we probably have premise
- 3:35folks as well as as you're 80. But many people at companies
- 3:39those are the same people. So you start having to manage
- 3:41multiple credentials. If you're using pause, you have
- 3:43to manage multiple workstations. So there are creative ways to do
- 3:47this but the recommendation is to use an Azure manage
- 3:50workstation that is locked down using conditional access for
- 3:53those admin accounts. Those are some security
- 3:56recommendations specifically for this as well.
- 3:58You want to implement privileged Me management and used
- 4:02privileged access devices, as well as use the least privileged
- 4:05role necessary to do the required tasks.
- 4:07So, I know when I've done this in the past, I've scaled back
- 4:10all the roles for all the admins and then kind of waited for them
- 4:14to say, hey Andy, I used to be able to do this thing and I have
- 4:18to do it all the time, but I don't have the permission
- 4:20anymore. So then you gradually give them
- 4:22more permission so that they have all the things that they
- 4:24need for their daily job and then it's like, oh, I need to do
- 4:28this thing. Well, how often do you need?
- 4:29To do it. Oh, once a week.
- 4:31Okay, well that's something that privileged identity management
- 4:34can then take care of because you only need to elevate to that
- 4:37role when you need it. So that was a lot right there.
- 4:40I'm going to take a pause because that is probably one of
- 4:43the toughest things ready to do is to separate your admin
- 4:46accounts from the cloud and on-premise.
- 4:48Yeah, we did touch on a lot right up front in this show, but
- 4:52there's just a lot here to unpack first off as we always
- 4:56mention any and I both work for Microsoft.
- 4:58So this is guidance. We've Exposed to and I'd say we
- 5:01both definitely agree with. That's why we're doing a show
- 5:03about it. A couple things I find.
- 5:04Interesting. Number one Microsoft, doesn't
- 5:07often say like we strongly recommend.
- 5:09You do exactly this. Microsoft's definitely company
- 5:12of choice. There's many different ways to
- 5:13do this thing. There are many beautiful options
- 5:15for you in the world. And so, in Microsoft comes very
- 5:18prescriptive lie and says, you should do this thing and it's
- 5:21not necessarily for any purpose, other, than helping secure your
- 5:24organization. I think you should sit up and
- 5:26take notice. And so, while some of this
- 5:28guidance is like, for this, First thing was to fully isolate
- 5:31your administrative accounts note that Andy did not qualify
- 5:35it to just administrative accounts for the guidance that
- 5:38you really should move away from Federated authentication
- 5:40entirely. But if you can't at the very
- 5:42least, you know, some of these will help mitigate that risk but
- 5:45that's an even bigger step as well as two moves to some of
- 5:48those managed authentication options.
- 5:50Like password hash synchronization or password
- 5:52authentication, I don't want to get off on that tangent but just
- 5:55to note that the guidance here actually speaks broader than
- 5:58your admins and says really So you have like a regulatory
- 6:01requirement or a technical requirement.
- 6:03You shouldn't use Federated off at all.
- 6:04That said, moving on to this, specifically isolating
- 6:07administrative accounts. I think I first became aware of
- 6:09this guidance, in the aftermath of the solar winds and Solarium
- 6:13compromises. And that's when this really came
- 6:15to light, I think for a lot of folks because they use that
- 6:19initial compromise to steal those certificates and be able
- 6:23to basically mint their own sample tokens.
- 6:25That said, I'm the global admin. Let me go do whatever I want and
- 6:28be aware. This risk is not alone to like
- 6:32the Microsoft 365 environment. If you for example used adfs to
- 6:36give access to salesforce.com or box or any other third party SAS
- 6:41application. This risk could be there to to
- 6:43wear again I could gain access on premises and then go mint.
- 6:48My own tokens that say I'm the global admin in salesforce.com
- 6:52inbox or wherever this risk is the same.
- 6:55Obviously, we're just focused on our own world which is Microsoft
- 6:58world and so this is how you Check that but that's why that
- 7:01risk actually is broader than that as well.
- 7:04I love the call and I'm privileged identity management.
- 7:06And I make this point frequently that the privileged identity
- 7:09management function in Azure active directory, enables you
- 7:13just by its normal behavior to also get to a place of least
- 7:18privilege rolls, like just enough access Gia, kind of model
- 7:23because you can as you go in the interface essentially choose
- 7:27which roles and you can be eligible for multiple roles that
- 7:30you want to elevate into. So if you need to do a task that
- 7:34requires you to maybe wear multiple hats, I need to control
- 7:37change conditional, access policies, and make some changes
- 7:40to an InTune say, compliance policy.
- 7:43I still don't need Global admin for that.
- 7:44I could be in tune admin and literally conditional access
- 7:47administrator and I could put both of those hats on and go do
- 7:50the thing. I need to do so.
- 7:52Pam, I think really does help carve out just the amount of
- 7:55access you need to do the thing and sometimes you may need to
- 7:58put on multiple hats. An elevated into multiple roles
- 8:01and sometimes you can just do the one role for the task at
- 8:03hand. So I think that works out really
- 8:05well. And then just one final note,
- 8:07when we've brought this up to customers in the past and again,
- 8:10and you already said this, we don't see a lot of customers who
- 8:13are fully baked in this model today.
- 8:15If you are congratulations. If you're not, you've got
- 8:17company the pushback. We get our things.
- 8:19Like, well, we don't want to have to go disabled like
- 8:22multiple accounts when somebody gets terminated and
- 8:25administrative role or we just don't want that volume to manage
- 8:28and I get that. That, you know, a lot of the
- 8:31promise of moving to a single. Sign-on model is you have that
- 8:34single account to disable and it automatically goes into Stables
- 8:37across every say, SAS application that users provision
- 8:41to. So, I get that.
- 8:42This is in some ways, a step backwards but Wayne that risk,
- 8:46which can be solved really through process against this
- 8:50risk. Which again, nobody has solved.
- 8:52Because if we'd solved cyber risk, then we wouldn't have a
- 8:54show to talk about there. Is that risk of on-premises
- 8:57compromise, and let's at least, Close the blast doors and
- 9:01prevent it from becoming laterally moved into the cloud
- 9:04as well, and a privileged role there.
- 9:06So, I get the push back. But I think if you sit down and
- 9:10really think about this, or even put pen to paper, you'll
- 9:12recognize that one risk can be pretty well mitigated.
- 9:16The other risk is unknown and not easily mitigated.
- 9:19And even if it's less likely to happen, if it does happen, the
- 9:23impact is much greater, right? So as you do that, full analysis
- 9:26on probability versus impact and everything else, you In a way in
- 9:30your evaluation, I think this still comes out on top and
- 9:33that's why the guidance is to do it.
- 9:35There are compromises for sure. Like, for example, the second
- 9:39one here I'll talk about real quick which is managed devices
- 9:43from M 365. And if you've listened to the
- 9:46show, you know that we're huge fan of in tune, as well as doing
- 9:50a charade e, join using conditional access and that's
- 9:52what this is. So you're protecting your
- 9:54on-premise environment by moving those workstations to the cloud
- 9:58using cloud-based mobile. Device management and
- 10:01eliminating your dependencies on premise device management
- 10:04infrastructure because that can be compromised, right?
- 10:08And so if you have a device that's compromised that has
- 10:10access to on-prem and Office 365 or M 365 admin that's a way to
- 10:15get in. And so you know, if I'm thinking
- 10:18about compromises number of devices that you have to manage
- 10:20number of credentials, you have to manage it can get tough but
- 10:23let's say you do sink and keep sinking your admin accounts from
- 10:28on-premise ad. You can still Lll, apply
- 10:30conditional access to a device. Make sure that device is managed
- 10:34and make sure that device is, you know, low risk, the sign-in
- 10:37risk is low and still provide that before you access the
- 10:41administrative portals. So that is a compromise, because
- 10:44now you're mixing in some more protection, it's not the
- 10:48recommendation obviously here, but I certainly do understand
- 10:51the difficulty, like Adam said, you have to disable them
- 10:54multiple admin accounts and it's not a, I just turn off your a
- 10:58t-account and all of a sudden you Of no more admin access.
- 11:01Right? Cloud access is difficult and
- 11:04that's like something you deliberately have to go and turn
- 11:06off because they will have access outside of your corporate
- 11:09Network to the administrative realm, unless you implement
- 11:13conditional access with devices. Because then you can just D
- 11:16provision that device, it talks to the Internet, it's D
- 11:19provisioned. Now, they don't have access,
- 11:21right? So that is the best way mixing
- 11:24in the device management conditional access for devices
- 11:28as well as the Separation from the cloud.
- 11:31So there can be some compromises here.
- 11:33But as we go down, this is the recommendation in.
- 11:35These are the best practices. The third one is ensuring that
- 11:39no on-premise account has elevated privileges to M 365.
- 11:43So, the first part is just admin accounts.
- 11:45I would consider that, like, Global admins domain admins,
- 11:48like, don't think domain admin accounts to and 365 don't have
- 11:52accounts that are synced and Grant those global admin access.
- 11:55This is now any accounts that are synced between on-prem and
- 11:59Asher ad, we mentioned in the beginning, the only accounts
- 12:02that are recommended to sink are ones that are just users.
- 12:05And so this means helpdesk admin or exchange admin, which is very
- 12:11powerful or SharePoint admin, which is another powerful role
- 12:14that goal should be Cloud accounts, only remastered in
- 12:17Azure active directory, rather than a synced account.
- 12:20So that also includes groups, so make sure that these accounts
- 12:25aren't included in groups that also are granted privileged
- 12:29rolls in. In Azure ad.
- 12:30And finally, you know, making sure that service account
- 12:33service accounts are I think notorious for being over,
- 12:36permissioned making sure that those are not included in
- 12:40privileged Cloud rolls, all right?
- 12:42You can have service principles in privileged roles and it's a
- 12:46single application single privileged service principle,
- 12:50but should not be a synced user account from ad on-prem to Azure
- 12:56into a privileged role. So yeah, that's the third thing.
- 12:59Thoughts on that item? Yeah, I think I kind of already
- 13:02got into those Waters. I talked about that a little bit
- 13:04responding to the first thing, but I see this as kind of an
- 13:07extension of that and you alluded to that as well.
- 13:10The first one is specific about those administrative roles that
- 13:13you think of, but there may be other privileged roles that you
- 13:16might not think in your mind as well.
- 13:18That's an administrative role but still the line of the sand
- 13:21is really clear here. No synchronized identity, should
- 13:24have any elevated privileges period, any identity with
- 13:28elevated, privileges should be A cloud only identity should be
- 13:31mastered in the cloud essentially, and then kind of
- 13:33going back to the other point to, you talked about with the
- 13:35second thing. And that was the manage devices
- 13:37in Microsoft 365. And it was talking about
- 13:40essentially doing Cloud management with in tune and
- 13:42doing Cloud identity for the device identity as your ad join.
- 13:46I think that's less of a security control and more of a
- 13:49high availability control or surviving a compromise.
- 13:53So I would see it as a concern of let's say your on-premise
- 13:57infrastructure gets just absolutely.
- 13:59I mean, it's Ask right which we govern.
- 14:01Ashton friend of the show has been on several times.
- 14:03We've heard how dire that was. But again just because you
- 14:06basically lose your on-premises infrastructure, that shouldn't
- 14:10mean you lose the ability to manage your Cloud
- 14:12infrastructure. And so having administrative
- 14:14devices that are a cloud only identity, our Cloud device
- 14:17identity. That is helpful in the sense
- 14:20that you can still get to that, no matter how bad stuff is on
- 14:24premises. And I think that's a larger
- 14:26portion of the point. Certainly in a, you talked about
- 14:29building Additional access roles for even being able to sign in
- 14:32to a provision account and we guide to that as well, and you
- 14:35should do that. But I think that's also a point
- 14:37that can be missed and really that dovetails nicely into our
- 14:41fourth and final thing and I'm going to let you go through it
- 14:44and e. But the idea there of using
- 14:46Azure ad Cloud authentication entirely moving away from that
- 14:50Federated authentication. The one of the big points I make
- 14:53about that is yes, there's Security benefits to it.
- 14:55But again, it decouples, your ability to access the cloud from
- 14:59your on. Promises infrastructure being
- 15:01operational. So again, if you're a DFS
- 15:03environment gets absolutely, you know, floored you can still get
- 15:06to the Cloud because it seems silly like I can't get to my
- 15:08cloud mailbox. Why?
- 15:10Because on-prem got hit like what's the point of it being in
- 15:12the cloud. If I have this dependency so
- 15:15I'll let you kind of speak to the final thing with that but I
- 15:18think both of those things tie together that concept of that
- 15:21managing your devices and I'm 365 I think is partially to
- 15:25survive and just decouple yourself from any shenanigans on
- 15:29premise. Isis.
- 15:30Yeah. Great Point Adam and the final
- 15:32one is to use Azure ad Cloud authentication to eliminate
- 15:35dependencies on your on-premise credentials.
- 15:38Now, this whole time we have been talking about Azure ad but
- 15:42obviously there are other identity providers out there and
- 15:46the concepts here are the same like you should have
- 15:49administrators only for OCTA. Be Cloud separated.
- 15:54Not a synced account from active directory, on-prem to OCTA as a
- 15:58company administrator. Right over there, or ping, or
- 16:01whoever. And so these concepts are the
- 16:02same. Obviously, we say, Azure ad, but
- 16:05it could be any identity provider, you know, when you're
- 16:07eliminating dependencies from on-premise credentials.
- 16:10That means implementing pastoralist authentication.
- 16:13So you want to use password list as much as possible.
- 16:16Windows. Hello Fido Microsoft,
- 16:18authenticator multi-factor authentication.
- 16:20There are some limitations and trade-offs, when it comes to the
- 16:23hybrid account, password management, if you are using
- 16:26hybrid components of password protection, And password right
- 16:30back agents, the on-premise infrastructure if it is
- 16:33compromised attackers can control machines where these
- 16:36agents reside now, that alone won't compromise your Cloud
- 16:40infrastructure, but your Cloud accounts won't protect these
- 16:43components from on-premise compromise.
- 16:46So, keep that in mind, if you're doing the hybrid password
- 16:49account management, another thing that I don't know if this
- 16:52is common knowledge but any on-premise account that synced
- 16:57from active directory to azure D gets marked in Azure ad that
- 17:02their password never expires. Because the password expiration
- 17:06actually depends on the, on premise group policy that you
- 17:10have set. So, in Azure ad is just
- 17:12automatically set to never expire.
- 17:13If it's a synced account, if it's a cloud account, there is a
- 17:17password expiration policy within Azure ad that you can set
- 17:21for those Cloud accounts. But any synced account, is just
- 17:23always set to never expire and you can't change that.
- 17:26If your on-premise active directory gets Mised and the
- 17:30synchronization is disabled, you can force through Powershell, a
- 17:34password change for all of your synced users still.
- 17:38So that's another thing to keep in mind, really good points
- 17:41there. And I like, when you talked
- 17:42about other identity providers because although we've really
- 17:46focused on get rid of Federated authentication entirely and
- 17:50we've talked about ad FS. Technically, when you're using a
- 17:53third-party identity, provider like a ping, or an OCTA, you're
- 17:56still in a Federated authentication model now, Higher
- 18:00degree of safety with those then. 80 FS to be clear.
- 18:04So we're not picking on them. However, I think the risk still
- 18:08stands that if your admin accounts like, would require you
- 18:11to sign into oxygen to get to Azure ad.
- 18:13Now, it's not the same thing as if on-prem gets compromised, but
- 18:17let's say OCTA is down, OCTA has issues.
- 18:20Now, you can't get in to manage your Microsoft stuff, you've
- 18:23created an extra dependency. So that again goes back to the
- 18:26point of why we want these admin accounts.
- 18:28Mastered. Gnasher ad and to be as you're
- 18:31eating native sign in. That's because there's no other
- 18:34dependencies. Other than just Microsoft of
- 18:36Microsoft is up. You can get in and manage your
- 18:39Cloud. That's the whole point here.
- 18:41So I do understand there is Nuance there and I think the
- 18:44risk level is different so not picking on them but just saying
- 18:48anytime you introduce additional dependencies, you create more
- 18:52risk that you may not be able to administer the service when you
- 18:55need to. You don't know, potentially how
- 18:57catastrophic things could get That's a good point and then you
- 19:01know talking about some of these like if you're doing
- 19:04synchronized identities and again on premises gets
- 19:08compromised like you turn off a surety connect temporarily again
- 19:11like a Maersk situation it's really good call out that
- 19:14normally the Azure Ed component of that synchronized identity
- 19:18doesn't have password expiration.
- 19:20And by the way, the reason why it's architected that way is for
- 19:23Simplicity, the assumption is you're going to enforce that
- 19:26password change from the on-premises component of Of the
- 19:29identity is like when I sign into my windows workstation,
- 19:32when my password expires I'm going to be forced to change it
- 19:34on my workstation. So sometimes there may be
- 19:37scenarios where it's a synchronized identity
- 19:39theoretically but they wouldn't have interaction with like
- 19:43Windows or domain controllers to wear that would ever be
- 19:46enforced. And so, that would be another
- 19:48scenario when you'd want to use this Powershell commandlets to
- 19:51force password expiration in the cloud.
- 19:53Instead to ensure that that process still occurs and you
- 19:57would need to use something like password hash synchronization.
- 19:59That to work by the way. So some could call outs there a
- 20:02really good point. Adam, I like that you talked
- 20:04about, like, if say you're using OCTA which is a Federated
- 20:08identity to manage your identities within Office, 365
- 20:12and 365. And if that were to go down now
- 20:14you can't access your Microsoft environment.
- 20:17One of the things in this document that actually didn't
- 20:19put in the notes here, but it is highly recommended that you have
- 20:22a break glass account. I'll break glass account is
- 20:26literally that it's something that is usually a global.
- 20:29Min. It is there all the time and it
- 20:31has probably an extremely long password, and it has no
- 20:35conditional access associated with it.
- 20:37Something that you would normally exclude from all your
- 20:39conditional access policies. The big thing with break class
- 20:42accounts is you don't want to store that password in an
- 20:45on-premise password vaults. Like, there are a bunch of
- 20:48password Vault that are still like secret server or something
- 20:51like that, where it's like on-premise and you have to get
- 20:53to it from VPN or something like that.
- 20:55Don't store your break glass account in that, you know, like
- 20:58you could put the password About a text file and then put it on
- 21:02USB and put it in a physical Vault or something like that.
- 21:04Now, that'd be one way to do it or print it off and put it in a
- 21:07physical V. Physical vaults are great too.
- 21:09By the way, if you're a security practitioner and you don't have
- 21:12a physical Vault for your office, definitely something
- 21:16that I highly recommend. I've pushed for physical vault
- 21:19at many of my corporate security jobs because you need to lock
- 21:23away laptops for investigation, forensics legal proceedings.
- 21:29So definitely have that have a way of thinking about chain of
- 21:32custody. I'm on a little bit of a
- 21:33tangent, but you know it's related because pre class
- 21:36counts. You want to Safe offline, place
- 21:39to put that password and you know similar to like say AWS
- 21:43like the root account, you can have that root account on a USB
- 21:46fight authentication and put that into a physical safe
- 21:49somewhere. So all good ways to manage that
- 21:51the final thing, some other considerations for like,
- 21:54workloads and applications as your decoupling your on-premise
- 21:58and your Cloud environment. Want to deprecate any on-premise
- 22:01Federation, and web access management infrastructure.
- 22:04And configure those applications in Azure ad as pretty
- 22:07straightforward. A lot of people are doing that
- 22:09and he SAS or line of business. Applications should support
- 22:13modern authentication. Protocols, anytime you're
- 22:15looking at new applications, The Business Review should include
- 22:19security because if that application requires some Legacy
- 22:24ldap authentication or something like that, that should be turned
- 22:27down unless it's overridden. For some reason but everything
- 22:31should be modern off Sam authentication and saml 2.0
- 22:35using your whatever identity provider here.
- 22:38We talked about Azure ad but it should have octane equation,
- 22:41ping integration all the ones that support that Legacy
- 22:44applications that are on-prem, you need to be able to access
- 22:48those. Make sure that you choose a VPN
- 22:50vendor that has modern authentication.
- 22:52If you have to use VPN, you can use Azure ad a proxy as well.
- 22:55If it's a web app, another thing and this can be used for admins,
- 22:59To if you need to lie say like get to a jump box to manage
- 23:03on-premise ad. That's what I think.
- 23:05I haven't an Azure 80 joined machine.
- 23:07That is for my admin account, but then I need to manage
- 23:09on-prem and we're trying to save money because we don't want to
- 23:12have multiple machines. Well, you can use Azure Bastion,
- 23:15it's basically a jump box as a service.
- 23:17You can gate that behind conditional access and then have
- 23:20access to your on-premise infrastructure to manage
- 23:23on-premise identities applications, whatever.
- 23:26And there's also, of course, a little-known Thing called Azure
- 23:30ad domain Services which is basically infrastructure as a
- 23:34service. We can host a nadie environment
- 23:37for you with an Azure and you can migrate on-premise
- 23:40applications to Azure within the hosted environment and that
- 23:45hosted environment. Then if you want to make sure
- 23:47that it's decoupled from, you know, on-premise it shouldn't
- 23:50have network connectivity. Like, whatever Network it's on,
- 23:53should not have a site-to-site VPN back to your corporate
- 23:56Network. So this documentation that we're
- 23:58going to link in the show notes, Talks about a lot of things that
- 24:01we talked about and there's even more things as far as security
- 24:04considerations as far as documentation in what to monitor
- 24:07for security events and log management.
- 24:10Towards the end, like what events you should be looking for
- 24:12in all of this stuff. But highly recommend that you go
- 24:14through this, I mean, we went through on the high-level here,
- 24:17but it is very very detailed. It is something that I think
- 24:20every security Defender security architect should be looking at.
- 24:25Yeah. Couple of final thoughts here on
- 24:27these kind of last items. You Using Azure ad single,
- 24:30sign-on or again, identity provider of your choice for all
- 24:33the things is, a great call out. I think I flagged as we were
- 24:37talking earlier in the conversation, risks around being
- 24:40very similar to the Microsoft 365, risks of that lateral
- 24:44movement from on premises to cloud.
- 24:46And that could be just as prevalent in other very critical
- 24:50services that you leverage. I named off like potentially
- 24:53Salesforce or workday or box or servicenow or whatever, all
- 24:57things that you would want to protect as well.
- 24:59So having those with a cloud-based Federated identity
- 25:02provider is a great call out as well as your line of business
- 25:06apps. Same benefit.
- 25:08One thing you talked about briefly and I'll just add a
- 25:10little more color on is azure 80 app proxy.
- 25:13This is a feature that honestly, I don't think could ever get
- 25:17enough love because it's really great and a lot of people don't
- 25:20appreciate the benefit of it because in their mind they think
- 25:23about it as this takes something behind the corporate firewall
- 25:25and it makes it accessible outside the corporate firewall
- 25:28and I can put conditional access on it.
- 25:30Well, that's cool but really the major benefit of this and the
- 25:33way I like to think about it, encourage listeners to think
- 25:36about it is that it's actually more of sign in like single
- 25:41sign-on translation from Legacy Technologies like integrated
- 25:44Windows authentication with Kerberos to Modern
- 25:47authentication and it does that seamlessly.
- 25:50So you can have some old ancient application.
- 25:52We had this crusty app forever for your some Microsoft but they
- 25:56finally modernized which made me sad because it was such a great
- 25:59example. Ball.
- 25:59But it was called tar. And was time and absence
- 26:01reporting and it was literally like an interface from the IE 5
- 26:05days and it had to be integrated window saw.
- 26:08That fact, I know it was, but once they put a proxy in front
- 26:11of it, then you could sign in from any modern authentication
- 26:14device and it would seamlessly work.
- 26:16So in the old days of tar when it was behind the firewall,
- 26:19like, if I signed it on my Mac, I had to sign in like very old
- 26:22school, like domain backslash my username password to get into it
- 26:26and then once it became enabled with that proxy, I could sign.
- 26:29From my Mac and it was single sign on it, just recognize my
- 26:32Azure ad user identity and passed that through translated
- 26:36it to my on-prem identity and boom.
- 26:37I was in it was great. And so that's really a benefit
- 26:40is you don't have to change the code refactor.
- 26:42It anything, it just works. So, don't get hung up on a proxy
- 26:46as thing that makes something accessible outside the network,
- 26:49although it does that and does it.
- 26:51Well think of it. As I have this old app that uses
- 26:54Legacy authentication methods and I want to modernize it but
- 26:57the guy or gal who wrote Code has been retired for 15 years
- 27:01while I've got a solution for you.
- 27:03And for me, almost everyone, it's probably already part of
- 27:06your Microsoft licensing because you only need Azure ADP one,
- 27:09which is like the III level to use it, so you probably already
- 27:13own this. So really, really great helpful.
- 27:15Thing to modernize some, your legacy apps and then one, last
- 27:19note, and you touched on Azure a DDS or Azure active directory,
- 27:24domain services. And you said, a couple of things
- 27:27just to just want to clarify. This is great for If you're
- 27:29transitioning, your eye as to a sure.
- 27:32But Azure a DDS itself is really a pass offering because you
- 27:37don't have to stand up your own like VMS and Patch them and
- 27:41manage them. It's a managed service and it's
- 27:43not a complete re-implementation of like a TDS on premises.
- 27:47It's more limited in scope which is really helpful for reducing
- 27:51risk as well. So you're not just standing up
- 27:53like another domain controller and as your eye as and syncing
- 27:57everything to it and just The extending your existing attack
- 28:02surface. It's much more limited in what
- 28:04it can do with it. Completely managed service, it's
- 28:06always passion, always up-to-date but if you have
- 28:09Legacy services that need to have line of sight to active
- 28:12directory, domain Services, it's a great offering to do that.
- 28:15It sits right alongside all your is stuff as that fully managed
- 28:19service, and just basically does that for you and it with the
- 28:22correct Network architecture. You can still achieve
- 28:24essentially decoupling from your on-premise infrastructure while
- 28:28still giving all that. That infrastructure access the
- 28:31line-of-sight they need to operate.
- 28:33So it gets a little in the weeds, in a hurry with some of
- 28:35that stuff. But just know there's an
- 28:37offering there that doesn't involve you rolling more domain
- 28:41controllers and just putting them up in the cloud.
- 28:43It's actually a much more seamless Solution that's just
- 28:47fully managed and, you know, about as secure as you can get
- 28:49for that scenario. So definitely something worth
- 28:52checking into if you're doing something else today or if you
- 28:55haven't yet begun, migrating some of your infrastructure to
- 28:58the cloud. So, Really great call-outs
- 29:00there. And I think for all of our
- 29:02listeners like Andy said we went over this super high level.
- 29:05I mean we've just show is 36 minutes recorded so it'll be
- 29:08less than that edited. That's a lot of material in a
- 29:10short period of time so be sure to check out this documentation.
- 29:14It's really really good. It's laid out in a really
- 29:16thoughtful way and try to get some of this on your road map
- 29:20for actionable things. You're going to look at and work
- 29:23on in the coming year because I think this is certainly, if this
- 29:27is some risk, you can solve for Or you're going to really,
- 29:30really be glad you did. Because some people have had
- 29:33really bad days because they, unfortunately hadn't gotten to
- 29:36this work yet. And then, as the bad guys got in
- 29:39there, able to get far and wide in their environment instead of
- 29:42just kind of keeping them contained recalls there Adam.
- 29:45And that's our show for this week.
- 29:46Thanks for listening and watching as always, our contact
- 29:49information will be in the show notes.
- 29:50If you have any questions or topics you want to talk about in
- 29:53future, thanks will talk to you guys next week.
- 29:55Thank you for listening to the blue security podcast.
- 29:58Please check out the show notes. It's catch up on episodes, you
- 30:00may have missed and subscribe so you don't miss any future
- 30:03episodes. Find Andy, on Twitter at age 0,
- 30:060, and Adam at AJ Brewer. See you at our next episode?