So start by deploying the machine waits for the IP address to get displayed.
let us put this <ip> address under nmap scan
root@kali# nmap -A <ip>
From this result we know it is running 3 ports under 1000 and it is using Microsoft windows 7 professional service pack 1
lets Scan with the vuln NSE scripts in Nmap to check weather these port and services are vulnerable or not.
root$kali> nmap --script vuln <ip> -vv
So, it says the port is vulnerable to smb-vuln-ms17-010