// Threat: DarkLunnen: FortiGate CVE-2024-55591 Backdoor Account and Offensive Operations Against Europe // Author: Daniel Jeremiah | Date: 2026-11-13 // Ref: https://github.com/daniyyell-dev/rapid-threat-intel/tree/main/threats/2026-11_November-2026/2026-11-13/DarkLunnen-FortiGate-CVE-2024-55591-Europe-Operations let Lookback = 30d; let IPs = dynamic(["46.8.236.121", "129.146.87.174", "103.28.71.82", "108.175.14.121", "122.155.11.107", "144.91.77.125"]); let Domains = dynamic(["all-smart.freeddns.org"]); let Urls = dynamic(["http://129.146.87.174:18080/hJCdxq/popoc.py", "http://129.146.87.174:18080/UzIwMH/forti-ca.txt", "http://129.146.87.174:18080/aN2MLr/forti_GB.txt", "http://129.146.87.174:18080/OJGWIP/son2.tar.gz"]); let UrlKeys = dynamic(["129.146.87.174:18080/hJCdxq/popoc.py", "129.146.87.174:18080/UzIwMH/forti-ca.txt", "129.146.87.174:18080/aN2MLr/forti_GB.txt", "129.146.87.174:18080/OJGWIP/son2.tar.gz"]); let SHA256s = dynamic(["b8a76bd31984c13d2b0a47d2aaf68e7472d24f6e63575d1feb2fe50956c32acb", "d9edfa7e57067b0a175577e511a9a7ac3d885d15ce28080fa779203317f7616a", "e15780896245c5f8cbff9303a517e782e94e20f39bb87221a5cb1faac5372c07", "0b65f60dc4ace2506003e18bf3ce4a25a149473b57c18af22167afc7037da3bb", "27ddcf81362f87d865329e07235e950fb69ed175afa1f71f76ccfd24ef50fb46", "61e706f5606e025ae8c85a8d1fe7096e0418e16d66acab75b009704d5529a94b", "8a43a9c335d9dfe642a0fc5082800753f5ed450fb13b4823cae17e3d0a5bfa1f", "3732b1ffd1a28cf0cc35532bcbea7c179928b8aaa20b16684cd0255ad0f075d1", "482d16f6c2fa15c10cfc46e37cb298ccee3da1c1ac058a045166fa1429aeb8f7", "c7a1e7f8c81e5deb8e63132e942a56aa88acfddabb14ef10141b5c950477b61e", "c2a37e9f628d7bfe2e8403c451120f314ef65edb1fde1ab83444714fce85d787", "ce8faad7a4074429d532a39dfd4aedd3afaf1145a3c8c89d2060fc7d8de5d598", "8c6969152a0e1ac530909d426797b8326c755ac174a354b67a25f0d0e50b87fa", "97826498e0bdebb04d6372a8aae3f86a63d22aeadd6edf15ae2931b037e21958", "5ebceb30834144677c09faf41fa238d1e1eabbb60a4e565c43a337f02381aed9", "73624b493febe5af0b9f5893adc2ae41c6b09bf1bf2e6fc05ab3a5908b9a7a2a", "05f6e90c037205bf230a1784b0df09a49bc99ccca7643284e290c58679760ab2", "5c65130964db07a2a3fa86b809430aec3ec61d49678349ec693e1ef39cd10b97", "6a619a8710badffadead19d75d6aaf4db0d477282fbf44553a36bf7bc83c3a0c", "52e85a33f216ce6e258d82eb7fa79c2bfdb3b7479751571b6c225884a61a10e8", "d3d6c5c91d856abfcd3dc05a33d7f602b2c59c7a6950c1b641edeee88793600e", "ffee49eed5f8095e30b124eaeaa1ff5e925e3ebd9f85ed1252abfbedd42dbbd2", "dcec7e94a3a76f9f233bcfbb3e7b37b1bb869c1871a4bb29141db3e09344a8f8", "73bc1226e3fafaab0189adb293bbd9a9a1bbfd8d6e68e4ad8efc309d59aaa050", "02575593e5259f5ba22d524d1fefd71d56d60d0e49d2597333cd4de83ccac9a8", "2abc95ce81460a1f018a3ad97a82b4cf201ad1944f2e6fa5a625f301c48b54b7", "57220bac36ac74a003ac09a4c1b6248b43ad10cae2cde4019ceb3144abf6879c", "5e36c5b3c592172d46d1fc73ab594611c2f8fb600a18f4bd33dbf5719313a00e", "19b00abb2caa589b8d2d5cd4816be65e5f456e0c7edbccf17df8fc17dd97cbfe", "bc7870c02f5d74828064a0d08a275e927ca205a85e847ed4f48cc4b45bc87b3c"]); 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 (Domains) | project Timestamp, SourceTable = "DeviceNetworkEvents", Entity = tostring(DeviceName), Indicator = tostring(RemoteUrl), Context = tostring(strcat(ActionType, " ", InitiatingProcessFileName, " ", RemoteIP))), (DeviceEvents | where Timestamp > ago(Lookback) | where ActionType == "DnsQueryResponse" and tostring(parse_json(AdditionalFields).DnsQueryString) has_any (Domains) | project Timestamp, SourceTable = "DeviceEvents", Entity = tostring(DeviceName), Indicator = tostring(parse_json(AdditionalFields).DnsQueryString), Context = tostring(strcat("DNS ", InitiatingProcessFileName))), (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 UrlDomain has_any (Domains) or 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 (Domains) or 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))), (union isfuzzy=true (CommonSecurityLog | where Timestamp > ago(Lookback) | project Timestamp, Blob = strcat(coalesce(AdditionalExtensions, ""), " ", coalesce(Message, ""), " ", coalesce(Activity, ""), " ", coalesce(DeviceAction, "")), SrcTable = "CommonSecurityLog", SrcHost = coalesce(DeviceName, Computer, DestinationHostName, DeviceAddress, "FortiGate"), SrcIP = coalesce(SourceIP, "")), (Syslog | where Timestamp > ago(Lookback) | project Timestamp, Blob = tostring(coalesce(SyslogMessage, RenderedDescription, "")), SrcTable = "Syslog", SrcHost = coalesce(Computer, HostName, "FortiGate"), SrcIP = coalesce(HostIP, "")), (DeviceEvents | where Timestamp > ago(Lookback) | project Timestamp, Blob = tostring(coalesce(AdditionalFields, "")), SrcTable = "DeviceEvents", SrcHost = coalesce(DeviceName, "FortiGate"), SrcIP = "") | where Blob has "logdesc=" or Blob has "cfgobj=" or Blob has "jsconsole" | extend LogDesc = tolower(coalesce(extract("logdesc=\"?([^\"]+)", 1, Blob), extract("logdesc=([^\\s]+)", 1, Blob), "")) | extend UI = tolower(coalesce(extract("\\bui=\"?([^\"]+)", 1, Blob), extract("\\bui=([^\\s]+)", 1, Blob), "")) | extend Method = tolower(coalesce(extract("method=\"?([^\"]+)", 1, Blob), extract("method=([^\\s]+)", 1, Blob), "")) | extend LogUser = tolower(coalesce(extract("\\buser=\"?([^\"]+)", 1, Blob), extract("\\buser=([^\\s]+)", 1, Blob), "")) | extend CfgObj = tolower(coalesce(extract("cfgobj=\"?([^\"]+)", 1, Blob), extract("cfgobj=([^\\s]+)", 1, Blob), "")) | extend LogMsg = coalesce(extract("msg=\"([^\"]+)\"", 1, Blob), extract("msg=([^\\s]+)", 1, Blob), "") | where LogDesc in ("admin added", "object attribute configured") | where UI has "jsconsole" or UI has "websocket" or Method has "jsconsole" or Method has "websocket" | where LogUser == "service" or CfgObj == "service" or LogMsg matches regex @"(?i)(?:added new administrator|edit)\s+service\b" | project Timestamp, SourceTable = SrcTable, Entity = SrcHost, Indicator = "service", Context = strcat(LogDesc, " ui=", UI, " user=", LogUser, " cfgobj=", CfgObj, " ", LogMsg, " src=", SrcIP)), (union isfuzzy=true (DeviceFileEvents | where Timestamp > ago(Lookback) | where FileName in~ ("suo5", "reGeorgSocksProxy.py", "reGeorgSocksProxy", "neoreGeorg", "neo-reGeorg", "neo_reGeorg", "tunnel.tomcat.5.jsp") or FileName has_any ("suo5", "reGeorg", "neo-reGeorg", "neoreGeorg", "tunnel.tomcat.5.jsp") | project Timestamp, SourceTable = "DeviceFileEvents", Entity = DeviceName, Indicator = FileName, Context = strcat(ActionType, " ", FolderPath, " by ", InitiatingProcessFileName)), (DeviceProcessEvents | where Timestamp > ago(Lookback) | where FileName in~ ("suo5", "reGeorgSocksProxy.py", "reGeorgSocksProxy", "neoreGeorg", "neo-reGeorg", "neo_reGeorg") or FileName has_any ("suo5", "reGeorg", "neo-reGeorg", "neoreGeorg") or ProcessCommandLine has_any ("suo5", "reGeorgSocksProxy", "neo-reGeorg", "neoreGeorg", "tunnel.tomcat.5.jsp") | project Timestamp, SourceTable = "DeviceProcessEvents", Entity = DeviceName, Indicator = FileName, Context = strcat(InitiatingProcessFileName, " > ", ProcessCommandLine))), (union isfuzzy=true (DeviceProcessEvents | where Timestamp > ago(Lookback) | where FileName in~ ("sh", "bash", "dash", "ash", "python", "python2", "python3", "perl", "perl5", "nc", "ncat", "netcat", "wget", "curl") | where InitiatingProcessFileName in~ ("php-fpm", "php-fpm7", "php-fpm8", "php", "php7", "php8", "php-cgi", "httpd", "apache2", "httpd-prefork", "nginx") | where InitiatingProcessFolderPath has "roundcube" or InitiatingProcessCommandLine has "roundcube" or FolderPath has "roundcube" or ProcessCommandLine has "roundcube" | project Timestamp, SourceTable = "DeviceProcessEvents", Entity = DeviceName, Indicator = FileName, Context = strcat(InitiatingProcessFileName, " > ", ProcessCommandLine, " (roundcube in path or command line)")), (DeviceProcessEvents | where Timestamp > ago(Lookback) | where FileName in~ ("sh", "bash", "dash", "ash", "python", "python2", "python3", "perl", "perl5", "nc", "ncat", "netcat", "wget", "curl") | where InitiatingProcessFileName in~ ("php-fpm", "php-fpm7", "php-fpm8", "php", "php7", "php8", "php-cgi", "httpd", "apache2", "httpd-prefork", "nginx") | join kind=inner (DeviceFileEvents | where Timestamp > ago(Lookback) | where FolderPath has "roundcube" or FileName has "roundcube" | project DeviceId, FileTime = Timestamp, RcPath = strcat(FolderPath, "/", FileName)) on DeviceId | where Timestamp between (FileTime - 2m .. FileTime + 2m) | project Timestamp, SourceTable = "DeviceProcessEvents", Entity = DeviceName, Indicator = FileName, Context = strcat(InitiatingProcessFileName, " > ", ProcessCommandLine, " within 2 min of ", RcPath))) | summarize FirstSeen = min(Timestamp), LastSeen = max(Timestamp), Hits = count(), Context = take_any(Context) by SourceTable, Entity, Indicator | order by LastSeen desc