Anyone know of a script or how to make one that can find "abnormal file names" and properties.
I'd like it to search for stuff in /tmp, /dev/shm and some other directories.
It should search for:
.* (dot*) file names and catalogs and some of the most common
names of "hack" scripts eventually ending up in tmp like "bot.txt" and others.
It shoudl also search for files that has execute 755 or 777 properties in these catalogs.
Doing this manually is not so hard but I ahve no idea on how to make a script or bash file doing this instead.
Making it e-mail the results would be nice
I'd like it to search for stuff in /tmp, /dev/shm and some other directories.
It should search for:
.* (dot*) file names and catalogs and some of the most common
names of "hack" scripts eventually ending up in tmp like "bot.txt" and others.
It shoudl also search for files that has execute 755 or 777 properties in these catalogs.
Doing this manually is not so hard but I ahve no idea on how to make a script or bash file doing this instead.
Making it e-mail the results would be nice