Threat agents and threat modeling

On this page

Who can place code in trusted paths

A trusted software update carried the SolarWinds compromise into customer systems. Treating it as ordinary endpoint malware could focus the response away from the supplier, build process, and update channel. CISA described the incident in Alert AA20-352A.

🔑 RULE: Identify who could place harmful code in the trusted path before choosing controls and evidence.

The key fact is not only that harmful code appeared. It is who could place it in a trusted path. The table separates agents by their strongest identity, access, motive, or capability clue.

Threat agents by identity clue

Threat-agent categories can overlap. An insider may seek money, and a terrorist may use simple tools. Use the primary identity clue supplied by the scenario. Classify a script kiddie by low skill and ready-made tools only when no stronger sponsor or motive is stated.

The table answers who is acting before risk assessment asks what the actor can do and how serious the event could be. Attack types and attack stages names the action and sequence. Technical attack techniques names the method. Cloud, IoT and mobile risks applies the same agent-and-risk reasoning to particular technologies.

AttributeNation-stateOrganized crimeHacktivistInsiderScript kiddieTerrorist
Defining identityGovernment-backed intelligence or military serviceProfit-driven criminal group or criminal enterprisePerson or group acting for a political or social causeEmployee, contractor, or partner with legitimate accessLow-skill actor using ready-made tools or copied scriptsIdeological group seeking fear, coercion, or public harm
Typical goalEspionage, influence, strategic advantage, or disruptionTheft, fraud, extortion, ransom, or financial gainPublicity, protest, exposure, or pressure for changeTheft, sabotage, revenge, fraud, or accidental disclosureCuriosity, status, entertainment, or simple disruptionFear, coercion, violence, or ideological disruption
Capability and resourcesHigh funding, patience, intelligence support, and custom toolsRepeatable tools, money, criminal networks, and technical specialistsVariable skill, public tools, volunteers, and publicity channelsExisting privileges, workplace knowledge, and trusted accessLimited skill and dependence on public tools with little customizationVariable skill and funding, with willingness to cause major harm
Common access or pathSupply chains, strategic targets, long campaigns, or covert accessPhishing, exposed services, stolen credentials, or criminal affiliatesPublic websites, social channels, defacement, or denial of serviceValid account, local access, data-handling role, or trusted connectionExposed service, public exploit, or an easy-to-find weaknessCritical infrastructure, public services, or systems that can create fear
Clue wordsGovernment, intelligence, military, strategic, espionage, persistentRansom, payment, profit, fraud, extortion, criminal groupProtest, cause, campaign, manifesto, expose, publicity, defaceEmployee, contractor, authorized, disgruntled, legitimate accessBeginner, copied tool, public exploit, low skill, scanner, statusIdeology, terrorize, fear, civilians, coercion, violent cause
Threat-model questionWhat strategic objective and persistence does the sponsor bring?What asset can be stolen, sold, encrypted, or used for payment?What public cause or audience is the actor trying to influence?What trusted access or workplace knowledge makes the event possible?What easy weakness can a low-skill actor reach with a public tool?What target could create fear, coercion, casualties, or public disruption?

The strongest identity clue may be sponsorship, profit, cause, trusted access, low skill, or coercive ideology.

Classifying agents and assessing threats

The separating axis is the dominant identity clue. The six clues are trusted relationship, government sponsorship, profit motive, public cause, coercive ideology, and low skill.

All six agents can cause damage. The attack result alone does not classify the agent. A script kiddie is a capability label. An insider is a relationship label. When they overlap, use the stronger explicit fact.

Threat modeling is a focused form of risk assessment. It connects a defined system, data, or asset to threat sources, threat events, vulnerabilities or predisposing conditions, existing controls, and possible mitigations.

NIST SP 800-30 Rev. 1 defines risk as a measure of how much an entity is threatened by a potential circumstance or event. The measure is based on adverse impact and likelihood of occurrence.

Assess the threat landscape by considering:

  • The threat source's capability, intent, and targeting.
  • Exposed assets and weaknesses.
  • Relevant threat events.
  • The likelihood that an event will occur and succeed.
  • The resulting impact.
  • Changes in technology, business, crime, or geopolitics.

NIST SP 800-154 emphasizes data, attack vectors, impacts, and mitigations in system threat modeling.

The agent label supplies who is acting. Threat modeling adds what is valuable, what could happen, what weakness permits it, how likely success is, and how serious the result would be.

Threat-agent identity clues

Each case gives the strongest identity clue. The questions identify the agent, not the technical attack type.

Practice

A government intelligence service quietly maintains access to a foreign ministry network to collect policy documents. It uses patient, well-funded operations and seeks strategic information rather than payment. Which threat agent is this?

