Latest / Blue Security / VPNs vs SDPs
Transcript
- 0:06Welcome to the blue security podcast, a weekly podcast for
- 0:10information security Defenders, where we bring you two sessions
- 0:13on best practices, tools and implementation for Enterprise
- 0:17security. Now here are your hosts for
- 0:19today's show, Andy jaw and Adam Brewer.
- 0:22Welcome to the blue security podcast.
- 0:24I'm Andy your host. I'm Adam your co-host this week,
- 0:27we teed up a conversation Ian about vpns and a new way of
- 0:33thinking about them, something called software, defined
- 0:36parameters or known as sdps. If you're not sure what a VPN
- 0:40is, we're just going to break it down at a very basic level.
- 0:43Vpns are, a way to traffic your network through an encrypted
- 0:49tunnel. So they tunnel your traffic to
- 0:51usually a termination Point as a firewall.
- 0:54Most people use vpns for access to corporate networks in an
- 0:58Enterprise environment from A personal standpoint.
- 1:01A lot of people may use them for security or privacy because if
- 1:05I'm out of Starbucks my traffic is visible on Starbucks network.
- 1:11But if I use a VPN that traffic is encrypted through a tunnel
- 1:14and nobody else on that Network, can see it.
- 1:16And so, a lot of people even Enterprises use this for that
- 1:19reason. Or people will use vpns for
- 1:21security and privacy but the majority of Enterprises use it
- 1:24to gain access to the internal applications that are hosted on
- 1:28their Networks vpns. Are a big thing these days
- 1:31because of covid. Some companies may not have had
- 1:34vpns and they stood him up very very quickly.
- 1:36And so we did talk about VPN encryption in one of our
- 1:41previous episodes but there are a lot of different types of
- 1:44encryption when you implement the vpns, it usually will ask
- 1:47you what type of encryption you'll want to use.
- 1:50There's point-to-point tunneling protocol, there's layer 2
- 1:53tunneling protocol, IP SEC, openvpn.
- 1:57Each one of these encryption methods have And capabilities
- 2:01different security requirements. So when you're looking at those
- 2:04you want to figure out which one is going to be the best for you.
- 2:08One of the things that is very important is because vpns
- 2:11terminate on a firewall and it is an incoming connection to
- 2:15your firewall. A lot of the encryption
- 2:17protocols require you to have a port open for that connection.
- 2:21Those different types of encryption will require
- 2:23different ports to be open. So, for example, point-to-point
- 2:26tunneling protocol will require 1723 TCP, To be open openvpn,
- 2:31which is very common and it's one of the strongest encryption
- 2:34methods out there requires 1194, UDP port, or 443 TCP, which is a
- 2:40lot more secure for most people, because 443 is generally open
- 2:45for SSL traffic. Now, one of the big decisions
- 2:48that you have to make when it comes to VPN is, if you're going
- 2:51to split tunnel or full tunnel your traffic, when you full
- 2:55tunnel your traffic, it means that all your traffic will go
- 2:58through the tunnel. Including external DNS requests,
- 3:02right? So most companies use VPN for
- 3:04internal, but if you full tunnel, it means if I'm going to
- 3:07CNN, or whatever that will tunnel my traffic through my
- 3:10company's Network and then egress out of my company's IP.
- 3:13If I split tunnel, it, it just means those internal DNS
- 3:16requests. Like to say for contoso.com,
- 3:19microsoft.com will go through my VPN tunnel and then external
- 3:23stuff to like say Facebook that won't Traverse the VPN tunnel.
- 3:27Now there's benefits to both right?
- 3:28Because if I'm full tunneling, My traffic.
- 3:30That means my vpm pipeline has to be big enough for all that
- 3:33traffic to go through all Facebook, traffic, YouTube,
- 3:35traffic, all that is coming through my internal pipe.
- 3:38If I don't full tunnel it and I split them off, you may lose
- 3:42visibility on what people are going to sew from a security
- 3:45standpoint. It may not be as good from a
- 3:48usability and network engineer standpoint.
- 3:50Split tunnel is amazing because you're saving Pipeline and not
- 3:53having to force all that traffic through.
- 3:55So those are some considerations to think about when it comes to
- 3:58VPN architecture if you're not Night with it, with split
- 4:01tunneling, versus a full tunnel. One thing to keep in mind if you
- 4:05are a Microsoft 365, customer Microsoft publishes guidance
- 4:09that recommends against tunneling your Microsoft 365
- 4:13traffic because Microsoft operates, so many points of
- 4:16presence throughout the world and is one of the largest if not
- 4:20the largest owners of private fiber in the world.
- 4:23The fastest way to access Microsoft 365 resources its to
- 4:27get to the geographically closest point of presence and
- 4:30even if your data isn't in that region.
- 4:33So say for example you're traveling and you're in the
- 4:35asia-pacific region but your company is based in the United
- 4:38States is actually faster to get on that point of presence and
- 4:41say like a Hong Kong and then Traverse Microsoft's.
- 4:43Private fiber to the data center in the United States where your
- 4:46mail is stored as opposed to going over the public internet
- 4:49or worse. Yet, going over your VPN tunnel,
- 4:52back to your corporate headquarters, wherever they may
- 4:53be, and then egressing there. So, that's one point is that if
- 4:56you're experiencing any service, degradation with Microsoft, 65,
- 5:00for example, teams meetings, that's something you should
- 5:02check the. Other thing also, another Point
- 5:05Against full tunneling is the way, the modern internet
- 5:08infrastructure works. So many things today are behind
- 5:12the CDN, which is short for Content delivery Network and
- 5:15they do a lot of intelligent things around determining where
- 5:18you're coming from and serving you that data as geographically
- 5:21and from a network perspective as close as possible.
- 5:23And so any time you're doing something to kind of end around
- 5:27that whether it's a VPN for personal or private, Yasir
- 5:30security purposes or an Enterprise VPN your sometimes
- 5:32going to have performance degradation there to wear.
- 5:35For example, if you're trying to stream like Netflix and you
- 5:37can't do a 4K stream, it could be a reason like that.
- 5:40Why it won't work? Because you just don't have
- 5:42enough bandwidth or you have too much latency or whatever is
- 5:45preventing you from doing it that way.
- 5:47So with modern internet design, principles, doing vpns, whether
- 5:51they're personal or Enterprise, do break, some of those designed
- 5:55assumptions around, how you're going to access it.
- 5:57So in general, I would say the trend should be You are doing
- 6:00full tunnel to really reconsider that, and look at how you can
- 6:03reduce your dependency on that. Andy talked about things like
- 6:05visibility, maybe there's other ways to achieve that visibility
- 6:08instead. So some thoughts, they are, but
- 6:10the number one call out is, if you're in an 365 customer.
- 6:13That's basically advice not to do that.
- 6:15Yeah, really good call out there at on because this is one of
- 6:18those contentious points sometimes between security and
- 6:21the business where security wants visibility, they want to
- 6:23see whatever people are doing, not necessarily like spying on
- 6:27them, but making sure that the network isn't compromised.
- 6:29Right? And so they want that full
- 6:31tunnel. But from a user standpoint, from
- 6:33a network standpoint from a business standpoint, it doesn't
- 6:36make sense to do it because usability as much better in a
- 6:39split tunnel scenario. So that's where those heads may,
- 6:42but and you may have to give up some of that.
- 6:45But as Adam said, there's other ways to secure that data versus
- 6:49having to use an Antiquated system like full tunnel VPN.
- 6:52So, VPN has some vulnerabilities that we want to think about as
- 6:57Security Professionals for one thing.
- 6:59Many VPN vendors which actually are the firewalls themselves
- 7:04like Palo Alto or Cisco. It come with vpns and many of
- 7:08those clients lack the ability to integrate with modern
- 7:11identity providers and so because of that you can't use
- 7:16MFA a lot of them use like ldap or some ad integration to pull
- 7:21in the users and passwords which great you can authenticate using
- 7:24a username and password but it's not authenticating using a
- 7:27modern Authentication Protocol and you can't use Is MFA with it
- 7:30and so that for me is probably the number one issue is when
- 7:34your username and password compromised, I can then sign in
- 7:37using that to then get into your network Andy before you move on
- 7:40to the next point, I want to add a little color there.
- 7:43Don't fall into the Trap of thinking that the more times I
- 7:47can prop somebody from more different credentials.
- 7:49The better my security is that's kind of this false equivalence
- 7:52Security Professionals. Often make that prompting more
- 7:55frequently or prompting for more things is better.
- 7:57So if I have you sign in to your Windows PC with Username and
- 8:00password. And that I prompt you to sign in
- 8:02with that same username and password again, for your VPN,
- 8:04that's somehow better. It's not or on the other hand.
- 8:07Don't think that adding MFA to the authentication process for
- 8:10your VPN has to be ownerís to the user, as an example, modern
- 8:14VPN providers support sam'l so they can integrate with your
- 8:17identity provider. Now, as an example, if you use
- 8:20Azure active directory, as your identity provider and you
- 8:22Federate, your VPN provider with sam'l to Azure ad, you can
- 8:26actually then consume the windows.
- 8:28Hello for business. Primary refresh token that gets
- 8:31generated when a user signs in with Windows.
- 8:33Hello for business, which we've discussed is a multi-factor
- 8:35authentication method and automatically and seamlessly
- 8:39sign the user in to VPN. And you may say, well that's
- 8:41not, that's not MFA. Well it sure as heck is because
- 8:44they needed two factors, they need possession of something and
- 8:46they needed either a knowledge factor or a biometric and the
- 8:50user actually doesn't even see another prompt they get
- 8:52seamlessly signed in. So this is actually how in
- 8:54Microsoft it how the VPN works. You don't get prompted for any
- 8:58additional authentication, when you sign.
- 8:59VPN because you just did it when you opened your PC.
- 9:02So don't make the assumption that adding MFA to, your VPN has
- 9:06to be ownerís, or has to degrade the user experience.
- 9:09You can actually require MFA MFA is required for the MSI TV PN,
- 9:13but it's invisible to me the user because I already did MFA
- 9:16want to unlock my PC, so it's super seamless and great.
- 9:19So just a call out there that even though we're absolutely
- 9:21saying you should have MFA on your VPN and if you don't that's
- 9:24a risk. But we're not saying that has to
- 9:26be a bad user experience. Another issue with vpns is a lot
- 9:30of companies don't segment their Network.
- 9:32They have what's called a flat Network which means that
- 9:35anywhere on the network, you can reach everything and that's very
- 9:39easy but it's also very insecure.
- 9:41There are some companies who segment off like critical
- 9:44infrastructure. Like, for example, if you have
- 9:47an iot Network, or if you have specific machines that are
- 9:51running production, that can't be down.
- 9:53You may put those on a separate network, but a lot of companies
- 9:57for the most part, have a very flat Network.
- 9:59Which means If I have access to your VPN, I have access to your
- 10:02corporate Network including device Discovery and all the
- 10:06vulnerabilities you have. I can run a wall and scanner and
- 10:08see what systems you have in patched and go from there.
- 10:11So once I have in, I can escalate from there, a lot of
- 10:13VPN providers are also starting to expose the admin console to
- 10:19the external internet. You can do this through secure
- 10:22methods like HTTP and whatnot. But you know anything that's
- 10:25exposed especially a something like VPN is definitely a
- 10:30vulnerability. So vpns also don't really follow
- 10:33the concept or Mantra of zero trust just because a device
- 10:38along soon employee and it's connected to the network doesn't
- 10:42mean that it isn't compromised or should be trusted.
- 10:44And so it's very hard or vpns in general to have integrated that
- 10:49device trust or device attestation device compliance
- 10:53into their authentication methods.
- 10:56There are some companies that I know that are using a tool like
- 10:59Network. Access control or a knack to
- 11:01integrate with other compliance providers, like you can
- 11:05integrate with into nor are watch, or Jam for something like
- 11:08that, where it has to be enrolled in the compliance.
- 11:11Check has to come from that device management, vendor back
- 11:14to your neck, controls to make sure that it is compliant before
- 11:17can come on. So I have seen that and that is
- 11:19a better way to do it, but in general, most VPN providers is
- 11:23just a network connection. They're not going to integrate
- 11:25any type of device compliance or device.
- 11:27Check into that my stepdad used. I have a saying that was nothing
- 11:31good ever happens after midnight and as I found myself getting
- 11:34older and moving away from my younger years.
- 11:36I agree with that statement more and more.
- 11:38Nothing good happens. After midnight.
- 11:39When I think of a flat Network, I think of nothing good happens
- 11:43from client. PCS talking to each other.
- 11:45There are now almost no use cases today in modern it
- 11:48environment again, back in like the Windows 98 days, Windows
- 11:513.11 days when we had windows for workgroups and those were
- 11:53all more peer-to-peer kind of networks, okay?
- 11:56Maybe a work group that made sense today with a modern
- 11:58client-server, Texture individual workstations, have no
- 12:02need to talk to each other. And so dumping them all on a
- 12:04flat Network or they can all go scream at each other and send
- 12:07each other packets and TCP request and everything else.
- 12:10Only bad things happen when that is possible.
- 12:13There is no benefit from that and that's the kind of risk
- 12:16having a flat Network exposes and having a way for me to drop
- 12:20my device on that flat Network. Even when I'm outside the
- 12:23physical building again just a risk like just a risky don't
- 12:26need so flat networks definitely risky and then you know talking
- 12:29about oh trust as well. I just think of the concept of
- 12:32the amount of Access VPN grants with a single set of
- 12:36credentials. Even if you're doing
- 12:38multi-factor and then allowing you to just sit and persist and
- 12:42have that access ongoing just really flies in the face of a
- 12:45zero, trust principle where it's more get in Access a thing, get
- 12:49out. And every time you get in and
- 12:50out, I'm going to revalidate, all of the things identity,
- 12:54Health device, health device compliance every single time
- 12:57before you get access to a thing vpns.
- 12:59Don't. Like that.
- 13:00And if you do have some of those pieces in place great, you're
- 13:02doing kind of the bare minimum here, but it's still not aligned
- 13:05to a full modern zero. Trust Network architecture,
- 13:08implementation, even with the best.
- 13:10Most modern VPN implementation possible.
- 13:13It's still a lot of access without a lot of ongoing,
- 13:16validation of the trust of all of those factors, the device
- 13:20they identity etcetera. So if there's all the issues
- 13:23with VPN why do companies continue to use them?
- 13:26I think for one it's what they know VPN has been around.
- 13:29For 22 plus years, and the technology is proven, and people
- 13:35are proficient, in deploying vpns.
- 13:37And so it's still around as well as a lot of I can certainly
- 13:41attest to this. If it ain't broke, don't fix it
- 13:44type attitude, you know, the what we call keep the lights on
- 13:47it guy. You don't want to do anything
- 13:49that rocks the boat, right? Everything's working, and
- 13:51everything's great. Let's just keep it going.
- 13:53And then I mentioned as well, a lot of vendors will just include
- 13:57their VPN client as far as firewalls go go.
- 13:59Include the VPN client with it and so, it's included.
- 14:02It's free. You get what you pay for and so
- 14:04might as well use it. Type attitude.
- 14:06So those are I think some of the main reasons why companies are
- 14:09still using vpns. Now, let's talk about some of
- 14:12the Alternatives. The main topic is really
- 14:15software, defined parameters but I just want to mention one of
- 14:18the Alternatives which there are, we're not going to dive
- 14:21down. This particular rabbit hole, but
- 14:23we did do a great episode on Windows 365 with one of our
- 14:27Global black belts Bradley to pay that And any type of
- 14:30virtualization like Azure virtual desktop or Amazon
- 14:33workspaces, those are also secure methods of getting into
- 14:37an internal Network and it's perfectly reasonable.
- 14:40It's actually one of the best ways that you can do it, but it
- 14:42does cost resources which, you know, you can figure out the
- 14:45cost ourselves. Again we're not going to dive
- 14:46down the virtualization talk but just know that any type of
- 14:49virtualization that provides like a secure workstation, would
- 14:52integrate that device compliance Into Your solution and that way
- 14:55you can get all the benefits of MFA device.
- 14:58All of that and you're not Really putting another unknown
- 15:01device on to that Network. The main topic that we want to
- 15:04talk about is software defined parameters.
- 15:06This is another way of thinking about it.
- 15:08If you didn't want to deploy infrastructure like
- 15:11virtualization, you can use the software defined parameters.
- 15:14Now, what that is, is it uses software to office, Kate your
- 15:18internet-connected infrastructure.
- 15:19So you're never exposing your full Network, your never
- 15:22exposing your firewalls. You're using a layer of software
- 15:26over that. And so no one can see it, except
- 15:29for you. Users who are authenticated and
- 15:31are authorized to see what they need to see.
- 15:33Sdps have to verify the user identity, and since they're
- 15:37modern, they'll use modern identity providers and MFA and
- 15:40they can integrate the state of device into that authentication.
- 15:43Once the user is authenticated, it uses a micro segmentation.
- 15:48So individual network connection is setup from the endpoint to
- 15:52the server or application that they're trying to access and
- 15:56nothing else. On the larger network is exposed
- 15:59Network. - traitor sixth or Klee.
- 16:01I've had to do segmentations at the switch level using pages and
- 16:05pages of veal and access control lists or ACLS firewall rules or
- 16:09whatever. But sdps allow them to implement
- 16:13essentially a secure network connection and eliminating those
- 16:16flat networks. Now I'm going to have Adam talk
- 16:19about one of the ways that Microsoft has that you can do
- 16:22this. And I'm going to talk about some
- 16:23of the other vendors, but the overall 50,000 foot view of it
- 16:27is. You're establishing a single
- 16:29Single connection from your device after you've
- 16:32authenticated to the application itself and not tunneling.
- 16:35Your traffic like a traditional VPN where?
- 16:37It's split tunnel, full tunnel, it's literally what's called a
- 16:40micro VPN tunnel. So, one single tunnel with a
- 16:43single purpose and it is generally outbound only, so
- 16:47there's no inbound connections because you're authenticating
- 16:49usually to an identity provider that's external, then granting
- 16:52access to a Federated application on the inside.
- 16:55So the first one we'll talk about is a solution from
- 16:58Microsoft. It's called azure Active
- 17:00directory application proxy or for short will, just call it a
- 17:03proxy or a charade e-app proxy as we go along.
- 17:06And this is one of the lesser-known components of azure
- 17:10active. Directory of you are and Azure
- 17:11active directory, premium P1 customer.
- 17:14So that means your Microsoft 365 III or an EMS III customer so
- 17:19you don't have to have E5 or any crazy license for this.
- 17:22You have a proxy. Now, the way a proxy work Sandy
- 17:25kind of started talking about it a little bit, it really is to
- 17:27keep benefits. The one is more, what we're
- 17:29focused on here around that access to internal applications
- 17:33in a secure fashion. That's really targeted at just
- 17:35the application but there's another major benefit to and in
- 17:38fact colleague of ours while former colleague, Daniel Stefani
- 17:41act who used to be. At Microsoft said, really the
- 17:43key selling point of a sure 80 at proxy is the fact that it
- 17:47does single sign-on translation from kind of Legacy
- 17:51Technologies. Like, forms-based
- 17:53authentication, header based authentication, integrated
- 17:55Windows authentication, Kerberos all that kind of old stuff and
- 17:59It to new modern technology like open ID, connect that Azure
- 18:02active directory is based on. So you can go sign into a very
- 18:06Legacy application, even from an iPhone and Android phone and
- 18:09Macintosh that never supported integrated Windows
- 18:12authentication and still get a single sign-on experience.
- 18:15So I'll give you a real world example.
- 18:17Of this Microsoft is a tool and I swear we keep this around for
- 18:20the sole purpose of demo, he at proxy and it's called tar.
- 18:24I've mentioned it on the show many times because it's a great
- 18:26example. It's called time and absence
- 18:28reporting Swatara short. For and it literally looks like
- 18:31an application from. It's got to be like, the IE 5
- 18:34days is thing is ancient. It is ugly as Sin.
- 18:37It's straight out of the 90s, like World Wide Web, kind of
- 18:41aesthetic and yet to access it. Today you can go if you're a
- 18:44Microsoft employee tarda microsoft.com and I'll pop right
- 18:47up and you'll get single sign on to it.
- 18:49If you're already signed into Azure active directory and I
- 18:51mentioned you can sign into it on platforms that never support
- 18:53an integrated window saw that it's technically this is an
- 18:56application running inside the Microsoft corporate network but
- 18:58you don't need You don't need to be sitting in an office or
- 19:01uncork net which actually wouldn't do you any good?
- 19:03We'll talk about that in a second, but you get that
- 19:05seamless access to the application you need, and that
- 19:07application can show up side by side with all of the other,
- 19:10like, third-party single sign-on apps.
- 19:12You've configured and Azure active directory.
- 19:14So you could have servicenow Salesforce workday tar shows up
- 19:18right alongside it and to the end User, it's no different how
- 19:20I access it here. I'm on my, my apps portal.
- 19:23I click any one of them and I go to the thing, I don't care how
- 19:25it works behind the scenes is an end-user.
- 19:27I just know, it does. And I know I automatically And
- 19:29into it and it just works. So that's a great user
- 19:31experience, right? But so, how does this work
- 19:33behind the scenes? You know, what do you need?
- 19:35While I mentioned from a licensing perspective, premium
- 19:37P1. That's all you need.
- 19:39There comes with basically any III package, you've got and then
- 19:42what you do is you install, there's an app proxy agent or a
- 19:45connector that you install on premises and this is where Andy
- 19:48was talking about that. Connects back to the Microsoft
- 19:51cloud via an outbound connection and really emphasize the
- 19:55outbound there because you don't have to open any ports.
- 19:57You don't have to put anything in the DMZ.
- 19:59It's a direct outbound connection.
- 20:01So very, very secure from a network configuration
- 20:03perspective and you can install as many connectors as you need
- 20:06to support different applications, that might have
- 20:08different line of sight requirements.
- 20:10If you do have any network segmentation in place and from
- 20:13there you're Off to the Races. You configure conditional,
- 20:16access policies, and Azure active, directory.
- 20:18That users have to meet taking access to them.
- 20:20So you can say for this application, you just need to do
- 20:23MFA for this application. You need MFA and a managed
- 20:26device for this application. You need both of those things.
- 20:29But you're also going to be signed out after 30 minutes
- 20:31because it's very sensitive. So you can even Define different
- 20:34policy. Any per app level, do you see
- 20:36your kind of picking up the security benefits of this here?
- 20:39Great user experience, but also, now I can write policy down to
- 20:43an individual app level and different policy based on the
- 20:46sensitivity of each application. And just because I have access
- 20:50to one application doesn't mean I have access to another, right?
- 20:53Because those have different policy and they're completely
- 20:56like called an indie microsegmentation.
- 20:58This is really, really, really cool.
- 20:59Stuff and there's no, you know, usage fees or bandwidth costs or
- 21:03anything else associated with this.
- 21:04If you own Azure active directory, premium P1, you have
- 21:07this and you can take advantage of this today.
- 21:09So this is something I tell customers about and the kind of
- 21:11Blown Away though. Like I didn't know we had that.
- 21:13That's cool. And again the remote access
- 21:16thing is one part of it, but that seamless single sign-on
- 21:18experience. That's a big component to
- 21:20because you can take your legacy applications where perhaps the
- 21:24app developers long retired from your company and nobody knows
- 21:28how to modify this. Source code or even knows where
- 21:30the source code is. But this app continues to slog
- 21:33along and production and nobody has the guts to touch it but
- 21:35you'd like to bring it forward and modernize it, here's a way
- 21:38you can bring modern authentication multi-factor,
- 21:41authentication device, compliance device health, with
- 21:45Defender, for endpoint, identity, health, and factor in
- 21:48all of those things for access to that app and now it's way
- 21:51more secure than it ever was even sitting inside your network
- 21:54before and having people VPN to get to it.
- 21:56So today, just to kind of wrap this up, we use this a lot at my
- 21:59Soft. And it's to the point now where
- 22:01the majority of our internal apps are exposed through a proxy
- 22:05where we reached kind of an inflection point, and I got an
- 22:07email several weeks ago now and you got it too.
- 22:10I'm sure where it was announced that our VPN will no longer
- 22:13automatically connect on our Windows PCS.
- 22:15It is now an opt-in connect only when you need it VPN because the
- 22:18number of use cases where you need VPN today at Microsoft are
- 22:21so low. So the default behavior is MSI
- 22:24team managed device sits on the public internet and it accesses
- 22:27any internal applications throughout.
- 22:29Proxy just in time when it is needed and that's it, they don't
- 22:33sit on a VPN all day every day and if there is a legacy
- 22:36application that maybe hasn't been exposed without proxy yet
- 22:39or can't be, those are the only scenarios when you use VPN today
- 22:42and just to tie this off, even inside of a Microsoft facility
- 22:45today. So if you go in on Microsoft
- 22:47Office, like a sales office, we have one here in Des Moines.
- 22:50I get presented with a Wi-Fi network called msft, connect as
- 22:53an employee, and my Surface Book will automatically connect to
- 22:56that network, but all that network is is it's an internet
- 22:59connection. There's no mpls back to corpnet.
- 23:01There's no site-to-site. VPN or anything like that behind
- 23:04the scenes? It's just an internet
- 23:06connection. That's all that's been.
- 23:07Granted to users anymore. So there is very little concept
- 23:11of the quote-unquote corporate Network today in how we operate.
- 23:15And I get that this is an aspirational state for a lot of
- 23:17other organizations that aren't there yet.
- 23:19But just to let you know, this is possible.
- 23:21This is achievable even for large multinational companies
- 23:25with hundreds of thousands of employees.
- 23:27You two can get there and get to this.
- 23:29State. So some really cool stuff here
- 23:31but that's at proxy and that's how we use it in the real world
- 23:34and correct me if I'm wrong. Adam.
- 23:36But at proxy is for web applications, like for desktop
- 23:40applications that may require a VPN connection to like a
- 23:44database or something like that. This is probably not the
- 23:47solution for you, right? Probably not unless an only you
- 23:51have a scenario where all the communications are over HTTP or
- 23:54https and they don't require authentication.
- 23:58So there is One scenario I've seen where at proxy is used,
- 24:02even for more of a kind of a, I don't want to call it a headless
- 24:04service, but like a service that doesn't have like a web GUI
- 24:08front end. So there's a use case where, if
- 24:10you won't have a certificate server, an end as server and you
- 24:13want to make that internet-facing.
- 24:16So, your mobile device is your iPhone's, your iPad's, your
- 24:19Android devices that are enrolled in InTune, can pull
- 24:22down certificates. You can actually expose an end
- 24:25as server through a proxy and then your mobile devices can It
- 24:29that endo's server even though it's not public facing and you
- 24:32haven't opened any ports to do that.
- 24:34So there's actually a mode with a proxy.
- 24:36Were you say? There is no pre authentication
- 24:38requirements. So I don't have to satisfy like
- 24:40a conditional, access policy with Azure ad to get through it
- 24:43and to get to the service on the back end.
- 24:45So there might be some use cases.
- 24:46For that makes sense, obviously tread lightly there because
- 24:49you're not putting all those hardened conditional access
- 24:52controls on the front end of the application.
- 24:54Now, you really are taking any traffic that says, Hey, I want
- 24:56to get to that thing and say, okay, cool.
- 24:58Pass on through so much. So you have authentication at
- 25:01the app level in those scenarios or either that or nothing
- 25:04sensitive of any kind of being exposed.
- 25:06But there's obviously greater risk with that.
- 25:08So, again, tread lightly but there's use cases where it's
- 25:10needed or it makes sense, right? And so, you did mention that
- 25:13there are scenarios where maybe a proxy may not work.
- 25:17And even for Microsoft, we still have that vpm backup.
- 25:20We do right? Because there's examples like
- 25:22there's a plugin for Excel to access like sales data,
- 25:25reporting data. And you have to be on VPN for
- 25:27that to work as an example. So there's some things that just
- 25:30if they don't have a, you know, a web-based front-end or a web
- 25:33GUI, they're not a good candidate for a proxy, right?
- 25:35So that's a great example and for those things I like the
- 25:39product called Z scale or private access Z.
- 25:42Scalar is a partner of Microsoft's, we don't get paid
- 25:44by them or not sponsored by them, but I have deployed scalar
- 25:47private access in a production environment and I'm familiar
- 25:50with the deployment. So I really like this, they take
- 25:53advantage of this sdp. They're one of the products and
- 25:56vendors that you can buy out there.
- 25:58There's many of them but Take advantage of the micro
- 26:00segmentation that we talked about in this sdp concept.
- 26:04And so very similar to how a proxy works, there's a connector
- 26:07that's deployed on Prem and it's usually an appliance you can
- 26:11deploy a virtually from that. The client is authenticated at
- 26:15the endpoint. Using modern authentication, you
- 26:17can integrate it with all the idps Azure ad OCTA paying
- 26:21whatever it is it supports Sam authentication and from there
- 26:26you define the best way to do it is through Through DNS.
- 26:30So every resource that you trying to get to every
- 26:33application. You're trying to get to should
- 26:34have a DNS attached to. It Network Engineers are very
- 26:38familiar with IP addresses and sometimes get lazy and not what
- 26:42DNS entry to a specific IP address.
- 26:45But in general, the EPA works better with DNS.
- 26:48It can work with IP addresses as well but you can use wild cards.
- 26:51You can use whatever you want but I can Define.
- 26:54If I want to say 8, r dot microsoft.com, that's the
- 26:57application that I want to get to.
- 26:58I can Define And that as access only for certain Security Group
- 27:02for certain user, Z scalar does the front-end authentication
- 27:06through the software, but then of course, the application still
- 27:10has to have the correct. Permissions on the back end, you
- 27:12can do like RDP to a server. You can segment out different
- 27:16ports if you wanted to do that. But the technology that
- 27:19establishes the connection uses this concept, which we really
- 27:23like to. Because if I do an RDP to a
- 27:25specific server, it's going to give me access but it's only
- 27:28going to give me access to to that particular server, right?
- 27:30It doesn't expose the corporate Network to me.
- 27:33So I really like this. I thought it was really easy to
- 27:36implement. It does take a lot of feed and
- 27:38caring because as you discover users are kind of code to a lot
- 27:42of different internal resources and sometimes if you have
- 27:45resources that are externally available or on the internal
- 27:49internet and you're using say a star dot contoso.com as your
- 27:53wild card, it may try to route that traffic internally to try
- 27:57to get to an externally. Resource.
- 28:00So there are some Network considerations that you want to
- 28:02think about when you're doing something like this.
- 28:04Other particular vendors perimeter 81, net motion are two
- 28:08of the top in the industry blast wave which is where the idea for
- 28:12this particular episode came from which I'll link the, I
- 28:15think she is the C. So former red teamer who wrote
- 28:19this blog on blast wave, which is a vendor.
- 28:21She talked about sdp versus VPN, which is essentially where we
- 28:25kind of took this idea and turn it into a podcast episode.
- 28:28So a lot of different Aren't things that you can do.
- 28:30Try to, in my opinion, move away from VPN, because of the
- 28:35vulnerabilities and then try to get into one of these other
- 28:39methods. Like Adam said, a Microsoft, we
- 28:41really don't use VPN all that often.
- 28:43I think I've only connected one time since I've been back at
- 28:48Microsoft since last June and it was for a specific data that I
- 28:51needed. But other than that, everything
- 28:53else has been available now. I have had some instances where
- 28:56it's not available on a non Azure 80, One device because
- 29:00there may be conditional access for a particular application.
- 29:04That is internal that has to be on a joined device or some other
- 29:07conditional access that Microsoft has put in, but it's
- 29:09not from the network standpoint. So any final words on this atom
- 29:13could discussion today and the blastwave blog post that kind of
- 29:19triggered. This conversation today has a
- 29:21really funny headline. It's House of Cards your guide
- 29:24to getting hacked using vpns. So obviously liked the attention
- 29:27getter for sure. But there's There's a lot of
- 29:29good points in there. It's healthy and good as
- 29:32Security Professionals to re-examine our assumptions and
- 29:35why we're still doing things the way we are.
- 29:37And this is why we get better because the attackers, they're
- 29:40so clever. You know, we did an episode
- 29:42several weeks ago, and lapses in some of their really novel
- 29:44techniques, and way they're going about doing their
- 29:46business. And how the heck can we keep up
- 29:48if we're like, if it ain't broke, don't fix it.
- 29:51Oh, it's good enough. Oh, it's fine.
- 29:52We haven't had an issue. Like, that's the kind of
- 29:54complacent attitude that gets us attacked and opens us up to risk
- 29:58and I love taking things like this.
- 30:01Where is VPN the source of all of your security risk?
- 30:05No, no it's not but it is. It definitely an attractive
- 30:08attack surface. Yes.
- 30:10And so that's why this is a fun conversation to have.
- 30:13And ways we can reduce the dependency on it, if not
- 30:16outright eliminate it and some other options to do that.
- 30:19Some of which you may already be licensed for or entitled for
- 30:22today. I think it's a really fun
- 30:23conversation and something our listeners, the Security
- 30:26Professionals, the world can take back to their orgs and
- 30:28maybe go Pilot at proxy or maybe gives these scalar a call check
- 30:32out what they have to offer. There's some better ways to do
- 30:34some of this. So I love discussions like this
- 30:36today where it's something that everyone can relate to.
- 30:39And there's really actionable takeaways from the conversation
- 30:42that our listeners can do try out for themselves and that's
- 30:45our episode for this week. Thanks for listening.
- 30:47As always, our contact information will be in the show
- 30:50notes. If you guys have any questions.
- 30:51Thanks will talk to you guys next week.
- 30:53Thank you for listening to the blue security podcast.
- 30:56Please check out the show notes. Catch up on episodes.
- 30:58You may have missed And subscribe.
- 31:00So you don't miss any future episodes.
- 31:02Find Andy, on Twitter at age 0, 0, and Adam at AJ Brewer.
- 31:06See you in our next episode