Compromise indicators
Compromise indicators are the third part of a server’s Security tab, after the vulnerabilities and the configuration posture. Where those say what could be exploited, an indicator says that something looks like it already has been: a process running from a directory anyone can write, a library preloaded into every program, a kernel module that hides from the module list.
An indicator is evidence, not a verdict. A build agent that runs from /dev/shm, an APM agent that
preloads a library or a driver you installed yourself will all show up here, and
dismissing them says so. Nothing is changed on the server and
WatchTower15 never connects to it: the agent reads a short list of facts, sends the ones that matter out over
HTTPS, and every indicator below says what to check yourself.
What the agent reads, and what it never sends
Section titled “What the agent reads, and what it never sends”The agent reads these with the access its service already has: the CAP_SYS_PTRACE and
CAP_DAC_READ_SEARCH capabilities the install command gives it, nothing installed and no
sudo. It sends derived facts, not the files.
| Reads | Sends |
|---|---|
| Processes: every process’s executable link, name, parent, owner and mount namespace; for a flagged process only, its login session, its systemd unit, up to four parents, its executable file and the owners and modes of the folders it lies in | for a flagged process only, its name, executable path, owner, start time and flags, the evidence below (user, login session, unit, parents, SHA-256, folder access); for a replaced executable, its path, process count and service unit |
Preloaded libraries: /etc/ld.so.preload |
whether it exists, its size, its SHA-256 and each entry as written, with the mode and owner of the file it resolves to |
| Kernel: the taint value, the loaded modules, the running kernel’s module list | the taint number, the module names with whether the kernel’s own list holds them, and the names of hidden modules |
| Scheduled jobs and services: cron files and the administrator’s systemd units | the names of flagged sources and units only, with counts; and the totals read |
| The daily disk walk: the files it already visits | set-user-ID and set-group-ID files, world-writable system files and executables in /tmp and /var/tmp, with their mode, owner, size and modification time, and who owns them (the package) |
The temporary directories that live in memory: /tmp, /var/tmp and /dev/shm when tmpfs |
the executable files in them |
It never sends a command line, an environment variable, a file’s content (the SHA-256 of
ld.so.preload apart), a crontab or a unit’s command text, the name of an account that owns a crontab, or
any path inside /home/<user> or /root beyond the folder itself: a file there is counted per folder,
never named. A parent’s path or an open folder in /home/<user> or /root is sent as that folder only. The SHA-256 of a
flagged executable is the one fact sent about a file there, and it is a hash, never the file.
The indicators
Section titled “The indicators”Each section is one indicator, with its severity, the check it makes and what to do. The same words are in the Security tab’s drawer.
/etc/ld.so.preload loads a library into every program
Section titled “/etc/ld.so.preload loads a library into every program”Critical. /etc/ld.so.preload exists and is not empty. Every dynamically linked program on the server
loads the libraries it names: it is the oldest way to hide a process or a file. Unless an APM or security agent
you installed wrote it, investigate who changed the file and when, and what each library is, its owner and its
mode. The drawer lists each entry; an entry that is a bare name, such as libprocesshider.so, or holds a
dynamic token such as $LIB, reads not measured, because which file the loader picks depends on its search path.
A process runs from a world-writable directory
Section titled “A process runs from a world-writable directory”Critical. A process’s executable lies under /tmp, /var/tmp or /dev/shm, or in a directory
every user can write. A user’s own runtime directory, /run/user/<uid>, is private to that user, so it is not one of those places: a
folder under it that every user can write still fires. Find who runs it, what started it and what the executable is. Isolate the server if you
cannot explain it. When the executable is outside those four places, the drawer adds that its directory is world-writable:
check that directory’s mode.
Info when the process runs in a container (another mount namespace) and the folder is the container’s own, such as
a Docker build’s /tmp/go-build… or a browser test’s /ms-playwright/…: such a program is not a compromise of the host,
and an Info indicator never raises the server’s indicator level. The evidence names the container (its short id, or its
cgroup’s name) when the agent can read it. The same folder on the host itself stays Critical.
Running builds or automation from /tmp? See Running builds, scripts and automation on monitored servers, and
Disable, reconfigure, accept for known folders.
A process runs an executable that was deleted
Section titled “A process runs an executable that was deleted”Warning, Critical when the file lay in a world-writable place (Info when that place is a container’s own, as above). A program that deletes its own file after it starts hides from the disk. An executable that was replaced (the path exists again) is not this: that is a service to restart.
A process pretends to be a kernel thread
Section titled “A process pretends to be a kernel thread”Critical. A process is named like a kernel thread (kworker/…, ksoftirqd/…, kdevtmpfs and the others)
but has an executable or a parent that a real kernel thread does not. A process renamed only on its command
line, such as exec -a '[kworker/0:1]', is not seen as a fake kernel thread, because the agent never reads command
lines, though the executable indicators still apply to it.
A process runs from memory only
Section titled “A process runs from memory only”Critical. The program was loaded into an anonymous memory file (memfd), so nothing of it is on disk: the
mark of fileless malware. The container runtime runc does this legitimately for its own init and is not flagged.
A kernel module hides from the module list
Section titled “A kernel module hides from the module list”Critical. A module is live in /sys/module but absent from /proc/modules, and still live when read a third
time (a module that unloads while the agent reads is not reported). That is the mark of a kernel rootkit, and
nothing the server reports about itself can then be trusted: isolate it and rebuild it from a known image.
A kernel module from outside the kernel was loaded
Section titled “A kernel module from outside the kernel was loaded”Warning. A loaded module is not in the running kernel’s own module list, is not a live patch and is not in this
server’s baseline. Find which package installed it and why it was loaded
(modinfo <name>, the kernel log); a driver you installed yourself explains it.
The running kernel was newly tainted
Section titled “The running kernel was newly tainted”Warning. A proprietary (P), force-loaded (F), out-of-tree (O) or unsigned (E) module tainted the running kernel since its baseline. A new O or E bit that only a live-patch module explains is added to the baseline silently.
A new set-user-ID or set-group-ID file
Section titled “A new set-user-ID or set-group-ID file”Warning when no package owns the file or the agent could not tell, Info when a package owns it, and
Warning for a /home or /root folder that holds more of them than its baseline. A set-user-ID root file runs
as root for anyone who starts it. Find who created or changed it and when, and whether a package owns it; remove it
if you cannot explain it. Files under container storage (/var/lib/docker, /var/lib/containerd,
/var/lib/containers, /var/lib/kubelet/pods, /var/lib/snapd) are counted, never listed.
A system file is world-writable
Section titled “A system file is world-writable”Warning. A regular file under /usr, /bin, /sbin, /lib*, /boot or /opt that any user can change.
/etc is covered by the configuration posture.
An executable file in a temporary directory
Section titled “An executable file in a temporary directory”Warning in /dev/shm, Info in /tmp and /var/tmp. Programs dropped where every user can write are a common
first step of an attack. Find who owns the file, when it was written and what runs it. The drawer’s Folder line says
whether the folder it lies in is private to its owner, and the end of its line in the Indicators table says it in a few
words: “· private folder” or “· folder open at /tmp”.
Tools that must write here have a better home: Running builds, scripts and automation on monitored servers. A folder you declare as a known execution folder records the files in it as Info while it is private to its owner.
A cron job runs from a world-writable path or pipes a download into a shell
Section titled “A cron job runs from a world-writable path or pipes a download into a shell”Warning. A cron source (/etc/crontab, a file of /etc/cron.d, or a user’s crontab, named by its uid, never by
the account’s name) has an entry that runs a program in a world-writable place, or pipes a download (curl, wget)
into a shell. Read the entries of the source and check who changed it and when.
“Runs from a world-writable path” reads the program each cron line runs and the script a shell runs, with
links followed on the host, and a relative program read from the directory a cd on the same line set. It never
reads another argument, so a lock file or a cleanup job’s path in /tmp does not fire it.
A systemd service runs from a world-writable path or pipes a download into a shell
Section titled “A systemd service runs from a world-writable path or pipes a download into a shell”Warning. The same two tests on an administrator’s unit file: its ExecStart=, ExecStartPre=, ExecStartPost=,
ExecReload=, ExecStop= and ExecStopPost= lines. Read the unit (systemctl cat <unit>) and check who installed it.
What the evidence tells you
Section titled “What the evidence tells you”A process indicator (a process that runs from a world-writable directory, from a deleted file, from memory only, or one named like a kernel thread) shows a Process block in its drawer. Each fact is what the kernel reports about the process: WatchTower15 never matches it against a list of tools, languages or names, and never guesses what wrote the file.
| Fact | What it tells you |
|---|---|
| User | The account that runs the process, with its uid; “a service, not a login session” when nobody logged in to start it, or the login uid when somebody did. |
| Unit | The systemd service or session scope the process runs in, such as ci-runner.service or session-4.scope. |
| Started by | Up to four parents, the nearest first, with their paths in a tip: who started the process, and who started that. |
| SHA-256 | The hash of the executable file, cut to its first 12 characters, with a Copy control for the full hash. Search for it in a threat feed or compare it with the file you expect. |
| Folder | Private to its owner: every folder from the executable up to the temporary directory belongs to the file’s owner or to root, and nobody else can write to it. Writable by other users: another user could replace the file, and the drawer names the first folder that is open. |
A private folder in /tmp is what a build or an installer usually leaves. A folder writable by other users is the
case to look at first: any user on the server could have written that file. Neither is a verdict.
A fact the agent could not read says so in its own words, never as “not reported”: User shows a dash beside the uid, Unit shows None, Started by shows None reported (its parent is process 1, or ended before it was read), SHA-256 shows Not read (the file is over 64 MiB, could not be read, the hashing ran out of its time, or eight new files were already hashed in that check) and Folder shows Unknown. When the server’s agent is older than the release that reports these facts, every fact reads Not reported by this agent version and the drawer names the release to update to.
A dismissal of “A process runs from a world-writable directory” pins the SHA-256: the indicator opens again if the binary at that path is replaced. A dismissal made before the agent reported the hash is moved to the hash the next time the agent reports one, without reopening, and a different hash opens it again after that.
Services to restart
Section titled “Services to restart”A process whose executable was replaced on disk (a package upgrade or a deploy) still runs the old code. That is
housekeeping, never a compromise and never an alarm: the Security tab lists it under Services to restart, one row
per executable with its process count, in the Actions required list as an
Info row. When the agent could read the service from the process’s control group, the row says
sudo systemctl restart <unit>; otherwise it names the process to restart. A restart row has no Dismiss: it clears
when the service restarts. The indicator is restart.binary_replaced.
Disable, reconfigure, accept
Section titled “Disable, reconfigure, accept”Three actions decide what the two temporary-execution indicators, a process runs from a world-writable directory and an executable file in a temporary directory, mean on your servers. No other indicator takes a policy.
- Accept one finding, as dismissing does.
- Reconfigure a rule on a server profile or on a single server: change its severity, or list known execution folders.
- Disable a rule on a server profile or a single server. A disabled rule is not checked there. It is always shown: the server’s Security tab and the profile’s page say which rules differ from the defaults, with who set them, why and when they are next reviewed.
Who may. Members with the Security policy permission (security.policy; Admins hold it, nobody else is granted it automatically).
Moving a server to a profile that changes its effective rules, or duplicating a profile that has rules, needs the permission too. A key holds it
only when an administrator ticks it. Every change records its reason (up to 500 characters), a review date within 12 months and the person or
key, and is written to the audit trail. After the review date the rule stays in force and the page says Review due.
Known execution folders. A folder under /tmp or /var/tmp that your tooling uses, such as /tmp/ci. It covers the folder and everything below
it. The bare /tmp and /var/tmp, anything under /dev/shm and folders elsewhere are refused: outside the temporary folders the rules already
ignore a program unless other users can write its folder, and then the folder is never private. An executable in a known folder is recorded as
Info and never raises an alarm only while the folder is private to its owner (the owner of the file or root owns every folder from the file’s
own up to the temporary root, and none is open to group or others). If other users can write the folder, if the agent does not report the folder’s
access or if it could not read it, the finding keeps its severity and the drawer says why.
Severity. A rule’s severity can be raised or lowered for its server or profile. A finding in /dev/shm is never below Warning, whichever
rule it is.
Disabling resolves the rule’s findings, accepted ones too. The open and the accepted findings of a disabled rule resolve at the next report, as “No longer checked: disabled by policy”. Enabling the rule again opens whatever is still there as new findings: an acceptance you gave earlier does not carry over and has to be given again.
A server’s effective policy is its profile’s, with the server’s own state and severity winning where set, and the known folders of both joined. In the console, a profile’s Compromise indicators card and a server’s Configure for this server panel hold one block per rule, each saved on its own. The fleet’s By server tab counts the servers with a changed rule and filters to them.
A known folder belongs to an automation account and is created at boot by that account: see Running builds, scripts and automation on monitored servers. Never declare a folder that a web or application service account can write.
Baselines and dismissing
Section titled “Baselines and dismissing”Three kinds of indicator compare with a baseline kept by WatchTower15 and never on the host: the kernel modules, the kernel taint and the set-user-ID files of each volume. The first observation sets each baseline silently, so a server you start monitoring raises nothing for what it already had. The tab says what is still waiting (“set-user-ID files: 2 volumes wait for their first complete walk”, “kernel modules wait for a complete module list”).
Dismiss an indicator on one server when it is expected, with a reason (and an optional review date). For a new kernel module, a taint bit or a set-user-ID file, dismissing adds it to this server’s baseline; Restore takes it out again. A dismissed indicator raises no alarm and leaves the server’s healths alone, and it opens again if its path or fingerprint changes or on its review date. An indicator is never dismissed for the whole organisation.
Indicators are also readable, dismissable and restorable through the public API, as security findings of kind indicator: see the
developer site.
When the tab cannot check
Section titled “When the tab cannot check”The Indicators section shows one notice, in this order of precedence:
- Container install: “This agent runs in a container, so it sees the container, not the host. Compromise indicators are not checked for container installs.”
- Agent update needed: the agent does not have the
security_indicatorscapability. A Windows server reads this for good. - Reinstall needed: an agent installed without the two capabilities (its Agent security card says None for its privileges) cannot inspect other processes or read users’ crontabs, so the process indicators, the user crontabs and the temporary-directory checks are not measured.
- Some checks did not complete: a fast check timed out or was partial, or a daily walk did not finish (the notice names the mount points), so indicators found earlier cannot clear yet.
- No volume is walked daily: monitor the root volume on the Storage tab to enable the file checks and the temporary-directory sweep.
- The file checks have not run yet: they run with the daily disk walk, next between 04:30 and 05:30 UTC.
What is not inspected
Section titled “What is not inspected”- No third-party scanner runs on the host. The checks are the agent’s own and read the facts above.
- A kernel rootkit that hides from
/procitself is out of reach of anything that reads/proc. - Cron’s
run-partsdirectories (/etc/cron.hourly,cron.daily,cron.weekly,cron.monthly) and/etc/anacrontabare not read. - Systemd units: those of
/etc/systemd/system,/run/systemd/systemand/usr/local/lib/systemd/system, with their linked units. Transient units (/run/systemd/transient), units that generators write (/run/systemd/generator*) and user units are not read. - A command run through a wrapper other than
env,nohup,nice,exec,commandandtime(for examplesudo,setsid,timeout), a script run by an interpreter other than a shell (python3 /tmp/x.py) and a unit’sWorkingDirectory=are not read. - Cron files named as both crons skip them (a leading
.or#, a trailing~,.rpmsave,.rpmorig,.rpmnew) are not read. - Container installs, and Windows servers.
One rule watches the indicators: Compromise indicator.