Fake Statement of Account Brought a Rogue ManageEngine Agent


What this means for your clients: A fake statement sent over chat can plant a real IT management tool on an office PC that answers to a stranger, so know which remote tools run on your computers and who controls each one.
A file called Monthly SOA.img arrives in a chat, someone in accounts opens it, and seconds later the PC runs a second IT management agent: real, signed, unmodified, and answering to the attacker. Palo Alto Networks Unit 42 documented the chain on December 2 in a Timely Threat Intel note by Nikhil Godishela and Abhiram Patiballa. The XiSe RAT that starts first is the noisy part. The ManageEngine Endpoint Central agent is the part that stays.
As of 8:16 AM MST, December 3, 2026, Palo Alto Networks Unit 42 reports a disk image lure named Monthly SOA.img, sent through a messaging app in November 2026, that runs a remote access trojan and then silently installs a ManageEngine Endpoint Central agent enrolled to a server the attackers control.
What happened
Unit 42 says the Statement of Account lure, Monthly SOA.img, went out through an online messaging app in November 2026. Opening the disk image mounts a virtual CD-ROM drive, so the files inside carry no Mark of the Web.
Inside, a legitimate, validly signed program renamed PDF2-page.exe loads an attacker-supplied libcef.dll from its own folder. That is DLL side-loading, and Unit 42 notes the program's signature and hash do not mark it as malicious on their own. The DLL, a 32-bit Rust loader, rebuilds shellcode hidden in the red channel of a PNG named 33bbf5a.cat, a form of steganography, and runs a remote access trojan that calls itself Xise. Unit 42 nicknamed it XiSe RAT.
XiSe RAT talks raw TCP to 202[.]61[.]160[.]251 on port 5788, with cleartext tags QMSG, XISEHS, ECK1 and XISEEG worth alerting on. Its UAC bypass "only works if the logged-on user is a local administrator," Unit 42 says. For persistence it copies itself to C:\Users\Public\ as UserOOBEBrokeu.exe, one letter off UserOOBEBroker.exe, and adds "Microsoft OfficeI" to the registry Run keys.
Within seconds, the elevated RAT runs one cmd.exe line: curl fetches 111a.zip from xy2-1469461062.cos.ap-jakarta.myqcloud[.]com, tar unpacks it to C:\111a\, and msiexec silently installs UEMSAgent.msi with the transform UEMSAgent.mst. Unit 42 says the MSI is an unmodified ManageEngine installer; the attackers' server settings sit in the transform and DCAgentServerInfo.json.
The agent enrolls into the attackers' Endpoint Central server, DESKTOP-74QBDFT at 156[.]234[.]7[.]141 on HTTPS port 8383, which has existed since at least October 11, 2026. Unit 42 says that gives remote desktop and remote management "separate from the RAT," and the server can push more modules, including kernel drivers that protect the agent's folder.
Why this matters for MSPs and small businesses
ManageEngine was not hacked, and its installer was not changed. The attackers brought their own console. Most small businesses and every MSP run remote management tools, and most security stacks trust them. A rogue ManageEngine agent looks normal: a signed file, the right service names, HTTPS on the vendor's documented port, inside allowlists written for your own agent. Remove the RAT and the attacker keeps remote desktop.
A rogue RMM agent is persistence that looks like IT, so RMM security means knowing where each agent reports. A client PC reporting to two consoles is a compromise, not a misconfiguration, which makes this MSP security and small business security at once. The lure is a finance team security problem too: statements are routine for accounts staff, and this one came by chat, where inbox-only phishing training does not reach.
What to do today
Write down your approved management tools and the server each reports to; for Endpoint Central, that is DCServerIPAddress and DCServerName under the agent's ServerInfo registry key. Alert on anything else. Take local admin rights from everyday users, since this UAC bypass needs them. Block ISO and IMG files in email, chat and file sharing. Use application control so unapproved installers and agents cannot start. Allow ports 8383, 8027 and 8443 outbound only to your own servers; ManageEngine's agent footprint page documents 8383, 8027 and the agent processes.
If you find a rogue agent, start incident response: isolate the PC, preserve evidence, uninstall the agent from an admin session, reimage if a protective driver blocks removal, remove the RAT, the Run value and C:\ProgramData\Xise\, and reset that machine's credentials. Block Unit 42's indicators now, but expect them to change; the behavior hunts are the lasting control.
Indicator (defanged) | Type | Unit 42 context |
202[.]61[.]160[.]251 | IPv4 | XiSe RAT command and control, raw TCP port 5788 |
156[.]234[.]7[.]141 | IPv4 | Attacker Endpoint Central server DESKTOP-74QBDFT, HTTPS port 8383 |
xy2-1469461062.cos.ap-jakarta.myqcloud[.]com | Host | Served 111a.zip, the agent package |
fc8b511833bbaa038a05c9e3e1029668919ffe689e7538b4202c51481288cbc9 | SHA-256 | Monthly SOA.img |
cc7440749985cce9f18a09af42fb16685e676dda677d06a77e51ee3b2676ed03 | SHA-256 | libcef.dll |
124ba34cb2fd1ce70151bb385d9964862c7f7412692e114ac63259a4c3d0865a | SHA-256 | 33bbf5a.cat, PNG |
3e9d33be95175da96bfd2fc2db8634eac18173828e04c4e17caf7d4cf73a84dd | SHA-256 | Shellcode decoded from the PNG |
ae3727e78af71b154e3f419704db90b6c4a06498f5ff62740285c22ffcab127a | SHA-256 | Decrypted XiSe RAT shellcode |
180195558475b32abedb88b3103c06ee464148809986b78de32d8fdba897c516 | SHA-256 | Attacker-configured UEMSAgent.mst |
35cd7b4426ad21437488e165fc722a2787764442f54fd78ba9398a83ab835f39 | SHA-256 | Attacker-configured DCAgentServerInfo.json |
HKCU\Software\Microsoft\Windows\CurrentVersion\Run\Microsoft OfficeI | Registry | Value C:\Users\Public\UserOOBEBrokeu.exe |
HKLM\SOFTWARE\WOW6432Node\AdventNet\DesktopCentral\DCAgent\ServerInfo | Registry | DCServerIPAddress 156[.]234[.]7[.]141, DCServerName DESKTOP-74QBDFT |
C:\Users\Public\UserOOBEBrokeu.exe, C:\Users\Public\libcef.dll, C:\Users\Public\33bbf5a.cat, C:\ProgramData\Xise\, C:\111a.zip, C:\111a\ | Paths | RAT copy, loader, PNG, configuration folder, agent package |
0c553c7ac3bc.dll | Internal name | Loader's internal DLL name |
How to hunt
Hunt 30 days of Windows endpoint telemetry and search Unit 42's indicators across full retention. This threat hunting covers Splunk, Elastic, CrowdStrike and Microsoft Defender KQL.
Test 1: which management agents run on your PCs and which server each one reports to
Purpose: each management agent, where it connects, and quiet PCs.
Splunk
| tstats summariesonly=false count max(_time) as last_seen values(Processes.process_name) as procs from datamodel=Endpoint.Processes where earliest="-30d@d" by Processes.dest
| rename Processes.dest as dest
| eval agents=mvfilter(match(procs, "(?i)^(dcagentservice[.]exe|dcondemand[.]exe|dcagenttrayicon[.]exe|dcconfig[.]exe|YOUR_RMM_AGENT_PROCESSES)$"))
| join type=left dest [| tstats summariesonly=false count as mgmt_events values(All_Traffic.dest_ip) as mgmt_dests values(All_Traffic.dest_port) as mgmt_ports values(All_Traffic.app) as apps from datamodel=Network_Traffic.All_Traffic where earliest="-30d@d" All_Traffic.dest_port IN (8383, 8027, 8443) by All_Traffic.src
| rename All_Traffic.src as dest]
| eval off_list=mvfilter(NOT in(mgmt_dests, "YOUR_UEMS_SERVERS", "YOUR_RMM_SERVERS"))
| eval status=case(mvcount(off_list)>0, "1 management port traffic to a server not on your approved list",
last_seen < relative_time(now(), "-1d"), "3 no process events in the last day: not cleared",
mvcount(agents)>0, "2 management agent running: confirm your team deployed it")
| where isnotnull(status)
| convert ctime(last_seen)
| table status dest agents mgmt_dests mgmt_ports off_list apps last_seen
| sort status destElastic
FROM YOUR_INDEX
| WHERE @timestamp >= NOW() - 30 days
| EVAL pname = TO_LOWER(process.name),
is_process = event.category == "process",
agent = event.category == "process" AND pname IN ("dcagentservice.exe", "dcondemand.exe", "dcagenttrayicon.exe", "dcconfig.exe", "YOUR_RMM_AGENT_PROCESSES"),
mgmt_net = event.category == "network" AND destination.port IN (8383, 8027, 8443) AND pname IN ("dcagentservice.exe", "dcondemand.exe", "dcagenttrayicon.exe", "dcconfig.exe", "YOUR_RMM_AGENT_PROCESSES"),
server_value = event.category == "registry" AND registry.path LIKE "*DesktopCentral*DCAgent*ServerInfo*" AND registry.value IN ("DCServerIPAddress", "DCServerName")
| EVAL off_list = (mgmt_net AND TO_STRING(destination.ip) NOT IN ("YOUR_UEMS_SERVERS", "YOUR_RMM_SERVERS"))
OR (server_value AND MV_FIRST(registry.data.strings) NOT IN ("YOUR_UEMS_SERVERS", "YOUR_RMM_SERVERS"))
| STATS last_process = MAX(@timestamp) WHERE is_process, agent_events = COUNT(*) WHERE agent, off_list_events = COUNT(*) WHERE off_list,
agents = VALUES(process.name) WHERE agent, servers = VALUES(registry.data.strings) WHERE server_value,
mgmt_dests = VALUES(destination.ip) WHERE mgmt_net BY host.name
| EVAL status = CASE(off_list_events > 0, "1 agent or management port reports to a server not on your approved list",
last_process IS NULL OR last_process < NOW() - 1 day, "3 no process events in the last day: not cleared",
agent_events > 0, "2 management agent running: confirm your team deployed it")
| WHERE status IS NOT NULL
| SORT status, host.nameCrowdStrike
// Time picker: last 30 days.
// YOUR_RMM_AGENT_PROCESSES is the file name without .exe, because the regex already ends in \.exe$.
#event_simpleName=ProcessRollup2 event_platform=Win
| case {
ImageFileName=/\\(dcagentservice|dcondemand|dcagenttrayicon|dcconfig|YOUR_RMM_AGENT_PROCESSES)\.exe$/i | agent := 1 | AgentFile := ImageFileName ;
* | agent := 0 }
| groupBy([aid, ComputerName], function=[sum(agent, as=agent_events), max(@timestamp, as=last_seen), collect([AgentFile])], limit=max)
| join(query={
(#event_simpleName=ProcessRollup2 event_platform=Win ImageFileName=/\\(dcagentservice|dcondemand|dcagenttrayicon|dcconfig|YOUR_RMM_AGENT_PROCESSES)\.exe$/i) OR (#event_simpleName=NetworkConnectIP4 event_platform=Win)
| falconPID := TargetProcessId | falconPID := ContextProcessId
| selfJoinFilter([aid, falconPID], where=[{#event_simpleName=ProcessRollup2}, {#event_simpleName=NetworkConnectIP4}], prefilter=true)
| #event_simpleName=NetworkConnectIP4
| case { in(field=RemoteAddressIP4, values=["YOUR_UEMS_SERVERS", "YOUR_RMM_SERVERS"]) | off := 0 ; * | off := 1 }
| groupBy([aid], function=[sum(off, as=off_list), collect([RemoteAddressIP4, RemotePort])], limit=max)
}, field=aid, include=[off_list, RemoteAddressIP4, RemotePort], mode=left)
| case {
test(off_list > 0) | status := "1 agent connects to a server not on your approved list" ;
test(last_seen < now() - 86400000) | status := "3 no process events in the last day: not cleared" ;
test(agent_events > 0) | status := "2 management agent running: confirm your team deployed it" ;
* | status := "" }
| status != ""
| sort([status, ComputerName], order=asc, limit=10000)Microsoft KQL
let start = ago(30d);
let agentProcs = dynamic(["dcagentservice.exe", "dcondemand.exe", "dcagenttrayicon.exe", "dcconfig.exe", "YOUR_RMM_AGENT_PROCESSES"]);
let approved = dynamic(["YOUR_UEMS_SERVERS", "YOUR_RMM_SERVERS"]);
let hosts = DeviceProcessEvents
| where Timestamp >= start
| summarize LastEvent = max(Timestamp), Agents = make_set_if(FileName, FileName in~ (agentProcs), 20) by DeviceName;
let net = DeviceNetworkEvents
| where Timestamp >= start and InitiatingProcessFileName in~ (agentProcs)
| summarize Dests = make_set(strcat(RemoteIP, ":", RemotePort), 20), OffNet = countif(not(RemoteIP in (approved)) and not(RemoteUrl in~ (approved))) by DeviceName;
let reg = DeviceRegistryEvents
| where Timestamp >= start and RegistryKey contains @"AdventNet\DesktopCentral\DCAgent\ServerInfo" and RegistryValueName in ("DCServerIPAddress", "DCServerName")
| summarize Servers = make_set(RegistryValueData, 10), OffReg = countif(not(RegistryValueData in~ (approved))) by DeviceName;
hosts
| join kind=leftouter net on DeviceName
| join kind=leftouter reg on DeviceName
| extend Status = case(OffNet > 0 or OffReg > 0, "1 agent reports to a server not on your approved list",
LastEvent < ago(1d), "3 no process events in the last day: not cleared",
array_length(Agents) > 0, "2 management agent running: confirm your team deployed it", "")
| where isnotempty(Status)
| project Status, DeviceName, Agents, Servers, Dests, LastEvent
| order by Status asc, DeviceName ascField mapping: Splunk CIM Processes and Network_Traffic, joined by host name; Elastic process, destination and registry fields; CrowdStrike ProcessRollup2 with NetworkConnectIP4; Microsoft Defender process, network and registry tables. False positives: unlisted distribution servers, cloud consoles, web traffic on 8443.
Hunt 1: a disk image that runs a signed program with a stranger's DLL
Purpose: misplaced libcef.dll loads, the lure's programs, and Unit 42's files.
Splunk
index=YOUR_INDEX source="XmlWinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=7 ImageLoaded="*\\libcef.dll" earliest=-30d@d
| eval loader=lower(replace(Image, "^.*\\\\", "")), dll=lower(ImageLoaded)
| eval flag=case(match(dll, "^c:.users.public."), "1 libcef.dll loaded from the Public folder",
in(loader, "pdf2-page.exe", "useroobebrokeu.exe"), "1 PDF2-page.exe or UserOOBEBrokeu.exe loaded libcef.dll",
NOT match(dll, "^c:"), "2 libcef.dll loaded from a non-system drive, such as a mounted disk image",
NOT match(dll, "^c:.program files") AND NOT in(loader, "YOUR_CEF_APPS"), "2 libcef.dll loaded outside Program Files by an app not on your CEF list")
| where isnotnull(flag)
| stats count min(_time) as first_seen max(_time) as last_seen values(Image) as programs values(ImageLoaded) as paths by flag host
| rename host as dest
| append [| tstats summariesonly=false count min(_time) as first_seen max(_time) as last_seen values(Processes.process_path) as paths values(Processes.parent_process_name) as programs from datamodel=Endpoint.Processes where earliest="-30d@d" (Processes.process_name IN ("PDF2-page.exe", "UserOOBEBrokeu.exe") OR Processes.process_path="C:\\Users\\Public\\*") by Processes.dest Processes.process_name
| rename Processes.dest as dest, Processes.process_name as process_name
| eval flag=if(in(lower(process_name), "pdf2-page.exe", "useroobebrokeu.exe"), "1 PDF2-page.exe or UserOOBEBrokeu.exe ran", "2 process ran from the Public folder")]
| append [| tstats summariesonly=false count min(_time) as first_seen max(_time) as last_seen values(Filesystem.file_path) as paths values(Filesystem.file_hash) as hashes from datamodel=Endpoint.Filesystem where earliest=0 (Filesystem.file_hash IN ("fc8b511833bbaa038a05c9e3e1029668919ffe689e7538b4202c51481288cbc9", "cc7440749985cce9f18a09af42fb16685e676dda677d06a77e51ee3b2676ed03", "124ba34cb2fd1ce70151bb385d9964862c7f7412692e114ac63259a4c3d0865a", "3e9d33be95175da96bfd2fc2db8634eac18173828e04c4e17caf7d4cf73a84dd", "ae3727e78af71b154e3f419704db90b6c4a06498f5ff62740285c22ffcab127a", "180195558475b32abedb88b3103c06ee464148809986b78de32d8fdba897c516", "35cd7b4426ad21437488e165fc722a2787764442f54fd78ba9398a83ab835f39") OR Filesystem.file_name IN ("Monthly SOA.img", "33bbf5a.cat") OR Filesystem.file_path="C:\\Users\\Public\\libcef.dll" OR Filesystem.file_path="C:\\ProgramData\\Xise\\*") by Filesystem.dest
| rename Filesystem.dest as dest
| eval flag="1 Unit 42 file name, path or SHA-256"]
| table flag dest programs paths hashes count first_seen last_seen
| sort flag destElastic
FROM YOUR_INDEX
| EVAL recent = @timestamp >= NOW() - 30 days,
dll_path = TO_LOWER(dll.path), exe_path = TO_LOWER(process.executable), pname = TO_LOWER(process.name), fpath = TO_LOWER(file.path),
cef_load = event.category == "library" AND TO_LOWER(dll.name) == "libcef.dll"
| EVAL flag = CASE(
file.hash.sha256 IN ("fc8b511833bbaa038a05c9e3e1029668919ffe689e7538b4202c51481288cbc9", "cc7440749985cce9f18a09af42fb16685e676dda677d06a77e51ee3b2676ed03", "124ba34cb2fd1ce70151bb385d9964862c7f7412692e114ac63259a4c3d0865a", "3e9d33be95175da96bfd2fc2db8634eac18173828e04c4e17caf7d4cf73a84dd", "ae3727e78af71b154e3f419704db90b6c4a06498f5ff62740285c22ffcab127a", "180195558475b32abedb88b3103c06ee464148809986b78de32d8fdba897c516", "35cd7b4426ad21437488e165fc722a2787764442f54fd78ba9398a83ab835f39"), "1 file matches a Unit 42 SHA-256",
TO_LOWER(file.name) IN ("monthly soa.img", "33bbf5a.cat") OR fpath == "c:\\users\\public\\libcef.dll" OR STARTS_WITH(fpath, "c:\\programdata\\xise\\"), "1 Unit 42 file name or path",
recent AND cef_load AND STARTS_WITH(dll_path, "c:\\users\\public\\"), "1 libcef.dll loaded from the Public folder",
recent AND cef_load AND pname IN ("pdf2-page.exe", "useroobebrokeu.exe"), "1 PDF2-page.exe or UserOOBEBrokeu.exe loaded libcef.dll",
recent AND cef_load AND NOT STARTS_WITH(dll_path, "c:\\"), "2 libcef.dll loaded from a non-system drive, such as a mounted disk image",
recent AND cef_load AND NOT STARTS_WITH(dll_path, "c:\\program files") AND pname NOT IN ("YOUR_CEF_APPS"), "2 libcef.dll loaded outside Program Files by an app not on your CEF list",
recent AND event.category == "process" AND pname IN ("pdf2-page.exe", "useroobebrokeu.exe"), "1 PDF2-page.exe or UserOOBEBrokeu.exe ran",
recent AND event.category == "process" AND STARTS_WITH(exe_path, "c:\\users\\public\\"), "2 process ran from the Public folder")
| WHERE flag IS NOT NULL
| EVAL path = COALESCE(dll.path, file.path, process.executable)
| STATS events = COUNT(*), first_seen = MIN(@timestamp), last_seen = MAX(@timestamp), programs = VALUES(process.executable), paths = VALUES(path) BY flag, host.name
| SORT flag, host.nameCrowdStrike
// Time picker: last 30 days. YOUR_CEF_APPS lists the CEF-based programs you expect, by file name.
(#event_simpleName=ImageHash ImageFileName=/\\libcef\.dll$/i) OR (#event_simpleName=ProcessRollup2 event_platform=Win)
| falconPID := TargetProcessId | falconPID := ContextProcessId
| selfJoinFilter([aid, falconPID], where=[{#event_simpleName=ProcessRollup2}, {#event_simpleName=ImageHash}], prefilter=true)
| case { #event_simpleName=ImageHash | DllPath := ImageFileName ; * | LoaderPath := ImageFileName }
| groupBy([aid, falconPID], function=[collect([ComputerName, LoaderPath, DllPath, SHA256HashData]), min(@timestamp, as=first_seen), max(@timestamp, as=last_seen)], limit=max)
| LoaderPath=/\\(?<LoaderName>[^\\]+)$/
| case {
SHA256HashData=/cc7440749985cce9f18a09af42fb16685e676dda677d06a77e51ee3b2676ed03/i | flag := "1 libcef.dll matches the Unit 42 SHA-256" ;
DllPath=/\\Users\\Public\\libcef\.dll/i | flag := "1 libcef.dll loaded from the Public folder" ;
LoaderName=/^(PDF2-page|UserOOBEBrokeu)\.exe$/i | flag := "1 PDF2-page.exe or UserOOBEBrokeu.exe loaded libcef.dll" ;
DllPath=/\\Program Files( \(x86\))?\\/i | flag := "" ;
in(field=LoaderName, values=["YOUR_CEF_APPS"], ignoreCase=true) | flag := "" ;
DllPath=/\\libcef\.dll$/i | flag := "2 libcef.dll loaded outside Program Files by an app not on your CEF list" ;
* | flag := "" }
| flag != ""
| sort([flag, ComputerName], order=asc, limit=10000)Microsoft KQL
let start = ago(30d);
let cefApps = dynamic(["YOUR_CEF_APPS"]);
let unit42 = dynamic(["fc8b511833bbaa038a05c9e3e1029668919ffe689e7538b4202c51481288cbc9", "cc7440749985cce9f18a09af42fb16685e676dda677d06a77e51ee3b2676ed03", "124ba34cb2fd1ce70151bb385d9964862c7f7412692e114ac63259a4c3d0865a", "3e9d33be95175da96bfd2fc2db8634eac18173828e04c4e17caf7d4cf73a84dd", "ae3727e78af71b154e3f419704db90b6c4a06498f5ff62740285c22ffcab127a", "180195558475b32abedb88b3103c06ee464148809986b78de32d8fdba897c516", "35cd7b4426ad21437488e165fc722a2787764442f54fd78ba9398a83ab835f39"]);
let loads = DeviceImageLoadEvents
| where Timestamp >= start and FileName =~ "libcef.dll"
| extend Flag = case(FolderPath startswith @"C:\Users\Public\", "1 libcef.dll loaded from the Public folder",
InitiatingProcessFileName in~ ("PDF2-page.exe", "UserOOBEBrokeu.exe"), "1 PDF2-page.exe or UserOOBEBrokeu.exe loaded libcef.dll",
not(FolderPath startswith @"C:\"), "2 libcef.dll loaded from a non-system drive, such as a mounted disk image",
not(FolderPath startswith @"C:\Program Files") and not(InitiatingProcessFileName in~ (cefApps)), "2 libcef.dll loaded outside Program Files by an app not on your CEF list", "")
| project Timestamp, DeviceName, Flag, Path = FolderPath, Program = InitiatingProcessFolderPath, Hash = SHA1;
let procs = DeviceProcessEvents
| where Timestamp >= start and (FileName in~ ("PDF2-page.exe", "UserOOBEBrokeu.exe") or FolderPath startswith @"C:\Users\Public\")
| extend Flag = iff(FileName in~ ("PDF2-page.exe", "UserOOBEBrokeu.exe"), "1 PDF2-page.exe or UserOOBEBrokeu.exe ran", "2 process ran from the Public folder")
| project Timestamp, DeviceName, Flag, Path = FolderPath, Program = InitiatingProcessFolderPath, Hash = SHA256;
let files = DeviceFileEvents
| where SHA256 in (unit42) or FileName in~ ("Monthly SOA.img", "33bbf5a.cat") or FolderPath startswith @"C:\ProgramData\Xise\" or FolderPath =~ @"C:\Users\Public\libcef.dll"
| extend Flag = iff(SHA256 in (unit42), "1 file matches a Unit 42 SHA-256", "1 Unit 42 file name or path")
| project Timestamp, DeviceName, Flag, Path = FolderPath, Program = InitiatingProcessFileName, Hash = SHA256;
union loads, procs, files
| where isnotempty(Flag)
| summarize Events = count(), FirstSeen = min(Timestamp), LastSeen = max(Timestamp), Paths = make_set(Path, 20), Programs = make_set(Program, 20), Hashes = make_set(Hash, 10) by Flag, DeviceName
| order by Flag asc, DeviceName ascField mapping: Splunk Sysmon Event ID 7 plus CIM Processes and Filesystem; Elastic dll, process and file fields; CrowdStrike ImageHash with ProcessRollup2; Microsoft Defender image-load, process and file tables, matched by path since image-load SHA256 is often empty. False positives: CEF-based apps; list them in YOUR_CEF_APPS.
Hunt 2: an elevated shell that downloads and installs a management agent
Purpose: the one-line download and install, and the RAT's Run value.
Splunk
| tstats summariesonly=false count min(_time) as first_seen max(_time) as last_seen values(Processes.parent_process_path) as parent_paths values(Processes.user) as users from datamodel=Endpoint.Processes where earliest="-30d@d" Processes.process_name IN ("cmd.exe", "powershell.exe", "pwsh.exe", "msiexec.exe") (Processes.process="*msiexec*" OR Processes.process="*TRANSFORMS=*" OR Processes.process="*UEMSAgent.msi*") by Processes.dest Processes.process_name Processes.parent_process_name Processes.process
| rename Processes.* as *
| eval flag=case(isnotnull(mvfind(parent_paths, "(?i)^c:.users.public.")), "1 shell or installer started by a program in the Public folder",
in(lower(parent_process_name), "pdf2-page.exe", "useroobebrokeu.exe"), "1 shell or installer started by the lure or its renamed copy",
lower(process_name)!="msiexec.exe" AND match(process, "(?i)(curl|invoke-webrequest)") AND match(process, "(?i)([ &]tar[ ]|expand-archive)") AND match(process, "(?i)msiexec"), "1 one shell line downloads, unpacks and installs an MSI",
match(process, "(?i)111a.uemsagent[.]msi"), "1 msiexec installed UEMSAgent.msi from the 111a folder",
isnotnull(mvfind(parent_paths, "(?i)^[d-z]:")), "2 shell or installer started from a non-system drive, such as a mounted disk image",
lower(process_name)=="msiexec.exe" AND match(process, "(?i)[-/][ix][ ]*.?https?:"), "2 msiexec installed from a URL",
lower(process_name)=="msiexec.exe" AND match(process, "(?i)transforms="), "2 msiexec with a transform: confirm the parent is your deployment tool")
| where isnotnull(flag)
| append [| tstats summariesonly=false count min(_time) as first_seen max(_time) as last_seen values(Registry.registry_value_data) as process from datamodel=Endpoint.Registry where earliest="-30d@d" Registry.registry_path="*\\CurrentVersion\\Run*" (Registry.registry_value_name="Microsoft OfficeI" OR Registry.registry_value_data="*\\Users\\Public\\*") by Registry.dest Registry.registry_value_name
| rename Registry.dest as dest, Registry.registry_value_name as run_value
| eval flag=if(run_value=="Microsoft OfficeI", "1 Run value Microsoft OfficeI", "2 Run value points into the Public folder")]
| table flag dest process_name parent_process_name parent_paths run_value process users count first_seen last_seen
| sort flag destElastic
FROM YOUR_INDEX
| WHERE @timestamp >= NOW() - 30 days
| EVAL cmd = TO_LOWER(process.command_line), pname = TO_LOWER(process.name), parent = TO_LOWER(process.parent.executable),
run_path = TO_LOWER(registry.path), run_data = TO_LOWER(MV_FIRST(registry.data.strings))
| EVAL installer = pname IN ("cmd.exe", "powershell.exe", "pwsh.exe", "msiexec.exe") AND (cmd LIKE "*msiexec*" OR cmd LIKE "*transforms=*" OR cmd LIKE "*uemsagent.msi*"),
run_key = event.category == "registry" AND run_path LIKE "*currentversion*run*"
| EVAL flag = CASE(
installer AND STARTS_WITH(parent, "c:\\users\\public\\"), "1 shell or installer started by a program in the Public folder",
installer AND TO_LOWER(process.parent.name) IN ("pdf2-page.exe", "useroobebrokeu.exe"), "1 shell or installer started by the lure or its renamed copy",
installer AND pname != "msiexec.exe" AND (cmd LIKE "*curl*" OR cmd LIKE "*invoke-webrequest*") AND (cmd LIKE "* tar *" OR cmd LIKE "*&tar *" OR cmd LIKE "*expand-archive*") AND cmd LIKE "*msiexec*", "1 one shell line downloads, unpacks and installs an MSI",
installer AND cmd LIKE "*111a*uemsagent.msi*", "1 msiexec installed UEMSAgent.msi from the 111a folder",
run_key AND registry.value == "Microsoft OfficeI", "1 Run value Microsoft OfficeI",
run_key AND run_data LIKE "*users*public*", "2 Run value points into the Public folder",
installer AND NOT STARTS_WITH(parent, "c:\\"), "2 shell or installer started from a non-system drive, such as a mounted disk image",
pname == "msiexec.exe" AND cmd LIKE "*/i*http*", "2 msiexec installed from a URL",
pname == "msiexec.exe" AND cmd LIKE "*transforms=*", "2 msiexec with a transform: confirm the parent is your deployment tool")
| WHERE flag IS NOT NULL
| STATS events = COUNT(*), first_seen = MIN(@timestamp), last_seen = MAX(@timestamp), commands = VALUES(process.command_line),
parents = VALUES(process.parent.executable), run_values = VALUES(registry.path) BY flag, host.name
| SORT flag, host.nameCrowdStrike
// Time picker: last 30 days.
(#event_simpleName=ProcessRollup2 event_platform=Win ImageFileName=/\\(cmd|powershell|pwsh|msiexec)\.exe$/i) OR #event_simpleName=AsepValueUpdate
| case {
#event_simpleName=ProcessRollup2 ParentBaseFileName=/^(PDF2-page|UserOOBEBrokeu)\.exe$/i CommandLine=/(msiexec|TRANSFORMS=)/i | flag := "1 shell or installer started by the lure or its renamed copy" ;
#event_simpleName=ProcessRollup2 ImageFileName=/\\(cmd|powershell|pwsh)\.exe$/i CommandLine=/(curl|invoke-webrequest)/i CommandLine=/([\s&]tar\s|expand-archive)/i CommandLine=/msiexec/i | flag := "1 one shell line downloads, unpacks and installs an MSI" ;
#event_simpleName=ProcessRollup2 CommandLine=/111a\\UEMSAgent\.msi/i | flag := "1 msiexec installed UEMSAgent.msi from the 111a folder" ;
#event_simpleName=AsepValueUpdate RegValueName="Microsoft OfficeI" | flag := "1 Run value Microsoft OfficeI" ;
#event_simpleName=AsepValueUpdate RegStringValue=/\\Users\\Public\\/i | flag := "2 autostart value points into the Public folder" ;
#event_simpleName=ProcessRollup2 ImageFileName=/\\msiexec\.exe$/i CommandLine=/[-\/][ix]\s*"?https?:/i | flag := "2 msiexec installed from a URL" ;
#event_simpleName=ProcessRollup2 ImageFileName=/\\msiexec\.exe$/i CommandLine=/TRANSFORMS=/i | flag := "2 msiexec with a transform: confirm the parent is your deployment tool" ;
* | flag := "" }
| flag != ""
| $crowdstrike/fltr-core:zComputerName()
| groupBy([flag, ComputerName], function=[collect([ImageFileName, ParentBaseFileName, CommandLine, RegObjectName, RegValueName, RegStringValue]), min(@timestamp, as=first_seen), max(@timestamp, as=last_seen)], limit=max)
| sort([flag, ComputerName], order=asc, limit=10000)Microsoft KQL
let start = ago(30d);
let shells = dynamic(["cmd.exe", "powershell.exe", "pwsh.exe"]);
let lure = dynamic(["PDF2-page.exe", "UserOOBEBrokeu.exe"]);
let procs = DeviceProcessEvents
| where Timestamp >= start and (FileName in~ (shells) or FileName =~ "msiexec.exe")
| where ProcessCommandLine has "msiexec" or ProcessCommandLine contains "TRANSFORMS=" or ProcessCommandLine contains "UEMSAgent.msi"
| extend Flag = case(InitiatingProcessFolderPath startswith @"C:\Users\Public\", "1 shell or installer started by a program in the Public folder",
InitiatingProcessFileName in~ (lure) or InitiatingProcessParentFileName in~ (lure), "1 shell or installer started by the lure or its renamed copy",
FileName in~ (shells) and ProcessCommandLine has_any ("curl", "Invoke-WebRequest") and ProcessCommandLine has_any ("tar", "Expand-Archive") and ProcessCommandLine has "msiexec", "1 one shell line downloads, unpacks and installs an MSI",
ProcessCommandLine contains @"111a\UEMSAgent.msi", "1 msiexec installed UEMSAgent.msi from the 111a folder",
isnotempty(InitiatingProcessFolderPath) and not(InitiatingProcessFolderPath startswith @"C:\"), "2 shell or installer started from a non-system drive, such as a mounted disk image",
FileName =~ "msiexec.exe" and ProcessCommandLine matches regex @"(?i)[-/][ix]\s*""?https?:", "2 msiexec installed from a URL",
FileName =~ "msiexec.exe" and ProcessCommandLine contains "TRANSFORMS=", "2 msiexec with a transform: confirm the parent is your deployment tool", "")
| project Timestamp, DeviceName, Flag, Detail = ProcessCommandLine, Parent = InitiatingProcessFolderPath;
let runs = DeviceRegistryEvents
| where Timestamp >= start and RegistryKey contains @"\CurrentVersion\Run" and (RegistryValueName == "Microsoft OfficeI" or RegistryValueData contains @"\Users\Public\")
| extend Flag = iff(RegistryValueName == "Microsoft OfficeI", "1 Run value Microsoft OfficeI", "2 Run value points into the Public folder")
| project Timestamp, DeviceName, Flag, Detail = strcat(RegistryKey, " = ", RegistryValueData), Parent = InitiatingProcessFolderPath;
union procs, runs
| where isnotempty(Flag)
| summarize Events = count(), FirstSeen = min(Timestamp), LastSeen = max(Timestamp), Details = make_set(Detail, 20), Parents = make_set(Parent, 10) by Flag, DeviceName
| order by Flag asc, DeviceName ascField mapping: Splunk CIM Processes and Registry; Elastic process and registry fields; CrowdStrike ProcessRollup2 and AsepValueUpdate; Microsoft Defender process and registry tables. False positives: your deployment scripts use transforms; exclude by parent and approved server, never file name.
Hunt 3: management agents and RATs talking to servers you do not own
Purpose: Unit 42's infrastructure, strangers on management ports, foreign ServerInfo values.
Splunk
| tstats summariesonly=false count min(_time) as first_seen max(_time) as last_seen values(All_Traffic.dest_port) as ports values(All_Traffic.app) as apps from datamodel=Network_Traffic.All_Traffic where earliest=0 All_Traffic.dest_ip IN ("202.61.160.251", "156.234.7.141") by All_Traffic.src All_Traffic.dest_ip
| rename All_Traffic.src as dest, All_Traffic.dest_ip as dest_ip
| eval flag="1 connection to a Unit 42 address"
| append [| tstats summariesonly=false count min(_time) as first_seen max(_time) as last_seen values(All_Traffic.dest_port) as ports values(All_Traffic.app) as apps from datamodel=Network_Traffic.All_Traffic where earliest="-30d@d" All_Traffic.dest_port IN (8383, 8027, 8443) by All_Traffic.src All_Traffic.dest_ip
| rename All_Traffic.src as dest, All_Traffic.dest_ip as dest_ip
| where NOT in(dest_ip, "YOUR_UEMS_SERVERS")
| eval flag="2 management port to an address not on your list"]
| append [| tstats summariesonly=false count min(_time) as first_seen max(_time) as last_seen from datamodel=Endpoint.Registry where earliest=0 Registry.registry_path="*\\DesktopCentral\\DCAgent\\ServerInfo*" Registry.registry_value_name IN ("DCServerIPAddress", "DCServerName") by Registry.dest Registry.registry_value_name Registry.registry_value_data
| rename Registry.dest as dest, Registry.registry_value_name as value_name, Registry.registry_value_data as server
| eval flag=case(in(server, "156.234.7.141", "DESKTOP-74QBDFT"), "1 Endpoint Central agent enrolled to the Unit 42 server",
NOT in(server, "YOUR_UEMS_SERVERS"), "1 Endpoint Central agent reports to a server not on your list")
| where isnotnull(flag)]
| append [| tstats summariesonly=false count min(_time) as first_seen max(_time) as last_seen values(Processes.process) as commands from datamodel=Endpoint.Processes where earliest=0 Processes.process_name="curl.exe" Processes.process="*myqcloud.com*" by Processes.dest Processes.parent_process_name
| rename Processes.dest as dest, Processes.parent_process_name as parent
| eval flag=if(isnotnull(mvfind(commands, "xy2-1469461062[.]cos[.]ap-jakarta[.]myqcloud[.]com")), "1 curl fetched from the Unit 42 download host", "2 curl.exe reached a myqcloud storage host")]
| table flag dest dest_ip ports apps value_name server parent commands count first_seen last_seen
| sort flag destElastic
FROM YOUR_INDEX
| EVAL recent = @timestamp >= NOW() - 30 days, ip = TO_STRING(destination.ip), domain = TO_LOWER(destination.domain),
server_value = event.category == "registry" AND registry.path LIKE "*DesktopCentral*DCAgent*ServerInfo*" AND registry.value IN ("DCServerIPAddress", "DCServerName"),
server = MV_FIRST(registry.data.strings)
| EVAL flag = CASE(
ip IN ("202.61.160.251", "156.234.7.141") OR domain == "xy2-1469461062.cos.ap-jakarta.myqcloud.com", "1 connection to a Unit 42 address or host",
server_value AND server IN ("156.234.7.141", "DESKTOP-74QBDFT"), "1 Endpoint Central agent enrolled to the Unit 42 server",
server_value AND server NOT IN ("YOUR_UEMS_SERVERS"), "1 Endpoint Central agent reports to a server not on your list",
recent AND TO_LOWER(process.name) == "curl.exe" AND domain LIKE "*.myqcloud.com", "2 curl.exe reached a myqcloud storage host",
recent AND event.category == "network" AND destination.port IN (8383, 8027, 8443) AND ip NOT IN ("YOUR_UEMS_SERVERS"), "2 management port to an address not on your list")
| WHERE flag IS NOT NULL
| STATS events = COUNT(*), first_seen = MIN(@timestamp), last_seen = MAX(@timestamp), remotes = VALUES(ip), ports = VALUES(destination.port),
domains = VALUES(domain), servers = VALUES(server), programs = VALUES(process.name) BY flag, host.name
| SORT flag, host.nameCrowdStrike
// Time picker: full retention. YOUR_UEMS_SERVERS lists your own Endpoint Central server addresses.
(#event_simpleName=NetworkConnectIP4 event_platform=Win (RemoteAddressIP4="202.61.160.251" OR RemoteAddressIP4="156.234.7.141" OR RemotePort=8383 OR RemotePort=8027 OR RemotePort=8443))
OR (#event_simpleName=ProcessRollup2 event_platform=Win)
| case { #event_simpleName=NetworkConnectIP4 in(field=RemoteAddressIP4, values=["YOUR_UEMS_SERVERS"]) | approved := 1 ; * | approved := 0 }
| approved = 0
| falconPID := TargetProcessId | falconPID := ContextProcessId
| selfJoinFilter([aid, falconPID], where=[{#event_simpleName=ProcessRollup2}, {#event_simpleName=NetworkConnectIP4 OR CommandLine=/myqcloud\.com/i}], prefilter=true)
| groupBy([aid, falconPID], function=[collect([ComputerName, ImageFileName, CommandLine, RemoteAddressIP4, RemotePort]), min(@timestamp, as=first_seen), max(@timestamp, as=last_seen)], limit=max)
| case {
RemoteAddressIP4=/202\.61\.160\.251|156\.234\.7\.141/ | flag := "1 connection to a Unit 42 address" ;
CommandLine=/xy2-1469461062\.cos\.ap-jakarta\.myqcloud\.com/i | flag := "1 a command line named the Unit 42 download host" ;
ImageFileName=/\\curl\.exe/i CommandLine=/myqcloud\.com/i | flag := "2 curl.exe reached a myqcloud storage host" ;
RemotePort=/(^|\s)(8383|8027|8443)(\s|$)/ test(last_seen >= now() - 2592000000) | flag := "2 management port to an address not on your list" ;
* | flag := "" }
| flag != ""
| sort([flag, ComputerName], order=asc, limit=10000)Microsoft KQL
let start = ago(30d);
let approved = dynamic(["YOUR_UEMS_SERVERS"]);
let net = DeviceNetworkEvents
| where RemoteIP in ("202.61.160.251", "156.234.7.141") or RemoteUrl has "xy2-1469461062.cos.ap-jakarta.myqcloud.com"
or (Timestamp >= start and RemotePort in (8383, 8027, 8443) and not(RemoteIP in (approved)))
or (Timestamp >= start and InitiatingProcessFileName =~ "curl.exe" and RemoteUrl has "myqcloud.com")
| extend Flag = case(RemoteIP in ("202.61.160.251", "156.234.7.141") or RemoteUrl has "xy2-1469461062.cos.ap-jakarta.myqcloud.com", "1 connection to a Unit 42 address or host",
InitiatingProcessFileName =~ "curl.exe" and RemoteUrl has "myqcloud.com", "2 curl.exe reached a myqcloud storage host",
"2 management port to an address not on your list")
| project Timestamp, DeviceName, Flag, Detail = strcat(RemoteIP, ":", RemotePort, " ", RemoteUrl), Program = InitiatingProcessFolderPath, CommandLine = InitiatingProcessCommandLine;
let reg = DeviceRegistryEvents
| where RegistryKey contains @"AdventNet\DesktopCentral\DCAgent\ServerInfo" and RegistryValueName in ("DCServerIPAddress", "DCServerName")
| extend Flag = case(RegistryValueData in~ ("156.234.7.141", "DESKTOP-74QBDFT"), "1 Endpoint Central agent enrolled to the Unit 42 server",
not(RegistryValueData in~ (approved)), "1 Endpoint Central agent reports to a server not on your list", "")
| where isnotempty(Flag)
| project Timestamp, DeviceName, Flag, Detail = strcat(RegistryValueName, " = ", RegistryValueData), Program = InitiatingProcessFolderPath, CommandLine = "";
union net, reg
| summarize Events = count(), FirstSeen = min(Timestamp), LastSeen = max(Timestamp), Details = make_set(Detail, 20), Programs = make_set(Program, 10), CommandLines = make_set(CommandLine, 5) by Flag, DeviceName
| order by Flag asc, DeviceName ascField mapping: Splunk CIM Network_Traffic, Registry and Processes; Elastic destination, process and registry fields; CrowdStrike NetworkConnectIP4 with ProcessRollup2, finding the agent by traffic; Microsoft Defender network and registry tables. False positives: other myqcloud[.]com downloads, Endpoint Central Cloud domains, and one approved list per MSP client.
Reading the results before you escalate
A Test 1 agent your team did not deploy, or an agent reporting to a server not on your list, means a compromised PC unless it is a forgotten distribution server or cloud console. Isolate it before you uninstall anything. Port-only Test 1 row 1 is a lead. A PC marked not cleared, or missing entirely, needs a working sensor before a clean result means anything.
After a Hunt 1 hit on a Public-folder or mounted-image libcef.dll, PDF2-page.exe, UserOOBEBrokeu.exe or a Unit 42 hash, assume the RAT ran; run Hunt 2 and Hunt 3 on that host now, because the agent follows within seconds. An unlisted CEF app is only a lead. A Hunt 2 hit on the one-line install, a UEMSAgent.msi transform from C:\111a\, the "Microsoft OfficeI" value, or a shell the lure or a Public-folder program started means a second way in: follow the incident response steps above.
Hunt 3 hits on Unit 42's addresses, the download host or DESKTOP-74QBDFT are confirmed; an unknown management destination is a lead until you know the process. Check every PC for the same destination, since one console rarely enrolls one PC. If all is clean, run Test 1 weekly and keep the Hunt 3 port and ServerInfo rows as standing alerts. That is detection engineering for tools you already trust.
One next step
Today, export every remote management agent on your PCs with the server it reports to, and turn anything unexpected into a ticket for a person. The attackers did not break the tool; they brought their own console. For the Microsoft 365 side of the same access risk, start with a free Inception Foresight M365 Assessment at inceptionsecurity.com/m365assessment.
Follow us on LinkedIn (Inception Security) and X (@inceptionsec).



