The Most/Recent Articles

Showing posts with label amcache. Show all posts
Showing posts with label amcache. Show all posts

Daily Blog #660: Solution Saturday 4/13/19 - Dropbox Audit Logs Challenge






Hello Reader,
           This weeks winner only recently discovered the blog and the contests therein. Why bring this up? It shows that you don't have to be around for years to have a chance at winning a Sunday Funday. In Michael's case he posted a comment with an answer and sent me an email, and when he is getting in reply today is a winning answer. Congratulations Michael Bryan!




Question: 
For Dropbox Audit logs what all data can you determine about someone who was logged in?
What allows you to unique identify a file?
The Winning Answer:

Master Deputy Michael Bryan

Dropbox Audit Logs or Activity Logs are a feature of the Dropbox business accounts. The Advanced Team accounts include file level Audit logs as a part of the paid service. These logs are accessible from the Account Console which available the account administrator or administrators. The console provides very detailed information about team member’s usage of the account and nearly all facets of the members’ interactions are recorded and can be reviewed. The following items can be viewed in the Console of an advanced account regarding FILES:
Added a file
Added a file to their Dropbox
Added a file to their Dropbox (non-team member)
Added a folder
Allowed anyone to view links to files in a shared folder
Allowed file request emails for the team
Allowed non collaborators to view links to files in a shared folder
Allowed only team members to view links to files in a shared folder
Changed a file request
Closed a file request
Copied a file
Copied a file to their Dropbox
Copied a file to their Dropbox (non-team member)
Copied a folder
Created a link to a file using an app
Created a new file request
Deleted a file
Deleted a file comment
Deleted a folder
Disabled file requests
Downloaded a file (non-team member)
Downloaded files
Edited files
Enabled file request emails for everyone
Enabled file requests
Failed to delete some files remotely
File added to a showcase
File downloaded (non-team member) from a showcase
File downloaded (team member) from a showcase
File in showcase viewed by non-team member
File in showcase viewed by team member
File removed from a showcase
Liked a file comment
Made a file viewable only to members of the file
Made a file viewable only to team members with the link
Made a file viewable to anyone with the link
Moved a file
Moved a folder
Multiple files downloaded (non-team member) from a showcase
Multiple files downloaded (team member) from a showcase
Opened a file (non-team member)
Prevented non-team members from viewing links to files in a shared folder
Previewed files
Received files via file request
Received files via file request
Renamed a file
Renamed a folder
Requested access to a file (non-team member)
Resolved a file comment
Restored a file
Restored a folder
Restored a resolved file comment
Reverted files to a previous version
Rolled back file changes
Subscribed to file comment notifications
Successfully deleted some files remotely
Unliked a file comment
Unsubscribed from file comment notifications

Additionally, the audit logs maintain information about the users themselves. An administrator can see the following regarding member uses:
The date and time of the event
The member who initiated the event
The details of the event
The location in the form of an IP address of the team member
The logs detail who are the active team members of the last 28 days, the number of shared folders over the last 28 days, how much storage space is used, the number of links created, and a log of what devices are accessing the account over the previous 28 days. From the console you can also monitor password changes, sign ins, connected apps, changes in sharing, changes in groups, and changes in membership. 

The files specific path and file name along with the connected user interactions would allow an administrator to identify a file in the log data.

The information for this initial and feeble attempt at an answer was gathered from poking around the internet and reading Dropbox.com helps files, Dropboxforum posts and two blogs written by “Kevin” on metadatum.wordpress.com (who actual cites the author of this challenge in his 2013 post about Dropbox forensics.) 

Also Read: Daily Blog #659

Daily Blog #622: Solution Saturday 2/9/19 - Amcache Hive Challenge Winner Announcement

Amcache Hive Challenge Winner Announcement by David Cowen - Hacking Exposed Computer Forensics Blog



Hello Reader,
             This week Oleg Skulkin has come in with another win! Oleg found some interesting results. In Oleg's testing all of his executions were caught by the Amcache, except those programs executed from external storage volumes. Very interesting! I think we will have to go back to Syscache and Amcache again in the near future to find more about what Oleg was seeing!


The Challenge:

What are all the methods of execution you can find that are not recorded in the Amcache hive?

The Winning Answer:
Oleg Skulkin
https://cyberforensicator.com/2019/02/06/amcache-forensics-populated-or-not/



Also Read: Daily Blog #621

Daily Blog #617: Sunday Funday 2/3/19 - Amcache Hive Methods of Execution Challenge

