Join our Newsletter — 33% off our NHI Course
Home› Guides› Velvet Ant Threat Actor Profile: Appliance Persistence, ATT&CK…
Guide Threat Intelligence & Threat Actors

Velvet Ant Threat Actor Profile: Appliance Persistence, ATT&CK Mapping and Defences

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 12 November 2026 14 min read
On this page

Velvet Ant stays inside networks by living where defenders rarely look: forgotten load balancers, legacy servers without EDR and switch operating systems that send no logs. This profile covers the threat actor that MITRE ATT&CK tracks as G1047, active since at least 2021 and documented by the incident response firm Sygnia in 2024. It explains how the group kept access to one organisation for about three years through several independent footholds, how it later exploited a Cisco NX-OS zero-day with stolen switch administrator credentials, and what that means for appliance and network device security. It draws on MITRE ATT&CK v20, Sygnia's two reports, Cisco's security advisory and the CISA Known Exploited Vulnerabilities catalog, and follows each source's attribution wording. It is written for network, infrastructure and incident response teams. For the appliance problem in general, see the Edge Device Exploitation by Threat Actors Guide.

Key takeaways

  • Removing one foothold is not eviction. Sygnia saw the actor pivot to another foothold each time one was removed, including dormant PlugX implants reactivated on legacy servers.
  • Appliances are hosts. On F5 BIG-IP devices the group ran custom tools from /etc/rc.local, opened a reverse SSH tunnel and captured packets, all on the device's Linux layer.
  • Network admin credentials are the key. The Cisco NX-OS flaw CVE-2024-20399 needs administrator credentials; ATT&CK records Velvet Ant using admin-level local accounts on the switches. Protect, vault and rotate those accounts like domain admin.
  • Blind spots are chosen, not accidental. Windows Server 2003 systems without EDR, an unfinished disaster recovery project and switches that log only failed logins gave the actor places to hide.
  • Egress and east-west controls do most of the work. Sygnia's recommendations centre on restricting outbound traffic from servers and devices and limiting SMB, RPC, WinRM, RDP and SSH between hosts.

Who they are (names and aliases)

MITRE ATT&CK describes Velvet Ant as a threat actor operating since at least 2021, associated with complex persistence mechanisms, targeting of network devices and appliances, and use of zero-day exploits. ATT&CK lists no other aliases. Sygnia, which named the group, says it showed behaviours like those of a China-nexus threat actor, while noting that shared tools and contractors make attribution difficult and that a false flag cannot be ruled out. Sygnia's July 2024 advisory refers to Velvet Ant as a China-nexus group. Microsoft's threat actor naming table does not list Velvet Ant at the time of writing. No government attribution was found in the sources read, and no individuals are named on this page. For the wider context, see the China State Cyber Operations Guide.

Tools and malware

ToolWhere it ranWhat Sygnia and ATT&CK describe
PlugX (S0013)Windows servers and workstationsSeveral variants; DLL search order hijacking through a legitimate executable, installed as a service, code injected into svchost; one variant used an internal file server as its C2
VELVETSTINGF5 BIG-IPPolls a C2 every hour on port 8443 and runs received commands through the shell; commands are encoded and need a passkey
VELVETTAPF5 BIG-IPPacket capture on the appliance
SAMRID (EarthWorm); ESRDEF5 BIG-IPA SOCKS proxy and a second command tool; neither was running when Sygnia investigated
Impacket (S0357)Windows networkwmiexec.py for remote execution and lateral tool transfer over SMB
Custom switch malwareCisco Nexus underlying Linux OSPreviously unknown malware allowing remote connection, file upload and code execution (Sygnia, July 2024)

For PlugX as a family, see the PlugX and ShadowPad Malware Guide and the Impacket Detection Guide.

