Technical Analysis of Recent Ransomware Campaign: A Deep Dive into the Attack Chain

Mike Torres — Incident Response Specialist

Key Takeaways

  • Ransomware variants leverage sophisticated social engineering tactics for initial access.
  • The implant exhibits strong persistence mechanisms via registry manipulation.
  • Command and Control (C2) traffic indicates use of encrypted channels, complicating detection efforts.

Executive Summary

In our latest investigation, we delved into a prevalent ransomware campaign that recently targeted a range of industries. The campaign’s methodology consisted of multiple phases starting from initial access through to payload delivery and data exfiltration. Our analysis revealed a systematic approach employed by the adversaries, utilizing both social engineering and technical tactics to achieve their objectives.

Initial Access

During the investigation, we observed that the initial access vector involved phishing emails containing malicious links or attachments. The emails masqueraded as legitimate business communications, enticing recipients to click on them. Notably, the samples we examined often included fake invoices or shipping notices, which aligned perfectly with the recipients’ expectations. The malicious attachments, typically in the form of .zip files, leveraged embedded VBScript to drop additional payloads upon execution.

Execution & Persistence

Once the user executed the malicious payload from the C: emp directory, the malware utilized a series of techniques to establish persistence. Our analysis pointed to the creation of a new registry key at HKEY_CURRENT_USER\Software
andom_key
to execute the malware on user login. Furthermore, the implant employed Scheduled Tasks to ensure it was executed periodically, which is a common persistence strategy we frequently encounter in malicious software.

Command and Control

The compromised systems established communication with an external Command and Control (C2) server, which appeared to be hosted on a dynamic IP address. We analyzed the traffic and noted that the malware used AES encryption for its communications, indicating a deliberate attempt to evade detection and analysis. The C2 beacons were sent at regular intervals, and our analysis indicated DNS tunneling was occasionally utilized as an obfuscation method to bypass network filters.

Lateral Movement & Discovery

After successfully securing a foothold, the attackers executed lateral movement techniques within the network. Utilizing Mimikatz, they extracted password hashes from memory, allowing further exploitation of other systems without user interaction. Our investigation revealed that the actor had also propagated malware via PSExec and WMI, showcasing their adeptness at using native tools for malicious purposes. Additionally, they employed thorough reconnaissance, utilizing commands such as net view and ipconfig, to identify high-value assets within the network.

Impact & Objectives

The ultimate goal of this ransomware campaign was data encryption and exfiltration. The actor demonstrated their proficiency by encrypting critical files, creating ransom notes in the C:
oot iles
directory, and threatening data release. In several instances, organizations reported substantial operational disruptions, as critical services were rendered unavailable, crippling business functions. We believe their principal objective extended beyond financial gain; they were also aiming to instill fear to achieve compliance with ransom demands.

MITRE ATT&CK Mapping

  • T1560 – Archive Collected Data: The adversary used data compression techniques to package sensitive data for exfiltration.
  • T1071.001 – Application Layer Protocol: Web Protocols: C2 communications were observed using HTTPS to avoid detection.
  • T1086 – PowerShell: PowerShell was leveraged for lateral movement and execution of payloads.
  • T1021.001 – Remote Services: RDP: The actor utilized Remote Desktop Protocol to gain access to additional systems.
  • T1035 – Service Execution: The implant utilized services for executing malicious payloads on victim machines.

Detection Opportunities

  • Monitor network traffic for unusual DNS requests and encrypted traffic patterns indicative of covert C2 communications.
  • Implement alerts for anomalous activities related to Scheduled Task creation or modifications of registry keys linked to persistence.
  • Utilize endpoint detection and response (EDR) solutions capable of identifying the execution of PSExec or WMI commands indicative of lateral movement.

Analyst Notes

This ransomware campaign highlights the importance of user education regarding phishing threats and the necessity of implementing rigorous endpoint protection. While technical defenses are crucial, fostering a security-aware culture can significantly mitigate the risks associated with social engineering attacks. Organizations must remain vigilant, continuously updating and refining their incident response protocols to swiftly handle potential breaches.

Source: Original Report