Here are the results of my analysis of TrickBot Banking Trojan mcconfs shared up to the end of the week commencing 30th July 2018. This analysis covers 2,537 unique C2 IP addresses used in 529 mcconfs across 294 versions, with highest versions of A-1000242, B-1000068, and C-1000198.
Background:
Since its first use from approximately 19th October 2016, TrickBot has frequently issued new versions of its XML configuration file, mcconf. Originally there was a single chain of config versions which started at 1000002. (There may have been a 1000001 but it is not been shared publicly.) I refer to this original sequence as iteration A. On 16th November 2017 TrickBot mcconfs were issued for older version numbers than the current iteration A configs, but with different command and control (C2) servers to those in that version’s iteration A config. This indicated the start of iteration B, a new sequence of configs believed to be for a second botnet. While there is a small amount of overlap of the C2 servers between iteration A and iteration B, the majority of C2 servers are specific to an iteration (hence botnet). The iteration B botnet stopped receiving new configs on 28th February 2018. As of 28th March 2018 another iteration, iteration C, was started, once again repeating previously used version numbers but with different C2 server lists. Victim hosts in that third botnet were merged into the iteration A botnet as of 23rd May 2018.
This week’s analysis:
Figure 1 shows the rate of discovery of TrickBot versions in the wild, based on shared mcconfs. The flatter the line, the more frequently versions are discovered. Ignore the two long, almost vertical lines which coincide with the switch from one iteration to the next. These vertical lines are purely an artefact of graphing the data in a single series. (Note: Full size versions of all the graphs and tables are available via the link at the end of this post.)
There were four new config versions discovered in the week commencing 30th July 2018 (A-1000239, A-1000240, A-1000241, and A-1000242), four the week before, and five the week before that. All new config versions extend the iteration A botnet, taking this to 1000242. The secondary, iteration B, botnet was not extended in the discovered versions and remains unchanged since 1000068 of 28th February 2018. The tertiary, iteration C, botnet was merged into the iteration A botnet on 23rd May 2018.
- 443 (HTTPS);
- 444 (Simple Network Paging Protocol) – INACTIVE;
- 445 (IBM AS Server Mapper) – INACTIVE;
- 449 (Cray Network Semaphore Server); and
- 451 (SMB) – INACTIVE.
Figure 2 - TrickBot SRV Port Usage (Iteration A) |
Figure 3 - TrickBot SRV Port Usage (Iterations B and C) |
Figure 4 - TrickBot Top 25 SRV |
44 unique C2 servers were used in the mcconfs from this week, of which 25 (57%) were new. Figure 6 shows the proportional server count of mcconfs shared each week (when compared to the greatest count in a week), along with the percentage churn of the servers. The linear churn trend line (dotted) highlights that the churn percentage is reducing, with an increasing number of servers being re-used from one week to the next. (The 8 week rolling average, dashed, shows that this trend recently levelled off.) Other than last week, the previous twelve weeks had seen the number of new servers detected averaging just under 50, with counts of 50, 58, 56, 50, 52, 35, 50, 50, 45, 45, 28, and 44.
The reducing churn percentage, regular number of unique C2 servers used per week, stabilised length of mcconf server list, and stable percentage of :443 servers all demonstrate the increased maturity and stability of TrickBot infrastructure management.
Figure 6 - TrickBot Weekly Advertised SRV Count and Churn |
Figure 7 - TrickBot SRV IP Address BGP Prefix Country Codes |
According to Shodan’s most recent data:
- Nine are Ubiquiti devices and five are MikroTik devices.
- 21 are running nginx, 14 are running Dropbear SSH, 13 are running OpenSSH, two are running Apache, two are running uc-httpd, one is running Exim, and one is running IIS.
Figure 8 - TrickBot C2 Server IP Locations For New Configs |
Figure 9 - TrickBot Top 25 BGP Prefixes |
Thanks to hasherezade, mpvillafranca94, JR0driguezB, 0bscureC0de, VK_Intel, K_N1kolenko, botNET___, ArnaudDlms, StackGazer, voidm4p, James_inthe_box, MakFLwana, ddoxer, spalomaresg, virsoz, moutonplacide, JasonMilletary, Ring0x0, precisionsec, Techhelplistcom, pollo290987, MalHunters, coldshell, 0x7fff9, kobebryamV2, dvk01uk, benkow, MalwareSecrets, SaurabhSha15, abuse_ch, HerbieZimmerman, Artilllerie, and mesa_matt.
This post was made by @EscInSecurity and first appeared on https://escinsecurity.blogspot.com/.
Article Link: https://escinsecurity.blogspot.com/2018/08/weekly-trickbot-analysis-end-of-wc-30.html