KVM-based virtual machine introspection for malware analysis