Emptiness: A New Evolving Botnet
<!--kg-card-begin: markdown--><h1 id="background">Background</h1>
<p>Our honeypot system captured a new DDoS botnet sample on 2019-06-23. We named it Emptiness which comes from the running process name as well as its C2 domain. Emptiness is written by Golang and supports both Windows and Linux. Our further analysis reveal its iterative evolution: the early version Emptiness was only armed with DDoS function and was propagated through Mirai.shiina variant botnet that had been run by the same author for a long time. The latter version Emptiness was added with ssh scan to enable self-propagation. Besides, C2 communication protocols of both Emptiness and Mirai.shiina kept changing constantly, which increases the difficulty of being tracked by security researchers.</p>
<h1 id="thetimelineofemptiness">The Timeline of Emptiness</h1>
<ul>
<li>
<p>2019-06-09: we first observed Emptiness download URL,but was not able to download the bot sample at that time.<br>
<img src="__GHOST_URL__/content/images/2019/08/Snip20190802_94.png" alt="Snip20190802_94" loading="lazy"></p>
</li>
<li>
<p>2019-06-23: we captured bot sample Emptiness.V1</p>
</li>
<li>
<p>2019-06-26: we captured bot sample Emptiness.V1.1</p>
</li>
<li>
<p>2019-07-03: we exposed <a href="https://twitter.com/360Netlab/status/1146269649887272960">DDoS attacks launched</a> by Emptiness.v1.1</p>
</li>
<li>
<p>2019-07-06: we captured bot sample Emptiness.v2, which said hello to us (360Netlab) &quot;politely&quot;.<br>
<img src="__GHOST_URL__/content/images/2019/07/image--4--1.png" alt="image--4--1" loading="lazy"></p>
</li>
</ul>
<h1 id="emptinesssampleanalysis">Emptiness Sample Analysis</h1>
<p>The following table summarizes the main differences between three versions of Emptiness.<br>
<img src="__GHOST_URL__/content/images/2019/08/emptiness.diff.min.png" alt="emptiness.diff.min" loading="lazy"></p>
<p>All these three versions are written by Golang and are protected by standard UPX.  As shown in the following figure, their main function logics are mainly implemented in main package and can be categorized into three aspects: host behavior, data encoding/encryption and C2 protocol. Next we will introduce Emptiness from these three aspects.<br>
<img src="__GHOST_URL__/content/images/2019/08/em_cmp-1.png" alt="em_cmp-1" loading="lazy"></p>
<h3 id="hostbehavior">Host Behavior</h3>
<p>Most host behaviors performed by Emptiness are common operations, such as ensuring singleton, modifying process name, turn off watchdog, clear history logs, delete system command, stop system service and so on. The only thing worth to note is that Emptiness will kill process using specific ports through its main_killer_init function. In this way, it can remove bot competitors and close vulnerable ports and thus occupy victim machine exclusively. The following figures show its methods of killing process and the ports it intends to kill.</p>
<ul>
<li>
<p>Methods of killing process</p>
<ul>
<li>
<p>V1 &amp; V1.1</p>
<pre><code>fuser -k -n tcp 
</code></pre>
</li>
<li>
<p>V2</p>
<pre><code>1:	fuser -k /tcp
2:	lsof -i tcp:%s | grep LISTEN | awk '{print $2}' | xargs kill -9
</code></pre>
</li>
</ul>
</li>
<li>
<p>Ports it intends to kill：</p>
<pre><code>&quot;22&quot;
&quot;23&quot;
&quot;80&quot;
&quot;420&quot;
&quot;1337&quot;
&quot;1991&quot;
&quot;5332&quot;
&quot;6553&quot;
&quot;6554&quot;
&quot;6666&quot;
&quot;6667&quot;
&quot;6697&quot;
&quot;18904&quot;
&quot;37215&quot;
&quot;42026&quot;
&quot;48101&quot;
&quot;52869&quot;
&quot;57643&quot;
</code></pre>
</li>
</ul>
<h3 id="dataencodingandencryption">Data Encoding and Encryption</h3>
<p>We demonstrate how Emptiness encodes or encrypts data in different versions using its register message.</p>
<ul>
<li>
<p>Emptiness.V1 communicate through plaintext and no encoding or encryption is involved.<br>
<img src="__GHOST_URL__/content/images/2019/08/v1_reg.png" alt="v1_reg" loading="lazy"></p>
</li>
<li>
<p>Emptiness.V1.1 encodes the message with Base64<br>
<img src="__GHOST_URL__/content/images/2019/08/v1b_reg-1.png" alt="v1b_reg-1" loading="lazy"></p>
</li>
<li>
<p>Emptiness.V2 first encodes the message with Base64, then encrypts it with XOR transformation and the XOR key is “B2BB01039307BAA2&quot;</p>
<ul>
<li><img src="__GHOST_URL__/content/images/2019/08/v2_reg-1.png" alt="v2_reg-1" loading="lazy"></li>
</ul>
</li>
</ul>
<h3 id="c2protocol">C2 Protocol</h3>
<h4 id="registermessage">Register Message</h4>
<ul>
<li>
<p>Emptiness.v1</p>
<pre><code>00000000  69 6c 6f 76 65 32 36                              |ilove26|
</code></pre>
</li>
<li>
<p>Emptiness.v1.1</p>
<pre><code>00000000  61 57 78 76 64 6d 55 79  4e 67 3d 3d              |aWxvdmUyNg==|
Base64 encode，plaintext is：ilove26
</code></pre>
</li>
<li>
<p>Emptiness.v2</p>
<pre><code>00000000  64 33 65 63 37 39 37 35  66 37 36 61 65 66 64 62  |d3ec7975f76aefdb|
00000010  66 63 64 63 33 63 33 65                           |fcdc3c3e|
Base64 encode and then XOR transformation，plaintext is：ilove26
</code></pre>
</li>
</ul>
<h4 id="supportedcommand">Supported Command</h4>
<ul>
<li>
<p>Emptiness.V1 and Emptiness.V1.1</p>
<pre><code>.cc
.udp
.dns
.http
.stop
</code></pre>
</li>
<li>
<p>Emptiness.V2</p>
<pre><code>.cc
.dns
.udp
.http
.stop
.exec
.slow
.kill
.update
</code></pre>
</li>
</ul>
<h4 id="examplesofddosattackcommand">Examples of DDoS Attack Command</h4>
<ul>
<li>UDP attack</li>
</ul>
<pre><code>LnVkcCAxMi4xNjIuMjIwLjEwNiA4MCAyNTYgNTUgNzIw
Base64 decode
00000000  2e 75 64 70 20 31 32 2e  31 36 32 2e 32 32 30 2e  |.udp 12.162.220.|
00000010  31 30 36 20 38 30 20 32  35 36 20 35 35 20 37 32  |106 80 256 55 72|
00000020  30                                                |0|                    
</code></pre>
<ul>
<li>HTTP attack</li>
</ul>
<pre><code>Lmh0dHAgd3d3LmxscnJ5LmNuIDgwIC8gNjAgNjA=
Base64 decode
00000000  2e 68 74 74 70 20 77 77  77 2e 6c 6c 72 72 79 2e  |.http www.llrry.|
00000010  63 6e 20 38 30 20 2f 20  36 30 20 36 30           |cn 80 / 60 60|
</code></pre>
<h1 id="therelationbetweenemptinessandmiraishiina">The Relation between Emptiness and Mirai.shiina</h1>
<p>Two of the four Emptiness.V2 C2 servers(<code>luckyhere.mashiro.tk</code> and <code>imtesting.shiina.ga</code>) were used by mirai variant. Mirai.shiina and the corresponding sample is <code>f6e9f3567684a0a7402ad97209b8525b</code>. We name it Mirai.shiina based on its infection command <code>/bin/busybox SHIINA</code> and its sample file name <code>shine.{arch}</code>. Sharing the same C2 server strongly indicates that Emptiness and Mirai.shiina belong to the same author.</p>
<h1 id="moreinfoaboutmiraishiina">More Info about Mirai.shiina</h1>
<p>Our monitor system shows that Mirai.shiina botnet was running at least from 2019-03 to 2019-07 and during this period it was very active and deliver attack command frequently. The figure below shows some example of its attack commands.<br>
<a href="__GHOST_URL__/content/images/2019/08/mirai.shiina.cmd.png" target="_blank"><img src="__GHOST_URL__/content/images/2019/08/mirai.shiina.cmd.min.png" /></a></p>
<p>Besides, we can divide Mirai.shiina into four versions according to the difference of its C2 protocol, see the following table and we infer that the author kept modifying C2 protocol continuously to prevent from being tracked.<br>
<a href="__GHOST_URL__/content/images/2019/08/mirai.shiina.diff.png" target="_blank"><img src="__GHOST_URL__/content/images/2019/08/mirai.shiina.diff.min.png" /></a></p>
<h1 id="questionwhytheauthorwantstobuildthenewemptinessbotnet">Question: Why the author wants to build the new Emptiness Botnet?</h1>
<p>According to the above analysis, we know that the author of Emptiness has also run Mirai.shiina botnet for a long time, which is active to launch DDoS attacks and seems to own quite a few bots. So why the author still wants to build the new Emptiness botnet? We guess the reasons behind are:</p>
<ul>
<li>To support cross platform. Emptiness is written by Golang, which can be easily migrated across different platform. Golang currently supports more than 40 platforms, including <code>android/arm</code>, <code>Darwin/arm</code>, <code>linux/arm</code>, <code>windows/arm</code>, etc.</li>
<li>To evade detection. Today Mirai is commonly known and can be detected by most of anti-virus engines. Developing a completely new botnet can greatly decrease the risk of being detected. As an example, we submit one Emptiness sample to <a href="https://www.virustotal.com/gui/file/780583f9c8f9da8c4bd2773dff4ca608395ad284908134be72499ed00ae6eab6/detection/f-780583f9c8f9da8c4bd2773dff4ca608395ad284908134be72499ed00ae6eab6-1565015313">VT</a> and found that only one anti-virus vendor identified it as malware.</li>
</ul>
<h1 id="contactus">Contact us</h1>
<p>Readers are always welcomed to reach us on <a href="https://twitter.com/360Netlab">twitter</a>, WeChat 360Netlab or email to netlab at 360 dot cn.</p>
<h1 id="ioc">IoC</h1>
<h3 id="emptinesscc">Emptiness CC</h3>
<pre><code>emp.web2tor.cf
bruhitsnot.tk
bruhitsnot.cf
emptiness.web2tor.cf
version2.ilove26.cf
luckyhere.mashiro.tk
imtesting.shiina.ga
ggwp.emptiness.tk
</code></pre>
<h3 id="emptinesssamplemd5">Emptiness Sample MD5</h3>
<pre><code>f41464471a0ac9c165e4aeb55283934e
420bb6147ca091a22f8f5bbbb49d51f3
7b1943ff6c563ce1043963e2f017ad8d
53bb43411ecbad39b18b0662b53c07a0
1899667e48c64b113c0de54cf3bb63d5
</code></pre>
<h3 id="miraishiinacc">Mirai.shiina CC</h3>
<pre><code>34.80.131.135
shiina.mashiro.tk
luckyhere.mashiro.tk
imtesting.shiina.ga
</code></pre>
<h3 id="miraishiinasamplemd5">Mirai.shiina Sample MD5</h3>
<pre><code>77e7dd8982e7bb21d536264f0635d5cb
209a78969d88c667c32e550ce47b8ff9
0cf288e07e888cd7748b30fa4a67ca84
f6e9f3567684a0a7402ad97209b8525b
</code></pre>
<!--kg-card-end: markdown-->
Background


Our honeypot system captured a new DDoS botnet sample on 2019-06-23. We named it Emptiness which comes from the running process name as well as its C2 domain. Emptiness is written by Golang and supports both Windows and Linux. Our further analysis reveal its iterative evolution: the early version Emptiness was only armed with DDoS function and was propagated through Mirai.shiina variant botnet that had been run by the same author for a long time. The latter version Emptiness was added with ssh scan to enable self-propagation. Besides, C2 communication protocols of both Emptiness and Mirai.shiina kept changing constantly, which increases the difficulty of being tracked by security researchers.



The Timeline of Emptiness


 * 
   
   
   2019-06-09: we first observed Emptiness download URL,but was not able to download the bot sample at that time.
   
   
   

 * 
   
   
   2019-06-23: we captured bot sample Emptiness.V1
   

 * 
   
   
   2019-06-26: we captured bot sample Emptiness.V1.1
   

 * 
   
   
   2019-07-03: we exposed DDoS attacks launched by Emptiness.v1.1
   

 * 
   
   
   2019-07-06: we captured bot sample Emptiness.v2, which said hello to us (360Netlab) "politely".
   
   
   



Emptiness Sample Analysis


The following table summarizes the main differences between three versions of Emptiness.




All these three versions are written by Golang and are protected by standard UPX. As shown in the following figure, their main function logics are mainly implemented in main package and can be categorized into three aspects: host behavior, data encoding/encryption and C2 protocol. Next we will introduce Emptiness from these three aspects.





