Skip to content
Topic

Hardening

Securing the router: services, users, management access, vulnerabilities to close: all dojo articles on this topic.

Illustrazione per HTTPS vero sul MikroTik con Let's Encrypt
Dojo

Real HTTPS on MikroTik with Let’s Encrypt

A real, free, automatic certificate for the router with the RouterOS 7 ACME client: we open port 80, watch the http-01 challenge packet by packet (with two instructive failures, scanners and MPIC included), dissect the issued certificate and follow the chain down to ISRG Root X1. Tested in the lab.

15 min read
Illustrazione per Container su RouterOS: cosa sono, su quali apparati girano e perché sono immagini DockerKnowledge base
Knowledge base · Containers

Containers on RouterOS: what they are, which devices run them, and why they’re Docker images

A container on RouterOS runs a packaged Linux program inside the router, isolated from the rest. It's not a virtual machine and not a system container like Proxmox LXC: RouterOS runs Docker (OCI) images, sharing its own kernel. They run only on ARM, ARM64 and x86 CPUs (not MIPS), need space and memory, and stay off until you unlock them with a physical confirmation via device-mode.

Illustrazione per Cosa c'è dentro un firmware MikroTik? Apriamo un file .npkLab
Lab · RouterOS under the microscope

What’s inside a MikroTik firmware? Opening a .npk file

We opened a RouterOS 7.24.5 .npk file — 20 megabytes of compressed data containing a complete operating system: 80 processes, 15 libraries, 28 root CA certificates, 9 modular packages, 260 Linux 5.6.3 kernel modules, a full JavaScript web interface with its own Curve25519 implementation, and a database of 79 apps for traffic classification. It is not a "firmware update": it is RouterOS in its entirety, public, inspectable, and modifiable by anyone with access to the file.

Illustrazione per Certificati, CA e la catena di fiduciaKnowledge base
Knowledge base · Certificates

Certificates, CAs and the chain of trust

What a CA is, why certificates chain together (root, intermediate, leaf) and how a brand-new root is trusted from day one, DV vs OV/EV and why one is free and another costs hundreds, OCSP/CRL, Certificate Transparency, CAA, RSA vs ECDSA and who's behind Let's Encrypt — the certificate vocabulary put in order, verified in the lab.

Illustrazione per Container su MikroTik: cosa sono e cosa vedono del kernelDojo

Containers on MikroTik: what they are and what they see of the kernel

RouterOS 7 can run containers: small Linux systems inside the router. But a container is not a virtual machine: it shares the router's kernel. In the lab we open one up and look at what it really sees of the system (kernel, memory, processes, disk), what changes with privileged=yes, and how to use them without handing the router to an image pulled off the Internet.

Illustrazione per Device-mode su RouterOS: il lucchetto fisico sulle funzioni pericoloseKnowledge base
Knowledge base · Device-mode

Device-mode on RouterOS: the physical lock on dangerous features

Device-mode is a lock RouterOS puts on some powerful features (containers, bandwidth test, sniffer, proxy…): they stay off until you turn them on with a physical confirmation on the router, a button press or a power cycle. It exists to stop anyone who gets in remotely, even with the administrator password, from using those features to attack others.

Illustrazione per RPKI su RouterOS 7: validare le rotte BGP e fermare i dirottamenti d'origineDojo

RPKI on RouterOS 7: validate BGP routes and stop origin hijacks

What is it for? Somewhere in the world, a router announces that your network goes through it. It isn't a rare typo: it has happened to Google, to Cloudflare, to whole chunks…

Illustrazione per Alternative a IP Cloud: un DDNS sul tuo dominio (DuckDNS o Cloudflare)Dojo

Alternatives to IP Cloud: dynamic DNS on your own domain (DuckDNS or Cloudflare)

IP Cloud gives you a handy name, but it's your serial number inside a MikroTik domain: it reveals you're a MikroTik and which model. Here's how to have a dynamic name of your own, with DuckDNS in five minutes or on your own domain with Cloudflare. Ready, lab-tested RouterOS scripts.

Illustrazione per CVE-2026-89035Security
CVE-2026-89035

WebFig Vulnerability: Session Token Replay

CVE-2026-89035 is an authentication vulnerability in the RouterOS WebFig interface that allows an attacker to reuse stolen session tokens to gain persistent administrative access. It affects versions up to 7.24.5; no stable fixed version is currently available. If you use WebFig, ensure it is reachable only from the trusted administration network and consider disabling the service if not required.

High · 7.4
Illustrazione per JA3: l'impronta TLS che smaschera scanner e botnetKnowledge base
Knowledge base · Security

JA3 and JA4: TLS fingerprints that expose scanners and botnets

JA3 is a fingerprint of the TLS handshake (the ClientHello) that identifies the tool opening the encrypted connection, not the user. Same tool, same fingerprint: this is how you recognize that many different IPs knocking on your WAN are actually a single scanner or a single botnet rotating addresses to avoid being blocked.

Illustrazione per Amplificazione DNS: come un router aperto diventa un megafono (e come chiuderlo)Dojo

DNS amplification: how an open resolver becomes a megaphone (and how to shut it)

DNS amplification turns an open resolver, your router included, into a megaphone to hit others: small query, huge reply, forged sender. We see it live in the lab (21 bytes becoming 1017), look at what really knocks on the Dojo's WAN, and close the hole rule by rule.

Illustrazione per CVE-2026-103903Security
CVE-2026-103903

WinBox Authorization Bypass

CVE-2026-103903 is an improper authorization vulnerability in the WinBox authentication flow that allows a low-privileged user to obtain a full administrative session without knowing the target account's password. It affects RouterOS versions prior to 7.24.5. Updating to version 7.24.5 or later and restricting WinBox access to trusted networks are the immediate actions to take.

High · 8.8
Illustrazione per Safe Mode di MikroTik: come funziona la rete di sicurezza di RouterOSKnowledge base
Knowledge base · Safe Mode

MikroTik Safe Mode: how RouterOS’s safety net works

Safe Mode is RouterOS's safety net: while it's on, the router notes down every change and, if the session that took it drops, it undoes them on its own. You turn it on with Ctrl+X (or F4) in the terminal and with the Safe Mode button in WinBox. It holds at most 100 actions and doesn't cover the commands that reboot the router.