Symantec Control Compliance Suite provides a mechanism to quickly identify the computers on which the Microsoft Security Bulletin MS17-010: Security Update for Microsoft Windows SMB Server (4013389) is not installed and hence, which are vulnerable to the Petya ransomware attack.
Go here for more details:
https://support.symantec.com/en_US/article.TECH246850.html
For older vulnerabilities such as WannaCry, go here:
https://support.symantec.com/en_US/article.TECH246352.html