The Most/Recent Articles

Showing posts with label windows 10. Show all posts
Showing posts with label windows 10. Show all posts

Daily Blog #691: Solution Saturday 5/2/20 - Magnet DFIR CTF Winner

Magnet DFIR CTF Winner

Hello Reader,
       This week an previous winner stepped up the challenge. Not only have they won a Sunday Funday before but they are also a Magnet DFIR CTF winner! This week Kevin Pagano stepped up and brought in the win with a good bit of research!

The Question:
Windows Timeline is an amazing source of user data, however like all things it has limitations. Answer the following questions:
1. How long before an action is taken before it is committed to the Windows Timeline database
2. What process and/or service creates the events
3. What call do developers need to make to support it
4. What is excluded?
5. When do events get removed?

The Winning Answer:
Kevin Pagano 


Windows Timeline is an amazing source of user data, however like all things it has limitations. Answer the following questions:

1. How long before an action is taken before it is committed to the Windows Timeline database

Almost instantly it seems, when running KAPE to test parsing the DB file, it actually wrote the kape.exe as the latest interaction.

2. What process and/or service creates the events

SVCHOST populates events into the ActivitiesCache database files. We can see a bunch of locks/unlocks through ProcMon:



3. What call do developers need to make to support it
Microsoft breaks this down in pretty good detail:


It uses the UserActivity API class object pulling in ActivityID, ActivationUri, and DisplayText as the minimum set. They also show all the code that is needed to add activities and adaptive cards to the Timeline. I am in no way a developer so this is all Greek to me.

4. What is excluded?

Applications that have activities that don't support using the API above won't be included from the GUI but they are still written to the DB file. 

5. When do events get removed?  
From Microsoft's site, items will be stored for up to 30 days (https://support.microsoft.com/en-us/help/4230676/windows-10-get-help-with-timeline), where after I assume they are deleted out of the database. There may be potential events you can recover from SQL slack. The user can also remove items as they see fit but they might not be purged until the Expiration Time is up for each entry.

Parsing using Eric Zimmerman's WxTCmd, we can see this is true.


Also Read: Daily Blog #690 



Daily Blog #689: Feature Usage from Oleg Skulkin

Feature Usage from Oleg Skulkin

Hello Reader,
       Tomorrow on the Forensic Lunch I've asked Oleg Skulkin to join. I mainly asked Oleg to join because he won last week's Sunday Funday contest and this is a new thing I'm trying to start, having the prior winner to come on and talk about what they did in their research.  Well in the mean time Oleg went ahead and posted up some entirely new research unrelated to any Sunday Funday. Oleg found a new registry artifact called FeatureUsage which appears to track programs that you launch through the task bar.

Now this is not the only source of this data conceivably, it could overlap artifacts like AmCache, UserAssist, Shimcache and Prefetch. But what's interesting about this is that its tracking a specific time of GUI execution, that being from the taskbar. Which means you could potentially get additional times of execution. Maybe I'm missing something and I'll find out tomorrow when Oleg is on the lunch at Noon CDT (UTC -5)!

You can read Oleg's research here: https://www.group-ib.com/blog/featureusage

Daily Blog #664: Sunday Funday 4/5/20 - BAM Challenge by David Cowen

BAM Challenge by David Cowen - Hacking Exposed Blog




Hello Reader,
          I hope your ready, Sunday Funday's are back and we are going to challenge you. I'm continuing the trend from last year of making the challenges a week long and with everyone home now I hope you can find a good use of some time here. So let's see what you can do and how we can help the community with your research in this weeks windows execution artifact challenge.



The Prize:

$100 Amazon Giftcard


The Rules:

  1. You must post your answer before Friday 4/10/20 7PM CST (GMT -5)
  2. The most complete answer wins
  3. You are allowed to edit your answer after posting
  4. If two answers are too similar for one to win, the one with the earlier posting time wins
  5. Be specific and be thoughtful
  6. Anonymous entries are allowed, please email them to dlcowen@gmail.com. Please state in your email if you would like to be anonymous or not if you win.
  7. In order for an anonymous winner to receive a prize they must give their name to me, but i will not release it in a blog post


