SUSP_Two_Byte_XOR_PE_And_MZ
Description
Look for 2 byte xor of a PE starting at offset 0
Query · yara
condition:
uint16(0) != 0x5a4d and
uint32((uint16(0x3c) ^ (uint16(0) ^ 0x5a4d)) | ((uint16(0x3e) ^ (uint16(0) ^ 0x5a4d)) << 16)) ^ ((uint16(0) ^ 0x5a4d) | ((uint16(0) ^ 0x5a4d) << 16)) == 0x00004550