How To Install unicornscan on CentOS 8

unicornscan is Scalable, accurate, flexible and efficient network probing

Introduction

In this tutorial we learn how to install unicornscan on CentOS 8.

What is unicornscan

Unicornscan is an attempt at a user-land distributed TCP/IP stack. It is intended to provide a researcher a superior interface for introducing a stimulus into and measuring a response from a TCP/IP enabled device or network. Although it currently has hundreds of individual features, a main set of abilities include variations of TCP flags, asynchronous stateless TCP banner grabbing, asynchronous protocol specific UDP scanning (sending enough of a signature to elicit a response), active and passive remote OS, application and component identification by analyzing responses, PCAP file logging and filtering, relational database output, custom module support, customized data-set views.

We can use yum or dnf to install unicornscan on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install unicornscan.

Install unicornscan 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 unicornscan using dnf by running the following command:

sudo dnf -y install unicornscan

Install unicornscan 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 unicornscan using yum by running the following command:

sudo yum -y install unicornscan

How To Uninstall unicornscan on CentOS 8

To uninstall only the unicornscan package we can use the following command:

sudo dnf remove unicornscan

unicornscan Package Contents on CentOS 8

/etc/unicornscan
/etc/unicornscan/modules.conf
/etc/unicornscan/oui.txt
/etc/unicornscan/payloads.conf
/etc/unicornscan/ports.txt
/etc/unicornscan/unicorn.conf
/usr/bin/fantaip
/usr/bin/unibrow
/usr/bin/unicfgtst
/usr/bin/unicornscan
/usr/bin/us
/usr/lib/.build-id
/usr/lib/.build-id/04
/usr/lib/.build-id/04/84724eb9cdab523b799b918ce60feeab491a82
/usr/lib/.build-id/10
/usr/lib/.build-id/10/f5f086844da7d4fd6ca4f4d724cf03f08f3e98
/usr/lib/.build-id/12
/usr/lib/.build-id/12/303f75d93553240d96d78886522e1557efde03
/usr/lib/.build-id/12/ea86512f025068c204642a702fbaccf6f72e51
/usr/lib/.build-id/1f
/usr/lib/.build-id/1f/6dab53e91bad2c53d978f609a22cb1e3141a3c
/usr/lib/.build-id/24
/usr/lib/.build-id/24/abcd2bded0d6d4567f553f1650b4d5738c1aa6
/usr/lib/.build-id/28
/usr/lib/.build-id/28/aef48b069a2fb35cd51e824cfbf42bedefaae1
/usr/lib/.build-id/41
/usr/lib/.build-id/41/6ed774195f1a61e04c7455ab6b7512b7f6bd68
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/113cf6ed4be2f14cb1a19d3a1f62a914269d94
/usr/lib/.build-id/90
/usr/lib/.build-id/90/092b146cec721c7753c21a0f8dacf5388579a8
/usr/lib/.build-id/98
/usr/lib/.build-id/98/5b2e4183e20c293b2f58af596fe7987a9475a9
/usr/lib/.build-id/bf
/usr/lib/.build-id/bf/0c3d74e87a2185419fae608f0f012e097199da
/usr/lib/.build-id/de
/usr/lib/.build-id/de/645ba6edcf60c87a8fe7c7514d61e2d1ccdd1b
/usr/lib/.build-id/e3
/usr/lib/.build-id/e3/1904cff5f8079cd58b53e6194a52255139c54a
/usr/lib64/unicornscan
/usr/lib64/unicornscan/modules
/usr/lib64/unicornscan/modules/http.la
/usr/lib64/unicornscan/modules/http.so
/usr/lib64/unicornscan/modules/httpexp.la
/usr/lib64/unicornscan/modules/httpexp.so
/usr/lib64/unicornscan/modules/ntalk.la
/usr/lib64/unicornscan/modules/ntalk.so
/usr/lib64/unicornscan/modules/osdetect.la
/usr/lib64/unicornscan/modules/osdetect.so
/usr/lib64/unicornscan/modules/pgsqldb.la
/usr/lib64/unicornscan/modules/pgsqldb.so
/usr/lib64/unicornscan/modules/rdns.la
/usr/lib64/unicornscan/modules/rdns.so
/usr/lib64/unicornscan/modules/sip.la
/usr/lib64/unicornscan/modules/sip.so
/usr/lib64/unicornscan/modules/upnp.la
/usr/lib64/unicornscan/modules/upnp.so
/usr/libexec/unicornscan
/usr/libexec/unicornscan/unilisten
/usr/libexec/unicornscan/unisend
/usr/share/doc/unicornscan
/usr/share/doc/unicornscan/AUTHORS
/usr/share/doc/unicornscan/README
/usr/share/doc/unicornscan/README.database
/usr/share/doc/unicornscan/README.fedora
/usr/share/doc/unicornscan/README.security
/usr/share/doc/unicornscan/THANKS
/usr/share/doc/unicornscan/TODO
/usr/share/doc/unicornscan/UDP_PAYLOADS_NEEDED
/usr/share/doc/unicornscan/Unicornscan-Getting_Started.pdf
/usr/share/doc/unicornscan/example_confs
/usr/share/doc/unicornscan/example_confs/cruel.conf
/usr/share/doc/unicornscan/example_confs/dangerous.conf
/usr/share/doc/unicornscan/example_confs/example.conf
/usr/share/doc/unicornscan/example_confs/moduletest.conf
/usr/share/doc/unicornscan/example_confs/payloads.conf
/usr/share/doc/unicornscan/example_confs/payloadtest.conf
/usr/share/doc/unicornscan/example_confs/safe.conf
/usr/share/doc/unicornscan/pgsql_schema.sql
/usr/share/licenses/unicornscan
/usr/share/licenses/unicornscan/LICENSE
/usr/share/man/man1/unicornscan.1.gz
/var/lib/unicornscan

References

Summary

In this tutorial we learn how to install unicornscan on CentOS 8 using yum and dnf.