From b3ee00affc5e2303eb844dd7420e6a1273cf4c00 Mon Sep 17 00:00:00 2001 From: blackorbird <137812951@qq.com> Date: Tue, 18 Jun 2019 11:15:43 +0800 Subject: [PATCH] Add files via upload --- Chafer-APT29/TREKX.YAR | 99 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 Chafer-APT29/TREKX.YAR diff --git a/Chafer-APT29/TREKX.YAR b/Chafer-APT29/TREKX.YAR new file mode 100644 index 0000000..cb77867 --- /dev/null +++ b/Chafer-APT29/TREKX.YAR @@ -0,0 +1,99 @@ +rule TREKX_Backdoor + +{ + +meta: + +description = “X-Force IRIS TREKX Backdoor” + +version = “1” + +md5 = “01e4391421d56698bcaa1f3c05bd9818” + +strings: + +$ = “3.001.” wide ascii + +$ = “2.TT.” wide ascii + +$ = “4.PSPR.” wide ascii + +$ = “4.RSPM.” wide ascii + +$ = “TREK” wide ascii + +$ = “TREC” wide ascii + +$ = “TREX” wide ascii + +$ = “*.tmp” wide ascii + +$ = “SOFTWARE\\Microsoft\\DRM” wide ascii + +$ = “srv.dat” wide ascii + +$ = “” wide ascii + +$ = “File1” wide ascii + +$ = “vf%03d” wide ascii + +$ = “error 1!” wide ascii + +$ = “{????????-????-????-????-????????????}” wide ascii + +condition: + +(uint16(0) == 0x5a4d) and (5 of them) + +} + +rule TREKX_Backdoor_Config + +{ + +meta: + +description = “X-Force IRIS TREKX Backdoor Configuration” + +version = “1” + +md5 = “ede89b446d8703dd13d26168e8d58865” + +md5 = “7c08601341888b413779a3b33d8bf6dc” + +condition: + +// These are all the checks performed by the TREKX backdoor + +// (md5:01e4391421d56698bcaa1f3c05bd9818) when + +// checking the validity of the configuration file + +( + +(uint32(0) == 0x00AE2A6D) + +or + +(uint32(0) == 0x031B9D63) + +) + +and + +( + +filesize >= 230 + +) + +and + +( + +uint16(filesize-2) == 0x0054 + +) + +} \ No newline at end of file