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
€96.05
List Price:  €134.47
You save:  €38.42
£78.28
List Price:  £109.60
You save:  £31.31
CA$143.28
List Price:  CA$200.59
You save:  CA$57.31
A$160.13
List Price:  A$224.20
You save:  A$64.06
S$135.03
List Price:  S$189.05
You save:  S$54.02
HK$777
List Price:  HK$1,087.84
You save:  HK$310.83
CHF 88.49
List Price:  CHF 123.89
You save:  CHF 35.40
NOK kr1,126.80
List Price:  NOK kr1,577.57
You save:  NOK kr450.76
DKK kr717.22
List Price:  DKK kr1,004.14
You save:  DKK kr286.92
NZ$176.87
List Price:  NZ$247.63
You save:  NZ$70.75
د.إ367.26
List Price:  د.إ514.17
You save:  د.إ146.91
৳11,929.84
List Price:  ৳16,702.26
You save:  ৳4,772.41
₹8,538.94
List Price:  ₹11,954.85
You save:  ₹3,415.91
RM448.65
List Price:  RM628.13
You save:  RM179.48
₦154,544.52
List Price:  ₦216,368.52
You save:  ₦61,823.99
₨27,792.76
List Price:  ₨38,910.97
You save:  ₨11,118.21
฿3,416.65
List Price:  ฿4,783.45
You save:  ฿1,366.80
₺3,519.17
List Price:  ₺4,926.99
You save:  ₺1,407.81
B$637.56
List Price:  B$892.61
You save:  B$255.05
R1,874.85
List Price:  R2,624.87
You save:  R750.01
Лв188
List Price:  Лв263.20
You save:  Лв75.20
₩145,711.39
List Price:  ₩204,001.77
You save:  ₩58,290.38
₪364.90
List Price:  ₪510.87
You save:  ₪145.97
₱5,865.41
List Price:  ₱8,211.81
You save:  ₱2,346.40
¥15,715.92
List Price:  ¥22,002.92
You save:  ¥6,286.99
MX$2,016.21
List Price:  MX$2,822.78
You save:  MX$806.56
QR363.08
List Price:  QR508.32
You save:  QR145.24
P1,386.50
List Price:  P1,941.15
You save:  P554.65
KSh12,902.70
List Price:  KSh18,064.30
You save:  KSh5,161.60
E£5,082.90
List Price:  E£7,116.27
You save:  E£2,033.36
ብር12,710.92
List Price:  ብር17,795.80
You save:  ብር5,084.87
Kz91,190.88
List Price:  Kz127,670.88
You save:  Kz36,480
CLP$98,919.10
List Price:  CLP$138,490.70
You save:  CLP$39,571.60
CN¥729.82
List Price:  CN¥1,021.78
You save:  CN¥291.96
RD$6,081.12
List Price:  RD$8,513.82
You save:  RD$2,432.69
DA13,508.78
List Price:  DA18,912.83
You save:  DA5,404.05
FJ$231.84
List Price:  FJ$324.58
You save:  FJ$92.74
Q768.97
List Price:  Q1,076.59
You save:  Q307.62
GY$20,886.35
List Price:  GY$29,241.72
You save:  GY$8,355.37
ISK kr13,953.60
List Price:  ISK kr19,535.60
You save:  ISK kr5,582
DH1,006.73
List Price:  DH1,409.47
You save:  DH402.73
L1,841.91
List Price:  L2,578.75
You save:  L736.83
ден5,908.74
List Price:  ден8,272.47
You save:  ден2,363.73
MOP$798.63
List Price:  MOP$1,118.11
You save:  MOP$319.48
N$1,856.28
List Price:  N$2,598.86
You save:  N$742.58
C$3,673.45
List Price:  C$5,142.98
You save:  C$1,469.52
रु13,596.38
List Price:  रु19,035.48
You save:  रु5,439.09
S/371.74
List Price:  S/520.45
You save:  S/148.71
K405.18
List Price:  K567.27
You save:  K162.09
SAR375.47
List Price:  SAR525.68
You save:  SAR150.20
ZK2,762.82
List Price:  ZK3,868.06
You save:  ZK1,105.23
L478.38
List Price:  L669.75
You save:  L191.37
Kč2,417.95
List Price:  Kč3,385.23
You save:  Kč967.27
Ft39,478.73
List Price:  Ft55,271.81
You save:  Ft15,793.07
SEK kr1,088.11
List Price:  SEK kr1,523.40
You save:  SEK kr435.29
ARS$102,698.50
List Price:  ARS$143,782.01
You save:  ARS$41,083.50
Bs689.84
List Price:  Bs965.80
You save:  Bs275.96
COP$441,236.66
List Price:  COP$617,748.98
You save:  COP$176,512.31
₡50,688.88
List Price:  ₡70,966.47
You save:  ₡20,277.58
L2,536.46
List Price:  L3,551.14
You save:  L1,014.68
₲778,577.57
List Price:  ₲1,090,039.75
You save:  ₲311,462.17
$U4,443.67
List Price:  $U6,221.32
You save:  $U1,777.64
zł409.39
List Price:  zł573.17
You save:  zł163.77
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.