"We already run an EDR, a DLP client, a backup agent and a vulnerability scanner. Why would we install another one?"
It is a fair question, and we hear it from almost every customer. Security and IT teams have learned that every endpoint agent carries a tax: slower logins, stalled builds, applications that crash after an update, and helpdesk tickets that end with "disable the agent and try again."
So before we ask anyone to deploy the Sarab Agent, we want to explain why most agents slow machines down, and why ours is built so that it does not.
Why Endpoint Agents Slow Machines Down
Most security agents are slow for one reason: they sit in the execution path. Every process launch, file open, registry write and network connection passes through the agent's code before Windows lets it complete.
On a busy server that means thousands of interceptions per second. Each one costs CPU time, and many also cost a round trip to the agent's user-mode service for a verdict. A file that is opened, scanned and then opened again by a second agent pays that cost twice.
The mechanism that puts an agent in that path is called hooking. It is worth understanding, because it explains both why these agents are powerful and why they are expensive.
What Hooking Actually Is
Hooking means redirecting a function call so that it runs through your code before it reaches its real destination.
Windows programs do almost everything by calling APIs. When an application wants to write to another process's memory, it calls WriteProcessMemory in kernel32.dll. That call passes through kernelbase.dll, then to NtWriteVirtualMemory in ntdll.dll, which executes a system call into the kernel. A hook inserts a detour somewhere along that chain.
Agents use three common techniques:
- Inline hooks in user mode. The agent injects its own DLL into every new process. That DLL overwrites the first few bytes of sensitive ntdll.dll functions with a jump to the agent's code. The agent inspects the arguments, decides whether to allow the call, then jumps back to the original function.
- Import Address Table (IAT) hooks. Every executable keeps a table of the API addresses it imports. The agent rewrites entries in that table so the program calls the agent's function instead of the real one.
- Kernel callbacks and filter drivers. On 64-bit Windows, PatchGuard blocks drivers from patching the kernel directly. Vendors instead register sanctioned callbacks: PsSetCreateProcessNotifyRoutineEx for process creation, ObRegisterCallbacks for handle access, CmRegisterCallbackEx for registry operations, filesystem minifilter drivers for file I/O, and Windows Filtering Platform callouts for network traffic.
Strictly speaking, kernel callbacks are not hooks. The effect is the same, though: the agent's code runs inside the operation, and the operation waits for it.
Why Security Agents Hook, and What It Costs
Agents hook because attackers use the same APIs as legitimate software. Process injection is VirtualAllocEx, then WriteProcessMemory, then CreateRemoteThread. Credential dumping is OpenProcess against lsass.exe with memory read rights. The only way to tell good from bad is to see each call, with its arguments, as it happens.
Hooking also makes prevention possible. A log entry written after the call only tells you what already happened. A hook can stop the call before it completes, which is exactly what an EDR is paid to do.
That design is valuable, and we are not arguing against running an EDR. But it comes with three costs that customers feel directly:
- Performance. Hot paths like file I/O and memory allocation run millions of times a day. Even a few microseconds of inspection per call adds up, which is why Microsoft advises testing SQL Server under full load before rolling out antivirus and publishes a list of processes and files to exclude from scanning (learn.microsoft.com).
- Stability. Hooking code runs inside every process and often inside the kernel. A bug there does not crash the agent, it crashes the application or the whole operating system. In July 2024, a faulty CrowdStrike Falcon content update took down an estimated 8.5 million Windows devices (techtarget.com).
- Compatibility. Two agents hooking the same function can conflict, and modules injected into sensitive processes cause their own problems. Microsoft specifically flags performance and consistency issues when third-party monitoring modules load into the SQL Server process.
There is also an arms race. Attackers now unhook ntdll.dll or issue direct system calls to skip user-mode hooks, which pushes vendors deeper into the kernel and raises the stakes of every bug.
What the Sarab Agent Actually Does
The Sarab Agent has one job: deploy and maintain deception mines on your servers.
Mines are artifacts no legitimate user or process should ever touch. Think decoy credentials, fake configuration files with database connection strings, honeytokens, and breadcrumbs that point toward Sarab decoys. An attacker who lands on the server and starts looking for a way forward finds them, and uses them.
Planting mines by hand works for a demo. It does not work across hundreds of servers, where each mine has to match the server's role and naming so it looks real, and has to stay fresh over months. The agent exists to automate that lifecycle:
- Pull the mine definitions assigned to this server from the Sarab management console.
- Write each mine in place, matched to the server's profile.
- Verify on a schedule that every mine is still present and unchanged.
- Rotate mines when the console issues new ones, so stale artifacts do not give the game away.
- Report mine health back to the console, and remove every mine cleanly on uninstall.
That is the entire scope. Deploying files and credentials is a small, bounded task, and the agent is built to match it.
How It Works Without Hooking
The Sarab Agent does not need to watch every API call, because deception detects in a different place.
An EDR hooks everything because it cannot know in advance where an attacker will go. Deception flips that problem. We decide in advance what the attacker will find, and we make sure nothing legitimate ever uses it. When a decoy credential is used, a honeytoken is called or a breadcrumb leads to a decoy, the alert fires at the decoy side. The mine does the detecting. The agent only planted it.
So the agent stays out of the execution path entirely:
- No API hooks. It injects no DLLs, patches no functions and rewrites no import tables.
- Nothing in the I/O path. It registers no process, registry, file or network interception, so no operation on the server waits for it.
- No interference with services. It does not stop, restart, reconfigure or sit in front of any running service or application.
- Mostly idle. It wakes to deploy, verify or rotate mines, reports to the console, and goes back to sleep.
In practice this means there is nothing for your EDR to conflict with, and no exclusion list to maintain for your databases. If the agent stops for any reason, the server keeps running normally. The mines already in place keep working too; only refresh and health reporting pause until the agent is back.
What the Sarab Agent Is Not
The Sarab Agent is not an EDR, and it does not block anything. It will not stop malware from executing or quarantine a file. That job belongs to the tools you already run, and they should keep doing it.
What it adds is a detection layer that does not depend on catching the attacker in the act. Attackers who evade your EDR still have to find credentials and move laterally, and that is where the mines are waiting.
On our reference servers, the agent uses [X MB] of memory and under [Y%] CPU at idle.
See the footprint on your own servers. Book a Sarab pilot and we will deploy the agent on a test server next to your existing EDR, then share the resource measurements with your team.
Sources
1. Microsoft Learn, “Configure antivirus software to work with SQL Server”
2. TechTarget, “Microsoft: Faulty CrowdStrike update affected 8.5M devices”
