hashcat Forum
Markov attack - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat-utils, maskprocessor, statsprocessor, md5stress, wikistrip (https://hashcat.net/forum/forum-28.html)
+--- Thread: Markov attack (/thread-6245.html)



Markov attack - vladimir125 - 01-28-2017

Hello everyone,

some time ago I remember I read something about Markov chains in hashcat, stating that Hashcat always uses them when launching a bruteforce attack. 
I wanted to take a look at it but I can't find the original article in the wiki: I can see there are several links to "to be defined" articles, but nothing more.
Is this true? With all the refactoring, is this option still available (or does it make sense at all)? Where can I find some details and suggestions on how use it?


RE: Markov attack - Jiminy - 01-29-2017

The hashcat help file worked for me. hashcat.64 --help >help.txt
Then you can read it at your leisure.


RE: Markov attack - vladimir125 - 01-30-2017

I am aware of the help screen.
My question is: is this kind of attack useful? Or used to be and then with the refactoring became less efficient/useful?


RE: Markov attack - philsmd - 01-30-2017

It's not a special "kind of attack", instead it is "just" one of many optimisations.

It is on by default in hashcat (to disable it you need to use --markov-disable).

You can see the differences by using these 2 commands:
(markov enabled):
Code:
./hashcat -a 3 --stdout ?d
1
2
3
0
4
7
8
6
5
9
(markov disabled, you need to specify/force that):
Code:
./hashcat -a 3 --stdout --markov-disable ?d
0
1
2
3
4
5
6
7
8
9

To make this very clear: markov doesn't change the overall number of hashes you will crack (it will be always the same amount). Instead, what changes is that with markov the likelihood/probability that you crack a password faster (because of the markov model = probability of each character depending on its position) will increase. General speaking, it's as simple as this (there is no real magic behind it).


RE: Markov attack - vladimir125 - 01-30-2017

Thank you, I was remembering those info but I couldn't find any "official" source.
Thank you very much for pointing it out.