-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Evtx.BinaryParser.ParseException raised unexpectedly #45
Comments
hey @john-corcoran Thanks for raising this issue. The easiest way to triage it will be to share the .evtx file. I'd be happy to take a peek if you send to my email: [email protected] |
@john-corcoran just wanted to let you know i still have my eye on this issue. been doing some traveling so haven't had as much time as i'd have liked to triage the bug. the evtx files you provided should be enough for me to figure things out in the next few days. |
this addresses issue #45 reported by @john-corcoran
I suspect this evtx file is corrupt. For example, when I simply print the record numbers, we get output like:
clearly, |
|
seems like this file contains junk data after 3 valid chunks:
commits 5d2754f and 1ed29cf improve the robustness of the code that parses chunks. |
i think the issue is that when enumerating chunks (and therefore records) via the Line 92 in 5fb7662
|
confirmed the theory above, and addressed the issue in df8edf4. thanks to @john-corcoran for reporting this issue! |
Hi,
I'm seeing exception Evtx.BinaryParser.ParseException raised unexpectedly when parsing event log "Microsoft-Windows-Windows Firewall With Advanced Security%4Firewall.evtx" (extracted from a Windows Server 2012 testing instance) using evtx_dump.py.
Same behaviour seen when parsing on Windows with Python 2.7, and Ubuntu with Python 2.7 / 3.5.
Traceback from Windows with Python 2.7 as follows:
I can forward the EVTX file in question if that assists?
The text was updated successfully, but these errors were encountered: