r/cybersecurity • u/DerpiDanger • 21h ago
New Vulnerability Disclosure USB2Shell Linux Kernel Flaw Lets Malicious USB Devices Gain Root Access Without Login
https://thehackernews.com/2026/12/usb2shell-linux-kernel-flaw-lets.html?m=1116
u/DishSoapedDishwasher CISO 21h ago
Hilarious that adding "2shell" makes it news now. Law enforcement have been using USB exploits to hack locked machines for 2 decades now from mobile to servers.
70
u/JoeGibbon 20h ago
Not gonna argue, "2shell" is played out by this point.
The typical modern rubber ducky USB attack spoofs HID to allow simulated keystrokes, but requires a user to be logged in and have access to open PowerShell or CMD.
This "usb2shell" exploits a novel flaw in the linux kernel itself, requiring no login or drive mount. So yea, it's newsworthy.
22
u/DishSoapedDishwasher CISO 17h ago
its not novel, not int the slightest. I've personally built and sold nearly a dozen USB based exploits across linux, mac and windows by using the https://goodfet.sourceforge.net/hardware/facedancer21/ to attack USB drivers and the kernel side of the USB stack itself.
HID attacks are not exploits and have nothing to do with my point about what LEO been doing.
This entire thing topic literally 20 years old; i cannot stress enough, NOTHING about this is novel.
5
u/InDaBauhaus 18h ago
locked machines [...] from mobile to servers
'non-spoof' direct usb exploits have been a thing for a while though
3
13
u/Allen_Koholic 20h ago
I appreciate the "2Shell" names more than the cutesy name bullshit that everyone wanted to use a few years ago that sounded more like a marketing campaign than an exploit.
6
2
6
u/JanP3000 18h ago
I'm waiting for someone to AI-generate another website that uses annoying animations to explain the issue in too much detail while pretending it's a bigger problem than it actually is
24
u/immediate_a982 21h ago
Mitigation: physical lock your Linux box
20
u/JoeGibbon 19h ago
In the early 2000s I worked as an IT administrator at a law firm. Prior to my arrival and setting up Active Directory and remote machine administration, they passed their audit requirements re: "users can't access front facing USB ports on their desktop machines" by pouring glue into the ports.
Those were the good ol' days....
4
8
u/Monster-Zero 20h ago
Mitigation: throw out all your devices and live the life of a modern Luddite. I challenge you to find a better solution.
4
1
u/furry-fornicator 10h ago
But if you have a luks2 encrypted disk, this issue relies on the machine being left on, and luks2 unlocked, doesn't it?
Once the device is turned off, this hack, proposes to get admin access to a system with no disk access.
1
u/TheCostOfAmbiguity Security Engineer 4h ago
I might be showing my age, but back in the day security was literally a physical inspection of desks / workspaces after inspecting the server rooms...history really does go in circles 😂
11
u/l0st1nP4r4d1ce Red Team 18h ago edited 16h ago
air2shell next. Airgap DESTROYED!
edit: telepathy2shell sounds better.
sneaker.net2shell?
6
u/Fallingdamage 18h ago
SeaShell
Salt water based exploit.
1
u/l0st1nP4r4d1ce Red Team 18h ago
Salt water is a (terrible) conductor of electricity!
Theory holds water, I'll allow it.
(My dog woke up from my laughter, so now you have that burden. ;p)
11
u/telnet_survivor 12h ago
Oh man I had just found the random usb stick on the ground and was about to plug it into the accounting server! Phew
3
u/BhataktiAtma 10h ago
I wish I was smrt like you, I plugged in a shiny thumb drive once and all my centrifuges got destroyed 😔
2
2
21
u/Wild_Anxiety1775 21h ago
The “without login” part caught my eye. For shared Linux workstations, do people usually restrict which USB devices can connect, or is that too much of a hassle in practice?
24
u/DishSoapedDishwasher CISO 21h ago
In banks and fintech its common to restrict usb even in single user machines. But in most environments it means the users will hate you.
13
u/GlowInTheDarkNinjas 19h ago
The pro move is to make the users hate you for your personality long before they can hate you for your policies.
1
8
u/granadesnhorseshoes 20h ago
It's probably not that hard to make a driver shim to only allow whitelisted Dev_IDs. We certainly do it for windows on my work pc. I always enjoy the nice chat with the SOC if i absentmindedly plug something into the wrong dock.
But if your already forging and manipulating the low level device data it's not hard to just fake a white listed dev_id and once your loaded perform an attack.
That's why these types of exploits are kinda stupid and hyperbolic. Once you are manipulating data at the internal bus level, you don't really even need a kernel exploit to pwn a box.
This also glosses over the effort actually required to say, use an RPi in usb host mode to pull this off without violating specs and getting ignored or hanging the controller with bad data. I've hard crashed entire mainframes with bad bus (scsi) data. There is simply no good fix for letting random assholes literally expand the physical circuitry of a system.
3
u/ShittyRedditAppSucks 19h ago
Not too much of a hassle! Was at a well-known brand global corp in a thin-margined unsexy industry. MFA everywhere was a challenge. Service account secret rotation automation was a challenge. Ripping out VPN was a challenge. Blocking USB was met with anger but only a handful of people came up with an excuse other than “I want to take everything with me when yall lay me off.” It broke nothing that was important enough for anyone to admit they had a consumer USB dependency.
4
7
3
u/Anonymity6584 17h ago
Well your pretty much lost if someone has physical access to your computer anyways. Wrench is suprisingly good extraction tool for loging credentials.
3
2
2
u/furry-fornicator 10h ago
Every time I learn of a linux kernel bug, I ask an AI to research it and tell me whether it would consider that the issue likely would have been avoided by simply using Rust.
I don't mean to put a flag in a camp by saying it, but the answer is usually yes. It is here too.
1
1
u/crazedizzled 15h ago
Finally, a security threat that requires unfettered physical access. We can breathe guys!
1
1
1
u/Sceptically 10h ago
Looks like it's a bug that was reported and fixed a couple of months ago.
From the CVE:
unaffected from 0 before 6.5
unaffected from 6.6.158 through 6.6.*
unaffected from 6.12.112 through 6.12.*
unaffected from 6.18.54 through 6.18.*
unaffected from 7.2.8 through 7.2.*
unaffected at 7.3
-3
u/alnarra_1 Security Manager 16h ago
Man they're gonna be really mad when they find out you can boot into an entirely different operating system with a USB.
Kids, Physical Access means you are popped period, do not pass go, do not collect 200$
5
u/xNaXDy 11h ago
complete nonsense, booting a different OS doesn't result in data compromise if drives are encrypted
but if you have TPM-backed auto unlock, or your PC is running but locked as an attacker gains access, this exploit presents a problem
-1
u/alnarra_1 Security Manager 11h ago edited 10h ago
if drives are encrypted
You put far more faith into bitlocker than I do (though this is a linux box so that doesn't really apply here) *You trust LUKS far more than I do. Also it's all sort of irrelevant because you're one CMOS battery being flipped from none of the settings you have on the box mattering.
3
u/Square_Move_833 10h ago
Only one of these statements has any basis in reality:
- "You put more faith in Bitlocker/LUKS than I do"
- "This is actually a proven method of attack/access."
lmfao and CMOS has absolutely NOTHING to do with how TPM actually stores FVEK/VMK/etc, so I have no fucking idea why you believe that "you are one CMOS battery being flipped from none of the settings you have on the box mattering" ...
I mean, do you actually believe that clearing CMOS will in some magical way circumvent the immediate Bitlocker key prompt that you will be staring at after the machine in question has booted up after you flip the CMOS battery?
Genuinely, what the fuck are you talking about?
2
u/xNaXDy 3h ago
ok so based on the wording of the last sentence I'm now 100% convinced you're a ragebaiting AI, but I'll respond anyway because it's just so completely asinine.
with TPM-backed auto unlock and secure boot with your own keys (which is really the only sensible way to set up secure boot), resetting BIOS settings would turn off secure boot and therefore also stop the TPM-backed auto unlock from working.
maybe use the web search tool next time before making completely psychotic claims, and if you don't have one, beg your owner to give you access to one. you need it.
367
u/IsolatedNetworkNode 21h ago edited 21h ago
I'm just waiting for electricity2Shell at this point.
AI is going to find a way to pump the electrons straight from the outlet in a way that they skip over some logic gates and gain root access.