
Now let us unfold a relationship between malware's and entropy. Wow you are really thinking like an analyst. Okay….So, what it has to do with malwares ? He was an amazing guy, anyway so technically entropy is just probability of finding data in the file. Beware that here we are talking about Shannon Entropy named after a great mathematician Shannon Claude. Entropy actually is a measure of randomness of data in the file. In simple language entropy is nothing but an amount of information present in the message (In communication terminology). Right before we move ahead we must know what the heck entropy is. I found its real use after reading several articles and papers.

Developer of this tool knew very well what does this feature means since they have another button embedded on graph page i.e save image. This tab was simply design to show an entropy graph to an analyst, but it was just a tip of an Ice berg. While working on Detect it easy or simply DIE I noticed one tab of this tool called as Entropy. To prevent termination of the Thanos malware, the malware also performs the following service control and taskkill commands.Entropy Analysis : A critical test for malware's. Net.exe stop sophos /y Other Tactics for Bypassing Detection Net.exe stop BackupExecManagementService /y Net.exe stop BackupExecDiveciMediaService /y Net.exe stop BackupExecAgentAccelerator /y Net.exe stop NetBackup BMR MTFTP Service /y The list of net.exe commands that can be executed is shown below. This tool is used to hide processes from any monitoring tool that uses NtQuerySystemInformation. The malware is also able to download the tool ProcessHide from the internet. Checks if the host machine is Windows XP.Virtual machines usually use a small hard drive.

Checks if the malware is running on a system with a small hard drive.This virtual environment allows for controlled testing of untrusted programs and web surfing. Sandboxie creates an isolated operating environment in which applications can be run or installed without permanently modifying the local system. Sandboxie is an open-source sandboxing program for Microsoft Windows. This is done to check if the malware is running under Sandboxie. Searches to see if sbiedll.dll is loaded by calling GetModuleHandleA.Calls the function CheckRemoteDebuggerPresent() to check if there is a debugger attached to the process.Checks if a virtual machine is being used, such as VMware or VirtualBox.

If one of them is true, the malware process will kill itself. In the above code, the program is able to detect five conditions.
