API Security for Indian Enterprises: How PJ Networks Protects the Modern Attack Surface

  • Home
  • API Security for Indian Enterprises: How PJ Networks Protects the Modern Attack Surface
API Security for Indian Enterprises: How PJ Networks Protects the Modern Attack Surface

Every digital transformation initiative — from UPI payment integrations to cloud-native banking portals and SaaS-linked ERPs — rests on APIs. And APIs have quietly become the number-one attack surface for Indian enterprises. According to Gartner, API attacks have surpassed web application attacks as the leading vector for data breaches. For CISOs in Indian manufacturing, BFSI, healthcare, and logistics, that is not a distant statistic: it is the threat that arrived in their inboxes this quarter.

This post walks through why API security demands board-level attention in India right now, what an attacker actually does when they target your APIs, and the defence-in-depth architecture PJ Networks deploys for enterprise clients — including our operational use of PrahiX Ora, a unified SecOps platform.

Why APIs Are India’s Fastest-Growing Attack Surface

The Indian digital economy runs on APIs. The RBI’s open banking directives, ONDC’s open commerce network, GSTN tax integrations, and hundreds of SaaS stacks stitched together with Zapier-style connectors have created an explosion of API endpoints — most of them poorly inventoried, many of them unauthenticated or under-authenticated, and almost none of them monitored in real time at the NOC/SOC level.

Three forces make this especially dangerous right now:

  • Shadow APIs: Development teams spin up microservices faster than security teams can track them. A typical mid-size Indian enterprise has 40–60% more API endpoints in production than IT knows about.
  • Broken object-level authorisation (BOLA): OWASP ranks BOLA (also called IDOR) as the single most critical API vulnerability. Attackers enumerate object IDs — customer records, order details, account balances — and exfiltrate data at scale without triggering traditional perimeter alarms.
  • Credential stuffing at API layer: After every breach that leaks Indian credential databases, threat actors run automated stuffing campaigns against mobile banking, insurance, and e-commerce APIs. The velocity and sophistication of these campaigns has increased sharply since 2024.

Add the DPDP Act 2023 and CERT-In’s 6-hour incident reporting directive, and the stakes for a silently breached API are no longer just reputational: they are regulatory and criminal.

The OWASP API Security Top 10: What Indian Attackers Are Actually Exploiting

Understanding the threat landscape starts with what attackers have already weaponised in the wild. The OWASP API Security Top 10 gives a practical taxonomy:

1. Broken Object Level Authorisation (BOLA)

An attacker who can access /api/v1/orders/10045 simply increments the ID: /api/v1/orders/10046, /orders/10047, and so on. If the API does not validate that the requesting user owns that object, the attacker harvests thousands of records. This was behind several high-profile Indian fintech incidents in 2024–25 where customer KYC documents were accessible by substituting user IDs in mobile API calls.

2. Broken Authentication

Weak token implementations — short-lived tokens stored in localStorage, JWT libraries with algorithm confusion bugs, or APIs that accept both Bearer tokens and legacy session cookies — give attackers a wide authentication attack surface. Many Indian enterprises inherited these patterns from rapid pandemic-era digitisation.

3. Excessive Data Exposure

APIs that return the full database object (name, email, Aadhaar-linked mobile, PAN) when the frontend only needs the display name. The client filters the data; the wire does not. A simple packet capture from a man-in-the-middle position — or a compromised device on a shared Wi-Fi — exposes the full payload.

4. Rate Limiting & Resource Exhaustion

Unthrottled APIs allow credential stuffing, OTP brute-forcing, and scraping at machine speed. Several Indian telecom and utility portal APIs were scraped for subscriber data in 2024 because no rate limits existed on the lookup endpoint.

5. Security Misconfiguration

Staging APIs promoted to production with debug endpoints live, CORS set to *, verbose error messages exposing stack traces and internal hostnames — these are endemic in environments where DevOps velocity outpaces security review.

The remaining five — Broken Function Level Authorisation, Mass Assignment, Injection, Improper Assets Management, and Insufficient Logging & Monitoring — are equally critical, and the last item is the one most directly relevant to the CERT-In compliance posture of Indian enterprises.

FortiGate as Your API Security Enforcement Point

