Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

[Tutorial] ~ Post Exploitation Part II: System Information Gathering

Hello everyone! :D

Today, I'll be writing a tutorial on Windows Post-exploitation. If you followed the last tutorial LOCATED HERE you have an NT AUTHORITY meterpreter shell running regardless of the user's privileges on the box. Now, we're going to use this to our advantage and find out some information about the box.

Part II: System Information Gathering


What is information Gathering?
Essentially, we want to gather information pertaining to this machine. This can mean passwords as well as files or network information.

What is a Backdoor?
A backdoor is an application that sits idly on the victim's computer until we intrude and connect to it.


1. Sysinfo

Upon running sysinfo, we can see:
  • Computer Name
  • Operating System & Build
  • Architecture
  • Language
  • Meterpreter Payload Type

[Image: kzXaycG.png]


2. Shell and Windows Scripting

Typing shell in the meterpreter session will spawn a windows system shell. Here, you can see that running net users shows me the users of the computer.

[Image: CC7U5ac.png]

Okay, great! How about we look at some users.

net user goodies

[Image: 3Dfi926.png]

Just getting a feel for the owner


3. Hashdump

run hashdump will dump both the password hints and the password hashes.

[Image: A9AmRUr.png]

In my case, the password hint is the password. However, you can use JTR, Hashcat, or simply use googledorks to try and crack the hash. This is not what that tutorial is about though :P That will have to be done on your own time.

This can also possibly be used, in an NTLM authenticated SMB usershare, to log into other machines via pass the hash, psexec, or smbexec.


4. Packet Sniffing

My personal favorite :)

First, run ipconfig so we can see which interface has the IP address assigned to it.

[Image: jKULI98.png]

In my case, it's Intel® PRO/1000 MT Destop Adapter. That's important, remember that.

Next, load the sniffer module by typing use sniffer . You can then type help to show the commands specific to the sniffer module.

[Image: 3aTeuCn.png]

[Image: oJ85qsA.png]

running sniffer_interfaces shows that interface ID 2 is what I must use for the sniffing.

[Image: o0nMCfn.png]

Let's start the sniffer:
sniffer_start 2 100000
100000 = The max number of packets allowed capture.

After a while, when you want to dump it, you can dump it by running:
sniffer_dump 2 /tmp/something.pcap

where 2 is the ID and /tmp/something.pcap is the pcap file that will be created and saved.

Stop and flush the sniffer with:
sniffer_stop 2
sniffer_release 2


Thank You for Reading Part II
SRPP Discord Server

I am a professional network/cloud security architect.
My Old Tutorials
Note: If you "reset" the password then no Encrypted files will work unless you have the original password (I can't remember the exact windows terminolgy but I think it's like bitlocker or something)
Great tutorial, very useful, thanks.
Things I love - Pentesting,Python,Linux,CryptoCurrencies,Legion,Server Administration,Raspberry Pi - PM me if you wanna talk!
Freelance Pentester and Python coder.
[Image: 2EOBWgX.png]
Thanks for this man, well-made and useful tutorial!
This will be very helpful whenever I can find out how to get VMware for free. Thanks :D
(Mar 19, 2014 11:53 AM)WheredYouGo Wrote:  This will be very helpful whenever I can find out how to get VMware for free. Thanks :D

You can use VirtualBox, it's a virtualization software just like VMWare but it's free :) https://www.virtualbox.org/wiki/Downloads

Or, I heard there are some people sharing VMWare on some torrent sites lol

Good luck! 🤝
Nice tut. Hope to see more of these HQ tuts in this section :)
(Mar 19, 2014 01:10 PM)prokeen Wrote:  You can use VirtualBox, it's a virtualization software just like VMWare but it's free :) https://www.virtualbox.org/wiki/Downloads

Or, I heard there are some people sharing VMWare on some torrent sites lol

Good luck! 🤝

Hey thanks! Haven't heard of Virtualbox, but I'd still need to get a $100 copy of windows 7 in order to use it though right? Sorry for posting off topic :/ Would pm if I could
(Mar 19, 2014 08:57 PM)WheredYouGo Wrote:  Hey thanks! Haven't heard of Virtualbox, but I'd still need to get a $100 copy of windows 7 in order to use it though right? Sorry for posting off topic :/ Would pm if I could

If you're looking for a legal copy, sure. The. Pirate. Bay. Dot. Se.
SRPP Discord Server

I am a professional network/cloud security architect.
My Old Tutorials
(Mar 19, 2014 09:44 PM)Goodies Wrote:  If you're looking for a legal copy, sure. The. Pirate. Bay. Dot. Se.

Alright thanks, think I might as well just buy a $300 windows laptop. Great tutorial though!


Possibly Related Threads...
Thread / Author Replies Views Last Post
by SkunT3lloApr 26, 2025 12:31 AM 7 498 Apr 26, 2025 12:31 AM
Last Post: Depicide
by darkgradeAug 18, 2024 11:04 PM 15 462 Aug 18, 2024 11:04 PM
Last Post: Brill
by ClumsyAug 17, 2024 11:11 AM 1 172 Aug 17, 2024 11:11 AM
Last Post: mrshlash