Targeting and motivation

  • Victims: Sygnia describes a large organisation and does not name its sector or region. Public reporting is therefore thin on victimology; treat any sector claim not backed by a primary source with caution.
  • Motivation: long-term access consistent with espionage. Sygnia's language is about persistence and access to the network rather than theft for profit or disruption, and no source read describes destructive or extortion activity.
  • What the group values: devices that sit inline and see traffic (load balancers, switches), legacy hosts outside EDR coverage, and internal servers that can relay C2 for hosts with no internet access.
  • Who should care: any organisation running internet-facing F5 BIG-IP, Cisco Nexus or MDS switches, or unsupported Windows servers, and especially those with large flat internal networks.

How the intrusion was built

Three years, several footholds

Sygnia responded in late 2023 to an organisation where the actor had been present for about three years. Footholds included dormant PlugX on Windows Server 2003 systems and a file server, a PlugX variant whose C2 was an internal file server listening on port 13742, and two F5 BIG-IP appliances exposed directly to the internet. The appliances ran an outdated operating system and came from a disaster recovery project that was never finished and was not meant to be in production. Sygnia could not confirm how the appliances were first compromised because of limited visibility.

Living on the load balancer

On the F5 devices the actor added VELVETSTING and VELVETTAP to /etc/rc.local so they ran at boot, kept a reverse SSH tunnel to its C2, and used the appliance to reach the internal file server's PlugX listener over SMB. Because the load balancer sat at the network edge with legitimate reasons to talk to both sides, its traffic attracted little attention. See the F5 BIG-IP Hardening Guide and the Load Balancer Security Guide.

Windows tradecraft

On newer Windows workstations the actor tampered with EDR before installing PlugX; in one case where disabling EDR failed, it did not proceed. It used Impacket's wmiexec for execution, deleted EDR anti-malware logs, opened random high ports for PlugX listeners with netsh, and masqueraded a malicious DLL as the OLE/COM Object Viewer.

The Cisco NX-OS zero-day

Cisco published its advisory for CVE-2024-20399 on 1 July 2024, credited Sygnia with reporting it, and said it became aware of attempted exploitation in the wild in April 2024. The flaw is a command injection in the NX-OS CLI (CVSS 6.0) that lets an authenticated administrator run commands as root on the underlying operating system, and Cisco lists no workaround. Affected families named by Sygnia include MDS 9000, Nexus 3000, 5500, 5600, 6000, 7000 and Nexus 9000 in standalone mode. CISA added the CVE to the Known Exploited Vulnerabilities catalog on 2 July 2024. Sygnia attributes the exploitation to Velvet Ant; Cisco's advisory names no actor. The lesson is that the switch admin credential, not the vulnerability, was the gate. See the Vulnerability Management for Network Devices Guide.

Tactics and techniques (MITRE ATT&CK)

All IDs below are ATT&CK v20 techniques recorded against G1047. v20 places masquerading, DLL hijacking and exploitation for stealth under the Stealth tactic, and tool and firewall tampering under Defense Impairment.

TacticTechniqueWhat sources describePrimary defence
Initial access and persistenceT1133 External Remote ServicesInternet-facing remote services used to gain and keep accessRemove exposed management interfaces; MFA on remote access
Initial access and persistenceT1078.003 Local AccountsCisco switches accessed with administrator-level accountsCentral AAA, vaulted and rotated local admin passwords
StealthT1211 Exploitation for StealthCVE-2024-20399 used to escape the NX-OS CLI to the underlying OSPatch to a fixed release; restrict who can reach the CLI
PersistenceT1037.004 RC ScriptsModified /etc/rc.local on F5 BIG-IPIntegrity checks of appliance start-up files
ExecutionT1059.004 Unix Shell; T1047 Windows Management Instrumentation; T1569.002 Service ExecutionVELVETSTING shell execution; Impacket wmiexec; PlugX as a serviceAlert on WMI remote process creation and new services
StealthT1574.001 DLL; T1036.005 Match Legitimate Resource Name or Location; T1055 Process Injectioniviewers.dll side-loading; injection into svchostApplication control; EDR image-load monitoring
Defense impairmentT1685 Disable or Modify Tools; T1686 Disable or Modify System FirewallEDR tampering; netsh opening high portsEDR tamper protection; alert on firewall rule changes
Credential access and discoveryT1040 Network Sniffing; T1049 System Network Connections Discovery; T1083 File and Directory DiscoveryVELVETTAP packet capture on the appliance; connection and file enumerationEncrypt internal protocols; monitor for capture processes on appliances
Lateral movementT1021.002 SMB/Windows Admin Shares; T1570 Lateral Tool TransferTools moved over SMB with ImpacketRestrict SMB between workstations and servers
Command and controlT1090.001 Internal Proxy; T1571 Non-Standard Port; T1573.002 Asymmetric Cryptography; T1071 Application Layer Protocol; T1132 Data EncodingInternal file server as C2 relay; random high ports; reverse SSH; encoded commandsEgress filtering from servers and devices; alert on SSH from network equipment

