TechNetBuddy

FTD · FOUNDATIONS Lab 258

FTD-style: register a firewall with its manager

An FTD-style firewall is managed. Its console shows and tests, and its policy comes from a manager. Before anything else, the two must find and trust each other, over a separate management network: MGR1 and FTD1’s Management0/0 are both on switch SWM. Try configure terminal on FTD1 first, and read why it refuses.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 4 objectives
FTD · FOUNDATIONS Lab 259

FTD-style: zones, a policy and your first deployment

FTD1 is registered and empty. Build its policy on the manager, and notice that nothing reaches the firewall until you deploy. The Deploy screen shows the exact firewall lines first. They are ASA-style configuration, because that is what a deployment produces.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 5 objectives
FTD · BUILD Lab 260

FTD-style: publish a server, and read its events

PC1 already reaches the internet through FTD1. Now put SRV on a DMZ and publish it as 203.0.113.10. Rules name the server’s real address, because the firewall undoes NAT before it reads them. Then use Analysis to see which rule let the traffic in, and the packet tracer to test a port that a ping can’t.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 5 objectives
FTD · BUILD Lab 261

FTD-style: one policy, two firewalls

Two branches, registered and empty, wired differently: F1 uses Gi0/0 and Gi0/1, F2 uses Gi0/2 and Gi0/3, and they name their interfaces differently. You still write one policy. Zones are why: a rule says INSIDE to OUTSIDE, and each firewall says which of its interfaces those are.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 4 objectives
FTD · TROUBLESHOOTING Lab 262

Troubleshoot FTD: the policy looks right, and nothing works

Someone built this policy and went home. PC1 can’t reach the internet, and the manager’s screens look nearly right. There are three faults: one in the rules, one in the routes, and one in what the firewall is actually running.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 4 objectives
FTD · TROUBLESHOOTING Lab 263

Troubleshoot FTD: a firewall that will not register

MGR1 refuses to add FTD1. Both have addresses, and someone typed the manager’s details on the firewall from memory. Try to add the device, and read each refusal: it names the next thing to fix.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 3 objectives
FTD · SNORT Lab 264

FTD-style: stop an attack with an IPS policy

SRV is published on port 80, and the access rule allows port 80 from anywhere. An access rule looks at addresses and ports, so it cannot tell a normal request from an attack on the same port. Snort reads what is inside. On LAP1, the command traffic sends one TCP packet with the text you give it, along the real path.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · SNORT Lab 265

FTD-style: write your own Snort rule

A scanner announces itself with BadBot in its requests, and no built-in rule knows it. Write a rule, and try it safely: detection mode reports what a rule would do without dropping anything, so you can see whether it would break real traffic before you trust it.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · TROUBLESHOOTING Lab 266

Troubleshoot FTD: the IPS lets the attack through

The security team says the server is protected: there is an IPS policy, and it is on the rule. Yet this request still reaches SRV: traffic tcp 203.0.113.10 80 payload "GET /etc/passwd". Three settings are each enough to let it through.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · SNORT Lab 267

FTD-style: stop malware finding its server through DNS

Malware on PC1 must find its command server before it can do harm, and it does that with an ordinary DNS lookup. Rule DNS-OUT lets PC1 ask the DNS server outside (198.51.100.1) on UDP 53, so the lookup leaves like any other. This time the IPS goes on an outbound rule.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · SNORT Lab 268

FTD-style: the IPS can’t see inside HTTPS until you decrypt

SRV now also serves HTTPS, and rule HTTPS-WEB already carries the IPS policy BRANCH-IPS. Yet the same attack that is dropped over port 80 gets through on 443: TLS hides the request, and Snort cannot read what it cannot see. SRV is your own server, so the firewall can hold its key and decrypt.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 3 objectives
FTD · SNORT · BASIC Lab 269

FTD-style IPS 1: the right base policy

WEB-IPS is already on HTTP-WEB, in prevention mode, yet a SQL injection against the search page reaches SRV. Before you write any rule, check what the policy actually turns on: the base policy decides which built-in rules run.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 3 objectives
FTD · SNORT · INTERMEDIATE Lab 270

FTD-style IPS 2: a precise rule for Shellshock

A Shellshock probe hits SRV’s CGI page. Write a custom rule that catches it, and make it precise: a rule that matches too little text blocks real users too. Two content options must both match.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · SNORT · ADVANCED Lab 271

