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 VersionOpenSSHApachenginx
14.04 - trusty [LTS]6.6p12.4.71.4.6
14.10 - utopic6.6p12.4.101.6.2
15.04 - vivid6.7p12.4.121.6.2
15.10 - wily6.9p12.4.121.6.2
16.04 - xenial [LTS]7.2p12.4.181.10.0
16.10 - yakketty7.2p12.4.181.10.0
17.04 - zesty7.4p12.4.251.12.0
17.10 - artful7.6p12.4.271.13.3
18.04 - bionic [LTS]7.6p12.4.291.14.0
18.10 - cosmic7.7p12.4.341.16.0
19.04 - disco7.9p12.4.351.16.0
19.10 - eoan7.9p12.4.411.17.3
20.04 - focal [LTS]8.2p12.4.411.18.0
20.10 - groovy8.2p12.4.461.18.0
21.04 - hirsute8.4p12.4.481.20.1
21.10 - impish8.4p12.4.511.20.1
22.04 - jammy [LTS]8.9p12.4.521.18.0
22.10 - kinetic8.9p12.4.521.22.0
23.04 - junar9.0p12.4.541.24.0
23.10 - mantic9.3p12.4.571.24.0
24.04 - noble [LTS]9.6p12.4.581.24.0
24.10 - oracular9.7p12.4.621.26.0
25.04 - plucky9.9p12.4.631.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]OpenSSHnginx
8 - Jessie [2015]6.7p11.6.2
9 - Stretch [2017]7.4p11.10.3
10 - Buster [2019]7.9p11.42.2
11 - Bullseye [2021]8.4p11.18.0
12 - Bookworm [2023]9.2p11.22.1
13 - Trixie [2025]10.0p1-71.26.3
14 - Forky [2027] (in dev)10.2p1-31.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
OpenSSHApache
55.3p12.2.3
66.6p12.2.15
77.4p12.4.6
88.0p12.4.37
99.1p12.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 VersionIIS
Windows 10 / Server 2016 and laterMicrosoft IIS httpd 10.0
Windows 8.1 / Server 2012 R2Microsoft IIS httpd 8.5
Windows 7 / Server 2008 R2Microsoft IIS httpd 7.5
Windows XP (x64) / Server 2003Microsoft IIS httpd 6.0