Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计提醒

cisco-firewall-audit思科防火墙审计

Agent Skill

用于辅助安全审计、权限检查、凭据风险、认证流程和常见漏洞排查。它适合让 Agent 梳理敏感配置、检查依赖风险、分析鉴权逻辑或生成安全复核清单。使用时不能把工具输出直接当最终结论,涉及密钥、令牌、用户数据或生产系统时,应先确认最小权限、脱敏方式和操作边界。

总安装

3,672

周安装

150

GitHub Stars

公开资料未说明

下载量

1,188
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cisco-firewall-audit(思科防火墙审计)
来源仓库:https://github.com/vahagn-madatyan/cisco-firewall-audit
安装命令:
openclaw skills install cisco-firewall-audit
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install cisco-firewall-audit

简介

cisco-firewall-audit 审核 Cisco ASA 和 FTD 防火墙配置。

  • 提供 ACL 分析、NAT 策略和 MPF 验证功能。
  • 适合网络安全审计和策略优化需求。cisco-firewall-audit 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 通过 clawhub 安装,专为 OpenClaw 研究检索设计。
  • 建议在非生产环境先行验证审计规则。

SKILL.md

name
cisco-firewall-audit
description
>-
license
Apache-2.0
metadata
safety
read-only
author
network-security-skills-suite
version
1.0.0
openclaw
{"emoji":"🛡️","safetyTier":"read-only","requires":{"bins":["ssh"],"env":[]},"tags":["cisco","asa","ftd","firewall"],"mcpDependencies":[],"egressEndpoints":[]}

Cisco ASA / FTD Firewall Security Policy Audit

Policy-audit-driven analysis covering both Cisco ASA (classic) and Firepower Threat Defense (FTD). Unlike generic firewall checklists that check for open ports and default-deny, this skill evaluates the platform-specific security architecture: ASA security levels with interface-bound ACLs and Modular Policy Framework, or FTD Access Control Policy with Snort IPS integration and Firepower Management Center (FMC) orchestration.

Where platforms diverge, sections use [ASA] and [FTD] labels. Shared concepts apply to both platforms unlabeled. Covers ASA 9.x+ and FTD 6.x+ / 7.x+ managed by FMC or FDM. Reference references/policy-model.md for the ASA security-level model and FTD ACP evaluation chain, and references/cli-reference.md for dual-platform read-only commands.

When to Use

  • ACL review after rule changes or migration from ASA to FTD
  • Annual or quarterly compliance audit requiring per-rule justification
  • Post-incident rule assessment to identify how traffic was permitted
  • [ASA] Security level and interface ACL gap analysis
  • [ASA] Modular Policy Framework audit — verifying inspection maps
  • [FTD] Access Control Policy rule ordering and IPS coverage review
  • [FTD] Snort IPS policy tuning assessment — false positive vs detection gap balance
  • NAT policy validation after network re-addressing or migration
  • VPN configuration security review — site-to-site and remote access
  • Failover / HA posture verification
  • Pre-migration baseline before ASA-to-FTD conversion

Prerequisites

  • [ASA] Privilege level 5+ (read-only show commands) or ASDM read-only access
  • [FTD] Read-only analyst access to FMC web UI or FMC REST API; Expert shell access for Snort-level diagnostics
  • Understanding of the interface topology — which interfaces exist, their security levels ([ASA]), and network segment assignments
  • Knowledge of expected access policies per interface pair or zone
  • For multi-context ASA: access to system and each security context
  • [FTD] Knowledge of IPS policy baseline — which Snort ruleset and network analysis policy are expected
  • Active configuration — audit evaluates the running configuration, not pending changes

Procedure

Follow this audit flow sequentially. Each step builds on prior findings. The procedure moves from platform identification through access policy, NAT, inspection/IPS, VPN, and logging.

Step 1: Platform Identification and Architecture Inventory

Determine the platform and collect architectural baseline.

show version

Identify: ASA vs FTD, software version, hardware platform (ASA 5500-X, Firepower 1000/2100/4100/9300, virtual), licensed features.

[ASA] Inventory interfaces, security levels, and context mode:

show interface ip brief
show nameif
show mode

Security levels (0–100) determine implicit traffic flow: traffic from a higher security level to a lower is permitted by default (unless ACLs override); lower-to-higher is denied by default. Record each interface name, security level, and IP address.

For multi-context ASA:

show context
changeto context <name>
show interface ip brief

[FTD] Identify management model and registered devices:

show managers

FTD managed by FMC: policy is pushed from FMC — audit via FMC UI/API. FTD managed by FDM (local): policy configured on-device — audit via FDM web UI or REST API.

Check failover/HA status on both platforms:

show failover
show failover state

Record active/standby status, failover interface, and last failover time.

Step 2: Access Policy Analysis

[ASA] ACL-based access control:

