Enforcing MFA in Security Onion with TOTP or security keys

Security Onion console users can be required to present a second factor. This page explains how TOTP and WebAuthn security keys differ, what WebAuthn needs from your hostnames and certificates, and how to plan for lost factors.

On this page

Why enforce MFA on the Security Onion console and when to plan it

Enforce a second factor on the Security Onion console before analysts start using it for live investigations, not after. The console gives access to sensitive network telemetry, alerts, packet data and detection tuning, so a password alone may not meet your access policy. Multi-factor authentication adds a second proof of identity at login for every console user it applies to. Plan it as part of the initial access design, because the factor you choose affects how users reach the console (by hostname or IP address), which certificate the browser sees, and how lost devices are recovered.

Security Onion's MFA documentation describes the second factor options the console supports. Time-based one-time passwords (TOTP) run from an authenticator app on the user's phone or desktop. WebAuthn security keys are a separate option, and the platform documents them as a second factor only, so they cannot replace the password. Read the Security Onion MFA docs for the current enrollment flow and confirm which options your installed version offers before you write the policy. Also confirm whether MFA applies to every account type, including any local or service accounts your team uses.

When planning, list who logs into the console (analysts, administrators, auditors, and any shared or break-glass accounts), then decide which factor each group will use and who handles lost factors. Confirm your identity provider or single sign-on arrangement with the vendor or in your own test environment, because it changes where the second factor is checked. Schedule this work before go-live so enrollment, recovery and time sync are tested on a non-production grid first.

TOTP or WebAuthn: which second factor fits which users

Analysts sign in to the Console daily from managed workstations, often from a shared operations floor. TOTP fits this group well when users already carry a phone with an authenticator app and the Console is reached through a single approved address. WebAuthn adds stronger phishing resistance, but it places more conditions on how the Console is reached, so the choice depends on the network design more than on the user.

  • Enrollment effort: TOTP needs one scan of a code and a phone app. Security keys need a registration step in the browser for each user and key.
  • Phone policy: Many analyst groups cannot or will not put personal phones on the SOC floor. Confirm whether your policy allows a phone for second-factor use.
  • Shared workstations: A security key is physically portable, so confirm who holds each key and whether shared desks are allowed.
  • Access path: WebAuthn requires the Console to be opened by hostname with a browser-trusted certificate. Check that every analyst workstation resolves that name.
  • Session behavior: Confirm in your version how often each factor is requested and whether the browser keeps the session.

Before choosing, confirm your analyst workstation inventory, your phone policy and whether the Console hostname resolves on every device that needs access.

How to enforce MFA on the Security Onion console

