News for hackers. Stuff that matters.
Re:This is the Way: Invisible Jenkins by belltaco on Wednesday May 25, 2022 @10:43AM (#31505277)
>Everyone that needs to log in to Jenkins runs an OpenZiti tunneler on their computer. Each tunneler has an identity installed on the same computer. The OpenZiti network administrator issues these identities via email or chat in the form of one-time enrollment tokens and assigns role attributes that match up with a service policy. The service policies grant permission for those tunneler identities to use Jenkins. We control the service policies through a web console or CLI. As soon as the policy grants access to an enrolled identity, the tunneler automatically configures a private domain name and IP route to the Jenkins server on that user’s computer.

How do you get everyone to run the tunneler on all the machines that they could use?

For example our company uses subcontractor companies that have their own network admin team that manages their work computer and a strict VPN. Getting an employee to run a tunneler sounds like a non starter.

Re:This is the Way: Invisible Jenkins by dovholuknf on Wednesday May 25, 2022 @10:55AM (#31505449)
> How do you get everyone to run the tunneler on all the machines that they could use?

There's apps in the stores for Android/iOS/MacOS and installers for Windows. It's basically equivalent to running any other "VPN type of client". Wireguard does the same thing (in fact for Windows we used Wintun from Wireguard which was awesome). OpenVPN/Cisco/ZeroTier etc.

OpenZiti is also working on an "install-less" option for users that can't (or don't want to) install apps on their own. It's not ready/rolled out but hopefully it will be soon.

The tunneling apps provide some pretty cool functionality though, most notable is private, authenticated DNS. IF you were running the tunneller you could go to "jenkins.ziti" or whatever made up DNS name you like.

If you can't install a vpn client like that then yah, it'd be a non-starter for accessing jenkins like this.

Re:This is the Way: Invisible Jenkins by LimaBearz on Wednesday May 25, 2022 @01:22PM (#31507570)
You're absolutely right. Its an interesting solution to the problem but I'm not sure what additional benefit this solution bought them that isn't covered by standard paradigm of VPN w/ role based access controls. (at least for user access)

They did however correctly identify the fact Jenkins is pretty much the holy grail of targets for bad actors and hackers. Failing to identify this has caused more then fair share of known hacks (to not Jenkins specifically but any build/automation system that has the required insane levels of access).

A strict VPN locked down and for external ingress access of automated actions a restrictive proxy sitting on the edge significantly lowers the attack surface. Operationally also much cheaper to maintain.

Re:This is the Way: Invisible Jenkins by qrkourier on Wednesday May 25, 2022 @02:11PM (#31508329)
A strict VPN is still a perimeter that trusts addresses which are not really identities.
Re:This is the Way: Invisible Jenkins by PLG88 on Wednesday May 25, 2022 @02:22PM (#31508466)
This speaks to a strong nuance, its not only the closed inbound ports meaning no external network attacks, the strong identity allow the user to be anywhere (home, coffe shop, holiday) rather than tied to an IP while Sec team also get massively visibility of exact who/which identity (rather than IP) is accessing what and when. Its a stronger security, better visibility, greater velocity with higher automation.
Re:This is the Way: Invisible Jenkins by gz5 on Wednesday May 25, 2022 @11:21AM (#31505835)
can be difficult but one key is the openziti tunneler is the opposite of a traditional vpn client - it only intercepts apps by policy, e.g. it would protect the Jenkins traffic, but ignore whatever else the contractor is doing (assuming that is the policy).

there are also gateway models (contractor to gateway leg is left alone; the openziti magic then applies between gateway and Jenkins/your enviro).

are there other good options for this contractor scenario?