Sigma rule: UNC4841 - SSL Certificate Exfiltration Via Openssl

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-db2b106c4a50, updated 2023-06-16T00:00:00.000Z.

Rule

Title
UNC4841 - SSL Certificate Exfiltration Via Openssl
Status
test
Level
high
Author
Nasreddine Bencherchali (Nextron Systems)
Date
2023-06-16
File
rules-emerging-threats/2023/TA/UNC4841-Barracuda-ESG-Zero-Day-Exploitation/proc_creation_lnx_apt_unc4841_openssl_connection.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects the execution of "openssl" to connect to an IP address. This techniques was used by UNC4841 to exfiltrate SSL certificates and as a C2 channel with named pipes. Investigate commands executed in the temporal vicinity of this command.

Log source

product
linux
category
process_creation

Detection

selection:
    Image|endswith: '/openssl'
    CommandLine|re: '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'
    CommandLine|contains|all:
        - 's_client'
        - '-quiet'
        - '-connect'
    CommandLine|contains:
        - ':443'
        - ':8080'
condition: selection

False positives (as the rule lists them)

  • Unknown

Tags

  • attack.stealth
  • attack.t1140
  • detection.emerging-threats

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2023/TA/UNC4841-Barracuda-ESG-Zero-Day-Exploitation/proc_creation_lnx_apt_unc4841_openssl_connection.yml

Sources and licences

  • SigmaHQ

    "UNC4841 - SSL Certificate Exfiltration Via Openssl" by Nasreddine Bencherchali (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules-emerging-threats/2023/TA/UNC4841-Barracuda-ESG-Zero-Day-Exploitation/proc_creation_lnx_apt_unc4841_openssl_connection.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: UNC4841 - SSL Certificate Exfiltration Via Openssl",
entity page, dataset version ref-db2b106c4a50, updated 2023-06-16T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/60911c07-f989-4362-84af-c609828ef829 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 60911c07-f989-4362-84af-c609828ef829, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.