This sequence takes a Security Onion console from password-only sign-in to one that requires a second factor, with the prerequisites that make TOTP or a security key work checked first.

  1. Confirm version and console access path

    Someone with administrative access to the grid confirms which Security Onion version is installed and how analysts reach the console today, by IP address or by hostname. Check the version on the manager and compare it with the MFA section of the Security Onion documentation, since the menu paths and options for MFA depend on the release. Confirm your deployment type and whether the console is reached through a proxy or load balancer. The step is done when you have written down the version, the URL analysts use, and the MFA options your version documents. Confirm exact menu paths against the MFA docs before changing anything.

  2. Set the SOC hostname and trusted certificate

    The administrator sets a DNS name for the Security Onion Console and installs a TLS certificate that browsers used by analysts already trust, either from your internal certificate authority or a public one. WebAuthn security keys require access by hostname rather than IP address and a certificate the browser trusts, so this step is a hard prerequisite for hardware keys. Check the name resolves from an analyst workstation and that the browser shows a valid certificate chain with no warnings. The step is done when the console loads by hostname over HTTPS with no certificate error in a clean browser profile.

  3. Synchronize time across all grid nodes

    The administrator confirms that every node in the grid, including the manager, sensors and search nodes, uses the same time source and that the clocks agree. One-time codes from TOTP apps depend on accurate time, and a drifted node can cause valid codes to be rejected or make log entries hard to correlate. Run the time synchronization status command on each node, for example timedatectl, and compare the reported clock and sync state across nodes. Confirm the approved time source with your network team. The step is done when every node reports a synchronized clock within your team's accepted tolerance and the time source is documented.

  4. Enable the chosen factor for console users

    The administrator turns on the second factor for the Security Onion Console, selecting TOTP, WebAuthn or the option your version documents, and decides whether it is enforced for all users or a defined group. Review the scope with the security team, including whether existing accounts must enroll at next sign-in and how service or break-glass accounts are handled. Record the setting and the date it was changed in your change log. The step is done when the setting is saved, and the MFA documentation confirms the enforcement behavior your version provides.

  5. Enroll a test account and a backup method

    The administrator creates or uses a non-production test account and enrolls it with the chosen factor. Enroll a second method, such as a backup authenticator or a recovery approach the documentation describes, so one lost device does not lock out the only administrator. Store recovery material according to your credential handling policy. Confirm who can reset another user's factor and how that action is logged. The step is done when the test account signs in with the enrolled factor and a second recovery path has been tested once, with the result recorded.

  6. Verify login from a clean browser

    A user who did not perform the setup signs in from a clean browser profile or a different workstation, by the hostname, and completes the second factor. Test a failed attempt with a wrong code to confirm the prompt is enforced and not skipped. Check that a session without the factor cannot reach the console by visiting the URL directly. Review the console or manager logs for the authentication events so you know they are recorded. The step is done when a clean-browser login succeeds only after the second factor, a failed factor is rejected, and the authentication events appear in the logs you reviewed.

  7. Document the reset and recovery procedure

    The administrator writes the steps for resetting a lost factor, including who may approve the reset, how the identity of the requester is confirmed, and how the reset is recorded. Include the time sync and hostname checks in the runbook so responders know what to verify when a login fails after a reset. Ask your vendor or the MFA documentation to confirm the exact reset path for your version. The step is done when the procedure has been walked through once with the operations team and stored with the grid documentation.

What WebAuthn needs from hostnames, certificates and access paths

WebAuthn security keys only work when analysts reach the Security Onion Console by hostname and the browser trusts its TLS certificate. The Security Onion MFA documentation makes both conditions explicit for security key use, and they shape the rollout more than the key hardware does. Before you enable WebAuthn for anyone, decide the single canonical hostname for the console, confirm it resolves on every analyst network segment, and confirm the certificate was issued for that name. A browser that reaches the console by IP address, or that does not trust the certificate chain, will fail the registration or sign-in step, and the failure often looks like a generic login error rather than a clear certificate problem.

Build an inventory of every URL analysts use to reach the console before you change anything. Include bookmarks in browsers and password managers, links in runbooks and ticket templates, scripts or API clients that open the console, and any reverse proxy or load balancer that forwards traffic. Each entry that uses an IP address will break or behave differently once WebAuthn is enforced, so either update it to the hostname or document a deliberate exception. Ask the analyst team which paths they use from jump hosts and remote sessions, because those paths are the ones most often forgotten. Confirm with your own change records whether any reverse proxy rewrites the Host header, since a mismatch there can also block the key.

Check certificate chain trust on every analyst workstation class, not just on the administrator laptop used for testing. Corporate root certificates, managed browser profiles and older operating system images can differ, and an internal certificate authority that is trusted on one build may be missing on another. For each workstation image, open the console by hostname, inspect the chain, and confirm that the browser reports a valid, trusted connection with no warning. Record the results so that a later certificate renewal or an intermediate authority change can be tested against the same list. If your organization uses a public certificate for the console, still confirm the chain on each image, because intermediate certificates are a common gap.

Security and operational risks of second-factor rollout

Adding a second factor to the Security Onion Console fixes one weakness and creates several new ones, mostly in time sync, recovery and naming. Each card below names a risk, the control that addresses it and the team that should own that control before users are enrolled.

Time drift breaking TOTP codes

TOTP codes depend on the clock on the phone or token and the clock on the Security Onion node agreeing within the code window. A node that drifts or loses its NTP source will reject valid codes and lock out analysts who did nothing wrong. Control: run one authoritative NTP source for every grid node and monitor sync status. Owner: platform engineering. Check the time source on each node before go-live and after any virtualization host change.

