Take the 2-minute tour ×
Information Security Stack Exchange is a question and answer site for Information security professionals. It's 100% free, no registration required.

I'm analyzing some malicious files on a VM and I'm noticing that every time I open a file, the host's antivirus detects it.

Why does this happen? Is the malicious content escaping to the host?

share|improve this question
    
out of curiosity, what VM technology are you using? –  CtrlDot Feb 26 at 15:41
    
I'm using VirtualBox –  yzT Feb 26 at 22:14

2 Answers 2

What I'd guess is happening is: When the guest OS reads an infected file, the hypervisor reads part for of the virtual disk file, the host anti-virus intercepts this read, scans it for viruses, and detects the virus in the guest.

As a workaround I would configure your host AV to ignore the virtual disk files.

share|improve this answer

It seems like the host and the VM are not isolated.

Maybe, there is a network connection whenever you open this file. Moreover, the antivirus may have detected a threat if there are shared folders between the VM and the host.

I would check the network configuration and the shared files.

share|improve this answer
    
No shared files, guest's network adapter is configured as NAT. –  yzT Feb 26 at 13:00
    
Ok, what software do you use for virtualization? –  crato Feb 26 at 13:23

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.