hashcat v3.40
#1


Welcome to hashcat v3.40 release!

The major changes are the following:
There's also a ton of bugfixes thanks to some very good reports from the users and others found while adding hashcat to the Coverity CI. 

From a performance perspective, there should be no changes to v3.20/v3.30, here's a detailed comparison: https://docs.google.com/spreadsheets/d/1...1439721324

I recommend upgrading even if you did not face any errors with older versions.

Thanks to everyone who contributed to this release!!!



Download here: https://hashcat.net/hashcat/



Features:
  • Added support for loading hccapx files
  • Added support for filtering hccapx message pairs using --hccapx-message-pair
  • Added support for parsing 7-Zip hashes with LZMA/LZMA2 compression indicator set to a non-zero value
  • Added support for decompressing LZMA1/LZMA2 data for -m 11600 = 7-Zip to validate the CRC
  • Added support for automatic merge of LM halfes in case --show and --left is used
  • Added support for showing all user names with --show and --left if --username was specified
  • Added support for GPU temperature management on cygwin build


Algorithms:
  • Added hash-mode  1411 = SSHA-256(Base64), LDAP {SSHA256}
  • Added hash-mode  3910 = md5(md5($pass).md5($salt))
  • Added hash-mode  4010 = md5($salt.md5($salt.$pass))
  • Added hash-mode  4110 = md5($salt.md5($pass.$salt))
  • Added hash-mode  4520 = sha1($salt.sha1($pass))
  • Added hash-mode  4522 = PunBB
  • Added hash-mode  7000 = Fortigate (FortiOS)
  • Added hash-mode 12001 = Atlassian (PBKDF2-HMAC-SHA1)
  • Added hash-mode 14600 = LUKS
  • Added hash-mode 14700 = iTunes Backup < 10.0
  • Added hash-mode 14800 = iTunes Backup >= 10.0
  • Added hash-mode 14900 = Skip32
  • Added hash-mode 15000 = FileZilla Server >= 0.9.55


Fixed Bugs:
  • Fixed a problem within the Kerberos 5 TGS-REP (-m 13100) hash parser
  • Fixed clEnqueueNDRangeKernel(): CL_UNKNOWN_ERROR caused by an invalid work-item count during weak-hash-check
  • Fixed cracking of PeopleSoft Token (-m 13500) if salt length + password length is >= 128 byte
  • Fixed cracking of Plaintext (-m 99999) in case MD4 was used in a previous session
  • Fixed DEScrypt cracking in BF mode in case the hashlist contains more than 16 times the same salt
  • Fixed duplicate detection for WPA handshakes with the same ESSID
  • Fixed nvapi datatype definition for NvS32 and NvU32
  • Fixed overflow in bcrypt kernel in expand_key() function
  • Fixed pointer to local variable outside scope in case -j or -k is used
  • Fixed pointer to local variable outside scope in case --markov-hcstat is not used
  • Fixed recursion in loopback handling when session was aborted by the user
  • Fixed rule 'O' (RULE_OP_MANGLE_OMIT) in host mode in case the offset + length parameter equals the length of the input word
  • Fixed rule 'i' (RULE_OP_MANGLE_INSERT) in host mode in case the offset parameter equals the length of the input word
  • Fixed string not null terminated inside workaround for checking drm driver path
  • Fixed string not null terminated while reading maskfiles
  • Fixed truncation of password after position 32 with the combinator attack
  • Fixed use of option --keyspace in combination with -m 2500 (WPA)
  • Fixed WPA/WPA2 cracking in case eapol frame is >= 248 byte


Workarounds added:
  • Workaround added for AMDGPU-Pro OpenCL runtime: AES encrypt and decrypt Invertkey function was calculated wrong in certain cases
  • Workaround added for AMDGPU-Pro OpenCL runtime: RAR3 kernel require a volatile variable to work correctly
  • Workaround added for Apple OpenCL runtime: bcrypt kernel requires a volatile variable because of a compiler optimization bug
  • Workaround added for NVidia OpenCL runtime: RACF kernel requires EBCDIC lookup to be done on shared memory


