--
You received this message because you are subscribed to the Google Groups "Logog Development" group.
To view this discussion on the web visit https://groups.google.com/d/msg/logog-devel/-/WbqOK6pbIAYJ.
To post to this group, send email to logog...@googlegroups.com.
To unsubscribe from this group, send email to logog-devel...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/logog-devel?hl=en.
jwb
To unsubscribe from this group, send email to logog-devel+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/logog-devel?hl=en.
I'm sure you thought of this but a bunch of warning bells go off in my
mind when you explain your log file anti-tampering strategy. In
general, if it looks like encryption and seems like encryption and
it's not encryption, it is dangerous (it can be hacked). Of course I
don't know your application... I just wonder what kind of application
might have trivial log file tampering as a problem.
jwb
On Wed, Mar 21, 2012 at 8:32 PM, Guillaume Seguin
>>> logog-devel...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/logog-devel?hl=en.
>>
>>
>>
>>
>> --
>> ---
>>
>> John Byrd
>> Gigantic Software
>> 2102 Business Center Drive
>> Suite 210-D
>> Irvine, CA 92612-1001
>> http://www.giganticsoftware.com
>> T: (949) 892-3526 F: (206) 309-0850
>
> --
> You received this message because you are subscribed to the Google Groups
> "Logog Development" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/logog-devel/-/m9J5kXnJ6ewJ.
>
> To post to this group, send email to logog...@googlegroups.com.
> To unsubscribe from this group, send email to
> logog-devel...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/logog-devel?hl=en.
>>
>>
>>
>>
>> --
>> ---
>>
>> John Byrd
>> Gigantic Software
>> 2102 Business Center Drive
>> Suite 210-D
>> Irvine, CA 92612-1001
>> http://www.giganticsoftware.com
>> T: (949) 892-3526 F: (206) 309-0850
>
> --
> You received this message because you are subscribed to the Google Groups
> "Logog Development" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/logog-devel/-/m9J5kXnJ6ewJ.
>
> To post to this group, send email to logog...@googlegroups.com.
> To unsubscribe from this group, send email to
> For more options, visit this group at
> http://groups.google.com/group/logog-devel?hl=en.
I think the only way to truly guarantee that any digital object has
not been tampered with is to sign the entire file using public-key
crypto. Anything else is security by obscurity, and that will not
stop a malicious user. For example, you could rearrange lines in a
logog log file and your tampering algorithm wouldn't detect that fact.
(Recall that ( a ^ b ) ^ c == a ^ (b ^ c).)
If you really really really must prevent tampering then consider
running pgp as a subprocess once your log file is written. (see the
command line options -sta) Dealing with signing, keys, revocations,
file verification and all that is an exciting set of problems, but pgp
has solved them all already.
Posix platforms don't use .txt suffixes, so I'm not sure that the
renumbering algorithm will work as specified -- maybe we have the user
pass in a file name in the form output%d.txt, where we replace the %d
with sprintf, and if there is no %d in the string, we append the
number.
jwb
On Mon, Mar 26, 2012 at 7:09 AM, Guillaume Seguin
>> >>> logog-devel...@googlegroups.com.
>> >>> For more options, visit this group at
>> >>> http://groups.google.com/group/logog-devel?hl=en.
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> ---
>> >>
>> >> John Byrd
>> >> Gigantic Software
>> >> 2102 Business Center Drive
>> >> Suite 210-D
>> >> Irvine, CA 92612-1001
>> >> http://www.giganticsoftware.com
>> >> T: (949) 892-3526 F: (206) 309-0850
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Logog Development" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/logog-devel/-/m9J5kXnJ6ewJ.
>> >
>> > To post to this group, send email to logog...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > logog-devel...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/logog-devel?hl=en.
>>
>> --
>> ---
>>
>> John Byrd
>> Gigantic Software
>> 2102 Business Center Drive
>> Suite 210-D
>> Irvine, CA 92612-1001
>> http://www.giganticsoftware.com
>> T: (949) 892-3526 F: (206) 309-0850
>
> --
> You received this message because you are subscribed to the Google Groups
> "Logog Development" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/logog-devel/-/tqzeOD54fvQJ.
>
> To post to this group, send email to logog...@googlegroups.com.
> To unsubscribe from this group, send email to
> logog-devel...@googlegroups.com.
h[n] = sha1(log_line) //compute the hash of the current lineh[n] ^= h[n-1] //XOR with the previous hash (wich was encrypted in the previous pass)h[n] = aes(h[n]) //Encrypt the result
>> >>> For more options, visit this group at
>> >>> http://groups.google.com/group/logog-devel?hl=en.
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> ---
>> >>
>> >> John Byrd
>> >> Gigantic Software
>> >> 2102 Business Center Drive
>> >> Suite 210-D
>> >> Irvine, CA 92612-1001
>> >> http://www.giganticsoftware.com
>> >> T: (949) 892-3526 F: (206) 309-0850
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Logog Development" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/logog-devel/-/m9J5kXnJ6ewJ.
>> >
>> > To post to this group, send email to logog...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > For more options, visit this group at
>> > http://groups.google.com/group/logog-devel?hl=en.
>>
>> --
>> ---
>>
>> John Byrd
>> Gigantic Software
>> 2102 Business Center Drive
>> Suite 210-D
>> Irvine, CA 92612-1001
>> http://www.giganticsoftware.com
>> T: (949) 892-3526 F: (206) 309-0850
>
> --
> You received this message because you are subscribed to the Google Groups
> "Logog Development" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/logog-devel/-/tqzeOD54fvQJ.
>
> To post to this group, send email to logog...@googlegroups.com.
> To unsubscribe from this group, send email to
> For more options, visit this group at
> http://groups.google.com/group/logog-devel?hl=en.
And since you were good enough to ask me the question about log file
tamper protection, I'll answer you as politely and as completely as I
can... IMNSHO I do think this problem is much harder than you might
think it is.
I glanced through the paper you hyperlinked. The paper clearly
describes that during initialization time, you need to set up a couple
symmetric keys to seed the first line of the generator and then store
the keys on an uncompromised machine. Furthermore, the scheme only
protects against reordering or deletion of intermediate log file
entries, not against deletion of the end of the log file.
Furthermore, you still gotta write a log file verifier that makes sure
all the log entries were correct. Furthermore, the scheme does not
protect against a rogue program logging spurious data after a
compromise of the target system.
As politely as possible I would like to caution you against trying to
implement this functionality in a logger unless you know EXACTLY what
you are doing. I am not convinced that a couple dudes from UC Irvine
writing an un-peer reviewed paper know exactly what they're doing.
There are myriad ways to implement a cryptographic function
incorrectly if you don't know EXACTLY what you're doing. And it is
probably better to avoid the appearance of security where it does not
exist at the level suggested.
So I hope I scared you a little :) and I wish you best of success on
your project!
jwb
On Mon, Mar 26, 2012 at 7:53 PM, Guillaume Seguin
>> >> >>> logog-devel...@googlegroups.com.
>> >> >>> For more options, visit this group at
>> >> >>> http://groups.google.com/group/logog-devel?hl=en.
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> --
>> >> >> ---
>> >> >>
>> >> >> John Byrd
>> >> >> Gigantic Software
>> >> >> 2102 Business Center Drive
>> >> >> Suite 210-D
>> >> >> Irvine, CA 92612-1001
>> >> >> http://www.giganticsoftware.com
>> >> >> T: (949) 892-3526 F: (206) 309-0850
>> >> >
>> >> > --
>> >> > You received this message because you are subscribed to the Google
>> >> > Groups
>> >> > "Logog Development" group.
>> >> > To view this discussion on the web visit
>> >> > https://groups.google.com/d/msg/logog-devel/-/m9J5kXnJ6ewJ.
>> >> >
>> >> > To post to this group, send email to logog...@googlegroups.com.
>> >> > To unsubscribe from this group, send email to
>> >> > logog-devel...@googlegroups.com.
>> >> > For more options, visit this group at
>> >> > http://groups.google.com/group/logog-devel?hl=en.
>> >>
>> >> --
>> >> ---
>> >>
>> >> John Byrd
>> >> Gigantic Software
>> >> 2102 Business Center Drive
>> >> Suite 210-D
>> >> Irvine, CA 92612-1001
>> >> http://www.giganticsoftware.com
>> >> T: (949) 892-3526 F: (206) 309-0850
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups
>> > "Logog Development" group.
>> > To view this discussion on the web visit
>> > https://groups.google.com/d/msg/logog-devel/-/tqzeOD54fvQJ.
>> >
>> > To post to this group, send email to logog...@googlegroups.com.
>> > To unsubscribe from this group, send email to
>> > logog-devel...@googlegroups.com.
>> > For more options, visit this group at
>> > http://groups.google.com/group/logog-devel?hl=en.
>>
>> --
>> ---
>>
>> John Byrd
>> Gigantic Software
>> 2102 Business Center Drive
>> Suite 210-D
>> Irvine, CA 92612-1001
>> http://www.giganticsoftware.com
>> T: (949) 892-3526 F: (206) 309-0850
>
> --
> You received this message because you are subscribed to the Google Groups
> "Logog Development" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/logog-devel/-/6zsh91MGkE4J.
>
> To post to this group, send email to logog...@googlegroups.com.
> To unsubscribe from this group, send email to
> logog-devel...@googlegroups.com.