AxiomSearch

Wiki › Admin guide

Accounts and security

Every person who uses the Axiom server needs an account that an admin creates on the admin page. This page covers creating and managing accounts, two-factor sign-in, the sign-in lockout, how long sessions last, and the analyst portal.

On a server that runs the public website, people can also request their own accounts, which you approve or deny; see Sign-ups and email. Those accounts start with a temporary password that must be changed at first sign-in.

The admin page

Open https://axiom.example.com/admin, or the portal's Axiom Admin tile. An admin already signed in to the portal is signed in to the admin page too (see Single sign-on); otherwise the page has its own sign-in: username and password first, then — for an account with two-factor sign-in on — a second screen asking for the 6-digit code. Only accounts with the admin flag can use it. Behind the gateway it also answers on port 8480 at /admin.

The admin page
The admin page

A sidebar lists the sections and the page shows one at a time: Overview; People (Sign-up requests, Users, Teams); Cases (Investigations, Checklist templates, Known-good list); Integrations (Cortex XSIAM, Single sign-on, Email and sign-up); Releases (App releases); and Security (Audit log). On a narrow window the sidebar folds into a Sections button. Each section has its own address, such as /admin#users, so a bookmark, reload or the back button keeps your place.

The Overview opens first. Its Needs your attention card lists only what needs an admin now, such as pending sign-up requests, analysts on no team, accounts without two-factor sign-in or on an expired temporary password, a lone enabled admin, or open cases idle past the retention limit, each with a link to its section. Health shows the last audit integrity check, email, Cortex XSIAM and single sign-on; Recent activity shows the newest audit entries.

Each account's row under People → Users shows its teams and tool access, with Set email (or Change email), Reset password, Reset 2FA (when two-factor sign-in is on), Make admin or Revoke admin, and Disable or Re-enable. Your own row is labelled you and has no admin or Disable button.

Creating accounts

  1. Under People → Users, enter a Username, a Full name and a Password of at least 8 characters.
  2. Pick the account's team. Analysts can share cases only with people on one of their teams; see Shared investigations.
  3. Optionally enter their Email. Reminder emails go to it; you can add or change it later with Set email on their row.
  4. Tick admin only for people who should manage the server.
  5. Click Create user, then give the person their password over a secure channel.

Usernames are 1 to 64 characters from lowercase letters, digits, ., - and _; what you type is trimmed and lowercased. Fill in the full name: teammates see it while that person holds a case's edit lock. Accounts can't be renamed or deleted, so choose usernames carefully.

Two accounts can't share an email address. Setting, changing or removing one is in the audit log as email_changed, without the address.

Admin rights

Admins manage every account and every shared case, configure the XSIAM integration and publish app releases. Use Make admin and Revoke admin on an account's row to change the flag.

The server always keeps at least one enabled admin. Your own row has no Disable or admin button, and any change that would leave no enabled admin is refused. Keep a second admin anyway: if every admin password is lost, recovery means editing the data files by hand.

Disabling, not erasing

Disable blocks the account from signing in and immediately ends all of its sessions, in the app, the portal and the admin page, including any live case streams it had open. The account and its history stay: there is no hard delete, so audit entries and case memberships keep pointing at a real account. Re-enable lets the person sign in again; it brings no old session back.

Password resets

Reset password sets a new password (8 or more characters) and signs that account out everywhere. If you reset your own password, the session you did it from survives. On an account approved from a sign-up, a reset also replaces the emailed temporary password: the person signs in with the new one straight away, without being asked to change it.

Analysts can change their own password in the portal under Your account. They must enter their current password, which counts toward the sign-in lockout, and the change signs out their other sessions.

Two-factor sign-in

