Before you start
- An Iru API token with MCP turned on and permissions that cover the calls below (recipe 1).
- Macs enrolled in Iru. Prism collects launch agent and daemon data through the Iru Agent.
Prompt for your agent
Pull launch agent and daemon data for every Mac in Iru from Prism with GET /api/v1/prism/launch_agents_and_daemons. The call returns at most 300 records per request, so page through the results with limit and offset until you have them all. Group the rows by label, and show each label with its path and the number of distinct Macs that have it. Flag the labels that appear on only a few Macs, and list those Macs by name and serial number. Tell me what cutoff you used for "few". This is a lead list for a persistence check, not a verdict. Do not tell me any item is malware.
Steps
Pull the Prism launch agents and daemons category
Prism collects launch agents and daemons from every Mac every 15 minutes. Each row carries the
label, thepathof the plist file andprogram_arguments, plus load and disabled state inis_loadedanddisabled.A hard limit of 300 device records applies to each request, so the agent pages with
limitandoffset.GET/api/v1/prism/launch_agents_and_daemonsSource: Prism
Group by label and flag the rare ones
Have the agent count how many distinct Macs share each
labeland put the labels found on few Macs at the top.Ask the agent to name the cutoff it picked for "few" so you can adjust it.
Check each flagged item
For every flagged label, review the
path,program_argumentsand whether it is loaded and enabled.In the web app, open Devices, select the Prism tab, then open the Launch Agents & Daemons category and use + Filter to narrow the table.
Source: Prism
Common pitfalls
- A label found on few Macs is a lead, not proof of a problem.
- Prism data can be up to 15 minutes old.
- The category covers Macs only. It doesn't report launch items on iPhone, iPad or Apple TV.
- An attribute marked Empty applies to the Mac but has no value, for example a launch daemon with no program arguments. Null means the attribute doesn't apply.
FAQ
Which API call lists launch agents and daemons?
GET /api/v1/prism/launch_agents_and_daemons returns launch agents and daemons installed on macOS from Prism.
Does this find malware?
No. It lists what is installed and how many Macs share each label, so you can review the rare ones yourself.
How current is the data?
The Iru Agent collects launch agents and daemons every 15 minutes, so a result can be up to 15 minutes old.
Does it cover Windows or iPhone?
No. The Launch Agents & Daemons category covers macOS devices.