Table of Contents
Summery
This note hold a cheatsheet which can help you enumerate the exact OS version based on the services running on it.
Usually the initial enumeration isenough to gather this information and find the underlying operating system.
Cheatsheet
Ubuntu
Ubuntu releases two versions a year, with even-yeared .04 versions being the long term support (LTS) versions. Each release gets a two word name with an adjective and animal starting with the same letter, though it is common to refer to each version by just it’s adjective (“focal” rather than “focal fossa”). For the most part the letter increments with each release
The main software I’ve used for this kind of fingerprinting is OpenSSH and Apache. nginx is also worth considering, the the same versions show up on many different versions.
The packages for the supported distributions can be found at https://packages.ubuntu.com/search?keywords=<software>. Unsupported OS versions have been removed, though I’ve kept a list.
| Ubuntu Version | OpenSSH | Apache | nginx |
|---|---|---|---|
| 14.04 - trusty [LTS] | 6.6p1 | 2.4.7 | 1.4.6 |
| 14.10 - utopic | 6.6p1 | 2.4.10 | 1.6.2 |
| 15.04 - vivid | 6.7p1 | 2.4.12 | 1.6.2 |
| 15.10 - wily | 6.9p1 | 2.4.12 | 1.6.2 |
| 16.04 - xenial [LTS] | 7.2p1 | 2.4.18 | 1.10.0 |
| 16.10 - yakketty | 7.2p1 | 2.4.18 | 1.10.0 |
| 17.04 - zesty | 7.4p1 | 2.4.25 | 1.12.0 |
| 17.10 - artful | 7.6p1 | 2.4.27 | 1.13.3 |
| 18.04 - bionic [LTS] | 7.6p1 | 2.4.29 | 1.14.0 |
| 18.10 - cosmic | 7.7p1 | 2.4.34 | 1.16.0 |
| 19.04 - disco | 7.9p1 | 2.4.35 | 1.16.0 |
| 19.10 - eoan | 7.9p1 | 2.4.41 | 1.17.3 |
| 20.04 - focal [LTS] | 8.2p1 | 2.4.41 | 1.18.0 |
| 20.10 - groovy | 8.2p1 | 2.4.46 | 1.18.0 |
| 21.04 - hirsute | 8.4p1 | 2.4.48 | 1.20.1 |
| 21.10 - impish | 8.4p1 | 2.4.51 | 1.20.1 |
| 22.04 - jammy [LTS] | 8.9p1 | 2.4.52 | 1.18.0 |
| 22.10 - kinetic | 8.9p1 | 2.4.52 | 1.22.0 |
| 23.04 - junar | 9.0p1 | 2.4.54 | 1.24.0 |
| 23.10 - mantic | 9.3p1 | 2.4.57 | 1.24.0 |
| 24.04 - noble [LTS] | 9.6p1 | 2.4.58 | 1.24.0 |
| 24.10 - oracular | 9.7p1 | 2.4.62 | 1.26.0 |
| 25.04 - plucky | 9.9p1 | 2.4.63 | 1.26.3 |
When there are security updates, sometimes these will increment in the final digit.
Debian
Debian has many fewer versions when compared to Ubuntu. They release every two years in odd years and each have a codeword as a character from the Toy Story movies.
OpenSSH and NGINX all are good indicators here, while Apache seems to update as long as the OS is supported, which is typically around 5 years.
| Debian Version [Release Year] | OpenSSH | nginx |
|---|---|---|
| 8 - Jessie [2015] | 6.7p1 | 1.6.2 |
| 9 - Stretch [2017] | 7.4p1 | 1.10.3 |
| 10 - Buster [2019] | 7.9p1 | 1.42.2 |
| 11 - Bullseye [2021] | 8.4p1 | 1.18.0 |
| 12 - Bookworm [2023] | 9.2p1 | 1.22.1 |
| 13 - Trixie [2025] | 10.0p1-7 | 1.26.3 |
| 14 - Forky [2027] (in dev) | 10.2p1-3 | 1.28.0 |
These can change slightly as well.
Red Hat / Centos
The packages associated with different versions of Red Hat / CentOS are less documented. Based on very limited experience, I’ve see the following Apache and OpenSSH versions:
| Red Hat / CentOS Version | OpenSSH | Apache |
|---|---|---|
| 5 | 5.3p1 | 2.2.3 |
| 6 | 6.6p1 | 2.2.15 |
| 7 | 7.4p1 | 2.4.6 |
| 8 | 8.0p1 | 2.4.37 |
| 9 | 9.1p1 | 2.4.53 |
Windows
Windows IIS versions used to track the OS version, but since Windows 10 / Server 2016 and after, have continued to use the same IIS version, 10.0, making this less and less useful over time:
| Windows Version | IIS |
|---|---|
| Windows 10 / Server 2016 and later | Microsoft IIS httpd 10.0 |
| Windows 8.1 / Server 2012 R2 | Microsoft IIS httpd 8.5 |
| Windows 7 / Server 2008 R2 | Microsoft IIS httpd 7.5 |
| Windows XP (x64) / Server 2003 | Microsoft IIS httpd 6.0 |