On Monday, Oct. 27, KrebsOnSecurity began following up on a tip from a reliable source that an aggressive Russian cybercriminal gang known for deploying ransomware was preparing to disrupt information technology systems at hundreds of hospitals, clinics and medical care facilities across the United States. Today, officials from the FBI and the U.S. Department of…
Blog on beyondcorp (using lots of cloudposse modules as always): https://transcend.io/blog/restrict-access-to-internal-websites-with-beyondcorp
Made it to number 3 on hackernews today which makes me pretty happy
anyone have a quick an easy way to integrate OIDC w/ a static s3 site?
Learn how to configure an Application Load Balancer to authenticate users of your applications using their corporate or social identities before routing requests.
IdP (Cognito, Okta, GSuite, etc.) -> ALB -> CloudFront -> S3
thank you @Andriy Knysh (Cloud Posse)
ALB can authenticate access to all apps on the cluster. Authorization is a completely separate thing. Each app will get a list of actions that the user can perform (a list of roles for example). It’s the app’s task to do the authorization (allow or disallow the user access)
Yeah however it is possible to decouple it so the current app doesn’t need modification?
Sort of instead of using http basic auth, use and IdP at the ALB level
oly if you place some kind of a proxy in front of the app
the proxy will do it
To redirect to the correct branch?
I have been trying this the whole day without much success
Do you know any example or blog source with shows this method?
Or at least the Keywords for Google
there are many ways of doing it
at the cluster/namespace level,
Access to each cluster is controlled by the aws-auth ConfigMap, a file that maps IAM users/roles to Kubernetes RBAC groups
in which case each app must be deployed with k8s RBAC
Amazon Elastic Kubernetes Service (Amazon EKS) authenticates users against IAM before they’re granted access to an EKS cluster. Access to each cluster is controlled by the aws-auth ConfigMap, a file that maps IAM users/roles to Kubernetes RBAC groups. In this guest post from Josh Van Leeuwen from Jetstack, we look at how we can use […]
We currently only authenticate company users with gSuite. Thus the external IdP
@ i had this same exact problem that I wanted to solve. I ended up building a very small oidc reverse proxy that sits as sidecar in the ingress controller pod. So it looks like this: ALB -> oidc sidecar -> ingress controller -> service
Then we set up the oidc sidecar to cache the session as a wildcard cookie (
*.[mydomain.com](http://mydomain.com)) with an expiration set at 1 day.
I can’t remember off the top of my head but I ran into a roadblock attempting to use ALB OIDC for my solution.
@btai thx for the hint. We’ll keep in mind. However we decided now to go for the vpn + internal alb/nlb solution
Thought some might find this interesting. Was just approved for public release.
Got the source url handy?
it was emailed to me. hang on I’ll see if I can find it
oh ok I can search too in that case
yah was only finding the 2019 pre-release myself
Thanks for sharing
Securely connecting your infrastructure to Cloudflare’s network just became easier.
As a provider, IP Whitelisting is still the main way that firewall exceptions are made to us by our customers to access their protected applications. Is there a better solution to this use case than VPN? I’ve looked at Perimeter81, but I am not sold on the whole approach.
This is a rich space these days. Perimeter being just one of dozens.
The zero trust/beyondcorp model is more or less the gold standard today, with various vendors taking their own approach
Last week cloudflare launched “one”
Today HashiCorp announced boundary
What is your wire protocol for your apps?
For this use case, just https
I think that’s part of the problem. Everyone is going to be implementing their flavor of zero-trust and we’ll have to jump through hoops to set up our connectivity as opposed to having a single way of doing it with something universal like IP Whitelisting/VPN client
So with IP whitelisting, is the single way of doing it with Security Groups, NACLs, WAF, ingress, or in the application?
So HTTP is the ideal case and perhaps the most demonstrated case for how to expose apps in the zero trust model with IAP (identity aware proxies). It’s more or less synonymous to VPNs. A VPN will require a user to identify and login. It then creates a point to point connection with the VPN server and sends layer 3 or 4 traffic over it. Then additional firewall rules and subnet routing policies need to be used to protect services from the VPN traffic.
In the IAP model, you have a point to point TCP connection (just like with the VPN). You’re speaking one wire protocol (HTTP), unlike with the VPN it can be anything. You identifying with Single Sign On (e.g. works well with Okta, Gsuite, etc). The proxy connects you to exactly one service, not the entire network so there’s no need for additional firewalling and routing rules.