Lost or shared factors

A phone replaced, a hardware key misplaced or a TOTP seed copied to a shared password manager turns a second factor into a shared secret. Analysts may also enroll on a colleague's device to avoid a support ticket. Control: enrollment bound to a named identity, a documented replacement procedure and a rule that factors are personal. Owner: SOC manager with identity administrators, who approve every reset.

Recovery paths that bypass MFA

A reset that emails a password link, or a local admin login kept for emergencies, can give an attacker the same access MFA was meant to block. Recovery is often the weakest path in the whole design. Control: list every login path, including local and API access, and confirm each one requires the second factor or a documented break-glass process. Owner: security architecture, with sign-off from the CISO.

Optional MFA for some accounts

If MFA is enforced for most users but left optional for service, legacy or older accounts, attackers will look for those accounts first. Exceptions also tend to outlive the project that created them. Control: an inventory of every console account with its factor status, reviewed on a fixed schedule. Owner: identity administrators, who report exceptions to the risk owner with an expiry date.

Factor secrets stored carelessly

TOTP seeds and enrollment data are credentials in their own right. Exports, backups, support tickets or screenshots of enrollment QR codes can expose them and let someone generate valid codes indefinitely. Control: restrict access to the backup and database locations that hold factor data, keep them out of tickets and chat, and include them in your backup encryption scope. Owner: infrastructure operations, with the security team reviewing backup access.

Hostname and certificate changes

WebAuthn security keys need the console reached by hostname with a browser-trusted TLS certificate, so a DNS change, a new IP-based bookmark or a certificate renewal from an untrusted internal CA can stop key logins without warning. Control: treat the console hostname and certificate as change-controlled assets with a test login after each change. Owner: network and PKI teams, with the SOC informed before any change window.

Security Onion MFA docs

Resetting a lost TOTP or security key without weakening access

A lost authenticator should lead to a factor reset, not a bypass of the second factor. Write the reset procedure before the first user is enrolled, so that the service desk and the Security Onion administrators follow the same steps under pressure. The first step is identity verification through a channel independent of the Security Onion Console. A request that arrives only through the console login page, or from an address the requester cannot prove, should not be actioned. Confirm with the user through a known phone number or a manager who can vouch for them, and record who verified the request and how.

Reset the factor, not the account, wherever the installed version allows it. Removing a single TOTP enrollment or a single security key leaves the user's username, role assignments and history intact, and it forces the user to enroll again before access returns. Resetting the whole account can change role mappings and audit trails, so it should be a deliberate exception. Confirm in the MFA docs for your installed version which commands perform a factor-only reset, what they delete, and whether existing sessions are invalidated. Test the procedure on a non-production grid first, because the exact command names and their effects are version-dependent and should not be copied from older notes.

Log every reset with the requester, the verifier, the time, the factor type and the administrator who performed it, and review the log on a set schedule. Keep the reset path restricted to a small group of administrators, and make sure re-enrollment happens under the same checks used at first enrollment, including the requirement that the security key be used on the hostname and trusted certificate in place. Confirm that your time sync is healthy before the user re-enrolls, since a drifting clock causes TOTP codes to fail and tempts administrators to relax checks.

Limits to confirm before you enforce MFA

The MFA documentation for Security Onion is version and deployment specific, and several choices change what enforcement means in practice. Confirm each limit below with the vendor or in a test grid before you require a second factor for console users.

Version and deployment type

Confirm that the MFA documentation you are following matches the Security Onion version and deployment type you run. Security Onion 3.0.0 was released on March 31, 2026, and the 2.4 line reaches end of life on October 1, 2026, so a page written for one line may not match the other. Ask whether the steps differ for Standalone and Distributed grids, since the manager node is where console authentication is handled in a Distributed design. Test on a non-production grid of the same version first.

MFA docs

Coverage across console accounts

Determine whether enforcement applies to every console account or only to accounts you create after a change. Build an inventory of local users, their roles and any service or break-glass accounts before you turn enforcement on. Confirm how an account that has not enrolled a factor is handled at next sign-in, and whether any API or automation access bypasses the second factor. Document the answers, because auditors will ask who was covered on which date.

