hashcat.git
8 years agoMerge pull request #251 from Fist0urs/Fix_AxCrypt_test
Jens Steube [Wed, 2 Mar 2016 14:42:54 +0000 (15:42 +0100)]
Merge pull request #251 from Fist0urs/Fix_AxCrypt_test

-m 13200 Fix test.pl split

8 years ago-m 13200 Fix test.pl split
Fist0urs [Wed, 2 Mar 2016 12:55:24 +0000 (13:55 +0100)]
-m 13200 Fix test.pl split

8 years agoMerge pull request #250 from Fist0urs/13100_fix_overflow
Jens Steube [Wed, 2 Mar 2016 09:43:52 +0000 (10:43 +0100)]
Merge pull request #250 from Fist0urs/13100_fix_overflow

-m 13100 Fix overflow in input hash parsing

8 years ago-m 13100 Fix overflow in input hash parsing
Fist0urs [Wed, 2 Mar 2016 09:31:54 +0000 (10:31 +0100)]
-m 13100 Fix overflow in input hash parsing

8 years agoMerge pull request #249 from Fist0urs/AxCrypt_format
Jens Steube [Wed, 2 Mar 2016 09:07:17 +0000 (10:07 +0100)]
Merge pull request #249 from Fist0urs/AxCrypt_format

New format -m 13200 AxCrypt

8 years agoNew format -m 13200 AxCrypt
Fist0urs [Tue, 1 Mar 2016 17:56:46 +0000 (18:56 +0100)]
New format -m 13200 AxCrypt

8 years agoNew SIMD code for -a 1 -m 1460
Jens Steube [Sun, 28 Feb 2016 18:58:16 +0000 (19:58 +0100)]
New SIMD code for -a 1 -m 1460

8 years agoNew SIMD code for -a 1 -m 1450
Jens Steube [Sun, 28 Feb 2016 18:58:13 +0000 (19:58 +0100)]
New SIMD code for -a 1 -m 1450

8 years agoNew SIMD code for -a 1 -m 1440
Jens Steube [Sun, 28 Feb 2016 18:58:09 +0000 (19:58 +0100)]
New SIMD code for -a 1 -m 1440

8 years agoNew SIMD code for -a 1 -m 1430
Jens Steube [Sun, 28 Feb 2016 18:58:06 +0000 (19:58 +0100)]
New SIMD code for -a 1 -m 1430

8 years agoNew SIMD code for -a 1 -m 1420
Jens Steube [Sun, 28 Feb 2016 18:58:02 +0000 (19:58 +0100)]
New SIMD code for -a 1 -m 1420

8 years agoNew SIMD code for -a 1 -m 1410
Jens Steube [Sun, 28 Feb 2016 18:57:59 +0000 (19:57 +0100)]
New SIMD code for -a 1 -m 1410

8 years agoNew SIMD code for -a 1 -m 1400
Jens Steube [Sun, 28 Feb 2016 18:57:55 +0000 (19:57 +0100)]
New SIMD code for -a 1 -m 1400

8 years agoMerge pull request #243 from philsmd/master
Jens Steube [Sun, 28 Feb 2016 12:28:29 +0000 (13:28 +0100)]
Merge pull request #243 from philsmd/master

cast to uint is required with some gcc versions, otherwise we get a shift-negative-value warning

8 years agocast to uint is required with some gcc versions, otherwise we get a shift-negative...
philsmd [Sat, 27 Feb 2016 18:56:20 +0000 (19:56 +0100)]
cast to uint is required with some gcc versions, otherwise we get a shift-negative-value warning

8 years agoAdd missing function append_0x01_2x4_S()
Jens Steube [Sat, 27 Feb 2016 16:29:27 +0000 (17:29 +0100)]
Add missing function append_0x01_2x4_S()

8 years agoMerge pull request #241 from philsmd/master
Jens Steube [Sat, 27 Feb 2016 16:20:08 +0000 (17:20 +0100)]
Merge pull request #241 from philsmd/master

minor: reformatting of recently changed code + use uint instead of unsigned int

8 years agoFixed two major problems
jsteube [Sat, 27 Feb 2016 16:18:54 +0000 (17:18 +0100)]
Fixed two major problems

1) SIMD code for all attack-mode

Macro vector_accessible() was not refactored and missing completely.
Had to rename variables rules_cnt, combs_cnt and bfs_cnt into il_cnt which was a good thing anyway as with new SIMD code they all act in the same way.

2) SIMD code for attack-mode 0

With new SIMD code, apply_rules_vect() has to return u32 not u32x.
This has massive impact on all *_a0 kernels.

I've rewritten most of them. Deep testing using test.sh is still required.

Some kernel need more fixes:

- Some are kind of completely incompatible like m10400 but they still use old check_* includes, we should get rid of them as they are no longer neccessary as we have simd.c
- Some have a chance but require additional effort like m11500. We can use commented out "#define NEW_SIMD_CODE" to find them

This change can have negative impact on -a0 performance for device that require vectorization. That is mostly CPU devices. New GPU's are all scalar, so they wont get hurt by this.
This change also proofes that there's no way to efficiently vectorize kernel rules with new SIMD code, but it enables the addition of the rule functions like @ that we were missing for some long time. This is a TODO.

8 years agominor: reformatting of recently changed code + use uint instead of unsigned int
philsmd [Thu, 25 Feb 2016 10:13:11 +0000 (11:13 +0100)]
minor: reformatting of recently changed code + use uint instead of unsigned int

8 years agoMerge pull request #239 from philsmd/master
Jens Steube [Wed, 24 Feb 2016 18:53:17 +0000 (19:53 +0100)]
Merge pull request #239 from philsmd/master

this fixes the beta issue #163 (-d and --opencl-platforms not within valid range)

8 years agothis fixes the beta issue #163 (-d and --opencl-platforms not within valid range)
philsmd [Wed, 24 Feb 2016 18:50:05 +0000 (19:50 +0100)]
this fixes the beta issue #163 (-d and --opencl-platforms not within valid range)

8 years agoMerge pull request #237 from gpuhash/master
Jens Steube [Wed, 24 Feb 2016 14:56:02 +0000 (15:56 +0100)]
Merge pull request #237 from gpuhash/master

Fairly strict stamping of WPA salt components

8 years agoCleanup of all raw-SHA1 based algorithms
Jens Steube [Wed, 24 Feb 2016 14:27:02 +0000 (15:27 +0100)]
Cleanup of all raw-SHA1 based algorithms

8 years agoCleanup of all raw-MD5 based algorithms; small change important for later changes
Jens Steube [Wed, 24 Feb 2016 12:40:38 +0000 (13:40 +0100)]
Cleanup of all raw-MD5 based algorithms; small change important for later changes

8 years agoCleanup of all raw-MD5 based algorithms; Should be done for all raw-SHA1, -SHA256...
Jens Steube [Wed, 24 Feb 2016 10:35:13 +0000 (11:35 +0100)]
Cleanup of all raw-MD5 based algorithms; Should be done for all raw-SHA1, -SHA256 and -SHA512 based algorithms as well

8 years agoFix this evil bug, pw->i is u32, not u8
Jens Steube [Tue, 23 Feb 2016 20:24:03 +0000 (21:24 +0100)]
Fix this evil bug, pw->i is u32, not u8

8 years agoAdd another example of an old budget GPU that benefits from higher vector width than...
Jens Steube [Tue, 23 Feb 2016 19:53:55 +0000 (20:53 +0100)]
Add another example of an old budget GPU that benefits from higher vector width than returned by preferred

8 years agoMinor bugfix
gpuhash [Tue, 23 Feb 2016 19:01:55 +0000 (22:01 +0300)]
Minor bugfix

8 years agoFairly strict stamping of WPA salt components
gpuhash [Tue, 23 Feb 2016 18:31:18 +0000 (21:31 +0300)]
Fairly strict stamping of WPA salt components

8 years agoEnsure a minimum length for password candidates in autotune
Jens Steube [Tue, 23 Feb 2016 17:51:28 +0000 (18:51 +0100)]
Ensure a minimum length for password candidates in autotune