Amcache Hive Methods of Execution Challenge



Hello Reader,
           2019 is becoming a pretty great year for responses to these challenges. It's always tough to weight different answers to find the one that is 'most complete' and I appreciate all the hard work all of you put into it. Even if you don't submit an answer and just work on the challenge I think everyone who is playing is winning. Let's continue this streak by building on Blanche Lagny's Amcache research!



The Prize:

$100 Amazon Giftcard

The Rules:

  1. You must post your answer before Friday 2/8/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:

What are all the methods of execution you can find that are not recorded in the Amcache hive?

Also Read: Daily Blog #616

Daily Blog #615: Forensic Lunch 2/1/19 - Blanche Lagney Amcache DFIR Review

Blanche Lagney Amcache DFIR Review with David Cowen



Hello Reader,
          We had another Forensic Lunch! This was a great episode and here are the details.

This week we have:
  • Blanche Lagny talking about her paper on Amcache
  • The DFIR Review crew talking about .. DFIR Review!
    • The DFIR Review crew entails:
    • Jessica Hyde
    • Vico Marziale
    • Brett Shavers
    • Tony Knutson
You can watch it here:


Also Read: Daily Blog #614 

Daily Blog #604: New Amcache Resarch Paper you really should read




Hello Reader,
      If you've been following the blog and the test kitchens you would have seen that both myself and Maxim Suhanov have been testing and talking alot about the Amcache which lead to our findings about the Syscache hive. Well, it looks like we are not alone in our quest to truely understand this artifact since Blanche Lagny of the Agence Nationale de la Sécurité des Systèmes d'Information (ANSSI) aka the French National Cybersecurity Agency has released today atleast a years worth of research into not only the Amcache structure but also:

  • What processes populate the Amcache
  • What determines the format of the Amcache data (dll versions not windows versions)
  • What determines the behavior of the Amcache storage (again its dll versions)
  • and much more

If you are at all interested in the Amcache and want to understand it at a deeper level I would highly recommend you read this:
http://www.ssi.gouv.fr/uploads/2019/01/anssi-coriin_2019-analysis_amcache.pdf

Please note as with any other paper Lagny has both timing and scope limitations so this paper doesn't include every possible facet of the Amcache,  such as what it does not log or how the latest version of Windows 10 populates it. It's not that she is not aware of the other data points its that they are hopefully going to be covered by future papers. 

Also Read: Daily Blog #603

Daily Blog #587: Forensic Lunch Test Kitchen 1/4/19 Server 2019 Amache

Server 2019 Amache - David Cowen - Hacking Blog



Hello Reader,
     Tonight we continued our exploration of Server 2019 with a look into how Amcache is behaving on it.

Here is what we learned:

  • Amcache is still scanning the desktop for executables and adding them to the Amcache when the Application experience scheduled task runs, even if the executable was never run
  • Like Server 2008 R2 Amcache is including the contents of the Desktop directory for executions and executables
  • Server 2019 appears to be storing command line executions! This is a very different behavior than we've seen before and requires more testing
You can watch the video here:


Also Read: Daily Blog #586 

Daily Blog #561: Solution Saturday 12/8/18 - Battle of the Shims

Battle of the Shims - Winning answer to our most recent challenge by David Cowen - Hacking Exposed Computer Forensics Blog



Hello Reader,
       Another challenge where a new victor has emerged! One of the great things about these weekly challenges is that let's people within the larger community a chance to show what they got. This week Zach Stanford has made his mark with his winning submission.

The Challenge:


Document the order that the following shims are executed/data written in Windows 10:
  • Prefetch
  • Shimcache
  • Amcache
  • Userassist
  • SRUM
List the time stamps associated with the entry creation and whatever else you can determine about the order they are called

The Winning Answer:
https://medium.com/@z89127866x/battle-of-the-shims-60fdae38264e

Come back tomorrow for the next week's challenge!

Also Read: Daily Blog #560

Daily Blog #554: Solution Saturday 12/1/18 - Solution for GUI Executable Challenge

Solution for GUI Executable Challenge by David Cowen - Hacking Exposed Computer Forensics Blog



Hello Reader,
        This week we have a clear winner with Maxim Suhanov not only answering the question but finding a new artifact and writing a proof of concept extractor for it in the process!

The Challenge:

On a  Windows 7 system how long does it take for a new gui executable to appear in the Amcache. What can you do if anything to force the executable to appear in the amcache hive. 

The Winning Answer:

Maxim Suhanov (@errno_fail)



Also Read: Daily Blog #553

