what is a mutex malware analysis
A mutex, also called a lock is a program object commonly used to avoid simultaneous access to a resource, such a variable. Itâs used in concurrent programming to allow multiple program threads to share the same resource. Mutexs are usually used by malware creators to avoid the infection of a system by different instances of the same malware. When the trojan infects a system, the first step is to obtain a handle to a ânamedâ mutex, if the process fails, then the malware exits.