Generic.Forensic.Timeline
Generic.Forensic.Timeline
Creates a bodyfile-format timeline of files matching a glob pattern.
We currently do not calculate the MD5 hash because that is a relatively resource-expensive operation.
name: Generic.Forensic.Timeline
description: |
Creates a bodyfile-format timeline of files matching a glob pattern.
We currently do not calculate the MD5 hash because that is a
relatively resource-expensive operation.
parameters:
- name: timelineGlob
default: C:\Users\**
- name: timelineAccessor
default: file
sources:
# For NTFS accessors we write the MFT id as the inode. On windows
# the file accessor does not give the inode at all.
- precondition:
SELECT OS From info() where OS = 'windows' AND timelineAccessor = 'ntfs'
query: |
SELECT 0 AS Md5, OSPath,
Sys.mft as Inode,
Mode.String AS Mode, 0 as Uid, 0 as Gid, Size,
Atime, Mtime, Ctime
FROM glob(globs=timelineGlob, accessor=timelineAccessor)
# For linux we can get the Inode from Sys.Ino
- precondition:
SELECT * From scope() where timelineAccessor = 'file'
query: |
SELECT 0 AS Md5, OSPath,
Sys.Ino as Inode,
Mode.String AS Mode, Sys.Uid AS Uid, Sys.Gid AS Gid, Size,
Atime, Mtime, Ctime
FROM glob(globs=timelineGlob, accessor=timelineAccessor)