Daily Blog #552: Forensic Lunch Test Kitchen 11/28/18 - Discussion on Lznt1 libraries, YARP, and Win7 Amcache

Discussion on  Lznt1 libraries, YARP, and Win7 Amcache with Maxim Suhanov by David Cowen - Hacking Exposed Computer Forensics Blog



Hello Reader,
       Tonight we had a test kitchen with ups and downs as some things worked and others didn't. Here's what we learned:


  • All of the lznt1 libraries we tried to decompress the system binary registry entries Maxim Suhanov found failed
  • YARP has support for the lznt1 format used in the registry, I've downloaded it and we will use it tomorrow
  • The Windows 7 Amcache can be manually updated by running the scheduled task, but otherwise will not be updated until the scheduled task runs
  • The last write date of the key in the Amcache in Windows 7 has nothing to do with execution time, its just when the scheduled task ran
  • Like Windows 10 the Windows 7 Amcache will scan any executable on the desktop and insert it into the Amcache even if it wasn't executed
More tomorrow night!

Here is the video:


Also Read: Daily Blog #551

Daily Blog #551: Forensic Lunch Test Kitchen 11/27/18 - Microsoft Combability Appraiser, Amcache, and More

Microsoft Combability Appraiser, Amcache, and More by David Cowen - Hacking Exposed Computer Forensics Blog



Hello Reader,
       Tonight we reached another conclusion on our road to understanding of the Amcache hive.
Here is what we learned:

  • As Maxim Suhanov pointed out on twitter for Windows 7 there is a schedule task called 'Microsoft Compatability Appraiser' that runs every night and updates the Amcache
  • On Windows 10 that same task exists but the Amcache is updated after GUI executions 
  • Non executed programs in the Desktop, at least, are added when the scheduled task runs
  • If a program is modified and its hash changed the new entry will be updated when the schedule task runs again, not when the program is executed
  • There is a registry key in the SOFTWARE hive that Maxim found that appears to contain compressed appcompat data in Windows 7, in Windows 10 I found no entriies
Tomorrow night we check what Windows 7 is doing, validating what Maxim has found and what we have found in Windows 10.

You can watch the video here:


Also Read: Daily Blog #550

Daily Blog #550: Forensic Lunch Test Kitchen 11/26/18 - Shimcache Testing

Shimcache Testing by David Cowen - Hacking Exposed Computer Forensics Blog


Hello Reader,
           Tonight we continued our shimcache testing and here is what we found out tonight:

  • Confirmed again that shimcache will record any executable viewable within the GUI
  • Shimcache will update the record if the executable is modified and then executed
  • Amcache does not immediately update an entry if an executable is modified and executed
  • Sysmon did not get added to the Amcache even though it has some type of GUI window (message box appearing) but this was not the standard win32 gui message box
  • Amcache added the executable we left on the desktop but did not execute on Friday at 5am UTC saturday, the process event log showed it was a background task manager. 
  • Sysmon was installed to see if we can get more detail on the process that is updating Amcache

We are now going to let the system update the registry overnight and see what changes it makes with the executable we left in the desktop and the downloads directory. 

You can watch the video here:


Also Read: Daily Blog #549 

Daily Blog #549: Sunday Funday 11/25/18 - GUI Executable in Amcache Challenge

GUI Executable in Amcache Challenge  by David Cowen - Hacking Exposed Computer Forensics Blog



Hello Reader,
        Another week of research and discovery is behind us. Let's push your own knowledge this week's challenge!

The Prize:

$100 Amazon Giftcard

The Rules:

  1. You must post your answer before Friday 11/30/18 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:
On a  Windows 7 system how long does it take for a new gui executable to appear in the Amcache. What can you do if anything to force the executable to appear in the amcache hive. 

Also Read: Daily Blog #548

Daily Blog #547: Forensic Lunch Test Kitchen 11/23/18 - Discussion on GUI, Amcache Hive, and More

by David Cowen - Hacking Exposed Computer Forensics Blog



Hello Reader,
            Tonight we had a short late night broadcast as I am enjoying the four day weekend that is Thanksgiving here in the United States. However just because it was short doesn't mean we didn't find out a lot of interesting things! Here is what we learned:

  • The desktop executable rbcmd.exe that I didn't execute but did extract was added to the Amcache 24 hours later after the last video aired
  • The Amcache hive transaction logs do contain all of the most recent GUI executables executed, with a 10 second delay. For 10 seconds after execution there is a buffer likely in memory where the changes are pending
  • If you parse the Amcache hive without the transaction logs you will miss the most recently executed GUI programs
  • Running programs from the command line are not found in the transaction logs immediately after execution
  • Programs not executed in the GUI but executed from the command line in directories other than the desktop have not shown up in the Amcache
