Tuesday, August 11, 2026
LIVEThe Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///The Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///
Subscribe
Cyber Security
Independent · Digital
Thehackingpost
CybersecurityAI-assisted

New FlipSwitch Hooking Technique Bypasses Linux Kernel Defenses

The emergence of a new rootkit, FlipSwitch , has introduced a sophisticated method of targeting modern Linux kernels. First identified in late September 2025, FlipSwitch exploits recent modifications in syscall dispatching to implant covert hooks into…

The emergence of a new rootkit, FlipSwitch , has introduced a sophisticated method of targeting modern Linux kernels. First identified in late September 2025, FlipSwitch exploits recent modifications in syscall dispatching to implant covert hooks into kernel code.

This technique enables attackers to circumvent traditional detection methods, posing a threat to critical infrastructure and cloud environments.

FlipSwitch has emerged following the adoption of Linux kernel 6.9, which transitioned from a syscall_table array lookup to a switch-statement dispatch in the x64_syscall function.

This update, while mitigating traditional pointer-overwrite vulnerabilities, inadvertently created a new attack vector.

Elastic analysts have observed that FlipSwitch capitalizes on this transformation, allowing adversaries to redirect system calls effectively.

Researchers identified FlipSwitch when they detected unusual syscalls in secure environments, tracing them to a module embedded within legitimate kernel modules.

The rootkit operates by patching the compiled machine code of the x64_syscall dispatcher directly, flipping the hook at runtime without altering kernel data structures.

FlipSwitch's mechanism involves scanning the raw bytes of x64_syscall for a unique opcode pattern, identifying a singular insertion point.

The emergence of a new rootkit, FlipSwitch , has introduced a sophisticated method of targeting modern Linux kernels.
Benjamin Scott · Thehackingpost

By disabling memory write protections via the CR0 register, the rootkit overwrites call offsets to redirect execution to a malicious callback, then restores original syscall behavior.

FlipSwitch gains an initial foothold in kernel space through a two-stage loader in a benign kernel module.

Upon insertion, the loader uses a kprobe on a trusted kernel function to determine the address of kallsyms_lookup_name , bypassing its non-exported status.

Utilizing this, the loader acquires pointers to target syscalls and the x64_syscall dispatcher, initiating a helper function to find the exact call instruction:

static inline void disable_write_protection(void) { unsigned long cr0 = read_cr0(); write_cr0(cr0 & ~X86_CR0_WP); }

static inline void enable_write_protection(void) { unsigned long cr0 = read_cr0(); write_cr0(cr0 | X86_CR0_WP); }

Advertisement

void apply_flipswitch_hook(void dispatcher, unsigned long target) { disable_write_protection(); (int32_t *)(dispatcher + hook_offset + 1) = calc_relative(target, hook_offset); enable_write_protection(); }

After patching, FlipSwitch unloads its loader, restoring write-protection and leaving only the modified instruction in memory.

This method ensures stealth and persistence, with the loader's footprint disappearing post-execution and the hook remaining active until module removal or system reboot.

FlipSwitch emphasizes the necessity for advanced memory-integrity monitoring and evolving in-kernel security mechanisms.

As defenders adjust, rootkit developers will likely pursue new methods of subversion, highlighting the need for layered detection and proactive threat hunting.

Based on reporting by Cyber Security News.

AI transparency. This article was produced with the assistance of artificial intelligence and published under human editorial oversight. AI systems can make mistakes. Read how we use AI (EU AI Act, Art. 50).
Related Stories