Researchers Find Customized Certificates on Gh0st and Pantegana RAT Infrastructure

· Original article ↗

Summary

Hunt IO identified Gh0st and Pantegana RAT infrastructure, including Pantegana-like certificates with altered fields that may evade scanners relying on default certificate details.

Key points

  • Pantegana is a cross-platform Golang RAT for Windows, Linux, and macOS, supporting command execution, file transfers, and system fingerprinting.
  • Gh0st C2 servers can return a “Gh0st” packet flag; the article notes this indicator can vary.
  • Hunt IO's scans found fewer than 10 servers for each RAT family, though code and infrastructure changes may limit detections.
  • Two servers used certificates resembling Pantegana's default certificate but with altered organization and state fields, potentially evading searches for exact defaults.
  • One observed server hosted a Cobalt Strike Team Server while controlling Pantegana agents.
  • The article lists suspected C2 IPs and certificate fingerprints; two customized-certificate servers were marked clean by VirusTotal, which the author cautions is not definitive.

Article Details

Attack Vectors
  • Cofense reported a phishing campaign disguised as an invoice that dropped Gh0st RAT and targeted a healthcare organization in mid-2023.
  • In June 2022, Volexity reported that DriftingCloud installed Pantegana and other open-source malware on a compromised server.
Defensive Notes
  • Gh0st RAT C2 servers may return a packet flag containing “Gh0st” in response to a probe, though the flag has variations and should be paired with other information.
  • Pantegana's default server certificate has a 10-year validity and includes the common name “localhost” and issuer common name “Pantegana Root CA.”
  • Do not rely only on default Pantegana certificate details for detection: the article reports suspicious certificates with modified organization and state fields.
  • The article cautions that VirusTotal clean scores should not be treated as a concrete measure of whether infrastructure is benign.

Indicators of compromise

TypeIndicatorContext
DOMAINimg[.]zchyedu[.]comDescribed as a suspicious domain resolving to a Gh0st C2 server.
DOMAINwww[.]kuaidiyouhui[.]asiaDomain associated in the article with Gh0st infrastructure.
DOMAINwww[.]zchyedu[.]comDescribed as a suspicious domain resolving to a Gh0st C2 server.
DOMAINzchyedu[.]comDescribed as a suspicious domain resolving to a Gh0st C2 server.
IPV4114[.]25[.]86[.]191One of two additional servers reported to share a certificate with the Gh0st-related server at 125.228.229.229.
IPV4119[.]28[.]107[.]67One of two suspicious servers hosting a certificate similar to Pantegana's default certificate.
IPV4125[.]228[.]229[.]229Gh0st-related server hosting a self-signed certificate; included among the three servers sharing that certificate.
IPV4125[.]229[.]22[.]79One of two additional servers reported to share a certificate with the Gh0st-related server at 125.228.229.229.
IPV4154[.]12[.]93[.]14Gh0st C2 server hosting an X.509 certificate the article says is consistent with DcRAT servers.
IPV4154[.]92[.]19[.]225Reported as a Pantegana C2 server that also hosted a Cobalt Strike Team Server.
IPV443[.]130[.]237[.]18One of two suspicious servers hosting a certificate similar to Pantegana's default certificate.
IPV447[.]120[.]59[.]37Identified by the article's scanners as a Gh0st C2 server.
IPV462[.]234[.]90[.]4Identified as a Gh0st C2 server hosting suspicious domains and a self-signed RDP certificate.
SHA2566cdb3b8125f0975bb1299d88eb650cf6ed12ca31f21a65d15758c957c7b9f18aAnyDesk certificate hash listed for a Gh0st C2 server.
SHA25681348a5f80957e3f584a216ecd636886bda2f89fbc4b0e5a0f6cdabe815cb5e6Private-IP certificate hash listed for a Gh0st C2 server.
SHA256d0a66fafcc28fe8c1aeecffcb56efc76196aac53cf64d438a172b5c0af2ea6b4RDP certificate hash listed for a Gh0st C2 server.

Threat Actors

Malware

Tools

Countries

Industries

Related Articles