ericzimmerman / amcacheparser Goto Github PK
View Code? Open in Web Editor NEWParses amcache.hve files, but with a twist!
License: MIT License
Parses amcache.hve files, but with a twist!
License: MIT License
Parsing the following files
Pooh.hve
Pooh.hve.LOG1
via AmcacheParser.exe -f "\full\win\path\to\Pooh.hve" --csv "\full\win\path\to\current\folder"
produces:
AmcacheParser version 1.3.3.0
Author: Eric Zimmerman ([email protected])
https://github.com/EricZimmerman/AmcacheParser
Command line: -f Pooh.hve --csv .
Hive does not contain a File and/or Programs key. Processing cannot continue
Hive did not contain program entries nor file entries. Exiting
Just simply running AmcacheParser.exe on a Windows OS that has FIPS enabled causes it to crash.
Unhandled Exception: System.TypeInitializationException: The type initializer for '<Module>' threw an exception. ---> System.TypeInitializationException: The type initializer for 'LibZ.Injected.AsmZResolver' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.
at System.Security.Cryptography.MD5CryptoServiceProvider..ctor()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Security.Cryptography.CryptoConfig.CreateFromName(String name, Object[] args)
at System.Security.Cryptography.MD5.Create()
at LibZ.Injected.AsmZResolver.Hash(String text)
at LibZ.Injected.AsmZResolver..cctor()
--- End of inner exception stack trace ---
at LibZ.Injected.AsmZResolver.Initialize()
at LibZ.Injected.LibZInitializer.Initialize()
at .cctor()
--- End of inner exception stack trace ---
This can be solved by using a different hashing algorithm instead of MD5, use SHA1 or SHA256 for example.
Not an issue, more a request.
AmcacheParser currently outputs dates in MM-dd-yyyy HH:mm:ss
format, as defined in FECacheOutputMap
(https://github.com/EricZimmerman/AmcacheParser/blob/master/AmcacheParser/Program.cs#L351) and PECacheOutputMap
(https://github.com/EricZimmerman/AmcacheParser/blob/master/AmcacheParser/Program.cs#L381).
When loading the TSV output into a tool such as Excel, Excel fails to recognise some of the dates correctly because it's expecting them to be in my (UK) locale, i.e. dd-MM-yyyy HH:mm:ss
.
I appreciate that changing the code to detect the correct locale for the user might be a pain, but I'd suggest that a format of yyyy-MM-dd HH:mm:ss
might be more universally accepted by tools reading the TSV.
In the InventoryDriverBinary keys the DriverID values are typically the SHA1 hash of the driver (with two null bytes prepended). Would it be possible to either strip those first two bytes from the data presented in the CSV output or create a new column for the SHA1 hash (with the bytes stripped)? This would make it easier to grab those values out of the output for checks against known good/known bad hash databases.
Hi there,
I got this error when running the util on an Amcache.hve extracted off a dead box. Other utilities, such as RegRipper seem to have no problem. Any thoughts on what might be going on?
Brian
In a Windows 10 image release 1511, build 10586, the Amcache hive contains the Root\InventoryApplication
key which you use to determine whether it is the "old" or "new" format, but it is not, in fact, the "new" format. (The Root\InventoryApplication
in this hive contains only the ProviderSyncId
value and no child keys). AmcacheParser fails to parse it, thinking that it's the new format:
Hive does not contain a InventoryApplicationFile and/or InventoryApplication key. Processing cannot continue
Hive did not contain program entries nor file entries.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.