Checking Mouse Activity

Some Sandbox doesn’t have the mouse moving or a fun wallpaper, malware can detect if there is any activities into the sandbox.


Detection Rules

    name: check for unmoving mouse cursor
    namespace: anti-analysis/anti-vm/vm-detection
    author: BitsOfBinary
    scope: function
      - Defense Evasion::Virtualization/Sandbox Evasion::User Activity Based Checks [T1497.002]
      - Anti-Behavioral Analysis::Virtual Machine Detection::Human User Check [B0009.012]
      - 7E17F0F35D50F49407841372F24FBD38:0x4010f6
    - and:
      - count(api(user32.GetCursorPos)): 2 or more

Additional Resources

Subscribe to our Newsletter

The information entered into this form is mandatory. It will be subjected to computer processing. It is processed by computer in order to support our users and readers. The recipients of the data will be :

According to the Data Protection Act of January 6th, 1978, you have at any time, a right of access to and rectification of all of your personal data. If you wish to exercise this right and gain access to your personal data, please write to Thomas Roccia at

You may also oppose, for legitimate reasons, the processing of your personal data.