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
ATT&CK techniques
PersistenceRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
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".
Reporting behind it
- fortiguard.comhttps://www.fortiguard.com/psirt/FG-IR-24-535
- docs.fortinet.comhttps://docs.fortinet.com/document/fortigate/7.6.4/fortios-log-message-reference/398/event
- docs.fortinet.comhttps://docs.fortinet.com/document/fortigate/7.6.4/cli-reference/109120963/config-user-local
- docs.fortinet.comhttps://docs.fortinet.com/document/fortigate/7.6.4/fortios-log-message-reference/44547/44547-logid-event-config-objattr
- github.comhttps://github.com/SigmaHQ/sigma/blob/master/rules/network/fortinet/fortigate/fortinet_fortigate_new_local_user_created.yml
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
fortigate-local-user-added-user-local-via-event-logs-ddbbe845
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