May i ask, how is it possible to attacker to load up the know scripts and modify firewall, sock proxy, etc.
if in IP/Services only winbox and ssh is allowed,but they are limited to connect from known prefixes?
I have understood that even if you limit the connections in the IP/Services to specific addresses that it still allows the attacker close enough to execute the exploit. I have created firewall rules for the default 8291 and also for the port that I changed my Winbox access to. This is the only sure way in my mind that they won’t be able to even reach IP/Services.
Anyone please correct me if I am wrong on these points.
Without knowing exactly what you had configured on it, it is hard to know what was and wasn’t possibly.
Also if you didn’t change your password after upgrading, anyone that may have exploited your router before you upgraded might still have access.
I suggest you email support@****mikrotik.com (see), they will be able to look through your configuration and see if it is a configuration issue or a software bug.
Even if he knows the password BUT the service is LIMITED to my ip prefixes, how the hell he can control my device?!
The only way is this possible, if Mikrotik made the service check connecting IP address AFTER authentication.
If the services does NOT allow connection from anybut but listed IPs, the packets from unlisted source should not access the application. I think.
Please fixme, or accept that there is another piece of sh!t found in the pancake…
Yes! 95% of those routers had ip/services limitation since installation! (other 5% is customer radio turned to router from bridge, due customer router issue)
90% of those 95% devices has remote syslog as well - but momentary had no time to lookup them. probably i will found something, becuase hacker set logging limit to 1 line
How about possibility of a staff member, that used the attack script from the allowed IP range?
IP services works well, there is zero evidence that this limit can be overcome in some way.
Check your logs to see where the attacker accessed from, it could be a compromised machine from a trusted IP-address range. We can’t really help you here without more information.
Maybe better if you make a new thread and post your configuration (passwords and IPs obscured of course) so we can see what might be wrong and help you there. Instead of polluting this thread with baseless accusations and misinformation.
I would however suggest to email support@****mikrotik.com, since if it is a real issue then they can escalate it to the right department. This would however not satisfy my curiosity.
CHR was hacked. I got new password from disk image and password recovery tools.
Now i change hacker’s configuration, remove socks, change password again, but didn’t clear disk image and license.
Yeah, that configuration is not secure. Wide open to the internet and attackers.
At least missing a couple block rules in the firewall filter. For example:
No they can not access the linux operating system of the router, unless you have rooted the router yourself already. Which you really should not do.
Unless you were running a version of RouterOS that is older than v6.38.5, see: http://forum.mikrotik.com/t/urgent-security-advisory/117944/1
It’s a one-time application, and don’t plan any extensions and next versions.
The app doesn’t contain an implementation with mac-winbox, and works only on IP layer.
Please, feel free to reuse it or adjust as you need.
You got hacked and started asking questions. Then when someone gives you a sensible answer and tells you where you went wrong, you disagree with them and stick your head in the sand.
You ARE a fool.
Even better reason to have it secure, and a plan for how to access it remotely when you finally do secure it correctly.
The manual page I linked you to has examples on how to do all of that. I urge you to give it a read if you haven’t already, but even so reading it again is a good idea. I might need to read it all again myself.
From the picture and config you supplied us, we can’t tell you.
That is why I told you to email support@mikrotik.com instead. Maybe they can see what it is doing if you make a supout?
I guess that it could be an infinity looped mischievous script that wakes up every specific interval and changes the configuration somehow or sends out mischievous traffic. The log could give some hints as to what it is doing, or maybe the System->History.
But if you are running RouterOS v6.43, I don’t even see how this is related to this topic at all. Change your password so people that may have hacked your router before can’t access it again, and clean up any possible mischievous configuration or scripts. Then implement a more secure firewall and more secure remote access.
Either way, us sitting here and guessing doesn’t help anyone. Best not to go too off-topic in this thread with assumptions and speculations. Email support@mikrotik.com and they will be able to help you more closely, or make a new thread so we can all discuss your issue better.