Incident response playbook · IR-13

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.

IT team working through an incident in a server room
One page · one incident
Every step has an owner
13stages from readiness to lessons learned
6calls in order
11numbered response steps

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

ocsa pa c team data center aisle
From our sample report
See this playbook as we deliver it

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

Sample · fictional companySample playbook page IR-13 (Kestrel Harbor Distribution, fictional company)
Usual severity SEV 1 CriticalCategory Network and perimeterCalled first Network leadPlaybook IR-13
The one-minute answer

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.

What it is

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
Who to call

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.

  1. 1Network lead
  2. 2Security lead
  3. 3IT Director (Incident Commander)
  4. 4CISO
  5. 5Firewall vendor support
  6. 6Company attorney

Departments involved

Each department has a defined role during the incident, described on the departments page of the playbook set.

NetworkIT SecurityExecutiveLegal
The 13 stages

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.

Before the incident · readiness

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
During the incident · steps 1 to 11
  1. STEP 01
    FIRST INFORMATION
    First information

    Record 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
  2. STEP 02
    DATA COLLECTION
    Data collection

    Firewall 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
  3. STEP 03
    DISCOVERY AND SCOPE
    Discovery and scope

    Look 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
  4. STEP 04
    PRESERVATION
    Preservation

    Export logs, the running configuration and a vendor diagnostic file before any reboot or upgrade; a reboot can erase evidence.

    Led by: Security team
  5. STEP 05
    SERVICE STATUS
    Service status

    Confirm 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
  6. STEP 06
    WORK ON THE INCIDENT
    Work on the incident

    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.

    Led by: Network team
  7. STEP 07
    ANNOUNCEMENTS
    Announcements

    Inform 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
  8. STEP 08
    LEGAL PROCEDURE
    Legal procedure

    Brief 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
  9. STEP 09
    FIX
    Fix

    Install 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
  10. STEP 10
    RECOVER AND VERIFY
    Recover and verify

    Verify 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
  11. STEP 11
    RECOVERY NOTICE
    Recovery notice

    Tell 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
After the incident · steps 12 and 13
  1. STEP 12
    FINALIZE AND DOCUMENT
    Finalize and document

    Close 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
  2. STEP 13
    LESSONS LEARNED
    Lessons learned

    Hold 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.

From our sample report

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.

Sample report page (Kestrel Harbor Distribution, fictional company): Playbook IR-13: attack on the firewall or vpn gateway (one page in the sample playbook set)
Playbook IR-13: attack on the firewall or vpn gateway (one page in the sample playbook set)1 / 3
Sample · Kestrel Harbor Distribution is a fictional company
Mistakes to avoid

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.

Frameworks

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 ruleWhat it expects
NIST CSF 2.0RS.MA (incident management), RS.CO (incident response reporting and communication), RC.RP (incident recovery plan execution)
NIST SP 800-61 Rev. 3Incident response recommendations mapped to the CSF 2.0 functions
ISO/IEC 27001:2022Annex A 5.24 to 5.27 (incident management), 5.29 (security during disruption), 5.30 (ICT readiness for business continuity)
HIPAA Security Rule45 CFR 164.308(a)(6) security incident procedures and 164.308(a)(7) contingency plan, where the business handles ePHI
SOC 2CC7.4 and CC7.5 (respond and recover), A1.2 and A1.3 (availability: recovery infrastructure and testing)
PCI DSS v4.0.1Requirement 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.

Get it written for your business

Turn this sample into your own plan

Incident Response Plan & Playbooks

$3,500 fixed

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 included

Incident Response Advisory & Evidence Preservation

$3,500 per engagement

When this happens, we help you preserve evidence, coordinate the response with your IT team, attorney and insurer, and document every decision.

Learn more

Already 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, CISSP
Written by

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.

FAQ

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.