Don't give the VM any kind of virtual network adapter in the hardware settings: Removing Hardware from a Virtual Machine
Or disconnect the virtual network adapter: Configuring Virtual Network Adapter Device Status Settings
1 person found this helpful
Also, don't enable any of the VMware Shared Folders.
In addition to the above: Only run your virus in a fully up to date VMware Workstation Professional version...
FTR, Workstation 14 has known escapes, so I personally wouldn't run a virus in that and first upgrade to Workstation 15.5
Wil| Author of Vimalin. The virtual machine Backup app for VMware Desktop Products1 person found this helpful
| Vimalin : Automated backups for VMware Fusion and VMware Workstation Professional
| More info at https://www.vimalin.com
| Twitter @wilva
| VMware Wiki at http://www.vi-toolkit.com