Latest / Blue Security / 3rd Party Vendor or Contractor Access
Transcript
- 0:06Welcome to the Blue Security Podcast, a weekly podcast for
- 0:10information security defenders where we bring you discussions
- 0:13on best practices, tools, and implementation for enterprise
- 0:16security. Now here are your hosts for
- 0:19today's show, Andy JA and Adam Brewer.
- 0:22Welcome to this week's episode of the Blue Security Podcast.
- 0:25I'm Andy, your host. I'm Adam, your Co host.
- 0:28So candidly, we are not very good at checking our Blue
- 0:32Security Podcast e-mail. So I was going through it and we
- 0:35had a great e-mail from a listener, Steve, and we're going
- 0:39to talk about some of his questions today on the show.
- 0:42So Steve wrote about third party vendor and contractor access and
- 0:49what is the best way to go about it.
- 0:50And I think that's something that a lot of organizations can
- 0:54benefit from talking through as and something that I think a lot
- 0:57of organizations struggle with. So Steve asks, how should we be
- 1:02securely granting third party elevated permissions access to
- 1:06our environment? These days we've got various
- 1:09third party MSPs, software providers that provide support
- 1:12services for various applications.
- 1:14We run in Microsoft Azure on premise and SAS services like
- 1:19Dynamics 365. There are a mix of Windows
- 1:22admins, Linux admins, network support engineers, Dbas,
- 1:26etcetera that log into VMS or access Azure resources.
- 1:30So how should we be giving these guys remote access from the
- 1:34identity standpoint? Steve asked.
- 1:36Should we be creating accounts in our environment for them to
- 1:40use, like another username and password they'll likely write
- 1:43down in their customer credential page in their OneNote
- 1:46or whatever? Or should we be adding their
- 1:48Corp account as guests into our Entra ID tenant?
- 1:53Some considerations that Steve already went through with his
- 1:55organization was his security team said to go with the former
- 2:00as in create accounts in their environment because quote, we
- 2:04don't know if their corporate account has been compromised as
- 2:08in the contractors on their home tenant.
- 2:11Steve was thinking that they he would go with the latter because
- 2:16he doubts the third party will notify him or no to notify them
- 2:20when an employee leaves and will have these enabled valid
- 2:24accounts still active in our environment until the next
- 2:27account review which might be 6 to 12 months or more away.
- 2:33Yes, intra ID governance access reviews is on our To Do List.
- 2:37We have no idea on the circumstances that the user left
- 2:40that business. They might be looking for
- 2:41revenge on their ex employer. So a little insider risk if
- 2:46creating an account in our environment, we need to pay
- 2:48attention to licensing for entry, IDP 2, defender for
- 2:52identity, etcetera. He's asking if he'll have to pay
- 2:55for additional licensing for those contracted users and of
- 2:59course, the cost adds up. So a lot of questions here,
- 3:03right, Adam? Yeah, let's unpack them.
- 3:05You know, when it comes to B to B, let's talk about B to B
- 3:10first, because when we were talking through the the pre
- 3:14show, you had a lot of comments about what B to B is actually
- 3:18used for. And to me that's enlightening
- 3:22because we did have a few shows. And so if you want to learn more
- 3:25about guest users and external identities, we have Episode 91
- 3:31and 1:52 that were a little ways back because we're on Episode
- 3:35235 today and we do it weekly. We haven't missed a week.
- 3:39So go back. We have one on guest users and
- 3:41MSPs as well as securing Entra external identities.
- 3:45But in essence, we're talking B to B here, and so B to B for
- 3:52Entra, and we're just talking intra specifically.
- 3:55Now for identity, you can do a lot of things with guest users.
- 3:58You can assign them roles. When they come into your intra
- 4:01tenant, they're essentially another account, another user
- 4:05identity that's in the intra tenant, in your tenant as an
- 4:09external user, however, you can grant them roles, You can grant
- 4:13them access to different resources, you can make them an
- 4:17owner of a subscription, you can give them global admin.
- 4:21I mean, you can do all sorts of things and you can even use I am
- 4:24around that external identity. One of the things that is
- 4:29important to remember when it comes to security for that,
- 4:33right? So let's talk about security for
- 4:35that external identity. If you have conditional access
- 4:38policies like for example, must have MFA or must have fish
- 4:43resistant MFA, that MFA or that fish resistant MFA for that
- 4:48external user is actually in their home tenant.
- 4:51OK, so let's say I'm in Contoso and Adam's in Fabrikam and he in
- 4:57Fabrikam, he's logging in and he, he just uses his username
- 4:59and password. They're, they're not secure.
- 5:01They don't use MFA, but I have a conditional access policy that
- 5:06requires MFA. So when Adam is invited to the
- 5:09Contoso tenant, he's going to have to register MFA, but it's
- 5:13not with my tenant, it's with his own home tenant.
- 5:18Same thing with fish resistant. If I require fish resistant,
- 5:21Adam's going to have to register in his home Fabrikam tenant a
- 5:24fish resistant MFA method. And if fish resistant MFA in
- 5:28this case, because it's not always turned on by default, if
- 5:32they haven't even turned it on as a method of authentication,
- 5:36that authentication to my tenant will be blocked.
- 5:40So you may have to work with the other side if you want some
- 5:44stringent authentication, conditional access type
- 5:47policies, you may have to work with that vendor to figure out,
- 5:50you know, can we turn that on or or so on and so forth because
- 5:53all the MFA methods are registered with their home
- 5:56tenant. Now let's talk about some, I
- 5:58guess the the purpose of B to B because Adam, you had some great
- 6:02thoughts around what the purpose and why you should use B to B
- 6:06versus, you know, things that you might not want to and we'll
- 6:09get more into the the other things.
- 6:12Yeah, absolutely. So if you if you go back in time
- 6:14a little bit, we used to refer to it.
- 6:17And by the way, Andy and I both work for Microsoft.
- 6:19We used to refer to it as B to B collaboration.
- 6:22There was that collaboration word tacked on the end of it.
- 6:25And today that's more kind of lumped into you have this whole
- 6:27concept of external identities. Some of them can be customer
- 6:32identity, some of them are business partner identities and
- 6:34they have different functions and and we have these guest user
- 6:37accounts we've referred to. That's all kind of in the same
- 6:41amalgam today. However, at its core, guest
- 6:44users, as Andy pointed out, you can have them do anything.
- 6:48You can give them any privilege, any role.
- 6:50They're they're not limited in any fashion.
- 6:52You can assign them licenses, you can give them access to
- 6:55enterprise applications, They can have access.
- 6:57You can give them an Exchange mailbox if you want.
- 6:59You can do all sorts of crazy things with them.
- 7:01However, the thing you have to keep in mind is any application
- 7:06I'm giving them access to, because of course, really the
- 7:08purpose of my identity is not to access the identity platform,
- 7:11it's to access applications. Are my applications going to be
- 7:15able to handle that guest user identity?
- 7:17Now most Microsoft tools, yes, absolutely.
- 7:20They're, they have native support for them.
- 7:21So you can use guest user identities with Dynamics 365,
- 7:25with Exchange Online, with SharePoint Online with Teams,
- 7:28great experience in Teams, but it's really intended at its
- 7:32primary use case is I have a SharePoint site, I want to bring
- 7:36in a trusted business partner to share and collaborate on these
- 7:39five documents or I have a Teams channel and I want to bring in
- 7:43some folks from other organizations to chat about
- 7:45something. So it's usually this really
- 7:47focused business to business collaboration concept is the
- 7:52primary time you would use it. Now again, just so I'm covering
- 7:57all the bases, you can use these for other things.
- 8:00They get a full user object. You can give them access to 3rd
- 8:03party SAS applications. Now are those applications going
- 8:07to be able to handle these user objects?
- 8:09Because they kind of have a weird format.
- 8:10They have like pound signs in them and external and they look
- 8:14really weird. But like theoretically, yes, you
- 8:17could give a guest user access to yoursalesforce.com tenant and
- 8:21get in that environment and and do stuff in CRM.
- 8:24It's theoretically possible, but it does start to get kind of
- 8:29tricky at a certain point. So that's why I would recommend
- 8:32for the most Part B to B, what we used to call B to B, what we
- 8:35call guest users. It's all these different
- 8:37terminology. They all mean the same thing.
- 8:39Primary use case is still that business to business
- 8:42collaboration kind of concept and and mostly in what we'd
- 8:47refer to as kind of those core Office 365 applications,
- 8:52SharePoint Online, OneDrive and Teams are, are kind of the
- 8:56primary places where you would use that.
- 8:58And then there's the concept of licensing too.
- 9:01So like let's say. Talk about that too.
- 9:03Yeah. So let's say my tenant has
- 9:05entropy 2 and so I'm using risk based conditional access and
- 9:10Adam's tenant has entropy 1, so they don't have risk based
- 9:13conditional access. And so we can talk about, you
- 9:16know, what it means for the identity portion.
- 9:19But let's say then you grant them access to something and you
- 9:23know, they might authenticate through some other means.
- 9:26So I'm just, I'm just using it in the abstract, but like if
- 9:30they had a desktop that with MDE, you know, defender for M
- 9:34point or they run through MDI or they get an A mailbox that uses
- 9:38MDO. So what does it mean for those
- 9:40other services? And so, Adam, you had some
- 9:42thoughts about the different carve outs that we grant when it
- 9:45comes to a licensing model. Yeah, absolutely.
- 9:48And and also this usually comes up when we talk about B to B
- 9:51people. Remember there used to be this
- 9:54model and you may be grandfathered in check with your
- 9:56Microsoft account team on this. I'm not sure if this is still a
- 9:59thing or not Where let's say your organization has 1000 intra
- 10:04IDP 2 licenses. We used to do this model where
- 10:07we we could say for guest users and genuine guest users, you can
- 10:11bring them in at a 5 to one ratio.
- 10:13So that is you could bring in 5000 guest users and give them
- 10:18access to all the same intra IDP 2 capabilities that your home
- 10:23users have the the people that are in your home tenant, your,
- 10:26your corporate identities and you can give them access to all
- 10:29the same things. Risk based conditional access,
- 10:32access reviews, entitlement management, privileged identity
- 10:35management, all of those things they could use as well without
- 10:38an additional license. If that's not still a thing,
- 10:41that's fine because the new model now is your first 50,000
- 10:46external identities in any given tenant are at no additional
- 10:50cost. So that brings together both
- 10:53CIAM, so consumer identities, customer identities as well as
- 10:57business to business identities, all in that single bucket of
- 11:00external identities. But it's also based on a monthly
- 11:03active active being the keyword monthly active users concept.
- 11:07So I may have 150,000 guest users in my environment, but
- 11:13only 35,000 of them sign in in any given rolling 30 day period.
- 11:17I'm cool, I don't have to pay a dime for that.
- 11:20And I can again give them access to the full gamut of enter IDP 2
- 11:23capabilities. Now as Andy pointed out, we are
- 11:26just talking about the Cloud Identity platform.
- 11:30Remember how I said you could give a guest user access to
- 11:32Salesforce.com if you want? Sure, Salesforce is still going
- 11:36to want them to be licensed. You can give them access to
- 11:38other applications. Generally those applications are
- 11:41still going to make you license them.
- 11:42They don't have a carve out for guest users.
- 11:44Now Microsoft in our case, again in those core collaboration
- 11:48functions, so Exchange and and SharePoint and Teams and
- 11:51OneDrive absolutely allow guest users without any additional
- 11:54cost. You do not have to license them
- 11:56for those services. And that does compare
- 11:59differently against the other model we're talking about where
- 12:01you do create identities in your environment or yeah, you, you
- 12:04pay for everything. You need a Cal for them to have
- 12:08an Active Directory domain services account.
- 12:10You need an enter ID license. You may need a defender for
- 12:13identity license, you may need a Windows enterprise license, so
- 12:18on and so forth, depending on what you're granting them access
- 12:20to. So that can be a more costly
- 12:22model. But keep in mind with guest
- 12:25users, the only part that's technically really quote UN
- 12:28quote included is the core identity functionality.
- 12:31So the risk based CA, the entitlement management access
- 12:35reviews and PIM, that's what you get kind of baked in at no
- 12:39additional cost, which is a, which is a nice value for sure,
- 12:43but it may not cover your entire use case of what you're trying
- 12:45to accomplish. So just want to be super clear
- 12:47on that as well. So now that we've kind of
- 12:50determined, I think in this case where you have contractors that
- 12:54are doing work for you, right? So we're not just talking about
- 12:59the collaboration portion of it. We're not just talking about,
- 13:02you know, a Teams channel or a Word document spreadsheet that
- 13:05we need to collaborate on. We're actually talking about
- 13:08maintaining infrastructure, SQL, database administrators, you
- 13:12know, so on and so forth. So now they're doing work for
- 13:14you. In that case, in my opinion, I
- 13:17think the best thing to do would be to grant them an identity
- 13:21within your organization. I agree.
- 13:24But I I do want to unpack that threat modeling for just one
- 13:28second. Where was it?
- 13:29It's Steve who wrote in and said, well, my security team
- 13:32says, well, we might not know their account is compromised,
- 13:35which is fair. And Steve says, yeah, but we
- 13:37might not know if they leave their organization.
- 13:39And Andy, you and I talked about this yesterday and that is where
- 13:42we as security professionals do need to get good at threat
- 13:46modeling and probability. The probability of that account
- 13:50being compromised, I would easily say for any given account
- 13:53is under 1%, the probability of that account being disabled and
- 13:58that person leaving that company on an infinite time scale is
- 14:00100%. Everyone will leave a company at
- 14:03some point. So I think overall and you can
- 14:06mitigate a lot of that risk with compromise.
- 14:08We didn't talk about this Andy. You can turn on risk based
- 14:11conditional access policies for guest users as well.
- 14:14Now that risk is evaluated in their home tenant, but that's
- 14:17still fine. It is still going to look for
- 14:19anomalous behavior in those sign insurance and potentially block
- 14:22those sign insurance before they ever reach your tenants.
- 14:24So it's not like you have no controls and no ability to
- 14:28attempt to block anomalous or or malicious sign insurance.
- 14:32You certainly have tools at your disposal as we talk through, but
- 14:36that's a much smaller risk than the very real risk that everyone
- 14:39will leave their company at some point and you still have an
- 14:42account setting open for them. So I would tend to air with
- 14:45Steve on this one. I think he's right where use
- 14:48guest users whenever they fit the use case.
- 14:51But as we are getting to and you were just unpacking the point,
- 14:54Andy, in this scenario when you've got contractors coming in
- 14:57doing legitimate IT work, database administrators and
- 15:01working with Azure resources, I would, as much as I love guest
- 15:04identities, I would recommend you need to build them an
- 15:07identity in your. Yeah.
- 15:08And I think the biggest concern here with Steve, and this is
- 15:12true at a lot of organizations that I've worked at, is that
- 15:15contractors don't come in the same way as regular full time
- 15:20employees. Sometimes their onboarding
- 15:22methods are not the same. They don't go through employee
- 15:26onboarding, they don't go through benefits.
- 15:28You know, they're, they're literally signed a contract and
- 15:31they get an identity and they're off and going when the contract
- 15:34ends, they might not even go through the typical off boarding
- 15:38cycle, you know, cuz they're not actually on boarded through
- 15:42their HR department with benefits and everything.
- 15:45They're just a contractor. They just get a check.
- 15:47And so I think that's a legitimate concern and that's
- 15:50something that organizations have to get better at is the
- 15:53life cycle management of contractor accounts.
- 15:58Absolutely yes. And that's not something that
- 16:01like, you know, I can give you a ton of insight on, but it's,
- 16:04it's obviously something that a lot of organizations know.
- 16:07You just have to find a way to do reviews of those specific
- 16:11accounts, whether you organize them in a specific OU or you put
- 16:15them into a specific security group to review and then look at
- 16:19the sign insurance. Like we have tools in Entra to
- 16:21at least look at, you know, last 30 days or however many days
- 16:27that account hasn't been signed in and you can do access reviews
- 16:30of inactive users and so on and so forth.
- 16:32So you have to get better at that governance at that life
- 16:35cycle management of contractor accounts.
- 16:38So now that we've kind of established for this specific
- 16:40use case, OK, they're doing work for us, we should give them
- 16:44accounts in our organization from a security perspective,
- 16:47we're going to treat them the same way as any other identity
- 16:50in our in our organization, right?
- 16:54So they're going to get assigned licenses the same way.
- 16:58In fact, you know, if you have defended for Endpoint or
- 17:01Crowdstrike or whatever, you know, you're going to need to
- 17:03license them for that. You're going to need to license
- 17:05them for your identity provider and SHRA, ACTA, ping, whatever.
- 17:08And then you're also going to need to provide them licenses
- 17:11for, you know, Office 365, your collaboration platforms, all the
- 17:14things I would treat them the same way and give them access to
- 17:17in the same way. But that being said, now let's
- 17:20talk about kind of how we can maybe segment out and reduce
- 17:24that risk of maybe they leave and they don't tell us, right?
- 17:28Because that is a risk. And so should we, you know,
- 17:32Steve is asking here, should we provide, you know, for RDP and
- 17:36SSH access to Azure and on premise service and network
- 17:39devices? Because he said he's got network
- 17:40engineers, he's got people working on Azure, people on on
- 17:43Prem, right? So these are server admins.
- 17:46How do we provide access to them?
- 17:48You can use RDP and SSH access through Azure Bastion.
- 17:52So this is the first question that Steve is asking.
- 17:54Should we provide them access through Bastion?
- 17:57Bastion is a great model. You do have to look at because
- 18:01the other option besides Bastion.
- 18:03Bastion is basically jump box as a service within Azure as long
- 18:09as the network route of your Azure environment can route to
- 18:13you know resolve DNS to your on premise using like an express
- 18:17route VPN or site to site VPN or whatever.
- 18:19As long as that Azure VLAN has access to your on Prem yeah, you
- 18:23can use bashing to connect to those machines and it's a very
- 18:26great way to do that because you can store keys within Azure
- 18:30vault. You can have, you're just using
- 18:32the browser and so all of your intra conditional access things
- 18:36can still apply at this time of authentication and you have it
- 18:41right there with no additional infrastructure to stand up.
- 18:44There is a cost for Bastion. So you have to look at the cost
- 18:49of Bastion versus like the cost of providing them a physical
- 18:53laptop. And that physical laptop may be
- 18:56written off because with contractors you never know,
- 18:58right? They might just leave and then
- 19:00keep the laptop and then you have to go through all these
- 19:01cycles to try to get it back. So you might need to evaluate
- 19:05the cost of laptop. You might need to evaluate the
- 19:07cost of virtual machine like Azure Virtual Desktop or Windows
- 19:12365. And so those are things that you
- 19:14need to kind of look at. But the nice thing with Azure
- 19:18Bastion is that there's no infrastructure, like there's no
- 19:22additional box, right? So like with Windows 365 AVD,
- 19:25you still have a host that you need to maintain.
- 19:27Same thing with a physical laptop or desktop.
- 19:31You have to maintain that operating system, you got to
- 19:33patch it. You have to do all sorts of
- 19:35things to make sure that that particular device is is secure.
- 19:39Whereas Bastion you're just jumping into the on premise
- 19:44server. So there's no additional
- 19:45infrastructure. You just, you're just using
- 19:47Azure as an interface and you have your on premise server or
- 19:51whatever to maintain. So which you which you're always
- 19:54going to be doing. So I think Bastion is a good
- 19:57option, but again, there's a cost associated with that that
- 19:59you need to evaluate. And so now we talk about like
- 20:02Abd, you know, Steve asks, should we provide access via Abd
- 20:08which then they RDP and SSH 2 the target server from some
- 20:12considerations, is the RDP traffic to on premise servers
- 20:15via Bastion encrypted or secure? If not, we'd have to layer a
- 20:19site to site VPN over our. Expressroute since Expressroute
- 20:22is not encrypted. So Steve's actually absolutely
- 20:26correct here. Expressroute is not encrypted by
- 20:30default, so if you do require encryption in transit of that
- 20:35tunnel, you do have to layer a site to site VPN or an Ipsec
- 20:39tunnel or something on top of Expressroute.
- 20:42However, one thing to note is that it's still a private
- 20:47network, right? So you can think of an express
- 20:50route to Azure as just an extension to another site
- 20:55physically. Like if I had my corporate
- 20:58network here in Wisconsin and Adam's at a remote site in Des
- 21:02Moines, and we have a tunnel stitching those two offices
- 21:06together and it's private. It's not just exposed to the
- 21:08Internet. That's the same thing as an
- 21:10express route to Azure. It's just another site.
- 21:13So it's still, yeah, but zero trust.
- 21:14We shouldn't have any traffic flowing around unencrypted at
- 21:16this point, right? I get your point, but.
- 21:19Yes, that is correct. But as long as you're not
- 21:21exposing things like within Azure to public IP addresses and
- 21:26you know, you have ports exposed to the Internet.
- 21:28This is how one of my previous organizations ran is that we we
- 21:31had an AWS instance and you couldn't get to the AWS instance
- 21:35unless you were on the corporate network.
- 21:38So you have to VPN onto the corporate network in order to,
- 21:40you know, if you were a remote. So it's just an extension of.
- 21:44Right. But you get my point of like, we
- 21:46don't trust any traffic even on our corporate network, you know,
- 21:48Moulton Castle is like not the model.
- 21:50So we just don't want any bits flowing around that are
- 21:53unencrypted. And I'm going to ask a dumb
- 21:54question here and and show my ignorance right on the air.
- 21:57So SSH obviously is encrypted. Is RDP like totally still just
- 22:02unencrypted? Unencrypted to this day, yeah.
- 22:03It's unencrypted. So, but The thing is, is that
- 22:06that's a good point, right, Adam?
- 22:07Is that yes, we don't want any bits floating around, do you?
- 22:11The question would be do you encrypt all your traffic on Prem
- 22:14too? Well, you should.
- 22:15You may not be. Yeah, most people.
- 22:16Most people do not. In fact, that would be a
- 22:19terrible experience. I don't think anyone, no one in
- 22:22the world encrypts all their traffic on Prem.
- 22:24Well, OK, what are we when we're talking about encrypted, I mean
- 22:27like all like inner communication between almost
- 22:30anything today is like all HTTPS anymore like everything's HTTPS.
- 22:33So like by default, anything flowing over if, if I'm sitting
- 22:37on a corporate VP corporate network and I'm sniffing
- 22:40traffic, most of it is encrypted protocols, right?
- 22:44And, and, and you know, there's a couple of them like telnet,
- 22:47you know, old school FTP port 21 that are all plain text.
- 22:51And and I was just asking is, is RDP like in that boat where it's
- 22:54still like you can just sniff it wide open?
- 22:56Yeah. So that so here's the question
- 22:58right is and this is the crux of of Steve's question and this is
- 23:01something that's very important for the listeners to understand,
- 23:03right. So if I'm if I'm sitting at home
- 23:05and IRDP to a machine that's sitting in in my rack over here,
- 23:10that traffic is unencrypted because I'm not encrypting the
- 23:14actual network tunnel. The protocol is not an encrypted
- 23:18protocol. The protocol is not encrypted,
- 23:20which means anyone sitting on my network could sniff it out,
- 23:23right? Yeah, OK OK.
- 23:25However, if I'm at a Starbucks and I are, and I SSH, I'm sorry.
- 23:31If I VPN to my home network using an Ipsec protocol, that
- 23:35VPN tunnel is encrypted OK, so no one no one who can.
- 23:42Sit in Starbucks. Sitting in Starbucks, right,
- 23:44that tunnel is encrypted and then any traffic within that
- 23:48tunnel if it's on port 22 or is using HTTPS is encrypted
- 23:52furthermore, right, So you have. 2 layers.
- 23:56You have two layers, but the but the tunnel itself is encrypted
- 24:01in my VPN if I'm using Ipsec, right.
- 24:03But like if I'm sitting at home, my tunnels are not encrypted.
- 24:06And so that's what Expressroute is.
- 24:08It's just an extension of your home network right to another
- 24:12site, the site being Azure in this case, but who cares, right?
- 24:16It could be a site across the world via a tunnel that's
- 24:19unencrypted as long as I'm assuming right now, I guess you
- 24:24know, there are other things to consider for zero trust.
- 24:27But you can't get to my server from externally.
- 24:31It's not exposed externally. The only way you can get to my
- 24:33server is on Prem. And so if I had an another site
- 24:39like Azure that I could get into and that had a tunnel back to
- 24:44that, then I could connect to my server, right?
- 24:46So it's just like I'm sitting on my home network but in Azure.
- 24:50I get your point. I think what you're saying, if
- 24:52I'm understanding you right is there's a certain point when
- 24:54like RDP is just an unencrypted protocol period end.
- 24:57And at a certain point if an attacker is on close enough to
- 25:01you on the network, no matter how many different tunnels you
- 25:04create or anything else, at a certain point they can view that
- 25:06unencrypted traffic too. Yes, I'm OK, I'm with you now.
- 25:09Yes, I agree with that. And so you're kind of saying
- 25:12theoretically, yes, express route is not encrypted and you
- 25:16could layer a tunnel over on top of it.
- 25:19But what is that really getting correct, I think is where you're
- 25:21correct. OK, I'm with you now.
- 25:23Yes, I follow up. Yeah, so exactly.
- 25:25So in my view, unless there are other risk factors like you're
- 25:30exposing RDP to the external Internet from your Azure
- 25:34machines. Or back to your Starbucks
- 25:37example, if I'm sitting in Starbucks and I'm connecting to
- 25:39a public RDP host and I'm on the public Wi-Fi at Starbucks,
- 25:43someone can sit there and sniff my traffic hall.
- 25:45Down on the public? Yeah, on on yeah.
- 25:47Starbucks network correct? Right now if I have to go
- 25:50through AVPN first, now they can't.
- 25:52Somebody else sitting on the public Wi-Fi can't sniff that
- 25:54traffic. It's encrypted till it gets onto
- 25:56my private network. And it's just it's, it's, it's a
- 25:59risk inherent RDP, which is like use less RDPI guess.
- 26:02So, you know, and that's, and that's the question.
- 26:05Is that like, like should you encrypt this traffic?
- 26:08Right? And I think unless, for my
- 26:10opinion, unless you have a compliance framework that
- 26:13requires all traffic to be encrypted in transit, you don't
- 26:18need to do that. Of course, again, you want to
- 26:20mitigate anything that is available in your Azure tenant,
- 26:24like have Azure policy to prevent public IPS from getting
- 26:27assigned a network security group.
- 26:30You know, maybe like just in time access for those management
- 26:33ports, you know, port 22, port 3389 with just in time access
- 26:38that's available for Azure machines.
- 26:41So, you know, make sure that that stuff is mitigated because
- 26:44if if you've locked down a lot of that access and then have
- 26:48conditional access policies to get into Azure, then you've
- 26:52mitigated a lot of that risk. Yeah, And a quick correction,
- 26:55Adam, your ignorance is probably my, my lack of knowledge here.
- 26:58RDP is actually encrypted. So, but the point still stands
- 27:02for using other unencrypted like, you know, services if
- 27:04you're using port 80 or telnet or something like that, so.
- 27:08I looked it up too. That's funny because I was like
- 27:11we had to have added encryption at some point.
- 27:13So like modern implementation like Windows Vista and later
- 27:16does have TLS and AES encryption on it.
- 27:20So you know that that whole conversation I think is still
- 27:23like you said valid, especially for any lingering like plain
- 27:27text unencrypted protocols. But for the most part I, I
- 27:31don't. I I think your point still
- 27:33stands that I don't know if it's necessary to add another site to
- 27:36site VPN on top of express route when it is already a private
- 27:40network to your organization. Especially when modern RDP
- 27:44traffic now that we know and we should almost move this section
- 27:46in front of it so our listeners aren't screaming at us listening
- 27:49to this back. Now that we know that actually
- 27:50is encrypted. You don't need double encryption
- 27:53there. I don't think that's.
- 27:55Necessary 599% of all of our traffic is encrypted end to end
- 28:00these days. And so most people have moved
- 28:03away from from things that are. So the point still stands if you
- 28:06if you're listening on that. And that's why, by the way,
- 28:08total side note, even the recommendation about it used to
- 28:11be like don't use public Wi-Fi. And if you do get on VPN
- 28:14immediately, like it's so insecure.
- 28:17It's like today there's so little you could sniff on on
- 28:20public Wi-Fi because like every websites HTTPS anymore.
- 28:24DNS would be the one thing. Yeah, no, I mean, there's still
- 28:28benefits. I'm not saying there's not, but
- 28:30it's, it's less of a need than it used to be.
- 28:32I mean, I still, I have T-Mobile 5G and it's so much faster than
- 28:36any Wi-Fi hotspot I ever find anyways.
- 28:38Like I, I use my, my mobile hotspot on my iPhone because
- 28:41it's, it's faster and, you know, obviously more secure.
- 28:45So Steve then asks more about Abd.
- 28:47Abd option combined with created accounts above would require
- 28:51Windows Enterprise and Defender for endpoint licensing for those
- 28:53users. Yes, that is correct.
- 28:55You know we talked about that. So if you're creating users
- 28:57within your environment and then you give them Abd and then they
- 29:01are using the Abd box, which has Windows Enterprise and Defender
- 29:04for Endpoint on it, then yes, you would require those users to
- 29:08be licensed. And in fact, Abd can't be
- 29:11assigned to guest users. AB DS does not support.
- 29:14And that goes to Adam's point is that those applications that
- 29:18you're assigning, you can assign them anything, but those
- 29:21applications must be supported for those guest users.
- 29:24And in this case, this application Abd does not support
- 29:27B to B external users. So you have to use an internal
- 29:31user for that. When it comes to Abd options,
- 29:33should they be a separate host pool really locked down like a
- 29:36paw or saw, a privilege access workstation or secure access
- 29:40workstation device? You can put them on different
- 29:42host pools. That's absolutely host pools can
- 29:45be a good way to separate, you know, not only for organization,
- 29:49but also for different Vlans, different resources.
- 29:53You can segment them and that's a perfect good way to do that.
- 29:55If they have different access and you can obviously put like
- 29:59let's say the host pools for the Sequel data database admins on
- 30:03one VLAN that only have access to those machines that are that
- 30:07they're going to support. You can have the host both for
- 30:09another one. Only point to like the Linux
- 30:11machines that they're support, assuming that you have those
- 30:14machines, Linux machines, Windows servers and and your
- 30:18databases on separate Vlans to begin with.
- 30:21So that could create some more work on the network side to do
- 30:25that because you have to segment that traffic out and have Acls
- 30:29between those servers internally to block, you know, traffic or
- 30:33what not from those other ones. So it gets a little bit
- 30:36complicated. And the question would be, you
- 30:38know, what is your risk appetite in that and along with the work
- 30:42to do that? And then should they be saws or
- 30:44paws, right? I would say, or I would ask, are
- 30:48you using saws and paws today? Do your admins already have saws
- 30:52and paws internally? Because if they don't, that's a
- 30:56lot of work to do that just for contractors who are going to
- 30:58leave, right? And so if you are already using
- 31:02saws and paws for administrative work and that means like you
- 31:07have a dedicated paw for specifically for on premise
- 31:11admins, you know, like domain admins, you have another paw
- 31:14that's Entra joined specifically for global admin and Entra
- 31:18joined devices. You know, that's again, most
- 31:21organizations are not at that maturity.
- 31:24So if you're using those today, yes, you can configure them like
- 31:28PAWS and SAUCE to just access the certain resources that they
- 31:32need to administer. But if you're not doing that,
- 31:34then I don't think I would walk down that path.
- 31:38Yeah, I agree with all those comments there.
- 31:40I mean, there's, there's the right time and the wrong time to
- 31:45try to like up your security game and, and doing more than
- 31:48you're doing in other places. Sometimes makes sense, like,
- 31:51hey, this is an opportunity to prove out a new model to, to try
- 31:55something different. And, and, and sometimes that's a
- 31:57great opportunity and sometimes you should just maintain
- 32:00existing security posture to get something done and then you can
- 32:04improve it over time across the boards.
- 32:06You know, this is maybe a little bit more organizationally
- 32:09dependent on kind of where you are and how you affect change in
- 32:12your environment. Again, like paws and saws are a
- 32:16good thing. We recommend them across the
- 32:18board from a Microsoft guidance perspective, but it's all a
- 32:23matter of is this the best place to start with that?
- 32:26I'm not sure that it is because although you are certainly
- 32:29allowing these contractors to access sensitive systems and and
- 32:33have a higher level of privilege, they may not be
- 32:36accessing or or have the highest level of privilege and be
- 32:40accessing the most sensitive systems.
- 32:41I assume you still at least delegate that to your FT ES.
- 32:45So that would be a more logical place to start for me would be
- 32:49with your global admins and then maybe go down from there.
- 32:52And, and this might be a, a later option, but you know, in
- 32:55general, and we'll keep talking about Abd here.
- 33:00I, I love Abd or really maybe even better is Windows 365 as
- 33:05the model for contractors and vendors moving forward.
- 33:08I've seen a lot of organizations look at this and adopt this
- 33:11because it just makes sense where you don't have to deal
- 33:13with shipping hardware to and from, but they still get
- 33:16effectively a completely managed, trusted cloud PC that
- 33:21that aligns to all of your requirements and protocols, but
- 33:26that lives inside of the Azure data center.
- 33:28And so you can be confident it's safe and, and the hardware and
- 33:31supply chain are vetted and, and all of those good things along
- 33:34the way. I think it's a really great,
- 33:36great way to do that level of access.
- 33:39OK, so we're wrapping up shortly here, but like a couple of other
- 33:42questions that Steve had, if we're using AVD, what mechanisms
- 33:46should we use to restrict users on that host to get to?
- 33:49Should we try and restrict network access or per user?
- 33:52So Dbas can only get to SQL servers while Linux admins can
- 33:55only get to a bunch of servers? Thinking entry private access
- 33:57might be good here, but more licensing costs.
- 34:00So yeah, I mean assuming that you already are controlling who
- 34:04can access those servers, you know, locally, like permissions
- 34:08wise, who can SSH to them, who can RDP to them.
- 34:11And then you can like we said, you know, sit those Avds on
- 34:15specific Vlans and then segment them out.
- 34:17But that would also mean that you have to segment out at the
- 34:19host level as well. You can use private access.
- 34:22Private access is a great way to do this and you can run it
- 34:25through to on premise machines even from you know other
- 34:28machines and have that segmentation cuz it is a zero
- 34:33network trust access model, right?
- 34:35ZTNA zero trust network access. So you do have that and it would
- 34:40be additional cost for that. But if you truly want that I'm
- 34:44only going to connect to this resource when I need to and
- 34:48that's it, then that's probably the the way the path that you
- 34:52need to go down. It's a noble goal, right?
- 34:54I mean, compared to the flat corporate networks of the past
- 34:58where I can everything talks to everything.
- 35:00Like, yeah, the more segmentation you can do
- 35:03generally that that you have the manpower or or person power to
- 35:07support is a good noble goal. But be aware of complexity and
- 35:13and the value you're getting out of in the ROI on that.
- 35:16Certainly network segmentation is a good thing, but I think you
- 35:19can go too far with that too. So again, if you can do it,
- 35:22great. I wouldn't lose sleep over this
- 35:24if if you don't get the quite that far, yeah.
- 35:27Yeah. I think just in general, you
- 35:29know, and wrapping up my thoughts on this is you do need
- 35:33to have good governance and life cycle management of those
- 35:37contractor accounts. That that is the basic thing
- 35:39that you need to do first and foremost.
- 35:41Because if you can't control the identity, then everything that
- 35:45follows after that is going to be a security risk or cost,
- 35:50right? You'll have these identities
- 35:51sitting on your network that are assigned licenses.
- 35:54And so you got to get a handle on that.
- 35:56And then when it comes to access, Abd and Windows 365 are
- 36:01great options. You know, if you are going to
- 36:05use like a physical machine, if this was my company, I would
- 36:09just say issue them a laptop and write it off.
- 36:13You know, issue them an Intune managed device and write it off
- 36:17because that probably will never get sent back.
- 36:21It's very, I think it's extremely difficult for people
- 36:24to try to reconstitute their like hardware that they sent to
- 36:27contractors because once their contract ends, like what is
- 36:30their motivation to send back the hardware?
- 36:32I mean, you could threaten them with police action and all that
- 36:34other stuff, but that's a lot of like management overhead to try
- 36:38to get back. What More than it's worth?
- 36:40More than. Yeah, like a $2000 laptop.
- 36:42So that's my my two cents is having worked at the help desk
- 36:47and seeing these go out the door and rarely ever come back.
- 36:51I mean you can do other things like.
- 36:53So why that model instead of a cloud PC where I can just assign
- 36:56it to the next contractor that comes?
- 36:58In that's what I'm saying like start with Abd and Windows 365.
- 37:01Those would be the models that I would go with.
- 37:04But if you you were talking all this about a physical.
- 37:06Hardware. But if you but if you had to
- 37:07send them physical hardware, that's what I'm saying.
- 37:09If you decided to do that, I would just write it off.
- 37:11Don't plan on getting it. Don't.
- 37:12Plan on getting it back. So cuz if they're technical
- 37:16enough, they'll just do a bare metal restore.
- 37:18Even if you have an autopilot policy on there, you know, do a
- 37:21bare metal restore and it's theirs.
- 37:23So that's what I would do. Any final thoughts on that,
- 37:27Adam? Yeah.
- 37:29Again, I, I too would plug those models and and maybe can we do
- 37:3360 seconds, Andy and when you would choose Abd versus W3?
- 37:37Yeah, yeah. So when it comes to.
- 37:39Because we we've mentioned them both kind of at in the same
- 37:42level and and they're two different solutions and they
- 37:44both have better fit for different use.
- 37:45Cases Abd really when it comes to Abd Azure Virtual Desktop
- 37:50it's it's IAS right infrastructure as a service.
- 37:53So we give you the Legos, so to speak, to build a solution.
- 37:57But you might build a really crummy solution, right?
- 37:59Like if I don't give you instructions to build, you're
- 38:02just going offhanded and doing your own thing.
- 38:05If you're really good at that building, you can build a very
- 38:09eloquent solution. And in fact, multi session is
- 38:13one of the best uses for AVD because you might have
- 38:16contractors only doing like an hour of work in your
- 38:19environment. They might only have to go in
- 38:22for an hour or a couple times a day and it might not make sense
- 38:25to sign them a physical laptop or a Windows 365 license.
- 38:30They're only going to be coming in for a little bit and they do
- 38:32work and then they're out. So multi session where you're
- 38:36sharing a, a massive machine and then being able to spin that
- 38:40down as well because it's Azure costs.
- 38:43So maybe they're not doing work at night, you know, so and you
- 38:46have host pools that can share that resource as well.
- 38:50The the load of of each one they can, they can be assigned to
- 38:53different machines within that host pool.
- 38:54So there is a eloquent solution based on a a need where you
- 38:59might not have that particular user require a machine all the
- 39:05time and you can save some cost by spinning down different
- 39:08resources. Windows 365, if you don't want
- 39:11to have to deal with all of that, if you just want to say,
- 39:14Adam, here's a machine and go do work, right?
- 39:18Windows 365 is super easy. You click a button, you assign
- 39:22them a license and you just pay for that SAS cost.
- 39:25It's a SAS service versus an IAS.
- 39:28So you don't need to spin up any infrastructure, you don't need
- 39:30to do anything else. It just looks like a regular
- 39:33machine on your network as if you gave them a physical
- 39:36machine. You can manage it through Intune
- 39:38or hybrid AD join, hybrid enter, join.
- 39:41And it's super simple, right like click a button, they get a
- 39:45machine, they sign in using their enter ID and you manage it
- 39:48just like a regular machine. And there's no other
- 39:50infrastructure to sign up. So if you don't want to have to
- 39:53deal with the hassle of Abd, you can just pay for the cost.
- 39:56Now I think overall if you're for a contractor, you probably
- 40:00will save a couple of bucks, you know going with Abd, but there
- 40:04is significant, you know personnel time that's involved
- 40:08in maintaining that infrastructure versus going to
- 40:11the admin portal of M365. Clicking a license and just
- 40:15going. I I think too, as you talk
- 40:16through the use case for Abd, one of the things you mentioned
- 40:19is let's say you have the type of contractor who comes in and
- 40:21does just a couple hours of work a week.
- 40:23Abd is clearly the solution for them.
- 40:26If you have the kind of contractor that effectively kind
- 40:29of looks like an FTE in terms of their, they work 40 hours a week
- 40:33for your organization, they're dedicated to your organization.
- 40:36They might be a better candidate for a cloud PC for the through
- 40:39Windows 365 for anyone where you would give them a laptop and
- 40:43say, here's your laptop. It's got outlook on it, it's got
- 40:46the office apps, it's got everything you need to do your
- 40:48work. You can just give them a, a
- 40:51cloud PC. It's it's effectively that it's
- 40:53like a laptop as a service in the cloud where anything I can
- 40:57connect to RDPI can go get to my cloud PC.
- 41:01Also one other note as well, you, you did a good job kind of
- 41:04comparing you got to build it yourself versus it's already
- 41:06built Abd it's it's a consumption based model.
- 41:10So however you build it, however many resources are getting
- 41:13consumed per hour per day. You pay for that Windows 365
- 41:17predictable cost. It's a license.
- 41:19It's this much per user per month, the end or per cloud PC
- 41:23per month. And so you know exactly how much
- 41:25you're signed up for how much you're going to pay there.
- 41:27There are no overages or anything else.
- 41:30I mean, there are some edge cases where you can have some
- 41:33overages, but that's pretty rare.
- 41:35So, so yeah, I mean, 2 great models and, and again, it kind
- 41:38of depends what kind of contractor or vendor you have,
- 41:42but I would really at the end of the day, point folks towards
- 41:46those solutions. And I would avoid as much as
- 41:48possible giving them hardware anymore.
- 41:50Because if you look at it, you can get a cloud PC for under the
- 41:53cost you're going to spend on hardware.
- 41:55And the beauty of it, if that person leaves or that contract
- 41:59is up, you can just assign it to another person, just take the
- 42:01license off, give it to a new person, away they go.
- 42:03You got another cloud PC and, and now they can do their thing.
- 42:05So it's, it's really quick and easy to reassign.
- 42:08And this is, to be honest, where we're seeing a ton of success is
- 42:11exactly this model, exactly these use cases.
- 42:14These are the number one way people are using these today.
- 42:18And Andy, you have lived in Abd to do your Microsoft work over
- 42:21the years or was it AW3 cloud PC?
- 42:23I forget what you had. Yeah, So every FTE at Microsoft
- 42:27gets Abd and you know, for free. And in fact, if you I I'd use
- 42:31that on a daily basis and I still do.
- 42:34It's a great experience. There are some limitations to it
- 42:36from the Microsoft side, but I think that's just for policies
- 42:39like what we can do to the Abd. But from a from a Microsoft
- 42:43perspective, I do. I actually for the most part
- 42:46live in AVD everyday. I sometimes will use my physical
- 42:50machines, every now and then I'll boot them up.
- 42:53Windows 365, you have to have a use case for it.
- 42:57However, if you want nowadays like you can, if you're up for
- 43:02refresh on your physical device, you can say I don't want a new
- 43:05device, I just want a Windows 365 machine.
- 43:09And so we do require fish resistant MFA and all of that.
- 43:12So you do have to have pass keys or Fido 2 in order to get to
- 43:15these machines. But they're a great experience.
- 43:17We've optimized it for Teams and everything and I haven't had any
- 43:21issues with using these jump boxes.
- 43:24So I think it's great. Yeah, that's a good plug.
- 43:27And then just one last note here, one, one final kind of
- 43:30question from Steve in his e-mail before we wrap, he had,
- 43:34he had finally mentioned they were disabling public interfaces
- 43:36on their Azure resources so they can no longer run the Sequel
- 43:39server management studio on their client and remote connect.
- 43:42Good move, Steve, very happy to hear that.
- 43:44Turn off all those public interfaces, please.
- 43:47But he asked the question of should we do Abd or should we
- 43:50just open that public interface, but whitelist like the MSP, the
- 43:54the managed service providers IP addresses instead?
- 43:57Don't do that. Please don't.
- 43:58Going back to Andy and I kind of we talked a couple zero trust
- 44:01things earlier. You can't trust that network
- 44:03either. We just don't trust anyone's
- 44:05network implicitly. And so I would much rather they
- 44:08came in through Abd had to meet all of your security
- 44:11requirements. You know, they're on a trusted
- 44:13private network where you're doing that real time and
- 44:16constant evaluation of the security of the solution instead
- 44:20of just trusting an IP range that that to me is a much
- 44:24stronger model. So I know there's more cost
- 44:26involved with it, but this is one of those and I think you
- 44:29made the point on this too. Overall, it's an area of
- 44:32opportunity for most organizations to really build
- 44:34rigor around how we manage contractor and vendor accounts
- 44:38and the life cycle of them moving forward.
- 44:40And it's a tough nut to crack because it requires partnership
- 44:44with HR and with other parts of the business with, with getting
- 44:48the buy in it to run things a certain way.
- 44:51It's it's not easy to solve for. And as Steve's note pointed out,
- 44:56there's, there's a ton of considerations along the way.
- 44:59But I think for the most part, by the end of this conversation,
- 45:02as we talk through it, we both kind of settled in the same
- 45:05place of 99% of the time you're better off giving them AVD or
- 45:08Windows 365. And I think that's that's the
- 45:11best solution and there's more to solve for than just that.
- 45:13But that's a great starting point to start to build out your
- 45:16solution. And one final thing, from a user
- 45:20perspective it can also be a better experience.
- 45:24I will use Microsoft as a good example.
- 45:26Microsoft started implementing network layer controls on top of
- 45:30all the other things for some of our data, right?
- 45:34So internal apps, for example, Adam and I are in sales.
- 45:37So some of our internal customer information, now we need to go
- 45:40to Azure VPN. We have to VPN in in order to
- 45:44get to that data. I've talked to some sales folks
- 45:47and they're like, wow, Azure VPN sucks.
- 45:49Like I can't connect to it, it drops all the time, it's super
- 45:52slow. And yes, that can be a terrible
- 45:54experience because that VPN tunnel has to be maintained.
- 45:56You only have certain pipeline, so on and so forth.
- 45:59Guess what, on Navy D box, it's connected on the back end.
- 46:02So I can get to those sales tools without having to VPN in.
- 46:05And in fact, I've talked to some of my, you know, SSPS and I
- 46:10said, hey, guess what? You can get an Abd box at no
- 46:13additional cost. Like as a, as a full time
- 46:15employee, you, you can get that. So instead of using Azure VPN to
- 46:20connect your physical host to the VPN network, just launch Abd
- 46:24and, and you get everything in there.
- 46:26So and you can do that from even a Microsoft joint machine.
- 46:30And I'm seeing that Adam is having the wheels turn in his
- 46:33head because I bet you've had some terrible experiences within
- 46:37some of our tools of them loading and all this other
- 46:39stuff. But guess what?
- 46:40It runs super fast in an Abd box.
- 46:42So from a user perspective, because it's on that backplane
- 46:46of Azure, right? Like you're.
- 46:48Sits on the same network. It's it's super fast.
- 46:50So anyways, from a user perspective, it can be even a
- 46:53better experience than having to issue out, you know, the the old
- 46:56school way of getting a physical laptop and VPN and all of that.
- 46:59So all right, that was a great show.
- 47:01Hopefully you learn something. If you have any questions or
- 47:04contact information will be in the show notes. e-mail us if you
- 47:08have ideas for a show like this one.
- 47:10Thank you so much for listening and watching as always.
- 47:12We'll talk to you guys next week.
- 47:14Thank you for listening to the Blue Security Podcast.
- 47:16Please check out the show notes, catch up on episodes you may
- 47:19have missed, and subscribe so you don't miss any future
- 47:22episodes. Find Andy on Twitter at a Jaw
- 47:25Zero and Adam at AJ Brewer. See you at our next episode.