FortiGate: Local User Added via CLI Event

Alerts on FortiGate events where a new local user is added under user.local.

FreeReviewedSigma · Medium · v2
Product
fortigate
Service
event
Author
Marco Pedrinazzi (@pedrinazziM) (InTheCyber) (SigmaHQ), DRL 1.1
Published
2025-11-01
Updated
2026-07-31
title: "FortiGate: Local User Added via CLI Event"
id: 34651e05-6a4a-479a-adba-a1dcba62086a
status: experimental
description: This rule identifies FortiGate event log entries indicating a new local user was added under user.local. Attackers may create local users to establish persistent access, including potential use for VPN authentication. It relies on FortiGate event telemetry fields where the action is "Add" and the configuration path is "user.local".
references:
  - https://www.fortiguard.com/psirt/FG-IR-24-535
  - https://docs.fortinet.com/document/fortigate/7.6.4/fortios-log-message-reference/398/event
  - https://docs.fortinet.com/document/fortigate/7.6.4/cli-reference/109120963/config-user-local
  - https://docs.fortinet.com/document/fortigate/7.6.4/fortios-log-message-reference/44547/44547-logid-event-config-objattr
  - https://github.com/SigmaHQ/sigma/blob/master/rules/network/fortinet/fortigate/fortinet_fortigate_new_local_user_created.yml
author: Marco Pedrinazzi (@pedrinazziM) (InTheCyber), Huntrule Team
date: 2025-11-01
tags:
  - attack.persistence
  - attack.t1136.001
logsource:
  product: fortigate
  service: event
detection:
  selection:
    action: Add
    cfgpath: user.local
  condition: selection
falsepositives:
  - A local user can be created for legitimate purposes. Investigate the user details to determine if it is authorized.
level: medium
license: DRL-1.1
related:
  - id: ddbbe845-1d74-43a8-8231-2156d180234d
    type: derived