show access-list
show running-config access-list
show running-config access-group

ASA uses interface-bound ACLs. Each ACL is applied inbound or outbound on an interface via access-group. Evaluate:

  • ACL evaluation order: Top-down within each ACL. First matching ACE

(Access Control Entry) is applied. Implicit deny at the bottom.

  • Global ACL: If configured, applies to all interfaces. Interface ACLs

are evaluated before the global ACL.

  • Overly permissive ACEs: permit ip any any or permit tcp any any

entries are Critical findings — they permit all traffic of that protocol.

  • Unused ACEs: ACEs with zero hit counts (check show access-list

output for hitcnt=0) over 90+ days are cleanup candidates.

  • EtherType ACLs: Used on transparent firewall interfaces. Review for

overly broad EtherType permits.

show access-list <acl-name> brief

[FTD] Access Control Policy (ACP):

Access the ACP via FMC UI or REST API. The ACP evaluates traffic through a defined chain (see references/policy-model.md). Evaluate:

  • Prefilter policy: Hardware-level rules that bypass Snort. Overly

broad prefilter Trust rules skip all inspection.

  • SSL policy: Determines which TLS flows are decrypted for inspection.
  • Access Control rules: Top-down evaluation. Actions: Allow (with or

without IPS), Trust (bypass Snort), Block, Monitor. - Rules with Action=Allow and no Intrusion Policy pass traffic without IPS inspection. - Rules with Action=Trust bypass all further inspection including IPS and file/malware — use only for verified trusted flows.

  • Default action: Applied when no rule matches. Should be Block with

logging, not Allow.

  • Intrusion Policy binding: Each Allow rule can bind an Intrusion

Policy (Snort ruleset). Rules without one pass traffic uninspected.

system support diagnostic-cli
show access-control-config

Step 3: NAT Policy Audit

[ASA] NAT order of operations:

show nat
show nat detail
show running-config nat
show xlate

ASA NAT evaluates in three sections:

  • Section 1 (Manual NAT / Twice NAT): Explicit rules, top-down. Highest

priority. Used for fine-grained control.

  • Section 2 (Auto NAT / Object NAT): Per-object NAT definitions.

Evaluated after Section 1. Ordering: static rules first, then dynamic.

  • Section 3 (Manual NAT after-auto): Low-priority manual rules evaluated

after auto NAT. Used for catch-all translations.

Check for NAT rule conflicts — a Section 1 rule that matches the same traffic as a Section 2 object NAT always wins. Verify that static NAT entries for published servers have corresponding ACL entries restricting access.

[FTD] NAT rules in FMC:

FTD NAT follows the same three-section model as ASA but is configured via FMC. Review NAT rules in the FMC NAT policy. Verify:

  • Manual NAT rules take precedence over auto NAT
  • NAT rules align with ACP rules — ensure translated addresses match ACP

source/destination references

  • No unnecessary identity NAT rules consuming processing

Cross-reference NAT entries with access policy on both platforms — static NAT that exposes internal servers must have restrictive access rules.

Step 4: Inspection and IPS Assessment

[ASA] Modular Policy Framework (MPF):

show running-config class-map
show running-config policy-map
show running-config service-policy
show service-policy

ASA inspection uses MPF: class-maps define traffic → policy-maps bind inspections → service-policies apply to interfaces. Evaluate:

  • Default inspection: ASA enables inspection for common protocols

(HTTP, DNS, FTP, etc.) via the global_policy. Verify the global policy is applied (service-policy global_policy global).

  • Custom inspections: Additional class-maps/policy-maps for specific

traffic patterns. Verify they are applied to correct interfaces.

  • Missing inspections: Traffic not matching any class-map in the

service-policy receives no application-layer inspection — only ACL enforcement.

  • Connection limits: MPF can set connection limits and timeouts.

Review for overly permissive or missing connection limits on internet-facing interfaces.

[FTD] Snort IPS and File/Malware policies:

  • Intrusion Policy: Each ACP Allow rule can reference an Intrusion

Policy that determines the Snort ruleset. Check that internet-facing Allow rules bind an Intrusion Policy.

  • Snort rule sets: Verify the base policy (Balanced Security and

Connectivity, Connectivity Over Security, Security Over Connectivity, Maximum Detection). For production environments, "Balanced Security and Connectivity" is the minimum recommended baseline.

  • Network Analysis Policy (NAP): Controls protocol decoder settings

and preprocessor configuration. Misconfigured NAP can cause Snort detection gaps.

  • File and Malware Policy: Detects and blocks malware file transfers.

Verify binding on rules permitting file-carrying protocols (HTTP, SMTP, FTP, SMB).

  • Snort deployment mode: Inline (can block) vs passive (alert only).

Production deployments should use inline mode for active prevention.

system support diagnostic-cli
show snort statistics

