What is HookChain?
mainHookChain is a technique designed to bypass Endpoint Detection and Response (EDR) systems by redirecting the execution flow of Windows subsystems. It achieves evasion by combining three specific techniques to remain invisible to EDRs that primarily monitor Ntdll.dll.
Core Components of the HookChain technique:
- IAT Hooking: Modifying the Import Address Table to intercept function calls.
- Dynamic SSN Resolution: Dynamically resolving System Service Numbers (SSNs).
- Indirect System Calls: Using indirect syscalls to execute system functions without triggering standard EDR hooks in
Ntdll.dll.
This approach allows for evasion without requiring modifications to the original source code of the applications or malware involved.