This python application provides the following features/solution:
Task 1. It retrieves domains/public IPs from cyber vision and checks them against Cisco Umbrella (or integrated 3rd party platform) to get their reputation. For any malicious domain or IP detected, an event is pushed to Cyber Vision dashboard to notify the user.
Task 2. It auto-groups components. A group here is a logical collection of components that share certain characteristic. When Cisco Cyber Vision is deployed in an environment, it detects the components connected. To reduce the manual work of grouping components, this applications automatically groups ungrouped components according to vendor. A further development of the project could also automatically group components by subnet or tags.
The script can be run on a remote PC or directly on Cyber Vision Center.
Retrieve domains and public IPs, Check Reputation and Push Event on Cyber Vision
Automatically group Components
- Cisco Cyber Vision
- Catalyst Switch(eg, IE3400, 9300) with Cyber Vision sensor deployed for connecting components
- Cisco Umbrella for domain and IP reputation check
- 3rd party domain reputation check platform. In this case we have integrated IPQualityScore and WhoisXML API
On the env file, fill the following details:
Log in to Cyber Vision Center via SSH console.
Clone / Copy the code to your desired folder.
Install the required libraries:
Task 1: To Retrieve domains, check their Reputation and Push events to CyberVision:
if running the script for the very first time, it is recommended to check all domains/ public IPs. To do that, ensure the PERIOD variable in the env file is empty; PERIOD = {'period':''} and then run the script as below:
$ Python3 TASK_1_1.py
For subsequent checks, you can define the period for which you want to check by setting a period X (in days); PERIOD = {'period':X} in the env file then run:
$ Python3 TASK_1_1.py
To Retrieve public IPs , check their reputation and Push events to CyberVision:
Follow the above procedure but now run:
Task 2: To Automatically Group Ungrouped Components
Run the script like this:
A screenshot of the events after a Malicious domain is found
A screenshot of Grooups automatically created and components assigned to them
Provided under Cisco Sample Code License, for details see LICENSE
Our code of conduct is available here
See our contributing guidelines here
Please note: This script is meant for demo purposes only. All tools/ scripts in this repo are released for use "AS IS" without any warranties of any kind, including, but not limited to their installation, use, or performance. Any use of these scripts and tools is at your own risk. There is no guarantee that they have been through thorough testing in a comparable environment and we are not responsible for any damage or data loss incurred with their use.
You are responsible for reviewing and testing any scripts you run thoroughly before use in any non-testing environment.
This python application provides the following features/solution:
Task 1: It retrieves domains/public IPs from cyber vision and checks them against Cisco Umbrella (or integrated 3rd party platform) to get their reputation. For any malicious domain or IP detected, an event is pushed to Cyber Vision dashboard to notify the user.
Task 2: It auto-groups components. A group here is a logical collection of components that share certain characteristic. When Cisco Cyber Vision is deployed in an environment, it detects the components connected. To reduce the manual work of grouping components, this applications automatically groups ungrouped components according to vendor. A further development of the project could also automatically group components by subnet or tags.
A screenshot of the events after a Malicious domain is found
A screenshot of Grooups automatically created and components assigned to them
This python application provides the following features/solution:
Task 1: It retrieves domains/public IPs from cyber vision and checks them against Cisco Umbrella (or integrated 3rd party platform) to get their reputation. For any malicious domain or IP detected, an event is pushed to Cyber Vision dashboard to notify the user.
Task 2: It auto-groups components. A group here is a logical collection of components that share certain characteristic. When Cisco Cyber Vision is deployed in an environment, it detects the components connected. To reduce the manual work of grouping components, this applications automatically groups ungrouped components according to vendor. A further development of the project could also automatically group components by subnet or tags.
A screenshot of the events after a Malicious domain is found
A screenshot of Grooups automatically created and components assigned to them
Owner
Contributors
Categories
Products
Cyber VisionUmbrellaProgramming Languages
PythonLicense
Code Exchange Community
Get help, share code, and collaborate with other developers in the Code Exchange community.View Community