Alert Alarm SMS exploit – English version
The Alert Alarm app sends SMS messages to arm/disarm the alarm using AES-CBC with a key derived from the 4-digit PIN, no integrity protection, and a small key space. An attacker who intercepts a single SMS can brute-force the PIN in under a second and then send spoofed SMS to disarm the alarm.
jyx.github.io
Published on jyx.github.io
For Swedish translation of the article please go here.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
An attacker who intercepts a single SMS can recover the PIN and disarm the alarm, potentially gaining access to the house; however, brute-forcing the SMS number is impractical because each unit has its own number.
What the attacker needed
Intercept a single SMS from the app; know the alarm unit's phone number
The fix
The protocol should be redesigned to use authenticated encryption with a proper key exchange and integrity protection, so that a man-in-the-middle gains no useful information.
How it was found
- Obtain a single SMS generated by the Alert Alarm app (e.g., by intercepting it).
- Run the brute-force script on the SMS to recover the PIN.
- Craft a valid SMS to disarm the alarm using the recovered PIN.
- Send the crafted SMS to the alarm unit (possibly via SMS spoofing).
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
The alarm system uses text messages to turn the alarm on and off. These messages are encrypted, but the encryption is weak: the key is just the 4-digit PIN, and there is no way to detect if someone changes the message. So if a bad person sees one message, they can guess the PIN quickly and then send their own message to turn off the alarm.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.