QuickSkope is a proof-of-concept (POC) Python script designed to streamline the process of obtaining a user's configuration file from Netskope. By providing the user’s tenant name and a valid email address, QuickSkope automates the retrieval and download of the configuration file, saving it locally as nsbranding.json upon success.
More information on the research we did to investigate this: https://quickskope.com/
This Python script is intended for educational purposes only. It demonstrates a proof of concept for automating the retrieval of user configuration files using the CVE-2024-7401 vulnerability. Please use this script responsibly and only on systems you are authorized to test. Unauthorized or malicious use is strictly prohibited.
- Automates the retrieval of a user's configuration file using their tenant name and email address.
- Downloads the configuration file and saves it as
nsbranding.json.
Before running QuickSkope, ensure you have the following installed:
- Python 3.x
- Clone this repository to your local machine:
git clone https://github.com/yourusername/QuickSkope.git cd Quickskope python quick-scope.py help Commands: validate <tenant_name> - Validates a Netskope tenant name and prints the OrgKey. config <tenant_name> <email> - Exports a manipulated config for you to use with the Netskope client. download <tenant_name> <win/mac> - Downloads the Netskope client for you to install. help - Displays this help menu. no-banner - Suppresses the ASCII banner.
To use QuickSkope, provide the tenant name and a valid email address:
python quickskope.py validate <tenant-name>
python quick-skope.py config <tenant_name> <email>
Once executed, the script will:
- Validate the provided email address.
- Attempt to retrieve the user’s configuration file.
- If successful, save the file as
nsbranding.jsonin the current directory.
- If successful, the script will download the user’s configuration file and save it as
nsbranding.json. - If the retrieval fails, the script will display an error message detailing the issue.
- Ensure that the provided tenant name and email address are correct.
- Verify that you have a working internet connection and access to the necessary API endpoints.
This project is licensed under the MIT License. See the LICENSE file for details.
- 0xDISREL: Helping me write the proof of concept and working with me on the research: https://x.com/0xDISREL
- Sander Di Wit: Uncovering the Orginal Vulnerability to NetSkope
NetSkope Documentation:
- Configuring Netskope Tenants: https://docs.netskope.com/en/configure-netskope-tenants/
- Overview of Netskope Client: https://docs.netskope.com/en/netskope-client-overview/
- Netskope Client Configuration: https://docs.netskope.com/en/netskope-client-network-configuration/
- Netskope Client Command Refence: https://docs.netskope.com/en/netskope-client-command-reference/
- Netskope Secure Enrollment: https://docs.netskope.com/en/secure-enrollment/
CVE References: