# What Should an Internal Threat Library Include?

**URL:** <https://threatmodelingconnect.discourse.group/t/what-should-an-internal-threat-library-include/859>\
**Category:** General\
**Created:** [April 1, 2025, 9:56pm UTC](https://threatmodelingconnect.discourse.group/t/what-should-an-internal-threat-library-include/859 "2025-04-01T21:56:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![shuning](https://sea2.discourse-cdn.com/flex002/user_avatar/threatmodelingconnect.discourse.group/shuning/32/6_2.png) [@shuning](https://threatmodelingconnect.discourse.group/u/shuning)\
**Post date:** [April 1, 2025, 9:56pm UTC](https://threatmodelingconnect.discourse.group/t/what-should-an-internal-threat-library-include/859/1 "2025-04-01T21:56:25Z")

</div>

**Challenge of the Month:**  
A well-structured Threat Library can help teams identify, assess, and mitigate risks more effectively. But what key components should it include? What attributes or data models are essential for making it useful across different teams and use cases?

This month, we challenge you to define the core elements of an internal Threat Library in a way that’s clear and actionable. Share your experience and insights with the community. Bonus points if you have examples to show.

**How to participate:**  
Reply to this post with your response.

**When to enter:**  
Now through April 30, 2025

**Recognition:**  
Everyone who completes this challenge will earn an ‘Insightful’ badge. Members who collect seven ‘Insightful’ badges will receive a special award!

---

<div class="post-metadata">

**Author:** ![avish](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@avish](https://threatmodelingconnect.discourse.group/u/avish)\
**Post date:** [April 2, 2025, 8:37am UTC](https://threatmodelingconnect.discourse.group/t/what-should-an-internal-threat-library-include/859/2 "2025-04-02T08:37:50Z")

</div>

> [@shuning](#):
>
> well-structured Threat Library can help teams identify, assess, and mitigate risks

We have a very concrete proposal for such a library (knowledge base). It includes the following element types(your “components”):

- component types - an enumeration of component types used by the organisation, in various levels of abstractions (from general descriptions like “internally developed application” to CPE entries)
- vulnerabilities - vulnerabilities that the organisations identifies as relevant to its designs, including classes of vulnerabilities / weaknesses
- controls - a list of security controls approved for use by the organisation
- security design rules - specifying relations between the above

How can you systematically use such a “library” to analyse and design systems? This is detailed in [this open access publication](https://doi.org/10.1016/j.jisa.2024.103954), including an example.

---

<div class="post-metadata">

**Author:** ![Abhay](https://avatars.discourse-cdn.com/v4/letter/a/b77776/32.png) [@Abhay](https://threatmodelingconnect.discourse.group/u/Abhay)\
**Post date:** [April 3, 2025, 4:34pm UTC](https://threatmodelingconnect.discourse.group/t/what-should-an-internal-threat-library-include/859/3 "2025-04-03T16:34:59Z")

</div>

We maintain a Normalized taxonomy of security threat (NTST) mostly for STRIDE MODEL.  
This is an internal library where we maintain threats and their definition and apply to each security design document. The library contains, threat event , mitre attack, mitre attack technique, mitre capec and mitre cwe.

When this is applied to the security design each of these is mapped to the specific controls that is prescribed for the design. In the end residual risk is calculated using all the threats that have not been mapped to a control.

Example  
Threat event - identity impersonation  
Attack tactic - ta005  
Technique - t1656  
Capec - 151  
Cwe - 1390

---

<div class="post-metadata">

**Author:** ![adamshostack](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@adamshostack](https://threatmodelingconnect.discourse.group/u/adamshostack)\
**Post date:** [April 4, 2025, 2:38pm UTC](https://threatmodelingconnect.discourse.group/t/what-should-an-internal-threat-library-include/859/4 "2025-04-04T14:38:14Z")

</div>

Intentionally provocative answer: maintaining a private library of threats almost never proves to be worthwhile in the long run, which is why there’s so few of them that are even discussed.

It might be worth doing as a product (eg, Trustoncloud), community effort (eg, Cornucopia) a book (mine or Brett Crawley’s).

---

<div class="post-metadata">

**Author:** ![donavancheah](https://sea2.discourse-cdn.com/flex002/user_avatar/threatmodelingconnect.discourse.group/donavancheah/32/267_2.png) [@donavancheah](https://threatmodelingconnect.discourse.group/u/donavancheah)\
**Post date:** [April 15, 2025, 12:06pm UTC](https://threatmodelingconnect.discourse.group/t/what-should-an-internal-threat-library-include/859/5 "2025-04-15T12:06:23Z")

</div>

In theory, it’s great for end-users. But what I find in practice is that, as what Abhay may say, one can have a taxonomy of security threats. But that’s what you can get out of CWE and MITRE CAPEC.

But I do wonder if such a library is sustainable in the long-run.

---

<div class="post-metadata">

**Author:** ![PaulSpruce](https://sea2.discourse-cdn.com/flex002/user_avatar/threatmodelingconnect.discourse.group/paulspruce/32/273_2.png) [@PaulSpruce](https://threatmodelingconnect.discourse.group/u/PaulSpruce)\
**Post date:** [April 18, 2025, 4:55pm UTC](https://threatmodelingconnect.discourse.group/t/what-should-an-internal-threat-library-include/859/6 "2025-04-18T16:55:59Z")

</div>

It depends on the requirement for the level of detailing in the library.

You could just have a common Primary threat and Secondary threat with controls for each

" Primary Threat - Unauthorised Access -  
Secondary Threat - Lateral Movement  
Controls - Implementation of IDAM control xyz etc and robust firewall rules or gateway in place…"

Or

You could have a bespoke entry that covers threats to a particular system or application. So this is where you’d attribute a threat specifically to system and you can look up that system or application to see what has been highlighted before.

This can help update a model and also give it that granularity in detail.

I agree the use of a library makes life easier but the management of a library can become unwieldy if not consistently worked upon.

For me, it’s all about the details 🙂

---

<div class="post-metadata">

**Author:** ![Prasanna](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@Prasanna](https://threatmodelingconnect.discourse.group/u/Prasanna)\
**Post date:** [April 26, 2025, 6:03am UTC](https://threatmodelingconnect.discourse.group/t/what-should-an-internal-threat-library-include/859/7 "2025-04-26T06:03:49Z")

</div>

Well we should include in terms of Security by Design principles and Design Security flaws mapped to different control libraries from STRIDE, MITRE variations, OWASP top 10 variations like API, CNAPP, K8s, CI/CD, LLM, OWASP ASVS, CIS controls, LINDDUN GO, Plot4.ai, and few inputs from Threat Intelligence sources

For Example: We have tried this method for the Hackathon 2024, which won the 1st place last year. 😉 This methodology helped us achieve defence in depth.

Furthermore based on the architecture, as and when the attack surface exposure to critical data, assets and use cases with increase of potential exposure.

---

<div class="post-metadata">

**Author:** ![Qasim](https://sea2.discourse-cdn.com/flex002/user_avatar/threatmodelingconnect.discourse.group/qasim/32/59_2.png) [@Qasim](https://threatmodelingconnect.discourse.group/u/Qasim)\
**Post date:** [April 26, 2025, 7:17pm UTC](https://threatmodelingconnect.discourse.group/t/what-should-an-internal-threat-library-include/859/8 "2025-04-26T19:17:41Z")

</div>

I would like to share some thoughts on a possible structure for a Threat Library, building on a lot of the great ideas already shared here. I think combining threats, weaknesses, and controls with a mix of both generic and system-specific threats can really help teams get up to speed quickly and start applying threat modeling more effectively. Perhaps with the right level of automation, it might also be possible to minimize maintenance challenges over time.

| Attribute | Example |
| --- | --- |
| Threat ID | ### |
| Threat Description | \*\*\*\*\*\*\* |
| Threat Category | S, T, R, I, D, E |
| Threat Description Category | Threat, Weakness |
| Threat Type | Generic/Specific |
| Technology Category | IT, OT, Cloud, Automotive … |
| Technology Sub-Category | Virtualization, SaaS, Embedded Systems … |
| System/Platform/Component | IAM, Business Application … |
| System/Platform/Component Detail | Directory Service, File upload … |
| Controls/Mitigations | \*\*\*\*\*\* |
| CWE Ref | ### |
| MITRE Ref | CAPEC-## |
| OWASP Ref | \*\*\*\*\* |
| Other Reference | references \*\*\*\*\* |

---

<div class="post-metadata">

**Author:** ![hewerlin](https://sea2.discourse-cdn.com/flex002/user_avatar/threatmodelingconnect.discourse.group/hewerlin/32/67_2.png) [@hewerlin](https://threatmodelingconnect.discourse.group/u/hewerlin)\
**Post date:** [April 27, 2025, 8:00am UTC](https://threatmodelingconnect.discourse.group/t/what-should-an-internal-threat-library-include/859/9 "2025-04-27T08:00:49Z")

</div>

Interesting! 😍

Seems like there’s different perspectives on what a threat library is.

Here is mine: Somebody threat modeled a more abstract / generic version of a building block that may be part of your system. We are invited to ask ourselves if that applies to our system: Similar scope? Similar threats? Want to follow suggested mitigations?

Some examples:

- [Generic threat model of account takeover](https://raw.githubusercontent.com/magoo/ato-checklist/master/model.svg)
- [OWASP Cumulus threat modeled the clouds ☁ and invites us to think about those threats](https://owasp.org/www-project-cumulus/)
- [Awesome industry focused threat libraries by Versprite / Fork by TonyUV and the PASTA guys has domain specific inspiration](https://github.com/VerSprite/fork-community/tree/main/industry_focused_threat_libraries/visualization)
- [OWASP Application Security Verification Standard (ASVS) can be reframed as a threat model of a generic application that cuts on threats](https://owasp.org/www-project-application-security-verification-standard/)
- [⛈☂(⛈☂) Threat Modeling of Threat Modeling #meta is a generic threat model of things that may go wrong with threat modeling process - we can go more specific, build our own vendor-specific thing or see if those apply to us](https://threat-modeling.net/threat-modeling-of-threat-modeling/)
- …

We can import stuff from everywhere! 🥳

If we build the same things again and again, we should create and reuse a (generic) threat model. 🙂 In my opinion threat library is not totally different from threat modeling in general.
