What happened
How a motion sensor gives away a password
Recent MacBook Airs have a motion sensor inside the case — the same kind of part that turns a phone's screen when you tilt it. It measures how the laptop moves, about 800 times a second.
For example: a finance manager installs a free screen-capture tool from a website. No permission is asked and nothing shows on screen. A week later, at a cafe table, the manager signs in to the company's bank portal.
Every key press shakes the case very slightly, and where it shakes depends on where the key sits: a Q near the left edge rocks the laptop differently from an L on the right. The researchers found each key leaves its own pattern — like telling which step of an old staircase someone stood on from the creak alone.
The tool also learns when each key went down: macOS gives it, without asking, the time since the last key press, though not which key. So it keeps the third of a second of shaking around each press — one snippet per character.
It matches each snippet against shakes learned from other people's typing; it needs none of the manager's. For a password, it keeps its five best guesses — and the email address typed just before it comes out the same way. The readings are sent out and decoded elsewhere.
Tested on three people and laptops it had never seen — on a cafe table, a lap and a mattress — it got 94 of every 100 characters right. For 87 of every 100 random passwords, the right one was among its five guesses.
macOS guards against keyloggers: a program that wants to watch the keyboard must ask for Input Monitoring. The sensor sits outside that guard; with Input Monitoring off, it still reads. The one condition is that the user is an administrator — as the first account on every Mac is by default.
A keylogger app
Blocked unless the user allows it
The motion-sensor program
Works out the keys, unseen
Apple confirmed the leak in May 2026, the researchers report, and is building a patch. None had shipped when the paper came out on 18 September.
Why now
There is no patch to install yet, and the permission companies rely on to stop keyloggers does not cover this. The researchers propose a fix: iPhones already cap apps at about 100 sensor readings a second, and at that rate their password guessing fell from 96 to 8 in 100. Until Apple ships one, protection is up to IT.
Nobody thought of a motion sensor as a keyboard, and that is the lesson. Every new sensor in a laptop can leak what its user does, so judge each Mac by what an unvetted program could read on it. Standard accounts and controlled installs will still hold when the next sensor leak is found.
Join free to read the rest
Join free to read how they did it, the exposure check, the fix step by step, how to be ready for the next one, and what we don't know yet.
Are you exposed?
Is my MacBook exposed to the motion-sensor keystroke leak?
Find your exposure in three questions. Answer for your own company. Each answer narrows what to do next.
Your risk if
This leakStaff type passwords and confidential work on MacBooks, signed in as administrators
This leakStaff can install programs from anywhere
Who acts on it
This leakIT changes the accounts and the install rules; security moves key logins off typed passwords; the CEO backs the change when staff push back
Lower priority if
This leakEvery Mac already runs a standard account and only approved programs — then you are waiting for Apple's fix, not racing it
If you've been hit
Act from a clean device
The paper gives no response steps; these are ours. The attack leaves no prompt or log to find, so the warning sign is a program on the Mac that nobody approved.
-
the employee, with securityChange every password typed on that Mac since the program arrived — from another device
You should see: New passwords that were never typed on the suspect Mac.
For example: the finance manager resets the bank-portal and email passwords from a phone or a colleague's laptop, not from the Mac that may still be listening.
-
securitySign out every other session and check recent logins
For example: the bank portal and the email service list recent sign-ins; one from an unknown place or device is the sign the guesses were used.
-
ITRemove the program, or wipe and reinstall the Mac
For example: if the screen-capture tool came from a website nobody vetted, wiping the Mac is safer than trusting that removing it removed everything.
-
securityAdd a second step to every login that program could have seen
For example: turn on the phone tap or code for the bank portal now, so even an old password that was missed cannot be used alone.
Fix it
The fix, by deadline
Step by step, with who does each one.
Find the exposed Macs
There is nothing to install yet. The work now is finding which Macs meet the attack's one condition, and who can put a program on them.
-
ITList every MacBook, and whether its everyday user is an administrator
You should see: A list of Macs whose daily account is an administrator — the exposed ones.
For example: your device-management tool reports each Mac's accounts; a laptop a new hire set up from the box will show that person as an administrator.
-
ITFind out who can install programs, and from where
For example: can someone in sales download a free screen-capture tool from a website and run it today? If yes, that is the way in.
-
securityMark the people whose typed passwords matter most
For example: finance staff who sign in to the bank portal, and IT administrators who type passwords to servers. Fix their Macs first.
Close the way in
-
ITMove everyday work to a standard account
You should see: Staff can work as before, but installing software asks for an IT password.
For example: the finance manager works in a standard account all day, and IT keeps a separate administrator account for installs. The researchers found the sensor refuses a second user, even an administrator, who is not the one signed in at the screen.
-
ITAllow only approved programs to be installed
For example: staff pick tools from a company catalogue in the device-management tool instead of downloading them. This shuts out the program the attack needs — and other unvetted programs with it.
-
securityPut a second step on key logins: passkeys, or a code or tap on the employee's phone
For example: the bank portal asks for a tap on the finance manager's phone after the password, so five good guesses are not enough to get in. A passkey goes further: nothing is typed, so there is nothing for the sensor to read. Our view: the cheapest way to make a stolen password worthless.
-
the CEO, with ITTell staff why installs now need IT
For example: one short note — a free tool can read a password from the way the laptop shakes, and Apple has not fixed it yet. People accept a rule they understand.
When Apple ships the fix
-
ITWatch Apple's security notes for a fix to the motion sensor
For example: check each macOS update's security notes for an entry on the motion sensor or the IOKit driver behind it. Our own check of the September updates (macOS 27, Tahoe 26.7 and 26.7.1) found no such entry.
-
ITInstall it on every Mac within days, not at the next cycle
For example: push it through device management with a short deadline, as you would an actively used flaw.
-
ITKeep the standard accounts afterwards
For example: when the next sensor leak is found, those Macs are already closed. Our view: the patch fixes this sensor; the account change fixes the habit.
How much does protecting Macs from the motion-sensor leak cost?
IT time per Mac; staff now ask IT to install software
Setting up a catalogue in your device-management tool, if you have one
Not given in the source; phone codes and passkeys are free on most services, a security key per person otherwise
Free when it ships, as a macOS update
Precautions
What would have reduced the impact
No company could have stopped this with a setting: nobody had reported it to Apple until the researchers did, in March 2026. What a company controls is what an unknown program on a staff laptop is allowed to touch — and that is decided by the account it runs under.
Expect more of these. A laptop is now full of sensors — motion, light, microphones, cameras — and each is a new way for a program to learn what its user does. Every new one starts life without a guard. A company whose staff work as standard users, with only approved programs, is protected from most of them before anyone has found them.
Each row below is a defence that would have limited this attack. Tick "We already do this" on the ones your company has; this score counts them. Every row left unticked is listed under "Your gaps", with the Fix it step that closes it.
What the steps protect
- 1
Standard accounts
The sensor stops answering, by the researchers' finding — so a free download can no longer read the bank-portal password
- 2
Approved programs only
The program the attack needs cannot get on the Mac — nor can other unvetted programs
- 3
A second step on key logins
A guessed password alone no longer opens the account; with a passkey, nothing is typed for the next keyboard leak to read
Each one is closed by the Fix it step named on its row.
The first card is the researchers' finding; the second and third are our reading of what the attack needs.
For the CEO
What should I ask IT about the MacBook motion-sensor leak?
- How many of our Macs run their everyday account as an administrator?
- Can a member of staff install a program from a website today, without asking anyone?
- Which of our most important logins still open with a password alone, with no second step?
- Who will tell us when Apple ships the fix, and how fast can we install it on every Mac?
- If staff lose administrator rights, what will they need from IT, and can IT keep up?
How they did it
How does the MacBook motion-sensor attack read what you type?
This is the detail your IT team needs to judge its own Macs. It follows the researchers' tests on 10 MacBook Air laptops (M3, M4 and M5 chips, macOS Sonoma 14 to Tahoe 26.5) and 10 volunteers. Nothing here has been seen outside the lab.
- 1
A program running as the employee
The attack needs one thing first: a program of the attacker's running on the Mac, as the person signed in. It asks for no administrator password and triggers no prompt. The paper does not say how the program gets there, and does not test apps from the Mac App Store, which run in a tighter sandbox.
There is one condition. The sensor answers only when the person signed in at the screen is an administrator — which the first account set up on a Mac is by default, and on a laptop someone unboxed themselves is usually the only account. A second user working at the same time — remotely, for example — is refused, even an administrator, and switching to another user cuts the program off within three seconds.
Our view: This condition is the best news in the paper. Most companies gave staff administrator rights years ago so they could install their own software — that convenience is now what keeps this leak open. Taking it back is the one fix you control today.
- 2
Listening without a permission
The program reads three things macOS gives any program run by the signed-in user. None reveals a key; together they show the exact moment of each key press and the shake it made. The keyboard's own guard, Input Monitoring, protects none of them.
What the program readsWhat it learns, and the permission it needsWhat the program readsThe motion sensor What it learns, and the permission it needsHow the case moved, about 800 times a second. Permission: none, as long as the user is an administratorWhat the program readsTime since the last key press What it learns, and the permission it needsThe moment each key went down. Permission: noneWhat the program readsKeyboard or trackpad What it learns, and the permission it needsWhich presses were typing, not clicks. Permission: none, for the signed-in userWhat the program readsFor comparison: the keys themselves What it learns, and the permission it needsExactly what was typed. Permission: Input Monitoring, which the user must switch onSecurity people call this a side-channel attack: the secret leaks through a side effect — here, the shake — instead of through the keyboard itself.
- 3
Turning shakes into letters
The program keeps the third of a second of shaking around each key press and hands it to a decoder — a pattern-matching model the researchers trained on seven volunteers' typing. It then went to work on three people and three laptops it had never seen: no sample of the victim's typing was needed. For text, a language model then corrects the words; for a password, the decoder keeps its five best guesses.
Person testedWhat the decoder gotPerson testedPerson 8, on a cafe table What the decoder got97.5 of every 100 characters right; the password among five guesses 93 times in 100Person testedPerson 9, on a lap What the decoder got89.1 of every 100 characters right; the password among five guesses 80 times in 100Person testedPerson 10, on a mattress What the decoder got95 of every 100 characters right; the password among five guesses 87 times in 100The decoder knows 37 keys: the 26 letters, 10 digits and the space bar. The researchers did not test capital letters or symbols, and their passwords had none.
Our view: Do not read that gap as a defence. A password with a symbol in it is still mostly letters and digits, and five guesses that are nearly right shrink the work left to guess the rest. Treat any password typed on an exposed Mac as readable.
- 4
Sending it out, and using it
The program does not have to decode anything on the Mac. The paper says the readings are sent out through hidden channels — ways of passing data that ordinary monitoring is not built to spot — and decoded on the attacker's own computers. It does not describe that part further.
Our view: the decoder reads every key, not just the password, so the email address typed just before it comes out the same way. With the address and five guesses, the attacker tries the login page — and five tries is within what many login pages allow before they lock the account.
Our view: this is also where the attack is weakest. A login that asks for a second step — a code or a tap on the employee's phone, or a passkey — does not open with a password alone, however well it was guessed.
- 5
Who is typing, and where
The same shaking carries more than letters. On one laptop, the researchers sorted eight people's typing sessions by person, and one person's sessions across nine surfaces — a wooden desk, glass, steel, plastic, a sofa, a mattress, a mouse pad, a lap and a laptop stand — without a single error, and without being told who or where.
Our view: For most companies this matters less than the passwords. It matters for people whose movements are sensitive — an executive travelling for a deal, a journalist's source — because a program can tell whether the laptop is on an office desk or someone's lap.
One thing did confuse the decoder: sound from the MacBook's own speakers, played loud, blurred the shakes. An external speaker, heavy network traffic and a busy processor made no difference.
The fix the researchers propose to Apple is to put the sensor behind a permission, and to slow down how often an app can read it. iPhones already cap apps at about 100 readings a second; at that rate, the researchers' password guessing fell from 96 in 100 to 8 in 100.
What we don't know yet
Limits, and what would change our mind
What the sources leave open, and how to act anyway.
Proven in a lab, not seen in an attack
10 laptops, 10 volunteers; the paper reports no use outside the lab
Only MacBook Airs were tested
The paper says recent MacBooks have the sensor, but tested only the Air (M3, M4, M5)
Newest macOS tested: Tahoe 26.5
macOS 27 and Tahoe 26.7 came out after the tests
Standard accounts not tested directly
The researchers state the admin condition but report no test from a standard account
App Store apps not tested
Their tighter sandbox may or may not block the sensor
Letters, digits and space only
Capitals and symbols were never tested
Facts here are as reported by the researchers. Apple's confirmation is their account of Apple's reply; the paper quotes no Apple statement. We have not tested the attack ourselves.
What would change our mind
Apple ships a fix that puts the sensor behind a permission — then installing the update closes this leak, and the account change becomes good hygiene, not urgent.
Someone shows it working from a standard account or an App Store app — then the account change no longer protects you, and the patch is the only fix.
Tests with capitals and symbols show the decoder failing — then strong passwords become a real defence while the patch is awaited.
Sources
Check our working
Found this useful? Send it to someone who should read it.