How To Install roca-detect on CentOS 8
Introduction
In this tutorial we learn how to install roca-detect
on CentOS 8.
What is roca-detect
This tool is related to the ACM CCS 2017 conference paper #124 Return of the Coppersmith’s Attack Moduli. https Install this to test public RSA keys for the presence of the vulnerability described by CVE-2017-15361.
We can use yum
or dnf
to install roca-detect
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install roca-detect.
Install roca-detect on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install roca-detect
using dnf
by running the following command:
sudo dnf -y install roca-detect
Install roca-detect on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install roca-detect
using yum
by running the following command:
sudo yum -y install roca-detect
How To Uninstall roca-detect on CentOS 8
To uninstall only the roca-detect
package we can use the following command:
sudo dnf remove roca-detect
roca-detect Package Contents on CentOS 8
/usr/bin/roca-detect
/usr/bin/roca-detect-tls
/usr/lib/python3.6/site-packages/roca
/usr/lib/python3.6/site-packages/roca/__init__.py
/usr/lib/python3.6/site-packages/roca/__pycache__
/usr/lib/python3.6/site-packages/roca/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/roca/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/roca/__pycache__/detect.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/roca/__pycache__/detect.cpython-36.pyc
/usr/lib/python3.6/site-packages/roca/__pycache__/detect_tls.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/roca/__pycache__/detect_tls.cpython-36.pyc
/usr/lib/python3.6/site-packages/roca/detect.py
/usr/lib/python3.6/site-packages/roca/detect_tls.py
/usr/lib/python3.6/site-packages/roca/tests
/usr/lib/python3.6/site-packages/roca/tests/__init__.py
/usr/lib/python3.6/site-packages/roca/tests/__pycache__
/usr/lib/python3.6/site-packages/roca/tests/__pycache__/__init__.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/roca/tests/__pycache__/__init__.cpython-36.pyc
/usr/lib/python3.6/site-packages/roca/tests/__pycache__/test_fingerprint.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/roca/tests/__pycache__/test_fingerprint.cpython-36.pyc
/usr/lib/python3.6/site-packages/roca/tests/__pycache__/test_tls.cpython-36.opt-1.pyc
/usr/lib/python3.6/site-packages/roca/tests/__pycache__/test_tls.cpython-36.pyc
/usr/lib/python3.6/site-packages/roca/tests/data
/usr/lib/python3.6/site-packages/roca/tests/data/cert01.pem
/usr/lib/python3.6/site-packages/roca/tests/data/cert02.pem
/usr/lib/python3.6/site-packages/roca/tests/data/cert03.pem
/usr/lib/python3.6/site-packages/roca/tests/data/cert04.pem
/usr/lib/python3.6/site-packages/roca/tests/data/cert05.pem
/usr/lib/python3.6/site-packages/roca/tests/data/cert06.pem
/usr/lib/python3.6/site-packages/roca/tests/data/csr03.pem
/usr/lib/python3.6/site-packages/roca/tests/data/csr05.pem
/usr/lib/python3.6/site-packages/roca/tests/data/key01.pgp
/usr/lib/python3.6/site-packages/roca/tests/data/key02.pgp
/usr/lib/python3.6/site-packages/roca/tests/data/key03.pgp
/usr/lib/python3.6/site-packages/roca/tests/data/key04.pgp
/usr/lib/python3.6/site-packages/roca/tests/data/mod01.txt
/usr/lib/python3.6/site-packages/roca/tests/data/mod02.txt
/usr/lib/python3.6/site-packages/roca/tests/data/mod03.txt
/usr/lib/python3.6/site-packages/roca/tests/data/mod04.txt
/usr/lib/python3.6/site-packages/roca/tests/data/mod05.txt
/usr/lib/python3.6/site-packages/roca/tests/data/mod06.txt
/usr/lib/python3.6/site-packages/roca/tests/data/mod07.txt
/usr/lib/python3.6/site-packages/roca/tests/data/mod08.txt
/usr/lib/python3.6/site-packages/roca/tests/data/mod09.txt
/usr/lib/python3.6/site-packages/roca/tests/data/pkcs701.p7s
/usr/lib/python3.6/site-packages/roca/tests/data/privkey03.pem
/usr/lib/python3.6/site-packages/roca/tests/data/privkey04.pem
/usr/lib/python3.6/site-packages/roca/tests/data/privkey05.pem
/usr/lib/python3.6/site-packages/roca/tests/data/pubkey01.pem
/usr/lib/python3.6/site-packages/roca/tests/data/pubkey02.pem
/usr/lib/python3.6/site-packages/roca/tests/data/pubkey03.pem
/usr/lib/python3.6/site-packages/roca/tests/data/ssh01.pub
/usr/lib/python3.6/site-packages/roca/tests/data/ssh02.pub
/usr/lib/python3.6/site-packages/roca/tests/data/ssh03.pub
/usr/lib/python3.6/site-packages/roca/tests/data/ssh04.pub
/usr/lib/python3.6/site-packages/roca/tests/data/ssh05.pub
/usr/lib/python3.6/site-packages/roca/tests/data/ssh06.pub
/usr/lib/python3.6/site-packages/roca/tests/test_fingerprint.py
/usr/lib/python3.6/site-packages/roca/tests/test_tls.py
/usr/lib/python3.6/site-packages/roca_detect-1.2.12-py3.6.egg-info
/usr/lib/python3.6/site-packages/roca_detect-1.2.12-py3.6.egg-info/PKG-INFO
/usr/lib/python3.6/site-packages/roca_detect-1.2.12-py3.6.egg-info/SOURCES.txt
/usr/lib/python3.6/site-packages/roca_detect-1.2.12-py3.6.egg-info/dependency_links.txt
/usr/lib/python3.6/site-packages/roca_detect-1.2.12-py3.6.egg-info/entry_points.txt
/usr/lib/python3.6/site-packages/roca_detect-1.2.12-py3.6.egg-info/requires.txt
/usr/lib/python3.6/site-packages/roca_detect-1.2.12-py3.6.egg-info/top_level.txt
/usr/share/doc/roca-detect
/usr/share/doc/roca-detect/README.md
/usr/share/doc/roca-detect/docs
/usr/share/doc/roca-detect/docs/_config.yml
/usr/share/doc/roca-detect/docs/index.md
/usr/share/doc/roca-detect/docs/roca_impact.png
/usr/share/licenses/roca-detect
/usr/share/licenses/roca-detect/LICENSE
References
Summary
In this tutorial we learn how to install roca-detect
on CentOS 8 using yum and dnf.