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
Suspicious SSH Daemon Configuration Change Enabling Root Login
Suspicious SSH Authorized Keys Modification via Scripting Interpreter on Linux via Process Creation (via process_creation)
Malicious SSH authorized_keys Overwrite With Outlaw Marker
Malicious Global Socket gs-netcat Reverse Shell over DNS Port (via process_creation)
Malicious SSH authorized_keys Modification for Persistence on Appliance
Malicious vmanage-admin Public Key Authentication in SSH Auth Log
Possible Krasue Linux RAT Command and Control on Uncommon Port 52699
Suspicious SSH authorized_keys Modification for Persistence
Malicious XMRig Cryptominer Connecting To C3Pool Stratum Pool
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.