Skip to content
Threat Feed
high advisory

CikaBika Bot RAT Exploits Discord for Command and Control

CikaBika Bot is a Rust-based Remote Access Trojan (RAT) delivered via phishing that utilizes Discord for command-and-control and Ngrok for exfiltration of sensitive victim data.

CikaBika Bot is a modular Remote Access Trojan (RAT) written in Rust that leverages legitimate cloud services to facilitate malicious operations. The malware is distributed through phishing campaigns using document-themed lures, specifically PDF files that contain disk images with malicious Windows shortcuts (LNK). Once activated, the malware employs a Nim-based loader to deploy a Rust DLL, which is subsequently sideloaded into the Microsoft Edge directory to bypass User Account Control (UAC) and maintain persistence.

The CikaBika Bot is designed for full-system surveillance, allowing attackers to conduct reconnaissance, terminate processes, stream video, and capture screenshots. The RAT establishes command-and-control (C&C) by registering the infected host with Discord channels. Data exfiltration, particularly of compressed ZIP archives containing stolen documents, is performed via Ngrok tunnels. This combination of Discord and Ngrok demonstrates a strategy of repurposing trusted infrastructure to evade network security controls.

Attack Chain

  1. Phishing: Victim receives an email containing a PDF file that includes a disk image with a malicious Windows shortcut (LNK).
  2. Execution: Upon opening the LNK file, the malware displays a decoy document while executing a hidden PowerShell command.
  3. Payload Staging: The hidden PowerShell process decodes and executes an embedded Nim-based loader.
  4. Persistence and UAC Bypass: The loader deploys a Rust DLL to the Microsoft Edge directory, utilizing DLL search-order hijacking against Microsoft debugging libraries to achieve elevated privileges.
  5. C&C Initialization: The CikaBika Bot registers the compromised host with a specific Discord channel for communication.
  6. Reconnaissance: The bot harvests system configuration, running processes, and network details, and captures system screenshots.
  7. Exfiltration: The bot compresses target directories into ZIP files and exfiltrates them using the Ngrok utility.

Impact

The CikaBika Bot provides attackers with comprehensive surveillance capabilities, including live streaming and camera control. Successful exploitation leads to the loss of sensitive documents, system information, and potential lateral movement or persistent monitoring. While specific victim counts are not disclosed, the use of targeted phishing lures suggests intent for high-value reconnaissance and data theft against organizations using Microsoft Windows environments.

Recommendation

  • Deploy Sigma rules to detect the creation of LNK files that launch PowerShell from non-standard locations or with hidden window flags.
  • Monitor for process execution originating from the 'C:\Program Files (x86)\Microsoft\Edge' or 'C:\Program Files\Microsoft\Edge' directories that are not signed by Microsoft.
  • Restrict the use of unauthorized remote access and tunneling utilities like Ngrok in the corporate environment via firewall or proxy egress filtering.
  • Configure EDR solutions to alert on DLL sideloading patterns targeting system directories, particularly focusing on Microsoft debugging library exports.
  • Implement blocklists for known Discord-based C&C traffic patterns where possible; focus on identifying anomalous traffic volumes to 'discord.com' or specific subdomains associated with bot activity.

Immediate actions

Deploy PowerShell LNK detection rule

Detection Engineering 24h

Threat Hunt

Search for unsigned DLLs or unexpected DLL files within Microsoft Edge installation directories

T1574.002 high high confidence hunt now

Data: File system audit logs

Mitigations

Restrict egress traffic to Ngrok domains and analyze Discord traffic patterns

short_term Network Security

C&C and Exfiltration

Detection coverage 1

Detect Suspicious PowerShell Execution from LNK

high

Detects the execution of PowerShell via a shortcut file (LNK), often used as an initial entry point in the CikaBika Bot campaign.

sigma tactics: initial_access techniques: T1204.002, T1566.001 sources: process_creation, windows

Detection queries are available on the platform. Get full rules →