Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect anomalies in NTFS timestamps #743

Open
5 tasks
kiddinn opened this issue Dec 17, 2018 · 3 comments
Open
5 tasks

Detect anomalies in NTFS timestamps #743

kiddinn opened this issue Dec 17, 2018 · 3 comments

Comments

@kiddinn
Copy link
Contributor

kiddinn commented Dec 17, 2018

Some ideas to look for:

  • Anomalies in directories where data is rarely written to and should mostly be in sequential order, anomalies here would be inspecting MFT sequence numbers and comparing to creation time, in directories such as Windows/System32.
    • Map up all these directories
    • There will be FPs, find ways to tune the amount of FPs to minimum
  • $I30 entries and compare to other entries in timeline
  • Anomalies in $SI and $FN timestamps
  • Examine "sequential" data in the OS, eg. LNK files and entries in Windows Registry that could point to timestomping behavior
  • Look at EventLog entries

For each of these anomalies:

  • Flag/label or add an attribute.
  • Add a graph for visualizing/summary (when graphing becomes easier to achieve)

Most of these depend on the $MFT parser in plaso, but also Registry and EventLog parsers and potentially few others to have run in order to do all the checks.

Since these will most likely produce quite a few FPs, it would be good to have some sort of way to "flag/mark" FPs and/or tune the analyzer in order to minimize those as much as possible.

@kiddinn
Copy link
Contributor Author

kiddinn commented Dec 17, 2018

The first step here is to research what possible evidence there can be that can aid in detecting these anomalies.

The second step is to experiment with it a bit and write the outlier detection logic.

Third step is add graphs and/or some other sort of visualization that can be done to surface these anomalies better.

@kiddinn
Copy link
Contributor Author

kiddinn commented Dec 17, 2018

also look at EventLogs

@joachimmetz
Copy link
Member

joachimmetz commented Jan 15, 2019

Please document the research, also think of using $UsnJrnl:$J and TxF

also consider detecting broader set of time manipulation, such as done by OLK (secure temp) folder and OLECF files

@berggren berggren changed the title Detect anomalies in NTFS timestamps in order to find potential signs of timestomping Detect anomalies in NTFS timestamps Aug 27, 2020
@jaegeral jaegeral added this to the Future milestone Jul 7, 2021
@berggren berggren assigned jkppr and unassigned kiddinn Sep 17, 2023
@berggren berggren removed this from the Future milestone Sep 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants