Hi Lads,
For MikroTik Users in the community there are apparently live exploits
for MikroTik software and apparently this was used by the CIA, if the
tools are released in the wild this would represent a significant
threat to your ISPs for those of you who have MikroTik Routers with
public IPs on them and if they are not adequately filtered,
I would humbly suggest that you apply best practices and filter the
management services and disable any management services that you dont
absolutely need,
for further details please find the following
More Details on the MikroTik CIA Exploits
https://forum.mikrotik.com/viewtopic.php?t=119255
you can disable un needed administration services in
IP/services menu,
and I would suggest filtering access to the management ports and
disabling the web management interface altogether and disable ftp
If you want to protect the Routers apply filters on the input chain of
the Firewall Filter,
tcp dstport 22 for ssh
tcp dstport 8291 for winbox
tcp dstport 23 for telnet
tcp dstport 8729 api
tcp dstport 8728 api
tcp dstport 20,21 ftp
be aware that the api interfaces could have been enabled if you were
upgrading the software from an older version
I have included a sample configuration script below just to help But
make sure to adjust it to suit your own needs...
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set www-ssl certificate=cert1 disabled=yes
set api disabled=yes
set api-ssl disabled=yes
/ip firewall address-list
add address=5.134.88.0/29 list=Management
#STOP REPLACE the address above with your management ip ranges
#copy the lines to add more ips
/ip firewall filter
add action=accept chain=input comment="Drop input Rule to protect
MikroTik Devices" dst-port=22
src-address-list=Management_ipprotocol=tcp
add action=accept chain=input comment="Drop input Rule to protect
MikroTik Devices" dst-port=8291
src-address-list=Management_ipprotocol=tcp
add action=drop chain=input comment="Drop input Rule to protect
MikroTik Devices" dst-port=22 protocol=tcp
add action=drop chain=input comment="Drop input Rule to protect
MikroTik Devices" dst-port=8291 protocol=tcp
add action=drop chain=input comment="Drop input Rule to protect
MikroTik Devices" dst-port=23 protocol=tcp
add action=drop chain=input comment="Drop input Rule to protect
MikroTik Devices" dst-port=21 protocol=tcp
add action=drop chain=input comment="Drop input Rule to protect
MikroTik Devices" dst-port=8729 protocol=tcp
add action=drop chain=input comment="Drop input Rule to protect
MikroTik Devices" dst-port=8728 protocol=tcp
after running that script on your mikrotik Firewall ensure the rules
that you added are moved straight to the top of the firewall rule set
....
it is important to note that full details on the exploits are not
available but any service that Mikrotik is running could be an entry
point so bear that in mind ,
eg , NTP DNS ... Hotspot , CDP / MNDP / and the long list of VPN
services that can be configured on MikroTik...