In this episode, we talk with an identity expert, ex-Microsoftie and Principal Domain Architect, Mark Renoden, about creating a modern Privileged Access Management (PAM) solution for on-premises Active Directory. Discover how to build a secure "Bastion Forest" architecture using Microsoft Entra. We talk about PIM for Groups, group write-back, phish-resistant credentials, Privileged Access Workstations (PAW), securing an Entra tenant from the ground up, and navigating challenges with Cloud Solution Provider (CSP) permissions. Watch on YouTube PS. Can I ask a favor? If you enjoyed this episode please leave a review and rating! Thank you ๐ - Merill About Mark As Principal Domain Architect for Identity at Increment, Mark leads the design and delivery of secure, scalable identity architectures grounded in Microsoft Entra ID and aligned with Zero Trust principles. He specializes in helping organisations modernise their infrastructure and navigate complex identity transformations. Previous to Increment, Mark spent over 20 years at Microsoft in support, field engineering, mission critical and customer experience roles focused on Identity across a wide spectrum of industries in Australia and New Zealand, including Finance, Healthcare, Government, Education and Retail. LinkedIn - https://www.linkedin.com/in/markrenoden/ ๐ Related Links * DirectoryShield | Increment - https://www.increment.inc/directoryshield * Entra Security Recommendations - https://aka.ms/EntraSecurityRecommendations * Securing privileged access overview - https://learn.microsoft.com/en-us/security/privileged-access-workstations/privileged-access-overview * MIM - Bastion environment - https://learn.microsoft.com/en-us/microsoft-identity-manager/pam/planning-bastion-environment ๐ Chapters 00:46 Securing Your Entra Tenant 02:09 The Quest for a Microsoft-Only PAM Solution 04:21 What is a "Bastion Forest"? 07:50 Reimagining the Bastion Forest for the Cloud 12:53 Architecting a "Secure-by-Default" Tenant 17:41 Phish-Resistant On-Prem Admins 19:50 The Modern Privileged Access Workstation (PAW) 27:04 The Tiered Administration Model Explained 29:51 The Hidden Dangers of CSP Admin Access 34:29 How Fast is PIM for Groups? Podcast Apps ๐๏ธ Entra. Chat - https://entra.chat ๐ง Apple Podcast โ https://entra.chat/apple ๐บ YouTube โ https://entra.chat/youtube ๐บ Spotify โ https://entra.chat/spotify ๐ง Overcast โ https://entra.chat/overcast ๐ง Pocketcast โ https://entra.chat/pocketcast ๐ง Others โ https://entra.chat/rss Merill's socials ๐บ YouTube โ youtube.com/@merillx ๐ LinkedIn โ linkedin.com/in/merill ๐ค Twitter โ twitter.com/merill ๐บ TikTok โ tiktok.com/@merillf ๐ฆ Bluesky โ bsky.app/profile/merill.net ๐ Mastodon โ infosec.exchange/@merill ๐งต Threads โ threads.net/@merillf ๐ค GitHub โ github.com/merill Get full access to Entra. News - Your weekly dose of Microsoft Entra at entra.news/subscribe
Audio and video play straight from the show's own hosting. PodSubs stores and serves no media.
Transcript
From the show. Tap a time to play from there.
SPEAKER_01Intro chat with Meryl's life, digging deep where techs thrive. From the latest hacks to cool updates, join the ride.
SPEAKER_00Hey folks, welcome to another episode of Intro Chat. Today, I have one of my ex-colleagues, but he's now working as a principal domain architect. Did I get that right? At Increment? And Mark, he comes up with all these fascinating questions for me over the last few months. And I was really intrigued about what he was working on and what he has built. And it's a lot to do with a topic that, you know, all of us intra-admins think about around securing,
SPEAKER_00securing intra, knowing what's happening in your tenant. And I know, Mark, you found some really interesting things. So, Mark, do you want to just give us a quick intro about yourself, what you do?
SPEAKER_02Yeah, sure. So as Meryl mentioned, he and I were formerly colleagues at Microsoft. So previously I'd spent 20 years at Microsoft in various roles, phone support, field engineering, mission critical, and then product group in the same team as Meryl. And then following that, I've landed at Increment. So we're a pure play Microsoft partner. And yeah, I'm a principal domain architect for identity at Increment.
SPEAKER_02So we're out there helping customers adopt the Microsoft stack. And, you know, obviously my focus is identity. Nice. Awesome.
SPEAKER_00So tell us about this concept that you're building. Like, tell us the need for what it is that you're trying to achieve. And then we'll dig, you know, deep dive into all the things you found out and, you know, what learnings people can take away from that.
SPEAKER_02Yeah, sure. So it was fairly on in my time at Increment that we had a customer asking about PAM, how they could achieve PAM. And it was something that I'd been thinking about for a little while in terms of whether it could be something you could deliver with the Microsoft stack, like just every component being Microsoft. And I think at the time, there'd been a few product developments that had
SPEAKER_02led me to think it was more achievable. So things like group right back.
SPEAKER_00Right. Before we get into that, just for those who may be like very new to identity, and what's PAM, like the terminology, like privileged access management? So what does that mean?
SPEAKER_02Sure. It can mean a few different things depending on the vendor who's providing the solution. But typically, people think about just-in-time elevation into privileged roles or groups. So in ENTRA, obviously, we've got PIM, and that allows just-in-time elevation into admin roles. And historically, on-prem,
so Microsoft had what they would refer to as a bastion forest and they would use microsoft identity manager to facilitate the just-in-time elevation part um but obviously you don't have you don't have like you know continuous access as an admin onto your domain right like in on-prem ad you have this concept of not even having a domain admin and you just create the account when
SPEAKER_00you need it and you sign into it like that's
SPEAKER_02It's not sort of account creation just in time. The account is there. The mechanism that the traditional MIMPAM would use is you would have a separate forest and domain where the accounts would reside. And then through some special features that were introduced in Windows Server 2016, you would have a trust from production into that red forest,
SPEAKER_02as they kind of refer to it. And then MIM would perform a just-in-time elevation activity in the Bastion Forest, and that would allow you to then administer production.
SPEAKER_00And again, taking a step back, what's a forest for those who don't know?
SPEAKER_02So a forest for on-premises Active Directory, it's commonly thought of as the security boundary for an organization. So within a forest, you can have multiple domains. Those domains could be resource domains. They could be user domains. And a domain is really a collection of resources that sort of fulfill the same business purpose. So you have users, their devices, potentially the apps they use residing in a domain.
Forest is a collection of domains, and the forest is the security boundary.
SPEAKER_02Yep. So the idea we used to have on-prem is that you would have two forests, right? You would try to make sure you secure one forest, like completely lock it down. The users in that forest are the people who would have domain access into the other. In production. Yeah. That's right. Yeah. So yeah. Under PAM, there's also a few other solutions that different vendors have.
SPEAKER_02So one would be password vaulting. So you have to perform some kind of action to the system, and then it'll randomly update the user password and then issue that to you for a period of time so that you can perform the admin task. what are we that's how i i know like cyborg and others are very popular with that where the user themselves don't know the password for an account and they go and
ask for a password whenever they need to do something with elevated access and it
SPEAKER_00just creates a random password and gives it to them and they can use it and then when the session is over the password is again scrambled so no one knows what the password is for the password to be even leaked yeah that's right um and another feature that's pretty common is session recording
SPEAKER_02um or that's more common these days um So yeah, they're the sorts of things that can fall under a PAM solution. I don't think to my knowledge that the MIM PAM solution ever did session recording. But yeah, so the thinking was, could we deliver the same sort of functionality without using MIM? Because we know that sort of the MIM timeline is limited and
it's also costly and
SPEAKER_02complex to deploy. We wanted something simple, relatively cheap to run, running on only the Microsoft stack. And so I started to think about how could we approach that?
SPEAKER_00Right. The step back is to like this. How do you bring that to the cloud world? So you have intra-ID, you have an intra-tenant, and you have an on-prem ID that's syncing and all of that's happening. And you want to bring the idea of that whole forest, red forest concept. where you have another intra-tenant on Prime AD, which is completely locked down. Yes. No one has access to it. Yes. Maybe it's like, you know, it's very secure, no very limited users.
SPEAKER_00Everyday users never even see it or know about it. And then you have those identities being able to manage the production.
SPEAKER_02That's right.
SPEAKER_00Yeah, the tenets.
SPEAKER_02Not the production tenant. Well, I mean, we could utilize it for managing the production tenant, but the focus for this when I was developing it was securing the on-prem ID. Because really, you know, Microsoft's really always pushing, you know, the next thing, right? Like, you know, get to cloud, utilize cloud, AI, all of those sort of modern things. I think what certainly I've found as I've been working for
Increment is a lot of
SPEAKER_02customers are still in on-prem or they have massive footprints on-prem, right? And so the thinking was, well, how can we protect the on-prem assets as best as possible? So, yeah, that was the thinking. Try and utilize features within Entra. um to empower the the on-premises security okay was where i was coming from um so
yeah around the time i was looking at this um entra was putting a lot of features together that kind of all lined up to to make this possible um so things like group
SPEAKER_02right back PIM for groups, so just-in-time elevation into groups. I think Entra Private Access had just landed around that time as well. RDP using cloud credentials was another kind of key component. And then, of course, sort of bringing that all together with fish-resistant credentials and conditional
SPEAKER_02access and that kind of stuff. Yeah. So I can kind of describe how all of that stuff stacks together, if you want me to go down that path. Okay, so the first thing was to look at how did MIM Bastion Forest work. And in Server 2016, there were some product enhancements in the server operating system that gave MIM
SPEAKER_02its power to do the just-in-time elevation. So there's a special kind of trust that was allowed called a PAM trust. And that PAM trust enabled the creation of these special objects called shadow principles. So in the Bastion forest or the secured forest, the shadow principles can represent security principles in the
production domain.
SPEAKER_02So you can kind of like set them up. So this shadow principle represents domain admins. or this shadow principle represents, you know, schema admins or whichever groups you want to line that up with. And so the trick was how do I utilize the shadow principles? And the piece that came together with that was group writeback and PIM for groups.
SPEAKER_02So I could create a group in the entry tenant and I could enable that with PIM, so your membership is only active when you've gone through PIM, and then group right back can sync that back down to on-prem, and that group can sit under the shadow principle. And so in that way, we get this just-in-time elevation through to domain admins or schema admins or whatever it is in on-prem.
SPEAKER_02So that was the first bit, but there's a lot more that needed to be layered in to really provide a cool solution. The first thing that I really had to think about was if I'm going to have a tenant that sits on top of this and protects the on-prem infrastructure, the tenant has to be secure. And, you know, I think we were in a session a while ago where I gave the feedback of I'd really like to see tenants secure by default,
SPEAKER_02right? Like out of the box, everything's locked down. I think historically Microsoft's approach has been more about collaboration, so things have been a bit more wide open. But the challenge was going through every policy, every setting in a tenant to go, all right, how do I lock this down?
SPEAKER_00So, and this is a special tenant, right? Like you don't have workplace, you're not going to be using any of the workplace capabilities that Entra usually comes with for like M365.
SPEAKER_02Right. A hundred percent.
SPEAKER_00And guests and all, like you're not going to have any of those attached.
SPEAKER_02A hundred percent, a hundred percent. So, so the approach was there's no guests allowed. There's no consent allowed. There's just no applications. There's no subscriptions. Well, except for a subscription to host VMs for the solution. But, you know, no M365, all of that sort of thing. So we had to really look at locking the tenant down. And to do that, obviously, every admin has to be phish resistant.
The other thing that I looked at was the use of a privileged access workstation.
SPEAKER_02So Microsoft has guidance around deploying a POR. I think when I was looking at it, I'm not sure if it's been updated, but when I was looking at it, some of the guidance was a bit old and it was sort of using the Azure AD PowerShell commandlets instead of the newer ones. So some of the scripts and things that sort of automate the creation of a POR had to be adjusted to make it work. And then I kind of had to review the policies that were being
pushed to it.
SPEAKER_02So, you know, again, Intune is part of this solution as well because Intune has to manage the POR. So I had the POR being built by autopilot. You turn it on, it builds, it's secure straight up. I did choose to use physical devices for the PORs instead of a cloud POR. Physical laptops. Physical laptops, yeah. And again, like we're talking about administering the tenant. And for that, we only need a small handful of users.
SPEAKER_02So it's not a big cost to the customer. So building a POR, the POR then gives you administrative access to the tenant through Hello for Business. Obviously, everything's locked down really tight with conditional access. So you can only administer the tenant from a pool and any other device is disallowed. So yeah, we got the tenant nice and tight. And then the next step...
SPEAKER_00Yeah, yeah. So were the pod devices intra-joined or were they hybrid-joined?
SPEAKER_02Yes, intra-joined. The cloud, okay. Yep, yep, yep. So yeah, the first thing before I even thought about on-prem was get the tenant tight, get the access to the tenant really tight, and then from there progress to building out the Bastion Forest. So what we chose to do there was build the Bastion Forest on Azure VMs.
And the reason for that is that then the Azure VMs are sitting in a subscription
SPEAKER_02that's tied to the tenant. And the tenant's really tight, so the subscription's really tight as well. And then through Azure Virtual Networks, we would wire that into the customer's environment. Depending on what they have, we would choose an appropriate way to connect the two at the network layer. So then we build up the
SPEAKER_02the active directory that's going to act as the bastion forest. And again, using all of Microsoft's latest security guidance for AD, we would build that out. And then what I chose to do, and this is a little bit controversial, I think, but the admin accounts for that active directory are actually hybrids. And the reason that they hybrid is that I can then enforce a
phish-resistant
SPEAKER_02credential for them, right? So by syncing them, I can say, okay, they get a phish-resistant credential. I can then on-prem use smart card required for interactive logon for those admin accounts. And then they cannot log in with a username and password. They have to use the phish-resistant credential. But then the problem becomes, how do you access those servers? Now, domain controllers are a bit of a problem because you can't
make them hybrid. So the way we looked at it was you would only log into the domain controllers with
SPEAKER_02the built-in RID 500 admin account in a break glass scenario. So that RID 500 account, we generate a super long, complex password for it, and it's printed on paper and stuck in a secure location. And if it's ever used, we rotate the password. We create other accounts as the alternate admins, and we deploy an admin box that's a member server in the domain with the AD admin tools on it.
SPEAKER_02And we make that box hybrid. So by making that box hybrid, it'll then accept the phish-resistant credentials. Yeah. And then... The access from the poor to that box is through Entra Private Access. Okay. So these VMs are never exposed to the internet. They're just contained in the VNet. And the only way to get to them is through Entra Private Access. And Entra Private Access has a CA policy on it that says you
have to come from the
SPEAKER_02poor and you have to use fish resistant credentials. And then the RDP piece is to use Cloud Credential. So you can authenticate from the port to the admin server. with RDP using phishing-resistant creds.
SPEAKER_00And RDP is also covered by the conditional access. Correct. Correct. Yeah. Right. And if it's Windows, I mean, you had to have it in Azure anyway, because if you had it on-prem, you couldn't enforce a conditional access policy, right, for the RDP scenario.
SPEAKER_02I don't know about.
SPEAKER_00You're using the Azure VM login.
SPEAKER_02No, no, no, no. I'm using a domain login.
SPEAKER_00Oh, okay. Yeah, because the user account is hybrid, and so it can log in wherever that box lives.
SPEAKER_02But we just chose to use Azure because the hosting platform is secure. Whereas, say you were hosting it on-prem on VMware or something, any admin of VMware can take a copy of the VM. so not as secure as if it's all tightly bound in inside azure then it's all just in azure you only need to manage the azure roles that people have access on azure right and so the philosophy there is like super tight small
number of admins who can admin the tenant and the bastion forest right okay so so that gets us a really
SPEAKER_02tight tenant that gets us a really tight active directory We also deployed Defender for identity in those VMs and set alerts on the RID 500 accounts and anything else that the customer might want an alert on. Alerts on the accounts in the cloud as well. Obviously Defender for endpoint on the poor. So we're making full use of the Defender suite there as well.
So that gets us all nicely, you know, tightly secure on all of those components.
SPEAKER_02The other thing I would add here, so doing it through Entra Private Access means you don't get session recording. Azure Bastion offers a method for getting session recording, but you can only do session recording if you're connected through the browser. And if you're connected through the browser, you can uh, use fish resistant creds up to the browser session, but from the browser session to the VM, it has to be username and password. So we,
SPEAKER_02we can, we can do either pattern if a customer wants session recording, we can't do fish resistant to the, to the end point or vice versa. Now, uh, With Azure Bastion, you can do RDP as well. So we could take intraprovate access out and use Azure Bastion as the path in with the RDP client. And you can use cloud credentials in that case, but you can't session record if you're using the RDP thick
client at the moment.
SPEAKER_02That might change in the future. And if it does, then we get everything, right? But for now, it's kind of one or the other. um right so that gets us to the point where we've built the whole thing so we've got intune doing the poor we've got everything locked down we've got the the bastion forest built everything's really tight in terms of access there obviously we've deployed sync to take care of uh group right back and the hybrid so in this solution at the
moment we need both enter id connect for the hybrid join part for the member servers and we need cloud sync for the group right back um i do know that um you know in the future cloud sync is going to support hybrid join so we can take connect out and just use cloud sync purely so i don't think that's too far away if my understanding's right um so
SPEAKER_02yeah The next bit is just basically to set up the PAM trust between production and the Bastion Forest. And then we can create accounts in the Bastion Forest. Again, and they will be for administration of production. Again, we can set these accounts up to use fish-resistant creds. um whether that's a fido key or if it's uh you know another poor specifically for
those accounts depends on the customer what the customer wants as a access pattern and then we use the pin for groups to drop them in the group cloud sync syncs back on prem within two minutes yeah then you're added to the shadow principle and you
SPEAKER_02become a domain admin in production And at that point, the only consideration there is they have to log on to a member server that resides in the Bastion Forest in order to use the fish resistant credential. So again, we would have a jump box or an admin server sitting in the Bastion Forest that allows those users to sign in.
and we have the admin tools on there, and then they can admin production.
SPEAKER_02So, you know, we can obviously pretty easily do your tier zero admins that are just administering AD that way. We can also do this for any admin role, really, in production. But the trick is if you want fish-resistant creds for them, they have to be on a member server that resides in the Bastion Forest. And so... you need to be able to install admin tools on a box in the
Bastion Forest that can
SPEAKER_02access production. If you have the requirement for logging in on the console of a box in production, you can't use fish-resistant creds in that case, but that's That becomes kind of not a T0 account problem. It's more like a tier one account problem where it's maybe SQL servers or web servers or what have you. And you still get the benefit of just-in-time elevation.
It's just you can't use the phish-resistant cred if you have to sign on to the
SPEAKER_02console at that point. so that that's a you know kind of a a point in time design decision that you have to work through with the customer but it won't be the tier zero accounts right like that's all secured because you have all of them behind uh that azure yep yep yep absolutely yeah so um so for those who don't know like when we say tier zero tier
SPEAKER_00one yeah can you explain that principle of what tier zero tier one means Yeah, so Microsoft has kind of, they talk about it in slightly different terms these days. They used to have this tiered administration model that they would talk about,
SPEAKER_02tier zero being basically domain forest schema admins, anybody who could administer the domain or had ownership over the domain itself. And then tier one admins would be administrators of services that reside within the AD. So SQL admins, web server admins, file server admins would all be tier one accounts. And then tier two is kind of like users, put in simple terms. Microsoft's kind of said that model is outdated now and the
more recent guidance
SPEAKER_02sort of includes, you know, infrastructure beyond Active Directory. And it also talks to things like implementing just-in-time controls and implementing strong credentials and those kinds of things. That guidance is a little bit grey in terms of, like, specifically how do you achieve this stuff. I think what we're doing with this solution actually addresses a lot of those things because we get fish resistant, we get just in time.
But I think they were maybe a little bit non-specific in the docs because they
SPEAKER_02don't have an off-the-shelf product for some of those requirements, right? And you might have to go to the market for a solution. But I do think, you know, what Increments built around this satisfies a lot of those requirements. And, you know, the way we've tried to build it as well. So we've done a lot of infrastructure as code around this as well. And automation of a lot of the policy config and the tenant,
SPEAKER_02like everything we can automate, we kind of have automated. So it's kind of quite quick and repeatable. You know, obviously there are things where you get in the discussion with the customer and they say, well, you know, maybe we want this or we want that. We can kind of tailor that to their specific needs. But yeah, in general, we've got something quite repeatable, quite, quite robust.
SPEAKER_00Right. Nice. Yeah. Okay. I know when you, we had some chats before and I think it was when you were trying to secure the tenant, you found, you uncovered a lot of things, right? Some really fun things, especially with the GDAP. I think, was it GDAP was one of those? Yeah.
SPEAKER_02Yeah, so I'll talk about that a little bit. So if you get your tenant from a Microsoft service provider, MSP, or a cloud solution provider, CSP, by default, they have admin control over your tenant and subscriptions. It's kind of like, you know, if you're a larger enterprise or you just go and stand up your own environment, you're not going to have this relationship. But when you have this CSP relationship,
SPEAKER_02what they tend to do is have, you know, global admin control over your tenant. And if you want to stand up a subscription, they have ownership of the subscription.
SPEAKER_00Because their role models, they provide sort of like IT services to like all these companies, right? Right. A lot of organizations don't have a dedicated IT team or even that knowledge and experience. So they would just rely on a CSP or an MSP, unlike the enterprise world where they have all of that and, you know, they have complete control over the tenant.
SPEAKER_02Yeah, exactly. So what I found was when I, uh, so I initially set up the tenant and I kind of wasn't really paying attention to the fact that this relationship was in the background. Um, so I set up the tenant and I got my conditional access policies in place that said fish resistant only. And then we needed a subscription to deploy the VMs and, uh, and, um, We raised the request and they couldn't add the subscription.
SPEAKER_02And they're going, oh, your conditional access policies are blocking it. Can you configure an exception for us? And I said, hang on a minute.
SPEAKER_00How did you?
SPEAKER_02I don't want to give you an exception, right? So there was a lot of back and forth trying to resolve that. And then when they created the subscription, I only had contributor access. I didn't have ownership. Now, that's appropriate, as you say, for some organizations where they want to outsource some of that administrative overhead. And through the Lighthouse interface, you can set up the relationship and say, this is what the CSP is allowed to do.
But the other thing that I observed was they'd actually and I assume this is
SPEAKER_02because they have some automation on their side, but they'd actually deployed the service principle into the tenant with directory read write all. And again, that for me, like if I'm building a secure solution, that's a bit of a red flag, right? I don't I don't want that in the tenant. For the purposes of me labbing it up, it wasn't a big deal because it's just my lab. But in the customer case, we had to really make sure that that sort of relationship was
broken out of the
SPEAKER_02tenant and the subscription. Because you locked it down, you didn't want anyone else having access to it. Exactly. Exactly. So... yeah i i know um you hooked me up with a few people in microsoft and i kind of gave the feedback that i think there needs to be some stronger um you got guidance around that right um and and again like it makes perfect sense if if the csp is running the it for the organization but if you want to control
everything yourself
SPEAKER_02you got to make sure that that's not there yeah
SPEAKER_00Yeah. I mean, it makes sense from the CSP side. Like they might be managing 50, 100, some thousands of tenants and they need to improve the security of everything. They're not just going to be logging into each one. Yeah. I know there are solutions like SIP and others that give these admin tools to like go across tenants and apply CA policies and lock them down and so on. So that's what a lot of the MSPs and the CSPs use.
SPEAKER_02Yeah. I think... If you're going to deploy a solution like this and you had that relationship in place, you want to really investigate what's your security look like. If I'm allowing you to come into my tenant, I want to make sure that you're at least as secure as me. Right. I don't want to compromise on that. So I think that's a conversation you just have to have if that's how it's set up. So I do have a question around the group write back and PIM and
the timing. Like how does the timing work when, for example, you add someone to do the PIM elevation?
SPEAKER_00there is a sort of a delay for that user to be added on-prem. And where does it go off as soon as the PIM elevation is gone? How is that experience?
SPEAKER_02Yeah, really quick. Because Cloud Sync has got a two-minute SLA for syncing changes. And my observation is it's usually at least that quick. It's normally quite a bit shorter. um in this environment too like we're talking about something very small right so itself is really small right there's yeah that there's really like in the in the first case where we deployed this it was six admin accounts i
think in the whole
SPEAKER_02tenant no apps and an azure subscription and then on-prem like we're only really building two domain controllers for so we've got redundancy it's it's only two because we want redundancy we could get away with one right but um but just two and they're in the same site so replication's really quick um like it's it's within 15 seconds so um yeah i would go in i would elevate into pym um and you would see that change show up um you know
I guess when it's a two minute SLA on average, it would be within a minute.
SPEAKER_02And then you're in and you're doing your admin task. And again, when PIM drops you out of the group, that also updates pretty quickly. I mean,
SPEAKER_00that experience, it's good to know that you're able to do all of that and have it workable because I think that's sort of an unknown for a lot of people who might not have tried or might not even be aware that something like that's possible.
SPEAKER_02Yeah, I remember when I was at Microsoft, there were some conversations around, you know, could we just use PIM with group writeback to drop somebody into the domain admins group, like directly, rather than having this bastion forest? There's a couple of reasons you can't. One is that group writeback only writes back universal groups. So you can't modify any of the built-in admin groups and you can't nest that group under any of the built-in admin groups because it's a universal group.
SPEAKER_02So you can't do that. The second concern is all of the replication time. So if you've got a large production network that's dispersed geographically, that group update might take hours to replicate through your whole environment. But with this bastion, because we've just got two DCs right next to each other, it's instant.
SPEAKER_00And they're all in Azure as well. So it goes through the backbone.
SPEAKER_02Right.
SPEAKER_00Through the Azure backbone.
SPEAKER_02Right. Yeah.
SPEAKER_00So it's all really quick. Tell me about the device, right? So you said the power of physical devices, so you're not relying on VMs, which is good, which is something that Microsoft recommends and even Microsoft practices. But this is a cloud join device that you're using as a privileged access workstation. Yes. And so that device is completely locked down with Intune. I'm assuming you don't allow browsers on that laptop.
SPEAKER_02Yeah, the policy allows only Edge. It's got... No browsers, right?
SPEAKER_00You can't install extensions.
SPEAKER_02Can't install anything extra. There's a bunch of proxy configuration that only allows Microsoft URLs. um in the browser so if you try to go anywhere other than say the azure admin portal or the intro admin portal try to go to google.com or anything else blocked straight away um yeah uh and the autopilot like it installs the
gsa client it's all
SPEAKER_00yep yep yep so how do you prevent someone doing a new build is that locked down by network that the paw the paw can only come from a known network location so um so with the poor there's a couple of options right so either with autopilot you can and you're stretching my engine knowledge here i'm not an engine guy but with
SPEAKER_02autopilot you can um You can either have the device shipped with an identifier that you map into the autopilot, or like in this case, because we were just doing such a small number, there's a method that you can use to generate the ID manually, but you have to have administrative control on the engine side to mash it up. So once you get that lined up, you just turn the device on and it builds.
SPEAKER_00Okay, cool.
SPEAKER_02Yeah, and if you turn on another device, you can't get it in. Yeah. The other thing that I could probably say about the on-prem domain as well, just in terms of, you know, we've obviously got domain administrators for Bastion, and we've got domain administrators for production. And we've got different administration VMs in that environment
that can admin
SPEAKER_02either environment. So just using authentication policy silos on-prem to decide which accounts can log on to which servers. So that keeps that separation as well.
SPEAKER_00Right.
SPEAKER_02Yeah. nice nice that's uh that's a clean sort of separation then yeah between and isolating the identities and what they cannot do cool awesome nice um was there anything else uh you had uh yeah not not off the top of my head as i said we used defender to to watch everything keep an eye on all of the logs.
We set up the Bash and Forest ID so that it sends all of the appropriate logging
SPEAKER_02through Defender for Identity. Yeah, we alert on account use so we know if anything suspect's happening. But yeah, I don't think there was anything else that I can tell you. I mean, obviously people would be interested in knowing how you set up the emergency account.
SPEAKER_00access because it's very locked down, right? And now you need the power device and if you don't have any of the powers for some reason, how would you be able to get back into the tenant, right? Because it would be locked down as well. I mean, we don't need to go into the details, but it's part of what you secure, right? Yeah. So the built-in
SPEAKER_02or the first admin account in the tenant, I would set that up with a FIDO key and just exclude it from all of the CA policies that require a port. And again, that FIDO key goes off into a vault somewhere. For the on-prem built-in RID 500 admin account that we just generate the long password for, that account's only really needed if you have to get onto a domain controller in the Bastion Forest.
SPEAKER_02And the thinking there was we're going to generate, I think we did something like a 32 character random password or maybe a 64, I can't remember, like quite long. And then the thinking was you would access it access those DCs directly from the corporate network, because you have network connectivity. So at that point, you would log in through that path.
SPEAKER_02Unfortunately, there's no way to apply a FIDO credential to the RID500 account, and there's no way to hybrid join DCs, so you can't force a FIDO credential on the DCs anyway. Maybe Microsoft can figure that out.
SPEAKER_00Look forward to that.
SPEAKER_02Yeah, yeah. But, yeah, I think holistically this is pretty robust. Aside from that RID500 account, there's no passwords used anywhere. So I think when we did it, one of the critiques was we don't have a password vault. And I said, yeah, that's because there's no passwords. Yeah, nice.
SPEAKER_00Nice. I mean, that's a really cool idea, and the implementation is even cooler, where you sort of completely lock it down. And you went to the extent of doing all of that, right, and locking down the tenant. Yeah. How do you prevent someone making changes to that tenant, like when they have logged in as an admin and then sort of undo all of the things you did to secure that tenant?
SPEAKER_02Yeah, it's probably a job for Maester or something along those lines. We didn't do it in the first iteration. I think Maester might not have been around or it was like really, really new. But yeah, we should definitely have a look at some kind of desired state change control stuff. um to keep monitoring it right because yeah someone might be
doing something and they're like oh i can't do this let me just disable this ca policy for five minutes yeah and they forget to turn it back on yeah yeah that's right um yeah i i i won't talk about things i've heard about there's that whole mda thing but um yeah um yeah i'm hopeful about things coming down the pipe that might be useful there too
SPEAKER_00I think one of the things you also might, whoever manages the tenant might need to do is the whole evergreen process, right? Because Microsoft adds new things and Microsoft might add a new auth method. By default, it's turned off, but it could be coming in as Microsoft managed policy and then be turned on after a few years. But you would need to really keep reviewing and making sure whether it applies to that tenant or not. yeah this comes back to my secure by default feedback right
yeah yeah i mean it's uh the 90 of customers are collaborating so you want it to be the most secure is like you turn it on and no one can access it right then right you need to go to turn on all the features um to get the basic functionality working which would
SPEAKER_00make it really hard for a lot of people to use it. But that should be the sensible defaults that maybe it made sense 10, 15 years ago when something was introduced and then they need to be updated.
SPEAKER_02Well, I mean, just thinking out loud, it might be a job for AI, right? So the tenant could start secure and then it could go, what's your use case? And you go, this is what I want to do. And then the AI runs off and sets it up.
SPEAKER_00Absolutely.
SPEAKER_02Yeah, that could be cool.
SPEAKER_00Nice. Yeah, I can't tell much, but yeah, it's a good idea. Definitely. Yeah. Whatever the problem today, the solution is some AI involved in the loop, right? Right. Right. It's coming. It is. Yeah. Nice. Thank you so much, Mark. It's been a lot of fun learning about what you did and how you rolled it out. uh and made the whole thing like you took it from an idea all
the way to figuring out you know all the nooks yeah it was it was good fun man it was really good fun yeah nice awesome okay perfect thanks so much so we will catch up uh next time
SPEAKER_00thank you for coming on yeah anytime thanks meryl it's great
Microsoft is moving millions of users off SMS and onto passkeys, and most admins now have to decide which kind of passkey each group of users should get. Nishant Kaushik, CTO of the FIDO Alliance, the industry body...
AI agents are arriving in every Microsoft 365 tenant, and the questions admins ask first are what they cost to run and what it costs to secure them. In this Workplace Ninjas US special, four of the eventโs speakers...
Most SaaS vendors connect to your tenant with one multitenant app and one credential, shared by every customer. Kelvin Tegelaar, founder of CyberDrain and creator of CIPP (used by well over 10,000 MSPs), sees it from...
Most Conditional Access gaps arenโt exotic. They come from reading policies the wrong way: as firewall rules with an โallowโ, as a list of platforms that seems complete, as an MFA exception for the office that made...
Most tenants have the same problem: hundreds of app registrations and service principals, client secrets that were set to expire in a hundred years, permission grants nobody remembers approving, and test tenants that...