TLS warning collector is a tool to support the creation of an open dataset of TLS warnings and indicators in web browsers. It automatically downloads, installs and uninstalls browsers, and collects browser screenshots for comparison and analysis of TLS warnings.
- Windows 10 (download link for VM: https://developer.microsoft.com/en-us/windows/downloads/virtual-machines)
- Chocolatey (link: https://chocolatey.org/docs/installation)
- Python 3 (link: https://www.python.org/downloads/windows/)
- Git (link: https://git-scm.com/download/win)
- Install
python3
. On the installation screen, check the option to automatically set path (to use pip). - Clone the repository to your computer via
git clone https://github.com/crocs-muni/tls-warning-collector.git
- Download the browser driver -- follow the instructions in
README.md
indrivers
folder. - Using Administrator
cmd.exe
, change directory to thetls-warning-collector-master
and runpip3 install --quiet -r requirements.txt
.
You can change the configuration of the project in the config.yaml
file. By commenting out the line with #
you can choose which browsers and cases wont be in the dataset.
If you dont want to run all of the browser versions then you can use "one-version", but you have to change the main.py
file (all_versions = cfg.get("browsers")[browserID].get("versions")
--> all_versions = cfg.get("browsers")[browserID].get("one-version")
).
- Which "one-version" you want to run is easy to change -- just pick some of the supported versions and place it in the "[]" brackets in config.yaml file. E.g.
one-version: [72.0.3626.121]
-
For Chromium running on x86 OS you have to change the file location of the Application from
...\Program Files (x86)\
to...\Program Files\
only (function -set_chromium_capabilities
inbrowsers.py
). !!!
After that, go to the project location via Administrator command line and run the main.py
script with this command:
$ pyhton main.py
Note: There may be a firewall settings popup during the first run as python wants to access the Internet. In older Firefox versions there can be a restart computer popup which you can postpone (Windows 7) or you have to restart the computer (Windows 10).
For more information, please visit the wiki page: https://github.com/crocs-muni/tls-warning-collector/wiki
The framework is developed at the Centre for Research on Cryptography and Security (CRoCS), at the Masaryk University in Brno, Czech Republic.
- Martin Ukrop 2018 - now (project lead, initial implementation)
- Lydia Kraus 2018 - now (project lead, researcher)
- Filip Gontko 2019 - now (main developer)