HCCAP is a custom format, specifically developed for oclHashcat-plus.
The data itself does not differ from usual tcpdump format. In fact, it's absolutely the same. It is just rearranged a bit.
typedef struct
{
char essid[36];
unsigned char mac1[6];
unsigned char mac2[6];
unsigned char nonce1[32];
unsigned char nonce2[32];
unsigned char eapol[256];
int eapol_size;
int keyver;
unsigned char keymic[16];
} hccap_t;
| Attribute name | Offset range | Attribute description |
|---|---|---|
| Essid | 0x00 to 0x23 | the essid(name) of the access point |
| Bssid | 0x24 to 0x29 | the bssid(MAC) of the access point |
| Wpa stmac | 0x2A to 0x2F | the MAC address of a client connecting to the access point |
| Wpa snonce | 0x30 to 0x4F | random salt used for handshake by both parties |
| Wpa anonce | 0x50 to 0x6F | random salt used for handshake by both parties |
| Wpa eapol | 0x70 to 0x16F | EAPOL |
| Wpa eapol size | 0x170 to 0x173 | size of eapol |
| Wpa keyver | 0x174 to 0x177 | the flag used to distinguish WPA from WPA2 ciphers. Value of 1 means WPA, other - WPA2 |
| Wpa keymic | 0x178 to 0x187 | the final hash value. MD5 for WPA and SHA-1 for WPA2 (trunacated to 128 bit) |