News for hackers. Stuff that matters.
Re:Inside Shellshock: How hackers are using it to exploit sy... by segmondy on Wednesday October 01, 2014 @12:29AM (#8392826)
That /^cleanlogs/ just made me cringe. Holy crap.
Re:Inside Shellshock: How hackers are using it to exploit sy... by unfamiliar on Wednesday October 01, 2014 @03:30AM (#8393226)
I feel like there should be some way to verify that logs have not been tampered with. For example, including a checksum of the file up until that point on each line. Unfortunately they could just be rewritten after the log has changed. The only real solution I can see is a dedicated logging server, giving true write-only or append-only access.
Re:Inside Shellshock: How hackers are using it to exploit sy... by segmondy on Wednesday October 01, 2014 @11:46AM (#8395352)
As far back as the 90's, I remember the log cleaners would only clean what they touched, so say utmp, read the structure and find all the time the user logged in and remove only this records. This one is wiping everything, you will know your logs have been tampered with, you won't have any logs. lol
Re:Inside Shellshock: How hackers are using it to exploit sy... by fragmede on Wednesday October 01, 2014 @11:39AM (#8395295)
> The only real solution I can see is a dedicated logging server, giving true write-only or append-only access.

Yup. It's not that hard to setup, and while running it in a VM isn't as secure as can be, it's still a step in the right direction.

Re:Inside Shellshock: How hackers are using it to exploit sy... by eeZi on Wednesday October 01, 2014 @05:51AM (#8393562)
systemd's journal does this:

https://lwn.net/Articles/512895/

But only every ~15 minutes or so.

Re:Inside Shellshock: How hackers are using it to exploit sy... by yeahforbes on Wednesday October 01, 2014 @12:44AM (#8392874)
Yeah, the entire script is horrifying. It's been a long time since I've seen malware source, especially targeting *nix.
Re:Inside Shellshock: How hackers are using it to exploit sy... by mturmon on Wednesday October 01, 2014 @12:36PM (#8395762)
Yes, among other lines:

   system 'find / -name *.bash_history -exec rm -rf {} \;';
   system 'find / -name "log*" -exec rm -rf {} \;';
   system 'find / -name *.log -exec rm -rf {} \;';
Not very subtle.