APT_MAL_Sandworm_Exaramel_Configuration_File_Ciphertext
Description
Detects contents of the configuration file used by Exaramel (encrypted with key odhyrfjcnfkdtslt, sample e1ff72[...]
Query · yara
strings:
$ = { 6F B6 08 E9 A3 0C 8D 5E DD BE D4 } // encrypted with key odhyrfjcnfkdtslt
condition:
all of them
}
rule APT_MAL_Sandworm_Exaramel_Socket_Path {
meta:
author = "FR/ANSSI/SDO"
description = "Detects path of the unix socket created to prevent concurrent executions in Exaramel malware"
reference = "https://www.cert.ssi.gouv.fr/uploads/CERTFR-2021-CTI-005.pdf"
date = "2021-02-15"
score = 80
id = "3aab84c9-9748-5d11-9cd7-efa9151036cf"
strings:
$ = "/tmp/.applocktx"
condition:
all of them
}
rule APT_MAL_Sandworm_Exaramel_Task_Names {
meta:
author = "FR/ANSSI/SDO"
description = "Detects names of the tasks received from the CC server in Exaramel malware"
reference = "https://www.cert.ssi.gouv.fr/uploads/CERTFR-2021-CTI-005.pdf"
date = "2021-02-15"
score = 80
id = "185f2f3b-bf5c-54af-bca2-400d08bf9c91"
strings:
$ = "App.Delete"
$ = "App.SetServer"
$ = "App.SetProxy"
$ = "App.SetTimeout"
$ = "App.Update"
$ = "IO.ReadFile"
$ = "IO.WriteFile"
$ = "OS.ShellExecute"
condition:
all of them
}
rule APT_MAL_Sandworm_Exaramel_Struct {
meta:
author = "FR/ANSSI/SDO"
description = "Detects the beginning of type _type struct for some of the most important structs in Exaramel malware"
reference = "https://www.cert.ssi.gouv.fr/uploads/CERTFR-2021-CTI-005.pdf"
date = "2021-02-15"
score = 80
id = "8282e485-966c-554d-8e41-70dc1657f5ea"
strings:
$struct_le_config = {70 00 00 00 00 00 00 00 58 00 00 00 00 00 00 00 47 2d 28 42 0? [2] 19}
$struct_le_worker = {30 00 00 00 00 00 00 00 30 00 00 00 00 00 00 00 46 6a 13 e2 0? [2] 19}
$struct_le_client = {20 00 00 00 00 00 00 00 10 00 00 00 00 00 00 00 7b 6a 49 84 0? [2] 19}
$struct_le_report = {30 00 00 00 00 00 00 00 28 00 00 00 00 00 00 00 bf 35 0d f9 0? [2] 19}
$struct_le_task = {50 00 00 00 00 00 00 00 20 00 00 00 00 00 00 00 88 60 a1 c5 0? [2] 19}
condition:
any of them
}
rule APT_MAL_Sandworm_Exaramel_Strings_Typo {
meta:
author = "FR/ANSSI/SDO"
description = "Detects misc strings in Exaramel malware with typos"
reference = "https://www.cert.ssi.gouv.fr/uploads/CERTFR-2021-CTI-005.pdf"
date = "2021-02-15"
score = 80
id = "fdc79b87-eb9e-5751-9474-ff653b073165"
strings:
$typo1 = "/sbin/init | awk "
$typo2 = "Syslog service for monitoring \n"
$typo3 = "Error.Can't update app! Not enough update archive."
$typo4 = ":\"metod\""
condition:
3 of ($typo*)