Chapter 13 · Reading 2 of 3
Network attacks in evidence
CHFI domains 1, 3, 5, 6
While examining Corbel’s Sunday evening, the examiner finds more than the outbound transfer. The file server logged a burst of failed logons, the public website slowed to a crawl for twenty minutes, and an internal DNS server answered some queries with an address nobody recognizes. Each could be a separate attack, a distraction or noise. The examiner needs to recognize each pattern in the evidence and judge how strongly the evidence supports it.
Floods: too much traffic of one kind
A denial-of-service attack exhausts a resource so legitimate users cannot reach a service. Floods are distinguished by what they exhaust.
- SYN flood
- Many TCP SYN packets, often from spoofed sources, with few or no completed handshakes. The server’s table of half-open connections fills.
- In a capture: SYN and SYN-ACK pairs with no final ACK. Filter
tcp.flags.syn==1 && tcp.flags.ack==0. - UDP flood
- High volumes of UDP packets to random or specific ports, consuming bandwidth and processing.
- Often accompanied by ICMP “port unreachable” replies from the target.
- HTTP flood
- Complete, valid-looking requests at a high rate, usually to expensive pages, exhausting the application rather than the network.
- Web logs show many requests per client, odd user agents and repetitive paths.
Corbel’s website slowdown shows completed TLS sessions and a web-server log with 38,000 requests in twenty minutes to the shipment-search page, from about 400 addresses, each with the same unusual user agent. That fits an HTTP flood, not a SYN flood.
Password attacks on network services
Password attacks against FTP, SMB, SSH and remote desktop show up as authentication failures. The pattern tells the examiner what kind of attack it was.
- Brute force: many passwords against one account. Corbel’s file server logged 1,412 failed SMB logons (Windows event 4625) against
svc-scannerfrom 10.40.30.9 in six minutes, then a successful network logon (4624 type 3). - Password spraying: one or a few common passwords against many accounts, often slowly, to stay under lockout thresholds.
- Credential stuffing: username and password pairs leaked from other breaches, tried against a service.
For FTP, which sends credentials in clear text, a packet capture shows each USER and PASS command and the server’s 530 Login incorrect replies. For SMB, the evidence usually comes from Windows event logs and the NTLM or Kerberos events on the domain controller (Chapter 8). The success after the failures is the most important event, because it marks the start of whatever the attacker did next.
Abusing mail, management and naming services
SMTP abuse includes using a misconfigured server as an open relay to send spam, and rapid recipient checks with VRFY or RCPT TO to discover valid addresses. The mail server’s log shows the sending client, the commands and the volume. SNMP, used to manage network devices, is abused when devices accept default community strings such as “public” or “private”. Older versions send those strings in clear text, so a capture shows them, and an attacker with write access can change device configuration. Device logs and SNMP traps record the requests.
Rogue DNS describes a resolver that returns false answers, whether an unauthorized DNS server on the network, a hijacked router setting or a poisoned cache. Corbel’s internal resolver answered queries for the payroll portal with 10.40.99.4, a host that does not appear in the asset inventory. The examiner compares the answers in DNS logs with authoritative records and checks DHCP options, which hand clients their DNS server, for changes.
Infrastructure logs and honeypots
Routers log interface changes, routing updates, access-list hits and administrative logins. Switches log port changes, and their MAC address tables, port-security violations and DHCP-snooping records tie a MAC address to a physical port. At Corbel, a switch log shows a new device appearing on port Gi1/0/17, in the supply closet, on Friday afternoon. A honeypot is a decoy system with no legitimate users, so any connection to it is suspicious by definition. Corbel’s honeypot, a fake file server, recorded 10.40.30.9 scanning it ten minutes before the SMB attack began.
- Rogue device appears in the supply closet on Friday
- Scan, password attack and rogue DNS from internal addresses
- HTTP flood draws attention during the transfer
- The flood came from outside and matches a known botnet campaign hitting many sites that night
- The scanner account is a misconfigured tool
- Only the closet device and the transfer are linked
The examiner does not need to choose between them yet. The report presents what each piece of evidence supports and what would distinguish the explanations, such as whether the flood’s sources also hit other organizations that night.
On the exam, connect each pattern to its evidence: half-open connections for SYN floods, complete but excessive requests for HTTP floods, many failures against one account for brute force, few passwords across many accounts for spraying. The next reading, Wireless and the unfamiliar access point, goes to the supply closet.
Inspect the three records, then use the evidence to answer the question.
1. Failures
1,412 failed SMB logons from 10.40.30.9, 20:10–20:16
2. Accounts
Targeted accounts: 1 (svc-scanner)
3. Success
4624 type 3 svc-scanner from 10.40.30.9 at 20:16:44
Apply the reading
A capture shows thousands of SYN packets to port 443 from many source addresses, with few completed handshakes. What attack does this suggest, and what would distinguish it from a busy but legitimate surge?
Compare your reasoning
A SYN flood. Legitimate clients complete the three-way handshake and send data, so a high ratio of SYNs to completed connections, spoofed or random source addresses and no follow-up traffic point to a flood.