Visualize portscan results
Project description
Scanscope
Visualize port scan results in a self-contained HTML file.
What is this bubble chart?
In short: We interpret a host as a point in a vector space with 2^17 dimensions over F_2. Each dimension corresponds to a TCP- or UDP-port and has either value 0 or 1, depending on its state. Then we apply a dimensionality reduction technique named UMAP to project the data onto two dimensions.
Each circle in the plot corresponds to one group of hosts. The size of the circle is related to the size of the group. Hosts with the same port configuration are grouped together. Similar groups should be close by. The colors mean nothing - except for gray: no open ports. The coordinates are also not meaningful and can change with a new run.
Installation
If you require instructions on how to install a standard Python package, I
recommend you use pipx
:
$ pipx install git+https://github.com/SySS-Research/Scanscope.git
Unfortunately, the requirements (in particular the machine learning
dependencies including numpy
and pandas
) are quite heavy with almost
600MB, so be prepared.
Usage
$ scanscope nmap_output.xml -o scanscope.html
Hint: The more ports you scan, the better this should work.
I recommend scanning at least the top 100 ports, so: nmap -T4 -sS -F -oX nmap_output.xml -iL input.txt
. Service scans or script scans do not help.
Scanning the top 1000 ports or even all ports however, does.
For more infomation, read the output of scanscope -h
.
License and copyright
MIT licensed, developed by Adrian Vollmer, SySS GmbH.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scanscope-1.0.0.tar.gz
.
File metadata
- Download URL: scanscope-1.0.0.tar.gz
- Upload date:
- Size: 618.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3229eb9a7af9f06301b6c97f0b629bbadd79cd23d9126d4eeb2137ccbb6a0816 |
|
MD5 | 54c0c1f399fc8b61ccb705a0f9e19412 |
|
BLAKE2b-256 | e2adbc363e5da941658af1a709ffa98e4b353693d1e586a899f6c41a00c0a6b0 |
File details
Details for the file scanscope-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: scanscope-1.0.0-py3-none-any.whl
- Upload date:
- Size: 575.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.27.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb0be411bf00d2cf1c04b0f236c0fe292dfc84eeb9f86e65804e03d4594430c4 |
|
MD5 | 33122cd62289356c61d9c323b31267fd |
|
BLAKE2b-256 | 3b7b6115cbe8652eedf0ed564bd5891652f0bd6bf59a3237dd5a3c37652d8361 |