A coordinated group encrypts a retailer's files, steals payment records, and demands cryptocurrency. The group repeats this operation against several businesses to fund its activities. Which threat agent is this?

Volunteers who identify with an environmental cause deface a company website and publish a manifesto. Their goal is publicity and pressure for policy change, not payment or government intelligence. Which threat agent is this?

The second set separates trusted access, low skill, and ideological coercion.

Practice

A disgruntled employee uses valid access to copy payroll records and sends them to an outside contact. The employee's workplace role made the records available. Which threat agent is this?

A beginner downloads a public scanning and exploit tool, changes almost nothing, and attacks a school website for online status. There is no stated cause, payment goal, or government sponsor. Which threat agent is this?

An ideological cell threatens violence against a hospital and disrupts its services to frighten the public and pressure the government. Which threat agent is this?

The cases use the strongest identity clue rather than the tool or resulting damage. A changed relationship can change the label even when the stolen data and money motive stay the same.

Relationships can change agent labels

Was: A contractor with valid access copies customer records to sell.

Now: An outside criminal group copies the same customer records to sell, with no employment or contractor relationship.

Which one now? Which threat agent is the outside group?

Answer: Was: insider. Now: organized crime. The changed fact was the actor's relationship to the target. The profit goal did not change.

Motive alone did not decide the first case because an insider can seek money. The relationship changed, so the primary label changed. The strongest explicit identity clue controls.

Threat-agent categories and landscape assessment

  • Nation-state: A government-backed actor seeking strategic advantage or espionage.
  • Organized crime: A profit-driven group seeking theft, ransom, fraud, or extortion.
  • Hacktivist: A cause-driven actor seeking publicity or pressure for change.
  • Insider: An employee, contractor, or partner whose legitimate access matters.
  • Script kiddie: A low-skill actor relying on ready-made tools.
  • Terrorist: An ideological actor seeking fear, coercion, or public harm.
  • Threat landscape axis: Classify by the strongest explicit identity clue, then assess the target, threat event, weakness, likelihood, impact, and controls.

The agent label is the first useful distinction, not the whole risk judgment. The next chapters apply the same axis to attack types, technical techniques, and technology-specific weaknesses.

Unlock the full lesson and continue reading

Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more

Scan to download app

Scan to download
UNLOCK FREE ACCESS

