FreeSWITCH miner
FreeSWITCH CVE-2026-116779 SIP Command Injection Cryptominer Campaign
- Published
- 5 November 2026
- Added
- 10 November 2026, 13:43 UK
- Last updated
- 10 November 2026
Nothing to block12 to hunt6 behaviours to hunt
Hunt3 platforms
Run the hunt before you block, to find past activity. The same hunt is published for each platform. Preview and copy the queries in the dashboard.
- Defender XDRKQLDefender portal > Hunting > Advanced hunting. Paste and run over 30 days.Download hunt.kql
- SplunkSPLSearch & Reporting, last 30 days or more. Reads the CIM data models.Download hunt.spl
- Google SecOpsYARA-L 2.0Rules Editor. Paste, Retrohunt over 30 days, then turn on live mode.Download hunt.yaral
These queries can return false positives. Know your environment and confirm a hit before acting.
Summary
SIP MESSAGE command injection used to install a cryptominer. CVE-2026-116779 is a command injection in FreeSWITCH's mod_sofia: a SIP MESSAGE whose To user names the API chat proto is passed to the FreeSWITCH API, so a single accepted MESSAGE can….
Do now
- Run the hunt.
- Upgrade FreeSWITCH now.
- Check for the listed behaviours.
Indicators 12
| Value | Type | Action | Copy |
|---|---|---|---|
77[.]73[.]70[.]190 | IPv4 | alert | |
87[.]229[.]64[.]49 | IPv4 | alert | |
217[.]151[.]99[.]216 | IPv4 | alert | |
chatgpt[.]logltech[.]store | Domain | alert | |
ai[.]apachenginx[.]ru | Domain | alert | |
shdesasdd[.]loglt…kers[.]dev | Domain | alert | |
/var/tmp/.khp | File name | alert | |
/var/tmp/ksmd | File name | alert | |
/var/tmp/javab | File name | alert | |
javab.service | File name | alert | |
/var/tmp/.rguard | File name | alert | |
/var/tmp/.khp_ts | File name | alert |
Sources ZeroPath
More detail
What to do
- Upgrade FreeSWITCH to 1.11.3 or later, or disable inbound chat or enforce MESSAGE authentication on SIP profiles.
- Remove the passwordless stock default user if it is still present.
- Check the www-data crontab and /var/tmp for .khp, ksmd and javab, and look for javab.service.
- Alert on the community-reported miner download hosts and IPs; they are not vendor-confirmed.
Behaviours to hunt 6
Behaviours are leads, not confirmed indicators, and can match legitimate activity. Compare any hit against your own baseline and environment before acting.
alert SIP MESSAGE carrying an api+ command
Look forSIP MESSAGE whose Request-URI or To user starts with api+ (any case), usually followed by a URL-encoded command such as system%20
Why it mattersapi+ selects the command-running chat proto. Match the selector, not shell keywords, because the command is percent-encoded. TLS hides it from network sensors. ZeroPath
Log sourceIDS, packet capture or SBC logs on UDP and TCP 5060-5091
QueriesNone yet: check by hand
alert FreeSWITCH logs showing api+ text messages
Look forFreeSWITCH log lines "Processing text message" with a destination containing api+, or on patched servers "rejected a MESSAGE ... addressed to the 'api' chat proto"
Why it mattersUnpatched servers log the exploit before running it; 1.11.3 and later log each blocked attempt with the source address and command. ZeroPath
Log sourceFreeSWITCH logs, or syslog forwarded to your SIEM
QueriesKQL · SPL
alert FreeSWITCH starting a shell or downloader
Look forThe freeswitch process or its service account starting bash, sh, curl or cat, including bash /dev/tcp/<ip>/<port> callbacks
Why it mattersCommands run as the FreeSWITCH user, which rarely starts shells. The forum-recovered exploit used a bash /dev/tcp connectivity check. ZeroPath
Log sourceEDR process events or auditd
QueriesKQL · SPL · YARA-L
hunt Miner persistence in /var/tmp and the www-data crontab
Look forAn every-minute www-data crontab entry running /var/tmp/.khp, files .khp, .khp_ts, .rguard, ksmd, idle or javab in /var/tmp, and a javab.service unit
Why it mattersCommunity-reported miner persistence from this campaign; the script also kills rival miners and deletes logs. ZeroPath
Log sourceHost checks (crontab -u www-data -l), EDR file events
QueriesKQL · SPL
alert Chat API protocol enabled on a SIP profile
Look forenable-chat-api-proto set to true on a SIP profile
Why it mattersSetting it reopens the path that 1.11.3 closes by default. ZeroPath
Log sourceConfiguration management or file integrity monitoring of sip_profiles
QueriesNone yet: check by hand
hunt Missing or truncated FreeSWITCH logs
Look forMissing or truncated FreeSWITCH logs
Why it mattersAttacker cron jobs were reported deleting logs, so gaps are a warning sign in themselves. ZeroPath
Log sourceLog retention and integrity checks
QueriesNone yet: check by hand
Affected countries and sectors
- Targets
- Not stated
- Sectors
- Telecommunications (VoIP)
Background
CVE-2026-116779 is a command injection in FreeSWITCH's mod_sofia: a SIP MESSAGE whose To user names the API chat proto is passed to the FreeSWITCH API, so a single accepted MESSAGE can run operating-system commands. FreeSWITCH 1.11.2 and earlier are vulnerable when inbound chat is enabled (the default on the stock profiles), and 1.11.3 (28 August 2026) gates the path behind enable-chat-api-proto. Operators on the FusionPBX forum reported exploitation that installed a ksmd cryptominer with cron and systemd persistence; those artefacts are community-reported leads, not vendor-confirmed IOCs.