Operationalizing Business-Aligned Scoping, Exposure Discovery, Risk Prioritization, Exploitability Validation & Remediation Mobilization
Traditional vulnerability management often generates static lists of CVEs without accounting for whether a weakness is reachable, actively exploited, or tied to a business-critical service. Continuous Threat Exposure Management (CTEM) is a business-aligned program that treats exposures as actionable attack paths—combining CVEs, misconfigurations, identity permissions, and external assets—and cycles continuously through five stages: Scoping, Discovery, Prioritization, Validation, and Mobilization.
| CTEM Stage | Primary Objective | Practical Execution Focus |
|---|---|---|
| 1. Scoping | Define what business services and attack surfaces matter most. | Start with high-value services, owners, and boundaries (such as external assets or key apps) rather than scanning everything blindly. |
| 2. Discovery | Uncover assets, weaknesses, and potential exposure paths inside scope. | Combine asset inventories, vulnerability scans, cloud/IAM posture, and exposed endpoints beyond simple CVE lists. |
| 3. Prioritization | Rank exposures by exploitation likelihood, reachability, and business impact. | Look past raw CVSS scores to weigh active exploitation signals, exposure path to critical data, and existing controls. |
| 4. Validation | Prove whether prioritized exposures are actually exploitable and reachable. | Use penetration testing, breach and attack simulation (BAS), red/purple team checks, and detection telemetry verification. |
| 5. Mobilization | Drive timely remediation, verification, and feedback into future cycles. | Route validated items to clear owners with SLAs, verify fixes, and track remediation speed and re-scope priorities. |
{
"cycle_id": "ctem-2026-q4-s1",
"business_service": "Customer Portal & Payment API",
"service_owner": "payments-platform-team",
"in_scope_assets": [
"api.portal.example.com",
"payments-worker-prod",
"iam-role/payments-api-deployer"
],
"cadence_days": 30
}
[SCOPE ACTIVE] ctem-2026-q4-s1 | Service: Customer Portal & Payment API | Assets: 3 | Cadence: 30d
findings = [
{"id": "EXP-101", "internet_exposed": True, "known_exploited": True, "critical_asset": True},
{"id": "EXP-102", "internet_exposed": False, "known_exploited": False, "critical_asset": False},
{"id": "EXP-103", "internet_exposed": True, "known_exploited": False, "critical_asset": False},
]
def exposure_score(f):
return (3 if f["internet_exposed"] else 0) + (4 if f["known_exploited"] else 0) + (3 if f["critical_asset"] else 0)
for item in sorted(findings, key=exposure_score, reverse=True):
print(f"{item['id']}: score={exposure_score(item)}/10")
EXP-101: score=10/10
EXP-103: score=3/10
EXP-102: score=0/10
comm -23 <(sort discovered_hosts.txt) <(sort cmdb_hosts.txt)
staging-api-legacy.example.com
vpn-test-gw.example.com
{
"exposure_id": "EXP-101",
"validated_reachable": true,
"validation_method": "authenticated-api-check",
"detection_observed": true,
"remediation_owner": "appsec-core",
"ticket_ref": "SEC-4821",
"status": "mobilized"
}
[MOBILIZED] EXP-101 | Reachable: True | Detection: True | Ticket: SEC-4821
from datetime import datetime
validated_at = datetime.fromisoformat("2026-11-01T09:00:00")
retested_at = datetime.fromisoformat("2026-11-08T15:00:00")
days_to_fix = (retested_at - validated_at).total_seconds() / 86400
print(f"Exposure validated: {validated_at.strftime('%d-%b-%Y')}")
print(f"Verified fix date: {retested_at.strftime('%d-%b-%Y')}")
print(f"Time to verified fix: {days_to_fix:.1f} days")
Exposure validated: 01-Nov-2026
Verified fix date: 08-Nov-2026
Time to verified fix: 7.2 days
SigninLogs
| where TimeGenerated > ago(24h)
| where AppDisplayName has "Customer Portal"
| summarize
Attempts = count(),
DistinctIPs = dcount(IPAddress),
FailedCount = countif(ResultType != "0")
by UserPrincipalName, AppDisplayName
| order by FailedCount desc, Attempts desc
UserPrincipalName AppDisplayName Attempts DistinctIPs FailedCount
----------------- -------------- -------- ----------- -----------
svc-webhook@example.com Customer Portal & API 42 2 14
apt list --upgradable 2>/dev/null | head -n 5
Listing...
curl/jammy-security 7.81.0-1ubuntu1.20 amd64 [upgradable from: 7.81.0-1ubuntu1.18]
openssl/jammy-security 3.0.2-0ubuntu1.18 amd64 [upgradable from: 3.0.2-0ubuntu1.16]
SELECT
Laddr.IP AS ListenIP,
Laddr.Port AS ListenPort,
Status,
Pid,
Name
FROM pslist()
JOIN netstat() ON Pid = Pid
WHERE Status = "LISTEN"
LIMIT 20
ListenIP ListenPort Status Pid Name
-------- ---------- ------ --- ----
0.0.0.0 443 LISTEN 1420 nginx
550
/etc/nginx/sites-enabled/|/opt/portal/config
Scoped service configuration modified on $(agent.name) — review exposure impact
** Alert 1795701120.44219: - local,ctem,exposure_management
2026 Nov 26 12:15:02 (portal-web-01) 10.20.5.11->/var/ossec/logs/alerts/alerts.log
Rule: 101850 (level 8) -> 'Scoped service configuration modified on portal-web-01 — review exposure impact'
from collections import Counter
items = [
{"id": "EXP-101", "state": "in_progress"},
{"id": "EXP-104", "state": "verified_fixed"},
{"id": "EXP-105", "state": "in_progress"},
{"id": "EXP-106", "state": "awaiting_retest"},
]
counts = Counter(i["state"] for i in items)
for state, total in counts.items():
print(f"{state}: {total}")
in_progress: 2
verified_fixed: 1
awaiting_retest: 1
Select a CTEM stage or operational scenario below to review how to run that step effectively: