New Mirai DGA Seed 0x91 Brute Forced
<!--kg-card-begin: markdown--><p>Up till very recently, through the samples we had learned that the Mirai DGA seeds are all fixed to 0, as detailed in blog <a href="__GHOST_URL__/new-mirai-variant-with-dga/">Now Mirai Has DGA Feature Built in</a>, and were able to predict all corresponding DGA domains.</p>
<p>Surprisingly, although we have not see any related samples, just few days ago, our PassiveDNS based anomaly detect module captured some new domains that matches the characteristics of the mirai DGA algorithm but not belong to any seed 0 series.</p>
<p>The L2 domains conform to mirai DGA: 12 characters and a-y only. But these domains do not belong to DGA seed 0 series. This leads us to speculate that a new mirai variant and new DGA seed is emerging.</p>
<h3 id="dgadomainsgeneratedwithnonzerodgaseed">DGA Domains Generated With Non-zero DGA Seed</h3>
<p>The new suspicious domain are listed below:</p>
<p><img src="__GHOST_URL__/content/images/2016/12/DGA-domains-for-seed-0x91.png" alt="" loading="lazy"></p>
<p>And the domains's query patterns are as follows:</p>
<p><img src="__GHOST_URL__/content/images/2016/12/0x91_dga_domain_dns_flow_chart.png" alt="" loading="lazy"></p>
<p>A detailed study on these domains shows more findings:</p>
<ol>
<li>The L2 domains conform to mirai DGA, 12 characters, a-y only. But these domains does not belong to DGA seed 0 series.</li>
<li>All TLDs for these domains are fixed to <code>.online</code>, differing from previous TLDs of <code>online</code> / <code>tech</code> / <code>support</code>. Maybe the author want just keep &quot;<em>online</em>&quot;, but no more &quot;<em>tech support</em>&quot;.</li>
<li>Of all the domains, the first seen starts almost strictly at 00:00:00 of the day, with the last seen almost always strictly ends at 00:00:00 on the next. Those time window overlaps between the two consequential domains are very short, in minutes. Considering such a strict time window control, we think one possible explanation is that those DNS queries were eventually launched by some mirai bots.</li>
</ol>
<h3 id="newdgaseed0x91bruteforced">New DGA Seed 0x91 Brute-forced</h3>
<p>Under the guidance of the precise mirai algorithm, we are pretty sure we are able to brute-force the new DGA seeds, no matter where it hides in the int32 4G space. And the brute force did not take long before we cracked the new seed:</p>
<ul>
<li>0x91</li>
</ul>
<p>The new DGA seed is used to predict all the 2016-12 domains, as follows. Note that almost all these domains are registered by mirai author, with the exception 18/19/27/29/30 on which the algorithm itself can not generated a functional DGA domain.</p>
<ul>
<li>2016/12/08	pcrpxewicouh.online</li>
<li>2016/12/09	rwoywonuobcr.online</li>
<li>2016/12/10	liusqxocbedg.online</li>
<li>2016/12/11	ndoiabgxgmew.online</li>
<li>2016/12/12	hwjqtwkectlo.online</li>
<li>2016/12/13	mtoyrjnvlqdx.online</li>
<li>2016/12/14	ddfqdttkmoyv.online</li>
<li>2016/12/15	iaxjxyqjckqi.online</li>
<li>2016/12/16	nuuxndqlhiwb.online</li>
<li>2016/12/17	pxvmqwpemiif.online</li>
<li>2016/12/18	dfftxpajygxy</li>
<li>2016/12/19	fiotbgopgnxv</li>
<li>2016/12/20	shjwhbdgjyba.online</li>
<li>2016/12/21	xmjvlucdsegk.online</li>
<li>2016/12/22	irkbpugkwsir.online</li>
<li>2016/12/23	nwnrbhnesmtk.online</li>
<li>2016/12/24	wafunxdngsfc.online</li>
<li>2016/12/25	ydcvedrxcmym.online</li>
<li>2016/12/26	sggiyqadywsv.online</li>
<li>2016/12/27	ujmnvkyeltfv</li>
<li>2016/12/28	cmhewcvopvno.online</li>
<li>2016/12/29	hrjlyymassqx</li>
<li>2016/12/30	xsvftelyclfh</li>
<li>2016/12/31	dxukryyyqnhl.online</li>
</ul>
<h3 id="openquestions">Open Questions</h3>
<p>Although we can explain most of what we saw in our data, there are still some open questions. We list them here with a hope to see feedback from the security community.</p>
<ol>
<li>On December 12, there is no 0x91 DGA domain and corresponding DNS data flow. As shown in the previous table, the 2016-12-12 0x91 domain is hwjqtwkectlo.online. This domain has not been registered yet, and we are pretty sure there is no DNS query for this domain, otherwise we could tell from the DNS error data stream. Why this domain is not registered? Maybe the author forget to do that. But why there is not even a single DNS request? Especially given the continuous DNS requests before and after the day?</li>
<li>For all the bot behind the DNS query, are they from the same group, or totally different ones in each day? For the former, why do they say good-bye to the old C2 and embrace the new one at about exactly 00:00:00? For the latter, why the traffic waves look so similar for each days?</li>
<li>The bot traffic keeps falling in recent days, why? Are these bots completely get out of the mirai botnet? Or just captured by another mirai C2?</li>
</ol>
<!--kg-card-end: markdown-->
Up till very recently, through the samples we had learned that the Mirai DGA seeds are all fixed to 0, as detailed in blog Now Mirai Has DGA Feature Built in, and were able to predict all corresponding DGA domains.