8 years agoWe still need on initial testrun in autotune
Jens Steube [Tue, 23 Feb 2016 14:36:06 +0000 (15:36 +0100)]
We still need on initial testrun in autotune

8 years agoDo not use values that can actually crack a hash in autotune
Jens Steube [Tue, 23 Feb 2016 14:00:56 +0000 (15:00 +0100)]
Do not use values that can actually crack a hash in autotune

8 years agoSpeed up -m 20 in -a 3 mode
Jens Steube [Tue, 23 Feb 2016 11:18:47 +0000 (12:18 +0100)]
Speed up -m 20 in -a 3 mode

8 years agoFix missing memset after previous fix
Jens Steube [Tue, 23 Feb 2016 09:52:02 +0000 (10:52 +0100)]
Fix missing memset after previous fix

8 years agoEvil Bug: Because of not-zeroing a buffer it's possible a hash was cracked but not...
Jens Steube [Tue, 23 Feb 2016 09:36:43 +0000 (10:36 +0100)]
Evil Bug: Because of not-zeroing a buffer it's possible a hash was cracked but not reported as cracked because it was not in scope, but when it was in scope it was already marked as cracked and therefore not reported

8 years agoTry to load libOpenCL.so.1 if libOpenCL.so was not found
Jens Steube [Tue, 23 Feb 2016 06:57:52 +0000 (07:57 +0100)]
Try to load libOpenCL.so.1 if libOpenCL.so was not found

8 years agoIncrease salt length for raw-md5 based algorithms
Jens Steube [Mon, 22 Feb 2016 20:35:37 +0000 (21:35 +0100)]
Increase salt length for raw-md5 based algorithms

8 years agoZero pws_buf before reuse
Jens Steube [Mon, 22 Feb 2016 20:33:33 +0000 (21:33 +0100)]
Zero pws_buf before reuse

8 years agoRevert "Zero pws_buf before reuse"
Jens Steube [Mon, 22 Feb 2016 20:32:38 +0000 (21:32 +0100)]
Revert "Zero pws_buf before reuse"

This reverts commit b409e5e9e162927b25af88e672326b246f17ec5f.

8 years agoZero pws_buf before reuse
Jens Steube [Mon, 22 Feb 2016 20:20:16 +0000 (21:20 +0100)]
Zero pws_buf before reuse

8 years agoFix use of find_kernel_power_div()
Jens Steube [Mon, 22 Feb 2016 11:50:04 +0000 (12:50 +0100)]
Fix use of find_kernel_power_div()

8 years agoGet rid of old pw_cache mechanism to control host-based vector data-types
Jens Steube [Mon, 22 Feb 2016 10:57:37 +0000 (11:57 +0100)]
Get rid of old pw_cache mechanism to control host-based vector data-types

8 years agoAdd auto-append for 0x01 and 0x80 in ATTACK_MODE_HYBRID2
Jens Steube [Mon, 22 Feb 2016 09:36:04 +0000 (10:36 +0100)]
Add auto-append for 0x01 and 0x80 in ATTACK_MODE_HYBRID2

8 years agoNew SIMD code for -a 1 -m 100
Jens Steube [Mon, 22 Feb 2016 09:09:16 +0000 (10:09 +0100)]
New SIMD code for -a 1 -m 100

8 years agoNew SIMD code for -a 1 -m 60
Jens Steube [Mon, 22 Feb 2016 09:02:23 +0000 (10:02 +0100)]
New SIMD code for -a 1 -m 60

8 years agoNew SIMD code for -a 1 -m 40
Jens Steube [Mon, 22 Feb 2016 09:01:55 +0000 (10:01 +0100)]
New SIMD code for -a 1 -m 40

8 years agoNew SIMD code for -a 1 -m 40
Jens Steube [Mon, 22 Feb 2016 09:01:53 +0000 (10:01 +0100)]
New SIMD code for -a 1 -m 40

8 years agoNew SIMD code for -a 1 -m 30
Jens Steube [Mon, 22 Feb 2016 09:01:49 +0000 (10:01 +0100)]
New SIMD code for -a 1 -m 30

8 years agoNew SIMD code for -a 1 -m 20
Jens Steube [Sun, 21 Feb 2016 17:40:10 +0000 (18:40 +0100)]
New SIMD code for -a 1 -m 20

