iac.htora.dev · security templates

Home/By platform/Everything for hosts

Everything for hosts

Every template, lesson, refresher, and planner on this site that applies to hosts, in one place.

Hosts here means Linux, macOS, and Windows machines, set up with Ansible.

Alerts

The templates below create four alerts for hosts. Each link opens the alerts table filtered to one platform, with what fires each alert, the log it reads, and how someone hears.

Templates

Five templates have code for hosts, written for Ansible. All 27 levels are Ready. What each level includes.

TemplatePlatformQuick startStandardHardenedRefresher
Lock SSH down to keys onlyHostsLinuxReadyReadyReadyOne page
Lock SSH down to keys onlyHostsWindowsReadyReadyReadyOne page
Send host logs off the machineHostsLinuxReadyReadyReadyOne page
Send host logs off the machineHostsWindowsReadyReadyReadyOne page
Record what investigations ask firstHostsLinuxReadyReadyReadyOne page
Ask every host the same questionsHostsLinuxReadyReadyReadyOne page
Ask every host the same questionsHostsmacOSReadyReadyReadyOne page
Ask every host the same questionsHostsWindowsReadyReadyReadyOne page
Catch attackers at work on a serverHostsLinuxReadyReadyReadyOne page

Incident response

The lesson to read before an incident on hosts, and to keep open during one.

Host forensics, in and out of the cloud

What to capture first, where persistence hides, and which logs matter, on Linux, macOS, and Windows.

One-page refreshers

Each prints on one page. Every template in the table above links its own.

Linux host triage

What to capture first on a suspect Linux machine, where persistence hides, and which logs matter.

macOS host triage

What to capture first on a suspect Mac, where persistence hides, and which artifacts answer which question.

Windows host triage

What to capture first on a suspect Windows machine, where persistence hides, and the events worth knowing by number.

Ansible

A tool that logs in to machines you already have, over SSH, and runs a list of steps on each one. Nothing is installed on the machines first.

Log planning

The log source planner lists every log source to turn on, how long each is kept by default, and what it costs. This link opens it set to Linux, macOS, and Windows.

Registry 0.23.0. Built 2026-11-17.

Made by Habibullah Tora. Source on GitHub. Code under the MIT licence, writing under CC BY 4.0.