Attack on the Firewall or VPN Gateway: Response Playbook
The firewall or VPN gateway is being exploited, its management interface was accessed without authorization, or its configuration changed unexpectedly. Here is who to call first, what to do in order, and how to close it out.

Each playbook in our sample plan fits on one printed page, so it still works when systems are down.

This is the attack on the firewall or vpn gateway page from the 50-playbook sample we prepared for a fictional distribution company.

What to do when this happens
What it is: The firewall or VPN gateway is being exploited, its management interface was accessed without authorization, or its configuration changed unexpectedly.
First call: Network lead, who works with the IT Director acting as Incident Commander.
The move that matters most: Restrict management access to a console or trusted address. Disable compromised admin and VPN accounts. Apply the vendor's mitigation. If compromise is confirmed, fail over to a clean unit.
Firewalls and VPN gateways are a favorite target because they sit on the internet and hold the keys to the network. An attack can mean an exploited vulnerability, an unauthorized login to the management interface, or configuration changes nobody approved.
This playbook restricts management access, disables compromised administrator and VPN accounts, applies the vendor's mitigation, preserves the device's logs and configuration, and fails over to a clean unit if compromise is confirmed.
Common causes and early warning signs
Common causes
- An unpatched vulnerability in the gateway, often after a vendor advisory
- Management interface exposed to the internet
- Stolen administrator or VPN credentials without MFA
- A configuration backdoor left by an earlier compromise
Early warning signs
- Vendor or government advisories about active exploitation
- Logins to the management interface from unknown addresses
- Configuration changes or new accounts nobody made
- Unusual VPN sessions or traffic from the gateway itself
Call order and departments involved
The playbook lists who is told, in order, so nobody spends the first half hour deciding whom to call. This is the call order from the sample plan; in your plan the names, alternates and phone numbers are your own.
- 1Network lead
- 2Security lead
- 3IT Director (Incident Commander)
- 4CISO
- 5Firewall vendor support
- 6Company attorney
Departments involved
Each department has a defined role during the incident, described on the departments page of the playbook set.
Step by step: before, during and after
Every playbook follows the same 13 stages, so the team always knows where it is. The steps below are the sample playbook’s own words.
Management interface never exposed to the internet. MFA for administrators. Firmware patched within days of a security advisory. Configuration backed up and logs sent to the SIEM.
Owner: IT management- STEP 01
FIRST INFORMATIONFirst informationRecord who reported it, when and what they saw. Which device, what was seen (alert, unknown admin, changed rule, crash), the firmware version, and the vendor advisory if any.
Led by: Service Desk, Network team - STEP 02
DATA COLLECTIONData collectionFirewall system, admin and VPN logs; configuration change history; current running configuration compared with the last backup; list of admin accounts and active VPN sessions.
Led by: Network team - STEP 03
DISCOVERY AND SCOPEDiscovery and scopeLook for new admin accounts, rules, VPN users, scripts or files on the device. Check the vendor's indicators of compromise. Trace what the attacker reached behind the firewall.
Led by: Network team, Security - STEP 04
PRESERVATIONPreservationExport logs, the running configuration and a vendor diagnostic file before any reboot or upgrade; a reboot can erase evidence.
Led by: Security team - STEP 05
SERVICE STATUSService statusConfirm internet, site-to-site VPN, remote access and published services at each site. Note what would stop if the device is taken offline.
Led by: Service Desk / NOC - STEP 06
WORK ON THE INCIDENTWork on the incidentRestrict management access to a console or trusted address. Disable compromised admin and VPN accounts. Apply the vendor's mitigation. If compromise is confirmed, fail over to a clean unit.
Led by: Network team - STEP 07
ANNOUNCEMENTSAnnouncementsInform the business owner and executives at once and open an emergency meeting inside 15 minutes. Tell staff by phone tree or text what to do and not to discuss it outside. One spokesperson handles customers and media.
Led by: Incident Commander, Communications - STEP 08
LEGAL PROCEDURELegal procedureBrief the company attorney and the insurance carrier if an attacker is confirmed. A law enforcement report is made on the attorney's advice.
Led by: Attorney, Compliance, CISO - STEP 09
FIXFixInstall fixed firmware from clean media or factory-reset and restore a known good configuration. Change every password, key and certificate stored on the device, including VPN and LDAP bind accounts.
Led by: Network team - STEP 10
RECOVER AND VERIFYRecover and verifyVerify rules against the approved baseline. Restore services in stages and confirm logging to the SIEM. Treat internal systems as possibly reached and hunt for intrusion.
Led by: Network team, system owners - STEP 11
RECOVERY NOTICERecovery noticeTell the same audience that service is restored, what they must do now, and who to call if a problem remains. Outside statements only as the attorney approves.
Led by: Incident Commander, Communications
- STEP 12
FINALIZE AND DOCUMENTFinalize and documentClose the incident record with the timeline, evidence list, downtime and cost. Issue the incident report. Keep evidence for as long as the attorney instructs.
Led by: Incident Commander - STEP 13
LESSONS LEARNEDLessons learnedHold a review within 5 business days with every department involved. Subscribe to vendor advisories, patch perimeter devices on an emergency schedule and review admin access quarterly.
Led by: All departments
Time targets in the announcement step belong to the fictional sample company. OC Security Audit does not promise response or recovery times; your own targets are agreed during planning.
What this playbook looks like when we deliver it
These are real pages from the incident response sample we prepared for Kestrel Harbor Distribution, a fictional company. Use the arrows or thumbnails, and click a page to zoom in.

