Skip to content

Achilles Agent 0.7.1

Choose a tag to compare

@github-actions github-actions released this 27 Oct 18:51
· 992 commits to main since this release
2056fbc

Warning

The Windows binary in this release is not code-signed.
Endpoints enforcing WDAC or application control will refuse to run it.

Sign it with your own certificate at Settings → Agent → Upload Agent
Binary
, which signs on upload and is the recommended path anyway:
the artifact's provenance comes from this tagged build, the signature
from the certificate your fleet actually trusts.

Installation

Download the binary for your platform and enroll:

# Linux
chmod +x achilles-agent-linux-amd64
sudo ./achilles-agent-linux-amd64 --enroll TOKEN --server https://your-server.example.com --install

# macOS (Apple Silicon)
chmod +x achilles-agent-darwin-arm64
sudo ./achilles-agent-darwin-arm64 --enroll TOKEN --server https://your-server.example.com --install

# Windows (PowerShell as Administrator)
.\achilles-agent-windows-amd64.exe --enroll TOKEN --server https://your-server.example.com --install

Verify checksums

sha256sum -c SHA256SUMS

Security

  • Test binaries and updates can no longer be swapped by a local user on Windows. The agent never locked its own folder. Created under C:\, C:\F0 inherits Modify for every signed-in user, and the agent downloads test binaries into C:\F0\tasks, checks their SHA256 and then runs them as SYSTEM (the updater stages new binaries in C:\F0 too), so a local user could replace a file after the check and get code run as SYSTEM. At every startup the agent now locks the folder the way bootstrap-windows.ps1 does (owner Administrators; SYSTEM and Administrators only, by well-known SID; inherited by the work dir and everything in it). It only does this in the standard layout (work dir directly inside the folder holding the binary) and never on a junction; otherwise it logs a warning. Endpoints enrolled with bootstrap-windows.ps1 or with C:\F0 locked by GPO were not exposed.
  • Agent files are locked down on non-English Windows. The agent restricted its config (agent key, server URL) and binary with icacls using English account names; on localized Windows (e.g. Spanish BUILTIN\Administradores) icacls failed (exit 1332), changed nothing and only logged a warning, so both kept their inherited ACL. The agent now uses well-known SIDs and re-locks the config at every startup. (#607)

Both fixes apply on the first start after updating; no re-enrollment needed.

Fixed

  • Windows test binaries without .exe are launchable. A legacy binary_name lacking .exe gets one appended on Windows (complements the per-OS dispatch in platform 2.3.1). (#544)