Home page logo

basics logo Security Basics mailing list archives

How to secure /tmp and /dev/shm at linux?
From: "Monty Ree" <chulmin2 () hotmail com>
Date: Tue, 14 Jun 2005 05:11:58 +0000

Hello, all.

I have found that lots of attackers using /tmp or /dev/shm to save and execute backdoor.
So I would like to secure this directory..

I opened /etc/fstab file and added noexec, nosuid option and remounted.

Additionally, how to about ro(read only) option at /dev/shm?
file creation is required at /dev/shm? I didn't see any files at this directory. So I think that ro option at this partition is good way against script kid.

Which method or solution is recommendable to secure /tmp or /dev/shm?

Thanks in advance.

전세계인이 함께하는 웹 메일 서비스인 MSN Hotmail을 만나 보세요. http://loginnet.passport.com/login.srf?id=2&svc=mail&cbid=24325&msppjph=1&lc=1042

  By Date           By Thread  

Current thread:
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]