computer security info  Blog's Page

Back To Blog

Doki Backdoor: Complete Technical Analysis, Indicators Of Compromise (IOCs), MITRE ATT&CK M


  Category:  RANSOMWARE | 7th July 2026 | Author:  CSI'S TEAM

computer security info

Introduction

Doki Is A Linux-based Backdoor Malware That Gained Significant Attention In 2020 After Researchers Discovered It Targeting Cloud-hosted Docker Environments. Unlike Traditional Malware That Relies On Hardcoded Command-and-control (C2) Infrastructure, Doki Uses A Unique Mechanism Involving The Dogecoin Blockchain To Dynamically Generate And Locate Its C2 Servers. This Approach Makes Detection And Takedown Efforts Considerably More Difficult Because The Malware Can Continuously Discover New Attacker-controlled Infrastructure Without Relying On Fixed Domains Or IP Addresses.

Doki Is Commonly Associated With Compromised Docker Instances That Expose Management APIs To The Internet Without Proper Authentication. Once Attackers Gain Access To A Vulnerable Docker Environment, They Deploy Malicious Containers That Install The Doki Backdoor And Establish Persistent Remote Access. The Malware Allows Threat Actors To Execute Commands, Download Additional Payloads, Perform Reconnaissance, And Maintain Long-term Control Over Infected Systems.

Although Doki Itself Is Primarily A Backdoor Rather Than Ransomware Or A Banking Trojan, It Represents A Serious Threat To Cloud Infrastructure Because It Can Serve As An Entry Point For Data Theft, Cryptomining, Lateral Movement, And Further Malware Deployment.

This Article Provides A Comprehensive Analysis Of Doki Backdoor, Including Affected Operating Systems, Infected Files, Browser Exposure Risks, Impacted Countries, Indicators Of Compromise, MITRE ATT&CK Techniques, Detection Rules, And Frequently Asked Questions.

Overview Of Doki Backdoor

Attribute Details
Malware Name Doki
Malware Type Backdoor
Primary Target Linux Servers
Discovery Year 2020
Initial Vector Exposed Docker APIs
Persistence Limited But Possible Through Container Deployment
Command And Control Dogecoin-based Dynamic Lookup
Primary Objective Remote Access And Command Execution
Typical Victims Cloud Infrastructure And Docker Hosts

Doki Is Notable Because Of Its Unconventional Command-and-control Discovery Method, Which Allows Attackers To Evade Traditional Domain-based Detection Techniques.

How Doki Infects Systems?

A Typical Doki Infection Follows Several Stages.

Stage 1: Discovery Of Exposed Docker APIs

Attackers Scan The Internet For:

  • Misconfigured Docker Services

  • Open Docker Remote APIs

  • Cloud Instances Lacking Authentication

  • Publicly Exposed Container Management Ports

Stage 2: Container Deployment

After Identifying A Vulnerable Target, Attackers Deploy A Malicious Container That Contains Doki Components.

Stage 3: Installation

The Malware Installs Binaries And Scripts Inside The Containerized Environment.

Stage 4: Command-and-Control Discovery

Doki Uses Dogecoin Blockchain Transactions And DNS Mechanisms To Derive Active C2 Infrastructure.

Stage 5: Remote Access

The Attacker Gains:

  • Command Execution Capability

  • File Management Access

  • System Reconnaissance Functionality

  • Payload Deployment Capabilities

Operating Systems Affected

Doki Primarily Targets Linux Environments.

Known Affected Linux Distributions

  • Ubuntu

  • Debian

  • CentOS

  • Red Hat Enterprise Linux (RHEL)

  • Fedora

  • Alpine Linux

  • Amazon Linux

  • Oracle Linux

Containerized Platforms

Doki Frequently Infects:

  • Docker Containers

  • Kubernetes Nodes

  • Cloud Workloads

  • Virtual Private Servers (VPS)

Windows Systems

No Major Windows-specific Doki Variant Has Been Publicly Documented.

