Re: Linux hardening
"AragonX" <[email protected]>
| Newsgroups | gmane.comp.security.linux |
|---|---|
| Message-ID | <[email protected]> |
<quote who="Sean Finkel"> > I would recommend also securing /tmp (and /var/tmp). Mounting it noexec > and nosuid is a good step to take. As well, I modified my local wget and > curl programs to *not* download to /tmp or /var/tmp, as no legitimate > use for the program (on my servers) will be downloading files to these > locations. As well, these two programs are commonly used in web script > attacks to retrieve a remote file and execute it. Thank you for the reply. I believe this is exactly what happened to me. I found some binaries in the /tmp directory. > As well, install and run regularly (via cron) chkrootkit and rootkit > hunter. You should not rely solely on these programs, but they provide a > nice check that can assist you in finding some of the more common and > known intrusions/rootkits. I have chkrootkit but did not know about rootkit hunter. Thank you again. I also have AIDE and Snort setup on this machine.