Skip to content
Modat Try Magnify
← Back to Blog
Research 8 Apr 2026

Neutralizing the Watchdog: Automated Security Removal in a Modular Cryptomining Campaign

A cryptomining campaign recently uncovered by Modat, working alongside Recorded Future, demonstrates a high level of modular efficiency that poses a direct threat to organisational infrastructure.

Neutralizing the Watchdog: Automated Security Removal in a Modular Cryptomining Campaign

Joint Publication: Modat and Recorded Future

Introduction

A cryptomining campaign recently uncovered by Modat, working alongside Recorded Future, demonstrates a high level of modular efficiency that poses a direct threat to organisational infrastructure. Cryptomining involves hijacking a system’s processing power to mine cryptocurrency, resulting in hardware wear, performance degradation, and a significant financial impact, whether through increased on-premises energy consumption or higher cloud service costs. This campaign is particularly dangerous because it employs “living off the land” (LotL) tactics, weaponising a target’s own legitimate system tools against them to systematically dismantle security before hijacking hardware for profit.

Although the campaign was not fully operational due to the domain resolution failure, analysing these tactics, techniques, and procedures (TTPs) helps defenders better track this activity and build more resilient detections.

Key Findings

  • Security Product Sabotage: The malware performed a systematic removal of established security suites, including the automated uninstallation of Norton and McAfee.
  • Native Tool Abuse: Legitimate binaries like certutil.exe were used to decode malicious tools, and tar.exe was used for extraction to minimise the custom code footprint.
  • Hardware Stealth: The script forced “silent” fan profiles and manipulated power settings to ensure the computer never slept during mining operations.
  • Credential Theft and Exfiltration: The threat actor harvested Wi-Fi profiles and used Hashcat to crack local NTLM hashes, exfiltrating data via a Discord webhook.

Attack Flow Overview

The automated steps ran from the initial HTA script to the final mining payload, across four stages: initial access, defense evasion, post-exploitation, and resource hijacking.

Attack flow overview

1. Initial Access and Execution

The infection began with an HTML Application (HTA) wrapper that suppressed its UI by setting WINDOWSTATE=“minimise” and SHOWINTASKBAR=“no”. This file was initially found within Modat Magnify, observed on TCP port 80 on the IP address 65[.]20[.]101[.]17, where the HTA file was returned to an HTTP request.

Initial access and execution

Initial access and execution

The HTA launched a VBScript component leveraging a combination of conhost and headless PowerShell script to execute staging activities. This stage was critical for collecting the core toolkit and a credential file, pass.txt, from the domain 8af[.]ca.1

The script then used a renamed version of PsExec (p.exe) to attempt lateral movement. It iterated through all user profile directories under C:\Users, attempting to remotely execute the next stage of the payload on every account discovered using the retrieved credentials.

2. Defense Evasion and Privilege Escalation

To maintain its pattern of abusing built-in Windows mechanisms, the script used a fodhelper.exe User Account Control (UAC) bypass when elevation was unavailable. This was achieved by registering a custom command handler in the registry under HKCU\Software\Classes\ms-settings\CurVer.

Automated antivirus removal. The malware actively hunted for security products to perform non-interactive uninstalls. If Norton was detected, it downloaded the official Norton Remove and Reinstall (NRnR) tool and used AutoHotkey to drive the uninstallation workflow without user interaction. If McAfee was detected, the script executed the mccleanup.exe utility with a comprehensive set of parameters designed to stop and remove all McAfee-related components and services.

3. Post-Exploitation and Persistence

AutoHotkey used to automate Norton removal

AutoHotkey used to automate Norton removal

The batch file c.bat (originally downloaded as cmd) orchestrated the decoding of the attacker’s toolkit. It used the legitimate certutil.exe tool to decode base64-encoded text files (ua.txt and yk.txt) into working binaries and archives.

The threat actor specifically leveraged native tar.exe to extract the decoded archive yk.zip. This process was used to deploy Mimikatz to the host: the binary was embedded within the encoded yk.txt file and extracted into the C:\YK directory via tar.exe. Once deployed, Mimikatz was executed to dump the SAM and SYSTEM hives.

Abuse of certutil.exe for decoding and tar.exe for tool extraction

Abuse of certutil.exe for decoding and tar.exe for tool extraction

