To detect a computer virus in a host file (100), an emulating module (414)
emulates the host file (100) in a virtual machine (422) having a virtual
memory (426). While emulating the host file (100), the system (400)
tracks the host file's access of the virtual memory (426). Responsive to
an access in a non-normal address range of the virtual memory (426) by
the host file (100), a flag recording module (522) sets a flag. A virus
reporting module (526) declares a potential virus based on whether the
flag is set.