hashcat Forum
Token length exception - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: Token length exception (/thread-8645.html)



Token length exception - Bussys - 09-17-2019

Hi,  i am new to hashcat and encountered problem with the hash file.   

I have the following encryption details about an MS Excel file (hash value masked).   Would someone help to provide hints on how to formulate the correct hashfile for feeding to the command?

Many thanks. 

@<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<encryption xmlns="http://schemas.microsoft.com/office/2006/encryption" xmlns:p="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><keyData saltSize="16" blockSize="16" keyBits="128" hashSize="20" cipherAlgorithm="AES" cipherChaining="ChainingModeCBC" hashAlgorithm="SHA1" saltValue="ZzzzzXWwXqRmy25MJ99Wg=="/><dataIntegrity encryptedHmacKey="ZzzzzzThci72rH/f3Dlik67i6CjaI4QchJaddLMhHuQ=" encryptedHmacValue="+ZzzzzzsGEkbmy8jCw/WjgdN/NXgHfXLPUHHxXs21d8="/><keyEncryptors><keyEncryptor uri="http://schemas.microsoft.com/office/2006/keyEncryptor/password"><p:encryptedKey spinCount="100000" saltSize="16" blockSize="16" keyBits="128" hashSize="20" cipherAlgorithm="AES" cipherChaining="ChainingModeCBC" hashAlgorithm="SHA1" saltValue="Zzzzzhu9SfCUQw4hu8JlQ==" encryptedVerifierHashInput="ZzzzzYW020MSTLA/QZ77g==" encryptedVerifierHashValue="ZzzzzzYbpUkIT/nTgU1CguV0uPN80KWz6cSbLncvqi4=" encryptedKeyValue="ZzzzzdEhisrCKJlgsTTdA=="/></keyEncryptor></keyEncryptors></encryption>


RE: Token length exception - DanielG - 09-17-2019

extracting hash from MS Excel file can be done by reading this part of the wiki: https://hashcat.net/wiki/doku.php?id=frequently_asked_questions#how_do_i_extract_the_hashes_from_office_word_excel_etc_documents