Fake accounts and message abuse
Some identity abuse needs no one else's account. This lesson looks at the consumer side of the section, the photo service that Cedar's staff and millions of others use: fake accounts created in bulk, a service tricked into flooding an inbox or paying for text messages, lockouts used as a weapon, and the automation defenses and limits that stop them without getting in real people's way.
Not every attack wants an existing account
The photo service gives each new customer a month of extra storage, plus a credit for every friend they refer. One weekend, sign-ups jump tenfold. The new accounts have random-looking names, addresses at a handful of little-known email domains, and a habit of referring each other. None of them uploads a photo. They exist to collect the credit.
Every attack so far in this section was after an account someone already had, like Riley's. Fake accounts are created in bulk for what an account can do on its own: claim promotions and trial credit, post spam or scam links in public albums and comments, inflate likes, followers or reviews, or sit quietly until they are old enough to look trustworthy. Here the target is the sign-up form, not the sign-in page.
In the records, a wave of fake sign-ups shows up as a burst of new accounts from a small set of networks or devices, addresses at domains that hand out throwaway mailboxes, names that follow a pattern, and accounts that claim a benefit and never come back. Any one of these can be innocent. A school signing up a whole class arrives from one network too. Together, they make a pattern worth acting on.
As Establishing an identity explained, creating a record does not establish who is behind it, and verifying an email address shows only that someone can read that mailbox. A script can create mailboxes too. That does not mean every sign-up needs identity proofingA process for establishing confidence that someone is the real person they claim to be, for example by checking identity documents and confirming that the evidence belongs to the person presenting it.. It means a benefit worth abusing should depend on more than an account existing.
Making your service send the messages
Sign-up, sign-in by email link, password reset and phone verification all send a message to an address someone types into a form. Normally that someone is the owner. Nothing in the form stops anyone from typing a victim's address instead, thousands of times.
The victim's inbox fills with genuine messages from photos.example: welcome emails, reset links, verification codes. A message flood like this can be the goal in itself, as harassment, or cover for something else, since a real security alert or purchase receipt is easy to miss among three thousand reset emails. The service suffers as well. Mail providers notice a sender whose messages nobody wanted and start filtering them, and the next genuine customer's reset link lands in a spam folder.
Text messages add a cost. Every verification text costs the service money, and part of that charge goes to the carrier that delivers the message to its final number. In SMS pumping, also called artificially inflated traffic, a form of toll fraud, the attacker works with whoever controls a range of numbers, often through a carrier willing to share those delivery fees, and submits numbers in that range to a sign-up or verification form again and again. The service sends thousands of texts and pays for each one, and the attacker collects a share. No account is taken over, and nobody ever enters the codes.
Both patterns are plain in the records once someone looks, and they point to different limits:
Message flood
- Messages go to
- One address
- Requests come from
- Hundreds of networks
- Codes entered
- None
- Who is harmed
- The victim, whose real alerts are buried
- Ended by
- A per-destination limit
SMS pumping
- Messages go to
- Many numbers, a few prefixes
- Requests come from
- A script
- Codes entered
- Almost none
- Who is harmed
- The service, which pays for each text
- Ended by
- Caps per prefix and a sending budget
Fake sign-ups
- Messages go to
- Throwaway mailboxes
- Requests come from
- A few networks or devices
- Codes entered
- Entered by a script
- Who is harmed
- The service, whose credit is claimed
- Ended by
- Benefits that wait for real use
A flood shows many requests for one destination, often from many sources, so a limit on each source never fires.
A flood shows many requests for one destination, often from many sources, so a limit on each source never fires. SMS pumping shows verification texts concentrated in a few countries or number prefixes, arriving faster than usual, with almost none of the codes ever entered.
Locking people out on purpose
Guessing, spraying, and stuffing showed how locking an account after a few failed sign-ins can be turned against the people it protects. Seen as an attack in its own right, it is cheap and reliable. Anyone who knows an address can fail a sign-in a few times, and a script can do it every morning. A seller on the photo service can be locked out each time a sale begins, or a whole support team at once.
Reset flows can do the same if they are careless. A service that disables the current password as soon as someone requests a reset lets any stranger sign a customer out and push them into recovery. A reset request should change nothing until it is completed by someone who controls the channel the link was sent to.
The defenses are the ones that work against guessing: slow attempts down instead of locking the account, and keep a path open for the owner. The person can keep signing in from a device that has signed in successfully before, or with a phishing-resistantA property of an authentication method that binds sign-in to the real service, so evidence entered on a look-alike site cannot be passed on and used. Passkeys have it; passwords and one-time codes do not. method that failed passwords cannot affect, while attempts from everywhere else wait longer and longer.
Telling people from scripts
Almost every abuse in this lesson is run by software: a script that fills in the sign-up form ten thousand times, or a tool that submits a list of phone numbers. A person signing up for the photo service does it once. Defenses against automation try to make each request expensive for software while costing a real person as little as possible.
The familiar one is a challenge: a puzzle such as a CAPTCHA, which asks the visitor to read distorted text or pick out pictures, or a small proof-of-work computation the browser must finish before the form is accepted. Challenges have become weak on their own. Services sell solved puzzles by the thousand, machine learning solves many image puzzles, and the people who struggle most with them are those with visual or motor impairments. The photo service shows a challenge only when other signals already look automated, as a step up rather than a toll on every visitor.
Stronger evidence comes from attestation, a signed statement about the software making the request. A mobile app can ask its phone's platform to vouch that a request comes from a genuine, unmodified copy of the app on a real device, and the photo service checks that signed statement before it sends a verification text. On the web, the Privacy Pass protocols let a trusted issuerThe party that creates and signs a token, assertion, or certificate, named in a token's iss claim. A recipient must check that the issuer is exactly the one it expected and trusts., often the device's own platform, give the browser a tokenA piece of data issued by a trusted service that a client presents as a credential, for example to call an API or to report a sign-in. Some tokens carry readable claims; others are random strings that only the issuer can interpret. saying that this client passed a check, without saying who it is, and a site can accept the token instead of showing a puzzle. Attestation describes the software and the device, not the person, and not every client can provide it, so it should remove friction where it is present rather than lock out everyone else.
Some signals come from the request itself. Lists of domains that hand out throwaway mailboxes catch many fake sign-ups, though new domains appear every day and some people use forwarding addresses from privacy services on purpose, so a match is a reason for caution rather than a refusal. The time between loading a form and submitting it, the browser's characteristics and the pattern of requests from one network all help too. None of these is decisive alone, and attackers adapt to whichever one a service relies on, which is why they feed the limits and gradual trust below instead of standing alone.
Limits that real people rarely notice
Each of these abuses works by repeating, at scale, something a real person does once or twice. A customer requests a reset when they forget a password, verifies a phone number when they sign up, and fails a sign-in when they mistype. Limits set just above that pattern stop the abuse while staying out of everyone else's way.
The useful limits count more than the account. A per-destination limit caps how many messages one email address or phone number receives in an hour or a day, however many people ask, which ends a flood directly. It counts the address, whether or not an account uses it, so it protects inboxes that have no account at all. Per-network limits cap how many sign-ups, resets or texts one source can request. A sending budget caps what the service spends on text messages each hour, with an alert well before the cap is reached, and sending can be paused for number ranges or countries where the service has no customers.
Benefits can wait for evidence. Trial credit and referral rewards can be granted after an email address is verified and the account has done something real, such as uploading photos over several days, instead of at the moment of sign-up. New accounts can start with small limits on sharing, posting and messaging that grow as the account ages and behaves well. This kind of gradual trust costs a genuine customer almost nothing and removes most of the value of a fake account.
Watching a few numbers ties these limits together: sign-ups per hour, messages sent to each destination, the share of verification codes that are actually entered, and text-message costs by country. When a real person does reach a limit, the message should say what happened and when they can try again, so that a rare collision with a limit does not turn into a support call.
Check your understanding
Try these questions before moving on. If an answer isn't right, use the feedback and try again.
Try it in the Lab
- Make a per-address reset limit fire and see the account stay usableRegister Mia with the Lab Inbox, lower the tenant's per-address reset limit, request resets until it refuses one, and show she still signs in with her current password.