Skip to main content
Mallory
Malware

FlipSwitch

Tracked since Nov 25, 2025 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors0Associated
ATT&CK3Techniques
IOCs0Tracked
Type
Rootkit
Capabilities
Defense evasionPost exploitation
Platforms
Linux

FlipSwitch is a proof-of-concept Linux x86-64 kernel rootkit technique for intercepting system calls on Linux kernel 6.9 and later. It addresses the switch-based syscall-dispatch implementation that made traditional sys_call_table pointer-overwrite hooks ineffective. FlipSwitch scans the compiled kernel syscall dispatcher for the call instruction associated with a selected syscall, then changes that instruction’s relative target to redirect execution to an attacker-controlled handler. The technique can resolve kernel symbols through kallsyms_lookup_name, including recovery of that resolver through a kprobe when it is not exported to loadable modules. It temporarily disables the x86 CR0 write-protect bit to modify read-only kernel code and restores the modification when the module unloads. As a syscall-hooking rootkit mechanism, it can support stealth and post-exploitation behavior by redirecting selected kernel syscall handling while leaving other dispatcher paths unchanged. Elastic Security published a YARA signature for identifying the proof-of-concept in Linux x86 files or memory.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

3 distinct techniques documented for this family, organized by ATT&CK tactic.

Persistence

1 technique
T1547.006Kernel Modules and ExtensionsEvidence1

kallsyms_lookup_name is generally not exported by default, meaning it's not directly accessible to loadable kernel modules.

Privilege Escalation

1 technique
T1547.006Kernel Modules and ExtensionsEvidence1

kallsyms_lookup_name is generally not exported by default, meaning it's not directly accessible to loadable kernel modules.

Stealth

2 techniques
T1014RootkitEvidence3

“FlipSwitch focuses on the compiled machine code of the kernel's new syscall dispatcher function, x64_sys_call... [and] overwrites [a] call-site... with a new offset pointing to a malicious, adversary-controlled function.” | “Rootkits are stealthy malware designed to conceal malicious activity, such as files, processes, network connections, kernel modules, or accounts.”

T1564Hide ArtifactsEvidence1

This empowers a rootkit to filter the output of the ls command to hide malicious files or prevent a specific process from being terminated.

Activity feed

Recent activity

5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
elastic security labsNews · Mar 1, 2026Hooked on Linux: Rootkit Taxonomy, Hooking Techniques and Tradecraft - Elastic Security LabsKernel syscall-dispatcher patching technique/rootkit approach for Linux 6.9+ that locates and rewrites call sites inside x64_sys_call (switch-based dispatcher) by temporarily disabling CR0 write-protect, enabling syscall interception despite sys_call_table no longer being in the execution path.Read more ↗ctoatncsc substackNews · Oct 4, 2025CTO at NCSC Summary: week ending October 5thLinux rootkit technique that patches the kernel syscall dispatcher machine code to bypass a new switch-statement implementation.Read more ↗elastic security labsNews · Sep 30, 2025FlipSwitch: a Novel Syscall Hooking Technique - Elastic Security LabsLinux kernel rootkit proof-of-concept that hooks syscalls on x86-64 Linux kernel 6.9+ by patching the compiled machine code of the syscall dispatcher (x64_sys_call) rather than overwriting sys_call_table entries. It locates the target syscall function address (e.g., sys_kill) via sys_call_table/kallsyms_lookup_name (optionally obtained via kprobe), finds the corresponding call instruction in x64_sys_call, disables CR0 write-protect, and rewrites the call’s relative offset to redirect execution to attacker-controlled code; changes are reverted on module unload.Read more ↗elastic security labsNews · Sep 30, 2025FlipSwitch: a Novel Syscall Hooking TechniqueLinux x86-64 kernel rootkit proof of concept that hooks individual system calls after kernel 6.9 by locating and rewriting the relative offset of a call instruction in the x64_sys_call dispatcher. It temporarily disables CR0 write protection to patch kernel code and restores modifications on module unload.Read more ↗
+1 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping3Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.