Giter Site home page Giter Site logo

Comments (5)

jaredcatkinson avatar jaredcatkinson commented on July 23, 2024

Thanks for the Stack Trace. Looks like you are using one of the older versions of PowerForensics. Can you try downloading the newest version (https://github.com/Invoke-IR/PowerForensics/tree/master/Modules/PowerForensics)?

from powerforensics.

jaredcatkinson avatar jaredcatkinson commented on July 23, 2024

If the issue persists with the newer version, is it possible for you to share the MFT with me (Exported via some other tool)? That'd help me figure out where the specific issue is occurring. If not I completely understand.

from powerforensics.

colindix avatar colindix commented on July 23, 2024

Hi Jared, - Unfortunately, no dice. Slightly different error, but I presume that's to do with the newer version of PF.

PS C:\WINDOWS\system32> Get-ForensicFileRecord
Exception calling "GetInstances" with "1" argument(s): "Non-negative number required.
Parameter name: count"
At C:\Users\xxxxxx\Documents\WindowsPowerShell\Modules\PowerForensics\PowerForensics.psm1:958 char:21

  •                 Write-Output ([PowerForensics.FileSystems.Ntfs.FileRecord]:: ...
    
  •   + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : ArgumentOutOfRangeException
    
    

PS C:\WINDOWS\system32> $stacktrace
at System.Text.UnicodeEncoding.GetString(Byte[] bytes, Int32 index, Int32 count)
at PowerForensics.FileSystems.Ntfs.VolumeName..ctor(ResidentHeader header, Byte[] bytes, Int32 offset, String attrName)
at PowerForensics.FileSystems.Ntfs.FileRecordAttribute.Get(Byte[] bytes, Int32 offset, String volume)
at PowerForensics.FileSystems.Ntfs.FileRecordAttribute.GetInstances(Byte[] bytes, Int32 offset, Int32 bytesPerFileRecord, String volume)
at PowerForensics.FileSystems.Ntfs.FileRecord..ctor(FileRecord[]& recordArray, Byte[] bytes, Int32 offset, Int32 bytesPerFileRecord, Str
ing volume, Boolean fast)
at PowerForensics.FileSystems.Ntfs.FileRecord..ctor(FileRecord[]& recordArray, Byte[] bytes, Int32 offset, Int32 bytesPerFileRecord, Str
ing volume, Boolean fast)
at PowerForensics.FileSystems.Ntfs.FileRecord.GetInstances(Byte[] bytes, String volume, Boolean fast)
at CallSite.Target(Closure , CallSite , RuntimeType , String )
PS C:\WINDOWS\system32>

Would like to pass you the MFT but as it is from a work machine I'm afraid I'm not going to be able to. Happy to perform any diagnostics you would like though, or provide you the parsed output of analyzeMFT, Triforce etc if that will help.

from powerforensics.

jaredcatkinson avatar jaredcatkinson commented on July 23, 2024

Ok give me a day or so to put together a verbose version for you to test with. That way it will tell us exactly what record the issue is occurring on and we can work on it from there.

from powerforensics.

colindix avatar colindix commented on July 23, 2024

Sorry I forgot to mention i managed to try on another machine in the fleet and it ran fine (and I had not previously experienced these errors), so please don't do any extra work on my account as it seems to be related to that one machine. Having said that, still happy to help you debug if you want to get to the bottom of it though.

from powerforensics.

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.