Giter Club home page Giter Club logo

Comments (3)

msuhanov avatar msuhanov commented on June 12, 2024

Hello.

I'm the author of the yarp library. Based on the screenshot you posted, it seems there is an issue with an input file, not with the library.

Can you upload a sample hive file (including transaction log files) to investigate the problem?
What tool did you use to copy these files? Are they from a running (live) system?

from kuiper.

nyrm-f avatar nyrm-f commented on June 12, 2024

hello @msuhanov ,

Thanks for the reply. I unfortunately cannot share the sample hive file. I used velociraptor to copy the file.

yes it did come from a live system.

is it perhaps how YARP was implemented?

Not sure if it was clear in my second screenshot, but I was able to get regipy to parse out the same hive that YARP was unable to.

I'm no expert when it comes to parsers, but since I was able to parse the hive with regipy and not YARP thats what make me think it was YARP.

What do you think?

Thanks

from kuiper.

msuhanov avatar msuhanov commented on June 12, 2024

but I was able to get regipy to parse out the same hive that YARP was unable to

There is a format violation within the file. A tool can refuse to parse the file, or report the violation and parse what it can, or silently ignore the violation and extract as much data as possible (this is also limited to the implementation, which can extract less data than expected by the user).

The yarp-print tool can handle damaged and truncated primary files if no related transaction log files are available (or when the --no-recovery argument is given). This allows the tool to handle carved or otherwise damaged primary files. But if transaction log files are available (and the --no-recovery argument is not given), it is assumed (by the tool) that the damage can be repaired by replaying the log.

It is unclear what happened in your case. Velociraptor had at least one issue that could result in damaged files being produced.

I'm no expert when it comes to parsers, but since I was able to parse the hive with regipy and not YARP thats what make me think it was YARP.

Can you run the yarp-print tool manually against the file in question? (I recommend using the latest version.)

yarp-print --deleted NTUSER.DAT # Should produce the same error as reported.
yarp-print --deleted --no-recovery NTUSER.DAT # Things may work well here.

(Under the Windows operating system, execute "set PYTHONIOENCODING=utf-8" in the same cmd session before running the tool.)

from kuiper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.