Firewall Controls in Banking Networks: Rule Base, DMZ and Review
Every internet-facing branch gateway, ATM switching interface, and internet banking portal sits behind a wall of firewall controls in banking networks that decide, packet by packet, what enters and what stays out. For IIBF IT Security candidates this is not abstract theory - it is the layer that turns a bank's internet connection from an open door into a controlled checkpoint. You need to know how packet filtering differs from stateful inspection and next generation firewalls, why the DMZ exists, how a deny-all rule base is built and changed, and where a web application firewall fits alongside the network firewall. This article works through each piece the way the exam tests it - rule logic, placement, and governance, not just definitions.
🔥 Why the Firewall Is the Bank's First Filter
A firewall is a control point placed at the boundary between two zones of different trust - typically the bank's internal network and the public internet, or between two internal zones of different sensitivity. Its job is to permit or block traffic based on a rule base, so that only traffic the bank has explicitly authorised can cross the boundary.
The earliest and simplest form is packet filtering. It works at the network and transport layers, examining the source IP address, destination IP address, port number, and protocol (TCP, UDP, ICMP) of each packet independently, with no memory of prior packets. It is fast and cheap on resources, but it cannot tell whether a packet claiming to be part of an established connection actually belongs to one, which makes it easy to spoof and unsuitable as the sole perimeter control for a bank's internet-facing tier.
This is why banking networks layer packet filtering with more context-aware controls rather than relying on it alone, and why the exam expects you to place packet filtering as the foundation, not the finished defence.

🧱 Packet Filtering, Stateful Inspection and Next-Generation Firewalls
Stateful inspection firewalls fixed the core weakness of packet filtering by maintaining a connection state table. Once an internal host opens a TCP session to an external server, the firewall remembers that session and automatically permits the matching return traffic, without needing a separate inbound rule for every reply. This is the workhorse technology behind most bank perimeter firewalls today because it balances performance with real security value.
Application layer (proxy) firewalls go a level deeper, terminating the connection themselves and inspecting content up to layer 7 - so they can validate that traffic on port 443 is genuinely HTTPS and not a tunnelled protocol, or that an FTP session follows expected command syntax.
Next generation firewalls (NGFW) combine stateful inspection with application awareness, integrated intrusion prevention, user and identity-based policies, and TLS/SSL inspection, so a rule can say "allow this specific business application for this user group" rather than just "allow port 443". The chapter on network controls covers how these engines fit into the broader control stack examiners test, alongside physical and logical segmentation.
💡 Exam Tip: If a question asks which firewall type "remembers" a connection to auto-permit its reply traffic, the answer is stateful inspection, not packet filtering.
🏰 The DMZ and the Internet-Facing Tier
The demilitarised zone (DMZ) is a segregated network segment sitting between the untrusted internet and the bank's trusted internal/core banking network. It typically hosts internet banking web servers, mobile banking API gateways, external DNS, and mail relays - systems that must be reachable from outside but should never have a direct path into the core banking application or database tier.
A common design uses two firewall layers: an external firewall between the internet and the DMZ, and an internal firewall between the DMZ and the core network, so a server compromised in the DMZ still cannot pivot straight into core systems. Some banks implement this with a single firewall appliance and three interfaces (internet, DMZ, internal) instead of two physical boxes, but the logical separation - and the rule that no internet session terminates directly on a core banking server - must hold either way.
This layered placement is why the exam frequently pairs DMZ questions with physical and environmental security controls - the logical zoning only works if the physical hosting and cabling respect the same boundaries.

📋 Rule Base Design: Deny-All Default and Change Control
A sound firewall rule base is built on the principle of least privilege, expressed as an explicit deny-all rule at the bottom of the rule set. Every rule above it opens a specific, justified exception - a source, a destination, a port, and a business reason - and nothing is permitted by default. This is the opposite of a "permit-all unless blocked" posture, which is why examiners treat deny-all-by-default as a defining feature of a mature banking firewall policy rather than an optional hardening step.
New rules should never be added directly by an administrator on request. They go through a formal change control process: a documented request with business justification, risk assessment, approval from information security and the application owner, testing where feasible, and a scheduled implementation window with a rollback plan. This mirrors the discipline covered in patch management in banking systems, where uncontrolled changes are exactly what create exploitable gaps.
Rules should also carry an owner and, wherever the access is temporary, an expiry date - a rule added for a vendor's three-week testing window has no business surviving in the base a year later.
⚠️ Common Mistake: Assuming a broad "allow" rule placed above the deny-all is harmless because "we'll narrow it later" - in practice these broad exceptions are rarely revisited and become the biggest source of unnecessary exposure.
🔍 Periodic Review, Shadow Rules and Logging
A rule base is never static. Banks are expected to run periodic rule reviews - typically on a quarterly or half-yearly cycle depending on the institution's information security policy - to revalidate that every rule still has a live business need, a current owner, and a scope no broader than necessary.
Two recurring findings drive this review. A shadow rule is one that can never actually fire because an earlier, broader rule already matches the same traffic - it clutters the base and hides the real logic from anyone auditing it. An expired rule is one whose original business justification (a project, a vendor connection, a migration) has ended, but the access was never withdrawn. Both are removed once identified and confirmed unused.
Every firewall must also log allowed and denied traffic, with logs forwarded to a central SIEM for correlation and retained per the bank's records and regulatory requirements, since the RBI's cyber security framework for banks expects robust logging and monitoring as part of baseline perimeter defence - see rbi.org.in for the current framework circulars. Weak logging is what lets fraud stay invisible for weeks; the same gap is discussed from the customer-harm side in illegal loan apps and digital lending fraud, where unmonitored traffic to rogue domains is a recurring red flag.

