Here I find an interesting phenomenon, that I get different MAC address using different Nmap options.
With my Kali OS, I type nmap -sS 192.168.1.4
to start a "half-open" scan.
Starting Nmap 7.70( https://nmap.org ) at 2018-07-04 12:38 UTC
Nmap scan report for 192.168.1.4
Host shown: 999 closed ports
PORT STATE unknown
49159/tcp open unknown
MAC Address: 94:XX:XX:XX:XX:XX (Tp-link Technologies)
then I type nmap -O 192.168.1.4
to detect target's OS.
Starting Nmap 7.70( https://nmap.org ) at 2018-07-04 12:39 UTC
Nmap scan report for 192.168.1.4
Host shown: 999 closed ports
PORT STATE SERVICE
49159/tcp open unknown
MAC Address: 18:XX:XX:XX:XX:XX( Apple )
As you see, I got two different MAC address!
I wonder why this happens, and what technology Nmap uses to detect OS?