The Challenge:
We've all heard of the BAM key by now, located in SYSTEM\\services\bam, but what are the limitations? Answer the following questions:
1. What types of programs are not logged in BAM?
2. Are there any paths excluded from BAM?
3. What can cause a program to no longer be listed in the BAM key?
4. When does the BAM get updated?
5. What can update the BAM timestamp?

Daily Blog #614: Forensic Lunch Test Kitchen 1/31/19 Deep Freeze Windows 10

Deep Freeze Windows 10 - David Cowen Hacking Exposed Computer Forensics


Hello Reader,
        Tonight we continued testing Deep Freeze on Windows 10 to find out what data was recoverable and how or if the data had been changed. Here is what we learned:

  • The deleted data appears not just to be partially overwritten but moved physically on the disk
  • When new data is written the older data from a prior reboot may be overwritten if the new data is larger
  • If the subsequent reboots contain smaller amounts of new data, then older data from past reboots will survive

You can watch the video here:



Also Read: Daily Blog #613

Daily Blog #613: Forensic Lunch Test Kitchen 1/30/19 Deep Freeze on Windows 10

Deep Freeze on Windows 10


Hello Reader,
         I've been asked quite a lot about recovering data from Windows 10 if deep freeze was installed. Now I've had theories and hypothesis regarding how Deepfreeze works and what should be possible but tonight I got an evaluation version of Deepfreeze and a new Windows 10 VM to find out for sure.

Here is what we learned:

  • Deep freeze is reverting the system back to its prior state on reboot, as advertised
  • When creating resident files if it is a reused mft entry it will be overwritten by the prior entry
  • When creating non resident files any cluster previously in use will be overwritten
  • Any part of the disk that was unallocated before freezing will contain any deleted data after reboot as deep freeze will have no data to overwrite it with
So, yes you can recover data even after rebooting with deep freeze, just not everything.

More testing to understand more about what is happening with deep freeze to come! 
You can watch the video here:

Also Read: Daily Blog #612 

Daily Blog #600: Windows 10 Search Artifacts are going to change again

Windows 10 Search Artifacts are going to change again - David Cowen - Hacking Exposed Computer Forensics Blog


Hello Reader,
            I saw this article over on the verge:

https://www.theverge.com/2019/1/16/18185490/microsoft-cortana-windows-10-search-changes

In this article they describe how Cortana is going to be separated from the search function. Currently we find the Windows 10 search artifacts in the NTUSER registry under the \software\microsoft\windows\current version\search. So keep an eye out for this change as we expect changes in how this data is stored and possibly new entries for cortana.

This is interesting since Cortana has been rapidly changing artifact wise and a return to more locally stored Cortana artifacts would be welcome. 

Daily Blog #596: Sunday Funday 1/13/19 - Windows 10 UserAssist Challenge

Windows 10 UserAssist Challenge by David Cowen - Hacking Exposed Computer Forensics Blog


Hello Reader,
          We've had a back to back great answers in this new year which I hope is just sitting the trend for the rest of 2019. We've bounced around a couple of topics but let's see if you can finish one out for all of us.

The Prize:

$100 Amazon Giftcard

The Rules:

  1. You must post your answer before Friday 1/18/19 7PM CST (GMT -5)
  2. The most complete answer wins
  3. You are allowed to edit your answer after posting
  4. If two answers are too similar for one to win, the one with the earlier posting time wins
  5. Be specific and be thoughtful
  6. Anonymous entries are allowed, please email them to dcowen@g-cpartners.com. Please state in your email if you would like to be anonymous or not if you win.
  7. In order for an anonymous winner to receive a prize they must give their name to me, but i will not release it in a blog post


The Challenge:
In Windows 10 what behavior appears to determine if a program will show up in the UserAssist entries with 0 run count versus actually tracking a run count and last execution date