by rilita · 11y ago · 0 comments
I would like to point out that any skilled unix developer can create a script in about an hour that can make any set of files appear to have been transferred using USB2.
This isn't really news at all, and I'm kind of surprised Schneier thought it was worthwhile enough to publish it. Look at how incredibly sensationalistic this article is, which Schneier cites as the primary source: http://www.4thmedia.org/2014/12/breaking-we-can-conclusively...
"BREAKING: We Can Conclusively Confirm North Korea Was NOT BEHIND Sony Hack", seriously?
I understand he just wanted to aggregate all the updates and commentary since his last post, but this is practically nothing and is just about bordering on FUD (I'd say "reverse-FUD" but that's not how it works, just like "reverse-racism" doesn't exist).
So far, no 3rd party has provided any strong evidence showing that North Korea either was or wasn't involved.
http://balyozdavasivegercekler.com/2012/10/04/dani-rodrik-di...
These featured files presented as dated 2003 even though internal evidence (including references to software and fonts) showed that they could only have been created much later.
Also, you can likely detect what OS was used ( well Linux or Windows ) due to differences in copy order as well as speed.
In theory such analysis can be done on the Sony data and tell us something more interesting than is known so far.
I don't think there are any existing tools that analyze date stamps and determine anything quite on this level... Purely because it is rare to have such a huge such of files.
I messed up once and set the date/times into the future by a bit and got a bug filed against my project when someone tried to merge my software into a mainline linux distro and had problems with the future date/times.
I don't know how many people have used this information for malicious purposes, but I can guarantee that I always think about it in any hacks I've been involved in.
Do note that file creation time in unix requires kernel level access and quite a bit of low level filesystem knowledge to truly forge. The easily changeable date/time is only access and modify times. If you are going to forge this data to remove tracks from real systems you will need to root the machine completely first. It's nontrivial.
I think the easiest method would be to simply generate a bunch of files, do copies, and compare the datetime stamps with the theoretical values they should have. Once you can model the discrepancies generated in real life you can fake them.
You do make a good point that it isn't really mentioned in cybercrime books that I know of, but it seems like an obvious thing. Would be a fun chunk of code to publish on github; I'll look into it.
Timestamps are a mess on unix. POSIX doesn't support creation time but instead has ctime (change time). Newer filesystems add crtime but common utilities don't ever display crtime. Also partitions sometimes are mounted to not update atime for performance reasons.
crtime (and ctime) can be modified with root privileges without kernel access with debugfs.
Or you can go the ugly hackish way: date -s $forgedate && touch tmp && date -s $realdate && cat original >> tmp && mv tmp original
Neither are elegant, but certainly not hard.
What's really hard to forensically cover up is the order of inodes on a filesystem. That file with forged timestamps to 2012 will still have an inode that looks much more recent.