Host Behavior


Most host behaviors performed by Emptiness are common operations, such as ensuring singleton, modifying process name, turn off watchdog, clear history logs, delete system command, stop system service and so on. The only thing worth to note is that Emptiness will kill process using specific ports through its main_killer_init function. In this way, it can remove bot competitors and close vulnerable ports and thus occupy victim machine exclusively. The following figures show its methods of killing process and the ports it intends to kill.


 * 
   
   
   Methods of killing process
   
   
   * 
     
     
     V1 & V1.1
     
     
     fuser -k -n tcp 
     
     
   
   * 
     
     
     V2
     
     
     1:	fuser -k /tcp
     2:	lsof -i tcp:%s | grep LISTEN | awk '{print $2}' | xargs kill -9
     
     
   

 * 
   
   
   Ports it intends to kill：
   
   
   "22"
   "23"
   "80"
   "420"
   "1337"
   "1991"
   "5332"
   "6553"
   "6554"
   "6666"
   "6667"
   "6697"
   "18904"
   "37215"
   "42026"
   "48101"
   "52869"
   "57643"
   
   



Data Encoding and Encryption


We demonstrate how Emptiness encodes or encrypts data in different versions using its register message.


 * 
   
   
   Emptiness.V1 communicate through plaintext and no encoding or encryption is involved.
   
   
   

 * 
   
   
   Emptiness.V1.1 encodes the message with Base64
   
   
   

 * 
   
   
   Emptiness.V2 first encodes the message with Base64, then encrypts it with XOR transformation and the XOR key is “B2BB01039307BAA2"
   
   
   * 
   



