Join our Newsletter — 33% off our NHI Course

Direct Syscalls

Direct Syscalls are Windows system calls invoked by an application without using the normal user-mode API layer. Attackers use them to bypass user-mode monitoring, hook-based detection and some endpoint controls. Defenders look for unusual syscall patterns, memory injection behaviour and unsigned or suspicious code that avoids standard libraries.

How Direct Syscalls Work

Direct syscalls let code invoke Windows kernel services without passing through the normal user-mode API layer. That changes the execution path, not the underlying operating system function, which is why the technique is useful to attackers and also important for defenders to understand.

Because the syscall still reaches the kernel, the main difference is where visibility is lost. Security tools that depend on user-mode hooks, API interception or library monitoring may miss the call path even though the action itself still occurs.

Why Direct Syscalls Matter for Detection

Direct syscalls are a classic evasion technique in endpoint security because they can reduce the signal available to hook-based monitoring. That makes them especially relevant in investigations involving memory injection, process hollowing, reflective loading and other behaviours that already try to avoid standard telemetry.

Defenders usually look for the pattern around the syscall rather than the call alone, including unusual executable memory activity, suspicious thread creation, tampered modules and code that executes without relying on normal Windows libraries. The most useful question is often not “was a syscall used?” but “why did this process avoid the expected API path?”

How Organisations Assess Exposure

Exposure is highest where endpoint telemetry, EDR sensors or application monitoring rely heavily on user-mode instrumentation. If those controls are partially blind, the organisation needs compensating visibility from kernel telemetry, memory analysis, process lineage and event correlation.

Asset inventory and environment context matter too. Systems that run sensitive administrative tools, remote management software or high-value workloads deserve closer review because a successful bypass can hide malicious activity long enough for payload staging, credential theft or lateral movement to progress.

Remediation and Defensive Controls

Reducing direct-syscall risk usually means strengthening the layers that still see the attack even when user-mode hooks do not. That includes hardening endpoint tamper protection, limiting unsigned code execution, enforcing application control and watching for memory behaviours that do not fit the baseline of a trusted process.

Hardening is most effective when it is paired with vendor guidance and platform-native controls. A broader control baseline such as NIST SP 800-53 Rev 5 Security and Privacy Controls helps anchor detection, logging, configuration management and system integrity expectations, while MITRE ATT&CK Enterprise Matrix helps teams map direct syscalls to the surrounding evasive technique set. For Windows-specific defensive context, NHIMG’s EDR Evasion and Defence Guide is a practical companion.

In practice, the goal is not to detect the syscall in isolation, but to detect the behaviour that makes the syscall suspicious.

Risk and Threat Considerations

Direct syscalls matter because they can weaken the assumptions behind user-mode monitoring, giving malware a way to operate with less visibility. When that blind spot exists, attackers can combine it with injection or stealthy payload execution to delay detection and extend dwell time.

Failure mechanism: The attacker bypasses hook-based inspection and executes Windows services through a lower-visibility path, which can suppress or distort security telemetry.

Impact: Endpoint controls may fail to observe malicious memory operations, making compromise harder to investigate and increasing the chance of persistence, lateral movement or secondary payload deployment.

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 T1218 — System Binary Proxy Execution Direct syscall evasion is part of living-off-the-land style execution and detection bypass patterns.
Recommendation — Map suspicious execution chains to ATT&CK and hunt for evasive process behaviour around trusted binaries.
NIST SP 800-53 Rev 5 SI-4 — System Monitoring Direct syscalls challenge visibility, which makes monitoring and anomaly detection materially relevant.
SI-7 — Software, Firmware, and Information Integrity Unsigned or suspicious code used with direct syscalls raises integrity concerns for running processes.
AU-6 — Audit Record Review, Analysis, and Reporting Hidden syscall activity is surfaced by correlating and reviewing audit data from multiple sources.
Recommendation — Correlate endpoint and kernel telemetry to detect suspicious process and memory behaviour. Enforce integrity checks and block untrusted code paths that evade normal user-mode controls. Review audit records for unusual execution and memory patterns that indicate evasive activity.