BrainCrypt Ransomware Detection

This YARA rule detects the BrainCrypt ransomware by identifying specific byte patterns (strings) associated with its 32-bit and 64-bit versions. The rule looks for functions related to enumerating files for encryption, encrypting files, and connecting to a command-and-control server. The presence of these specific byte sequences indicates the presence of BrainCrypt ransomware.