Skip to content

Newark, Delaware

Security

A network attack recovery runbook for Cisco and Fortinet estates

Contain the incident, preserve evidence, restore clean management paths and verify the network before normal traffic returns.

August 12, 20267 min readStarlink Nexus Security Practice
A network attack recovery runbook for Cisco and Fortinet estates

Contain without destroying evidence

The first priority during a network attack is to halt the spread of malicious activity without erasing the evidence required for later analysis. This is a delicate balance. The response lead must quickly assess whether to isolate a VLAN, revoke a remote VPN session, or disconnect an internet uplink. Each action has a different impact. For example, isolating a VLAN containing compromised endpoints can prevent lateral movement, but risks cutting off critical business applications. Revoking a remote session may stop an attacker’s access but could also disrupt legitimate remote work. Disconnecting an internet link is a last resort, suitable only if internal compromise is confirmed and external command-and-control traffic is ongoing.

The response lead should identify the business impact of each containment step and designate an incident owner who will coordinate technical and business communication. Avoid blanket shutdowns unless absolutely necessary. Instead, use firewall rules to block specific IPs or ports, or disable compromised user accounts in Active Directory. Make these changes through a dedicated incident response ticket queue, ensuring every action is logged for later review.

Before any device is rebuilt or wiped, preserve volatile evidence. Export syslogs, firewall event logs, and running configurations from affected Cisco switches, routers, and Fortinet firewalls. Capture memory dumps if feasible. Screenshots can help document the state of a device, but are less reliable than full exports. Do not reboot or power-cycle devices until evidence is secured. Good containment means the attack is halted, evidence is preserved, and business disruption is minimised. Avoid making configuration changes that cannot be reversed or explained later during the post-incident review.

Restore known-good paths

Restoration begins with the management plane. Before re-enabling user access, rebuild secure management connectivity to affected devices. For Cisco, this may involve restoring SSH access to a management VLAN and verifying TACACS+ or RADIUS authentication. For Fortinet, ensure the management interface is accessible only from trusted jump hosts. Test that monitoring tools can poll device health and log events.

Next, rotate any credentials or certificates that may have been exposed. This includes local admin passwords, SNMP community strings, and SSL certificates used for VPNs or web management. Use a password manager or secrets vault to generate and distribute new credentials. Document every change in the incident response ticket queue.

Do not copy a potentially compromised configuration to every device. Instead, compare the current running config with a tested backup and an approved baseline. For Cisco, use configuration diff tools to highlight unauthorised changes. For Fortinet, export the current configuration and compare it to the last known-good backup job. Pay close attention to DNS settings, static routes, firewall policies, and remote access rules. A common failure mode is restoring a config that still contains a malicious backdoor or misconfiguration, such as an open management port or a rogue static route.

Verify that DNS resolution, routing between key VLANs, and firewall rules are correct and match the documented baseline. Test remote access from a clean endpoint to ensure that only authorised users can connect. Good restoration means management, identity, and monitoring paths are rebuilt and validated before any user traffic is allowed. Avoid shortcuts such as reusing old credentials or skipping configuration reviews.

Return to service deliberately

Restoring production services should be a controlled, stepwise process. Bring one service or segment back online at a time, starting with the least critical or most isolated. For example, enable a test VLAN and monitor for unexpected traffic or alerts. Assign a dedicated monitoring engineer to watch for anomalies using SIEM dashboards and device syslogs. Set up a new alert threshold for unusual login attempts or outbound connections.

Document every change in the incident timeline. Use a central incident response ticket queue to track which VLANs, firewall policies, and services have been restored. Assign escalation contacts for each restored segment, so that any issues can be quickly triaged.

Common failure modes at this stage include bringing up too many services at once, which can mask ongoing compromise, or failing to monitor restored segments, allowing a persistent threat to re-establish itself. Avoid restoring from untested backups or skipping post-restoration validation. Good practice is to keep the incident timeline updated, collect all evidence of changes, and ensure that each restored service is stable before moving to the next.

Evidence preservation and forensic artefacts

Preserving forensic artefacts is critical for understanding the attack and meeting compliance requirements. Start by exporting syslogs, firewall event logs, and audit trails from all affected Cisco and Fortinet devices. For Cisco, use the show logging and show running-config commands to export logs and configurations. For Fortinet, export the event log and configuration file through the web interface or CLI. Save these artefacts to a secure, write-once location, such as a network share with restricted access.