SSO accounts and local factors

Find out how accounts that sign in through single sign-on interact with factors enrolled in the Security Onion Console. An identity provider may already enforce its own second factor, which can duplicate prompts or leave a gap if the two policies disagree. Ask whether the console still prompts for TOTP or a security key for SSO users, and who controls factor reset for those accounts. Record which system is the source of truth for each user.

Pro features and the approach

Check whether the Pro edition changes the design. Security Onion Pro adds OIDC single sign-on to the Console, so the identity provider may become the place where MFA is enforced rather than the Console itself. Confirm with the vendor which features your license covers, whether OIDC is in scope for your environment, and how factor policy is inherited from the provider. Do not assume that a feature listed on the Pro page works the same way in your version.

Pro edition page

Hostname and trusted certificate needs

Security keys in Security Onion depend on how users reach the console. Confirm that analysts will open the console by hostname rather than IP address, and that the browser trusts the certificate presented for that name. Plan for the internal certificate authority, renewal dates and the systems that need the root certificate. A mismatch here can block sign-in for every user who relies on security keys, so test from each browser and workstation image in use.

Time source in airgapped networks

Time-based one-time codes only work when the Security Onion host and the user's device agree on the time. Confirm which time source your airgapped network uses, whether it is reachable from the manager node, and how drift is monitored. Airgap installs take their packages and rules from ISO media, so the time service needs its own planning. Ask what the drift tolerance is for your chosen TOTP app and test a skewed clock before go-live.

Questions teams ask before enforcing MFA on Security Onion

Can our internal team enforce MFA on Security Onion without outside help?

Yes, many teams can, provided they already administer Linux servers, manage TLS certificates and control their DNS. The work is mostly configuration and testing rather than new software: you enable a second factor for console users, decide between TOTP and WebAuthn security keys, and rehearse the lost-factor process. The harder part is coordination across identity, network and help desk staff. Ask whether your team has someone who can own certificate issuance and hostname changes end to end, since those steps usually decide whether a rollout stalls.

What drives the cost of enforcing MFA on Security Onion?

Cost follows the number of moving parts you must change, not the MFA step itself. The main drivers are certificate issuance for the console hostname, DNS and hostname changes that touch analyst bookmarks and scripts, help desk load during the first weeks of enrollment, and test effort across browsers and user groups. Each of these is paid as internal time or as partner time, and most are one-time. Recurring costs appear when factors are lost or replaced, and when certificates renew. Ask any provider to price each driver separately in the written scope.

How long does an MFA rollout on Security Onion usually take?

No duration is fixed here because it depends on your certificate process, DNS change control, the number of console users and how many people need a security key. Teams with an established certificate authority and a clear change window usually move faster than teams that must request certificates from a new issuer. Plan the rollout in stages: a test grid, a pilot group, then the full analyst population. Ask for the timeline as milestones in the written scope, with the approval points and the change windows each milestone depends on.

What does the team need to provide before MFA work starts?

Expect to supply access and decisions rather than software. You will need the Security Onion version and deployment type in use, administrative access to the console and its host, the DNS zone where the console hostname will live, a way to issue or import a TLS certificate that browsers trust, and a named owner for the enrollment and lost-factor process. Security Onion Pro adds OIDC single sign-on, which changes where factors are managed, so confirm your edition before scoping. Your identity and help desk leads should also agree on the lost-factor procedure in writing.

Why do WebAuthn security keys need a hostname and a trusted certificate?

WebAuthn binds a key to the web origin it was registered for, and browsers expect a stable domain name with a certificate they trust. Security Onion's documentation states that WebAuthn security keys work only as a second factor, require the console to be reached by hostname rather than IP address, and need a TLS certificate the browser trusts. If analysts reach the console by IP or through a self-signed certificate, keys will fail or enrollment will be inconsistent. Confirm the exact hostname and certificate chain against the MFA documentation before you commit to security keys.

What creates the most help desk load during an MFA rollout?