FTD-style IPS 3: fix a false positive without opening a hole

The help desk complains: since WEB-IPS moved to Balanced, nobody can download cmd.exe-cheatsheet.pdf. Rule 1000105 drops any request naming cmd.exe, and it also catches a real attack. Let the one download through, and keep the attack dropped.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · TROUBLESHOOTING Lab 272

Troubleshoot FTD IPS: the custom rule never fires

A colleague wrote rule 1000050 for the bad bot, set it to drop in BOT-IPS, attached the policy and deployed. The bot still reaches SRV, and there is not a single intrusion event. Three separate mistakes each keep the rule from firing.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · FAILOVER Lab 273

FTD-style: a failover pair from the manager

F1 is working, and F2 is registered and empty, with a direct cable between the two Gi0/3 ports. On an ASA you would type failover lines on each unit. Here, one form describes the pair, and a deployment sets up both.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router and switches · 5 objectives
FTD · FAILOVER Lab 274

FTD-style: failover link Failed - No Switchover

HQ-PAIR is configured and deployed, but its failover link runs through switch SWF, and something on that switch keeps the two units apart. With no mate, each unit makes itself active: F2’s show failover says Failed - No Switchover, Mate Unknown, and the other host Failed, as on a real pair whose link is broken.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router and switches · 4 objectives
FTD · FAILOVER Lab 275

FTD-style: high availability on the device manager (no FMC)

No FTD Manager here: each firewall uses its own device manager, as a small site does. F1 is configured and working. F2 has only finished its setup, and a cable joins the two Gi0/3 ports. You make the pair from each device manager’s Device › High Availability page: the primary first, then the secondary, which takes its configuration from the primary.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router and switches · 5 objectives
FTD · FAILOVER Lab 276

FTD-style: register two firewalls on the manager, then make them a pair

The order used on a real FMC: first each firewall points at the manager (configure manager add), then the manager adds both devices, then F1 gets its interfaces and policies, and only then do you make the High Availability pair. The manager already has its address, Evaluation Mode, and the policies ACP1 and NAT1. F1 (10.0.0.1) and F2 (10.0.0.2) have their management addresses, and nothing else.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router and switches · 5 objectives
FTD · VPN Lab 277

FTD-style: a site-to-site tunnel from the manager

Both firewalls work and are on the same manager, and the provider R1 knows nothing about either LAN. On an ASA you would build each end by hand, and any small difference breaks the tunnel. Here, one form describes both ends, and each firewall gets its own lines.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · CAPSTONE Lab 278

FTD-style capstone: one manager, a pair, a branch and an IPS

Three registered, empty firewalls and one manager. HQ is an active/standby pair (HQ1, HQ2) with an inside and a DMZ with the web server SRV. BR is a branch, joined to HQ by an IKEv2 tunnel. One access policy and one NAT policy serve all of them, because zones make that possible. R1 is the internet, with 198.18.0.1 behind it, and LAP1 is somebody out there.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router and switches · 6 objectives
FTD · FOUNDATIONS Lab 279

FTD-style: run a firewall from its own device manager

A small site has one firewall and no FMC. An FTD-style firewall can manage itself: select FTD1 and press Open Device Manager. You build the same zones, policies and NAT as on a manager, and you still deploy. A firewall has one manager at a time: registering with an FMC ends this, as on the real product. MGR1 is here unused, so you can see that nothing needs it.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · SNORT Lab 280

FTD-style: filter by application and URL

Staff on PC1 can reach any web server, because WEB-OUT allows all TCP from INSIDE to OUTSIDE. A port number can’t say what a site or an application is: social networks and ordinary sites all use port 80, and file sharing uses any port. Rules that name an application or a URL read the packet to find out. On PC1, the command traffic sends one packet with the text you give it.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · BUILD Lab 281

FTD-style: a prefilter ahead of the access rules

A prefilter runs first, by addresses and ports alone. Use it for traffic you can decide without reading it. Requests to SRV go through an IPS policy, which is what you want for strangers. But the backup system at 100.64.10.10 (LAP1) sends data that looks like an attack and must not be inspected, and 100.65.0.0/16 is a network you never want to hear from.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 5 objectives
FTD · VPN Lab 282

FTD-style: remote access VPN from the manager

alice works from home on LAP1, behind the provider. PC1 is only reachable inside. On an ASA you would type about thirty lines. On the manager, one wizard describes the connection, and a deployment sends those lines: read them in the preview.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · BUILD Lab 283