Persistence was maintained via a malicious service named intelsvc. This service launched a PowerShell stager pointing to 8af[.]ca/2, ensuring the infection survived reboots. Additionally, the script disabled system notifications and cleared notification history to hide mining activities from the user.

4. Resource Hijacking and Data Exfiltration

The final payload, YK.ps1 (launched by the intelsvc service), deployed the mining components. On systems with dedicated graphics processing units (GPUs), the threat actor expanded operations to include GMiner in addition to the standard XMRig CPU miner. To stay hidden, the script used “silent” fan profiles via atrofac-cli.exe and manipulated power settings to prevent the computer from sleeping during mining.

Hashcat deployment and intelligence exfiltration. During this post-exploitation phase, the script retrieved and deployed Hashcat. The package was downloaded directly from the official Hashcat GitHub repository as cat.7z. To unzip the package into C:\YK, the script also retrieved a standalone 7-Zip executable (7za.exe).

The threat actor used Hashcat locally, rather than exfiltrating raw hashes, which minimised the outbound detection surface and enabled offline brute force. The attacker attempted to crack the NTLM hashes previously harvested by Mimikatz. Stolen passwords, system logs, and Wi-Fi profiles were exfiltrated using a Discord webhook, effectively leveraging Discord’s infrastructure as a stealthy command-and-control (C2) channel.

Local Hashcat cracking and data exfiltration via Discord webhook

Local Hashcat cracking and data exfiltration via Discord webhook

Conclusion

The analysis of this campaign’s modular efficiency provides a technical roadmap for building more resilient, behavioral-based detections. Security teams should remain vigilant for the abuse of legitimate tools, such as certutil.exe for binary decoding, as well as unexplained modifications to hardware performance profiles and power configuration settings, as these remain the primary indicators of this threat actor’s automated sabotage. Identifying these patterns of automated sabotage allows organisations to prevent physical hardware degradation and the escalating financial impacts of resource hijacking across both on-premises and cloud infrastructures.

Indicators of Compromise (IoC)

TypeIndicatorContextSHA-256
Domain8af[.]caPrimary staging and payload delivery domainN/A
IP Address65[.]20[.]101[.]17 (port 80)Direct host for files and XMRig pool endpointN/A
ServiceintelsvcPersistence service created by the malwareN/A
Filep.zipRenamed PsExec used for lateral movement078163d5c16f64caa5a14784323fd51451b8c831c73396b967b4e35e6879937b
File1 (8af[.]ca/1)Privilege escalation and security removal scriptb0257ff30fa4ce4c183d91bc543b832f7a7dd99819fecd93cb3aa4b3c37d295a
File2 (8af[.]ca/2)Post-exploitation and mining deployment stager5ad9313f10fdb1a7f439d6dd36b73a1796dde38158e6ebc776f93e53ba9778a5
FilecmdBatch script (c.bat) for LotL binary decodinge4548b167e1bb6403bb249455c5e9af2f4298f8f142652afdd099c431363e7cc
Fileua.txtBase64 encoded binary decoded by certutil9b0bfcd7eab735168f8a17d121695d1a0f7f50e2484aba9a1687e4571964a1eb
Fileyk.txtBase64 encoded archive decoded by certutil089f30ceb5f77808eaabf196431ffba43d0683dae43c926442885153c55c282b
FileInstall.zipSecondary installation packageb2cc4454c0a4fc80b1fc782c45ac7f76b1d95913d259090a2523819aeec88eb5
Filetask.zipMalicious Task Manager debugger (task.exe)36eea0f5280a9f50973dd11fd969806936167935c1739fbff555c120734b6c8c
File7za.zip7-Zip utility used for archive extraction223b873c50380fe9a39f1a22b6abf8d46db506e1c08d08312902f6f3cd1f7ac3
Filecat.7zHashcat package for local credential cracking96697e9ef6a795d45863c91d61be85a9f138596e3151e7c2cd63ccf48aaa8783
Webhookdiscord[.]com/api/webhooks/…Discord exfiltration and C2 channelN/A

Footnotes

  1. At the time of writing, the domain 8af[.]ca no longer resolves to the host IP 65[.]20[.]101[.]17. This IP address was previously seen resolving to the domain 9df[.]ca between late 2024 and early 2025. Despite the domain issues, the malicious files remained available on the IP address.

Intent leaves a trace.

Talk to us about your needs