Base Machine – Kali Linux
Target Computer – Windows 10, Windows Server 2016/2019, Win 7
Kali Linux
$sudo su -
Password :kali
First Stop Firewall on Windows Machine
#nmap -f [target_ip]
Result – Ports will be displayed
Now Turn ON Firewall on Windows and run the command again
#nmap -f [target_ip]
This time your Windows machine doesn't show ports but it will disclose its MAC address