C2 Protocol


Register Message


 * 
   
   
   Emptiness.v1
   
   
   00000000  69 6c 6f 76 65 32 36                              |ilove26|
   
   

 * 
   
   
   Emptiness.v1.1
   
   
   00000000  61 57 78 76 64 6d 55 79  4e 67 3d 3d              |aWxvdmUyNg==|
   Base64 encode，plaintext is：ilove26
   
   

 * 
   
   
   Emptiness.v2
   
   
   00000000  64 33 65 63 37 39 37 35  66 37 36 61 65 66 64 62  |d3ec7975f76aefdb|
   00000010  66 63 64 63 33 63 33 65                           |fcdc3c3e|
   Base64 encode and then XOR transformation，plaintext is：ilove26
   
   


Supported Command


 * 
   
   
   Emptiness.V1 and Emptiness.V1.1
   
   
   .cc
   .udp
   .dns
   .http
   .stop
   
   

 * 
   
   
   Emptiness.V2
   
   
   .cc
   .dns
   .udp
   .http
   .stop
   .exec
   .slow
   .kill
   .update
   
   


Examples of DDoS Attack Command


 * UDP attack


LnVkcCAxMi4xNjIuMjIwLjEwNiA4MCAyNTYgNTUgNzIw
Base64 decode
00000000  2e 75 64 70 20 31 32 2e  31 36 32 2e 32 32 30 2e  |.udp 12.162.220.|
00000010  31 30 36 20 38 30 20 32  35 36 20 35 35 20 37 32  |106 80 256 55 72|
00000020  30                                                |0|                    



 * HTTP attack


Lmh0dHAgd3d3LmxscnJ5LmNuIDgwIC8gNjAgNjA=
Base64 decode
00000000  2e 68 74 74 70 20 77 77  77 2e 6c 6c 72 72 79 2e  |.http www.llrry.|
00000010  63 6e 20 38 30 20 2f 20  36 30 20 36 30           |cn 80 / 60 60|




The Relation between Emptiness and Mirai.shiina


