News for hackers. Stuff that matters.
Re:NSA Kubernetes Hardening Guidance [pdf] by sound1 on Tuesday August 03, 2021 @05:46PM (#28054634)
I am mostly non technical person but why do we need to resort to firewalls etc. if we can employ UNIX like file permission system for network access? Wouldn't it be awesome if we can allow any installed software to contact ONLY whitelisted domains? Of course this excludes web browsers but you get the idea.

How about our mainstream OSes incorporate that kind of permission system similar to what we have in mobile OSes already have today?

Re:NSA Kubernetes Hardening Guidance [pdf] by bennysaurus on Tuesday August 03, 2021 @05:53PM (#28054708)
It's a fair question and certainly is possible to have firewalls on a per-server basis. We do that for incoming traffic primarily. The catch is if that server itself gets compromised then you can't count on those rules still being enforced.

Having dedicated network appliances acting as firewalls means from a security perspective you need to compromise the local machine and then also compromise a dedicated, hardened external system as well. It vastly ups the difficulty barrier.

Re:NSA Kubernetes Hardening Guidance [pdf] by pavs on Tuesday August 03, 2021 @05:54PM (#28054711)
Firewalls does a lot more than block ports and services.
Re:NSA Kubernetes Hardening Guidance [pdf] by zeroxfe on Tuesday August 03, 2021 @05:50PM (#28054675)
Think of them as a defence-in-depth that protect from accidental misconfiguration, software bugs, local exploits, etc.
Re:NSA Kubernetes Hardening Guidance [pdf] by Meandering on Tuesday August 03, 2021 @05:49PM (#28054665)
SELinux
Re:NSA Kubernetes Hardening Guidance [pdf] by sound1 on Tuesday August 03, 2021 @05:57PM (#28054744)
I didn't know that, learnt somthing today, Thank You!

Again, as a non technical person, why a software needs access to entire internet instead of whitelisted domains specific to its requirements is beyond me, since we already know how UNIX permission system works. Is it so hard to extend that to networks? Especially since everything is file in UNIX? Kindly pardon my ignorance :-)

Re:NSA Kubernetes Hardening Guidance [pdf] by Meandering on Tuesday August 03, 2021 @08:05PM (#28055790)
You are right. Software doesn't need access to everything and it shouldn't. Unfortunately, it is easier on the consumer end to leave software access somewhat "open ended". The domain for updates may change or it may need to connect to different plugin sources. Unnecessary constrictions on a software's ability to function would fuel software issues. So, more sensitive networks will have administrators define these permissions. However, providing constrictive defaults to a regular consumer wouldn't be worth the customer service burden.
Re:NSA Kubernetes Hardening Guidance [pdf] by remram on Tuesday August 03, 2021 @05:50PM (#28054674)
You're describing a firewall? How could it be more "UNIX-like"?