Surprisingly, although we have not see any related samples, just few days ago, our PassiveDNS based anomaly detect module captured some new domains that matches the characteristics of the mirai DGA algorithm but not belong to any seed 0 series.


The L2 domains conform to mirai DGA: 12 characters and a-y only. But these domains do not belong to DGA seed 0 series. This leads us to speculate that a new mirai variant and new DGA seed is emerging.



DGA Domains Generated With Non-zero DGA Seed


The new suspicious domain are listed below:





And the domains's query patterns are as follows:





A detailed study on these domains shows more findings:


 1. The L2 domains conform to mirai DGA, 12 characters, a-y only. But these domains does not belong to DGA seed 0 series.
 2. All TLDs for these domains are fixed to .online, differing from previous TLDs of online / tech / support. Maybe the author want just keep "online", but no more "tech support".
 3. Of all the domains, the first seen starts almost strictly at 00:00:00 of the day, with the last seen almost always strictly ends at 00:00:00 on the next. Those time window overlaps between the two consequential domains are very short, in minutes. Considering such a strict time window control, we think one possible explanation is that those DNS queries were eventually launched by some mirai bots.



New DGA Seed 0x91 Brute-forced


Under the guidance of the precise mirai algorithm, we are pretty sure we are able to brute-force the new DGA seeds, no matter where it hides in the int32 4G space. And the brute force did not take long before we cracked the new seed:


 * 0x91


The new DGA seed is used to predict all the 2016-12 domains, as follows. Note that almost all these domains are registered by mirai author, with the exception 18/19/27/29/30 on which the algorithm itself can not generated a functional DGA domain.


 * 2016/12/08 pcrpxewicouh.online
 * 2016/12/09 rwoywonuobcr.online
 * 2016/12/10 liusqxocbedg.online
 * 2016/12/11 ndoiabgxgmew.online
 * 2016/12/12 hwjqtwkectlo.online
 * 2016/12/13 mtoyrjnvlqdx.online
 * 2016/12/14 ddfqdttkmoyv.online
 * 2016/12/15 iaxjxyqjckqi.online
 * 2016/12/16 nuuxndqlhiwb.online
 * 2016/12/17 pxvmqwpemiif.online
 * 2016/12/18 dfftxpajygxy
 * 2016/12/19 fiotbgopgnxv
 * 2016/12/20 shjwhbdgjyba.online
 * 2016/12/21 xmjvlucdsegk.online
 * 2016/12/22 irkbpugkwsir.online
 * 2016/12/23 nwnrbhnesmtk.online
 * 2016/12/24 wafunxdngsfc.online
 * 2016/12/25 ydcvedrxcmym.online
 * 2016/12/26 sggiyqadywsv.online
 * 2016/12/27 ujmnvkyeltfv
 * 2016/12/28 cmhewcvopvno.online
 * 2016/12/29 hrjlyymassqx
 * 2016/12/30 xsvftelyclfh
 * 2016/12/31 dxukryyyqnhl.online



Open Questions


Although we can explain most of what we saw in our data, there are still some open questions. We list them here with a hope to see feedback from the security community.


 1. On December 12, there is no 0x91 DGA domain and corresponding DNS data flow. As shown in the previous table, the 2016-12-12 0x91 domain is hwjqtwkectlo.online. This domain has not been registered yet, and we are pretty sure there is no DNS query for this domain, otherwise we could tell from the DNS error data stream. Why this domain is not registered? Maybe the author forget to do that. But why there is not even a single DNS request? Especially given the continuous DNS requests before and after the day?
 2. For all the bot behind the DNS query, are they from the same group, or totally different ones in each day? For the former, why do they say good-bye to the old C2 and embrace the new one at about exactly 00:00:00? For the latter, why the traffic waves look so similar for each days?
 3. The bot traffic keeps falling in recent days, why? Are these bots completely get out of the mirai botnet? Or just captured by another mirai C2?