How they abuse identities and credentials

  • Network device administrator accounts: a local admin account on a switch behaves like a shared machine credential: often used by a team, rarely rotated and invisible to the identity provider. Put devices behind central AAA such as TACACS+, keep local accounts for break-glass only, store their passwords in a vault and rotate them. Cisco's advisory recommends monitoring and frequently changing the network-admin and vdc-admin credentials. See the TACACS+ Security guide and the Network Device Management Plane Hardening Guide.
  • Appliance accounts and SSH keys: Sygnia saw a reverse SSH tunnel running under an account on the F5 device. Inventory local users and authorised keys on appliances and alert on new ones.
  • Packet capture as credential collection: a load balancer that terminates or sees traffic can expose session tokens and cleartext credentials passing through it. Treat appliance compromise as a possible exposure of every service behind it and rotate those service credentials.
  • Windows credentials: Sygnia recommends tamper-resistant EDR, LSASS running as a protected process and Windows Credential Guard to limit credential harvesting. See Credential Guard and VBS.

Notable activity

DateEventSource
Since at least 2021Velvet Ant operating, per ATT&CKMITRE ATT&CK
About three years to late 2023Persistent access to a large organisation through PlugX, legacy servers and F5 BIG-IP appliancesSygnia (June 2024)
April 2024Cisco becomes aware of attempted exploitation of the NX-OS flaw in the wildCisco
1 July 2024Cisco publishes the CVE-2024-20399 advisory; Sygnia attributes the zero-day exploitation to Velvet AntCisco; Sygnia
2 July 2024CVE-2024-20399 added to the CISA KEV catalogCISA
17 September 2024Cisco advisory marked final with all fixed releases availableCisco

Detection and defence

What to monitor

SignalData sourceWhy it matters
Changes to /etc/rc.local or unknown binaries on F5 BIG-IPAppliance integrity checks; F5 iHealth or file listingsVELVETSTING and VELVETTAP persistence
Outbound connections from load balancers or switches to the internet, especially SSH or port 8443Firewall and NetFlowReverse SSH tunnel and hourly C2 polling
SSH sessions to switches not from the approved jump host, or SSH originating from network equipmentSyslog; AAA accounting; NetFlowSygnia's detection recommendation
Successful admin logins and configuration changes on Nexus switchesCentral syslog with AUTHPRIV raised to level 6; show accounting logBy default switches log only failed logins
High-port listeners on switchesshow sockets connection in periodic huntsCustom malware on the underlying OS
Signed executables loading a DLL from ProgramData; new services; netsh firewall rule additionsEDR; Sysmon Event IDs 1 and 7; Security Event ID 7045PlugX side-loading and listener setup
WMI remote process creation and SMB file writes between workstationsEDR; Security Event ID 4688 with command lineImpacket wmiexec lateral movement

See the Network Device Syslog and Configuration Change Detection Guide for collection details.