🛡️ Where the Web Application Firewall Fits
A network firewall - even an NGFW - is built to control which hosts, ports, and applications can talk to each other. It is not designed to read the inside of a web request and judge whether it contains a SQL injection payload or a cross-site scripting string. That job belongs to the web application firewall (WAF).
A WAF sits in the DMZ, usually as a reverse proxy in front of the internet banking or mobile banking web server, inspecting HTTP/HTTPS requests and responses against a rule set (signature-based, behavioural, or both) tuned to that specific application. It complements the network firewall rather than replacing it: the NGFW still controls which networks and ports can reach the DMZ at all, while the WAF governs what those permitted requests are allowed to contain. This layered approach is consistent with the control expectations under SWIFT Customer Security Programme and general security standards, and it is worth revising alongside security standards and best practices and software security control for the exam.
📌 Remember: Network firewall controls who can connect; WAF controls what a permitted web request is allowed to say. The exam likes to test this distinction directly.
| Control | OSI Focus | What It Inspects | Typical Placement | Deep Content Aware |
|---|---|---|---|---|
| Packet filtering firewall | Layer 3/4 | IP, port, protocol | Perimeter router/firewall | ❌ |
| Stateful inspection firewall | Layer 3/4 | Connection state + IP/port | Internet gateway | ❌ |
| Application layer/proxy firewall | Layer 7 | Protocol/command validity | Internet gateway or DMZ edge | ✅ (protocol-level) |
| Next generation firewall (NGFW) | Layer 3-7 | App identity, user, IPS, TLS | Perimeter and internal firewall | ✅ |
| Web application firewall (WAF) | Layer 7 (HTTP) | Request/response payload (SQLi, XSS) | Reverse proxy in DMZ, in front of web server | ✅ |
🎯 Bringing It Together for the Exam
For IIBF IT Security, remember the sequence: packet filtering is the base, stateful inspection adds connection awareness, application layer and NGFW add content and identity awareness, the DMZ isolates internet-facing servers from the core, and every rule base is governed by explicit deny-all, disciplined change control, periodic review to strip out shadow and expired rules, and complete logging. A WAF then sits alongside the network firewall to protect the web application layer specifically. Master this layered picture and most exam questions on this topic become a matter of correctly placing each control, not memorising isolated facts. For more chapter coverage, browse the IT Security topic hub, and revise related coverage under asset classification and security standards in banks.
🧠 Practice MCQs: Firewall Controls in Banking Networks
Q1. Which firewall technology maintains a connection state table so that return traffic on an already-open session is automatically permitted? (a) Packet filtering firewall (b) Stateful inspection firewall (c) Web application firewall (d) DNS firewall
Answer: (b) — Stateful inspection tracks session state, unlike stateless packet filtering.
Q2. In a bank's DMZ architecture, why are two firewall layers (external and internal) preferred over a single perimeter firewall? (a) It is cheaper to license (b) It ensures a DMZ server compromise cannot pivot directly into the core network (c) It removes the need for logging (d) It eliminates the need for a rule base
Answer: (b) — The internal firewall stops lateral movement from a compromised DMZ host into core banking systems.
Q3. What is the correct default posture for the last rule in a well-designed banking firewall rule base? (a) Allow all unless blocked (b) Explicit deny-all (c) Allow all traffic from internal IPs only (d) No rule needed at the end
Answer: (b) — An explicit deny-all default enforces least privilege; only justified exceptions are permitted above it.
Q4. A firewall rule that can never match traffic because a broader, earlier rule already covers the same traffic is called a: (a) Expired rule (b) Orphan rule (c) Shadow rule (d) Default rule
Answer: (c) — A shadow rule is unreachable because an earlier rule already captures its traffic; it is removed during periodic review.
Q5. What does a web application firewall (WAF) add that a next generation firewall (NGFW) alone does not reliably provide? (a) Port-based access control (b) Inspection of HTTP request/response content for attacks like SQL injection and XSS (c) TLS session establishment (d) IP address filtering
Answer: (b) — WAFs are purpose-built to inspect web application payloads for attack patterns that a network-focused NGFW rule base does not evaluate.
Want chapter-wise mock tests with 100+ MCQs? Start practising free →
What is the difference between packet filtering and stateful inspection in a bank firewall?
Packet filtering checks each packet in isolation against IP, port, and protocol rules with no memory of prior traffic. Stateful inspection maintains a connection table so return traffic on an already-permitted session is automatically allowed, which is both more secure and more efficient for banking networks.
Why does a bank need a DMZ instead of exposing servers directly to the internet?
The DMZ isolates internet-facing services such as internet banking and mobile banking gateways from the core network, so that even if a DMZ server is compromised, the attacker still has to cross a second internal firewall to reach core banking systems and data.
What is a shadow rule in a firewall rule base and why does it matter?
A shadow rule is a rule that can never trigger because an earlier, broader rule in the rule base already matches the same traffic. It adds clutter, hides the actual effective policy, and is removed during periodic rule review.
Does a web application firewall replace the need for a network firewall?
No. The network firewall (or NGFW) controls which hosts, ports, and applications can connect at all, while the WAF inspects the content of permitted web requests for application-layer attacks. Banks run both together, not one instead of the other.
Practice this topic
Take a free mock test, download chapter PDFs, or watch a video class — all included on iibf.store.