Video - Passwords Cracking Using Mimikatz

11 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€91.83
List Price:  €128.57
You save:  €36.73
£77.40
List Price:  £108.37
You save:  £30.96
CA$137.71
List Price:  CA$192.80
You save:  CA$55.09
A$149.59
List Price:  A$209.44
You save:  A$59.84
S$134.48
List Price:  S$188.28
You save:  S$53.80
HK$780.99
List Price:  HK$1,093.42
You save:  HK$312.43
CHF 88.87
List Price:  CHF 124.42
You save:  CHF 35.55
NOK kr1,092.25
List Price:  NOK kr1,529.19
You save:  NOK kr436.94
DKK kr685.52
List Price:  DKK kr959.75
You save:  DKK kr274.23
NZ$166.28
List Price:  NZ$232.81
You save:  NZ$66.52
د.إ367.26
List Price:  د.إ514.18
You save:  د.إ146.92
৳11,741.01
List Price:  ৳16,437.88
You save:  ৳4,696.87
₹8,372.21
List Price:  ₹11,721.43
You save:  ₹3,349.22
RM468.68
List Price:  RM656.18
You save:  RM187.49
₦166,379.78
List Price:  ₦232,938.35
You save:  ₦66,558.56
₨27,788.72
List Price:  ₨38,905.32
You save:  ₨11,116.60
฿3,633.29
List Price:  ฿5,086.75
You save:  ฿1,453.46
₺3,302.46
List Price:  ₺4,623.58
You save:  ₺1,321.12
B$559.99
List Price:  B$784.01
You save:  B$224.02
R1,827.57
List Price:  R2,558.67
You save:  R731.10
Лв179.84
List Price:  Лв251.79
You save:  Лв71.94
₩138,966.10
List Price:  ₩194,558.10
You save:  ₩55,592
₪366.35
List Price:  ₪512.91
You save:  ₪146.55
₱5,839.25
List Price:  ₱8,175.19
You save:  ₱2,335.93
¥15,746.92
List Price:  ¥22,046.32
You save:  ¥6,299.40
MX$1,806.20
List Price:  MX$2,528.76
You save:  MX$722.55
QR364.68
List Price:  QR510.57
You save:  QR145.88
P1,353.12
List Price:  P1,894.42
You save:  P541.30
KSh12,839.91
List Price:  KSh17,976.40
You save:  KSh5,136.48
E£4,821.16
List Price:  E£6,749.82
You save:  E£1,928.65
ብር5,728.13
List Price:  ብር8,019.61
You save:  ብር2,291.48
Kz87,254.77
List Price:  Kz122,160.17
You save:  Kz34,905.40
CLP$94,165.85
List Price:  CLP$131,835.96
You save:  CLP$37,670.10
CN¥726.92
List Price:  CN¥1,017.72
You save:  CN¥290.80
RD$5,915.94
List Price:  RD$8,282.56
You save:  RD$2,366.61
DA13,459.55
List Price:  DA18,843.91
You save:  DA5,384.36
FJ$223.54
List Price:  FJ$312.97
You save:  FJ$89.42
Q776.39
List Price:  Q1,086.99
You save:  Q310.59
GY$20,905.03
List Price:  GY$29,267.89
You save:  GY$8,362.85
ISK kr13,755.22
List Price:  ISK kr19,257.87
You save:  ISK kr5,502.64
DH984.58
List Price:  DH1,378.46
You save:  DH393.87
L1,768.63
List Price:  L2,476.15
You save:  L707.52
ден5,656.13
List Price:  ден7,918.82
You save:  ден2,262.68
MOP$803.72
List Price:  MOP$1,125.24
You save:  MOP$321.52
N$1,832.80
List Price:  N$2,566
You save:  N$733.19
C$3,677.72
List Price:  C$5,148.96
You save:  C$1,471.23
रु13,375.42
List Price:  रु18,726.12
You save:  रु5,350.70
S/374.16
List Price:  S/523.84
You save:  S/149.68
K391.36
List Price:  K547.92
You save:  K156.56
SAR375.04
List Price:  SAR525.08
You save:  SAR150.03
ZK2,550.54
List Price:  ZK3,570.86
You save:  ZK1,020.31
L456.59
List Price:  L639.25
You save:  L182.65
Kč2,317.81
List Price:  Kč3,245.03
You save:  Kč927.22
Ft35,847.25
List Price:  Ft50,187.59
You save:  Ft14,340.33
SEK kr1,067.89
List Price:  SEK kr1,495.09
You save:  SEK kr427.19
ARS$92,404.20
List Price:  ARS$129,369.57
You save:  ARS$36,965.37
Bs690.46
List Price:  Bs966.68
You save:  Bs276.21
COP$404,587
List Price:  COP$566,437.98
You save:  COP$161,850.98
₡52,430.08
List Price:  ₡73,404.21
You save:  ₡20,974.13
L2,474.80
List Price:  L3,464.82
You save:  L990.01
₲755,565.28
List Price:  ₲1,057,821.62
You save:  ₲302,256.33
$U4,029.23
List Price:  $U5,641.08
You save:  $U1,611.85
zł393.80
List Price:  zł551.34
You save:  zł157.53
Already have an account? Log In

