From 4a9f8a1e759713a370e0a3757d2d94895205e189 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Thu, 23 Jul 2020 12:56:21 +0200 Subject: [PATCH] Fixed false negatives in hash-mode 10901 if hash-mode 9200, 10000, 10900 or 20300 was used to compile the kernel binary --- docs/changes.txt | 7 ++++--- src/modules/module_09200.c | 2 +- src/modules/module_10000.c | 2 +- src/modules/module_10900.c | 2 +- src/modules/module_20300.c | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index 53772dfec..b89acb341 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -11,8 +11,9 @@ ## Bugs ## -- Fixed integer overflow for large masks in -a 6 attack mode - Fixed alias detection with additional processor core count check +- Fixed false negatives in hash-mode 10901 if hash-mode 9200, 10000, 10900 or 20300 was used to compile the kernel binary +- Fixed integer overflow for large masks in -a 6 attack mode - Fixed maximum password length in modules of hash-modes 600, 7800, 7801 and 9900 - Fixed non-zero status code when using --stdout - Fixed uninitialized value in bitsliced DES kernel (BF mode only) leading to false negatives @@ -21,12 +22,12 @@ ## Improvements ## -- Compile ZLIB: Fixed makefile include paths in case USE_SYSTEM_ZLIB is used - Compile macOS: Fixed makefile target 'clean' to correctly remove *.dSYM folders +- Compile ZLIB: Fixed makefile include paths in case USE_SYSTEM_ZLIB is used - OpenCL Kernels: Added datatypes to literals of enum costants - OpenCL Kernels: Added pure kernels for hash-mode 600 (BLAKE2b-512) -- OpenCL Runtime: Reinterpret return code CL_DEVICE_NOT_FOUND from clGetDeviceIDs() as non-fatal - OpenCL Runtime: Add some unstable warnings for some SHA512 based algorithms on AMD GPU on macOS +- OpenCL Runtime: Reinterpret return code CL_DEVICE_NOT_FOUND from clGetDeviceIDs() as non-fatal ## ## Technical diff --git a/src/modules/module_09200.c b/src/modules/module_09200.c index 13d63eead..48764e871 100644 --- a/src/modules/module_09200.c +++ b/src/modules/module_09200.c @@ -15,7 +15,7 @@ static const u32 DGST_POS0 = 0; static const u32 DGST_POS1 = 1; static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; -static const u32 DGST_SIZE = DGST_SIZE_4_32; +static const u32 DGST_SIZE = DGST_SIZE_4_64; static const u32 HASH_CATEGORY = HASH_CATEGORY_OS; static const char *HASH_NAME = "Cisco-IOS $8$ (PBKDF2-SHA256)"; static const u64 KERN_TYPE = 10900; diff --git a/src/modules/module_10000.c b/src/modules/module_10000.c index dff0015e2..a9406b49f 100644 --- a/src/modules/module_10000.c +++ b/src/modules/module_10000.c @@ -15,7 +15,7 @@ static const u32 DGST_POS0 = 0; static const u32 DGST_POS1 = 1; static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; -static const u32 DGST_SIZE = DGST_SIZE_4_32; +static const u32 DGST_SIZE = DGST_SIZE_4_64; static const u32 HASH_CATEGORY = HASH_CATEGORY_FRAMEWORK; static const char *HASH_NAME = "Django (PBKDF2-SHA256)"; static const u64 KERN_TYPE = 10900; diff --git a/src/modules/module_10900.c b/src/modules/module_10900.c index 9e629949b..60cf7679b 100644 --- a/src/modules/module_10900.c +++ b/src/modules/module_10900.c @@ -15,7 +15,7 @@ static const u32 DGST_POS0 = 0; static const u32 DGST_POS1 = 1; static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; -static const u32 DGST_SIZE = DGST_SIZE_4_32; +static const u32 DGST_SIZE = DGST_SIZE_4_64; static const u32 HASH_CATEGORY = HASH_CATEGORY_GENERIC_KDF; static const char *HASH_NAME = "PBKDF2-HMAC-SHA256"; static const u64 KERN_TYPE = 10900; diff --git a/src/modules/module_20300.c b/src/modules/module_20300.c index 57dca6697..132e5ce4c 100644 --- a/src/modules/module_20300.c +++ b/src/modules/module_20300.c @@ -15,7 +15,7 @@ static const u32 DGST_POS0 = 0; static const u32 DGST_POS1 = 1; static const u32 DGST_POS2 = 2; static const u32 DGST_POS3 = 3; -static const u32 DGST_SIZE = DGST_SIZE_4_32; +static const u32 DGST_SIZE = DGST_SIZE_4_64; static const u32 HASH_CATEGORY = HASH_CATEGORY_GENERIC_KDF; static const char *HASH_NAME = "Python passlib pbkdf2-sha256"; static const u64 KERN_TYPE = 10900;