Phased response plan

  1. Find the forgotten: inventory every appliance, switch and server, including disaster recovery and test kit, with its owner, OS version and internet exposure. Retire or isolate anything unowned. See the Operating System End of Life and Extended Support Guide.
  2. Cut egress: block direct internet access from servers, switches and load balancers except named destinations, and place load balancers behind perimeter firewalls. Apply in monitor mode first and log what would be dropped, then enforce; keep the previous rule set for rollback.
  3. Limit east-west: restrict SMB (445), RPC (135), WinRM (5985 and 5986), RDP (3389) and SSH (22) between hosts with host firewalls and segmentation, starting with workstation-to-workstation traffic.
  4. Lock down device admin: central AAA, a hardened jump host or PAM with MFA as the only path to management interfaces, vaulted and rotated local admin passwords, and successful-login logging.
  5. Patch and verify devices: upgrade NX-OS to a fixed release using Cisco's Software Checker, apply F5 updates, and run integrity checks on appliances after patching, since a patch does not remove an implant.
  6. Plan eviction as one event: if compromise is found, map every foothold before acting, then remove them together, rotate device and service credentials, and hunt for re-entry for weeks afterwards. See the Edge Device Compromise Investigation Playbook.

Decision guidance

  • Rebuild or clean an appliance: where the underlying OS was modified, rebuild from known-good images and restore configuration from a reviewed backup rather than deleting files in place.
  • Legacy servers you cannot retire: isolate them in their own segment, allow only the flows they need, deploy whatever monitoring runs on them (Sysmon where supported) and watch their traffic closely.
  • Small organisations: consider managed or cloud load balancing and a managed firewall so no self-run appliance is internet-facing, and keep device admin behind a VPN with MFA.
  • Large organisations: add scheduled threat hunts on network devices, NetFlow analytics for traffic from infrastructure, and integrity attestation for appliances.

Metrics

  • Number of internet-exposed management interfaces on appliances and switches (target zero).
  • Percentage of network devices sending successful and failed authentication logs to the SIEM.
  • Percentage of device local admin passwords held in a vault and rotated in the last 90 days.
  • Number of servers and devices with unrestricted outbound internet access.
  • Number of unsupported operating systems in production, and the percentage isolated.

Framework mapping

Control areaNIST SP 800-53 Rev. 5NIST CSF 2.0
Asset inventory including appliancesCM-8ID.AM-01
Egress and segmentationSC-7, AC-4PR.IR-01
Device admin authentication and credential managementIA-2(1), IA-5, AC-6PR.AA-01, PR.AA-05
Patching network devicesSI-2, RA-5ID.RA-01
Integrity and monitoringSI-7, SI-4DE.CM-01, DE.CM-09
Incident handlingIR-4RS.MA-01

Common failure patterns

  • Partial eviction: cleaning the endpoint that raised the alert while dormant implants on legacy servers and appliances wait to be reactivated.
  • Abandoned projects left live: half-built disaster recovery or test devices exposed to the internet with no owner and no patching.
  • Switch logs that only record failures: a successful login with stolen admin credentials leaves no trace centrally.
  • Shared, static device passwords: one stolen switch credential opens every device that uses it.
  • Trusting infrastructure traffic: load balancers and switches are excluded from egress rules and anomaly detection because they "always talk to everything".

Practitioner checklist

  • Inventory all appliances and switches, including disaster recovery and test devices, with owners.
  • Remove internet exposure of management interfaces and place load balancers behind firewalls.
  • Block outbound internet from servers and network devices except named destinations.
  • Restrict SMB, RPC, WinRM, RDP and SSH between hosts.
  • Use central AAA for device admin; vault and rotate local admin passwords.
  • Log successful device logins and configuration changes to the SIEM.
  • Upgrade NX-OS to a fixed release for CVE-2024-20399 and keep F5 software current.
  • Check appliance start-up files, local users and SSH keys regularly.
  • Enable EDR tamper protection, LSASS protection and Credential Guard on Windows.
  • Isolate or retire Windows Server 2003 and other unsupported systems.

Standards and references

Related NHI Mgmt Group resources: ATT&CK Network Device Malware Software Hub · ATT&CK Remote Access Trojans Software Hub · ATT&CK Credential and Active Directory Attack Tools Software Hub · Edge Device Security Guide · F5 BIG-IP Hardening Guide · PlugX and ShadowPad Malware Guide · China State Cyber Operations Guide · MITRE ATT&CK T1211 Exploitation for Stealth

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 12 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org