Transcript

Greetings. In this short video presentation, we're going to take a look at how we go about cracking passwords using Mimi cat. For this lab demonstration, we'll be using my full install of Kali Linux, and my victim will be a Windows XP Professional SP two. So let's go ahead and get started. To begin the lab, we're going to open up our terminal and we're going to launch misquote. We're going to launch meta sploit by typing in an MSF console at the terminal and we're going to hit Enter, and in just a moment, misquote will start to come up the next step the lab we're going to use the Nmap scripting engine to scan my network for machines that may have vulnerabilities on any of their first 1000 ports.

So I'm going to assume that I don't know where my victim is. But I do know that the network IP, which is the first three octets The network or the IP address of meaning machine on the network is 192 dot 168 dot 145. And I want to tell an Nmap. To use a scripting engine and scan that last octet for any of the 255 hosts that may be present on the network, I'm going to go ahead and hit enter. Now this is my network IP address, yours will differ. So make sure that you run an IF config or an IP config on one of your Windows machine to get those first three octets.

So my scan has completed. Now from my network scan results, I find that I have a machine with the IP address of 192 dot 168 that 145 dot 129 that is vulnerable for a certain exploit. This is the MS 08067 SMB exploitation, exploit. So that's good because we are we are familiar with With this exploit, so we're going to use this to establish that backdoor that we need with meta predator. Let's go ahead and see how we do that. So we got a target machine and IP address of 129.

Well, we need to find out some more information. So we're going to dig just a little bit deeper with another end map script. So I'm gonna go ahead and post or paste in the command from my lab. And this is a SMB LS discovery script. And I want to find out exactly how vulnerable this one to nine target actually is. This end map script is going to tell me all the information I need to know about the OSS, the service pack all the good information that we want to know before we launch our attack.

I'm gonna go ahead and hit Enter. And just a moment, the scan results are going to be returned. My second scan has completed against my potential target and we see that the results come back and it tells us that this is a Windows XP machine. tells us the name of the machine tells us as a member of a workgroup. But we're mostly interested in the fact that it's a Windows XP machine. So we're going to go ahead and continue on with trying to exploit this meta squad is already up and running inside of the terminal.

And we know that it does have a exploit for this particular vulnerability, so we're going to search for it. So at the command prompt, I'm just going to type in search for Ms 08 underscore 067. To see what results we get with this. And now it's looking for this particular exploit. And then it's going to give us some results such as what type of machines we can run it against, exploit has come back with with its results and it found a matching module. So what we're going to do now is we're just going to copy the name of the exploit just like that.

We're going to right click, Copy that. Now we're going to go back down to the MSF crop, and we're going to type in use. Now I'm going to right click, and I'm going to paste the name of that exploit, and I'm going to hit Enter, and it comes back letting me know that it has loaded the exploit forming. To find out what options have to be set for this exploit. I can now type in the word options and hit Enter. And it tells us that the remote host must be set that is going to use Port 445.

