making the logs temper evident through git like hash chains
making the logs temper evident through git like hash chains
Posted Nov 19, 2011 0:32 UTC (Sat) by dlang (guest, #313)In reply to: making the logs temper evident through git like hash chains by scottt
Parent article: The Journal - a proposed syslog replacement
that takes a significant amount of time with a large logfile.
If you don't check every single hash, then the attacker deletes one entry and then two entries later the hash will compute
there's also nothing preventing the attacker from re-writing the entire file to have consistent hashes, but with missing entries (git allows this as well,I believe it's the filter-branch option)
If you have the ability to send stuff elsewhere to a secure location then you don't need this. If you don't have this ability, then this new stuff doesn't do you any good.
tripwire, ossec and equivalent already have the ability to learn that a file is a logfile and complain if an existing part of the file is modified between scans. There is a window of vulnerability in that they don't check after each line is written, but if you run them frequently you get something that's at least 90% as good, without having to throw out all the existing logging related tools in the process.