{"id":3773,"date":"2012-05-10T14:38:22","date_gmt":"2012-05-10T20:38:22","guid":{"rendered":"http:\/\/gregsowell.com\/?p=3773"},"modified":"2012-05-10T14:41:41","modified_gmt":"2012-05-10T20:41:41","slug":"mikrotik-winbox-dos-exploit-protection","status":"publish","type":"post","link":"https:\/\/gregsowell.com\/?p=3773","title":{"rendered":"Mikrotik Winbox DOS Exploit Protection"},"content":{"rendered":"<p>I was just alerted to a winbox exploit that is affecting all MTK versions(Thanks Mike).  Here are a few tips to protect yourself.<\/p>\n<h2>Add firewall rules to allow access to winbox only from management network.<\/h2>\n<p>You really should have your router locked down so management can only come from certain subnets anyway.<\/p>\n<pre class=\"gs-code\"><code class=\"language-plaintext\">\/ip firewall filter\r\nadd action=drop chain=input comment=\\\r\n    &quot;Block access to winbox from anyone not on coming from management.&quot; \\\r\n    disabled=no dst-port=8291 protocol=tcp src-address=!1.1.1.0\/24<\/code><\/pre>\n<h2>Add Portknock to access winbox<\/h2>\n<p><a href=\"http:\/\/gregsowell.com\/?p=2020\">Portknock app and link here.<\/a><\/p>\n<h2>Allow access only via VPN<\/h2>\n<p><a href=\"http:\/\/gregsowell.com\/?p=1290\">Link to my VPN videos here.<\/a><\/p>\n<h2>Change default winbox port<\/h2>\n<p>Go to IP Services and change the port from default.  This isn&#8217;t a complete fix, but should help prevent port scanners from exploiting winbox.<br \/>\n<figure id=\"attachment_3774\" aria-describedby=\"caption-attachment-3774\" style=\"width: 253px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2012\/05\/1.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2012\/05\/1.png\" alt=\"\" title=\"1\" width=\"253\" height=\"217\" class=\"size-full wp-image-3774\" \/><\/a><figcaption id=\"caption-attachment-3774\" class=\"wp-caption-text\">IP Services<\/figcaption><\/figure><\/p>\n<p>When you want to winbox just add a colon and the new port number.<br \/>\n<a href=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2012\/05\/2.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/gregsowell.com\/wp-content\/uploads\/2012\/05\/2.png\" alt=\"\" title=\"2\" width=\"382\" height=\"112\" class=\"aligncenter size-full wp-image-3775\" srcset=\"https:\/\/gregsowell.com\/wp-content\/uploads\/2012\/05\/2.png 382w, https:\/\/gregsowell.com\/wp-content\/uploads\/2012\/05\/2-300x87.png 300w\" sizes=\"auto, (max-width: 382px) 100vw, 382px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was just alerted to a winbox exploit that is affecting all MTK versions(Thanks Mike). Here are a few tips to protect yourself. Add\u2026<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-3773","post","type-post","status-publish","format-standard","hentry","category-mikrotik"],"_links":{"self":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/3773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3773"}],"version-history":[{"count":12,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/3773\/revisions"}],"predecessor-version":[{"id":3786,"href":"https:\/\/gregsowell.com\/index.php?rest_route=\/wp\/v2\/posts\/3773\/revisions\/3786"}],"wp:attachment":[{"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gregsowell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}