We'll walk through this one together. First, we have to open up our back door from the actual host
that we have up here to our Kali box, but we have to open up our listener first.
Let's go ahead and go into sudo msfconsole. Then after that loads, we need to set everything up
to use the right exploit and payload. Start off with use exploit and then multi-handler.
This information is up in the first part of our skill and in previous skills throughout this
course. Once we identified the exploit that we're going to be using, we're going to set the listener
host to 192.168.0.53, this particular system, and the actual set port to 4444. The reason we're
picking these particular IPs and port numbers is because that's how our dummy.exe was configured.
It's automatically made to go to that particular IP address and port. Once those are set, let's
just go ahead and exploit to open up our listener. Once our listener is running, we can actually go
to our host in the share folder, open that up, and double click on dummy. I'll go ahead and minimize
that. You can see that we just had a session open up inside of our command shell. One thing I do want
to point out real quick too is that I didn't set the generic shell for reverse TCP. Let's hit ctrl
c real quick. Again, I like keeping these mistakes in there just so that way you can see that I too
make these mistakes. We're going to set our payload specifically, keeping the same parameters
in here, payload over to Windows. Okay, x64 slash meterpreter slash reverse and TCP.
Now that we have that set, we can do our show options
and make sure our IP address and port are still set. Now we can type in exploit and then go back
and run the dummy.exe again because it's more configured to a Windows x64 system instead of
just a generic reverse shell. Keep that in mind too. I'm going to give this just a second to open
up and I'll be right back. Okay, it's already loaded back up. We're inside of that particular
system. How do we know? Well, first we can do ipconfig, if I can spell it right,
and it gives us an outline of what IP addresses we're on, NICs and everything like that. We are
on 192.168.0.1. Knowing that, let's go ahead and go into shell. We're at the desktop share folder
on the host Hyper-V system. I'm going to type in system info. Once we have all this opened up,
we can scroll up and then get a zoom in real quick right there. We can see that we are using,
specifically for our quiz question, build 20348 in Microsoft Windows Server 22 data center.
That's just us getting a basic layout of what this system is and what quick access information
we get about the system itself, the users, and all the hotfixes and network information.
Remember, all we're doing here is just getting an idea of what's on the particular system,
enumeration of information. As we continue through the skills and course, we're going to be able to
get further into the weeds on actually wrecking house inside of Windows and other operating
systems. I hope this has been informative for you, and I'd like to thank you for viewing.