What the machine misses · Group post

The attacker's trilemma: why it's the weak attack that will hurt you

In the previous post we talked about the trilemma of whoever builds: speed, cost, security, and how vibe coding cut the third corner.

The post as it was published in the group. Beside it, the lines I want to stay with you after reading.

Now let's turn the table. Because whoever attacks you has a trilemma too, and it looks completely different. And once you understand it, you'll understand why the defense everyone builds intuitively protects exactly the wrong place.

There's a real academic model for this. A researcher named Lennart Maschmeyer published a paper in 2021 called "The Subversive Trilemma", analyzing why cyberattacks almost always disappoint compared with how much we're told to fear them. The conclusion: an attacker can't maximize three things at once:

  • Speed: how fast they reach the effect.
  • Intensity: how large and widespread the damage is.
  • Control: how precise and predictable the outcome is.

They choose two. The third always pays the price. And look at what happens in each corner:

Fast + intense → loss of control

The NotPetya malware (2017) was aimed at Ukraine, but spread around the world: it paralyzed the shipping giant Maersk and the pharmaceutical company Merck, and caused billions of dollars in damage. Once aggressive spread was chosen, much of the control over the scale of the damage was lost, because when you want fast and strong, control is the first thing that pays.

Intense + precise → painfully slow

Stuxnet, the worm that disrupted the centrifuges in Iran, was precise and intense, but it took 5 years to build and a nation's budget. This is the most expensive corner, and most attackers in the world simply can't afford it.

Fast + precise → marginal effect

Automated scans looking for an open API, an exposed admin page or default passwords: fast and relatively precise, but usually they only hit whoever already left a door open.

And here comes the part that concerns you

No rational attacker climbs the trilemma for your app. Usually nobody will invest Stuxnet-level effort, meant to blow up centrifuges in a nuclear reactor, on a booking system. The attacker who puts you at risk sits in the fast corner, and pays for it in control, willingly. They don't need precision. They just need to get into your site, spot a data leak, pull sensitive details out of the system or inject code that crashes your site, something that can take them anywhere from a few minutes to a few hours, before you managed to close it. They're not even trying to "break into the server", they're only looking for one mistake you left open.

And here's the main thing: in most cases you're not a target at all. An automated bot scans thousands of sites a day, and if it found an open API or a broken permission, as far as it's concerned you won the wrong lottery. The risk doesn't require a sophisticated adversary who chose you. It only requires one crack that gets scanned automatically.

And there's a distinction here that changes everything:

  • Fast and loud: deletion, a ransomware attack, defacement. You find out immediately, but it already happened.
  • Fast and quiet: a data leak, reading a table that wasn't supposed to be accessible. And this is the worst: the attacker pays a little control in exchange for stealth, gets in, pulls, gets out, and the effect is discovered months later, when the information is already out.

Now connect this to defense

When most people think "security", they first think of the wall: a WAF, DDoS protection and so on. And that protects against climbing the wall, against an attack that needs intensity and control.

But your real hole, an access key you forgot exposed (an API key), a table without permission limits (RLS), a request you can change by hand to see someone else's information (IDOR), requires neither intensity nor control from the attacker. It only requires speed. They don't climb the wall. They come in through the crack on the side, which you didn't even know was open.

So the height of the wall isn't relevant to the real threat. You invest in building higher, while the attack comes in from the side.

The right defense isn't a higher wall. It's mapping the cracks and closing them at the level of logic and permissions, not at the level of the network. Not because network protection is unnecessary, Cloudflare does an excellent job at what it's meant for, but because the request that exploits your crack passes through it as a completely valid request. The attacker doesn't bombard the server; they send one polite request that looks exactly like a real user's, except it asks for information it was never allowed to touch. And that's a decision only the database or the logic can make, not the network.

And this is exactly the difference between "I installed a security tool" and "I know where my system is vulnerable". The first you buy. The second requires someone who sits in front of your specific system and asks: where's the crack I can't even see?

Because most successful attacks don't break the security system. They use it exactly as it was designed, only with input you didn't think anyone would send.

The question I asked in the group

When you think about security, do you think first about the wall (firewall, network protections) or about the cracks (permissions, logic, access to information)? What gets more attention in your work, and why?

Did a post meet you in your system?

Half an hour, the system open, free. You leave with your open decisions.

or on WhatsApp, if it's a single question. Nothing is stored on the site.