What turns this incident into a longer one
- Rebooting or upgrading before collecting logs and configuration
- Leaving the management interface open to the internet
- Trusting the device again without the vendor's integrity checks
- Not resetting VPN user credentials after compromise
Most of these are prevented in the readiness stage. A Firewall Security Audit checks the settings behind them, and an incident response readiness assessment checks whether the people, contacts and decisions are in place.
Where auditors and insurers expect this
A documented and tested playbook for this incident is evidence for several frameworks and for cyber insurance questionnaires.
| Framework or rule | What it expects |
|---|---|
| NIST CSF 2.0 | RS.MA (incident management), RS.CO (incident response reporting and communication), RC.RP (incident recovery plan execution) |
| NIST SP 800-61 Rev. 3 | Incident response recommendations mapped to the CSF 2.0 functions |
| ISO/IEC 27001:2022 | Annex A 5.24 to 5.27 (incident management), 5.29 (security during disruption), 5.30 (ICT readiness for business continuity) |
| HIPAA Security Rule | 45 CFR 164.308(a)(6) security incident procedures and 164.308(a)(7) contingency plan, where the business handles ePHI |
| SOC 2 | CC7.4 and CC7.5 (respond and recover), A1.2 and A1.3 (availability: recovery infrastructure and testing) |
| PCI DSS v4.0.1 | Requirement 12.10.1, an incident response plan ready to activate, where card data is in scope |
General information, not legal advice. Your attorney and auditor confirm what applies to your business.
Turn this sample into your own plan
Incident Response Plan & Playbooks
We write your incident response plan and the playbooks for the incidents most likely to hit your business, including attack on the firewall or vpn gateway, with your contacts, systems, call order and decision authority.
See what is includedIncident Response Advisory & Evidence Preservation
When this happens, we help you preserve evidence, coordinate the response with your IT team, attorney and insurer, and document every decision.
Learn moreAlready in the middle of an incident? See Incident Response Advisory & Evidence Preservation. Want to know how ready you are first? Start with the readiness assessment. All options are on the incident response and outage resilience page and the pricing page.

Ali Hassani, CISO
Ali Hassani is a Certified CISO (C|CISO) and CISSP with more than 25 years in IT, cybersecurity and infrastructure. He has designed, implemented and secured more than 100 business networks. OC Security Audit is based in Irvine, California, works on-site across Orange County, Los Angeles and Southern California, and remotely nationwide.
Questions about this playbook
What do we do first?
Restrict management access to a console or trusted address, disable compromised accounts and apply the vendor's mitigation, while preserving logs and configuration.
How is this different from a firewall failure?
A failure is a loss of service with no attacker. Here someone is exploiting or controlling the device, so evidence and legal steps apply.
Do we need to replace the device?
If compromise is confirmed and the vendor cannot verify integrity, fail over to a clean unit or rebuild it from a known-good image.
Is this playbook legal advice?
No. The legal step tells the team when to involve the company attorney and the cyber insurance carrier. The attorney decides whether an incident is reportable and confirms every deadline.
Can OC Security Audit write playbooks for our business?
Yes. Incident Response Plan & Playbooks is a $3,500 fixed engagement: we write your plan and the playbooks for the incidents most likely to affect you, with your own contacts, systems and call order.
More from the playbook library
Sources: NIST SP 800-61 Rev. 3, Incident Response Recommendations; NIST Cybersecurity Framework 2.0. Playbook steps are from OC Security Audit’s sample incident response playbooks for a fictional company. Every name and figure in the sample is invented.