8 years agoNew SIMD code for -a 1 -m 10
Jens Steube [Sun, 21 Feb 2016 17:40:06 +0000 (18:40 +0100)]
New SIMD code for -a 1 -m 10

8 years agoNew SIMD code for -a 1 -m 0
Jens Steube [Sun, 21 Feb 2016 17:40:01 +0000 (18:40 +0100)]
New SIMD code for -a 1 -m 0

8 years agoNew SIMD code for -a 1 prepare
Jens Steube [Sun, 21 Feb 2016 17:39:44 +0000 (18:39 +0100)]
New SIMD code for -a 1 prepare

8 years agoAutotune should respect --quiet parameter
Jens Steube [Sun, 21 Feb 2016 17:23:04 +0000 (18:23 +0100)]
Autotune should respect --quiet parameter

8 years agoFix force_jit_compilation usage
Jens Steube [Sun, 21 Feb 2016 12:30:28 +0000 (13:30 +0100)]
Fix force_jit_compilation usage

8 years agoPrepare NEW_SIMD_MODE for -a 1 kernels
Jens Steube [Sat, 20 Feb 2016 15:13:06 +0000 (16:13 +0100)]
Prepare NEW_SIMD_MODE for -a 1 kernels

8 years agoMerge pull request #233 from Fist0urs/format_krb5tgs
Jens Steube [Sat, 20 Feb 2016 11:47:01 +0000 (12:47 +0100)]
Merge pull request #233 from Fist0urs/format_krb5tgs

Fix test.pl verify -m 13100

8 years agoFix test.pl verify
Fist0urs [Sat, 20 Feb 2016 00:38:00 +0000 (01:38 +0100)]
Fix test.pl verify

8 years agoAdd hard-wired Device-Name for Tuning-Database which matches all Device-Types:
Jens Steube [Fri, 19 Feb 2016 23:58:22 +0000 (00:58 +0100)]
Add hard-wired Device-Name for Tuning-Database which matches all Device-Types:
- DEVICE_TYPE_CPU
- DEVICE_TYPE_GPU
- DEVICE_TYPE_ACCELERATOR
Optimized IRIS GPU workaround settings

8 years agoMerge pull request #232 from Fist0urs/format_krb5tgs
Jens Steube [Fri, 19 Feb 2016 23:05:30 +0000 (00:05 +0100)]
Merge pull request #232 from Fist0urs/format_krb5tgs

Add verification of checksum for -m 13100

8 years agoAdd verification of checksum for -m 13100
Fist0urs [Fri, 19 Feb 2016 22:12:46 +0000 (23:12 +0100)]
Add verification of checksum for -m 13100
This avoid collisions by arc4'ing all data then hmac-md5
when valid ASN1 structures headers are found.
Performance should not be impacted.

8 years agoAllow mixed settings auto and fixed values for parameter and inside tuningdb for...
Jens Steube [Fri, 19 Feb 2016 17:58:03 +0000 (18:58 +0100)]
Allow mixed settings auto and fixed values for parameter and inside tuningdb for loops and accel

8 years agoSimplify steps for autotune
Jens Steube [Thu, 18 Feb 2016 13:44:44 +0000 (14:44 +0100)]
Simplify steps for autotune

8 years agoFix final autotune balancing
Jens Steube [Thu, 18 Feb 2016 12:04:25 +0000 (13:04 +0100)]
Fix final autotune balancing

8 years agoMove fake word generation to try_run() to avoid unwanted caching
Jens Steube [Thu, 18 Feb 2016 09:49:23 +0000 (10:49 +0100)]
Move fake word generation to try_run() to avoid unwanted caching

8 years agoMerge pull request #230 from magnumripper/master
Jens Steube [Thu, 18 Feb 2016 08:02:01 +0000 (09:02 +0100)]
Merge pull request #230 from magnumripper/master

Support vector width 16

8 years agoAllow and support vector-width 16, which is current maximum for
magnum [Tue, 16 Feb 2016 15:42:08 +0000 (16:42 +0100)]
Allow and support vector-width 16, which is current maximum for
OpenCL. Closes #226.

