TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pulling MikroTik into the Limelight Demystifying and Jailbreaking RouterS

135 pointsby 882542F3884314Bover 2 years ago

9 comments

slikenover 2 years ago
Seems like MikroTik and Ubiquiti haven&#x27;t been particularly good on documenting how their routers work, what each process does, and how to debug&#x2F;verify what they are doing. I&#x27;ve been particularly worried about Ubiquiti, since they seem to be ignoring the MIPS based EdgeRouter line. The various consumer NAS vendors have been a nightmare security wise, and it&#x27;s far from clear that the prosumer routers from Ubiquiti and MikroTik are any better.<p>Should it really require reverse engineering to figure out how a Linux box passes packets?<p>I gave up on Ubiquiti and bought a tiny $120 router ($140 with a nice metal case) that&#x27;s a NanoPi R6s. Pretty impressive specifications. 8GB ram, 8 cores (4 fast Ax76 and 4 slow A55s) and no fans. Has 2x2.5GBe and 1x1GBe for networking. I&#x27;ve installed a port of OpenWRT called FriendlyElec and Ubuntu 22.04.1 LTS. I didn&#x27;t bother cross compiling, it&#x27;s plenty fast for native compiles.<p>I&#x27;ve been impressed so far. It compiles Rust about half as fast as my Quad core Xeon server from years ago, and is <i>SEVEN</i> times faster than a RPi 4 8GB! I have an Apple M1 mini around that manages the same compile in 13 minutes. A nice bonus is neither network or storage is USB attached, unlike the RPi.<p>Burned it in overnight, running all 8 cores flat out, with no problems. Haven&#x27;t decided what to use, maybe shorewall or just raw nftables&#x2F;iptables.<p>Similarly there&#x27;s 4 and 6 port 2.5 Gbe boxes with various N5000 and N6000 celerons at around $200. ServerTheHome has reviewed many of them, they seem to be evolving nicely, better cases, better heat sinks, better 2.5Gbe Intel chips, etc. Run *WRT, pfsense, or whatever else floats your boat. STH even demod running the firewall under proxmox on one of these cheap 4-6 port 2.5GBe widgets. Would be nice to keep your complete config in git or the config management widget of your choice (often Puppet or Ansible).<p>Guess I&#x27;m just getting less trusting in my old age.
评论 #33907527 未加载
评论 #33905480 未加载
评论 #33906225 未加载
评论 #33906667 未加载
评论 #33908747 未加载
评论 #33913048 未加载
评论 #33905396 未加载
评论 #33905490 未加载
评论 #33907271 未加载
评论 #33907079 未加载
xx_nsover 2 years ago
I recently discovered a vulnerability and jailbroke RouterOS 7.4 (beta). As far as I know, this is the latest jailbreak for RouterOS (as of today):<p><a href="https:&#x2F;&#x2F;nns.ee&#x2F;blog&#x2F;2022&#x2F;08&#x2F;05&#x2F;routeros-container-rce.html" rel="nofollow">https:&#x2F;&#x2F;nns.ee&#x2F;blog&#x2F;2022&#x2F;08&#x2F;05&#x2F;routeros-container-rce.html</a>
评论 #33907405 未加载
halfsquatchover 2 years ago
Slide deck from the con&#x27;s site: <a href="https:&#x2F;&#x2F;cfp.recon.cx&#x2F;media&#x2F;2022&#x2F;submissions&#x2F;TZUFS8&#x2F;resources&#x2F;Pulling_MikroTik_into_the_Limelight_qHAG1WT.pdf" rel="nofollow">https:&#x2F;&#x2F;cfp.recon.cx&#x2F;media&#x2F;2022&#x2F;submissions&#x2F;TZUFS8&#x2F;resources...</a><p>Slide deck from margin.re: <a href="https:&#x2F;&#x2F;margin.re&#x2F;content&#x2F;files&#x2F;2022&#x2F;11&#x2F;Pulling_MikroTik_into_the_Limelight-RECon-2022.pdf" rel="nofollow">https:&#x2F;&#x2F;margin.re&#x2F;content&#x2F;files&#x2F;2022&#x2F;11&#x2F;Pulling_MikroTik_int...</a><p>Blurb about the presentation at the con&#x27;s site: <a href="https:&#x2F;&#x2F;cfp.recon.cx&#x2F;media&#x2F;2022&#x2F;submissions&#x2F;TZUFS8&#x2F;resources&#x2F;Pulling_MikroTik_into_the_Limelight_qHAG1WT.pdf" rel="nofollow">https:&#x2F;&#x2F;cfp.recon.cx&#x2F;media&#x2F;2022&#x2F;submissions&#x2F;TZUFS8&#x2F;resources...</a><p>Blurb about the presentation at margin.re: <a href="https:&#x2F;&#x2F;margin.re&#x2F;pulling-mikrotik-into-the-limelight-2&#x2F;" rel="nofollow">https:&#x2F;&#x2F;margin.re&#x2F;pulling-mikrotik-into-the-limelight-2&#x2F;</a>
评论 #33906668 未加载
zevlagover 2 years ago
Here is the archive.org link now that the original link is 404&#x27;ing.<p><a href="https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20221208070504&#x2F;https:&#x2F;&#x2F;margin.re&#x2F;2022&#x2F;06&#x2F;pulling-mikrotik-into-the-limelight&#x2F;" rel="nofollow">https:&#x2F;&#x2F;web.archive.org&#x2F;web&#x2F;20221208070504&#x2F;https:&#x2F;&#x2F;margin.re...</a>
评论 #33910972 未加载
acdover 2 years ago
Why do we have to jailbreak thins using opensource software? EU right to repair, should be extended to right to patch, hack, tinker.
评论 #33907300 未加载
评论 #33907126 未加载
tapperover 2 years ago
I never run anything that can&#x27;t be flashed with OpenWrt!
评论 #33906671 未加载
aix1over 2 years ago
Nice work. Pity all the images in the article are broken.
评论 #33911328 未加载
评论 #33904961 未加载
zoobabover 2 years ago
Slides are here, their link on the paghe to the PDF did not work <a href="https:&#x2F;&#x2F;margin.re&#x2F;content&#x2F;files&#x2F;2022&#x2F;11&#x2F;Pulling_MikroTik_into_the_Limelight-RECon-2022.pdf" rel="nofollow">https:&#x2F;&#x2F;margin.re&#x2F;content&#x2F;files&#x2F;2022&#x2F;11&#x2F;Pulling_MikroTik_int...</a>
bulbosaur123over 2 years ago
Some guy yesterday was trying to crack this on &#x2F;g&#x2F; board with ChatGPT. Search the threads archive and you might find something related to this code.