|
Look at File Shares
|
net view \\127.0.0.1 |
|
Open Sessions with Machine
|
net session |
|
Session This machine has Opened
|
net use |
|
NetBIOS over TCP/IP Activity
|
nbtstat -S |
|
List Listening TCP and UDP Ports
|
netstat -na |
|
5 - Continuous Scrolling every 5 seconds
|
netstat -na 5 |
|
-o flag shows process ID -b flag shows executable
|
netstat -naob |
|
Inspect Firewall rules
|
netsh advfirewall show currentprofile |
netsh firewall show config |
|
Unexpected Users in the Administrators Group
|
lusrmgr.msc |
|
List Users
|
net user |
|
List Members of Admin Group
|
net localgroup administrators |
|
List Domain Users
|
net user /domain |
net user /domain > domainUsers.txt
|
Security 4720
|
User Account Created
|
|
Security 4722
|
User Account Enabled
|
|
Security 4724
|
Password Reset
|
|
Security 4738
|
User Account Change
|
|
Security 4732
|
Accout Added or Removed From Group
|
|
Security 1102
|
Audit Log Cleared
|
|
System 7030
|
Basic Service Operations
|
|
System 7045
|
Service Was Installed
|
|
System 1056
|
DHCP Server Oddities
|
|
System 10000
|
COM Functionality
|
|
System 20001
|
Device Driver Installation
|
|
System 20002
|
Remote Access
|
|
System 20003
|
Service Installation
|
|
Users' Autostart Folders
|
dir /s /b "C:\Documents and Settings\ [user name]\Start Menu\" |
dir /s /b "C:\Users\ [user name]\Start Menu\" |
|
|
Use WMIC To find Start Up Programs
|
wmic startup list full |
|
Task List
|
tasklist |
|
`wmic process list full'
|
|
|
Parend Process ID
|
wmic process get name,parentprocessid, processid |
|
Command-Line Options and DLLs
|
tasklist /m /fi "pid eq [pid]" |
wmic process where processid=[pid] get commandline |
taskmgr.exe|
List System Scheduled Tasks
|
schtasks |
C:\reg query hklm\software\microsoft\windows\currentversion\runregedit.exe.Autoruns.exe from SystInternals will pull all Auto Start Entry Points.
|
Services Control Panel
|
services.msc |
|
List Of Sevices Available
|
nets start |
|
Show Service Datail
|
sc query | more |
|
Map of Service from Which Process
|
tasklist /svc |
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.