macOS Systems

There Are No Significant Reports Of Doki Targeting MacOS Systems.

Browsers Potentially Exposed

Doki Does Not Directly Target Browsers Like Banking Trojans. However, Compromised Servers May Contain Browser-related Data That Attackers Can Access.

Potentially Affected Browsers

  • Google Chrome

  • Mozilla Firefox

  • Chromium

  • Microsoft Edge (Linux)

  • Brave Browser

Browser Data At Risk

  • Saved Credentials

  • Session Cookies

  • Authentication Tokens

  • Browser Profiles

  • Cached Files

If A Compromised Linux Host Is Used For Development Or Administration, Browser-stored Credentials May Be Exposed.

Browser Extensions Potentially Exposed

Although Doki Does Not Specifically Attack Browser Extensions, Attackers With Backdoor Access May Steal Information Stored By Extensions.

Examples Of Exposed Extension Categories

  • Password Managers

  • Cryptocurrency Wallet Extensions

  • Cloud Administration Tools

  • VPN Browser Extensions

  • Developer Tools

Data Potentially Compromised

  • API Keys

  • Authentication Tokens

  • Cloud Credentials

  • Password Vault Metadata

  • Cryptocurrency Wallet Information

Files Associated With Doki Infections

Doki Primarily Installs Executable Binaries And Scripts Rather Than Encrypting User Data.

Executable Files

doki
Nginx
Update
Systemd-helper

Shell Scripts

.sh
.bash
.run

Downloaded Payloads

.bin
.elf
.out

Configuration Files

.conf
.cfg
.ini
.json
.yaml

Log Files

.log
.tmp

Cloud And Administrative Data At Risk

  • SSH Private Keys

  • Cloud Credentials

  • Kubernetes Configurations

  • Docker Configuration Files

  • Environment Variable Secrets

Commonly Targeted Files

Doki Operators Often Seek Access To Valuable Administrative Files.

Credential Files

~/.ssh/id_rsa
~/.ssh/authorized_keys

Cloud Credentials

.aws/credentials
.azure/
.gcp/

Docker Files

docker-compose.yml
Daemon.json
Config.json

Kubernetes Files

kubeconfig
Secrets.yaml

These Files May Provide Attackers With Additional Access To Cloud Environments.

Command-and-Control Infrastructure

One Of Doki's Most Distinctive Features Is Its Dynamic C2 Discovery Process.

Traditional Malware

Most Malware Relies On:

  • Static Domains

  • Hardcoded IP Addresses

  • Embedded C2 Infrastructure

Doki Approach

Doki Instead:

  • Uses Dogecoin Blockchain Transactions

  • Generates Dynamic Domains

  • Resolves Active Attacker Infrastructure

  • Avoids Fixed C2 Dependencies

This Significantly Complicates Traditional IOC-based Detection.

How Many Systems Were Affected?

Exact Infection Numbers Remain Unavailable Because Cloud Compromises Are Often Underreported.

Public Security Research Identified:

  • Thousands Of Exposed Docker APIs Worldwide.

  • Multiple Active Doki Campaigns.

  • Compromised Cloud Workloads Across Several Regions.

  • Persistent Infections Surviving For Extended Periods.

Researchers Observed That Some Infected Environments Remained Compromised For Months Without Detection.

Industry Estimates Suggest That Hundreds To Thousands Of Linux Cloud Instances May Have Been Infected During Active Campaigns.

The True Number Is Likely Higher Because Many Cloud Environments Do Not Publicly Disclose Incidents.

Countries Impacted

Doki Targeted Internet-accessible Docker Environments Globally.

Frequently Observed Countries

  • United States

  • Canada

  • United Kingdom

  • Germany

  • France

  • Netherlands

  • Spain

  • Italy

  • India

  • Singapore

  • Australia

  • Brazil

  • Japan

  • South Korea

Because Doki Primarily Targets Exposed Cloud Infrastructure, Infections Correlate More Closely With Cloud Adoption Than Geographic Location.

