// Threat: Hijacked WPPConnect npm, GitHub and Docker Releases Send Server Secrets and WhatsApp Sessions to a Telegram Bot // Author: Daniel Jeremiah | Date: 2026-11-16 // Ref: https://github.com/daniyyell-dev/rapid-threat-intel/tree/main/threats/2026-11_November-2026/2026-11-16/WPPConnect-npm-Docker-Supply-Chain-Telegram-Secret-Stealer let Lookback = 30d; let SHA1s = dynamic(["755274304012c7489e85c23da3c2423d184d113b", "68925177e1fb4f05e1958af8ac81d4a0b22003fb"]); let SHA256s = dynamic(["f2dd03a8368c4dcc74795a121f1ea3da82a4bafee2814d57af29f4d18ad9d427", "06158b832fb2aeb5482202c944bc8f23d59f5cf35c0dc66e926c2e395e5673a0", "cefc9ea30124812d8c417b216e26f4c880a1726dd5466584f2fe32500323986f", "a8fd315c910cf0d0e84e7a642c0fd70b8e4ca20673ba0cba1f8b69392c944f2d", "f33c4385218ecc302f02222e5e309261dbfc86f21515e0f0dd279312709a63af", "ea9f2913ecb46073f5fb54b1a120042209b6cb7b54955ec60aedbaa72093e79d"]); union isfuzzy=true (DeviceFileEvents | where Timestamp > ago(Lookback) | where SHA1 in~ (SHA1s) or SHA256 in~ (SHA256s) | project Timestamp, SourceTable = "DeviceFileEvents", Entity = tostring(DeviceName), Indicator = tostring(coalesce(iff(SHA256 in~ (SHA256s), SHA256, ''), iff(SHA1 in~ (SHA1s), SHA1, ''))), Context = tostring(strcat(ActionType, " ", FolderPath))), (DeviceProcessEvents | where Timestamp > ago(Lookback) | where SHA1 in~ (SHA1s) or SHA256 in~ (SHA256s) | project Timestamp, SourceTable = "DeviceProcessEvents", Entity = tostring(DeviceName), Indicator = tostring(coalesce(iff(SHA256 in~ (SHA256s), SHA256, ''), iff(SHA1 in~ (SHA1s), SHA1, ''))), Context = tostring(strcat(FolderPath, " ", ProcessCommandLine))), (DeviceImageLoadEvents | where Timestamp > ago(Lookback) | where SHA1 in~ (SHA1s) or SHA256 in~ (SHA256s) | project Timestamp, SourceTable = "DeviceImageLoadEvents", Entity = tostring(DeviceName), Indicator = tostring(coalesce(iff(SHA256 in~ (SHA256s), SHA256, ''), iff(SHA1 in~ (SHA1s), SHA1, ''))), Context = tostring(strcat(FolderPath, " loaded by ", InitiatingProcessFileName))), (EmailAttachmentInfo | where Timestamp > ago(Lookback) | where SHA256 in~ (SHA256s) | project Timestamp, SourceTable = "EmailAttachmentInfo", Entity = tostring(RecipientEmailAddress), Indicator = tostring(SHA256), Context = tostring(strcat(FileName, " from ", SenderFromAddress))), (DeviceNetworkEvents | where Timestamp > ago(Lookback) | where InitiatingProcessFileName in~ ("node", "node.exe") and RemoteUrl has "api.telegram.org" | project Timestamp, SourceTable = "DeviceNetworkEvents", Entity = tostring(DeviceName), Indicator = tostring(RemoteUrl), Context = tostring(strcat(InitiatingProcessFileName, " | ", InitiatingProcessCommandLine, " -> ", RemoteIP))), (DeviceFileEvents | where Timestamp > ago(Lookback) | where FileName in~ (".wpp-diag", ".wpp-support-diag") | project Timestamp, SourceTable = "DeviceFileEvents", Entity = tostring(DeviceName), Indicator = tostring(FolderPath), Context = tostring(strcat(ActionType, " by ", InitiatingProcessFileName, " | ", InitiatingProcessCommandLine))), (DeviceFileEvents | where Timestamp > ago(Lookback) | where FileName =~ "diagnostics.js" and (FolderPath has "@wppconnect" or FolderPath has "wppconnect-server" or FolderPath has "wpp-server") | project Timestamp, SourceTable = "DeviceFileEvents", Entity = tostring(DeviceName), Indicator = tostring(FolderPath), Context = tostring(strcat(ActionType, " SHA256=", SHA256, " by ", InitiatingProcessFileName))) | summarize FirstSeen = min(Timestamp), LastSeen = max(Timestamp), Hits = count(), Context = take_any(Context) by SourceTable, Entity, Indicator | order by LastSeen desc