Disclaimer: This material is provided solely for educational purposes.
You are fully responsible for how
you use the information.
We
do not encourage any kind of illegal or harmful activity.
- Username and Hostname
- Group Memberships of the Current User
- Existing Users and Groups
- Operating System, Version, and Architecture
- Network Information
- Installed Applications
- Running Processes
- Display detailed configuration information about the computer:
systeminfo
- Show the hostname of the computer:
hostname
- Retrieve OS name, service pack, architecture, and version:
wmic os get Caption,CSDVersion,OSArchitecture,Version
- Fetch operating system details using PowerShell:
powershell Get-WmiObject -Class Win32_OperatingSystem
- Filter system information to show only OS Name and Version:
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
- Retrieve comprehensive system information using PowerShell:
Get-ComputerInfo
- Display the current username:
whoami
- List all user accounts on the system:
net user
- Display information about user sessions on a Remote Desktop Session Host server:
query user
- List all users in the administrators group:
net localgroup administrators
- List local user accounts using PowerShell:
Get-LocalUser
- List members of the administrators group using PowerShell:
Get-LocalGroupMember -Group "Administrators"
- Retrieve detailed user account information using PowerShell:
Get-WmiObject -Class Win32_UserAccount
- Display all current TCP/IP network configuration values:
ipconfig /all
- Display active connections and listening ports:
netstat -ano
- Display the IP routing table:
route print
- Display the ARP cache:
arp -a
- Retrieve IP address configuration using PowerShell:
Get-NetIPAddress
- Retrieve detailed network configuration using PowerShell:
Get-NetIPConfiguration
- List all network adapters using PowerShell:
Get-NetAdapter
- Test network connection to a specified host using PowerShell:
Test-Connection -ComputerName [hostname]
LIST INSTALLED PROGRAMS
- List installed programs:
Get-ChildItem 'C:\Program Files', 'C:\Program Files (x86)' | ft Parent,Name,LastWriteTime
- List installed antivirus:
WMIC /Node:localhost /Namespace:\\root\SecurityCenter2 Path AntivirusProduct Get displayName
- List installed programs using PowerShell:
Get-WmiObject -Class Win32_Product | Select-Object -Property Name,Version
- List installed programs from the registry using PowerShell:
Get-ItemProperty HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, DisplayVersion, Publisher, InstallDate
- List installed packages using PowerShell:
Get-Package
SCHEDULED TASKS
- List all scheduled tasks with verbose details:
schtasks /query /fo LIST /v
- Retrieve scheduled tasks information using PowerShell:
Get-ScheduledTask | Get-ScheduledTaskInfo
- Display detailed information about a specific scheduled task:
schtasks /query /tn <taskname>
SERVICES AND DRIVERS
- List processes that are running as "system":
tasklist /v /fi "username eq system"
- Display information about active services:
sc query
- List all installed device drivers and their properties:
driverquery
- Retrieve the status of services using PowerShell:
Get-Service
- List services with detailed information using PowerShell:
Get-WmiObject -Class Win32_Service
CHECK PERMISSIONS ON FILES/FOLDERS
- Display or modify discretionary access control lists (DACLs) on specified files:
icacls "C:\Path\to\folder"
- Retrieve the access control list for a file or folder using PowerShell:
Get-Acl "C:\Path\to\folder"
- Use Sysinternals tool to check access permissions:
AccessChk.exe -d "C:\Path\to\folder"
LIST USER PRIVILEGES
- List the user privileges for the current user:
whoami /priv
- List local user account details using PowerShell:
Get-LocalUser | Select-Object Name, Enabled, PasswordLastSet, LastLogon
- List all privileges assigned to the current user using PowerShell:
Get-Privilege
ACTIVE CONNECTIONS AND LISTENING PORTS
- Display active connections and listening ports:
netstat -ano
- List TCP connections using PowerShell:
Get-NetTCPConnection
- List UDP endpoints using PowerShell:
Get-NetUDPEndpoint
FIREWALL RULES
- List all firewall rules:
netsh advfirewall firewall show rule name=all
- Retrieve firewall rules using PowerShell:
Get-NetFirewallRule
- Display firewall profile settings using PowerShell:
Get-NetFirewallProfile
DNS CACHE
- Display the contents of the DNS resolver cache:
ipconfig /displaydns
- Retrieve DNS client cache using PowerShell:
Get-DnsClientCache
- Clear the DNS client cache using PowerShell:
Clear-DnsClientCache
VIEWING RECENT DOCUMENTS
- List recent documents:
type %userprofile%\Recent\*.lnk
- List recent documents with their names and last access times:
Get-ChildItem "$env:UserProfile\Recent" | Select-Object Name, LastAccessTime
LIST LARGE FILES
- List large files:
powershell Get-ChildItem -Path C:\ -Recurse | Sort-Object Length -Descending
CHECK AUTOSTART ENTRIES
- List startup programs for all users:
reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Run
- List startup programs for the current user:
reg query HKCU\Software\Microsoft\Windows\CurrentVersion\Run
- Retrieve startup programs using PowerShell:
Get-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Run"
CHECK FOR INSTALLED APPLICATIONS
- List installed applications from the registry:
reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall
- List installed applications using PowerShell:
Get-ItemProperty -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*"
CLIPBOARD CONTENTS
- Retrieve the contents of the clipboard:
powershell Get-Clipboard
LIST LOADED DLLS FOR PROCESSES
- List all running processes and the DLLs they have loaded:
tasklist /m
- List process modules using PowerShell:
Get-Process | Select-Object Name, Modules
WINDOWS EVENT LOGS
- List all event logs:
wevtutil el
- Query the system event log:
wevtutil qe /f:text System
- Retrieve the latest 100 system events using PowerShell:
Get-EventLog -LogName System -Newest 100
- Retrieve the latest 50 security events using PowerShell:
Get-WinEvent -LogName Security -MaxEvents 50
RUNNING PROCESSES
- List all running processes:
tasklist
- Retrieve information about running processes using PowerShell:
Get-Process
- Retrieve detailed system information using PowerShell:
Get-ComputerInfo
NETWORK CONFIGURATION
- Retrieve network configuration using PowerShell:
Get-NetIPConfiguration
- List all network adapters using PowerShell:
Get-NetAdapter
INSTALLED HOTFIXES
- List all installed hotfixes:
wmic qfe list
- Retrieve installed hotfixes using PowerShell:
Get-HotFix
ENVIRONMENT VARIABLES
- Display environment variables:
set
- Retrieve environment variables using PowerShell:
Get-ChildItem Env:
RUNNING TASKS
- List all scheduled tasks:
schtasks
- Retrieve scheduled tasks using PowerShell:
Get-ScheduledTask
SYSTEM UPTIME
- Display server statistics including uptime:
net stats srv
- Retrieve system uptime using PowerShell:
Get-Uptime
POWERSHELL EXECUTION POLICY
- Display the current PowerShell execution policy:
Get-ExecutionPolicy