{"version":"0.3.1","markups":[],"atoms":[],"cards":[["markdown",{"cardName":"card-markdown","markdown":"Up till very recently, through the samples we had learned that the Mirai DGA seeds are all fixed to 0, as detailed in blog [Now Mirai Has DGA Feature Built in](__GHOST_URL__/new-mirai-variant-with-dga/), and were able to predict all corresponding DGA domains.\n\nSurprisingly, although we have not see any related samples, just few days ago, our PassiveDNS based anomaly detect module captured some new domains that matches the characteristics of the mirai DGA algorithm but not belong to any seed 0 series.\n\nThe L2 domains conform to mirai DGA: 12 characters and a-y only. But these domains do not belong to DGA seed 0 series. This leads us to speculate that a new mirai variant and new DGA seed is emerging.\n\n###DGA Domains Generated With Non-zero DGA Seed\nThe new suspicious domain are listed below:\n\n![](__GHOST_URL__/content/images/2016/12/DGA-domains-for-seed-0x91.png)\n\nAnd the domains's query patterns are as follows:\n\n![](__GHOST_URL__/content/images/2016/12/0x91_dga_domain_dns_flow_chart.png)\n\nA detailed study on these domains shows more findings:\n\n1. The L2 domains conform to mirai DGA, 12 characters, a-y only. But these domains does not belong to DGA seed 0 series. \n2. All TLDs for these domains are fixed to `.online`, differing from previous TLDs of `online` / `tech` / `support`. Maybe the author want just keep \"_online_\", but no more \"_tech support_\".\n3. Of all the domains, the first seen starts almost strictly at 00:00:00 of the day, with the last seen almost always strictly ends at 00:00:00 on the next. Those time window overlaps between the two consequential domains are very short, in minutes. Considering such a strict time window control, we think one possible explanation is that those DNS queries were eventually launched by some mirai bots.\n\n### New DGA Seed 0x91 Brute-forced \nUnder the guidance of the precise mirai algorithm, we are pretty sure we are able to brute-force the new DGA seeds, no matter where it hides in the int32 4G space. And the brute force did not take long before we cracked the new seed:\n\n* 0x91\n\nThe new DGA seed is used to predict all the 2016-12 domains, as follows. Note that almost all these domains are registered by mirai author, with the exception 18/19/27/29/30 on which the algorithm itself can not generated a functional DGA domain.\n\n* 2016/12/08\tpcrpxewicouh.online  \n* 2016/12/09\trwoywonuobcr.online  \n* 2016/12/10\tliusqxocbedg.online  \n* 2016/12/11\tndoiabgxgmew.online  \n* 2016/12/12\thwjqtwkectlo.online  \n* 2016/12/13\tmtoyrjnvlqdx.online  \n* 2016/12/14\tddfqdttkmoyv.online  \n* 2016/12/15\tiaxjxyqjckqi.online  \n* 2016/12/16\tnuuxndqlhiwb.online  \n* 2016/12/17\tpxvmqwpemiif.online  \n* 2016/12/18\tdfftxpajygxy  \n* 2016/12/19\tfiotbgopgnxv  \n* 2016/12/20\tshjwhbdgjyba.online  \n* 2016/12/21\txmjvlucdsegk.online  \n* 2016/12/22\tirkbpugkwsir.online  \n* 2016/12/23\tnwnrbhnesmtk.online  \n* 2016/12/24\twafunxdngsfc.online  \n* 2016/12/25\tydcvedrxcmym.online  \n* 2016/12/26\tsggiyqadywsv.online  \n* 2016/12/27\tujmnvkyeltfv  \n* 2016/12/28\tcmhewcvopvno.online  \n* 2016/12/29\thrjlyymassqx  \n* 2016/12/30\txsvftelyclfh  \n* 2016/12/31\tdxukryyyqnhl.online  \n\n###Open Questions\nAlthough we can explain most of what we saw in our data, there are still some open questions. We list them here with a hope to see feedback from the security community.\n\n 1. On December 12, there is no 0x91 DGA domain and corresponding DNS data flow. As shown in the previous table, the 2016-12-12 0x91 domain is hwjqtwkectlo.online. This domain has not been registered yet, and we are pretty sure there is no DNS query for this domain, otherwise we could tell from the DNS error data stream. Why this domain is not registered? Maybe the author forget to do that. But why there is not even a single DNS request? Especially given the continuous DNS requests before and after the day?\n 2. For all the bot behind the DNS query, are they from the same group, or totally different ones in each day? For the former, why do they say good-bye to the old C2 and embrace the new one at about exactly 00:00:00? For the latter, why the traffic waves look so similar for each days?\n 3. The bot traffic keeps falling in recent days, why? Are these bots completely get out of the mirai botnet? Or just captured by another mirai C2?"}]],"sections":[[10,0]],"ghostVersion":"3.0"}