Skip to content
Back to Blog
·9 min read·technology

Threat Modeling for Indian Dev Teams: STRIDE Explained

Learn how STRIDE threat modeling helps Indian dev teams catch security risks at design time. Practical guide to all six categories with SDLC integration steps.

BR

Bachao.AI Research Team

Cybersecurity Research

Scan Your Attack Surface

Security exposure this creates

Unpatched vulnerabilities in your tech stack are the #1 entry point for breaches targeting Indian businesses. Here's what to watch.

Threat modeling is the practice of identifying security risks in your system before writing a single line of production code. For Indian dev teams building SaaS, fintech, or healthcare products, doing this early — a practice called shift-left security — means finding vulnerabilities when they cost minutes to fix, not months. The STRIDE framework, developed by Microsoft and widely endorsed by OWASP, gives teams a structured vocabulary to ask: what can go wrong here? STRIDE stands for Spoofing, Tampering, Repudiation, Information Disclosure, Denial of Service, and Elevation of Privilege. This guide walks through each category with a concrete example, shows you how to run a threat-modeling session, and explains how to embed it into your SDLC.

73%Indian SMBs with no formal security audit process (DSCI 2024)
45xCost multiplier to fix a design-phase flaw found in production vs at design time (IBM Systems Sciences Institute)

Why Threat Modeling Belongs at the Start, Not the End

Most Indian dev teams treat security as a final checkpoint — a penetration test before go-live. The problem: by that point, the architecture is frozen, the API contracts are locked, and any meaningful fix requires rework that kills the sprint calendar.

Shift-left security inverts this. A two-hour threat-modeling session during design review surfaces the same class of flaws a penetration test finds later, at a fraction of the cost. OWASP's Threat Modeling Cheat Sheet (owasp.org/www-community/Threat_Modeling) quantifies this: the earlier a defect is caught, the cheaper it is to fix — flaws found in design cost 6x less to resolve than those found in production.

💡
TIP
Run a 90-minute threat-modeling session at the start of every new feature that crosses a trust boundary — user authentication, payment flows, third-party API integrations, admin panels. That is the highest-leverage point in your SDLC.

The STRIDE Framework: Six Threat Categories with Indian-Context Examples

STRIDE is not a tool — it is a checklist of threat types. For each component in your system, you ask: can this component be SPOOFed? can data be TAMPERed? and so on. Here are all six with examples relevant to Indian product teams.

Spoofing

What it is: An attacker impersonates a legitimate user, service, or system component.

Example: A Bangalore-based B2B SaaS builds a webhook receiver for payment callbacks from a payment gateway. The endpoint accepts any POST without verifying the HMAC signature. An attacker sends a forged "payment successful" event, crediting themselves without paying.

Mitigation: Verify webhook signatures. Enforce mutual TLS for service-to-service calls. Use short-lived JWT tokens with audience claims, not long-lived API keys shared over Slack.

Tampering

What it is: Unauthorized modification of data — in transit, at rest, or in processing.

Example: A logistics startup stores shipment status in a Redis cache. The cache is accessible from a shared development VPC with no auth. An intern accidentally (or maliciously) updates shipment records, triggering erroneous delivery confirmations sent to customers.

Mitigation: Encrypt data in transit (TLS 1.2+). Use append-only audit logs for sensitive state transitions. Apply integrity checks (HMAC, digital signatures) on critical payloads. Segment your VPCs — dev and prod should never share a data plane.

Repudiation

What it is: A user or attacker performs an action and later denies it, and the system cannot prove otherwise.

Example: A healthcare startup's admin panel has no audit log. A staff member exports a patient database and deletes the export. No record exists. When the DPDP (Digital Personal Data Protection) Act 2023 investigation begins, the company cannot demonstrate what data was accessed or by whom.

Mitigation: Immutable, append-only audit logs for every privileged action. Include: actor ID, timestamp (IST), IP, action type, affected resource. Store logs in a write-once store or forward them to a SIEM that the actor cannot access.

🛡️
SECURITY
Under India's DPDP Act 2023, Data Fiduciaries are required to maintain records of data processing. Non-repudiation is not just a security property — it is a compliance obligation. See the DPDP compliance guide for the full obligation list.

Information Disclosure

What it is: Sensitive data is exposed to parties who should not have access.

Example: A fintech startup returns verbose SQL error messages in API responses. The error includes the table name, column names, and a fragment of the query. An attacker uses this to map the database schema and craft targeted injection payloads.

