1. A non-transitory computer-readable medium storing computer-executable instructions that when executed by a processor of a computer cause the computer to: in response to receiving a request to place a virtual machine on one of a plurality of hosts, determine that the request is directed towards placing the virtual machine on a host meeting one or more resource requirements; analyze the plurality of hosts to identify a set of candidate hosts, comprising a first host and a second host, determined to meet the one or more resource requirements; analyze the first host to calculate a first threat score for the first host; analyze the second host to calculate a second threat score for the second host; compare the first threat score to the second threat score; select a host with a lowest threat score from the set of candidate hosts, and place the virtual machine on the selected host; reanalyze the selected host to calculate an updated threat score for the selected host based upon the placement of the virtual machine on the selected host; and in response to determining that the updated threat score exceeds a threshold threat score, move the virtual machine or one or more other virtual machines from the selected host to a third host.