PJ Networks deploys Fortinet FortiGate Next-Generation Firewalls as the primary enforcement layer for API traffic. FortiGate’s application-aware inspection, combined with Fortinet’s FortiGuard AI-powered threat intelligence, provides:

  • Deep packet inspection of API payloads: FortiGate can parse JSON and XML at line rate, enabling policy enforcement on specific API endpoints, HTTP verbs, and payload fields — not just IP addresses and ports.
  • FortiWeb integration: For clients requiring a dedicated Web Application Firewall with full OWASP API protection, PJ Networks deploys FortiWeb alongside FortiGate, providing positive security models, API schema validation, and ML-based anomaly detection.
  • SSL/TLS inspection: The vast majority of API traffic is encrypted. FortiGate performs TLS deep inspection with hardware acceleration, ensuring threats hidden in HTTPS are visible to the security stack.
  • Automated threat response: Malicious IPs identified by FortiGuard are automatically blocked at the FortiGate level within minutes of a global intelligence update — no manual intervention required.

FortiGate alone, however, is a perimeter control. It does not provide the observability layer needed to detect BOLA attacks, credential stuffing at low velocity, or data exfiltration that stays within the parameters of “normal” traffic. That is where SecOps platform integration becomes critical.

PrahiX Ora: Unified SecOps Visibility for API Threats

API attacks are often slow, low-volume, and indistinguishable from legitimate traffic at the packet level. Detecting them requires correlating events across the authentication system, the API gateway, the network layer, and the application logs simultaneously — and doing so in real time against CERT-In’s 6-hour reporting window.

PrahiX Ora is a unified SecOps platform built by PrahiX Tech Pvt Ltd. PJ Networks is its primary field deployment and operations partner; when we tell clients “we operate Ora for you,” we mean our NOC/SOC analysts run the platform and respond to its alerts around the clock. Here is how each capability pillar maps to API security operations:

SIEM: Correlating API Events to Attack Storylines

Ora’s SIEM ingests logs from FortiGate, FortiWeb, API gateways (Kong, AWS API Gateway, Azure APIM), identity providers (Azure AD, Okta), and application servers into a single normalised event stream. Correlation rules are mapped to the MITRE ATT&CK for Enterprise framework — specifically the Initial Access and Credential Access tactics where API abuse most commonly begins. When BOLA activity is detected (anomalous object enumeration by a single authenticated user), Ora reconstructs the full attack storyline as a graph: which endpoint was targeted, which records were accessed, when the pattern began, and whether the same session token appeared in other contexts.

For CERT-In compliance, Ora’s tiered retention — hot, cold, and archive tiers — supports the government’s direction on 180-day in-country log retention. All event data stays within Indian data centres; nothing is routed offshore by default.

NMS: Seeing the API Traffic Layer in Context

API abuse does not always look like an attack on the network graph — it looks like normal HTTPS traffic to port 443. But the volume and pattern of that traffic tells a different story. Ora’s NMS component provides ML-based anomaly detection on traffic flows between microservices, between the DMZ and internal subnets, and between the enterprise perimeter and third-party SaaS endpoints. An account that normally generates 50 API calls per minute and suddenly generates 50,000 is flagged — even if every individual call is technically authorised. For multi-vendor estates where NOC visibility is fragmented across separate management consoles for firewalls, switches, access points, and SD-WAN links, Ora provides a single unified topology view via LLDP/CDP discovery, which is essential for tracing which network path an API exfiltration traversed.

Video Surveillance (VMS): Physical and Network Security Under One Roof

For manufacturing, retail, and multi-site enterprise clients, Ora’s video surveillance (VMS) capability — supporting ONVIF, Hikvision, and Dahua cameras with video analytics — brings physical security events into the same operational picture as network and application security events. An after-hours physical access event correlated with an anomalous API call from the same site creates a much stronger incident signal than either event alone. This convergence of physical and cyber security under one operations view is increasingly valuable as insider threat and supply chain attack patterns become more sophisticated.

SOAR: Making the 6-Hour CERT-In Window Realistic

