Comprehensive Analysis of the Recent ‘EvilCorp’ Ransomware Campaign: Unpacking the Tactics and Techniques

Mike Torres — Incident Response Specialist

Key Takeaways

  • The EvilCorp ransomware employs sophisticated social engineering as initial access vectors.
  • Post-exploitation capabilities leverage PowerShell for persistence and lateral movement.
  • Command and Control infrastructure utilizes domain generation algorithms (DGA) to evade detection and maintain resilience.

Executive Summary

During our investigation of the recent ‘EvilCorp’ ransomware campaign, we observed a highly orchestrated attack lifecycle that leveraged a combination of social engineering and exploitation of trust within organizations. Our analysis revealed that initial access was often facilitated via phishing emails delivering malicious attachments, often masquerading as legitimate documents. The payload, once executed, deployed several tools typically associated with a well-known threat actor group, revealing their advanced tactics, techniques, and procedures (TTPs).

Initial Access

Our analysis of the email artifacts showed that the initial access phase predominantly relied on **phishing** attempts. We identified multiple attachments with names like `Invoice_1234.doc` or `Payment_Confirmation.pdf`, where embedded macros—once enabled—triggered a sequence of malicious downloads. One particular variant of the **macro-based downloader** utilized the **mshta.exe** process to execute a PowerShell command that fetched the payload from a remote server. This initial access mechanism aligns with the **T1566 – Phishing** technique as documented in the MITRE ATT&CK framework.

Execution & Persistence

The ransomware payload, upon execution, utilized several methods to establish persistence. We detected the use of **Windows Management Instrumentation (WMI)** to create new scheduled tasks, effectively maintaining its presence across reboots. Our investigations revealed the following registry modification for persistence: **HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\vulnerableapp**. Over time, this made it increasingly difficult to eliminate the implant, as it could be re-activated even after initial remediation attempts. This approach is indicative of the **T1547 – Boot or Logon Autostart Execution** technique.

Command and Control

The Command and Control (C2) infrastructure employed by the EvilCorp actors displayed a sophisticated level of obfuscation and resilience. Our analysis revealed they used **Domain Generation Algorithm (DGA)** techniques, dynamically generating a large array of domain names for communication. We intercepted several DNS queries aimed at newly generated domains that resolved to IP addresses across several geolocations, indicating a decentralized and adaptive C2 strategy. Additionally, communication with C2 servers was frequently encrypted with SSL/TLS, further complicating traffic analysis and detection capabilities. These behaviors correspond with **T1071.001 – Application Layer Protocol: Web Protocols**.

Lateral Movement & Discovery

Within the victim environment, subsequent lateral movement was performed using **PowerShell**, highlighting the actor’s ability to leverage legitimate administration tools for their malicious objectives. We noted frequent executions of commands such as `Invoke-Command -ScriptBlock { … }` aimed at remote systems, showcasing both reconnaissance and lateral access techniques. Our telemetry captured several commands consistent with **T1021 – Remote Services**, specifically the use of **Windows Remote Management (WinRM)**. The actor conducted systematic discovery of network resources, scanning for additional vulnerabilities to exploit.

Impact & Objectives

The objective of this ransomware deployment was multi-faceted, aiming not only to encrypt files but also to extract sensitive data for double extortion tactics. Our analysis of the encrypted artifacts suggested that critical business documents and databases were targeted. Furthermore, the deployment included functionalities to destroy backups as a means to increase leverage over the organizations targeted. The negative impact on operations, coupled with reputational damage and potential legal ramifications, was significant, cementing the efficiency of the attack.

MITRE ATT&CK Mapping

  • T1566 – Phishing: The use of phishing emails to gain initial access to the target environment.
  • T1547 – Boot or Logon Autostart Execution: Leveraging registry keys for persistence across reboots.
  • T1071.001 – Application Layer Protocol: Web Protocols: Utilizing web protocols for communication with the C2.
  • T1021 – Remote Services: Using services like WinRM for lateral movement.

Detection Opportunities

  • Implement monitoring for suspicious attachments and macro execution in email gateways to reduce phishing efficacy.
  • Utilize endpoint detection to alert on unauthorized modifications to the registry and scheduled tasks.
  • Deploy network traffic analysis tools to identify anomalous DNS requests indicative of DGA-related activity.

Analyst Notes

The sophistication of the EvilCorp campaign underscores the importance of a robust security posture that includes meticulous monitoring of email activities, continuous threat detection improvements, and responses tailored to the evolving tactics employed by threat actors. As such campaigns evolve, constant vigilance and strategic adaptability will be paramount to mitigating risks.

Source: Original Report