[GH-ISSUE #371] Support cracking WPA from .ivs files #108

Closed
opened 2026-10-14 02:53:05 +07:00 by bsakaguchi · 5 comments
Owner

Originally created by @magnumripper on GitHub (Aug 27, 2013).
Original GitHub issue: https://github.com/openwall/john/issues/371

aircrack-ng can store .ivs files with just the information needed to crack WPA (or WEP, but that is not interesting for us). There are pcap2ivs tools but I can't find any ivs2pcap tool so we currently can't crack WPA with an .ivs file as input.

We should either add a ivs2john tool, or perhaps add that support to wpapcap2john.

Originally created by @magnumripper on GitHub (Aug 27, 2013). Original GitHub issue: https://github.com/openwall/john/issues/371 aircrack-ng can store .ivs files with just the information needed to crack WPA (or WEP, but that is not interesting for us). There are pcap2ivs tools but I can't find any ivs2pcap tool so we currently can't crack WPA with an .ivs file as input. We should either add a ivs2john tool, or perhaps add that support to wpapcap2john.
bsakaguchi 2026-10-14 02:53:05 +07:00
Author
Owner

@kholia commented on GitHub (Sep 6, 2013):

When running airodump, you should specify,

  • The "only IVs" flag. Specify 1 if you just want to save the IVs from WEP data packets. This saves space, but the resulting file (foo.ivs) will only be useful for WEP cracking.

From this description it looks like .ivs files can't be used for WPA cracking.

<!-- gh-comment-id:23945845 --> @kholia commented on GitHub (Sep 6, 2013): When running airodump, you should specify, - The "only IVs" flag. Specify 1 if you just want to save the IVs from WEP data packets. This saves space, but the resulting file (foo.ivs) will only be useful for WEP cracking. From this description it looks like .ivs files can't be used for WPA cracking.
Author
Owner

@magnumripper commented on GitHub (Sep 6, 2013):

There is a v2 version of .ivs file format and it can also contain all (and just) the information we need to crack WPA. I do know someone managed to do this manually as a one-off. We should support it.

It's very useful for getting much smaller files to take home for cracking. Let's say you sniff for 24h...

<!-- gh-comment-id:23946298 --> @magnumripper commented on GitHub (Sep 6, 2013): There is a v2 version of .ivs file format and it can also contain all (and just) the information we need to crack WPA. I do know someone managed to do this manually as a one-off. We should support it. It's very useful for getting much smaller files to take home for cracking. Let's say you sniff for 24h...
Author
Owner

@kholia commented on GitHub (Sep 6, 2013):

Folks in #aircrack-ng (@ZeroChaos and buddha) pointed out that we can solve this problem by doing,

  1. aircrack-ng -J new.hccap original.ivs # create .hccap file from original .ivs file(s).
  2. hccap2john new.hccap > hash
  3. ../run/john hash
<!-- gh-comment-id:23950687 --> @kholia commented on GitHub (Sep 6, 2013): Folks in #aircrack-ng (@ZeroChaos and buddha) pointed out that we can solve this problem by doing, 1. aircrack-ng -J new.hccap original.ivs # create .hccap file from original .ivs file(s). 2. hccap2john new.hccap > hash 3. ../run/john hash
Author
Owner

@magnumripper commented on GitHub (Sep 6, 2013):

Cool, I did not know that. Still, I think we should support reading it directly for good measure. I believe it's trivial.

<!-- gh-comment-id:23969460 --> @magnumripper commented on GitHub (Sep 6, 2013): Cool, I did not know that. Still, I think we should support reading it directly for good measure. I believe it's trivial.
Author
Owner

@magnumripper commented on GitHub (Mar 16, 2014):

Done in b722837d

<!-- gh-comment-id:37770466 --> @magnumripper commented on GitHub (Mar 16, 2014): Done in b722837d
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#108
No description provided.