CSW discovers a new zero day in ZOHO CRM Lead Magnet!

Indexsinas SMB Worm Exploits EternalBlue Vulnerabilities

Posted on 3rd Aug, 2021 | By Surojoy Gupta

Indexsinas or NSABuffMiner has been actively exploiting the SMB vulnerabilities, also known as the EternalBlue exploit (MS17-010), since 2019. Indexsinas is an SMB worm malware that affects the Server Message Block protocol in Microsoft Windows operating systems. The Indexsinas worm is self-propagating, targeting healthcare, education, telecommunications and hospitality industries with an ultimate goal of using the machines for mining cryptocurrency. 
 

The Indexsinas campaign targeted Guardicore Global Sensors Network (GGSN) in 2019 and have continued carrying out persistent attacks ever since. In March 2020, the Indexsinas campaign hit a cafe in Hunan, China where they introduced the new NSABuffMiner worm.
 

A total of 2000 different breaches have been recorded so far,  emanating from 1300 different sources from around the world. All the attacks have been traced back to the same command-and-control server in South Korea

 

Did CSW warn of these vulnerabilities? 


Yes, the vulnerabilities were called out by CyberSecurityWorks in the Ransomware Spotlight 2021 report, enumerating the seven CVEs as being used by WannaCry ransomware, of which five are related to the EternalBlue exploit kit.
 

Ransomware Spotlight Report 2021 Call out SMB protocol using NSA vulnerabilities


Microsoft released patches for all the vulnerabilities in 2017, covering existing versions of Windows as well as those not supported anymore. In spite of the existing patches, several thousands of devices still remain unpatched, making them prime targets for attackers. 

 

A total of six vulnerabilities, CVE-2017-0143 through to CVE-2017-0148, were involved in the NSABuffMiner worm attack. All the CVEs belong to the EternalBlue exploit, which ranks among the top 5 exploits used by ransomware groups, as reported in the Ransomware Spotlight Report.

 Ransomware Spotlight Report 2021 exploit kit to ransomware link

Some mentionable ransomware groups that have made use of the EternalBlue exploit include Conti, REvil, WannaCry, Satan and Katyusha, amongst several others.

Here is an in-depth analysis of the vulnerabilities:

Eternalblue vulnerabilities exploited by Indexsinas worm


All CVEs, barring CVE-2017-0147, are Windows SMB Remote Code Execution vulnerabilities and allow remote attackers to execute arbitrary code via crafted packets, to take control of the SMB servers.


Indexsinas Attack Methodology


An interesting characteristic of the Indexsinas campaign is how residual files, processes and stop services created by other attack campaigns are terminated as the attack progresses. The campaign also evades detection successfully by killing process monitoring and analysis programs; once all files are executed, its own files are also removed.  


The Indexsinas SMB worm attack methodology generally consists of four different stages.
 

  1. Initial Access and Execution

After the NSA EternalBlue exploit tools are used to breach the SMB server, code is run in the victim’s kernel to inject one of two offensive tools--EternalBlue.dll for 32-bit or DoublePulsar.dll for 64-bit--to download three executable files to gain a foothold on Windows systems. 

  1. Persistence and Remote Access

A version of the Gh0stCringe remote access trojan (RAT) is dropped and loaded into the memory of the victim’s machine. The RAT creates a registry key under svchost and deploys executables that have the capability to download, upload and install new modules.

  1. Injecting Cryptominer Modules

The tool svchost installs services that install a cryptominer in the victim’s computer and run it constantly to mine Monero cryptocurrency.

  1. Propagation

A payload uploaded in the first stage scans the SMB server in order to move laterally within and across the organization’s network. Once lateral movement is possible, batch scripts are installed to scan IP addresses associated with the victim’s machine. Upon successful exploitation, the attack flow starts all over again on a newly-infected machine.  

 

Indexsinas SMB Worm EternalBlue Attack Methodology

 

IoCs

