// Threat: wfx: Hijacked GitHub Accounts Plant a CI Secret Stealer in Thousands of Repositories // Author: Daniel Jeremiah | Date: 2026-11-12 // Ref: https://github.com/daniyyell-dev/rapid-threat-intel/tree/main/threats/2026-11_November-2026/2026-11-12/GitHub-Hijacked-Accounts-wfx-CI-Secret-Stealer let Lookback = 30d; let IPs = dynamic(["194.150.166.244", "18.143.168.96", "153.75.82.159", "193.32.204.199"]); let Urls = dynamic(["http://194.150.166.244:8080/exfil", "http://18.143.168.96:8080/exfil"]); let UrlKeys = dynamic(["194.150.166.244:8080/exfil", "18.143.168.96:8080/exfil"]); let SHA256s = dynamic(["89695abb392d5cfd4972672961e644bb46baa98aa1ed7173c2a2816c762735cf"]); union isfuzzy=true (DeviceNetworkEvents | where Timestamp > ago(Lookback) | where RemoteIP in (IPs) | project Timestamp, SourceTable = "DeviceNetworkEvents", Entity = tostring(DeviceName), Indicator = tostring(RemoteIP), Context = tostring(strcat(ActionType, " ", InitiatingProcessFileName, " port ", RemotePort))), (DeviceLogonEvents | where Timestamp > ago(Lookback) | where RemoteIP in (IPs) | project Timestamp, SourceTable = "DeviceLogonEvents", Entity = tostring(DeviceName), Indicator = tostring(RemoteIP), Context = tostring(strcat(ActionType, " ", LogonType, " ", AccountName))), (EntraIdSignInEvents | where Timestamp > ago(Lookback) | where IPAddress in (IPs) | project Timestamp, SourceTable = "EntraIdSignInEvents", Entity = tostring(AccountUpn), Indicator = tostring(IPAddress), Context = tostring(strcat(Application, " ", ErrorCode))), (AADSignInEventsBeta | where Timestamp > ago(Lookback) | where IPAddress in (IPs) | project Timestamp, SourceTable = "AADSignInEventsBeta", Entity = tostring(AccountUpn), Indicator = tostring(IPAddress), Context = tostring(strcat(Application, " ", ErrorCode))), (EntraIdSpnSignInEvents | where Timestamp > ago(Lookback) | where IPAddress in (IPs) | project Timestamp, SourceTable = "EntraIdSpnSignInEvents", Entity = tostring(ServicePrincipalName), Indicator = tostring(IPAddress), Context = tostring(strcat(ResourceDisplayName, " ", ErrorCode))), (AADSpnSignInEventsBeta | where Timestamp > ago(Lookback) | where IPAddress in (IPs) | project Timestamp, SourceTable = "AADSpnSignInEventsBeta", Entity = tostring(ServicePrincipalName), Indicator = tostring(IPAddress), Context = tostring(strcat(ResourceDisplayName, " ", ErrorCode))), (CloudAppEvents | where Timestamp > ago(Lookback) | where IPAddress in (IPs) | project Timestamp, SourceTable = "CloudAppEvents", Entity = tostring(AccountDisplayName), Indicator = tostring(IPAddress), Context = tostring(strcat(Application, " ", ActionType))), (DeviceNetworkEvents | where Timestamp > ago(Lookback) | where RemoteUrl has_any (UrlKeys) | project Timestamp, SourceTable = "DeviceNetworkEvents", Entity = tostring(DeviceName), Indicator = tostring(RemoteUrl), Context = tostring(strcat(ActionType, " ", InitiatingProcessFileName, " ", RemoteIP))), (EmailUrlInfo | where Timestamp > ago(Lookback) | where Url has_any (UrlKeys) | project Timestamp, SourceTable = "EmailUrlInfo", Entity = tostring(NetworkMessageId), Indicator = tostring(Url), Context = tostring("URL in email")), (UrlClickEvents | where Timestamp > ago(Lookback) | where Url has_any (UrlKeys) | project Timestamp, SourceTable = "UrlClickEvents", Entity = tostring(AccountUpn), Indicator = tostring(Url), Context = tostring(strcat(ActionType, " ", Workload))), (DeviceFileEvents | where Timestamp > ago(Lookback) | where SHA256 in~ (SHA256s) | project Timestamp, SourceTable = "DeviceFileEvents", Entity = tostring(DeviceName), Indicator = tostring(SHA256), Context = tostring(strcat(ActionType, " ", FolderPath))), (DeviceProcessEvents | where Timestamp > ago(Lookback) | where SHA256 in~ (SHA256s) | project Timestamp, SourceTable = "DeviceProcessEvents", Entity = tostring(DeviceName), Indicator = tostring(SHA256), Context = tostring(strcat(FolderPath, " ", ProcessCommandLine))), (DeviceImageLoadEvents | where Timestamp > ago(Lookback) | where SHA256 in~ (SHA256s) | project Timestamp, SourceTable = "DeviceImageLoadEvents", Entity = tostring(DeviceName), Indicator = tostring(SHA256), 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))), (DeviceProcessEvents | where Timestamp > ago(Lookback) | where FileName in~ ("sh", "bash", "dash") and ProcessCommandLine contains "/.ci-" and ProcessCommandLine contains ".sh" | project Timestamp, SourceTable = "DeviceProcessEvents", Entity = tostring(DeviceName), Indicator = tostring(ProcessCommandLine), Context = tostring(strcat(InitiatingProcessFileName, " > ", ProcessCommandLine))), (CloudAppEvents | where Timestamp > ago(Lookback) | where Application == "Amazon Web Services" and ActionType in ("AssumeRoleWithWebIdentity", "AssumeRole", "CreateAccessKey", "UpdateAssumeRolePolicy") and tostring(RawEventData) contains "wfx-" | project Timestamp, SourceTable = "CloudAppEvents", Entity = tostring(RawEventData.userIdentity.arn), Indicator = tostring(ActionType), Context = tostring(strcat(ActionType, " from ", IPAddress, " | ", tostring(RawEventData.requestParameters)))), (union isfuzzy=true (W3CIISLog | where TimeGenerated > ago(Lookback) | where csUriStem endswith "/.git/config" | where scStatus == 200 | where scBytes between (100 .. 20000) | where not(ipv4_is_private(cIP) or cIP == "::1" or cIP startswith "fe80:" or cIP startswith "fc" or cIP startswith "fd" or cIP startswith "127." or cIP startswith "169.254.") | project Timestamp = TimeGenerated, SourceTable = "W3CIISLog", Entity = tostring(coalesce(csHost, sSiteName, Computer, "")), Indicator = tostring(csUriStem), Context = strcat("status ", scStatus, " bytes ", scBytes, " from ", cIP, " ua=", coalesce(csUserAgent, ""))), (CommonSecurityLog | where Timestamp > ago(Lookback) | where RequestURL endswith "/.git/config" or AdditionalExtensions has "/.git/config" | extend Status = coalesce(DeviceCustomNumber1, toint(extract(@"(?:sc-status|status)=(\d{3})", 1, tostring(AdditionalExtensions)))) | extend Bytes = coalesce(SentBytes, ReceivedBytes, DeviceCustomNumber2, 0) | where Status == 200 and Bytes between (100 .. 20000) | where not(ipv4_is_private(SourceIP) or SourceIP == "::1" or SourceIP startswith "fe80:" or SourceIP startswith "fc" or SourceIP startswith "fd" or SourceIP startswith "127." or SourceIP startswith "169.254.") | project Timestamp, SourceTable = "CommonSecurityLog", Entity = tostring(coalesce(DestinationHostName, DeviceName, "")), Indicator = tostring(RequestURL), Context = strcat("status ", Status, " bytes ", Bytes, " from ", SourceIP))) | summarize FirstSeen = min(Timestamp), LastSeen = max(Timestamp), Hits = count(), Context = take_any(Context) by SourceTable, Entity, Indicator | order by LastSeen desc