Mitigation: Return generic error codes to clients; log details server-side only. Mask PII in logs. Implement field-level access controls — a customer service agent should not see a user's full card number or Aadhaar-linked fields. Encrypt sensitive columns at rest using application-layer encryption, not just disk encryption.

Denial of Service

What it is: An attacker degrades or eliminates availability of a service.

Example: A startup launches a public API for real-time stock screener data. No rate limiting is implemented. During a market event, a competitor's bot floods the endpoint with 50,000 requests per minute, causing the service to crash for legitimate users.

Mitigation: Apply rate limits per IP and per authenticated user at the API gateway layer. Use exponential backoff and circuit breakers in downstream service calls. Design for graceful degradation — serve cached data rather than returning 503 during traffic spikes.

Elevation of Privilege

What it is: A user gains access to capabilities or data beyond what they are authorized for.

Example: A multi-tenant SaaS for HR management stores all tenants in a single database. The API endpoint /api/employees/{id} checks authentication but not authorization — it does not verify that the requesting user belongs to the same tenant as the employee record. Tenant A can enumerate and read Tenant B's employee data by incrementing the ID.

Mitigation: Enforce authorization on every data-fetching operation, not just authentication. Apply the principle of least privilege to service accounts and IAM roles. Audit every admin-only endpoint — they are the highest-value target for privilege escalation.

🚨
DANGER
Elevation of Privilege vulnerabilities — particularly broken object-level authorization (BOLA) — are the most common finding in Indian SaaS VAPT engagements. They are trivial to exploit and catastrophic in multi-tenant environments. Never rely on authentication alone as an authorization gate.

How to Run a Threat-Modeling Session

A threat-modeling session needs four things: the right people, a data flow diagram (DFD), defined trust boundaries, and a structured walk-through.

Step 1 — Assemble the right people. Minimum: one backend engineer, one product lead, and ideally a security lead or a senior engineer who will play devil's advocate. Keep it to 3–5 people. Larger groups lose focus.

Step 2 — Draw the data flow diagram. A DFD shows how data moves through your system: external users, internal services, databases, and external APIs. Crucially, it marks trust boundaries — lines that separate zones of different trust levels (public internet vs. internal VPC vs. database tier).

The diagram below shows a simplified DFD for a typical Indian SaaS application:

graph TD A["External User"]:::danger -->|"HTTPS — Spoofing + Info Disclosure"| B["Application Server"]:::normal B -->|"Service Call — Tampering + Privilege Escalation"| C["Internal Service"]:::normal C -->|"DB Query — Data Exposure + SQL Injection"| D["Database"]:::normal B -->|"External API — Webhook Spoofing + DoS"| E["Third-Party API"]:::danger F["Admin User"]:::normal -->|"Admin Call — Privilege Abuse + Repudiation"| B classDef normal fill:#1e3a5f,stroke:#3B82F6,color:#e2e8f0 classDef danger fill:#5f1e1e,stroke:#EF4444,color:#e2e8f0 classDef success fill:#1e3d2f,stroke:#10B981,color:#e2e8f0

Step 3 — Walk STRIDE over each data flow. For each arrow in the DFD, ask all six STRIDE questions. Use a shared spreadsheet or a whiteboard. The goal is not to solve every threat in the session — it is to surface them.

Step 4 — Assign severity. Use DREAD (Damage, Reproducibility, Exploitability, Affected users, Discoverability) or a simplified risk matrix (Likelihood × Impact) to prioritize. Not every threat warrants immediate action — but every threat should be documented with an owner and a decision.

Know your vulnerabilities before attackers do

Run a free VAPT scan — takes 5 minutes, no signup required.

Book Your Free Scan

Prioritizing Threats with DREAD

DREAD FactorHighMediumLow
DamageFull data breach or service outagePartial data exposure or degraded serviceMinor UI issue or low-sensitivity data
ReproducibilityReliable, scriptable exploitRequires specific conditionsRare, hard to reproduce
ExploitabilityNo skill needed, public PoC existsSome technical skill requiredExpert-level only
Affected UsersAll users or all tenantsSubset of usersSingle user or internal only
DiscoverabilityExposed in public API docs or visible URLRequires enumerationHidden, internal only
Score each factor 1–3 and sum. Threats scoring 12–15 are P0 (fix before launch). 8–11 are P1 (fix this sprint). 7 and below are P2 (document and schedule).

Integrating Threat Modeling into the SDLC

A one-time threat model is not enough. Systems change — new endpoints are added, third-party integrations are swapped, infrastructure is migrated. Threat models go stale.