MD5 hashes:

  • |86.exe|0cd9d734ab88225b4af96c9edf15bbdf
  • |86.exe|3b37396d0c15670d0b02856b6f3c1cec
  • |86.exe|92b81afb69efbe857c74d07e464b4097
  • |86.exe|f63038f93396c1c9fe023e777bdd1b99
  • |Doublepulsar.dll|f84a4c44b9ebcd34a443ed2cb663743f
  • |Doublepulsar2.dll|f84a4c44b9ebcd34a443ed2cb663743f
  • |Eter.exe|8c80dd97c37525927c1e549cb59bcbf3
  • |Eternalblue.dll|07e9f5f392d379981b7937e8da73512d
  • |Eternalblue2.dll|07e9f5f392d379981b7937e8da73512d
  • |bat.bat|10b1afc216476e4600cbaa07a265159c
  • |c64.exe|d071887d9e9af01d3ee009dffe1be16d
  • |cmd.bat|66b66dc0eb2437b233a8256b9a02902f
  • |ctfmon.exe|762ed51daa67d2a6a4ea641ec5a5b6f3
  • |iexplore.exe|07eb2ff68044f7d3795f3eea7f25b6af
  • |iexplore.exe|2e3e26582f8daea2df6600ee7ab653d7
  • |loab.bat|01b103a1531d23c0f0a431b07fa2bb8b
  • |load.bat|338f6ff5e687d1eec9b539057d6ab5a7
  • |mance.exe|4420f8917dc320a78d2ef14136032f69
  • |nei.bat|4c42cb692e83bb6fac57054686ba2b88
  • |poab.bat|ab234159a8bc206d06203086944b72c4
  • |poad.bat|36a90b771d5eb1fc06d29377816f643e
  • |puls.exe|c24315b0585b852110977dacafe6c8c1
  • |same.bat|07986ecd5f759e85db37302bd0493ea4
  • |svchost.exe|7afcf45907f225e3e3cfeece3bbcd410
  • |taskhost.exe|c097fd043d3cbabcada0878505c7afa5
  • |wai.bat|cd6fd2959b8ec762511f6c36adfb35bb
  • |wget.exe|bd126a7b59d5d1f97ba89a3e71425731
  • |xsfxdel~.exe|a48b642733b4ed0b2f63c726bea5710f

Domains

  • 1.indexsinas.me

  • 2.indexsinas.me

  • a.ccmd.website

Mutexes

  • ipip.website

  • dllhost.website

Service Names

  • MicrosotMaims

  • MicrosotMaim

  • MicrosoftMysql

  • MicrosoftMssql

  • Services

 

Indexsinas Exposure Analysis

 

Our exposure analysis using Shodan indicates 8601 devices that are extremely vulnerable to EternalBlue exploits and the Indexsinas SMB worm, if they are not patched immediately. The exposure analyses for open port 445, the SMB v1 servers and Windows operating systems enumerate approximately 830,000 Internet-facing assets at risk. 

 

Devices Vulnerable to Eternalblue
(MS17-010)

Exposures for Open Port 445,
SMB v.1 and Windows Operating Systems

shodan eternalblue affected servers shodan port smb and windows OS exposure

 

How do we mitigate the SMB vulnerabilities? 


Despite repeated warnings and workarounds to patch the EternalBlue exploit vulnerabilities existing since 2017, Internet-facing assets of several million organizations remain vulnerable to attacks. 
 

We urge all organizations to immediately update their servers and carry out network segmentation so as to strengthen their network in the event of an attack and compromise. Segmenting the network will ensure no lateral movement will be possible.


Attackers scour attack surfaces looking for one vulnerability that they can exploit in order to take down an organization. Organizations, therefore, need to update their servers more regularly and adopt a risk-based approach to boost their security posture. 


 

To know more about CSW’s Vulnerability Management as a Service (VMaaS), please visit https://cybersecurityworks.com/services/vulnerability-management-as-a-service

 

Test your defense to know how secure you are…