Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› Why do trusted utilities like PowerShell and curl…
Threats, Abuse & Incident Response

Why do trusted utilities like PowerShell and curl help attackers evade detection?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 11, 2026 Domain: Threats, Abuse & Incident Response

They help because security tools often expect those binaries to be present and active in normal administration. Attackers abuse that expectation by chaining them together, reducing suspicious file artefacts and making malicious activity look like routine scripting or troubleshooting.

Why trusted utilities become a detection blind spot

Trusted utilities help attackers because defenders usually baseline them as legitimate administrative tools, not as primary indicators of compromise. That trust reduces alert quality when the same binaries are used for scripting, download, staging, or execution, especially in environments where admins routinely use them for troubleshooting, automation, and remote support.

The problem is not the binary itself, but the context it creates. If a command line uses a familiar utility, many security controls see normal behaviour until the surrounding activity, such as unusual arguments, unexpected child processes, or network access, is analysed.

Attackers also benefit from the fact that these tools often exist by default. MITRE D3FEND is useful here because it helps defenders think in countermeasure terms, not just signature terms, and map suspicious utility abuse to the defensive controls that can reduce blind spots.

How PowerShell and curl blend into normal administration

PowerShell and curl are effective for evasion because they are flexible, scriptable, and common in both support workflows and automation. PowerShell can launch in-memory logic, chain commands, and interact with local or remote systems without dropping obvious custom executables. curl can retrieve payloads, interact with endpoints, and move data while looking like routine connectivity testing.

This makes them valuable for so-called living-off-the-land activity. The attacker is not trying to invent a new toolchain, but to borrow a trusted one whose presence does not stand out. That can reduce file-based artefacts, lower the chance of application reputation checks firing, and make the activity resemble ordinary admin work.

Defenders should assume that allowlisting these tools is necessary but insufficient. The security question becomes whether the command content, process lineage, script source, and network destination fit the expected use of the utility.

For detection engineering, MITRE ATT&CK Enterprise is the most practical reference because it structures the techniques around command execution, PowerShell abuse, ingress tool transfer, and execution chains that defenders can hunt for directly.

What defenders need to inspect instead of the tool name

Detection should focus on behaviour around the utility, not the utility alone. A PowerShell process started by an unusual parent, reaching out to an unknown host, decoding embedded content, or spawning a second interpreter is far more suspicious than PowerShell started from an approved admin session. Curl becomes more concerning when it downloads executable content, posts data to a rare destination, or appears in a process tree that has no operational reason to fetch remote content.

Useful telemetry includes command-line arguments, encoded or obfuscated input, child process creation, script block logging, network connections, and user context. Those signals help separate benign administration from attacker tradecraft that depends on hiding inside trusted execution paths.

Teams that want to tune detections around these patterns can use SANS Security Resources for practitioner guidance on detection engineering and incident handling, especially when building reviews around command-line abuse and suspicious scripting behaviour.

Risk and Threat Considerations

Trusted utilities create a real visibility problem because many endpoint and network controls are designed to trust them by default. When an attacker can operate through an approved binary, they can reduce obvious malware artefacts, blend into normal admin traffic, and keep initial activity below the threshold of some alerts.

Failure mechanism: Security teams over-index on binary reputation and underweight command content, process ancestry, and destination risk, so malicious activity inherits the trust of a legitimate tool.

Impact: That gap can delay detection, widen dwell time, and let attackers stage payloads, enumerate systems, or move laterally while appearing to perform routine troubleshooting or automation.

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.

FrameworkControl / ReferenceRelevance
MITRE ATT&CKT1059 — Command and Scripting InterpreterCovers attacker abuse of trusted scripting tools like PowerShell for execution.
T1105 — Ingress Tool TransferCovers curl-like retrieval of payloads and staged content from remote sources.
T1218 — Signed Binary Proxy ExecutionTrusted utilities can proxy malicious activity through legitimate binaries to evade scrutiny.
Recommendation — Map suspicious script execution to T1059 and alert on unusual parentage, arguments, and encoded commands. Hunt for remote fetches that introduce new content and inspect destinations, file types, and follow-on execution. Detect living-off-the-land abuse by correlating trusted binary use with abnormal command content and network activity.
NIST SP 800-53 Rev 5SI-4 — System MonitoringMonitoring must detect malicious use of normal admin tools through behaviour and context.
AU-12 — Audit Record GenerationCommand-line and process telemetry are necessary to distinguish admin use from abuse.
Recommendation — Tune monitoring to flag anomalous utility use, unusual command lines, and suspicious outbound connections. Generate audit records for process creation, script execution, and network-relevant command activity.

Practitioner Guidance

What to verify: Treat PowerShell and curl as expected tools, but verify whether each execution fits an approved pattern for that host, user, and time window. The most useful question is not “Was PowerShell used?” but “Was this exact command line, origin, and destination normal for this role?”

Common mistake: Allowlisting the executable name without inspecting arguments, parent process, and network behaviour creates a false sense of safety. If defenders only alert on unknown binaries, they will miss the abuse of trusted ones.

What good looks like: Mature telemetry lets analysts separate sanctioned admin use from suspicious tradecraft by correlating process tree, script content, and outbound connection details. If those three do not line up with the user’s job, the event deserves review.

Practitioner takeaway: The defensive goal is not to block PowerShell or curl outright, but to make their abuse noisy by anchoring detections on behaviour, lineage, and destination rather than tool reputation alone.

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.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on October 11, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org