Most tickets come from enrollment mistakes and lost factors, not from the login prompt itself. Analysts who change phones, lose security keys or work from a shared workstation will need recovery, and the first weeks of enrollment generate the most requests. Time sync problems can also look like a bad code and send users to the help desk. Reduce load by publishing a short enrollment guide, testing recovery before the pilot, and writing down who can reset a factor and how identity is verified. Ask for a help desk runbook as part of the deliverables.

What should we request in a written scope for MFA on Security Onion?

Ask for a scope that names the Security Onion version and deployment type, the authentication method (TOTP, WebAuthn or both), the hostname and certificate plan, the list of user groups in scope, and the test plan covering browsers and reset flows. Also request the enrollment and lost-factor runbook, the rollback steps, the handover of configuration, and the retest or verification steps after go-live. Require that each deliverable and each acceptance check is written out, so you can compare quotes on the same basis. No provider should promise a fixed outcome for user adoption.

How the second factor fits into a console login

The login starts with an analyst's browser reaching the Security Onion Console by hostname over TLS that the browser trusts, which WebAuthn security keys require. The primary password is checked first, then the second factor is verified, either a TOTP code or a WebAuthn key, and only then is access granted or denied. The reset path is separate: a lost factor routes through an independent identity check before the analyst is sent back to enrollment. Confirm the enrollment and reset steps against the MFA documentation for your release before you rely on them.

Login path with the second factor and the reset route.

Who should own the MFA rollout inside your team

The security team should own the MFA policy, meaning which accounts must enroll, whether TOTP or WebAuthn security keys are acceptable for each group, and what happens when a user has no working second factor. Those decisions depend on your identity and access model, so they should be written down before anyone touches the console settings. The same team should also decide how Security Onion roles map to people who need second-factor protection, because privileged analyst and administrator accounts usually carry the highest risk. Confirm with your own risk owners how exceptions are approved and recorded, and who can grant a temporary exception.

The platform team owns the parts of the rollout that a second factor depends on. WebAuthn keys only work when analysts reach the console by hostname rather than IP address and when the browser trusts the TLS certificate, so the platform team must settle the DNS name, the certificate chain and the internal certificate authority before users are asked to enroll. Time synchronization matters for TOTP codes, so the same team should verify that the console and the factor devices keep accurate time. Check the requirements in the Security Onion MFA documentation against your environment before scheduling enrollment.

The help desk handles enrollment, lost factors and resets, which is where most MFA rollouts stall. Give the help desk a written procedure that states how an identity is verified before a factor is reset, who approves a reset for privileged accounts and how each reset is logged. Agree on a fallback path for analysts who lose their device during an active investigation, and make sure that path does not quietly bypass the policy the security team set. Ask your team to test the full reset flow once in a non-production grid so the help desk knows the steps before a real incident forces them to.

How DeployOpen scopes and delivers Security Onion MFA hardening

DeployOpen plans and implements second-factor sign-in for Security Onion Console users inside your own infrastructure, starting from your access model and network layout. We agree the scope in writing, build and test the TOTP or WebAuthn configuration, and hand over the settings, runbooks and recovery steps your team needs to operate it.

How we scope

  • We confirm which console users, roles and login paths must require a second factor before work starts.
  • We check whether the console will be reached by hostname with a browser-trusted certificate, since WebAuthn security keys depend on it.
  • We agree the scope, deliverables and timeline in writing, with fixed scope as the default engagement model.

How we build

  • We enable and enforce TOTP for console users and document the enrollment steps each user follows.
  • We configure WebAuthn security keys as a second factor only, after confirming hostname access and certificate trust.
  • We verify time synchronization on the manager and client devices, and test login, lockout and factor reset paths.

How we hand over

  • We deliver a written record of the MFA settings, certificate and hostname decisions, and enrollment procedures.
  • We provide a runbook for resetting lost TOTP devices and security keys without weakening the second factor.
  • We walk your identity and operations staff through verification steps so they can repeat the checks after changes.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover.
  • We can retest MFA settings after Security Onion upgrades, certificate renewals or changes to hostnames and access paths.
  • We can review how MFA fits with your RBAC, firewall host group and single sign-on decisions as your deployment changes.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.