{"id":7515,"date":"2022-09-03T19:58:34","date_gmt":"2022-09-04T02:58:34","guid":{"rendered":"https:\/\/webdev.securin.xyz\/?p=7515"},"modified":"2023-04-11T10:11:19","modified_gmt":"2023-04-11T17:11:19","slug":"indexsinas-smb-worm-exploits-eternalblue-vulnerabilities","status":"publish","type":"post","link":"https:\/\/webdev.securin.xyz\/articles\/indexsinas-smb-worm-exploits-eternalblue-vulnerabilities\/","title":{"rendered":"Indexsinas SMB Worm Exploits EternalBlue Vulnerabilities"},"content":{"rendered":"
Indexsinas or NSABuffMiner has been actively exploiting the SMB vulnerabilities, also known as the EternalBlue exploit (MS17-010<\/a>), 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<\/a> of using the machines for mining cryptocurrency.\u00a0<\/strong> <\/p>\n Yes, the vulnerabilities were called out by CyberSecurityWorks in the Ransomware Spotlight 2021<\/a> report, enumerating the seven CVEs as being used by WannaCry ransomware, of which five are related to the EternalBlue exploit kit.<\/p>\n <\/b><\/p>\n Microsoft released patches<\/a> 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.<\/p>\n <\/p>\n 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<\/a>.<\/strong><\/p>\n<\/blockquote>\n <\/p>\n Some mentionable ransomware groups that have made use of the EternalBlue exploit include Conti, REvil, WannaCry, Satan and Katyusha, amongst several others.<\/p>\n Here is an in-depth analysis of the vulnerabilities:<\/strong><\/p>\n <\/p>\n 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.<\/strong><\/p>\n 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.<\/p>\n The Indexsinas SMB worm attack methodology generally consists of four different stages.<\/strong><\/p>\n Initial Access and Execution<\/strong><\/p>\n<\/li>\n<\/ol>\n After the NSA EternalBlue exploit tools are used to breach the SMB server, code is run in the victim\u2019s 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.<\/p>\n Persistence and Remote Access<\/strong><\/p>\n<\/li>\n<\/ol>\n A version of the Gh0stCringe<\/a> remote access trojan (RAT) is dropped and loaded into the memory of the victim\u2019s machine. The RAT creates a registry key under svchost and deploys executables that have the capability to download, upload and install new modules.<\/p>\n Injecting Cryptominer Modules<\/strong><\/p>\n<\/li>\n<\/ol>\n The tool svchost <\/em>installs services that install a cryptominer in the victim\u2019s computer and run it constantly to mine Monero cryptocurrency.<\/p>\n Propagation<\/strong><\/p>\n<\/li>\n<\/ol>\n A payload uploaded in the first stage scans the SMB server in order to move laterally within and across the organization\u2019s network. Once lateral movement is possible, batch scripts are installed to scan IP addresses associated with the victim\u2019s machine. Upon successful exploitation, the attack flow starts all over again on a newly-infected machine.<\/p>\n <\/p>\n <\/p>\n <\/p>\n MD5 hashes:<\/strong><\/p>\n Domains<\/strong><\/p>\n 1.indexsinas.me<\/p>\n<\/li>\n 2.indexsinas.me<\/p>\n<\/li>\n a.ccmd.website<\/p>\n<\/li>\n<\/ul>\n Mutexes<\/strong><\/p>\n ipip.website<\/p>\n<\/li>\n dllhost.website<\/p>\n<\/li>\n<\/ul>\n Service Names<\/strong><\/p>\n MicrosotMaims<\/p>\n<\/li>\n MicrosotMaim<\/p>\n<\/li>\n MicrosoftMysql<\/p>\n<\/li>\n MicrosoftMssql<\/p>\n<\/li>\n Services<\/p>\n<\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n 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.<\/p>\n <\/p>\n 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. 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.<\/p>\n <\/p>\n
\nThe Indexsinas campaign targeted Guardicore Global Sensors Network (GGSN) in 2019 and have continued carrying out persistent attacks<\/a> ever since. In March 2020, the Indexsinas campaign hit a cafe in Hunan, China where they introduced the new NSABuffMiner worm.
\nA total of 2000 different breaches have been recorded so far,\u00a0 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<\/a>.<\/p>\nDid CSW warn of these vulnerabilities?\u00a0<\/strong><\/h2>\n
\n
Indexsinas Attack Methodology<\/strong><\/h2>\n
\n
\n
\n
\n
\n\n
\n IoCs<\/strong><\/td>\n<\/tr>\n \n \n \n
\n \n
\n
\n
Indexsinas Exposure Analysis<\/strong><\/h2>\n
\n\n
\n Devices Vulnerable to Eternalblue
\n(MS17-010)<\/strong><\/span><\/td>\nExposures for Open Port 445,
\nSMB v.1 and Windows Operating Systems<\/strong><\/span><\/td>\n<\/tr>\n\n <\/b><\/td>\n <\/b><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n How do we mitigate the SMB vulnerabilities?\u00a0<\/strong><\/h2>\n
\nWe urge all organizations to immediately update their servers and carry out network segmentation<\/a> 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.<\/p>\n