SInce Ossec HIDS is GNU Public licensed I think this is not a bad idea to include this in the documentation. The referenced article does describe securing Debian with open source tools and I honestly have seen this documentation for the first time tonight and I think it is very high
quality. The thing that caught my eye is disabling execution for /tmp. I managed thousands of Debian servers at one time and I often found hacker scripts in ./tmp because of a Wordpress exploit. This is because /tmp is
world writable and presumably people who don't know better are unlikely to
look for bad scripts there. While I agree pulling third scripts with curl
is cringe-worthy I think Ossec HIDS is an exception because it is GNU
Public licensed.
Michael Lazin
.. τὸ γὰρ αὐτὸ νοεῖν ἐστίν τε καὶ εἶναι.
On Fri, May 12, 2023 at 3:33 PM Jeffrey Chimene <
[email protected]> wrote:
On 5/12/23 10:16, Jeremy Stanley wrote:
On 2023-05-12 09:53:15 -0700 (-0700), Jeffrey Chimene wrote:
[...]
Agreed. Actually, ossec itself has a debian package, so no ITP for
me :). It made my work significantly easier since the regex
package (pcre2) isn't part of the distro; the absence has a
reason, but it's still an impediment that ossec itself has
addressed with their .deb
I'm not sure that official Debian documentation, particularly security-focused documentation, should recommend that sysadmins
install packages from third party archives. That'll be up to the maintainers of the documentation to decide, of course.
Agreed.
But beyond that...
wget -q -O - https://updates.atomicorp.com/installers/atomic | sudo
bash
[...]
There's a bit of irony in suggesting that security-conscious
sysadmins should download and run arbitrary scripts, much less with
root privileges. `curl|sudo bash` has virtually become a meme unto
itself these days.
Thank you for your concern. I certainly look at the script before
execution. I think that suitable precautions can be written. I'm
installing on several systems, so I like to have such command as a
record. The example command comes from my notebook.
Thanks for your time!
Cheers,
jec
<div dir="ltr">SInce Ossec HIDS is GNU Public licensed I think this is not a bad idea to include this in the documentation. The referenced article does describe securing Debian with open source tools and I honestly have seen this documentation for the
first time tonight and I think it is very high quality. The thing that caught my eye is disabling execution for /tmp. I managed thousands of Debian servers at one time and I often found hacker scripts in ./tmp because of a Wordpress exploit. This
is because /tmp is world writable and presumably people who don't know better are unlikely to look for bad scripts there. While I agree pulling third scripts with curl is cringe-worthy I think Ossec HIDS is an exception because it is GNU Public
licensed. <div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Michael Lazin<br><span style="font-size:16.6px;font-family:serif"></span><div><br></div><div><span style="font-size:16.6px;font-
family:serif"></span><span style="font-size:16.6px;font-family:serif">.. </span><span style="font-size:16.6px;font-family:serif">τὸ </span><span style="font-size:16.6px;font-family:serif">γὰρ</span><span style="font-size:16.6px;font-
family:serif"> αὐτὸ </span><span style="font-size:16.6px;font-family:serif">νοεῖν </span><span style="font-size:16.6px;font-family:serif">ἐστίν </span><span style="font-size:16.6px;font-family:serif">τε </span><span style="font-size:
16.6px;font-family:serif">καὶ </span><span style="font-size:16.6px;font-family:serif">εἶναι</span><span style="font-size:16.6px;font-family:serif">.</span></div><span style="font-size:16.6px;font-family:serif"></span><span style="font-size:16.
6px;font-family:serif"></span><span style="font-size:16.6px;font-family:serif"></span><span style="font-size:16.6px;font-family:serif"></span><span style="font-size:16.6px;font-family:serif"></span><span style="font-size:16.6px;font-family:serif"></span><
span style="font-size:16.6px;font-family:serif"></span><span style="font-size:16.6px;font-family:serif"></span><span style="font-size:16.6px;font-family:serif"></span></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="
gmail_attr">On Fri, May 12, 2023 at 3:33 PM Jeffrey Chimene <<a href="mailto:
[email protected]">
[email protected]</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;
border-left-color:rgb(204,204,204);padding-left:1ex">On 5/12/23 10:16, Jeremy Stanley wrote:<br>
> On 2023-05-12 09:53:15 -0700 (-0700), Jeffrey Chimene wrote:<br>
> [...]<br>
>> Agreed. Actually, ossec itself has a debian package, so no ITP for<br> >> me :). It made my work significantly easier since the regex<br> >> package (pcre2) isn't part of the distro; the absence has a<br> >> reason, but it's still an impediment that ossec itself has<br> >> addressed with their .deb<br>
> I'm not sure that official Debian documentation, particularly<br>
> security-focused documentation, should recommend that sysadmins<br>
> install packages from third party archives. That'll be up to the<br> > maintainers of the documentation to decide, of course.<br>
Agreed.<br>
><br>
> But beyond that...<br>
>> wget -q -O - <a href="
https://updates.atomicorp.com/installers/atomic" rel="noreferrer" target="_blank">
https://updates.atomicorp.com/installers/atomic</a> | sudo bash<br>
> [...]<br>
><br>
> There's a bit of irony in suggesting that security-conscious<br>
> sysadmins should download and run arbitrary scripts, much less with<br> > root privileges. `curl|sudo bash` has virtually become a meme unto<br> > itself these days.<br>
Thank you for your concern. I certainly look at the script before <br> execution. I think that suitable precautions can be written. I'm <br> installing on several systems, so I like to have such command as a <br>
record. The example command comes from my notebook.<br>
Thanks for your time!<br>
Cheers,<br>
jec<br>
</blockquote></div>
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)