That's the SMP service port also tells us that the pipe name to use is browser service SMBs. And so we're going to set the IP address for the remote host. That is a requirement. So let's see how we go about doing that. We start off with the set command and then we type in the name of the option that we want to set. In this case, I want to set the IP address for the arrows or the remote host.

And we know that my victim from the scan results has a host IP of 129 on the 145 network. So we're going to go ahead and type all that in. So it's set space, our host, the IP address, or of the target. Now this is my target, yours will different. I'm going to go ahead and hit Enter, and it comes back letting me know that the remote host IP address has been set. Now you can go ahead and type in options again, if you like.

And look at those results. And you'll see that the current setting reflects what we've just configured for the remote host. Now that we have a target identified to launch the exploit to we can go ahead and launch the exploit up inside of meta sploit. by just typing in the exploit command at the prompt. I'm going to go ahead and hit Enter. And in just a moment, it'll reach over and it will find the remote host and come back and get us a medal.

Creditor prompt. If you don't see the Prop, then the export did not complete successfully. And that's probably going to be 99% of the time a connectivity issue. So make sure that both of these machines can see each other. The metal credit prop tells me that we have connected to the target machine. So what I'm going to do now is load the mimic cats on to the target machine so that we can try to capture some passwords.

So use the command load Mimi cats, and this is going to load this on to their remote target, and it comes back letting me know that that did succeed successfully. If you would like to see what version of Mimi cats you are running, you can use the following command. Mimi cats underscore command space dash f space version. I'll go ahead and run that. And we're going to hit enter and it comes back letting me know that the following version is to find out one option are available for password cracking in Mimi cats, we can use the help command in conjunction with its name so it's helped space Mimi cats. I'm going to go ahead and hit enter, it comes back letting me know that the following options are available.

To see what commands are available with Mimi cats, we can type in the following at the prompt. Mimi cats underscore command space dash f space, f, u, colon colon. Now you see that this is all in French, but you get an idea of what commands we're going to be wanting to use here. For instance, the the SAM dump, that's gonna be one, and the other one is going to be that sec here, LSA. So those are a couple of the commands that we're going to be utilizing for this lab. So we know that all passwords that are stored on any Windows machine are stored in a hash, but Mimi Katz is powerful enough to find that hash password and decrypt it.

So let's see how it does that. So the first thing we have to do is who Locate and see those hash passwords on the witness machine. And to do this, we're going to use the cd command at the prompt. So I'm going to go ahead and hit Enter. And Mimi Katz brings up the hash passwords that it found on the target machine. Now we know that Windows likes to use Kerberos as his algorithm for hashing passwords.

So we're going to tell Mimi Katz to decrypt these passwords, or to decrypt the hash using the Kerberos command. So I'm now going to go ahead and hit Enter, and it comes back up and it has cracked those passwords. Notice that the administrator password is password. We know that from the previous labs. And so that's how easy it was for me to do this. Now, of course, this is just an example.

If it had been a very complicated password, it could have taken longer So we use Mimi cats in this example, to pull passwords out of memory. And it was then able to encrypt those hash passwords that were in memory and bring to us in clear text. Our next command is going to find the SAM file, and it's going to dump the hash passwords for us onto our screen. So I'm gonna type in mimikatz underscore command space dash f space Sam dump, colon, colon hashes going to go ahead and hit Enter. And there are the hashed passwords from the SAM file. Now that mimikatz has located the SAM file and pulls down the hash passwords, we need to decrypt them.

To do that, we're going to use the Mimi cats underscore command space dash f space, secure LSA colon colon search passwords. Again, remember that everything here is case sensitive. I'm going to go ahead and do that. Enter. In just a moment, it comes back to the prompt letting me know that the command completed successfully and it brings me the passwords decrypt from the SAM file. That concludes this short video presentation on how we go about cracking passwords using Mimi cats.

In this short video presentation, we got to look at how we go about capturing passwords that were stored up inside of the memory, and how we break that encryption using Mimi Katz and also how we locate the SAM file, how we pull those passwords out of the SAM file with their hash and then decrypt them using another command up inside of mimic cat. So if you have any questions or you have any concerns about what we just saw in this lab, please don't hesitate to contact your instructor and I'll see you in my next video.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.