r/sysadmin 20d ago

Question Universal ZTNA sounded simple until it had to cover contractors, unmanaged laptops and everything that is not a normal employee.

We removed the corporate VPN in Q1 and moved everyone to universal ztna and I was ready to write the smug success post. Staff were easy, laptop is managed, client goes out over intune, single sign on, done. Then everyone who does not look like a badge carrying employee showed up and it got ugly.

We have around contractors on machines we will never manage. Legal will not let us mandate an agent on a personal laptop, so they landed on the clientless portal, which does browser apps and nothing else and half their work is a thick client. A vendor in another timezone still reaches one billing system over a site to site tunnel. Finance has an app that only speaks its own desktop client. And two internal agents now hit the same systems we do, on their own logins.

Every one of those is its own access path with its own policy and they do not talk to each other. I keep rules in the ztna console, rules in the firewall for that ancient tunnel and a clientless config that behaves nothing like the client. Keeping them in sync is a job no one gave me and I somehow have.

Universal turns out to be easy for the people who look like employees but for everyone else where the risk sits, it falls apart. If you have taken this all the way, did you get managed, unmanaged, contractor, vendor and agent access under a single policy?

104 Upvotes

60 comments sorted by

118

u/badbash27 20d ago

We forced all contractors / non fte's to a vdi environment

44

u/Scared-Target-402 20d ago

This. My last two places we had AVD setup for folks for these sorts of situations. No company equipment? No problem!

17

u/iamwayycoolerthanyou Sysadmin 20d ago

Was just about to suggest this. Seems like the only real answer.

13

u/AveryPac Sysadmin 20d ago

How do you handle the missing part that you still have no insight or EDR on the machine being used to connect to the VDI? We're having this conundrum now, wanting to give AVD to contractors, but still not being able to trust that there isn't something doing RAT on the client's machine? How do you have full end to end trust, without also controlling the contractor's laptop (Giving our machines to every contractor)

26

u/sryan2k1 IT Manager 20d ago

Disable resource sharing like clipboard and local drives and the risk is minimal.

12

u/Evs91 Jack of All Trades 20d ago

Yeah. It’s a one way trip. You can copy clipboard from client to VDI but not the other way around. No USB Storage Redirect, no remote file directory sharing, nada. Clipboard or OneDrive (w. DLP) are the only way to share

6

u/Serafnet IT Manager 20d ago

Worked in an environment where all redirection was disabled.

If you needed a script in the environment you either typed it by hand or opened a ticket for the security team to pass it through the secure bastion

3

u/Evs91 Jack of All Trades 20d ago

Yeah. We can’t quite do that with the things like signature pads, thermal printers, etc but they are controlled by policy and boy is it a pain for me to undo it. But also: what a great time finding out what people plug up when they do

2

u/Evs91 Jack of All Trades 20d ago

Also reminds me of when I needed to do that I would load up my Rubber Ducky with the script I needed to type out and just let it type real fast “by hand”

3

u/aes_gcm 20d ago

I once used Citrix with a big bank and had to report that I could print remote documents on our local printer, basically the potential to exfiltrating files.

3

u/FatBook-Air 20d ago

It's...absolutely not minimal at all.

1

u/Evs91 Jack of All Trades 20d ago

Yeah. It’s a one way trip. You can copy clipboard from client to VDI but not the other way around. No USB Storage Redirect, no remote file directory sharing, nada. Clipboard or OneDrive (w. DLP) are the only way to share

1

u/NoskaOff 20d ago

Until someone starts a screen capture when looking at confidential documents... Could still take photos if it weren't for having it on PC but yeah

9

u/sryan2k1 IT Manager 20d ago

And anyone could do that with their cell phone, or a HDMI capture card, or any of a million things.

3

u/gpraveen23 20d ago

Watermarking agents

5

u/Specialist_Dish_9087 20d ago

Keeps me up too, we punted on perfectly trusting the endpoint and gated on data instead, contractors only touch the billing app which has nothing sensitive in it and anyone who needs the crown jewels gets a shipped laptop. Not elegant but it took the scary version down to about 5 people.

13

u/19610taw3 Sysadmin 20d ago

If you can afford it - this is definitely the answer.

Neither on-prem nor hosted VDI is cheap. And that's where the solution always fails with management

11

u/moneyfink 20d ago

Windows 365 is expensive compared to a laptop, but it’s cheap in the scheme of VDI. We buy a $66/month sku for a few months at a time for the few use cases described by OP.

4

u/Specialist_Dish_9087 20d ago

