← Case studies

Instagram

Surfacing insights on hacked accounts

At Instagram I funneled patterns from the support queue into the right product teams. My area was account access. One pattern stood out: accounts we restored kept getting hacked again within days. I ran the root-cause analysis that found out why, and recommended the change that closed the loop.

Role
Community Operations Specialist · Full-time
Focus
Account access, support to product
Scope
9 NA + 3 Arabic queues, ~145k tickets a month
Year
2017

The pattern

Support restored hacked accounts by resetting the password and sending the person back in through a recovery checkpoint. It worked, until it didn't. A real share of those people wrote back in a few days later, hacked again. Restoring the same account two or three times was common enough to look like a broken process rather than bad luck.

The investigation

Nobody had asked me to look into it, but the repeats bothered me. I pulled every account that had reported a hack more than once and walked their action histories one by one. The tell was consistent: soon after we restored an account, a password reset went out to the email address on file.

Back in SQL, I charted password resets over time. They spiked hard once a week, always around the same hour. That is not what people do. It looked automated.

I built a dashboard to show the shape and scale of it and took it to the Instagram product review group. By early 2017, automated scripts were compromising more than 260,000 accounts a week through this gap, then using them to post spam and nudity.

Weekly password-reset volumeA line chart with a low, flat baseline of password resets broken by six sharp spikes, one exactly every seven days at the same hour.7 daysPassword reset volume123456consecutive weeks
A recreation of the dashboard I built to show how automated the resets were.

The loop

The recovery checkpoint only re-secured one thing: the password. If the attacker also controlled the person's email, which was common right after a large credential breach somewhere else on the internet, they still had everything they needed. A script would request a password reset from the email, walk through it, and change the password back. The person would write in, we would restore the account, and the cycle started over. Every wave of automated resets reached the queue a day or two later as a flood of new hacked-account tickets.

The only real fix was to move the account onto an email address the attacker did not control. The checkpoint never asked for that.

The hacked-account loopA four-step cycle: an account gets hacked, the person contacts support, support resets the password, the attacker resets it again from the hacked email, and the account is hacked once more.1 Account gets hacked2 Person contacts support3 Support resets the password4 Attacker resets it from the hacked email
Restore, re-compromise via email, repeat. Recreated for this case study.

The recommendation

I took the analysis to the product team with a recommendation: add a captcha to the password-reset request, so an automated script could not walk through it.

Growth pushed back. Adding friction to password resets was not worth the cost: legitimate resets vastly outnumber malicious ones, and a captcha would slow down real users far more than it stopped scripts.

The team converged on a different fix instead: build a secure-email flow into the hacked lock, so recovery moves the account onto an email the attacker does not control rather than adding friction to every reset. That change was prioritized for the start of 2017. The same work fed into the two-factor rollout I helped ship soon after.

Impact

The pattern tracked external credential breaches. A leaked email-and-password pair often unlocked both accounts at once, so every large breach elsewhere sent a wave of these cases to the queue. The dashboard made the scale legible for the first time.

  • 260k+accounts a week taken over by password-reset scripts, the scale the dashboard surfaced
  • Declineda captcha on password resets, Growth's call: the friction cost more than it blocked
  • Q1 2017a secure-email flow for the hacked lock, prioritized on the roadmap instead

The wider account-access work

The re-hacking loop was one thread. I owned the North America and Arabic account-access queues and pushed fixes across the surface.

  • Account-change emails. The notifications were spread across formats and servers, and their design made accidental disavows easy. I made the case for consolidating them onto one server and rewrote the templates, cutting 5,500 tickets a month and up to 38 hours of rep work.
  • Tiered support for sensitive accounts. After a run of reps mistakenly granting access to high-profile accounts, I project-managed a specialist queue for PR-sensitive requests: the go-live plan, the workflow, the training. Volume dropped over 90% and rep-caused escalations went from more than ten a half to one.
  • Two-factor authentication. I led the North America rollout of 2FA and in-app login support to 100% of users and pulled the impact data. The in-app form, which blocks requests for accounts a device has never logged into, took global rep accuracy from 92% to around 97%, halved identifiable fake requests, and cut North America handling time by 12%. 2FA added 1.1 million users.

What I took from it

This is the case for putting an operations person close to product. The pattern was sitting in the queue the whole time. Nobody had connected the repeat reports to a root cause, and once the data was on the table the product teams moved on it fast.

← All case studies