$
Learn Linux handbook
en
XP:0
Quest 81Netfilter Sentinel
+450 XP

Boss Challenge 8: DNS Poisoning Remediation

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

Concept & Overview

SECURITY COMPROMISE: An attacker injected a DNS poisoning entry 0.0.0.0 evil-tracker.local directly into /etc/hosts, corrupting internal hostname resolution.

Remediate the threat: edit or clean /etc/hosts to remove all references to evil-tracker.local, and record evil-tracker.local in /etc/blocked_hosts.conf so the domain is permanently logged for network blacklisting.

Clean /etc/hosts by removing evil-tracker.local, and create /etc/blocked_hosts.conf containing evil-tracker.local.

Command Syntax Reference

Command / SyntaxDescription
cat /etc/hostsView current hosts mappings
echo "evil-tracker.local" > /etc/blocked_hosts.confRecord blocked domain

Verification Objectives

These conditions will be automatically verified when you run commands inside the interactive terminal simulator:

  • ○
    Remove evil-tracker.local from /etc/hosts
  • ○
    Create /etc/blocked_hosts.conf with evil-tracker.local

Ready to complete Quest 81?

Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.