Check whether a file is malicious or not without using open source or sandbox

How can I tell if a file is malicious or not without using any open source tool or running the file in a sandbox?