Two of the four Emptiness.V2 C2 servers(luckyhere.mashiro.tk and imtesting.shiina.ga) were used by mirai variant. Mirai.shiina and the corresponding sample is f6e9f3567684a0a7402ad97209b8525b. We name it Mirai.shiina based on its infection command /bin/busybox SHIINA and its sample file name shine.{arch}. Sharing the same C2 server strongly indicates that Emptiness and Mirai.shiina belong to the same author.



More Info about Mirai.shiina


Our monitor system shows that Mirai.shiina botnet was running at least from 2019-03 to 2019-07 and during this period it was very active and deliver attack command frequently. The figure below shows some example of its attack commands.




Besides, we can divide Mirai.shiina into four versions according to the difference of its C2 protocol, see the following table and we infer that the author kept modifying C2 protocol continuously to prevent from being tracked.





Question: Why the author wants to build the new Emptiness Botnet?


According to the above analysis, we know that the author of Emptiness has also run Mirai.shiina botnet for a long time, which is active to launch DDoS attacks and seems to own quite a few bots. So why the author still wants to build the new Emptiness botnet? We guess the reasons behind are:


 * To support cross platform. Emptiness is written by Golang, which can be easily migrated across different platform. Golang currently supports more than 40 platforms, including android/arm, Darwin/arm, linux/arm, windows/arm, etc.
 * To evade detection. Today Mirai is commonly known and can be detected by most of anti-virus engines. Developing a completely new botnet can greatly decrease the risk of being detected. As an example, we submit one Emptiness sample to VT and found that only one anti-virus vendor identified it as malware.



Contact us


Readers are always welcomed to reach us on twitter, WeChat 360Netlab or email to netlab at 360 dot cn.



IoC



Emptiness CC


emp.web2tor.cf
bruhitsnot.tk
bruhitsnot.cf
emptiness.web2tor.cf
version2.ilove26.cf
luckyhere.mashiro.tk
imtesting.shiina.ga
ggwp.emptiness.tk




Emptiness Sample MD5


f41464471a0ac9c165e4aeb55283934e
420bb6147ca091a22f8f5bbbb49d51f3
7b1943ff6c563ce1043963e2f017ad8d
53bb43411ecbad39b18b0662b53c07a0
1899667e48c64b113c0de54cf3bb63d5




Mirai.shiina CC


34.80.131.135
shiina.mashiro.tk
luckyhere.mashiro.tk
imtesting.shiina.ga




Mirai.shiina Sample MD5


77e7dd8982e7bb21d536264f0635d5cb
209a78969d88c667c32e550ce47b8ff9
0cf288e07e888cd7748b30fa4a67ca84
f6e9f3567684a0a7402ad97209b8525b


