Re: Preventing curl | bash

Tracy Reed <[email protected]>
Newsgroups gmane.linux.redhat.fedora.selinux
Message-ID <[email protected]>
On Tue, Oct 16, 2018 at 02:15:39AM PDT, Sheogorath spake thusly:
> I wonder if there is a way to prevent a direct piping from curl to bash
> using SELinux.

No good way to prevent it. If they can install software they can do it.
Don't install curl. Monitor for process executions. I have auditd log
execs. Anytime someone runs curl or wget in our production environment
something's up.  

-- 
Tracy Reed
http://tracyreed.org
Digital signature attached for your safety.

_______________________________________________
selinux mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/[email protected]
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlvG7xsACgkQBhSTPg0d/nTJyACdGdVjAyYm6zCfJ/NbEfxAScz4
XakAnjqFoiRlzoneu3RYw/sUwwMP1dz3
=JfKp
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.