8 years agoSimplify code. No change in functionality at all.
magnum [Tue, 16 Feb 2016 14:14:15 +0000 (15:14 +0100)]
Simplify code. No change in functionality at all.

8 years agoMerge pull request #229 from Fist0urs/format_krb5tgs
Jens Steube [Wed, 17 Feb 2016 14:11:43 +0000 (15:11 +0100)]
Merge pull request #229 from Fist0urs/format_krb5tgs

Cosmetic change -m 13100

8 years agoCosmetic change -m 13100
Fist0urs [Wed, 17 Feb 2016 12:32:07 +0000 (13:32 +0100)]
Cosmetic change -m 13100
Removed commented part (the commented part was there to implement full last arc4'ing + hmac-md5)
We will see if some people find collision. In this case we will add this last check

8 years agoMerge pull request #228 from philsmd/master
Jens Steube [Wed, 17 Feb 2016 10:33:40 +0000 (11:33 +0100)]
Merge pull request #228 from philsmd/master

minor: some formatting fixes re: #225 (-m 13100 = Kerberos 5 TGS-REP etype 23)

8 years agominor: some formatting fixes re: #225 (-m 13100 = Kerberos 5 TGS-REP etype 23)
philsmd [Wed, 17 Feb 2016 10:02:40 +0000 (11:02 +0100)]
minor: some formatting fixes re: #225 (-m 13100 = Kerberos 5 TGS-REP etype 23)

8 years agoAdd missing changes entry for -m 13100
Jens Steube [Wed, 17 Feb 2016 07:50:12 +0000 (08:50 +0100)]
Add missing changes entry for -m 13100

8 years agoMerge pull request #225 from Fist0urs/format_krb5tgs
Jens Steube [Wed, 17 Feb 2016 07:23:27 +0000 (08:23 +0100)]
Merge pull request #225 from Fist0urs/format_krb5tgs

Initial commit

8 years agoInitial commit
Fist0urs [Tue, 16 Feb 2016 15:34:46 +0000 (16:34 +0100)]
Initial commit

8 years agoFix warp bug on -m 8500
jsteube [Tue, 16 Feb 2016 12:24:36 +0000 (13:24 +0100)]
Fix warp bug on -m 8500

8 years agoFix Truecrypt Whirlpool speed
Jens Steube [Tue, 16 Feb 2016 09:47:40 +0000 (10:47 +0100)]
Fix Truecrypt Whirlpool speed

8 years agoFix old NV Titan OpenCL device name
Jens Steube [Tue, 16 Feb 2016 09:34:28 +0000 (10:34 +0100)]
Fix old NV Titan OpenCL device name

8 years agoReplace OpenCL event's with own timers, this saves us a thread-pair spawned on nvidia...
Jens Steube [Mon, 15 Feb 2016 21:27:30 +0000 (22:27 +0100)]
Replace OpenCL event's with own timers, this saves us a thread-pair spawned on nvidia's OpenCL runtime and doesn't affect others

8 years agoUse CL_DEVICE_NATIVE_VECTOR_WIDTH_* instead of CL_DEVICE_PREFERRED_VECTOR_WIDTH_*
Jens Steube [Mon, 15 Feb 2016 20:19:41 +0000 (21:19 +0100)]
Use CL_DEVICE_NATIVE_VECTOR_WIDTH_* instead of  CL_DEVICE_PREFERRED_VECTOR_WIDTH_*

8 years agoFix autotune in -i mode
Jens Steube [Mon, 15 Feb 2016 20:08:16 +0000 (21:08 +0100)]
Fix autotune in -i mode

8 years agoFix another source of 0H/s in benchmark mode
jsteube [Mon, 15 Feb 2016 19:32:01 +0000 (20:32 +0100)]
Fix another source of 0H/s in benchmark mode

8 years agoMerge pull request #223 from gm4tr1x/clEnqueueNDRangeKernelMod
Jens Steube [Mon, 15 Feb 2016 17:56:03 +0000 (18:56 +0100)]
Merge pull request #223 from gm4tr1x/clEnqueueNDRangeKernelMod

Get rid of hc_clEnqueueNDRangeKernel double call

8 years agoAdd option to repeat the kernel on the device NUM times to increase benchmark accuracy
Jens Steube [Mon, 15 Feb 2016 16:42:09 +0000 (17:42 +0100)]
Add option to repeat the kernel on the device NUM times to increase benchmark accuracy

8 years agoAdd autotune engine to changes
Jens Steube [Mon, 15 Feb 2016 14:09:22 +0000 (15:09 +0100)]
Add autotune engine to changes

8 years agoFinal balance meassurements for autotune
Jens Steube [Mon, 15 Feb 2016 13:57:03 +0000 (14:57 +0100)]
Final balance meassurements for autotune

8 years agoIn benchmark-mode, do not depend any longer on a fixed time, better use a single...
Jens Steube [Mon, 15 Feb 2016 11:38:54 +0000 (12:38 +0100)]
In benchmark-mode, do not depend any longer on a fixed time, better use a single iteration instead

8 years agoRemove measurement section from tuning database and create a forum-thread or wiki...
Jens Steube [Mon, 15 Feb 2016 10:11:20 +0000 (11:11 +0100)]
Remove measurement section from tuning database and create a forum-thread or wiki-entry for it

8 years agoDisable GPU-Temp monitoring during benchmark
Jens Steube [Sun, 14 Feb 2016 19:15:14 +0000 (20:15 +0100)]
Disable GPU-Temp monitoring during benchmark

8 years agoAutotune: 200 loops should be fine for a start
jsteube [Sun, 14 Feb 2016 19:07:16 +0000 (20:07 +0100)]
Autotune: 200 loops should be fine for a start

8 years agoAdd dedicated steps for loops and accel
Jens Steube [Sun, 14 Feb 2016 17:23:21 +0000 (18:23 +0100)]
Add dedicated steps for loops and accel

8 years agoFixed a missing condition
Jens Steube [Sun, 14 Feb 2016 14:50:29 +0000 (15:50 +0100)]
Fixed a missing condition

8 years agoAutotuning engine prototype
Jens Steube [Sun, 14 Feb 2016 14:45:52 +0000 (15:45 +0100)]
Autotuning engine prototype

8 years agoPrepare for better autotuning capabilities
Jens Steube [Sat, 13 Feb 2016 15:07:58 +0000 (16:07 +0100)]
Prepare for better autotuning capabilities

8 years agoGet rid of hc_clEnqueueNDRangeKernel double call
Gabriele 'matrix' Gristina [Fri, 12 Feb 2016 16:11:23 +0000 (17:11 +0100)]
Get rid of hc_clEnqueueNDRangeKernel double call

8 years agoMerge pull request #221 from gm4tr1x/8900tuning
Jens Steube [Fri, 12 Feb 2016 15:35:16 +0000 (16:35 +0100)]
Merge pull request #221 from gm4tr1x/8900tuning

Updated 8900 osx kernel accel

8 years agoMerge pull request #220 from gm4tr1x/weak_hash_check
Jens Steube [Fri, 12 Feb 2016 15:35:09 +0000 (16:35 +0100)]
Merge pull request #220 from gm4tr1x/weak_hash_check

Fix bug in weak_hash_check(), wrong kernel_loops assigned

8 years agoUpdated 8900 osx kernel accel
Gabriele 'matrix' Gristina [Fri, 12 Feb 2016 14:23:35 +0000 (15:23 +0100)]
Updated 8900 osx kernel accel

8 years agoFix bug in weak_hash_check(), wrong kernel_loops assigned
Gabriele 'matrix' Gristina [Fri, 12 Feb 2016 13:04:13 +0000 (14:04 +0100)]
Fix bug in weak_hash_check(), wrong kernel_loops assigned

8 years agoUpdate tuningdb help text
Jens Steube [Thu, 11 Feb 2016 13:26:18 +0000 (14:26 +0100)]
Update tuningdb help text

8 years agoRemove Wordload-Profiles from tuningdb, we can simply calculate it
Jens Steube [Thu, 11 Feb 2016 13:16:08 +0000 (14:16 +0100)]
Remove Wordload-Profiles from tuningdb, we can simply calculate it