Persistence Mechanisms

Doki Can Maintain Access Using Multiple Persistence Techniques.

Common Methods

  • Malicious Docker Containers

  • Startup Scripts

  • Scheduled Tasks

  • Service Modifications

  • Container Recreation

Persistence Depends Largely On The Attacker's Deployment Strategy.

Doki Backdoor Indicators Of Compromise (IOCs)

The Following Indicators Are Representative Examples Associated With Doki Activity. Security Teams Should Validate Indicators Against Current Threat Intelligence Feeds Before Deployment.

Suspicious File Names

doki
Nginx-helper
System-update
Docker-update

Suspicious Directories

/tmp/
/var/tmp/
/dev/shm/

Behavioral Indicators

  • Unexpected Docker Container Creation

  • Unauthorized Command Execution

  • Outbound DNS Activity

  • Dynamic Domain Generation

  • Shell Script Downloads

  • Unexpected Network Connections

Docker Indicators

Unauthorized Containers
Unknown Docker Images
Unexpected Container Restarts

Process Indicators

curl
Wget
Bash
Sh
Python
Perl

Used In Suspicious Download-and-execute Chains.

Network Indicators

Organizations Should Investigate:

  • Connections To Unknown External Servers

  • Unusual DNS Traffic

  • Repeated Domain Generation Activity

  • Communications Originating From Containers

  • Outbound Traffic To Dynamically Changing Destinations

Because Doki Uses Dynamic Infrastructure, Behavioral Detection Is Often More Effective Than Static IOC Matching.

MITRE ATT&CK Techniques

The Following ATT&CK Techniques Closely Align With Doki Operations.

ATT&CK ID Technique
T1190 Exploit Public-Facing Application
T1133 External Remote Services
T1611 Escape To Host
T1059.004 Unix Shell
T1105 Ingress Tool Transfer
T1036 Masquerading
T1082 System Information Discovery
T1018 Remote System Discovery
T1046 Network Service Discovery
T1005 Data From Local System
T1552 Unsecured Credentials
T1071 Application Layer Protocol
T1095 Non-Application Layer Protocol
T1027 Obfuscated Files Or Information
T1102 Web Service
T1573 Encrypted Channel

ATT&CK Tactics

Doki Activity Spans Multiple ATT&CK Tactics.

Initial Access

  • Exploitation Of Exposed Docker APIs

Execution

  • Shell Command Execution

Persistence

  • Container Redeployment

  • Startup Scripts

Discovery

  • System Reconnaissance

  • Network Scanning

Credential Access

  • SSH Key Theft

  • Cloud Credential Collection

Command And Control

  • Dynamic Blockchain-assisted C2 Discovery

Detection Rules

Sigma Rule – Suspicious Docker Activity

title: Suspicious Docker Container Creation
Id: Doki-docker-container
Status: Experimental

Logsource:
  Product: Linux

Detection:
  Selection:
    CommandLine|contains:
      - Docker Run
      - Docker Create

  Condition: Selection

Level: Medium

Sigma Rule – Suspicious Download And Execute

title: Linux Download And Execute Activity
Id: Doki-download-execute
Status: Experimental

Logsource:
  Product: Linux
  Category: Process_creation

Detection:
  Selection:
    CommandLine|contains:
      - Wget
      - Curl

  Condition: Selection

Level: High

Sigma Rule – Execution From Temporary Directories

title: Execution From Temporary Directories
Id: Doki-temp-execution
Status: Experimental

Logsource:
  Product: Linux

Detection:
  Selection:
    CommandLine|contains:
      - /tmp/
      - /var/tmp/
      - /dev/shm/

  Condition: Selection

Level: High

YARA Rule Example

rule Linux_Doki_Backdoor
{
    Meta:
        Description = "Detect Potential Doki Backdoor Artifacts"

    Strings:
        $a = "docker"
        $b = "Dogecoin"
        $c = "curl"

    Condition:
        Any Of Them
}

Behavioral Detection Opportunities

Security Teams Should Monitor For:

  • Unauthorized Docker API Access

  • New Container Deployments

  • Download-and-execute Behavior

  • Dynamic DNS Activity

  • Unexpected Outbound Connections

  • SSH Key Access

  • Credential Harvesting Attempts

  • Cloud Configuration Access

  • Container Escape Attempts

Behavior-based Monitoring Often Detects Doki More Effectively Than Signature-based Methods.

Prevention And Mitigation

Secure Docker Deployments

  • Disable Public Docker API Exposure.

  • Require Authentication.

  • Restrict Network Access.

Cloud Security

  • Implement Least Privilege.

  • Monitor Cloud Credentials.

  • Rotate Secrets Regularly.

Container Security

  • Scan Container Images.

  • Use Trusted Repositories.

  • Monitor Container Behavior.

Network Security

  • Restrict Outbound Communications.

  • Inspect DNS Traffic.

  • Monitor Command-and-control Activity.

Endpoint Monitoring

  • Deploy Linux EDR Solutions.

  • Monitor Process Creation.

  • Detect Unusual Shell Activity.

Frequently Asked Questions (FAQ)

What Is Doki Backdoor?

Doki Is A Linux Backdoor Malware That Primarily Targets Cloud-hosted Docker Environments And Provides Remote Access To Attackers.

How Does Doki Spread?

It Commonly Spreads Through Exposed Docker APIs And Misconfigured Container Environments That Are Accessible From The Internet.

Which Operating Systems Are Affected?

Doki Primarily Targets Linux Distributions And Containerized Cloud Workloads.

Does Doki Encrypt Files?

No. Doki Is A Backdoor Rather Than Ransomware. Its Primary Purpose Is Remote Access And System Control.

What Makes Doki Unique?

Its Most Distinctive Feature Is The Use Of The Dogecoin Blockchain To Dynamically Discover Command-and-control Infrastructure.

What Data Can Attackers Steal?

Attackers May Collect:

  • SSH Keys

  • Cloud Credentials

  • Configuration Files

  • Application Secrets

  • Administrative Information

How Many Systems Were Affected?

Exact Figures Are Unknown, But Researchers Estimate That Hundreds To Thousands Of Cloud-hosted Linux Systems May Have Been Compromised During Active Campaigns.

Which Countries Were Impacted?

Doki Infections Were Observed Globally, Including The United States, Germany, United Kingdom, India, Australia, Brazil, Singapore, And Many Other Countries.

How Can Organizations Detect Doki?

Detection Can Be Achieved Through Docker Monitoring, Linux EDR Solutions, Network Analytics, ATT&CK-based Threat Hunting, And Behavioral Detection.

How Can Organizations Prevent Doki Infections?

The Most Effective Defense Is Securing Docker Environments, Disabling Unauthenticated Docker APIs, Implementing Least Privilege, Monitoring Cloud Workloads, And Continuously Auditing Container Activity.

Conclusion

Doki Backdoor Represents A Notable Evolution In Linux-focused Malware, Particularly Within Cloud And Containerized Environments. Its Use Of The Dogecoin Blockchain For Dynamic Command-and-control Discovery Demonstrates How Modern Threat Actors Continue To Innovate In Order To Evade Traditional Detection Methods. Rather Than Relying On Fixed Infrastructure, Doki Leverages Decentralized Mechanisms That Complicate Takedown Efforts And Reduce The Effectiveness Of Static IOC-based Defenses.

By Targeting Exposed Docker APIs And Cloud Workloads, Doki Highlights The Importance Of Secure Container Deployment Practices, Strong Access Controls, And Continuous Monitoring. Organizations Operating Cloud-native Infrastructure Should Prioritize Docker Security, Credential Protection, Behavioral Threat Detection, And ATT&CK-aligned Threat Hunting To Reduce The Risk Posed By Doki And Similar Linux Backdoors.

Malware Removal Guide For PC

Malware Removal Guide For Web Browsers

Prevent Future Malware

Summary - Malware Removal Guide

Guide For VPN Uses

Malware Removal Guide – PC And Web Browser

PART 1: Remove Malware From Your PC (Windows)

Step 1: Boot Into Safe Mode

  • Restart Your PC And Press F8 (or Shift + F8 For Some Systems) Before Windows Loads.

  • Choose Safe Mode With Networking.

Safe Mode Prevents Most Malware From Loading.

Step 2: Uninstall Suspicious Programs

  1. Press Win + R, Type appwiz.cpl, And Press Enter.

  2. Sort By Install Date And Uninstall Unknown Or Recently Added Programs.

Step 3: Run A Malware Scan

Use A Trusted Anti-malware Tool:

Malwarebyteshttps://www.malwarebytes.com

Screenshot Of Malwarebytes - Visit Links

Microsoft Defender – Built Into Windows 10/11

Bitdefender GravityZone Business Security

Emsisoft Anti-Malware Home

HitmanPro, ESET Online Scanner, Or Kaspersky Virus Removal Tool

ZoneAlarm Pro Antivirus + Firewall NextGen

VIPRE Antivirus - US And Others Countries, | India

VIPRE Antivirus - Mac

F-Secure Total - Global

Run A Full Scan And Delete/quarantine Detected Threats.

Step 4: Delete Temporary Files

  1. Press Win + R, Type temp → Delete All Files.
  2. Press Win + R, Type %temp% → Delete All Files.

  3. Use Disk Cleanup: cleanmgr In The Run Dialog.

Step 5: Reset Hosts File

  1. Go To: C:\Windows\System32\drivers\etc

  2. Open hosts File With Notepad.

  3. Replace With Default Content:

Step 6: Check Startup Programs

  1. Press Ctrl + Shift + Esc → Open Task Manager

  2. Go To Startup Tab

  3. Disable Any Suspicious Entries.

Step 7: Reset Network Settings

  1. Open Command Prompt As Administrator.

  2. Run These Commands:

netsh Winsock Reset

netsh Int Ip Reset

ipconfig /flushdns

PART 2: Remove Malware From Web Browsers

? Common Signs Of Malware In Browser:

  • Unwanted Homepage Or Search Engine

  • Pop-ups Or Redirects

  • Unknown Extensions Installed

Step 1: Remove Suspicious Extensions

For Chrome:

  • Go To: chrome://extensions/

  • Remove Anything Unfamiliar

For Firefox:

  • Go To: about:addons → Extensions

  • Remove Suspicious Add-ons

For Edge:

  • Go To: edge://extensions/

  • Uninstall Unknown Add-ons

Step 2: Reset Browser Settings

Chrome:

  • Go To chrome://settings/reset → "Restore Settings To Their Original Defaults"

Firefox:

  • Go To about:support → "Refresh Firefox"

Edge:

  • Go To edge://settings/resetProfileSettings → "Reset Settings"

Step 3: Clear Cache And Cookies

All Browsers:

  • Use Ctrl + Shift + Del → Select All Time

  • Clear Cookies, Cached Files, And Site Data

Step 4: Check Search Engine & Homepage Settings

Make Sure They Are Not Hijacked.

  • Chrome: chrome://settings/search

  • Firefox: about:preferences#search

  • Edge: edge://settings/search

Step 5: Use Browser Cleanup Tools (Optional)

  • Chrome: chrome://settings/cleanup

  • Use Malwarebytes Browser Guard For Real-time Browser Protection.

FINAL TIPS: Prevent Future Malware

  • Always Download Software From Trusted Sources.

  • Keep Windows, Browsers, And Antivirus Updated.

  • Avoid Clicking Suspicious Links Or Ads.

  • Use ad Blockers And reputable Antivirus Software.

  • Backup Your Files Regularly.

Short Summary: Malware Removal Guide (PC & Web Browser)

To Remove Malware From Your Windows PC, Start By Booting Into Safe Mode, Uninstalling Suspicious Programs, And Scanning With Trusted Anti-malware Tools Like Malwarebytes. Clear Temporary Files, Reset Your Network Settings, And Check Startup Apps For Anything Unusual.

For web Browsers, Remove Unwanted Extensions, Reset Browser Settings, Clear Cache And Cookies, And Ensure Your Homepage And Search Engine Haven’t Been Hijacked. Use Cleanup Tools Like Chrome Cleanup Or Browser Guard For Added Protection.

?? Prevention Tips: Keep Software Updated, Avoid Suspicious Downloads, And Use Antivirus Protection Plus Browser Ad Blockers. Regular Backups Are Essential.

VPN - How To Use IT

1. Choose A Trusted VPN Provider

  • Why It Matters: Not All VPNs Offer Malware Protection.

  • What To Look For: Providers With built-in Malware/ad/tracker Blockers (e.g., NordVPN’s Threat Protection, ProtonVPN’s NetShield).

  • Nord VPN
  • Hide.me VPN

2. Enable Kill Switch

  • Purpose: Prevents Data Leaks If Your VPN Connection Drops.

  • Benefit: Ensures Your Real IP And Browsing Activity Aren’t Exposed To Malware-distributing Websites.

3. Use VPN With DNS Leak Protection

  • Why It Matters: DNS Leaks Can Expose Your Online Activity To Attackers.

  • Solution: Enable DNS Leak Protection In Your VPN Settings Or Use A Secure DNS Like Cloudflare (1.1.1.1).

4. Avoid Free VPNs

  • Risk: Free VPNs Often Contain Malware, Sell User Data, Or Lack Security Features.

  • Better Option: Use Reputable Paid VPNs That Offer security Audits And Transparent Privacy Policies.

5. Use VPN With Anti-Phishing Tools

  • Some VPNs Block Known Phishing And Malicious Sites.

  • Example: Surfshark’s CleanWeb, CyberGhost’s Content Blocker.

6. Keep Your VPN App Updated

  • Reason: Security Patches Fix Known Vulnerabilities.

  • Tip: Enable Auto-updates Or Check For Updates Weekly.

. Use VPN On All Devices

  • Scope: Malware Can Enter Through Phones, Tablets, Or IoT Devices.

  • Solution: Install VPN Apps On Every Internet-connected Device.

8. Don’t Rely On VPN Alone

  • Fact: VPNs Do Not Remove Or Detect Malware On Your System.

  • Complement It With:

    • Antivirus Software

    • Firewall

    • Browser Extensions For Script Blocking

9. Avoid Clicking Unknown Links While VPN Is On

  • VPN Encrypts Traffic But Can’t Stop Malware From Executing If You Download Infected Files.

10. Use VPN With Split Tunneling Cautiously

  • Split Tunneling Allows Certain Apps/sites To Bypass VPN.

  • Tip: Never Exclude Browsers, Email Clients, Or Download Managers From VPN Tunneling.

Short Note - VPN Uses

A VPN (Virtual Private Network) Enhances Your Online Privacy By Encrypting Your Internet Traffic And Masking Your IP Address. It Protects Your Data On Public Wi-Fi, Hides Browsing Activity From Hackers And ISPs, And Helps Bypass Geo-restrictions. VPNs Also Add A Layer Of Defense Against Malware By Blocking Malicious Websites And Trackers When Using Advanced Features. However, A VPN Does Not Remove Existing Malware Or Act As Antivirus Software. For Full Protection, Combine VPN Use With Antivirus Tools, Regular Software Updates, And Cautious Browsing Habits. Always Choose A Reputable VPN Provider With Strong Security And Privacy Policies.

Doki Backdoor, Remove Doki Backdoor, Get Rid Of Doki Backdoor, Delete Doki Backdoor, Uninstall Doki Backdoor, Doki Backdoor Removal Guide