Skip to content

Key not found on NTDS #47

@Matthijsy

Description

@Matthijsy

During querying different NTDS files i get the following error:

dissect.database.ese.exception.KeyNotFoundError: Key not found: b'\x7f\x80\x00\x11y'

(the exact key is different every time, but always seems to start with \x7f\x80)

This happens for example when querying users, computers, group policies. This currently results in target-query erroring, and missing information. I also pointed this out in PR #38, and there @Schamper mentioned that this might be due to transactions logs. However, I can dump this information using the ntdissector, so that seems not to be the case.

Unfortonately this only happens on NTDS files I have which I cannot share. I tried to reproduce it on NTDS files available on VT, but the ones I found there did not yield this problem. If there is any debug log / stracktrace I could recreate which could help in debugging the cause please let me know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions