MAL_APT_NK_Andariel_Grease2


Description

Detects the Grease2 malware family used by Andariel

Query · yara

strings:
      /* I bet this was an error and fixed the strings - I allow you to kick my butt when I'm wrong
      $str_rdpconf = "c: \\windows\\temp\\RDPConf.exe" fullword nocase
      $str_rdpwinst = "c: \\windows\\temp\\RDPWInst.exe" fullword nocase
      */
      $str_rdpconf = "emp\\RDPConf.exe"  // I removed the beginning of the string because the spaces looked like an error and I don't want to use nocase here, F.R.
      $str_rdpwinst = "emp\\RDPWInst.exe"
      $str_net_user = "net user"
      $str_admins_add = "net localgroup administrators"
   condition:
      uint16(0) == 0x5A4D and
      all of them
Raw source MAL_APT_NK_Andariel_Grease2 · YARA
Esc
Published by Neo23x0/signature-base ↗, licensed under Detection Rule License 1.1 ↗. Reproduced here unmodified.
rule MAL_APT_NK_Andariel_Grease2 {
   meta:
      author = "CISA.gov (modified by Florian Roth, Nextron Systems)"
      description = "Detects the Grease2 malware family used by Andariel"
      reference = "https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-207a"
      date = "2024-07-25"
      modified = "2024-07-26"
      score = 80
      id = "4defbe08-b3c6-5ab9-9a57-cec57ff42d9a"
   strings:
      /* I bet this was an error and fixed the strings - I allow you to kick my butt when I'm wrong
      $str_rdpconf = "c: \\windows\\temp\\RDPConf.exe" fullword nocase
      $str_rdpwinst = "c: \\windows\\temp\\RDPWInst.exe" fullword nocase
      */
      $str_rdpconf = "emp\\RDPConf.exe"  // I removed the beginning of the string because the spaces looked like an error and I don't want to use nocase here, F.R.
      $str_rdpwinst = "emp\\RDPWInst.exe"
      $str_net_user = "net user"
      $str_admins_add = "net localgroup administrators"
   condition:
      uint16(0) == 0x5A4D and
      all of them
}

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.