The practical approach for Indian dev teams running 2-week sprints:

  1. Design phase: Full threat-modeling session for any new system or major feature that introduces a new trust boundary.
  2. Sprint planning: Quick 15-minute "threat check" for any API changes or new data flows in the upcoming sprint.
  3. Pre-launch gate: Validate that all P0 and P1 threats from the model are mitigated before releasing to production. A free VAPT scan at this point catches anything the internal review missed.
  4. Post-incident: After any security incident, update the threat model to reflect the newly discovered attack surface.
The OWASP Threat Model Manifesto (threatmodelingmanifesto.org) puts it cleanly: threat modeling should be continuous, not periodic.

Bachao.AI, built by Dhisattva AI Pvt Ltd, integrates automated surface scanning as a complement to manual threat modeling — it catches the implementation-level vulnerabilities that DFDs miss: exposed endpoints, outdated TLS configs, missing security headers, and injection flaws.

STRIDE Coverage Across a Typical Indian SaaS

The chart below shows the relative distribution of STRIDE threat types typically identified during a structured threat-modeling session on a mid-size SaaS application:

pie title STRIDE Threat Distribution in SaaS Threat Models "Elevation of Privilege" : 28 "Information Disclosure" : 22 "Spoofing" : 18 "Tampering" : 15 "Denial of Service" : 11 "Repudiation" : 6

Elevation of Privilege and Information Disclosure dominate because most teams invest in authentication but underinvest in authorization and data classification.

🎯Key Takeaway
Threat modeling is not a security audit — it is a design activity. Running STRIDE during architecture review costs two hours and prevents the class of vulnerabilities that account for the majority of real-world breaches. Indian dev teams that shift this work left stop paying for expensive post-production fixes and start shipping products that are secure by design.

Further Reading

Frequently Asked Questions

What is threat modeling and why should Indian dev teams do it?
Threat modeling is a structured process to identify, categorize, and prioritize security risks in a system during the design phase. Indian dev teams should do it early because vulnerabilities discovered before coding begins are orders of magnitude cheaper to fix than those found in production via a penetration test or — worse — an actual breach.
What does STRIDE stand for?
STRIDE stands for Spoofing (impersonating users or services), Tampering (modifying data without authorization), Repudiation (denying an action with no audit trail), Information Disclosure (exposing sensitive data), Denial of Service (degrading availability), and Elevation of Privilege (gaining unauthorized access levels). It was developed by Microsoft and is widely used alongside OWASP guidelines.
How long does a threat-modeling session take for a small team?
For a well-scoped feature or service, a first threat-modeling session takes 90 minutes to two hours. Subsequent sessions for incremental changes can be done as a 15-minute design review checkpoint. The time investment pays back immediately in avoided rework.
Is STRIDE useful for compliance with India's DPDP Act 2023?
Yes. STRIDE's Repudiation and Information Disclosure categories directly map to DPDP obligations around audit trails and data protection controls. Running STRIDE helps Data Fiduciaries identify gaps in their processing records and access controls before a regulatory inquiry surfaces them. See the DPDP compliance guide for more on obligations under the Act.
What tools can an Indian dev team use to run STRIDE threat modeling?
Microsoft Threat Modeling Tool (free) is the most structured option and directly implements STRIDE. OWASP Threat Dragon is a browser-based open-source alternative. For smaller teams, a whiteboard and a shared spreadsheet with the six STRIDE categories per data flow are sufficient. The quality of the conversation matters more than the tool.
How does threat modeling relate to a VAPT (penetration test)?
Threat modeling is a proactive, design-time activity — it identifies what *could* go wrong. VAPT is a reactive, runtime activity — it identifies what vulnerabilities *exist* in a running system. They are complementary: threat modeling shapes the architecture, VAPT validates the implementation. Running a free VAPT scan after your threat-modeling mitigations are in place is the most efficient way to confirm coverage.
BR

Bachao.AI Research Team

Cybersecurity Research

AI-powered security research and threat intelligence from the Bachao.AI team. Covering the latest vulnerabilities, CVEs, and cybersecurity developments affecting Indian businesses.

Get cybersecurity insights for Indian SMBs

Weekly vulnerability alerts, DPDP compliance tips, and security guides. No spam — unsubscribe anytime.

We respect your privacy. Your email is never shared.

Find out if you're exposed to this class of threat

Free automated scan — risk score in under 2 hours. No credit card required.

Scan Your Attack Surface
Find your vulnerabilitiesStart free scan →