Latest / Blue Security / VDI and Shared Responsibility Model
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 Jha and Adam Brewer.
- 0:21Welcome to this week's episode of the Blue Security Podcast.
- 0:24I'm Andy, your host. And I'm your.
- 0:26Co host. I saw a tweet a few weeks back
- 0:29talking about VM Ware and the acquisition by Broadcom and
- 0:34there are some rumors going around that there are going to
- 0:37be some price hikes. And so I thought we'd dedicate
- 0:40some time to talking about Vdis because we haven't talked about
- 0:44it in a while and why they are an important part of security
- 0:48and enterprise architecture. Most companies, they have some
- 0:53sort of VDI infrastructure and usually they start with servers
- 0:58because there aren't many companies these days that have
- 1:01actual just like physical servers that are dedicated to a
- 1:04single workload. You have like a blade of some
- 1:08sort and then you virtualize it with a platform and VM Ware is
- 1:12one of those platforms. There are other ones.
- 1:15Some still use physical hardware to do the virtualization.
- 1:18Some have gone to the cloud with service providers to do that as
- 1:22well. And then as VDI has become more
- 1:25popular, there have been some organizations that use it for
- 1:28end users as well. For either just single
- 1:30applications or entire desktop replacements.
- 1:35There are a few common options on the market that you might be
- 1:38familiar with. Citrix is very common.
- 1:42AWS Workspaces is like their big VDI solution and then of course
- 1:47with Microsoft Azure Virtual Desktop or Windows 365, which is
- 1:53still the only SaaS option, the software as a service, whereas
- 1:58the other VDI infrastructures, they're all mostly Paas where
- 2:05they offer a platform and you still have to build it yourself.
- 2:09Essentially, it's like the analogy I would use is you're
- 2:13given the Legos, but you have to build it yourself without the
- 2:17instructions, so to speak, unless you know how to do it and
- 2:20you build it away. But you could build something
- 2:22that absolutely doesn't work, whereas Windows 365 just gives
- 2:28you a working option. So that's still the only SAS
- 2:31option out there. If you're interested in kind of
- 2:33diving more into it, we did an entire episode dedicated to
- 2:37Windows 365 with a global black belt Bradley dupe.
- 2:41It's an excellent episode. I'll link it in the show notes
- 2:44so that you can go back and watch it and listen to it.
- 2:48This episode's really not to kind of dive into the
- 2:50differences between the solutions.
- 2:52I wanted to really talk about the Security benefits because
- 2:55VDI is important. And there was a conversation
- 2:58this week among one of the chats that Adam and I are on where we
- 3:03talked about a little bit of the security and compliance of VDI.
- 3:07So some of the benefits, I mean you're already separating out
- 3:12end user environments from the desktop underlying physical
- 3:16hardware. So you're usually storing data
- 3:18and applications on the centralized server or the cloud
- 3:21infrastructure. So that's already more secure.
- 3:24You have centralized management of baseline images and patches
- 3:27for endpoints. You have the ability to keep
- 3:28sensitive data in the data center rather than the
- 3:31individual end users. Remote access is often a good
- 3:35way to secure your environment. So instead of having to VPN from
- 3:39a physical host, you can deploy A VDI that has access to the
- 3:43internal network without having to provide AVPN solution.
- 3:48I'll take a pause there, add on some thoughts.
- 3:51Absolutely tremendous security benefit from this approach.
- 3:54Whenever you're virtualizing applications or an entire
- 3:57desktop, you create that really strong separation between
- 4:01whatever device is being used to access it from the data itself.
- 4:05The data doesn't ever leave the data center.
- 4:07It doesn't roam anywhere. All of those benefits come in in
- 4:11the form of security, which is why I think even though
- 4:14initially there were some cost saving benefits and some
- 4:17centralized management benefits, I still think the number one
- 4:20benefit is from a security approach.
- 4:22If you have highly secure applications, this is a really
- 4:27good way to deliver them in a secure manner as opposed to
- 4:31deploying it to remote endpoints that could be on anywhere on on,
- 4:35on any network at this point. And that's an assumption you
- 4:38should build around so. Yeah.
- 4:41So one of the points that we had a conversation around this week
- 4:47was what is the actual need for compliance of the underlying
- 4:53host, because some of our colleagues had a question about
- 4:57some customers who wanted to check for compliance of the
- 5:00underlying host. And so do you need to track the
- 5:05OS level or maybe even like the remote desktop app version?
- 5:11Do you have up to date AV signatures, key loggers, you
- 5:14know, underlying malware of the physical host that you're trying
- 5:18to connect to? And it was really interesting
- 5:23because as we've kind of discussed, and I think in the
- 5:27security industry, VDI is a fairly solid standard when it
- 5:32comes to providing secure access.
- 5:34So what do you actually need for the underlying host?
- 5:37Does it really matter if you're not really transferring data,
- 5:42you can prevent cut and paste, you can prevent screenshots.
- 5:45I mean, that's all kind of built into a lot of VDI solutions.
- 5:49And you can use MFA to log into the VDI instance.
- 5:57And so there was a conversation around do we need to say require
- 6:01compliant device and maybe enroll that underlying host in
- 6:07Intune or is the VDI environment enough?
- 6:12And you know, that really depends on your risk.
- 6:16And I think for me it probably isn't a necessary step.
- 6:22I don't really know what you would try to mitigate if you
- 6:27had, you know, a compliant device that you required for the
- 6:31underlying host. The I think the one thing that
- 6:34we had a really big discussion around was key loggers and I
- 6:37just don't know if that's very common anymore these days.
- 6:41Apparently Citrix has a way to prevent key loggers.
- 6:45I don't know how it technically works, but they say that they
- 6:48scramble the keystrokes from the physical device into the VDI
- 6:54environment. Maybe they do and maybe that
- 6:56protects it from key loggers, but I don't think that that is a
- 7:01very common thing these days. And if you have protections
- 7:06around the identity, I think would be the most like the most
- 7:13valuable thing to steal from a key logger would be like
- 7:15username and password. I think if you have other
- 7:18protections like MFA or compliant device for other
- 7:22applications, then you could mitigate that risk.
- 7:25But what are your thoughts on that, Adam?
- 7:28I came out pretty strongly in our conversation with our
- 7:30buddies against requiring some of this.
- 7:34I ultimately feel like if you want to do a bunch of compliance
- 7:39checking over the client I'm using to access a remote desktop
- 7:43environment, then you should just give me that too.
- 7:47If you care so much about it, then issue it to me.
- 7:50And ultimately, I think for most organizations, one of the
- 7:53reasons they're looking at these models is to get away from maybe
- 7:57having to provide hardware entirely to just say, here's
- 8:01your cloud PC, bring your own hardware, whatever you like.
- 8:05And we don't have to do management or anything else on
- 8:07it because we have this really strong separation.
- 8:10So ultimately, I feel like you're losing a lot of the
- 8:15security benefit if you're getting really hardcore about
- 8:19looking at and inspecting that underlying device and maybe
- 8:23losing the Security benefits the wrong way to describe that.
- 8:25Losing the portability aspect of it might be a better way to
- 8:30describe it. You're, you're reducing that
- 8:32benefit because, well, now we're going to set all these
- 8:34requirements and how you access it.
- 8:36Look, if I'm comfortable using my iPad with a Bluetooth
- 8:39keyboard and mouse and that can connect to my cloud PC, so be
- 8:43it. Like why, why do you care all
- 8:47that much? And, and like you talked about
- 8:48Andy, you can disable some of the things like Cut, Copy and
- 8:51paste and whatever. I, I agree, like key loggers are
- 8:55obviously the most concerning thing, but if you really unpack,
- 9:00what can you even do with a key logger today?
- 9:02I shouldn't have single factor authentication.
- 9:04In fact, if I'm doing it right, my users really shouldn't be
- 9:07prompted for passwords much at all.
- 9:10So the key logger really shouldn't even get a chance to
- 9:12pick that up and getting one side of the conversation.
- 9:14I mean, there's honestly, if I'm an attacker, probably better or
- 9:18more interesting ways to go about that attack in the 1st
- 9:20place and ultimately like things like blocking cut, copy and
- 9:24paste or screenshots. Pick up a a recent smartphone,
- 9:28Android or iOS and take a picture of something with text
- 9:31on it. You may notice something they
- 9:33all have built in AI powered, ML powered whatever it is OCR where
- 9:38I can hold up my phone, take a picture of the screen, cut, copy
- 9:41and paste everything that's on the screen through my phone.
- 9:45So it gets to a point when if a human eye can see it, then a
- 9:49phone can see it too. And unless you're going to pat
- 9:51people down before you let them access it, which I mean, what
- 9:54are we doing here at risk? Is there already at, at at this
- 9:59point, because I it's slick and seamless to do that.
- 10:03So ultimately this seems like a lot of maybe perceived risks
- 10:09where if we actually unpack them, we could determine they're
- 10:12not net new risk, or there's risk we can't really mitigate
- 10:16anyway, or there's risk we should mitigate through other
- 10:20ways instead of requiring these controls.
- 10:22So overall, I'm not a fan. I understand there's use cases
- 10:26and scenarios where they make sense, but overall, if you want
- 10:29to do a whole bunch of inspection of the underlying
- 10:30device, then just issue an end point instead of doing it this
- 10:34way. The whole point of this is to
- 10:36kind of not care about what the client accessing your virtual
- 10:40desktop is. And so if you start caring a
- 10:42whole lot about that, then maybe this isn't the right model for
- 10:45you. Yeah, I agree with a lot of
- 10:47that. And it's really interesting that
- 10:48you bring up the whole phone taking a picture because, you
- 10:52know, how do you prevent that, right?
- 10:53And so if it really is information that cannot be
- 10:57leaked right, then it should only be accessed on certain
- 11:00networks, physically in a room like a skiff where you have to
- 11:04give up your phone before going inside.
- 11:07Right. If it's to that point, that's
- 11:10your model. Exactly.
- 11:11And it's really interesting, you had gotten an e-mail recently
- 11:15about a device refresh and Microsoft, we both work for
- 11:20Microsoft. For those listeners who might
- 11:22not know or are joining in new Microsoft is now issuing or or
- 11:27giving the option to end users when they get a device refresh
- 11:30to instead to get a Windows 365 VDI.
- 11:35And I was thought that that might be kind of interesting to
- 11:37do and use as a primary day-to-day device.
- 11:43I don't think I could do it in my personal position today
- 11:48because I require a little bit more control and, and be able to
- 11:53demonstrate and, and have demos and whatnot.
- 11:57Maybe I, I don't know how you feel about that, Adam, but I
- 12:00think maybe an SSP or certainly like an account exec where
- 12:04you're just joining in on a Teams call and doing a lot of
- 12:06emails, maybe some spreadsheets. I, I don't know, I don't know
- 12:09who would be good for that, but I, I think it would be
- 12:11interesting to try. It, it is interesting to me
- 12:14because today I'm not using my issued device already.
- 12:17And so instead of getting another piece of hardware that
- 12:20I'm already might not use, maybe I could opt for just having that
- 12:24cloud PC and use it from all my devices.
- 12:26That might be kind of cool actually.
- 12:27And that would give me something to think about.
- 12:29For companies to save some money too, right because you're not
- 12:33having to buy physical devices and depreciate them over a
- 12:38period of time you're literally just buying a SAS model and that
- 12:42could go into your operational costs, right OK so the next
- 12:46topic I wanted to talk about and this is something that's pretty
- 12:48important that everyone should understand if you're in IT, if
- 12:51you're in security and it's called the shared responsibility
- 12:54model. The reason why I wanted to bring
- 12:57this up was because I had a conversation with a customer
- 13:01this week and actually one of our people that are in our chat
- 13:05too as well ended up having a conversation very similar to
- 13:08this. And so I thought maybe this idea
- 13:12was going around where they don't really understand what
- 13:16they're responsible for in the shared responsibility model.
- 13:19So what is it? In the simplest terms, it is
- 13:25something that dictates the cloud provider such as like AWS,
- 13:28Microsoft Azure, or Google Cloud Platform provider like that,
- 13:33where the provider must monitor and respond to security threats
- 13:37related to the cloud itself and its underlying infrastructure.
- 13:40However, the end users, individuals, and companies are
- 13:44responsible for protecting the data and other assets they store
- 13:47in the cloud environment. And it can be misunderstood.
- 13:51And that's how this conversation came about, because the customer
- 13:55thought, OK, well, I'm putting the data in the cloud.
- 13:58And so once it's in the cloud, Microsoft is responsible for it
- 14:03or AWS is responsible for it or whoever.
- 14:05And unfortunately, that's not really true in the shared
- 14:09responsibility model. Any applications or data that
- 14:12you're putting in the cloud are protected by the cloud provider
- 14:17as far as the infrastructure goes, like the physical
- 14:20hardware, like Microsoft's responsible for physical
- 14:22security of the data centers and you know, any underlying network
- 14:30and all of that. But the data itself and even the
- 14:33identities that you're using to sign in, like that's all on the
- 14:38individual users or organizations that are using the
- 14:42cloud. And so real quick, there's
- 14:45there's three main service models and we talked about one
- 14:49already, which is software as a service, there's infrastructure
- 14:51as a service and platform as a service or SaaS, IAS and Paas.
- 14:56And SaaS is where the vendor host application and it's used
- 15:02in the cloud by a subscriber. In this model, the provider's
- 15:05responsible for the application security as well as maintenance
- 15:08and management as is a platform delivery model where things can
- 15:12be purchased and used and run to manage applications.
- 15:16The vendor is provides the hardware and software used for
- 15:20application development and the service provider is responsible
- 15:25for the security of the platform and its underlying
- 15:27infrastructure. And then IAS is where the vendor
- 15:30provides the whole compute resources, virtualized servers,
- 15:33storage, network over the Internet.
- 15:36And the business is responsible for maintaining security of
- 15:38anything they own and install on the cloud infrastructure such as
- 15:41operating systems, applications, middleware, containers, workload
- 15:44data and code. So if you're say, use Azure for
- 15:50virtualizing servers like we talked about previously here,
- 15:53you're responsible for the security of those servers,
- 15:57right? Like if you have a public IP
- 16:00address and you have the port RDP open to the Internet and you
- 16:07have a default credentials like admin, admin, that's on the
- 16:12corporation, that's on the organization, the business that
- 16:16is not on Microsoft, it's not on AWS.
- 16:18If you're doing that, if you have an S3 bucket in AWS and you
- 16:23have that open to the Internet, like that's on the organization.
- 16:27So the data itself, just because you're storing it in the cloud
- 16:32provider does not mean that it is the responsibility of the
- 16:36cloud provider to protect it. So hopefully that makes sense.
- 16:42Adam, I'll give you a chance to add your own flavor and your
- 16:45thoughts. To that, well, I'm going to take
- 16:46the the thing that our friend of the show, Josh Jingris always
- 16:51trots out when we discuss this. He has this great image called
- 16:55pizza as a service. And maybe we'll find some way to
- 16:58link to this in the show notes. But it essentially describes
- 17:01those different models, Andy walkthrough SAS Paz IAS and on
- 17:06premises and maps them to maybe concepts we're familiar with on
- 17:10different ways to get pizza. So think of on premises as we're
- 17:13making pizza at home. We're going to make the dough
- 17:15from scratch. We're going to make the sauce
- 17:17from scratch. We're going to cook it in our
- 17:18own oven. We're responsible for everything
- 17:21end to end, short of maybe making the cheese ourselves and
- 17:25growing the tomatoes ourselves. But otherwise we're we're doing
- 17:29everything. Next step up would be IAS.
- 17:33Think of that almost like take and bake where I can go
- 17:36somewhere, pick up a pizza. They provided me kind of a pre
- 17:39made pizza with all the ingredients, but I still take it
- 17:42home. I'm still responsible for baking
- 17:44it at the correct temperature for the correct time, cutting
- 17:47it, serving it, providing the table to serve it on, providing
- 17:51dinnerware and cutlery and all those things.
- 17:54Then think of Paz as pizza delivery.
- 17:57At this point all you have to provide is the dining room table
- 18:01and the drinks. Like everything else.
- 18:03The pizza shows up at your door, it's cooked, it's ready to go,
- 18:06and that's all you have to do is provide a place to sit and
- 18:09something to drink with it. And then dining out is analogous
- 18:11to your SAS model where you literally have to do nothing but
- 18:15sit there. They will bring everything else
- 18:17to you end to end. And so I love this mapping of
- 18:21different pizza consumption methods to these different
- 18:25shared service models. I think it's a great analogy
- 18:28that really lands well and I think Andy walked walked through
- 18:31it really well on the different responsibilities there.
- 18:34So in general, as security practitioners, our goal should
- 18:38be to encourage our organizations to minimize their
- 18:43use of IAS and on premises as much as possible.
- 18:47Really you want to see your organization adopt Pas and SAS
- 18:51wherever possible because then you have less responsibility for
- 18:54those things. You have contractual
- 18:56relationships, usually with some sort of SLA or financial penalty
- 19:00if they're not met for delivering those other
- 19:03responsibilities to you. So generally speaking, let's say
- 19:07as a really simple example, you have a development team
- 19:10developing an application and they say, hey Blue security
- 19:14podcast listener, would you rather we stood up our own SQL
- 19:17Server and IAS and ran it all ourselves including the
- 19:20responsibility to manage the OS or would you rather we use
- 19:24Manage SQL in Azure? The choice every time should be
- 19:27managed SQL if it will work with that application, because now
- 19:30you don't have to patch the underlying application or
- 19:33operating system. The OS is patched automatically.
- 19:36In fact, you have no visibility into it at all.
- 19:39You just have a sequel environment that you can
- 19:41configure to meet your needs. And even there there's going to
- 19:44be less responsibility for patching and management of the
- 19:47overall sequel service, because that also is going to be managed
- 19:51by Microsoft. As opposed to that would be an
- 19:54application on top of the OS you would have to patch as well in
- 19:58an AIS environment so you see how the simplicity grows over
- 20:02time. But in all of those you're
- 20:05responsible for validating input, sanitizing input, making
- 20:09sure if someone tries to issue a drop table command it doesn't
- 20:12get executed. Those sorts of things remain
- 20:16your responsibility in in terms of the proper configuration
- 20:19overall. Application design, even though
- 20:22a lot of that in a Paas model, can be taken care of on your
- 20:26behalf. So definitely something to
- 20:28familiarize yourself with. I think all three cloud vendors
- 20:31have excellent documentation on it, but if you're at all
- 20:34unclear, great time to get clarity on it and understand
- 20:38your responsibilities. Because as an example, in almost
- 20:42every single model you will have responsibility for accounts and
- 20:45identities and information and data.
- 20:48Regardless of model you choose, you're probably responsible for
- 20:51those. And so make sure you're you're
- 20:53doing a good job with that. Yeah, it's really important that
- 20:57you know what you're trying to protect, right?
- 21:00You use the example of Sequel. Another good example is
- 21:04Exchange, right? If you're running your own
- 21:06Exchange service today, you have to maintain those operating
- 21:10systems, those servers. If the server goes out of date,
- 21:12you're going to have to migrate, you have to maintain redundancy,
- 21:16all of that. Every time there's a server
- 21:17patch or an application patch, in this case Exchange, you're
- 21:21going to have to do that. When you go to Exchange Online,
- 21:23you literally don't care about any of the underlying operating
- 21:28system or application that's running it.
- 21:30All you have to do is maintain the accounts that are logging
- 21:35in. That's always going to be on the
- 21:37customer or the organization and you're still responsible for
- 21:41securing the e-mail itself, the data that is there.
- 21:45So very important. And of course I can, in most
- 21:49cases too, you're responsible for the physical devices that
- 21:52are accessing that data, phones, mobile devices, PCs, physical,
- 21:59you know, the physical devices that are accessing your SAS
- 22:03application. So very important to understand
- 22:07this shared responsibility model, especially when it comes
- 22:10to being a defender. If you have any questions, we'll
- 22:13link the documentation in the show notes.
- 22:16So for each of the major 3 vendors so that you can go
- 22:19through it. But I would highly recommend
- 22:21that you understand this so that you can defend accordingly
- 22:25because you might think, OK, well, the data is there.
- 22:28It's on the vendor, it's on Microsoft, it's on AWS, but in
- 22:31reality it's on you as the organization.
- 22:34So even like one final final note just real quick before we
- 22:37go even a good thing to understand would be like the
- 22:42responsibility of backup as an example as well.
- 22:46Generally speaking in like Microsoft 365, Microsoft does
- 22:50maintain backups of the service of course, but those are
- 22:53intended to be restoration from major disasters that are service
- 22:59wide. They are actually and explicitly
- 23:02not accessible to end customers for like 1 off backup and
- 23:08recovery requests. So you can't say like my CEO
- 23:11accidentally deleted this e-mail.
- 23:12Microsoft, can you go pull this tape and recover it?
- 23:14Like no, that's not that's not included in the service level
- 23:18agreement. Now we will back it up in case
- 23:21all three data centers that your Exchange mailbox is stored in
- 23:25catch on fire at the same time, we will be able to restore the
- 23:28service and bring it back online.
- 23:29Yes, of course, but it's not for like individual restore requests
- 23:33as an example. So there is some granularity
- 23:35here as well and and important to understand too.
- 23:38Yeah. And the customer that asked me
- 23:40about it was really more concerned about a data breach or
- 23:43data leak if their organization was breached.
- 23:48They were asking whether or not that's Microsoft's
- 23:51responsibility for the data because we hold the data.
- 23:55And so I had to try to explain, you're responsible for
- 24:00protecting the data even though it's stored with Microsoft.
- 24:04So if there's a breach that's still on the organization when
- 24:09it's through the organization if if that makes.
- 24:11Sense, right. Well, again, I mean, and this is
- 24:14where it does get into Gray because if it were some sort of,
- 24:17if it's stored in a SAS model and there was some sort of
- 24:20network based attack that was successful or somebody broke
- 24:24through the hypervisor and the virtualization model and gained
- 24:28cross tenant access or something.
- 24:29Yes, that's Microsoft's responsibility to maintain like
- 24:32network security, physical security, the security of the
- 24:35multi tenant environment. But then there's also customer
- 24:38responsibility of the identities and and those sorts of things
- 24:41too. And if an if an attacker sends
- 24:44efficient e-mail in your someone at your company responds
- 24:47positively and helps them break in, then that's not Microsoft's
- 24:51responsibility. Exactly.
- 24:52All right, So take a look at the documentation.
- 24:56This is something that's really important to understand for each
- 24:59one of your services, each one of your solutions, understand
- 25:03what you're responsible for and what the vendor or the solution
- 25:06is responsible for. That's our show for this week.
- 25:09Thanks for watching and listening.
- 25:11As always, our contact information will be in the show
- 25:14notes if you have any questions or follow up topics you want us
- 25:17to talk about in the future. Thanks.
- 25:19We'll talk to you guys next week.
- 25:21Thank you for listening to the Blue Security Podcast.
- 25:23Please check out the show notes, catch up on episodes you may
- 25:26have missed, and subscribe so you don't miss any future
- 25:29episodes. Find Andy on Twitter at a Jaw
- 25:31Zero and Adam at AJ Brewer. See you at our next episode.