nerdexam
GIAC

GSEC · Question #90

You have set up a local area network for your company. Your firewall separates your network into several sections: a DMZ with semi-public servers (web, dns, email) and an intranet with private…

The correct answer is B. You installed a hub in the private section and a switch in the DMZ. A hub broadcasts all frames to every port, allowing a sniffer to capture all traffic on that segment, while a switch forwards frames only to the intended destination port, limiting sniffing to the device's own traffic.

Networking and Core Concepts

Question

You have set up a local area network for your company. Your firewall separates your network into several sections: a DMZ with semi-public servers (web, dns, email) and an intranet with private servers. A penetration tester gains access to both sections and installs sniffers in each. He is able to capture network traffic for all the devices in the private section but only for one device (the device with the sniffer) in the DMZ. What can be inferred about the design of the system?

Options

  • AYou installed a router in the private section and a switch in the DMZ
  • BYou installed a hub in the private section and a switch in the DMZ
  • CYou installed a switch in the private section and a hub in the DMZ
  • DYou installed a switch in the private section and a router in the DMZ

How the community answered

(33 responses)
  • A
    12% (4)
  • B
    79% (26)
  • C
    3% (1)
  • D
    6% (2)

Why each option

A hub broadcasts all frames to every port, allowing a sniffer to capture all traffic on that segment, while a switch forwards frames only to the intended destination port, limiting sniffing to the device's own traffic.

AYou installed a router in the private section and a switch in the DMZ

A router in the private section would not flood all traffic to all ports, so the sniffer could not capture traffic for all devices; this contradicts the observed behavior.

BYou installed a hub in the private section and a switch in the DMZCorrect

Because the sniffer in the private section captured all device traffic, the private section uses a hub - which floods every frame out all ports. Because the sniffer in the DMZ captured only its own device's traffic, the DMZ uses a switch - which forwards frames only to the MAC-addressed destination port, preventing promiscuous-mode capture of other devices' traffic.

CYou installed a switch in the private section and a hub in the DMZ

A switch in the private section would prevent the sniffer from seeing other devices' traffic, and a hub in the DMZ would allow the sniffer to capture all DMZ traffic - the opposite of what was observed.

DYou installed a switch in the private section and a router in the DMZ

A router in the DMZ would not cause the observed sniffing limitation; routers operate at Layer 3 and segment broadcast domains rather than enabling or disabling promiscuous sniffing the way a switch does.

Concept tested: Hub vs switch traffic forwarding and network sniffing

Source: https://www.cisco.com/c/en/us/support/docs/lan-switching/ethernet/10561-3.html

Topics

#network switches#hubs#packet sniffing#network segmentation

Community Discussion

No community discussion yet for this question.

Full GSEC Practice