Course contentsShow
← Security
Lesson 2634 of 3,05250. Secure Architecture and DesignFree lesson

Work Factor and Attacker Economics

Learn to design systems where the cost of attack exceeds the value gained, making attacks economically infeasible.

Work Factor and Attacker Economics

You'll learn how to design systems where breaking in costs attackers more than they could possibly gain, making your defenses economically rational rather than absolute.

The Economic Reality of Security

Perfect security doesn't exist, but expensive-enough security does. The work factor principle recognizes that attackers operate under constraints—time, money, computing power, and risk. Your goal isn't to build an impenetrable fortress; it's to make the cost of attack exceed the value of what you're protecting.

Think of it like a bike lock: A 20cablelockprotectinga20 cable lock protecting a 2,000 bicycle invites theft because bolt cutters cost 15andtake10seconds.Buta15 and take 10 seconds. But a 100 U-lock requiring $500 in power tools and 20 noisy minutes shifts the economics—most thieves move to easier targets.

Designing Around Attacker Economics

Calculate both sides of the equation:

Attacker costs:

  • Time investment (hours × skilled labor rates)
  • Tools and infrastructure
  • Legal/capture risk
  • Opportunity cost (could they earn more elsewhere?)

Target value:

  • Direct monetary value
  • Resale value of stolen data
  • Competitive advantage
  • Reputational damage leverage

Design so that: Cost_to_attack > Value_gained

For example, encrypting a database with AES-256 means breaking it requires billions of years of compute time—economically impossible even if the data is worth millions. Using a 4-digit PIN? A $50 Raspberry Pi cracks it in seconds.

Adjust your security investment to match asset value. Credit card data deserves hardware security modules; public marketing materials don't.

Key Takeaway: Security succeeds when you make attacks economically irrational—not impossible, just more expensive than the payoff justifies for rational adversaries.