Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/11-hardening.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ AdGuard Home resolves for every device. Blocks ad and tracker domains, and
incidentally a good share of malware command-and-control domains, for devices
that cannot run any security software of their own.

Its admin UI has a login and locks out after 5 wrong tries. That matters more
than it sounds: whoever controls DNS can send every device in the house to a
fake site. → [AdGuard runbook](../runbooks/03-adguard-home-dns.md)

### Encrypted upstream DNS

Since September 2026 AdGuard forwards to Quad9 over DoH and DoT instead of
Expand Down
3 changes: 3 additions & 0 deletions docs/reports/2026-10-08-ai-agent-least-privilege.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ The first look already paid for itself:
The nightly job in [`docs/07`](../07-backup-and-recovery.md) is not actually
running.
- 🟠 **AdGuard has no login.** Anyone on the LAN could change DNS for the house.
*Update 2026-10-09: fixed. AdGuard now has a login, plus a separate user for
the exporter, and locks out after 5 wrong tries. The steps are in
[runbook 03](../../runbooks/03-adguard-home-dns.md#5--verify).*
- 🟡 **The NAS is `.79`.** The NFS storage points there, which settles the
`.49`/`.79` disagreement in these docs.
- 🟡 **`check-secrets.sh` doesn't block in pre-commit mode.** Findings are
Expand Down
18 changes: 18 additions & 0 deletions runbooks/03-adguard-home-dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,21 @@ container, published as 8000, so the admin UI ends up at
| Username | not `admin` |
| Password | generated, stored in Vaultwarden |

The wizard asks for this login, but check it stuck: in
`conf/AdGuardHome.yaml`, `users:` must not be `[]`. This lab ran without a
login for months before anyone noticed. While you're in that file, turn on the
lockout (AdGuard's own defaults; `0` means off):

```yaml
auth_attempts: 5 # wrong passwords before a lockout
block_auth_min: 15 # minutes locked out
```

AdGuard has no read-only role. Anything that reads its API (the
[exporter](21-logs-and-crowdsec.md), the Glance widget) gets its own user,
so its password can change without touching yours. Add more users in that
`users:` list as a name plus a bcrypt hash, with AdGuard stopped.

### Upstream resolvers

Settings → DNS settings. Updated September 2026, see
Expand Down Expand Up @@ -150,6 +165,9 @@ everyone and step 4 did not take effect.*
dig @192.168.178.178 example.com # resolves
dig @192.168.178.178 doubleclick.net # expect 0.0.0.0 or NXDOMAIN
dig @192.168.178.178 grafana.theminddev.com # expect 192.168.178.178

# the UI must refuse you without a login
curl -s -o /dev/null -w '%{http_code}\n' http://192.168.178.178:8000/control/status # expect 401
```

Then open the query log in the UI. Every device on the network should be
Expand Down
Loading