Back

Simulating a Phishing Attack: AI vs Human

 • By Ever Burga

Simulating a Phishing Attack: AI vs Human

Phishing expected payoff vs filter strength, human and AI

3Blue1Brown and Doppel published a challenge at 3blue1brown.com/talent.

I'm currently studying statistics and information theory. The challenge looked like good practice, so I decided to solve it by hand first.

Manuscripts In my solution I assume the defender does not update the phishing filter's parameters. Treating those parameters as variables too would probably open up new lines of research and new information channels, but I don't consider that in this write-up.

Conclusions

The conclusions of my solution:

  • While the attacker is still estimating the parameters C and f (which tokens survive the flags), the best strategy is to send messages with a single malicious phrase/token ( n=1 ).
  • Once C and f are known, the problem is one of optimization: choose how many times to use each token without exceeding the filter threshold C .

Check out the full solution!.

Simulation

Divergence budget used by each strategy, by false-positive rate

At this times when AI can reason so impressively, it's easy to lose motivation. I decided to take advantage of that and compare my solution against Fable's, working autonomously on its own proposal (PDF).

A must was building an engine with interfaces that cleanly separate what the attacker can learn from what the defender has access to. That keeps the comparison between both strategies fair.

The expected payoff of the phishing messages came out very close, as you saw in the first gif. But Fable found a better strategy for extracting information from the Z-channel of responses to a phishing message.

Would I have gotten better results by letting Fable iterate on the simulation and its results? Or would I have ended up with an overfit model? Hard to say.

The simulation code is at github.com/4xeverburga/doppel-phising-strat.