Assets, Entry Points, and Trust Boundaries
What you'll learn: How to identify what's worth protecting, where attackers can get in, and where trust changes in your system.
Understanding the Three Core Elements
When threat modeling, you must first map three critical components:
Assets
Assets are what you're defending—anything valuable that attackers want to steal, modify, or destroy. Think of them like treasures in a castle: customer data, passwords, financial records, intellectual property, or even system availability itself. Not all assets are equal; a database of credit card numbers is far more critical than a publicly accessible blog post.
Entry Points
Entry Points are every door, window, and tunnel into your system. These include login pages, API endpoints, file upload forms, network ports, mobile app interfaces, or even physical access points like USB ports. Each entry point is a potential attack vector—a place where an attacker could try to break in.
Trust Boundaries
Trust Boundaries mark where the level of trust changes. Imagine crossing from your home (high trust) into a public street (low trust). In systems, boundaries exist between the internet and your firewall, between user input and your database, or between administrative and regular user privileges. When data crosses a trust boundary, that's where validation and security checks must happen.
The Castle Analogy
Think of your system as a medieval castle. Your assets are the gold and royal family inside. Entry points are gates, windows, and secret passages. Trust boundaries are the walls separating the inner keep (high trust) from the outer courtyard (medium trust) and the wilderness beyond (no trust).
Key Takeaway: Before defending against threats, you must know what's valuable (assets), where attackers can enter (entry points), and where trust levels shift (boundaries)—these form the foundation of effective threat modeling.