Browser-delivered commands were likely executed locally if there are terminal launches, clipboard pastes, shell history, PowerShell or command prompt artefacts, and browser or telemetry records showing the page was open immediately before execution. Run history entries, downloaded files and unusual child processes from the browser are strong supporting signs.
What to look for on the endpoint after a browser command runs
The strongest evidence is a chain, not a single artefact. If the browser page was open just before execution and the same workstation shows a terminal launch, a clipboard paste, shell history entries, or PowerShell and command prompt artefacts, the case for local execution becomes much stronger. Downloaded files and unusual child processes spawned from the browser add further support.
Look for timing first, then for correlation. Browser history, tab state, and telemetry should line up with a command prompt, terminal, or script host starting shortly afterwards. That sequence helps distinguish an instruction that merely appeared in the browser from one that was actually acted on by the local user.
When the browser hands off work to the operating system, the interesting evidence often appears outside the browser itself. Local execution typically leaves traces in process trees, recent file activity, run history, and command-line logs, while clipboard artefacts can show that text was copied from a page and then pasted into a shell.
Why the artefacts matter together
Each signal answers a different part of the question. Browser records show exposure to the instruction, terminal and shell artefacts show an execution path, and file or process evidence shows what the system actually did next. OAuth for First-Party Apps is a useful contrast here because browser-mediated flows and local handoff both hinge on whether the client side is trusted to complete the next step safely.
Child processes are especially important when the browser launches an interpreter, script host, downloader, or archive utility. That pattern can indicate the browser was only the delivery channel and the real activity happened locally under the user context.
Downloaded content also matters because it often bridges the gap between viewing a page and running something on the endpoint. If the download is followed by execution, renaming, extraction, or a script invocation, the browser has likely served as the delivery mechanism rather than the execution environment.
How to separate local execution from mere browser activity
Use a simple test: can you show an operating-system action that followed the browser content? If you can only prove that a page was viewed, that is not enough. If you can also show shell history, a pasted command, or a spawned terminal or script process, you have a materially stronger conclusion.
On Windows, command prompt and PowerShell artefacts are usually the most useful starting points. On other platforms, look for recent terminal sessions, shell history, process accounting, and any file or process metadata that ties the browser session to a local command.
Telemetry is most valuable when it shows sequence rather than just presence. A browser tab open immediately before a terminal launch, followed by process creation and file access, is far more persuasive than any one event on its own.
Risk and Threat Considerations
Browser-delivered commands matter because they can turn a web page into an execution trigger. The risk is highest when users copy commands from untrusted content, when a page encourages hidden or obfuscated steps, or when the command chain leads to credential theft, persistence, or additional downloads.
Failure mechanism: The browser is used as the instruction channel, but execution occurs in a local shell or script host, often with the user's privileges and access to local files, sessions, and secrets.
Impact: A successful handoff can produce malware execution, data exposure, account compromise, or further attack staging, and the browser history alone may understate how far the activity progressed.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| MITRE ATT&CK | T1059 — Command and Scripting Interpreter | Browser-delivered commands execute through local shells or script hosts. |
| T1204 — User Execution | The browser content relies on the user to paste or run the command locally. | |
| T1115 — Clipboard Data | Clipboard pastes are a strong sign the command moved from browser text into a shell. | |
| Recommendation — Map the execution chain to T1059 and hunt for interpreter launches plus follow-on activity. Treat the page-to-terminal handoff as user execution and review user interaction evidence. Check clipboard-related artefacts when a command appears to have been copied from a page. | ||
| NIST SP 800-53 Rev 5 | AU-12 — Audit Record Generation | Terminal launches, command history, and process logs are the evidence needed to confirm execution. |
| SI-4 — System Monitoring | Correlating browser and endpoint activity requires monitoring of process and execution telemetry. | |
| Recommendation — Ensure command, process, and session events are retained for reconstruction. Correlate browser, process, and file activity to confirm local execution paths. | ||
Practitioner Guidance
What to verify: Confirm the exact time relationship between the browser page, clipboard use, terminal launch, command history, and any child processes. If the sequence is unclear, treat the event as an indicator rather than a confirmed local execution.
What to prioritise: Preserve volatile and semi-volatile evidence first, especially shell history, process telemetry, and browser history or session artefacts. Those sources usually answer the key question faster than file review alone.
Practitioner takeaway: The decisive question is not whether the browser showed a command, but whether the endpoint subsequently behaved like a user actually ran it.
Related resources from NHI Mgmt Group
- What signs show that endpoint or email controls are missing browser-delivered identity attacks?
- What are the signs that browser-delivered protection is not strong enough?
- How should security teams detect browser-based copy-paste attacks before they execute locally?
- How should security teams govern MCP integrations that can execute commands locally?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org