BloodHoundAD / BloodHound

Six Degrees of Domain Admin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error importing computer JSON data into BloodHound

senorbueno opened this issue · comments

Currently getting an error when attempting to upload computer data into BloodHound v4.3.1:

image

TypeError: Cannot read property 'Results' of undefined
    at o (bundle.js:38213)
    at computers (bundle.js:38302)
    at bundle.js:39302
    at l (bundle.js:37777)
    at Generator._invoke (bundle.js:37757)
    at Generator.next (bundle.js:37802)
    at mL (bundle.js:38115)
    at i (bundle.js:38129)
    at bundle.js:38134
    at new Promise (<anonymous>)

(note that bundle.js was JSformatted from its minimized form to ID the lines the errors were occurring. Normally the line number for all would be 85.)

I see that 'Results' must be coming from the Sessions block of the computer json data. In my case the data for all machines here is empty:

           "Sessions": {
                "Results": [],
                "Collected": false,
                "FailureReason": null
            },
            "PrivilegedSessions": {
                "Results": [],
                "Collected": false,
                "FailureReason": null
            },
            "RegistrySessions": {
                "Results": [],
                "Collected": false,
                "FailureReason": null
            }

Even though these are defined within bundle.js (as d, f, h):

                        var e = n.value,
                            r = e.ObjectIdentifier,
                            o = e.Properties,
                            a = e.LocalAdmins.Results,
                            i = e.RemoteDesktopUsers.Results,
                            s = e.DcomUsers.Results,
                            c = e.PSRemoteUsers.Results,
                            l = e.PrimaryGroupSID,
                            u = e.AllowedToAct,
                            p = e.AllowedToDelegate,
                            d = e.Sessions.Results,
                            f = e.PrivilegedSessions.Results,
                            h = e.RegistrySessions.Results,
                            m = e.Aces,
                            y = e.DumpSMSAPassword;

Any help with this would be great.

I have the same problem now i am stuck with it. Please tell me if you solved it. Thank you !

Which version of the collector did you use ? Sharphound 2.0 ? Bloodhound.py ? Rusthound ?

I solved it. i use old version of Sharphound (v1.1.0). it work perfectly with newest version of bloodhound :v :V