A non-transitory computer-readable medium having instructions stored thereon, which in response to execution by one or more processors, cause the one or more processors to perform or control performance of operations for a security solution in a virtualized computing environment that includes a host and a virtual machine that runs on the host, the operations comprising:
- identifying, by a security sensor at the virtual machine, an attempt to execute code in the virtual machine;
- generating, by the security sensor, a hash value corresponding to the code;
- sending, by the security sensor to a security engine remote from the host, the generated hash value and a file map that corresponds to the code;
- receiving, by the security sensor from the security engine, a verdict that instructs the security sensor to deny execution of the code based on the security engine having determined from the hash value that the code is malicious;
- receiving, by at least one host-level element of the host from the security engine, the verdict and the file map, wherein the at least one host-level element executes in the host and outside of the virtual machine;
- and
- verifying, by the at least one host-level element based on the verdict and on input/output (I/O) activity associated with the file map, whether the security sensor has successfully enforced the verdict to deny execution of the code.