FTD-style: FlexConfig for what the manager has no screen for

A manager has no screen for everything. FlexConfig adds configuration lines directly, for the rare case that needs it. It is sharp: the manager refuses lines it owns, and a line the firewall rejects fails the whole deployment.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 4 objectives
FTD · BUILD Lab 284

FTD-style: manage the firewall through a data interface

FTD1 is registered over its Management0/0 port. Many branch firewalls have no separate management network, so the manager reaches them through a data interface instead. MGR1 sits behind R1, so it can reach FTD1’s outside interface. Move manager access to outside, in the order the move must happen: change the manager, deploy while the old path still works, then switch the firewall and the manager’s address for it.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 5 objectives
FTD · TROUBLESHOOT Lab 285

FTD-style: the firewall lost its manager after the move

Someone moved FTD1’s manager access to its outside interface and then unplugged Management0/0: this branch has no management network. Now MGR1 shows FTD1 as unreachable, and nothing can be deployed. Find out why from FTD1’s own console, and fix it there.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 3 objectives
FTD · FOUNDATIONS Lab 286

FTD-style: DNS and time on a standalone firewall

FTD1 runs from its own device manager, and traffic works. But a firewall also needs names and the right time: licences, certificates and log times depend on the clock, and NTP servers are often given by name. Out of the box its DNS and NTP servers are on the Internet, and this lab has no Internet. NS1 (10.0.0.53), on the management network, is a DNS server for lab.test and an NTP server.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · BUILD Lab 287

FTD-style: a rule that names a host (FQDN objects)

The partner’s server is known by name, www.partner.test, and its address can change. An access rule can name it with an FQDN object: the firewall looks the name up and the rule matches the address it gets. The lookup uses the DNS group of the data interfaces, and FTD1 has none yet. NSO (198.18.0.53), on the Internet side, is a DNS server for the partner’s names.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · BY THE SCREENS Lab 288

FTD-style by GUI: a standalone firewall from the setup wizard

A new firewall for a small office, set up the way the device’s own manager expects: with the Device Setup wizard, then its pages. Select FTD1 and press Open Device Manager. Every page shows the commands it sends before it sends them, and the console under the pages takes the same lines. PC1 is on the inside, and R1 is the ISP router (198.51.100.1 is behind it).

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · BY THE SCREENS Lab 289

FTD-style by GUI: register and build a policy in FTD Manager

The firewall side is ready: FTD1 has its management address and names MGR1 as its manager (configure manager add, on its console, because a managed firewall has no screens). Everything else happens in FTD Manager: select MGR1 and press Open FTD Manager. Each screen shows the commands it sends, and the console under the screens takes the same lines.

Cisco FTD-style · Cisco FTD-style, FTD Manager, Cisco router · 4 objectives
FTD · BY THE SCREENS Lab 290

FTD-style by GUI: change a managed firewall’s management address

FTD1 must move from 10.0.0.2 to 10.0.0.12 on the management network, and stay managed by MGR1. Cisco’s documented order: on the manager, turn Management off for the device, edit its Remote Host Address, change the address on the firewall’s console, then turn Management on. The firewall stays registered the whole time. Select MGR1 and press Open FTD Manager.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 4 objectives
FTD · FOUNDATIONS Lab 291

FTD-style: give a new FTD Manager its management address

A new management center starts with a default address (192.168.45.45) that is not on your network, and its web interface can be reached only once it has the right one. As on an FMC 10.x, its > prompt has no command for the address (configure network has only dns): you set it from the expert shell, as root, with configure-network, which asks its questions one at a time. MGR1 is the new manager, and ADM is your admin PC on the management network. RouteBuddy skips the login and passwords.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 4 objectives
FTD · FAILOVER Lab 292

FTD-style: two managers as a high-availability pair

One manager is a single point of failure for every change and deployment (traffic keeps flowing without it, but nobody can change a rule). Two managers can work as a pair. One is active: it takes every change and deploys. The other is the standby: it copies the active one and is read-only. MGR1 (10.0.0.5) already manages FTD1 and has its policy. MGR2 (10.0.0.6) is new and empty. On a real management center you build the pair on Integration › Other Integrations › High Availability, and there are no console commands for it: the manager-ha lines here are RouteBuddy’s own, so that you can see what each click sends.

Cisco FTD-style · Cisco FTD-style, FTD Manager · 5 objectives