You can watch the video here:


Also Read: Daily Blog #546

Daily Blog #545: Forensic Lunch Test Kitchen 11/21/18 - Discussion on Command Line Execution, Local Security Policy and More

Discussion on Command Line Execution, Local Security Policy and More  by David Cowen - Hacking Exposed Computer Forensics Blog



Hello Reader,
         Tonight we continued looking into Amcache and Shimcache in their parts of the application compatibility cache system. Here is what we learned:

  • Command line executions, without GUIs, are not immediately tracked in Amcache but are in Shimcache after two days 
  • Command line executions, with GUIs, are tracked in Amcache after a shutdown, need to check the transaction logs next time to see if we can get them without reboot/shutdown
  • Command line programs executed from the GUI are tracked in the Amcache
  • The process creation events I turned in the local security policy are not catching user processes, need to check on why
  • Amcache does contain command line programs I never executed, but the dates are 3 days after the extraction

So we need to let the system keep running and see if some automatic sweep will cause the other command line executables to be tracked. 

You can watch the video here:


Also Read: Daily Blog #544

Daily Blog #544: Forensic Lunch Test Kitchen 11/20/18 - Discussion on Shimcache, Amcache, and More

Discussion on Shimcache, Amcache, and More  by David Cowen - Hacking Exposed Computer Forensics Blog



Hello Reader,
          Tonight we continued our journey into the shimcache and amcache. Here is what we learned:

  • The extracted executable file from the command line that was not executed was still not present in the shimcache
  • Simply viewing the directory in the GUI that the extracted but not executed executable was in was enough to get it added to the shimcache
  • No new entries from the downloads directories were present in the Amcache

Tomorrow night we will see if the Amcache needed even more time, suggesting its a schedule task

You can watch the video here:


Also Read: Daily Blog #543

Daily Blog #543: Forensic Lunch Test Kitchen 11/19/18 - Discussion on GUI, Shimcache, and Amcache

Discussion on GUI, Shimcache, and Amcache by David Cowen - Hacking Exposed Computer Forensics Blog



Hello Reader,
     Tonight we continue to go down further into the application compatibility cache and its associated artifacts. Thanks to tonight's BFFs (Best forensic friends) Phill Moore, Jessica Hyde and Mike Cary for participating in the testing! Here is what we learned:

  • Approximately 6 hours or so after the tests were done on 11/16/18 in the prior video (https://www.hecfblog.com/2018/11/daily-blog-540-forensic-lunch-test.html) the entries we expected to show up in the Amcache were written to the registry 
  • In addition to the programs we executed being delayed in their writes, we also had more programs we extracted in the GUI but did not execute show up in Amcache
  • The timestamp of the key here did not reflect when the program executed but rather when it was added to the Amcache hive! We are setting up more testing to determine what the triggers are for Amcache updating
  • Extracting an executable from a zip file in the command line did not result in a Shimcache or Amcache entry being made, as suggested by Mike Cary on twitter. 
  • Executing an executable from the command line did get an entry in the shimcache on shutdown and reboot
  • We had an inconsistent result in the amcache on execution where once it appeared after shutdown and another time it didn't
  • We have enabled process creation event logging and the VM will run overnight to see when and what hopefully is updating the Amcache

You can watch the video here:


Also Read: Daily Blog #542

Daily Blog #540: Forensic Lunch Test Kitchen 11/16/18 - Testing Compatibility Cache artifacts

Testing Compatibility Cache artifacts by David Cowen - Hacking Exposed Computer Forensics Blog



Hello Reader,
    Tonight I'm back in my home lab with access to all my handy testing VMs! I decided to start up a series of tests on the Application Compatibility Cache artifacts (including Shimcache and Amcache amongst others to be tested). The tests have already shown more than I expected and here is what we learned tonight:


  • Extracting an executable from a zip into the Desktop directory on Windows 10 is enough to get a shimcache entry
  • There was no corresponding Amcache entry
  • Extracting an executable from a zip into the root of another file system all together on Windows 10 also created a shimcache entry
  • There was no corresponding Amcache entry
  • We also didn't get Amcache entries for the programs we did in fact execute
  • We did have Amcache entries for programs we never executed!
You can watch the video here:


Also Read: Daily Blog #539