Dating evidence
Electronic timestamps explained
Short answer
- File times in NIST guidance
- Modification, access and creation times 1
- Copy effect
- Creation time becomes the time of copying 1
- Internet timestamp format
- RFC 3339, July 2002 2
- Trusted time-stamping
- RFC 3161 Time-Stamp Protocol, August 2001 3
- India clock rule
- Sync to NIC or NPL time servers, CERT-In, 28 April 2022 4
- India log retention
- Rolling 180 days 4
Three kinds of file time
NIST Special Publication 800-86, Guide to Integrating Forensic Techniques into Incident Response, describes three file times. Modification time is the last time a file was changed in any way. Access time is the last time any access was performed on a file. Creation time is the time and date the file was created 1.
Systems differ. NIST says Windows systems retain the last modified time, last access time and creation time. UNIX systems keep modification, inode change and access times 1.
Why a file time can mislead
NIST advises that where an analyst needs an accurate timeline of events, the file times should be preserved. It recommends bit stream imaging over some logical backup tools, which may alter creation times when data is copied 1.
- Copying changes creation time. NIST says that when a file is copied to a system, the creation time becomes the time it was copied. The modification time stays the same 1.
- The clock may be wrong. NIST says the computer clock may be incorrect or may not have been synchronised regularly with an authoritative time source 1.
- Detail may be missing, such as omitted seconds or minutes 1.
- An attacker may have altered the recorded file times 1.
Time zones and UTC in records
RFC 3339, Date and Time on the Internet: Timestamps, is a profile of ISO 8601 for Internet protocols 2. It says interoperability is best achieved by using Coordinated Universal Time 2.
A timestamp such as 1996-12-19T16:39:57-08:00 carries its offset from UTC. RFC 3339 says it is equivalent to 1996-12-20T00:39:57Z 2. The same moment falls on different calendar days depending on the offset, which matters when a chronology lists dates only.
Where the UTC time is known but the local offset is not, RFC 3339 allows an offset of -00:00. This differs from Z or +00:00, which imply UTC is the preferred reference point 2.
The seconds field may be 60 at the end of a month in which a leap second occurs. The RFC gives 1990-12-31T23:59:60Z as an example 2.
Trusted time-stamp tokens
RFC 3161 sets out the Internet X.509 Public Key Infrastructure Time-Stamp Protocol 3. A Time Stamping Authority, or TSA, time-stamps a datum to establish evidence that it existed before a particular time 3.
The TSA must use a trustworthy source of time. It time-stamps only a hash of the datum, not the datum itself 3. The token's genTime field is in UTC, to reduce confusion with local time zones 3.
An optional accuracy field gives the margin around genTime. Adding it gives an upper bound and subtracting it gives a lower bound on when the token was created 3. A token is evidence of a latest possible time for the data, not of when the data was first written 3.
Rules that require synchronised clocks
India's CERT-In issued directions on 28 April 2022 under section 70B(6) of the Information Technology Act, 2000 4. Entities must connect to the Network Time Protocol server of the National Informatics Centre or the National Physical Laboratory, or to NTP servers traceable to them 4.
The same directions require logs of all ICT systems to be kept securely for a rolling period of 180 days within Indian jurisdiction, and listed cyber incidents to be reported within 6 hours of noticing them 4. The directions took effect 60 days after issue 4.
Common questions
Does copying a file change its date?
NIST says copying a file to a system sets its creation time to the time of copying. The modification time stays the same 1.
Can file timestamps be faked?
NIST says an attacker may have altered recorded file times, and the system clock itself may have been wrong 1.
What does an RFC 3161 time-stamp prove?
That the time-stamped datum existed before the time in the token 3.
What does Z mean at the end of a timestamp?
In RFC 3339, Z is a suffix that denotes a UTC offset of 00:00 2.
How long must logs be kept in India?
CERT-In directions require logs of all ICT systems for a rolling period of 180 days 4.
Rules and charges change. Check the official source linked on this page before you pay or travel. Spotted an error? Email hello@sequenceofrecord.com.
Sources
- NIST: Special Publication 800-86, Guide to Integrating Forensic Techniques into Incident Response (August 2006)
- IETF: RFC 3339, Date and Time on the Internet: Timestamps (July 2002)
- IETF: RFC 3161, Internet X.509 Public Key Infrastructure Time-Stamp Protocol (TSP) (August 2001)
- CERT-In: Directions under sub-section (6) of section 70B of the Information Technology Act, 2000 (28 April 2022)
Related
- Chain of custody explained
What a chain of custody record shows, how hashes and preserved file times protect digital evidence, and what NIST and IETF guidance says about each step.
- Date precision and uncertainty
How the Extended Date/Time Format and RFC 3339 record approximate, uncertain, partial and open-ended dates, with examples from the specifications.
- How to put events in order
A step-by-step method for building a chronology from dated evidence, drawn from court guidance, forensic standards and legislation records.
- The GDPR 72-hour breach clock explained
When the GDPR 72-hour breach clock starts, what awareness means, what the notice must hold, and how other breach deadlines around the world compare.