1 | | - | # Project |
| 1 | + | # RouterOS Scanner |
2 | 2 | | |
3 | | - | > This repo has been populated by an initial template to help get you started. Please |
4 | | - | > make sure to update the content to build a great experience for community-building. |
| 3 | + | Forensics tool for Mikrotik devices. Search for suspicious properties and weak security points that need to be fixed on the router. |
| 4 | + | |
| 5 | + | This tool’s functionalities include the following: |
| 6 | + | - Get the version of the device and map it to CVEs |
| 7 | + | - Check for scheduled tasks |
| 8 | + | - Look for traffic redirection rules |
| 9 | + | - Look for DNS cache poisoning |
| 10 | + | - Look for default ports change |
| 11 | + | - Look for non-default users |
| 12 | + | - Look for suspicious files |
| 13 | + | - Look for proxy, socks and FW rules |
5 | 14 | | |
6 | | - | As the maintainer of this project, please make a few updates: |
| 15 | + | ## Executing and arguments |
7 | 16 | | |
8 | | - | - Improving this README.MD file to provide a great experience |
9 | | - | - Updating SUPPORT.MD with content about this project's support experience |
10 | | - | - Understanding the security reporting process in SECURITY.MD |
11 | | - | - Remove this section from the README |
| 17 | + | ### The arguments: |
| 18 | + | |
| 19 | + | **args** | **Description** | **Must / Optional** |
| 20 | + | ----------| ----------------------------------------------------------------| ------------------- |
| 21 | + | `-i` | The tested Mikrotik IP address | Must |
| 22 | + | `-p` | The tested Mikrotik SSH port | Must |
| 23 | + | `-u` | User name with admin Permissions | Must |
| 24 | + | `-ps` | The password of the given user name (empty password by defoult) | Optional |
| 25 | + | `-J` | Print the results as json format (prints txt format by defoult) | Optional |
| 26 | + | |
| 27 | + | ### Executing examples: |
| 28 | + | ./main.py -i 1.2.3.4 -p 22 -u admin |
| 29 | + | ./main.py -i 1.2.3.4 -p 2000 -u admin -ps 123456 |
| 30 | + | ./main.py -i 1.2.3.4 -p 2000 -u admin -ps 123456 -J |
| 31 | + | |
| 32 | + | ### Output: |
| 33 | + | The output includes 3 sections for each test: |
| 34 | + | 1. raw data - all the data we search in. |
| 35 | + | 2. suspicious - things we found out as suspicious and recommends checking if they are legitimate or malicious. |
| 36 | + | 3. recommendation - things we found out as weak security points and recommends to fix. |
| 37 | + | |
12 | 38 | | |
13 | 39 | | ## Contributing |
14 | 40 | | |
| skipped 20 lines |