Malicious UNC4841 SSH Backdoor Persistence via Non-Standard Port and AllowUsers Restriction (via process_creation)

PremiumReviewedSigma · High · v1
Product
linux
Category
process_creation
Author
HuntRule
Published
2026-08-05
Updated
2026-08-28

ATT&CK techniques

Persistence → C2
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Defense Evasion

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. Exfiltration

  11. Impact

What it detects

This rule detects an sshd process being launched on a high non-standard port while restricting logins to a hardcoded attacker account through the -oAllowUsers option. UNC4841 used this technique to maintain covert SSH access to compromised Barracuda ESG appliances following CVE-2023-2868 exploitation. Establishing a dedicated backdoor listener scoped to a single attacker user provides resilient remote access that blends with legitimate SSH traffic.

Related detections9 linkedT1098.004 — drag to rearrange
Possible Remcos C2 Connection from eilowutil Process
Suspicious SSH authorized_keys Persistence Modification (via process_creation)
Malicious EtherRAT SSH authorized_keys Backdoor Injection via Shell (via process_creation)
Malicious Reverse Shell via socat
Malicious SSH authorized_keys Modification Following Web Server Compromise (via process_creation)
Suspicious Modification of SSH Authorized Keys on SD-WAN Appliance by UAT-8616
Malicious Immutable Flag on SSH authorized_keys via chattr
Linux network connections to known malware callback ports
Windows PowerShell Scripts Testing Uncommon Port Connectivity via Test-NetConnection
Malicious UNC4841 SSH Backdoor Persistence via Non-Standard Port and AllowUsers Restriction (via process_creation)
Pivot detection · T1098.004 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.