Security • August 27, 2026 • 5 min read

From Router Management to Zero-Trust PAM: The Evolution of MikroWizard v2

S
Sepehr
Published in Security • MikroWizard Engineering
Share:

The Next Era of Network Infrastructure Management: How MikroWizard Evolved from a Dedicated RouterOS Management Tool into an Enterprise-Grade Zero-Trust PAM & Multi-Vendor Control Plane.

1. The Paradigm Shift in Network Operations

When MikroWizard v1 was originally introduced, its primary mission was solving operational efficiency: helping network administrators automate RouterOS backups, push bulk configuration scripts, monitor system health, and orchestrate firmware updates across fleets of MikroTik routers from a centralized web interface.

However, modern enterprise networks and Internet Service Providers (WISPs, MSPs, Data Centers) have faced a rapid transformation in compliance, cybersecurity, and infrastructure complexity. Traditional network management tools that merely log actions after they occur or grant unrestricted, unmonitored SSH/WinBox access are no longer sufficient to meet strict zero-trust mandates (such as ISO 27001, SOC2, and NIS2).

MikroWizard v2 represents a complete architectural reimagining. We redesigned the underlying database schema, rewritten the cryptographic engine from the ground up, and introduced full Privileged Access Management (PAM) with pre-execution command guardrails, audited visual session recording, and seamless multi-vendor fleet governance.

MikroWizard v2 Unified Device Management Console
Figure 1: MikroWizard v2 Centralized Fleet Management Console with real-time firmware tracking and multi-tier action menus

2. Zero-Trust Terminal Gateway & Command Guardrails

The centerpiece of MikroWizard v2 is the high-performance Terminal Gateway (Ports 8200 & 8201). Built with a responsive xterm.js Web TTY architecture, it delivers a native, colorized terminal experience directly in your browser while evaluating every keystroke through a zero-trust policy engine.

  • Pre-Execution Command Interception: Instead of recording commands retroactively, the policy engine parses and analyzes command tokens and Abstract Syntax Trees (AST) before sending them to the router or host shell.
  • Three-Tier Defense Heuristics:
    • Relaxed Tier: Evaluates token and regular expression rules without subshell filtering.
    • Standard Tier: Detects and blocks command substitution attempts such as $(command) and backticks (`command`).
    • Strict Tier: Blocks command chaining (&&, ||, ;), parameter expansions (${VAR}), base64 decoder pipes (base64 -d | sh), /dev/tcp raw sockets, and enforces kernel-level system-call interception (ptrace / seccomp-bpf on execve) for Linux nodes.
  • Blacklist, Whitelist & Auto-Execute Policies: Prevent accidental catastrophe (e.g. blocking /system reset-configuration or rm -rf /) or lock down contractor access strictly to read-only diagnostics.
  • Full Asciinema Session Recording: Every session is recorded in immutable .cast format with millisecond timing for forensic auditing and training reviews.
MikroWizard v2 Audited Web TTY Terminal Session on RouterOS 7.17
Figure 2: In-browser Zero-Trust Web TTY session with real-time command guardrail evaluation on RouterOS 7.17

3. Audited WebFig Proxy & Visual Session Recorder

Historically, accessing MikroTik WebFig remotely required opening HTTP/HTTPS ports to public subnets, establishing complex port forwardings, or configuring dedicated desktop VPN clients. In MikroWizard v2, WebFig access is transformed into a secure, audited enterprise feature:

  • Zero Exposed Ports: WebFig traffic is proxied through an encrypted WebSocket/HTTP reverse tunnel. Routers remain completely hidden from port scanners.
  • Automated Vault Login: Administrators authenticate via MikroWizard; device credentials remain securely vaulted and are never exposed to operators.
  • DOM & Visual Session Recording: Every tab opened, setting changed, and button clicked within WebFig is visually recorded with timestamps for compliance.
  • Collaborative Live Sessions: Share active WebFig sessions between team members in real-time with role-based permissions (Owner, Collaborator, and read-only Observer).
MikroWizard Security Policy and Agent Configuration Modal
Figure 3: Configuring granular zero-trust security policies, defense tiers, and OS-specific kernel agents

4. Cryptographic Overhaul & Secure Vault Architecture

Data security was rebuilt from the foundation in MikroWizard v2. The legacy storage model was replaced with a zero-knowledge Envelope Encryption Vault:

  • AES-256-GCM Encryption: All router credentials, SSH private keys, SNMP community strings, and API secrets are encrypted with authenticated AES-256-GCM.
  • Argon2id Key Derivation: Master encryption keys are derived using memory-hard Argon2id hashing, providing robust resistance against GPU and ASIC brute-force attacks.
  • Full End-to-End API SSL (Port 8729): Native support for TLS 1.3 encrypted RouterOS binary API communication with certificate fingerprint validation.
MikroTik Router Configuration with API SSL Encryption Enabled
Figure 4: Hardened device configuration with TLS-encrypted API SSL (Port 8729) support

5. Expanding Beyond MikroTik: True Multi-Vendor Support

While MikroTik RouterOS remains the beating heart of MikroWizard, real-world network topographies are heterogeneous. In v2, the platform seamlessly manages multi-vendor fleets:

  • Supported Platforms: MikroTik RouterOS (v6 & v7), Linux Hosts (Ubuntu, Debian, RHEL), Cisco IOS / IOS-XE, Huawei VRP, Juniper Junos, Fortinet FortiOS, ZTE, FreeBSD, and Generic SSH targets.
  • Template-Driven Connection Engine: Integrated with standard connection templates (including rConfig templates) for automated CLI prompt navigation and privilege escalation (enable / super mode).
  • Unified Policy Enforcement: Apply standardized command guardrails, audit logging, and role-based access controls across all network assets from a single console.
MikroWizard Multi-Vendor Fleet Management Console
Figure 5: Multi-Vendor inventory supporting Linux servers, Cisco switches, and generic appliances

6. WireGuard Mesh, CGNAT Bypass & Automated Speedtests

MikroWizard v2 introduces several dedicated features engineered specifically for Internet Service Providers and remote site management:

  • Built-in WireGuard Peering Mesh: Automatically provisions WireGuard VPN tunnels to connect field routers located behind strict Carrier-Grade NAT (CGNAT) or dynamic LTE/5G uplinks back to the management cluster.
  • Automated BTest / Speedtest Engine: Schedule automated, non-intrusive Bandwidth Tests between CHR core servers and customer routers. Track latency, jitter, throughput graphs, and store raw telemetry.
  • Custom Syslog Regex Alerts: Create custom regex patterns to filter incoming syslog streams and dispatch real-time alerts to Telegram, Webhooks, or Email upon critical network events (BGP state changes, flap detection, interface errors).

7. Feature Comparison Matrix: v1 vs v2

Core CapabilityMikroWizard v1MikroWizard v2
Terminal AccessBasic unmonitored SSHZero-Trust Web TTY + PAM Guardrails (Ports 8200/8201)
Command DefenseNone (Post-execution logs)3-Tier Defense (Token, Regex, AST Parser & Kernel ptrace)
WebFig AccessDirect / Exposed PortsAudited WebSocket Reverse Proxy + Visual Session Recording
Credential StorageBasic reversible encryptionAES-256-GCM + Argon2id Zero-Knowledge Envelope Vault
Multi-Vendor SupportMikroTik RouterOS onlyMikroTik + Cisco + Linux + Huawei + Juniper + FreeBSD
NAT / CGNAT ReachabilityRequires public IP / manual VPNBuilt-in Automated WireGuard Mesh Peering
Diagnostics & TestingManual ping/tracerouteAutomated BTest (MikroSpeed) Telemetry & Custom Syslog Alerts
Architecture & UIMonolithic stackContainerized Microservices + Angular 18 + PrimeNG

8. Get Started with MikroWizard v2 Today

Whether you manage a small network of MikroTik routers or an expansive multi-vendor service provider infrastructure, MikroWizard v2 delivers the security, visibility, and automation required for modern network operations.

S

Sepehr

MikroWizard Architecture & Security Core Team

Developing next-generation network automation, Zero-Trust PAM access, and high-concurrency Rust services for MikroTik RouterOS fleets worldwide.