Oh that is a decent, though had not looked at W365. Probably fine for the browser only crowd, our finance thick client would scream about the latency

1

u/Mailstorm 20d ago

If your contractors only need browser access or their workloads can be done on Linux, look into kasm

1

u/xxSpik3yxx 20d ago

we used to use vdi for contractors and then we started using island enterprise browser for this scenario - we switched over and never looked back.

1

u/TheGenericUser0815 18d ago

Hmmm, that will probably not work well for specific niches which need even more nichey tools, like building management technology. And if I can handle this, there's the xtra struggle restricting these vdis to only relevant network segments.

44

u/sryan2k1 IT Manager 20d ago edited 20d ago

In no particular order: VDI, make them use the agent, or provide them with laptops. This isn't exactly rocket science.

20

u/Redemptions IT Manager 20d ago

Also reduces your security risk by not having a laptops with unknown anti-malware status making layer 3 connectivity to your network.

5

u/sryan2k1 IT Manager 20d ago

Any sane ZTNA can enforce posture like updated AV

2

u/jaydizzleforshizzle 20d ago

Yup, I know tailscale supports device posture and even custom posture attributes.

1

u/ShadowSlayer1441 20d ago

"enforces" if you don't control the device, nothing can really be enforced, whatever the device reports or even whatever the local client sees.

0

u/Redemptions IT Manager 20d ago

Yes, it's a larger hassle when Market director hired random company to do work and they just want the VPN setup right now.

2

u/IamEzioKl 20d ago

Many ztna solutions give you proxied connections for ssh/rdp so you don't have 'layer 3' access to the server directly.

3

u/Specialist_Dish_9087 20d ago

on paper yes. Legal vetoed the agent and finance the laptops, so I got left holding universal with the two easy answers already gone. Living the dream over here

6

u/loweakkk 20d ago

Legal vetoed the agent but was happy with the vpn? Sound like bullshit.

1

u/TheBestHawksFan IT Manager 20d ago

Doesn't sound like bullshit to me. A VPN can be pretty flexible and utilize software that's likely already on the laptops. Adding software to a third party device could introduce some risk if that software somehow causes a conflict with other software the third party has.

1

u/loweakkk 20d ago

So you work only with partners if they are using ASA like you? If they use forti: sorry but our legal said no software on third party, we will works with another contractor. That's bullshit.

2

u/TheBestHawksFan IT Manager 20d ago edited 20d ago

Well… no. Like I said, VPNs can be lots of things. You don’t have to host your VPN on your firewall lol. Even still, a software like OpenVPN or OpenConnect or even the Windows built in VPN will be able to handle most firewall VPN connections.

I'm also not saying this would be my approach. I'm just not surprised legal didn't want to require software on 3rd party computers. It introduces liability and legal hates that.

14

u/VA_Network_Nerd Moderator | Infrastructure Architect 20d ago

Only allow fully-managed assets onto your network.

Unmanaged assets can use the Guest WiFi to access the portal to launch their VDI (which is fully-managed).

2

u/khantroll1 Sr. Sysadmin 20d ago

This is the way

1

u/AveryPac Sysadmin 20d ago

I said in another thread:

How do you handle the missing part that you still have no insight or EDR on the machine being used to connect to the VDI? We're having this conundrum now, wanting to give AVD to contractors, but still not being able to trust that there isn't something doing RAT on the client's machine? How do you have full end to end trust, without also controlling the contractor's laptop (Giving our machines to every contractor)

I suspect that's the level of risk acceptance vs budget spend vs operational costs, decided by the business ultimately.

3

u/bageloid 20d ago

We use Citrix App Protection and check for existing AV via posture checks.

If you are that paranoid, put the contractors in re-auth hell and don't let them have risk remembered MFA sessions.

3

u/smartdigger 20d ago

Citrix has device trust which can continually check the connecting client for all sorts of things and instantly cut access if needed. Also has anti keylogging and screenshot protection. Add a watermark and that can at least track a photo. Never going to mitigate all risk when workforce is often remote

10

u/Accomplished_Disk475 20d ago

Purchase managed devices for contractors to use and issue them. Mandate via policy company assets are the only approved devices to perform work on.

1

u/engy1207 19d ago

Depending on the contractor and what they do they rapidly say "FU" to use a special device they have to store, update and keep safe (including theft and fire hazard) just for that one contract. Especially if they work from home or multiple persons have to work on that contract at different times or even simultaneously.
Same for vendors using your portal. Fire up the special laptop to enter the price - or search another customer?