Capture volatile evidence such as active sessions, ARP tables, and routing tables. For Cisco, run show users, show arp, and show ip route to capture current state. For Fortinet, use get system session list and diagnose firewall iprope session list. If possible, take a memory dump of compromised endpoints before shutdown.

A specific failure mode is overwriting logs by rebooting or reimaging a device before evidence is collected. Another is failing to preserve the timeline of configuration changes, making it difficult to reconstruct the attack path. Good evidence preservation means all relevant artefacts are exported and stored securely, with access logged. Avoid making changes to devices until evidence is secured, and do not rely solely on screenshots or incomplete logs.

Communication and escalation procedures

Clear communication is essential during incident response. Establish a dedicated incident response ticket queue in your ITSM tool, such as "IR-2024-Network-Compromise." Assign roles: incident owner, technical lead, communications lead, and business liaison. Use this queue to document every action, decision, and artefact collected.

Notify stakeholders according to your incident response plan. This may include IT management, compliance officers, and external partners. Use pre-approved communication templates to avoid disclosing sensitive details. Schedule regular update calls or messages, and record decisions in the ticket queue.

A failure mode is uncoordinated communication, leading to conflicting instructions or missed escalations. Another is failing to notify business owners of affected services, resulting in confusion or lost productivity. Good communication means every action is logged, roles are clear, and stakeholders are kept informed without unnecessary detail. Avoid using informal channels for critical updates, and ensure all escalations are tracked in the incident queue.

Post-incident review and change management

After containment and restoration, conduct a structured post-incident review. Gather the incident timeline, exported logs, configuration backups, and monitoring alerts. Schedule a review meeting with technical staff, management, and business owners. Use the incident response ticket queue as the primary record.

Review each step: containment, restoration, and return to service. Identify what worked, what failed, and where processes can be improved. For example, if a VLAN isolation was delayed due to unclear ownership, update the escalation matrix. If configuration backups were missing or outdated, adjust the backup job schedule and retention policy.

A common failure mode is skipping the review or failing to document lessons learned. Another is making ad-hoc changes to firewall policies or VLANs without updating the approved baseline. Good post-incident review means all artefacts are collected, actions are documented, and change management processes are updated. Avoid blaming individuals; focus on process improvement and future prevention.

Testing and validation of recovery procedures

Testing recovery procedures is essential to ensure readiness for future incidents. Schedule regular tabletop exercises using your actual Cisco and Fortinet configurations. Simulate specific failures, such as a compromised management VLAN or a firewall policy misconfiguration. Use configuration exports and backup jobs to practice restoration steps.

Validate that all recovery steps are documented and can be followed by different team members. Test the alert thresholds set during the incident to ensure they trigger as expected. Review the incident response ticket queue for completeness and clarity. After each test, update procedures and artefact lists based on findings.

A failure mode is relying on untested procedures or outdated configuration backups. Another is failing to test escalation paths, resulting in delays during a real incident. Good testing means recovery steps are current, tested, and accessible, and all artefacts—such as config exports and alert thresholds—are validated. Avoid assuming that procedures will work without regular testing, and keep documentation up to date.

Ongoing monitoring and proactive controls

Continuous monitoring is required to detect and prevent future attacks. Review and tune alert thresholds on Cisco and Fortinet devices. For example, set alerts for failed login attempts, configuration changes, and unusual outbound connections. Use your SIEM or monitoring platform to aggregate logs and trigger incident tickets automatically.

Implement regular backup jobs for device configurations and logs. Store backups in a secure, off-network location with access controls. Schedule periodic reviews of firewall policies, VLAN configurations, and management access lists. Use configuration compliance tools to compare running configs with approved baselines.

A specific failure mode is letting monitoring rules or backup jobs become stale, missing new attack vectors or device changes. Another is failing to review alert thresholds after network changes, resulting in missed incidents or false positives. Good ongoing monitoring means alerts are actionable, backups are current, and configuration compliance is enforced. Avoid complacency—review monitoring and backup artefacts regularly, and update controls as the environment evolves.

Topics

#CyberSecurity

Starlink Nexus Security practice

If this reflects a problem you are dealing with, we can review your environment and tell you what we would change first - including if the answer is nothing.

Start a conversation

Next step

Let's scope it properly.

A 30-minute call is usually enough to tell whether we are the right fit. No pitch deck, no pressure.