Network Firewall Flashcards

1
Q

Routing

TL;DR for Network Firewall?

A

Protects your VPCs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Routing

Does a NF protect incoming or outgoing traffic?

A

Both

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Routing

Is NF simple filtering or deep-packet inspection?

A

Yes to both

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Routing

How/where do you put NF in your VPC?

A

It’s just ENIs: create dedicated subnets, put NF ENIs in each

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Routing

How do you get inbound traffic to go thru the NF?

A

IGW Route Table sends incoming packets from IGW to the NF ENIs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Routing

How do you get outbound traffic to go thru the NF?

A

Just like NAT GWs: Route Tables send 0.0.0.0/0” to the NF subnets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Routing

Is NF HA?

A

Yes if you create multiple ENIs in different AZs

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Configuration

Top-level thing that holds all configuration for a NF?

A

Firewall Policy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Configuration

Limit on the number of Firewall Policies per NF?

A

1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Configuration

Can a Firewall Policy be shared with other NF?

A

Yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Configuration

What’s inside a Firewall Policy?

A

Rule Groups (which hold Rules)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Configuration

Are Rules stateful or stateless?

A

Both! You pick.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Configuration

What are the different actions a Rule can take?

A

Pass, drop, forward, custom (for stateful rules)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Configuration

What is the “5-Tuple”?

A

source IP, source port, dest IP, dest port, protocol (like TCP vs. UDP)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Configuration

What are the two Engines in a NF?

A

Stateless Engine and Stateful Engine

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Stateless Engine

What’s the default action if a packet doesn’t match a stateless Rule?

A

Whatever you configured

17
Q

Stateless Engine

How can the two Engines interact?

A

Stateless can forward a packet to the Stateful engine (but not the other direction)

18
Q

Stateless Engine

What sequence are stateless Rules processed?

A

Priority Order (lowest number is highest priority)

19
Q

Stateless Engine

What happens if two stateless Rules match a packet being inspected?

A

Doesn’t happen: Engine stops as soon as it finds a Rule that matches

20
Q

Stateless Engine

What do stateless Rules operate on?

A

5-Tuple

21
Q

Stateful Engine

What’s the Stateful Engine code base?

A

Suricata (open standard)

22
Q

Stateful Engine

How does the stateful engine interact with the stateless engine?

A

It doesn’t

23
Q

Stateful Engine

What sequence are stateful rules processed?

A

Depends: choose from Strict Order or Action Order

24
Q

Stateful Engine

What is Strict Order?

A

Evalutes each rule one-at-a-time, in the order you list them

25
Q

Stateful Engine

What is Action Order?

A

Evaluate all pass rules, then all drop rules, then all reject rules

26
Q

Stateful Engine

What do stateful Rules operate on:

A

5-Tuple + domain names + entire packet (deep-packet inspection)