Local LLM detection at a glance
| Topic | Summary |
|---|---|
| Signals | Binaries, services, ports, model files, process and GPU behavior, local network activity. |
| Sources | EDR, MDM, software inventory, and network telemetry. |
| Response | Baseline, detect, classify, then block, allow, or monitor. |
| Limit | Presence is visible; agent and tool connections need runtime controls. |
Why local runtimes need their own detection method
Local LLM runtimes such as Ollama run on the employee laptop itself, so detection relies on what the endpoint and its network traffic reveal. No single signal is enough. A reliable approach combines five:
- Installed binaries and services that indicate a runtime is present.
- Listening ports opened by the runtime.
- Model file artifacts stored on the device.
- Process and GPU behavior that points to local model activity.
- Local network activity associated with the runtime.
Mapping signals to detection sources
Each signal should be tied to at least one telemetry source. The sources most teams already operate are:
- EDR
- MDM
- Software inventory
- Network telemetry
Check whether coverage is equal across Windows, macOS, and Linux. A signal that is visible on one operating system but not another leaves gaps in the picture.
Separating experimentation from real exposure
Finding a runtime is the first step. The next is deciding which installations matter. Identify the loaded models and the local API endpoints, and determine whether those endpoints are reachable beyond localhost. Then distinguish connections to agents, tools, or MCP servers from low-risk experimentation.
A phased detection and response approach
- Baseline. Establish which runtimes are present on endpoints today.
- Detect. Use the five signals and their mapped sources to find runtimes on an ongoing basis.
- Classify. Separate low-risk experimentation from exposure, based on the models, endpoints, and connections observed.
- Respond. Apply a block, allow, or monitor decision to each case.
Where endpoint detection stops and runtime governance starts
Endpoint detection shows that a runtime exists. It does not show what the model is connected to. Presence is visible, but connections to agents, tools, or MCP servers need runtime controls.
Criteria for evaluating detection and policy tooling
- Which signals does it cover: binaries and services, ports, model files, process and GPU behavior, and local network activity?
- Which telemetry sources does it use, and is coverage equal across Windows, macOS, and Linux?
- Can it identify the loaded models and the local API endpoints, and tell whether they are reachable beyond localhost?
- Can it detect connections to agents, tools, or MCP servers, and distinguish them from low-risk experimentation?
- Does it support block, allow, and monitor responses?
- Does it produce audit evidence that maps to your AI governance framework?