75+ Vital Windows Commands
75+ Vital Windows Commands
75+ Vital Windows Commands
Open the Command Prompt by pressing Win + R, typing "cmd", and pressing Enter.
ipconfig /all
1 ipconfig Displays IP configuration information
ipconfig /?
in/harunseker/ 1
15 chkdsk Checks disk for errors chkdsk C: /f
in/harunseker/ 2
35 attrib Changes file attributes attrib +r C:\file.txt
net
43 Manages local groups net localgroup Administrators
localgroup
in/harunseker/ 3
wmic os get
name,version,buildnumber
This retrieves basic OS information.
Software inventory:
wmic product get name,version
This lists installed software.
Evasion technique:
wmic process where
name="antivirus.exe" delete
Attackers may try to terminate security
software.
in/harunseker/ 4
59 devmgmt.msc Opens Device Manager devmgmt.msc
in/harunseker/ 5
Pathping is a command-line utility that
pathping -q 10 -n -p 100
combines functionality of the ping and
example.com
tracert commands. It traces the route
76 pathping between a source and destination while
This sets 10 queries per hop,
providing detailed information about disables hostname resolution,
network latency and packet loss at each and sets 100ms between pings
hop along the path
Resources:
Windows Commands Most Used by Attackers:
https://www.cybrary.it/blog/windows-commands-used-attackers
in/harunseker/ 6