MAL_ELF_TorchTriton
Description
Detection for backdoor (TorchTriton) distributed with a nightly build of PyTorch
Query · yara
strings:
$error = "failed to send packet"
$aes_key = "gIdk8tzrHLOM)mPY-R)QgG[;yRXYCZFU"
$aes_iv = "?BVsNqL]S.Ni"
// std::vector<std::__cxx11::basic_string<char> > splitIntoDomains(const string&, const string&, const string&)
$func01 = "splitIntoDomains("
$func02 = "packageForTransport"
$func03 = "gatherFiles"
// void sendFile(const string&, const string&, int, int, const string&)
$func04 = "void sendFile("
//enc Domain
$domain = "&z-%`-(*"
condition:
uint32(0) == 0x464c457f and (
(all of ($aes_*)) or
(all of ($func*) and $error) or
($domain and 2 of them)
)