Practice Questions: Threat agents and threat modeling

  1. 1. A development team wants to copy a production customer database into a test environment. Testing requires realistic transaction distributions but does not require names, account numbers, email addresses, or the ability to reconnect records to individual customers. The test environment has weaker monitoring than production. Which action best addresses the confidentiality and privacy risks?

    • A. Generate an irreversibly de-identified test data set that preserves required transaction patterns.
    • B. Encrypt a complete production copy while retaining the decryption key in the test environment.
    • C. Copy the production database and review developer access logs at the end of each month.
    • D. Copy the production database after obtaining confidentiality agreements from all developers.
    Show answer

    Answer: A. Generate an irreversibly de-identified test data set that preserves required transaction patterns.

    Generate an irreversibly de-identified test data set that preserves required transaction patterns. - Testing needs realistic transaction patterns, not customer identities or a way to reconnect records to individuals. - Irreversible de-identification meets that need without placing identifiable customer data in the less-monitored test environment. Encrypt a complete production copy while retaining the decryption key in the test environment. - Keeping the decryption key with the test copy leaves identifiable customer records accessible in the weaker environment. - Encryption does not eliminate the unnecessary use of names, account numbers, and email addresses for this testing. Copy the production database and review developer access logs at the end of each month. - Monthly log review may detect access after it occurs but cannot prevent exposure of the copied customer records. - The test does not require identifiable data, so copying the full production database creates an avoidable privacy risk. Copy the production database after obtaining confidentiality agreements from all developers. - Confidentiality agreements do not remove identifying information from the test database or strengthen its monitoring. - Developer commitments cannot replace data minimization when transaction patterns can be tested without identifiable customer records.

  2. 2. An online payment portal becomes unavailable when thousands of compromised devices simultaneously send connection requests that exhaust the portal's network capacity. Management wants a preventive control that directly addresses this recurring threat. Which control is most appropriate?

    • A. Deploy application input validation to reject malformed database commands.
    • B. Install endpoint detection software on employee laptops and workstations.
    • C. Route traffic through a distributed denial-of-service filtering and scrubbing service.
    • D. Place email attachments in a sandbox before delivery to employee mailboxes.
    Show answer

    Answer: C. Route traffic through a distributed denial-of-service filtering and scrubbing service.

    Route traffic through a distributed denial-of-service filtering and scrubbing service. - The thousands of compromised devices are generating a distributed denial-of-service attack that exhausts the portal’s network capacity. - A filtering and scrubbing service can discard attack traffic before it overwhelms the portal while allowing legitimate payment requests through. Deploy application input validation to reject malformed database commands. - Input validation helps prevent injection attacks through application fields, not excessive connection requests from compromised devices. - Rejecting malformed commands would not prevent the traffic from exhausting the portal’s network capacity. Install endpoint detection software on employee laptops and workstations. - Endpoint detection monitors managed employee devices, not the external devices sending requests to the portal. - It would not filter the incoming traffic causing the portal to become unavailable. Place email attachments in a sandbox before delivery to employee mailboxes. - Attachment sandboxing checks for email-borne malware before employees open files. - The portal’s outage is caused by incoming connection requests, not attachments delivered to employee mailboxes.

  3. 3. An authenticated customer establishes that her mailing address in a company's source system is inaccurate. A processor receives the address through a nightly interface. Applicable privacy criteria require reasonable correction of inaccurate personal data and notification to recipients of corrected data unless doing so is impossible or disproportionate. What should the company do?

    • A. Correct the source record and notify the processor to update its copy
    • B. Correct the source record during the next annual data-quality review
    • C. Delete the customer's entire profile and direct the processor to do the same
    • D. Deny the request because the processor also maintains a copy of the address
    Show answer

    Answer: A. Correct the source record and notify the processor to update its copy

    Correct the source record and notify the processor to update its copy - The authenticated customer has established that the source-system address is inaccurate, so the company should correct that record within a reasonable period. - Because the processor received the address, the company should notify the processor of the correction unless notification is impossible or disproportionate. Correct the source record during the next annual data-quality review - An annual review does not provide a reasonable correction period for an inaccuracy the authenticated customer has already established. - This choice also omits notification to the processor, which received the inaccurate address. Delete the customer's entire profile and direct the processor to do the same - The established problem is an inaccurate mailing address, not a reason to delete the customer's entire profile. - Correcting the address and notifying the processor addresses the inaccuracy without deleting other profile data. Deny the request because the processor also maintains a copy of the address - The processor's copy does not remove the company's responsibility to correct its source record. - The processor's receipt of the address instead makes the stated recipient-notification requirement relevant.

  4. 4. A development team needs realistic data relationships to reproduce a defect, but the company's privacy policy prohibits using identifiable production customer data for software development. The test environment is accessible to contractors who have no approved purpose for accessing customer identities. Which control best addresses the privacy requirement while preserving useful test characteristics?

    • A. Encrypt a full production extract and give developers the decryption key
    • B. Copy the full extract after obtaining the application owner's approval
    • C. Record all contractor queries against an identifiable production extract
    • D. Generate a masked data set that preserves formats and referential relationships
    Show answer

    Answer: D. Generate a masked data set that preserves formats and referential relationships

    Generate a masked data set that preserves formats and referential relationships - Masking removes identifiable customer information from the development environment while retaining the realistic data needed to reproduce the defect. - Preserving formats and referential relationships lets the team test the defect without giving contractors access to customer identities. Encrypt a full production extract and give developers the decryption key - Giving developers the decryption key makes the identifiable production data accessible to them. - Encryption therefore does not meet the privacy restriction on using identifiable customer data for development. Copy the full extract after obtaining the application owner's approval - The full extract still contains identifiable customer data that the privacy policy prohibits using for development. - Application-owner approval does not give contractors an approved purpose for accessing customer identities. Record all contractor queries against an identifiable production extract - Query logging is a detective control: it records access but does not prevent contractors from seeing customer identities. - The identifiable extract would remain in a test environment accessible to contractors with no approved purpose for that access.

  5. 5. Beacon Support, Inc., a U.S. company serving customers in the European Union, jointly operates a co-branded loyalty program with AdInsight Analytics, a marketing partner that jointly determines which customer data fields are collected and how loyalty rewards are calculated. On June 4, 2026, Beacon received an external alert indicating that a shared loyalty-program database might permit public access. The incident commander must assess the evidence, coordinate the response, determine the joint-controller notification consequences, and document the conclusion. Assume all times shown in the exhibits are Central European Summer Time and that no facts outside the exhibits are needed.

    • 6. WellSpring Benefits, Inc. administers employee-benefit accounts and determines why and how participant data are processed. PayBridge LLC processes payroll-related data only under WellSpring's written instructions. On May 6, 2026, WellSpring received an alert involving a PayBridge support account used to access WellSpring's export interface. You are assisting WellSpring's incident-response coordinator in determining the affected population, applying the supplied state privacy requirement, and documenting the response. Assume all nonsynthetic individuals in the exports are residents of the state covered by Exhibit 4.

      • 7. A production application authenticates to a cloud billing interface using one standing API key shared by all application instances. A developer inadvertently committed the key to a source-code repository. Which control would best prevent future unauthorized use while preserving required application access?

        • A. Send security personnel an alert whenever the shared key is used from a new network address.
        • B. Require the application owner to review the shared key's activity report at the end of each month.
        • C. Encrypt the billing database and restrict decryption privileges to the application support team.
        • D. Replace the shared key with managed workload identities that issue short-lived, narrowly scoped tokens.
        Show answer

        Answer: D. Replace the shared key with managed workload identities that issue short-lived, narrowly scoped tokens.

        Replace the shared key with managed workload identities that issue short-lived, narrowly scoped tokens. - Managed workload identities remove the standing shared API key that was exposed in the source-code repository while preserving application access to the billing interface. - Short-lived, narrowly scoped tokens limit both how long credentials remain usable and what each application workload can do. Send security personnel an alert whenever the shared key is used from a new network address. - An alert is detective: it may notify security personnel only after the exposed key has been used. - It does not prevent use from an address already associated with the application or remove the compromised shared key. Require the application owner to review the shared key's activity report at the end of each month. - A monthly review is detective and may uncover unauthorized use only after billing-interface activity has occurred. - The exposed key remains valid throughout the month, so the review does not prevent future misuse. Encrypt the billing database and restrict decryption privileges to the application support team. - Database encryption protects stored billing data, not authentication to the cloud billing interface. - An attacker holding the API key could still invoke interface functions permitted by that key without decrypting the database.

      • 8. Following a ransomware incident, a company rebuilds affected servers from verified clean backups, validates system integrity, and returns critical applications to normal operation in accordance with prioritized restoration objectives. Under the NIST Cybersecurity Framework, these activities primarily support which function?

        • A. Recover
        • B. Respond
        • C. Detect
        • D. Protect
        Show answer

        Answer: A. Recover

        Recover - The NIST Cybersecurity Framework’s Recover function covers restoring capabilities and services after an incident. - Rebuilding servers from verified clean backups, validating integrity, and returning critical applications to normal operation under prioritized restoration objectives are recovery activities. Respond - Respond focuses on managing an incident, including analyzing it and containing its effects. - The described work goes beyond incident management to restoring affected servers and applications to normal operation. Detect - Detect concerns identifying and confirming a cybersecurity event. - The ransomware incident has already occurred; rebuilding servers and restoring applications address its aftermath rather than its discovery. Protect - Protect concerns safeguards that reduce cybersecurity risk or limit an incident’s impact. - Although clean backups can be a safeguard, using them here to rebuild servers primarily supports restoration, not protection.

      • 9. A company's customer portal becomes unresponsive when a small number of hosts open thousands of slow, incomplete HTTP connections that never finish sending their request headers, exhausting the web server's available connection threads. Network bandwidth utilization remains low, but the application servers can no longer accept new sessions. Which control would most directly mitigate this threat?

        • A. Configure the web server with connection timeout limits and a reverse proxy that enforces maximum concurrent connections per client
        • B. Deploy endpoint detection software to the application administrators' workstations
        • C. Encrypt the application database and rotate its encryption keys quarterly
        • D. Scan uploaded customer documents for malicious executable content
        Show answer

        Answer: A. Configure the web server with connection timeout limits and a reverse proxy that enforces maximum concurrent connections per client

        Configure the web server with connection timeout limits and a reverse proxy that enforces maximum concurrent connections per client - Connection timeouts close requests whose headers remain incomplete, freeing web server threads for new sessions. - Per-client connection limits prevent the small number of attacking hosts from occupying thousands of connections even though bandwidth use remains low. Deploy endpoint detection software to the application administrators' workstations - Endpoint detection monitors activity on administrators’ workstations, not incomplete HTTP requests arriving at the customer portal. - It does not release the web server threads held by the slow connections. Encrypt the application database and rotate its encryption keys quarterly - Database encryption protects data confidentiality, whereas this attack prevents customers from accessing the portal. - Rotating keys does not limit how long incomplete requests can hold server connections open. Scan uploaded customer documents for malicious executable content - Document scanning addresses malicious uploads, but the described hosts are holding HTTP request headers incomplete. - It does not impose timeouts or connection limits on the requests exhausting the server’s threads.

      Flashcards: Threat agents and threat modeling

      1. 1. Name one of the five components of internal control according to the COSO framework.

        Show answer

        Monitoring activities. These activities provide assurance that internal controls are present and functioning as intended.

      Everything you need for CPA prep

      Get full Oncourse access with lessons, practice questions, flashcards and AI study tools.

      GET STARTED FOR FREE
      75% OFFLimited time offer
      GET 75% OFF