Exploitation / cryptominingMediumTLP:CLEAR

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

  1. Run the hunt.
  2. Upgrade FreeSWITCH now.
  3. Check for the listed behaviours.

Indicators 12

ValueTypeActionCopy
77[.]73[.]70[.]190IPv4alert
87[.]229[.]64[.]49IPv4alert
217[.]151[.]99[.]216IPv4alert
chatgpt[.]logltech[.]storeDomainalert
ai[.]apachenginx[.]ruDomainalert
shdesasdd[.]loglt…kers[.]devDomainalert
/var/tmp/.khpFile namealert
/var/tmp/ksmdFile namealert
/var/tmp/javabFile namealert
javab.serviceFile namealert
/var/tmp/.rguardFile namealert
/var/tmp/.khp_tsFile namealert

Sources ZeroPath

More detail
Note The only source is a single research write-up and community forum reports, so treat the hunting leads with care; the miner hosts and IPs are on the block list.

What to do

  1. Upgrade FreeSWITCH to 1.11.3 or later, or disable inbound chat or enforce MESSAGE authentication on SIP profiles.
  2. Remove the passwordless stock default user if it is still present.
  3. Check the www-data crontab and /var/tmp for .khp, ksmd and javab, and look for javab.service.
  4. 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.

  1. 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

  2. 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

  3. 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

  4. 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

  5. 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

  6. 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.

Downloads

View folder in repository

MITRE ATT&CK5

Open in the live dashboard Get the blocklist