Allowlisting some Bash commands is often the same as allowlisting all
21–27 of 27 posts
Re: Allowlisting some Bash commands is often the same as allowlisting all
#22Re: Allowlisting some Bash commands is often the same as allowlisting all
#23Same thing for allowing specific sudo-commands. Many tools (like vim or the tools mentioned in the article) would have the same problem when allowing them to be run with root privileges.
=> https://gtfobins.org/
Namely, CAP_DAC_READ_SEARCH [0] and related systemd settings. The only problem is that it inhibits using a convenience/wrapper script.
[0] https://www.man7.org/linux/man-pages/man7/capabilities.7.htm...
Re: Allowlisting some Bash commands is often the same as allowlisting all
#24Re: Allowlisting some Bash commands is often the same as allowlisting all
#25Not entirely related to the content but man 'allowlisting' reads so badly. We should just out of ease of reading return to whitelisting.
Re: Allowlisting some Bash commands is often the same as allowlisting all
#26everything is a container these days, and yet somehow collective-we don't manage to have AI agents run in a container layer on top of our current work, so we can later commit or rollback?
What do you mean?! Where? I would claim otherwise: 99% of software is not in the containers. Like 100% windows or debian software
Re: Allowlisting some Bash commands is often the same as allowlisting all
#27Not entirely related to the content but man 'allowlisting' reads so badly. We should just out of ease of reading return to whitelisting.
I'm trying not to get nerdsniped, but in the realm of subjective pragmatics, I personally find `allowlisting` to be drastically more clear.