Technical:
  • Building: Add SHARED variable to Makefile to choose if hashcat is build as static or shared binary (using libhashcat.so/hashcat.dll)
  • Building: Removed compiler option -march=native as this created problems for maintainers on various distributions
  • Building: Removed the use of RPATH on linker level
  • Building: Replaced linking of CRT_glob.o with the use of int _dowildcard
  • Commandline: Do some checks related to custom-charset options if user specifies them
  • CPU Affinity: Fixed memory leak in case invalid cpu Id was specified
  • Dispatcher: Fixed several memory leaks in case an OpenCL error occurs
  • Events: Improved the maximum event message handling. event_log () will now also internally make sure that the message is properly terminated
  • File Locking: Improved error detection on file locks
  • File Reads: Fixed memory leak in case outfile or hashfile was not accessible
  • File Reads: Improved error detection on file reads, especially when getting the file stats
  • Files: Do several file and folder checks on startup rather than when they are actually used to avoid related error after eventual intense operations
  • Hardware Management: Bring back kernel exec timeout detection for NVidia on user request
  • Hardware Monitor: Fixed several memory leaks in case hash-file writing (caused by --remove) failed
  • Hardware Monitor: Fixed several memory leaks in case no hardware monitor sensor is found
  • Hardware Monitor: In case NVML initialization failed, do not try to initialiaze NVAPI or XNVCTRL because they both depend on NVML
  • Hash Parsing: Added additional bound checks for the SIP digest authentication (MD5) parser (-m 11400)
  • Hash Parsing: Make sure that all files are correctly closed whenever a hash file parsing error occurs
  • Helper: Added functions to check existence, type, read- and write-permissions and rewrite sources to use them instead of stat()
  • Keyfile handling: Make sure that the memory is cleanly freed whenever a VeraCrypt/TrueCrypt keyfile fails to load
  • Mask Checks: Added additional memory cleanups after parsing/verifying masks
  • Mask Checks: Added integer overflow detection for a keyspace of a mask provided by user
  • Mask Increment: Fixed memory leak in case mask_append() fails
  • OpenCL Device: Do a check on available constant memory size and abort if it's less than 64kB
  • OpenCL Device Management: Fixed several memory leaks in case initialization of an OpenCL device or platform failed
  • OpenCL Header: Updated CL_* errorcode to OpenCL 1.2 standard
  • OpenCL Kernel: Move kernel binary buffer from heap to stack memory
  • OpenCL Kernel: Refactored read_kernel_binary to load only a single kernel for a single device
  • OpenCL Kernel: Remove "static" keyword from function declarations; Causes older Intel OpenCL runtimes to fail compiling
  • OpenCL Kernel: Renumbered hash-mode 7600 to 4521
  • OpenCL Runtime: Added a warning about using Mesa OpenCL runtime
  • OpenCL Runtime: Updated AMDGPU-Pro driver version check, do warn if version 16.60 is detected which is known to be broken
  • Outfile Check: Fixed a memory leak for failed outfile reads
  • Restore: Add some checks on the rd->cwd variable in restore case
  • Rule Engine: Fixed several memory leaks in case loading of rules failed
  • Session Management: Automatically set dedicated session names for non-cracking parameters, for example: --stdout
  • Session Management: Fixed several memory leaks in case profile- or install-folder setup failed
  • Sessions: Move out handling of multiple instance from restore file into separate pidfile
  • Status screen: Do not try to clear prompt in --quiet mode
  • Tests: Fixed the timeout status code value and increased the runtime to 400 seconds
  • Threads: Restored strerror as %m is unsupported by the BSDs
  • Wordlists: Disable dictstat handling for hash-mode 3000 as it virtually creates words in the wordlist which is not the case for other modes
  • Wordlists: Fixed memory leak in case access a file in a wordlist folder fails
  • WPA: Changed format for outfile and potfile from essid:mac1:mac2 to hash:mac_ap:mac_sta:essid
  • WPA: Changed format for outfile_check from essid:mac1:mac2 to hash


- atom
#2
Great job ;-)
We will check 14100 :-)
#3
Thanks for the new version and your cool work
#4
ISSUE ?

Code:
C:\hashcat>hashcat64.exe -a 3 -1 efghijklmnop ?1?1?1 --keyspace

You need to specify a mask if you specify a custom-charset
#5
First of all, Thanks for the new release, I can't imagine the amount of work went into it.
I like the WPA/WPA2/hccapx improvement, especially this part "verification is done after the slow PBKDF-HMAC-SHA1 part. IOW, you get this features for free."
I have a problem though. I'm testing hccapx it have 40 handshakes of the same AP, the Time-Estimated is over a month. I know it will finish in hours, day maybe, but the psychological effect is a kick!!! A more realistic Estimated-Time if possible.
#6
Thanks again atom & team for this new version!
#7
Thank you so much for new version!