Step 5: VPN and Remote Access Audit

Evaluate VPN configuration security on both platforms.

show crypto ipsec sa
show crypto ikev2 sa
show vpn-sessiondb

Check:

  • Site-to-site tunnels: Verify IKE version (IKEv2 preferred over

IKEv1), encryption algorithms (AES-256-GCM recommended; DES/3DES are findings), DH groups (group 14+ recommended; groups 1/2/5 are weak), and PFS settings.

  • Crypto maps / tunnel groups: [ASA] Review crypto map entries

and tunnel group definitions. [FTD] Review site-to-site VPN topology in FMC.

  • AnyConnect / remote access VPN: If configured, evaluate:

- Authentication method (certificate + MFA preferred over password-only) - Split tunneling settings (full tunnel recommended for security; split tunnel for performance — document the choice) - Connection profiles and group policies - Client certificate validation settings - Banner and session timeout configuration

show running-config tunnel-group
show running-config group-policy
  • IKE/IPSec SA lifetimes: Very long lifetimes (>24h IKE, >8h IPSec)

increase exposure if keys are compromised.

Step 6: Logging and Monitoring

Evaluate logging configuration and coverage.

[ASA] Syslog configuration:

show logging
show running-config logging
  • Syslog severity: Verify logging level is set to at least

"informational" (level 6) for security-relevant events. Level 5 (notifications) misses connection teardown events. Level 7 (debugging) generates excessive volume.

  • Syslog destinations: Verify syslog server(s) are configured and

reachable. Check for encrypted syslog (TCP/TLS) for log integrity.

  • SNMP: If configured, verify community strings are not defaults and

SNMP v3 is used for authentication/encryption.

[FTD] Firepower event logging:

  • Connection events: In FMC, verify connection logging is enabled on

ACP rules. "Log at End of Connection" is standard; "Log at Beginning" adds volume but provides immediate visibility.

  • Intrusion events: Automatically logged by Snort when rules trigger.

Verify events are forwarded to the SIEM.

  • eStreamer: The Firepower event streaming API for SIEM integration.

Verify eStreamer client connectivity if in use.

  • Security Analytics / SecureX: If integrated, verify telemetry

forwarding is active.

show logging
show running-config logging

Verify logging covers: denied connections (ACL denials), permitted connections (for audit trail), VPN events, failover events, and administrative access.

Threshold Tables

Policy Rule Severity Classification

FindingSeverityRationale
[ASA] permit ip any any in interface ACLCriticalPermits all IP traffic — no access restriction
[FTD] ACP default action set to AllowCriticalAll unmatched traffic permitted without inspection
[FTD] Prefilter Trust rule with broad match (any/any)CriticalTraffic bypasses all Snort inspection
[ASA] No global service-policy appliedHighNo application-layer inspection on any traffic
[FTD] Allow rule without Intrusion Policy bindingHighTraffic permitted without IPS inspection
[FTD] SSL policy not decrypting internet-bound trafficHighSnort inspects only metadata on encrypted flows
VPN using DES/3DES or DH group 1/2/5HighWeak cryptographic algorithms — vulnerable to attack
Static NAT with no restricting ACLHighPublished server accessible on all ports
Failover configured but standby not monitoringHighHA not providing redundancy
[FTD] Snort in passive mode (production)HighIPS detects but cannot block threats
[ASA] ACE with hitcnt=0 for >90 daysMediumUnused rule — cleanup candidate
[FTD] File/Malware policy not bound on file-carrying rulesMediumMalware detection gap on HTTP/SMTP/FTP
VPN split tunneling enabledMediumRemote user traffic may bypass corporate security controls
Logging severity below informational (level 6)MediumSecurity events not captured in logs
[ASA] Security levels equal with same-security-traffic disabledLowTraffic between equal interfaces blocked (may be intentional)

IPS / Inspection Maturity

CoverageMaturityGuidance
[FTD] All Allow rules have Intrusion + File/Malware policiesMatureMaintain; tune Snort rules quarterly
[FTD] Most Allow rules have Intrusion Policy, some gapsDevelopingBind Intrusion Policy to remaining Allow rules
[ASA] Global inspection policy active, custom maps definedDevelopingEvaluate FTD migration for deeper inspection
[ASA] Default global_policy only, no custom inspectionsImmatureAdd custom inspection maps for critical protocols

Decision Trees

Access Policy Gap Remediation

