Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: Linux hardening |
|---|---|
| Date: | Tue, 23 Aug 2005 09:47:58 +0800 |
hi, We had some similar cases before which the hackers installed irc bot to /tmp. Besides /tmp, "/var/tmp" and any other globally writable directory are possible target for the intruders to download their gadget. I believe the root for the intrusion is very likely the web applications running on your server, especially those cgi scripts, be it php or perl. Also check the user rights of your web directories. Besides disable wget and curl, you should also disable local compilers (c and c++ at least) or limit it to root user only. Check your apache http access and error logs, you will find a lot of clues and even the specific vulnerable scripts. regards, Rick On 8/23/05, AragonX <aragonx@dcsnow.com> wrote:
<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.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Linux hardening, Jon Hart |
|---|---|
| Next by Date: | linux password cracking tools, paavan shah |
| Previous by Thread: | Re: Linux hardening, AragonX |
| Next by Thread: | Re: Linux hardening, paavan shah |
| Indexes: | [Date] [Thread] [Top] [All Lists] |