You have just noticed that an unknown executable file has been downloaded to your machine.

Is there a way to tell what the file does before opening it?

  • 1
    By reverse-engineering it? Jan 19 at 16:03
  • Probably read some bytes and reverse what type of file is.
    – camp0
    Jan 19 at 16:12
  • 1
    Fire up a VM, and open it there?
    – mti2935
    Jan 19 at 16:18

What you are looking for is an approach called a "sandbox". It opens or runs the file in a safe bubble to see what it does and to look for malicious actions it might take.

There are many ways to do this and many tools to use. Virtual Machines can be used as a sandbox, there are online sandboxes, and there are tools you can install on your machine that can give you a lot of control.

It is also possible to "decompile" or inspect the file to get a lot of information about what it might do. This is known as "reverse engineering". This is not as complete as running it in a sandbox, but it can offer some detail before you run it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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