CERT-In’s 2022 directive requires organisations to report cyber security incidents within 6 hours of detection. For an API breach detected at 2 AM, a manual response cycle — alert, escalation, triage, containment, report — cannot reliably meet that window without automation. Ora’s SOAR capability provides pre-built playbooks with connectors to FortiGate (push block policies), Active Directory (disable compromised accounts), and ticketing systems (generate and populate the incident report). When Ora detects a credential stuffing campaign against the payment API, the playbook fires automatically: the offending IP ranges are pushed to FortiGate’s blocklist within seconds, the affected user accounts are locked, and a pre-formatted CERT-In incident report is generated with the required fields populated. The analyst reviews and approves; they do not type. That is what makes a 6-hour window achievable at 2 AM with a lean SOC team.

A Practical API Security Roadmap for Indian Enterprises

If your organisation is starting its API security journey, here is a prioritised 90-day roadmap PJ Networks typically recommends:

Days 1–30: Inventory and Visibility

  • Deploy an API discovery tool or enable API discovery in your existing WAF/NGFW to enumerate all active endpoints, including shadow and deprecated APIs.
  • Map each API to a business owner, data classification (does it touch PII? Aadhaar-linked data? Financial records?), and authentication mechanism.
  • Feed API gateway logs into your SIEM immediately — even a basic SIEM rule that alerts on 4xx spike rates will surface active enumeration attacks.

Days 31–60: Policy and Authentication Hardening

  • Enforce OAuth 2.0 / OIDC with short-lived tokens across all external APIs. Retire API keys used as long-lived credentials.
  • Implement rate limiting at the API gateway level: per-user, per-IP, and per-endpoint limits that reflect realistic legitimate traffic patterns.
  • Enable FortiGate or FortiWeb positive security model enforcement for your highest-risk APIs: define the expected schema and block anything that deviates.
  • Run a DAST scan (OWASP ZAP, Burp Suite) against staging environments before promotion to production.

Days 61–90: Detection, Response, and Compliance

  • Deploy SIEM correlation rules tuned to BOLA, credential stuffing, and data exfiltration patterns.
  • Build or adopt an incident response playbook aligned to CERT-In’s 6-hour reporting requirement — include SOAR automation to generate the initial incident report.
  • Conduct a tabletop exercise: simulate an API breach, test whether your team can detect, contain, and report within 6 hours.
  • Document your API inventory, security controls, and log retention posture for DPDP Act compliance readiness — the Act’s data security obligations apply to APIs that process personal data.

DPDP Act Implications for API Security

India’s Digital Personal Data Protection Act 2023 establishes obligations for Data Fiduciaries — any organisation that determines the purpose and means of processing personal data. Most enterprise APIs that handle customer records, transaction histories, or user profiles qualify. Key implications:

  • Purpose limitation: An API that exposes more personal data than the stated purpose requires may constitute unlawful processing.
  • Data minimisation: APIs should return only the fields required for the requesting service. Excessive data exposure vulnerabilities are not just technical debt — they are potential DPDP compliance gaps.
  • Breach notification: The DPDP Act requires breach notification to the Data Protection Board and affected individuals. An API breach involving personal data triggers this obligation. Ora’s SOAR-assisted incident documentation supports — though it does not guarantee — evidence of timely notification.

PJ Networks helps clients assess their API estate against DPDP obligations and supports compliance with the technical security safeguards the Act requires, though no tool or service by itself confers DPDP compliance — that requires governance, policy, and legal alignment as well.

Conclusion: APIs Are the New Perimeter

Indian enterprises have invested heavily in network perimeter security — firewalls, IDS/IPS, DLP. But the perimeter has moved. It is now every API endpoint your partners, customers, and mobile apps call. Protecting that perimeter requires a combination of enforcement (FortiGate, FortiWeb), discovery and inventory, authentication hardening, and continuous SecOps visibility that can detect low-and-slow API attacks and respond within the CERT-In reporting window.

PJ Networks’ 24/7 NOC/SOC team, backed by the PrahiX Ora platform we deploy and operate for clients, delivers that continuous visibility. If your organisation is ready to assess its API attack surface or wants to understand how Ora’s SIEM, NMS, and SOAR capabilities would integrate with your existing Fortinet estate, reach out to PJ Networks for a discovery conversation.

PJ Networks is an Indian managed-security provider specialising in FortiGate/Fortinet deployments, 24/7 NOC/SOC operations, ZTNA, SD-WAN, and FortiMail. We serve enterprise clients across BFSI, manufacturing, healthcare, and logistics with India-based operations and a security-first delivery model.

Leave a Reply

Your email address will not be published. Required fields are marked *