mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #1380] Kerberos - pcap2john.py #873
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#873
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @FrankSpierings on GitHub (Jun 4, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1380
pcap2john.py receives a pcap file, but in function pcap_parser_krbpa it expects a .pdml file. This obviously will never result in a win, for this part of the code.
@magnumripper commented on GitHub (Jun 5, 2015):
Ouch. Thanks for reporting. We once had a krbpa2john that was accidentally incorporated into pcap2john.
@kholia can this be rewritten to read pcap? Or do we need to strip this from pcap2john and restore the old krbpa2john tool?
@FrankSpierings commented on GitHub (Jun 5, 2015):
magnum,
I think I will be able to rewrite the code, since there are more problems. My tshark, seems to use different names. So it will probably be better to use the pcap format. But I need some sample captures. Also to be sure, I need that other (cracking) issue fixed (or at least know whats missing).
@kholia commented on GitHub (Jun 5, 2015):
@FrankSpierings thanks for taking a look! I will try to find some sample .pcap files!
@magnumripper restoring the old file might be a good idea (for now).
@magnumripper commented on GitHub (Jun 5, 2015):
There are sample pcaps in http://openwall.info/wiki/john/sample-non-hashes?&#Kerberos-v5-Pre-Authentication
And here's the writeup I think I used when writing the format way back in 2011 or something:
http://www.securiteam.com/windowsntfocus/5BP0H0A6KM.html
@FrankSpierings commented on GitHub (Jun 5, 2015):
The following will extract the kerberos hashes correctly:
https://github.com/lgandx/PCredz/
Maybe better to not reinvent the wheel?
@kholia commented on GitHub (Jun 5, 2015):
@FrankSpierings great find (again). I will pull stuff from "PCredz" now.
@FrankSpierings commented on GitHub (Jun 5, 2015):
Excellent! thanks!
@kholia commented on GitHub (Jun 5, 2015):
@FrankSpierings ;(
https://github.com/lgandx/PCredz/blob/master/Pcredz#L171 looks super shaky, and doesn't work on our sample files (in fact, it shouldn't work at all).
@FrankSpierings commented on GitHub (Jun 5, 2015):
I see what you mean. It did work for my own captures. I'll have a look at what we can fix with scapy.
@kholia commented on GitHub (Jun 5, 2015):
@FrankSpierings I don't think that it can work with "kerberos" packets at all! it doesn't even extract the "encrypted timestamp" from the packets.
@FrankSpierings commented on GitHub (Jun 6, 2015):
It's not as dodgy as it seems. I'm currently adding code to detect the sample hashes, using PCredz. Standby ;)
@kholia commented on GitHub (Jun 6, 2015):
@FrankSpierings does commit
c03a665663work for you?@kholia commented on GitHub (Jun 9, 2015):
Things should be working now (with all the multiple recent commits).