Overly permissive access rule identified
├── Platform?
│   ├── [ASA] permit ip any any in ACL
│   │   ├── Is ACL applied to an interface?
│   │   │   ├── Yes → CRITICAL: All traffic permitted on that interface
│   │   │   │   └── Analyze connections: show conn [interface]
│   │   │   │       → Replace with specific permit entries
│   │   │   └── No → ACL exists but not applied; verify intent
│   │   └── Global ACL?
│   │       └── Applies to all interfaces → assess scope of exposure
│   │
│   └── [FTD] Allow rule without Intrusion Policy
│       ├── What traffic does the rule match?
│       │   ├── Internet-bound → Bind Intrusion Policy (Balanced minimum)
│       │   │   └── Also bind File/Malware policy
│       │   ├── Inter-zone → Bind Intrusion Policy
│       │   └── Trusted internal → Evaluate risk; bind at minimum
│       │
│       └── Is it a Trust rule?
│           ├── Yes → Bypasses ALL inspection
│           │   └── Verify traffic is truly trusted (e.g., backup)
│           │       └── Consider changing to Allow + Intrusion Policy
│           └── No (Allow) → Add Intrusion Policy binding
│
└── Action = Trust vs Allow?
    ├── Trust → Zero inspection; use sparingly
    └── Allow → Inspection possible; bind policies

NAT Conflict Resolution

NAT rule conflict suspected
├── [ASA] Which section is each rule in?
│   ├── Section 1 (Manual) vs Section 2 (Auto) → Section 1 always wins
│   ├── Both in Section 2 → Static evaluates before dynamic; check overlap
│   └── Section 1 vs Section 3 → Section 1 wins; Section 3 may be unreachable
│
├── [FTD] Same three-section model via FMC
│   └── Review NAT policy → identify ordering conflicts
│
└── Verify with packet tracer:
    packet-tracer input <iface> tcp <src> <sport> <dst> <dport>

Report Template

CISCO ASA / FTD SECURITY POLICY AUDIT REPORT
===============================================
Device: [hostname]
Platform: [ASA model / FTD model]
Software: [ASA version / FTD version]
Management: [ASDM / FMC hostname / FDM]
Mode: [routed / transparent] [single / multi-context]
Failover: [active-standby / active-active / standalone]
Audit Date: [timestamp]
Performed By: [operator/agent]

INTERFACE / ZONE SUMMARY:
[ASA]: Interfaces: [count] (security levels: [list]) | Multi-context: [yes/no]
[FTD]: Zones: [count] ([list]) | Managed by: [FMC/FDM]

ACCESS POLICY:
[ASA]: ACLs: [count] | ACEs total: [n] | hitcnt=0 (>90d): [n] | Global service-policy: [yes/no]
[FTD]: ACP rules: [n] (Allow:[n] Block:[n] Trust:[n])
       IPS-bound: [n]/[allow] | File/Malware-bound: [n]/[allow] | Default: [Block/Allow]

NAT: Section 1: [n] | Section 2: [n] | Section 3: [n] | Static: [n] | Conflicts: [n/none]

INSPECTION / IPS:
[ASA]: Service-policy: [applied/missing] | Inspected: [protocols]
[FTD]: IPS policy: [name] | Snort: [inline/passive] | SSL decrypt: [n rules/none]

VPN: Tunnels: [n] | IKE: [v1/v2] | Crypto: [algs] | AnyConnect: [yes/no] | Split: [yes/no]

FINDINGS:
1. [Severity] [Category] — [Description]
   Platform: [ASA/FTD] | Rule: [id] | Interface/Zone: [name]
   Issue: [problem] → Recommendation: [remediation]

RECOMMENDATIONS: [Prioritized by severity]
NEXT AUDIT: [CRITICAL: 30d, HIGH: 90d, clean: 180d]

Troubleshooting

ASA-to-FTD Migration Assessment

When evaluating an ASA for migration to FTD, document: ACL count, NAT rules, MPF inspections, VPN configurations (crypto maps don't migrate directly), and multi-context usage (FTD does not support multi-context). The Cisco Firepower Migration Tool provides a baseline but audit the migrated policy for accuracy — automated migration often produces suboptimal rule ordering.

Multi-Context ASA Audits

Each security context is an independent firewall with its own interfaces, ACLs, NAT, and routing. Audit each context separately via changeto context <name>. Use show context in the system context to list all contexts and show resource allocation for per-context limits.

Large ACLs (>1000 ACEs)

Export the configuration (show running-config access-list) and parse programmatically. Prioritize by hit count — high-hit-count ACEs carry the most traffic. Zero-hit-count ACEs over 90 days are removal candidates.

FTD Diagnostic CLI

FTD runs Snort on top of an ASA-derived data plane. Use system support diagnostic-cli for ASA-style show commands. The canonical policy source is FMC — the diagnostic CLI shows deployed results.

Packet Tracer for Policy Verification

Both platforms support packet tracer for simulating traffic:

packet-tracer input <interface> tcp <src-ip> <src-port> <dst-ip> <dst-port>

Shows each processing phase: ACL/ACP evaluation, NAT translation, inspection, routing, and egress. Use to verify audit findings.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

82.91%
按下载量换算985

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install cisco-firewall-audit 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills