Operation CameraSwarm Hacks 14,500 Dahua Devices

Over 14,500 Dahua Cameras Compromised in 'Operation CameraSwarm'

HIGH
August 20, 2026
5m read
IoT SecurityCyberattackVulnerability

Impact Scope

People Affected

14,530+ devices compromised

Geographic Impact

UkraineRussiaMexicoVietnam (regional)

Related Entities

Organizations

CVE Identifiers

Full Report

Executive Summary

Researchers at Hunt.io have uncovered a large-scale hacking campaign, named "Operation CameraSwarm," that compromised at least 14,530 Dahua-manufactured surveillance devices between June and July 2026. The campaign, discovered via an operational security failure by the attacker, utilized a multi-pronged strategy involving brute-force attacks, exploitation of known vulnerabilities, and abuse of Dahua's P2P cloud architecture. The compromised devices, mostly IP cameras and Network Video Recorders (NVRs), were concentrated in Ukraine and Russia. The attack highlights the persistent risks associated with internet-exposed IoT devices, especially those with weak credentials or unpatched firmware.

Threat Overview

The threat actor behind Operation CameraSwarm systematically targeted Dahua devices using three distinct methods. The campaign's details were exposed when the attacker left a working directory containing exploit scripts, logs, and compromised device lists on an open HTTP server. The compromised devices can be leveraged for various malicious purposes, including serving as a proxy network, launching DDoS attacks, or as a pivot point for deeper intrusions into connected corporate networks.

Attack Vectors:

  1. Brute-Force Attack: The most effective method, compromising 12,324 devices by targeting default or weak credentials on TCP port 37777.
  2. Vulnerability Exploitation: The attacker used a tool named p2pwn to exploit two critical authentication-bypass flaws, CVE-2021-33044 and CVE-2021-33045. This method compromised 1,923 cameras and installed a persistent backdoor account.
  3. P2P Architecture Abuse: A novel technique allowed the attacker to connect to 283 devices behind NAT firewalls by abusing Dahua's P2P cloud relay service, using only the device serial numbers.

Technical Analysis

The attacker's toolkit, found on the exposed server at 154.86.119.60, provided clear insight into their TTPs.

  • Reconnaissance: The attacker used masscan to perform broad scans for open TCP port 37777, the default port for Dahua devices. This is an example of T1595.002 - Vulnerability Scanning.
  • Initial Access (Brute Force): A primary script attempted to log in using a list of common and default credentials, a classic T1110.001 - Password Guessing technique against an exposed service.
  • Initial Access (Exploitation): The p2pwn tool exploited CVE-2021-33044 and CVE-2021-33045. These vulnerabilities allow an attacker to bypass authentication and create a new admin-level user account. This is a direct application of T1190 - Exploit Public-Facing Application.
  • Persistence: The p2pwn tool created a backdoor user account named p2pwn with the password p2password. On many firmware versions, this account would persist even after a factory reset, demonstrating T1098 - Account Manipulation.
  • Command and Control: The abuse of the P2P relay service to connect to devices behind NAT represents a creative use of T1105 - Ingress Tool Transfer and abuse of a legitimate protocol for C2.

MITRE ATT&CK Techniques

Impact Assessment

The compromise of over 14,500 cameras creates a significant botnet that can be used for malicious activities. For the owners of these devices, the immediate impact is a loss of privacy and the potential for espionage. For the broader internet community, these devices can be used to launch large-scale DDoS attacks, act as proxies to anonymize other criminal activities, and serve as initial access points into more secure corporate or home networks. The persistence of the backdoor account makes remediation difficult for non-technical users.

IOCs — Directly from Articles

Type
ip_address_v4
Value
154.86.119.60
Description
Exposed HTTP server hosting attacker's tools and logs.
Type
user_agent
Value
p2pwn
Description
Username of the backdoor account created by the exploit tool.
Type
other
Value
p2password
Description
Password for the backdoor p2pwn account.

Cyber Observables — Hunting Hints

Organizations using Dahua devices should hunt for the following indicators:

Type
Port
Value
37777
Description
Inbound connection attempts to the default Dahua management port from unknown IPs.
Type
User Account Pattern
Value
p2pwn
Description
Presence of an unauthorized user account with this name in the device's user list.
Type
Log Source
Value
Dahua device system logs
Description
Look for multiple failed login attempts followed by a success from an unknown IP, or logs showing the creation of the p2pwn user.
Type
Network Traffic Pattern
Value
Outbound connections from cameras to unusual destinations
Description
May indicate use of the camera as part of a botnet or proxy.

Detection & Response

  • User Account Auditing: Regularly audit user accounts on all Dahua devices. Immediately remove any unauthorized accounts, especially one named p2pwn. This aligns with D3-LAM: Local Account Monitoring.
  • Network Monitoring: Monitor for and alert on inbound connection attempts to TCP port 37777 from the internet. If the port must be exposed, restrict access to a small set of known-good IP addresses.
  • Vulnerability Scanning: Scan for devices vulnerable to CVE-2021-33044 and CVE-2021-33045. Both are included in CISA's KEV catalog and should be prioritized for remediation.

Mitigation

  • Firmware Updates: Immediately update all Dahua devices to the latest firmware version to patch CVE-2021-33044 and CVE-2021-33045. This is a critical step of M1051 - Update Software.
  • Credential Hardening: Change all default passwords to strong, unique passwords. Disable any default accounts that are not needed. This aligns with M1027 - Password Policies.
  • Network Isolation: Do not expose camera management interfaces directly to the internet. Place them on a segmented network and use a secure VPN with MFA for remote access. This is an application of M1035 - Limit Access to Resource Over Network.
  • Factory Reset and Re-flash: For devices suspected of compromise, a factory reset followed by a manual firmware re-flash is recommended to ensure removal of any persistent backdoors.

Timeline of Events

1
June 17, 2026
Operation CameraSwarm campaign begins.
2
July 22, 2026
Operation CameraSwarm campaign ends after 35 days.
3
August 20, 2026
This article was published

MITRE ATT&CK Mitigations

Update device firmware to patch the exploited authentication bypass vulnerabilities.

Enforce strong, unique passwords for all device accounts and disable default credentials.

Prevent direct internet access to device management interfaces. Use a segmented network and VPN for remote access.

Regularly audit for and remove any unauthorized or suspicious user accounts.

Timeline of Events

1
June 17, 2026

Operation CameraSwarm campaign begins.

2
July 22, 2026

Operation CameraSwarm campaign ends after 35 days.

Article Author

Jason Gomes

Jason Gomes

• Cybersecurity Practitioner

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.

Threat Intelligence & AnalysisSecurity Orchestration (SOAR/XSOAR)Incident Response & Digital ForensicsSecurity Operations Center (SOC)SIEM & Security AnalyticsCyber Fusion & Threat SharingSecurity Automation & IntegrationManaged Detection & Response (MDR)

Editorial Standards & Analyst Review

CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.

Tags

DahuaIoTCameraSwarmBrute ForceCVE-2021-33044CVE-2021-33045Botnet

📢 Share This Article

Help others stay informed about cybersecurity threats

🎯 MITRE ATT&CK Mapped

Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.

🧠 Enriched & Analyzed

Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.

🛡️ Actionable Guidance

Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.

🔗 STIX Visualizer

Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.

Sigma Generator

Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.