@port139 Blog

基本的にはデジタル・フォレンジックの技術について取り扱っていますが、記載内容には高確率で誤りが含まれる可能性があります。

Timestamp and USN_REASON_BASIC_INFO_CHANGE

Note:I translated Japanese into English using Google Translate.
Thank you, Google. 

My question is

Can I find timestamp changes using USN Journal?

Let's try it.
Enable USN Journal with volume E :.

f:id:hideakii:20180930191719j:plain

Copy the sample JPEG file to the E: drive, using the explorer.

f:id:hideakii:20180930191902j:plain

Use Autopsy to check the time stamps of $SIA and $ FN.

f:id:hideakii:20180930192156j:plain

The record containing "Basic info change" appeared twice.

f:id:hideakii:20180930192948j:plain

Use Powershell to change the timestamp of LastWriteTime. 

f:id:hideakii:20180930193233j:plain

f:id:hideakii:20180930193406j:plain

In the figure below, it is easy to confirm that "Basic info change" has been changed. Unfortunately, I can not identify that the timestamp value has changed.

f:id:hideakii:20180930193458j:plain

What happens if I unzip the ZIP file?  I created a compressed file using 7zip and expanded it from explorer.

f:id:hideakii:20180930194148j:plain

f:id:hideakii:20180930194324j:plain

A record of "Data extend | File create | Close" is recorded, followed by a record of "Basic info change".

f:id:hideakii:20180930194913j:plain

Next, unzip the ZIP file using 7zip and check the time stamp.

f:id:hideakii:20180930195148j:plain

In the case of 7zip, I was able to confirm the same output result as when copying files in Explorer.

f:id:hideakii:20180930195436j:plain

Move the sample JPEG file on the C: drive to the E: drive and check the time stamp.

f:id:hideakii:20180930200648j:plain

f:id:hideakii:20180930200809j:plain

There was an ObjectID. It was different from my expectation.

f:id:hideakii:20180930201005j:plain

Try again with a file that does not have an ObjectID.

f:id:hideakii:20180930201600j:plain

f:id:hideakii:20180930201712j:plain

f:id:hideakii:20180930201904j:plain

I forgot to confirm the pattern when I created a new file.

f:id:hideakii:20180930203112j:plain

When creating a new file, "Basic info change" is not recorded.

f:id:hideakii:20180930203144j:plain

Open the file with Notepad.exe and update the content.

f:id:hideakii:20181001191007j:plain

I updated the file, but "Basic info change" is not recorded.

f:id:hideakii:20181001191055j:plain

 

I need to test more patterns.

 

Verification environment: Windows 10 1083

Reference URL:

 

docs.microsoft.com

https://www.jpcert.or.jp/present/2018/JSAC2018_03_yamazaki.pdf

GitHub - jschicht/SetMace: Manipulate timestamps on NTFS

 

f:id:hideakii:20180930190944j:plain