{"version":"0.3.1","atoms":[],"cards":[["markdown",{"markdown":"# Background\nOur honeypot system captured a new DDoS botnet sample on 2019-06-23. We named it Emptiness which comes from the running process name as well as its C2 domain. Emptiness is written by Golang and supports both Windows and Linux. Our further analysis reveal its iterative evolution: the early version Emptiness was only armed with DDoS function and was propagated through Mirai.shiina variant botnet that had been run by the same author for a long time. The latter version Emptiness was added with ssh scan to enable self-propagation. Besides, C2 communication protocols of both Emptiness and Mirai.shiina kept changing constantly, which increases the difficulty of being tracked by security researchers.\n\n# The Timeline of Emptiness\n* 2019-06-09: we first observed Emptiness download URL,but was not able to download the bot sample at that time.\n![Snip20190802_94](__GHOST_URL__/content/images/2019/08/Snip20190802_94.png)\n\n* 2019-06-23: we captured bot sample Emptiness.V1\n* 2019-06-26: we captured bot sample Emptiness.V1.1\n* 2019-07-03: we exposed [DDoS attacks launched](https://twitter.com/360Netlab/status/1146269649887272960) by Emptiness.v1.1\n* 2019-07-06: we captured bot sample Emptiness.v2, which said hello to us (360Netlab) \"politely\".\n   ![image--4--1](__GHOST_URL__/content/images/2019/07/image--4--1.png)\n   \n# Emptiness Sample Analysis\nThe following table summarizes the main differences between three versions of Emptiness. \n![emptiness.diff.min](__GHOST_URL__/content/images/2019/08/emptiness.diff.min.png)\n\nAll these three versions are written by Golang and are protected by standard UPX.  As shown in the following figure, their main function logics are mainly implemented in main package and can be categorized into three aspects: host behavior, data encoding/encryption and C2 protocol. Next we will introduce Emptiness from these three aspects.\n![em_cmp-1](__GHOST_URL__/content/images/2019/08/em_cmp-1.png)\n\n\n\n###　Host Behavior\nMost host behaviors performed by Emptiness are common operations, such as ensuring singleton, modifying process name, turn off watchdog, clear history logs, delete system command, stop system service and so on. The only thing worth to note is that Emptiness will kill process using specific ports through its main_killer_init function. In this way, it can remove bot competitors and close vulnerable ports and thus occupy victim machine exclusively. The following figures show its methods of killing process and the ports it intends to kill.\n\n* Methods of killing process\n\n  * V1 & V1.1\n\n    ```\n    fuser -k -n tcp \n    ```\n\n  * V2\n\n    ```\n    1:\tfuser -k /tcp\n    2:\tlsof -i tcp:%s | grep LISTEN | awk '{print $2}' | xargs kill -9\n    ```\n\n* Ports it intends to kill：\n\n  ```\n  \"22\"\n  \"23\"\n  \"80\"\n  \"420\"\n  \"1337\"\n  \"1991\"\n  \"5332\"\n  \"6553\"\n  \"6554\"\n  \"6666\"\n  \"6667\"\n  \"6697\"\n  \"18904\"\n  \"37215\"\n  \"42026\"\n  \"48101\"\n  \"52869\"\n  \"57643\"\n  ```\n\n### Data Encoding and Encryption\n\nWe demonstrate how Emptiness encodes or encrypts data in different versions using its register message.\n\n\n* Emptiness.V1 communicate through plaintext and no encoding or encryption is involved.\n  ![v1_reg](__GHOST_URL__/content/images/2019/08/v1_reg.png)\n  \n\n*  Emptiness.V1.1 encodes the message with Base64\n  ![v1b_reg-1](__GHOST_URL__/content/images/2019/08/v1b_reg-1.png)\n\n\n* Emptiness.V2 first encodes the message with Base64, then encrypts it with XOR transformation and the XOR key is “B2BB01039307BAA2\"\n\n    * ![v2_reg-1](__GHOST_URL__/content/images/2019/08/v2_reg-1.png)\n\n\n###　C2 Protocol\n\n####　Register Message\n\n* Emptiness.v1\n\n  ```\n  00000000  69 6c 6f 76 65 32 36                              |ilove26|\n  ```\n  \n* Emptiness.v1.1\n\n  ```\n  00000000  61 57 78 76 64 6d 55 79  4e 67 3d 3d              |aWxvdmUyNg==|\n  Base64 encode，plaintext is：ilove26\n  ```\n  \n* Emptiness.v2\n\n  ```\n  00000000  64 33 65 63 37 39 37 35  66 37 36 61 65 66 64 62  |d3ec7975f76aefdb|\n  00000010  66 63 64 63 33 63 33 65                           |fcdc3c3e|\n  Base64 encode and then XOR transformation，plaintext is：ilove26\n  ```\n\n####　Supported Command\n\n* Emptiness.V1 and Emptiness.V1.1\n\n  ```\n  .cc\n  .udp\n  .dns\n  .http\n  .stop\n  ```\n  \n* Emptiness.V2\n\n  ```\n  .cc\n  .dns\n  .udp\n  .http\n  .stop\n  .exec\n  .slow\n  .kill\n  .update\n  ```\n  \n#### Examples of DDoS Attack Command\n\n* UDP attack\n```\nLnVkcCAxMi4xNjIuMjIwLjEwNiA4MCAyNTYgNTUgNzIw\nBase64 decode\n00000000  2e 75 64 70 20 31 32 2e  31 36 32 2e 32 32 30 2e  |.udp 12.162.220.|\n00000010  31 30 36 20 38 30 20 32  35 36 20 35 35 20 37 32  |106 80 256 55 72|\n00000020  30                                                |0|                    \n```\n\n* HTTP attack\n```\nLmh0dHAgd3d3LmxscnJ5LmNuIDgwIC8gNjAgNjA=\nBase64 decode\n00000000  2e 68 74 74 70 20 77 77  77 2e 6c 6c 72 72 79 2e  |.http www.llrry.|\n00000010  63 6e 20 38 30 20 2f 20  36 30 20 36 30           |cn 80 / 60 60|\n```\n\n# The Relation between Emptiness and Mirai.shiina\nTwo of the four Emptiness.V2 C2 servers(`luckyhere.mashiro.tk` and `imtesting.shiina.ga`) were used by mirai variant. Mirai.shiina and the corresponding sample is `f6e9f3567684a0a7402ad97209b8525b`. We name it Mirai.shiina based on its infection command `/bin/busybox SHIINA` and its sample file name `shine.{arch}`. Sharing the same C2 server strongly indicates that Emptiness and Mirai.shiina belong to the same author.\n\n# More Info about Mirai.shiina\nOur monitor system shows that Mirai.shiina botnet was running at least from 2019-03 to 2019-07 and during this period it was very active and deliver attack command frequently. The figure below shows some example of its attack commands. \n<a href=\"__GHOST_URL__/content/images/2019/08/mirai.shiina.cmd.png\" target=\"_blank\"><img src=\"__GHOST_URL__/content/images/2019/08/mirai.shiina.cmd.min.png\" /></a>\n\nBesides, we can divide Mirai.shiina into four versions according to the difference of its C2 protocol, see the following table and we infer that the author kept modifying C2 protocol continuously to prevent from being tracked.\n<a href=\"__GHOST_URL__/content/images/2019/08/mirai.shiina.diff.png\" target=\"_blank\"><img src=\"__GHOST_URL__/content/images/2019/08/mirai.shiina.diff.min.png\" /></a>\n\n# Question: Why the author wants to build the new Emptiness Botnet?\n\nAccording to the above analysis, we know that the author of Emptiness has also run Mirai.shiina botnet for a long time, which is active to launch DDoS attacks and seems to own quite a few bots. So why the author still wants to build the new Emptiness botnet? We guess the reasons behind are:\n - To support cross platform. Emptiness is written by Golang, which can be easily migrated across different platform. Golang currently supports more than 40 platforms, including `android/arm`, `Darwin/arm`, `linux/arm`, `windows/arm`, etc.\n - To evade detection. Today Mirai is commonly known and can be detected by most of anti-virus engines. Developing a completely new botnet can greatly decrease the risk of being detected. As an example, we submit one Emptiness sample to [VT](https://www.virustotal.com/gui/file/780583f9c8f9da8c4bd2773dff4ca608395ad284908134be72499ed00ae6eab6/detection/f-780583f9c8f9da8c4bd2773dff4ca608395ad284908134be72499ed00ae6eab6-1565015313) and found that only one anti-virus vendor identified it as malware.\n\n# Contact us\nReaders are always welcomed to reach us on [twitter](https://twitter.com/360Netlab), WeChat 360Netlab or email to netlab at 360 dot cn.\n   \n# IoC\n### Emptiness CC\n```\nemp.web2tor.cf\nbruhitsnot.tk\nbruhitsnot.cf\nemptiness.web2tor.cf\nversion2.ilove26.cf\nluckyhere.mashiro.tk\nimtesting.shiina.ga\nggwp.emptiness.tk\n```\n\n### Emptiness Sample MD5\n```\nf41464471a0ac9c165e4aeb55283934e\n420bb6147ca091a22f8f5bbbb49d51f3\n7b1943ff6c563ce1043963e2f017ad8d\n53bb43411ecbad39b18b0662b53c07a0\n1899667e48c64b113c0de54cf3bb63d5\n```\n\n### Mirai.shiina CC\n```\n34.80.131.135\nshiina.mashiro.tk\nluckyhere.mashiro.tk\nimtesting.shiina.ga\n```\n\n### Mirai.shiina Sample MD5\n```\n77e7dd8982e7bb21d536264f0635d5cb\n209a78969d88c667c32e550ce47b8ff9\n0cf288e07e888cd7748b30fa4a67ca84\nf6e9f3567684a0a7402ad97209b8525b\n```"}]],"markups":[],"sections":[[10,0],[1,"p",[]]],"ghostVersion":"3.0"}