Hackers Attack FreePBX Servers With Malware to Steal SIP Credentials for Phone Fraud

Blog WriterCybersecurity News - Original News Source is cybersecuritynews.com


Hackers targeting FreePBX phone servers have upgraded their malware to steal credentials that can keep phone fraud running even after an infected system is rebuilt.

The INJ3CTOR3 operation now collects configuration files containing SIP trunk passwords, database credentials, management secrets, and mail relay logins, extending the damage beyond the compromised server.

The change builds on an earlier campaign that placed unauthorized calls through victims’ own phone systems.

Previously documented six-layer FreePBX persistence mechanisms helped the malware survive removal attempts, but stolen carrier credentials now give attackers another way to charge calls to a victim’s account.

Researchers from Cyble Research & Intelligence Labs identified the updated malware while examining artifacts collected from the operation’s staging servers in September 2026.

Their October 28 analysis describes an installer configured to upload 17 files repeatedly. Researchers recovered the upload commands but did not capture live exfiltration or establish a victim count.

Hackers Attack FreePBX Servers With Malware

The updated installer contains two encoded command groups, each directing configuration uploads to a separate staging server. Scheduled tasks run the installer every minute, repeatedly exposing secrets while the infection remains active.

Changing passwords before removing the malware can therefore hand replacement credentials straight back to the attacker. The targeted files span FreePBX, Issabel, Elastix, Asterisk, and Postfix configurations.

They include SIP and PJSIP authentication settings, Asterisk Manager Interface credentials, database passwords, and outbound mail authentication details. These files expose both calling services and supporting infrastructure.

INJ3CTOR3 attack chain (Source - Cyble)
INJ3CTOR3 attack chain (Source – Cyble)

SIP trunk credentials are particularly valuable because they authenticate a business’s connection to its telephone provider.

Unless the carrier restricts access to approved IP addresses, stolen credentials can let attackers register from another machine and place calls without using the original PBX. Those calls may leave no records on the cleaned server.

The operation retains its JOMANGY and ZenharR webshells, which provide remote commands and access to phone-system functions.

Related FreePBX webshell exploitation activity previously demonstrated how attackers combine administrative access, backdoor accounts, and outbound calling capabilities to monetize compromised VoIP infrastructure.

Cyble also found changes designed to weaken older detection rules. Webshell watermarks now vary between builds, and the password-gate hash has changed.

The underlying persistence remains largely unchanged, including scheduled downloads, login triggers, protected backup files, and multiple webshell copies that can restore deleted components.

Detection and Recovery Must Include Credential Rotation

Investigators should not treat a normal-looking FreePBX dashboard as proof that a server is clean. In laboratory testing, Cyble created an Asterisk trunk directly in configuration files that carried calls without appearing in the FreePBX console. Researchers did not observe this campaign planting such a trunk.

The malware also modifies web-server rewrite rules so requests containing encoded whitespace can reach a webshell without naming its file in access logs.

k.php line 34, decoded into 17 file uploads (Source - Cyble)
k.php line 34, decoded into 17 file uploads (Source – Cyble)

Meanwhile, the takeover script clears logs and command histories, reducing the evidence available for incident reconstruction. Recovery requires isolation, evidence preservation, and removal of persistence before rotation of exposed credentials.

Earlier guidance covering FreePBX zero-day server compromises similarly recommends clean restoration and replacement of system, trunk, extension, and other account secrets rather than relying on patching alone.

The panel’s Freepbx and Elastix buttons forge an admin session without a password (Source - Cyble)
The panel’s Freepbx and Elastix buttons forge an admin session without a password (Source – Cyble)

Administrators should coordinate with carriers to replace trunk secrets, preserve registration and billing records, restrict allowed source addresses, and set spending limits where available.

Monitoring should cover unexpected registrations, premium-rate destinations, unusual call concurrency, and outbound configuration uploads. Cyble recommends rebuilding from a trusted image as the most reliable recovery option.

Indicators of compromise (IoCs):-

Type Indicator Context
IPv4 45[.]95[.]147[.]178 Original staging server
IPv4 160[.]119[.]69[.]4 Additional staging server
URL hxxp://45[.]95[.]147[.]178/hima_data/index.php Credential collector
URL hxxp://160[.]119[.]69[.]4/hima_data/index.php Credential collector
SHA-256 c6e64453ea8bc0856333b6f57567c9efd8c440410787cae135d1c4a248c07c0d Shared takeover script
SHA-256 38edbfc4ac89619d2bdb3f4bb2626deaaf422868d6d7af640f59d7959903f838 Original-server installer
SHA-256 1c14a761620691a43b1a554a9eccd38d21c15d59463945250d4f57b10d20fce9 Additional-server installer
SHA-256 b54a8d9e98ff36dfe63b2aea97a2003b670f7311595bb4dd072850fed5900a0b Original-server wr.php
SHA-256 aa6dfd7ee90d9aea5af29ae39c14ff70cf8687118abadd7aa4fc98923f01ffd1 Additional-server wr.php
SHA-256 adeb015fdb37814edc3ed45230f48d2b0e87bb195a5a7e4487c01549b47c744c Original JOMANGY build
SHA-256 d345671e688ee807e1bb9b6fc45e6bb0611bbb1331c33888c8030ec2db47e672 Additional JOMANGY build
String trace_bd42a8a0d23ae16c85dede7d2abaec05 Original-build watermark
String trace_7544725ebaaadac217dfaa7ca8e8fe7e Additional-build watermark
MD5 8b3a1d970fda0c17a0b785a990fb7b6a Webshell authentication gate
Hash prefix $1$nRz1Cbtk$ Backdoor-account password marker

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Give your SOC the alert context to stops incidents quickly. Integrate Threat Intel from 16K SOCs.

The post Hackers Attack FreePBX Servers With Malware to Steal SIP Credentials for Phone Fraud appeared first on Cyber Security News.