Two-factor sign-in uses time-based six-digit codes from any authenticator app, such as Microsoft Authenticator, Google Authenticator or 1Password.

  • Turning it on is self-service. In the portal under Your account, in the Two-factor sign-in card, the user enters their current password, adds the account to their authenticator app by scanning the QR code or typing the setup key, and confirms with a code. Turning it on signs out the account's other sessions.
  • Every sign-in asks for a code from then on: the desktop app, the portal and the admin page. In the browser pages the code is a second step — a correct password moves to a code screen; a wrong password never reveals whether the account uses a code.
  • Turning it off needs both the password and a current code.
  • Codes work once. A code that was already accepted is refused if replayed, and wrong codes count toward the sign-in lockout.
  • Codes depend on the clock. The server accepts one 30-second step either side of now. If every code fails, check that the phone sets its time automatically and the server host runs NTP.

Under People → Users, accounts that use it carry a 2FA label. When someone loses their phone, use Reset 2FA on their row. The account can then sign in with its password alone until the person enrols again, so confirm who is asking before you reset.

MFA_ISSUER (default AxiomSearch) sets the name authenticator apps show for the account.

Sign-in lockout

The server counts failed password checks per username and per client address. App, portal and admin sign-ins, password changes, the password checks for turning two-factor sign-in on or off, and wrong two-factor codes all share the same counts.

  • Five failures within 15 minutes of the first lock that username, and separately that address, for 15 minutes.
  • While locked, every attempt gets 429 with a Retry-After header, even with the right password.
  • A correct sign-in clears the counts for its username and address.
  • Unknown usernames are counted too, and cost the same time to check, so lockouts and response times don't reveal which accounts exist.
  • IPv6 clients are counted per /64 network.
  • The counts live only in memory: restarting the server clears every lock, while sessions survive.

Analysts behind one NAT or proxy share an address, so five typos between them can lock everyone there out for 15 minutes. If every analyst seems to share one address, the gateway's X-Forwarded-For header isn't trusted; see Gateway and certificates. Anyone can also lock a known username by sending five wrong passwords.

Sessions

A sign-in session lasts 12 hours and renews while in use: a request made with less than 6 hours left extends it to 12 hours from then. An app in steady use stays signed in; an idle one is signed out 6 to 12 hours after its last request. Sessions are saved in the data volume, so restarting or upgrading the server signs nobody out. The saved file holds only a hash of each token, never the token itself, so neither the volume nor a backup of it contains anything that signs in.

Browsers are slightly different. The portal's cookie expires 12 hours after sign-in even if the session behind it was renewed, so browser users sign in again every 12 hours. Using only the tools behind the gateway doesn't count as activity.

Sessions end early when the user signs out, when the account is disabled, and when its password is reset or changed. Turning on two-factor sign-in ends the account's other sessions.

Analysts also manage their own: the portal's Your sessions card lists everywhere the account is signed in — when each session was started and last used (to about five minutes) and from which address — with a per-session Sign out and a Sign out everywhere else button. Sessions started before the server recorded this show "unknown" for what wasn't recorded. Each revocation lands in the audit log as sessions_revoked, with a count and never a token.

Recent sign-in activity

Each analyst sees their own newest sign-ins, failures and lockouts in the portal's Recent sign-in activity card, read from the audit log (sign-ins, failed attempts, lockouts and two-factor changes for their account only, at most the newest 20). Failures stand out in red, so someone guessing a password against an account is noticed by its owner without anyone asking an admin. The full log, for every account, stays admin-only under Security → Audit log.

The analyst portal

The portal at https://axiom.example.com/portal is where analysts sign in with a browser. It shows tiles for the tools their account can open (Uptime Kuma, CyberChef, Portainer and, for admins, Axiom Admin), below them a Your account section with the password-change and Two-factor sign-in cards, and a Security section with the Your sessions, Recent sign-in activity and Known-good proposals cards (see Known-good list). The same Axiom account signs in to the desktop app on port 8480. An account still on its emailed temporary password reaches none of this until it sets its own.

Which tools an account can open is set per account by an admin. By default admins get CyberChef, Uptime Kuma and Portainer, and analysts get CyberChef. See Single sign-on.

How passwords are stored

Passwords are hashed with PBKDF2-HMAC-SHA256, 120,000 iterations and a per-user salt, and compared in constant time. Two-factor secrets sit beside them in users.json (mode 0600) and are never sent to any client.