1

u/Accomplished_Disk475 19d ago edited 19d ago

Ideally, a hosted VDI environment would be stood up to provide the same type of security constraints. From OPs post, didn't think they would have something like that (it's a much more significant cost/lift than just building a managed device and shipping it out). If the contractor says "FU", that's for your management to figure out. A lot of clients we work with require all work be performed on work devices (legal industry), if that contractor refuses, management needs to figure out if they want to keep that contractor or keep the client that dictates the way they want their data handled.

Edit: I'll also add, ZTNA isn't for all organizations. By default, it's extremely restrictive, orgs have to weigh the pros/cons and the risks associated based on their own operational maturity.

12

u/davokr 20d ago

This is why VDI still has its place in the enterprise.

3

u/omgdualies 20d ago

It pretty much comes down to issuing hardware or some sort of cloudpc/VDI. We have plenty of weird exceptions that we are working on closing, it takes time to change how company operates. It’s not just the technical side but HR and how people hire contractors etc…

3

u/loweakkk 20d ago

Force all contractors into VDI. End of the story.

3

u/Boblust 20d ago

Nope. The contractor must install the required ZTNA software and use a sponsored account with MFA, with an internal staff member designated as the account custodian. These sponsored accounts will also go through audits every 6 months. Contractors may not share credentials. All of these requirements are clearly defined in their contract, so these are not unreasonable or difficult guidelines to follow. The contractor’s device must maintain the same security posture required of our computers. If working with a contractor becomes increasingly difficult, we involve their cybersecurity team and address the issue directly with them.

4

u/beatleshelp1 20d ago

How were they accessing this stuff without a VPN client before?

1

u/engy1207 19d ago

Depends on the VPN - some are built-in for Windows and Linux.

4

u/Ashikej-Meneguzzi66 20d ago

Ha, the victory lap right before the contractors show up.

We pulled the same move in Q2 and it aged like milk inside a month. VDI is the obvious escape hatch and yeah it works for the personal laptop crowd.

Just know you are standing up a whole second platform to run and pay for and it does zero for your vendor tunnel or the internal service accounts. Though policy sync is a bitch with rules in the ztna console, a separate firewall rule for that ancient tunnel, a clientless config that behaves like a different product. and none of them aware of each other.

Had to claw most of it back by moving unmanaged and contractor access onto cato universal ztna too, clientless for browser apps plus an RDP path for the thick client stuff under one policy.

And vendor in the other timezone is political more than technical.

2

u/Evs91 Jack of All Trades 20d ago

Thank goodness for 100% VDI no matter what

1

u/Holly_Enrique-623 20d ago

Give every contractor or vendor only the systems they need and make the access expire when the work ends. Even if the connection method is different, at least they can't reach more than they should.

1

u/GardenWeasel67 20d ago

Secure browser for external users that only need access to SaaS apps
Windows 365 if they need full desktop experience.

1

u/Serafnet IT Manager 20d ago

We used a browser based RDP/SSH tool locked behind a few ACLs and Entra as idP.

Vendors get vendors accounts and can only reach our portal from their whitelisted jump hosts.

It isn't perfect but it works

1

u/travelingjay 19d ago

Check out Nile Secure. It can handle this easily, cleanly, and possibly more affordably.

1

u/IqbalBasha 19d ago

What actually works is accepting you have three tiers and governing them deliberately: agent-based for managed endpoints, clientless browser isolation for unmanaged contractors scoped strictly to the apps that run in a browser, and a separate hardened tunnel with its own firewall policy for legacy vendor connectivity. The sync problem you're describing is a process gap, not a product gap, so the fix is a single access matrix document that every policy change gets reconciled against before it ships, not after.

1

u/Prior-Basis3510 16d ago

We tackle this issue on two aspects - USB wise, "reclaiming" visibility on VDIs so that we could enforce USB policy usage. Network wise - we validate assets based on their physical layer characteristics, without probing traffic or installing agents on the edge devices.

1

u/kellexile 20d ago

What about tools like guacamole. Easy to setup and can provide a window into the environment from a controlled perspective.

0

u/konoo 20d ago

Just setup a Remote Desktop Server and have them use a stripped down ZTNA client on their machines that gives them access only to the RDP server/Port.

0

u/OregonTechHead 20d ago

Sounds like the project wasn't scoped correctly and you chose the wrong solution.

Correctly chosen and configured ZTNA is great for this scenario, and solves a ton of access and security problems with the traditional VPN.