Coverage › CVE-2022-41328
CVE-2022-41328 Mapped Partial Sigma
Fortinet FortiOS Path Traversal Vulnerability
- Vendor / product
- Fortinet — FortiOS
- Description (CISA)
- Fortinet FortiOS contains a path traversal vulnerability that may allow a local privileged attacker to read and write files via crafted CLI commands.
- Added to KEV
- 2023-03-14
- Due date
- 2023-04-04
- Required action
- Apply updates per vendor instructions.
- Known ransomware use
- Unknown
- CWE
- CWE-22
- CISA notes
- https://www.fortiguard.com/psirt/FG-IR-22-369
https://nvd.nist.gov/vuln/detail/CVE-2022-41328 - Elsewhere
- cve.org · NVD · CISA KEV · JSON
ATT&CK techniques · CTID Mappings Explorer, ATT&CK 16.1, KEV snapshot 2025-07-28
4 mapping objects across 4 techniques. exploitation technique states how the vulnerability is exploited; primary and secondary impact state what exploitation achieves. They are different claims and are labelled as such.
| Technique | Mapping type | CTID comment | Status in v19.2 |
|---|---|---|---|
| T1574 Hijack Execution Flow | exploitation technique | CVE-2022-41328 is a path traversal vulnerability that allows a privileged attacked to read and write to files on the underlying Linux system via crafted CLI commands. Adversaries have been observed modifying files that establish persistence upon boot. The malicious files provide the adversaries with the capabilities of: data exfiltration, download/write files, remote shell, and discovery of network connections. ref 1 |
live |
| T1037 Boot or Logon Initialization Scripts | primary impact | CVE-2022-41328 is a path traversal vulnerability that allows a privileged attacked to read and write to files on the underlying Linux system via crafted CLI commands. Adversaries have been observed modifying files that establish persistence upon boot. The malicious files provide the adversaries with the capabilities of: data exfiltration, download/write files, remote shell, and discovery of network connections. ref 1 |
live |
| T1049 System Network Connections Discovery | secondary impact | CVE-2022-41328 is a path traversal vulnerability that allows a privileged attacked to read and write to files on the underlying Linux system via crafted CLI commands. Adversaries have been observed modifying files that establish persistence upon boot. The malicious files provide the adversaries with the capabilities of: data exfiltration, download/write files, remote shell, and discovery of network connections. ref 1 |
live |
| T1565.001 Stored Data Manipulation | secondary impact | CVE-2022-41328 is a path traversal vulnerability that allows a privileged attacked to read and write to files on the underlying Linux system via crafted CLI commands. Adversaries have been observed modifying files that establish persistence upon boot. The malicious files provide the adversaries with the capabilities of: data exfiltration, download/write files, remote shell, and discovery of network connections. ref 1 |
live |
Detection chain · ATT&CK Enterprise v19.2 detection strategies, analytics, log sources
T1037 Boot or Logon Initialization Scripts primary impact
- DET0112 Boot or Logon Initialization Scripts Detection Strategy
AN0311 WindowsMonitoring modification and execution of user or system logon scripts such as in registry Run keys or startup folders.Tunable:
TargetObjectParentProcessNameTimeWindowAN0312 LinuxDetection of changes or execution of shell initialization scripts like .bashrc, .profile, or /etc/profile for persistence.Tunable:FilePathUserContextTimeWindowAN0313 macOSMonitoring for modification and execution of login hook scripts or LaunchAgents/LaunchDaemons used for persistence.Tunable:LabelProgramArgumentsUserContextAN0314 ESXiDetection of modification to ESXi rc.local.d or rc scripts that are used to execute on boot.Tunable:ScriptNameLogSeverityAN0315 Network DevicesDetection of changes to device startup-config files that include boot scripts or scheduled execution routines.Tunable:InterfaceCommandPattern
Sigma rules tagged attack.t1037 (0)
None. MITRE's strategy above is the only public detection guidance for this technique.
T1049 System Network Connections Discovery secondary impact
- DET0320 Detection of System Network Connections Discovery Across Platforms
AN0903 WindowsDetects usage of commands or binaries (e.g., netstat, PowerShell Get-NetTCPConnection) and WMI or API calls to enumerate local or remote network connections.Tunable:
SuspiciousParentProcessesTimeWindowCommandPatternListAN0904 LinuxDetects use of netstat, ss, lsof, or custom shell scripts to list current network connections. Often paired with privilege escalation or staging.Tunable:UtilityNameListUserContextScopeExecutionFrequencyThresholdAN0905 macOSDetects shell-based enumeration of active connections usingnetstat,lsof -i, or AppleScript-based system discovery.Tunable:ShellCommandWatchlistTerminalBinaryDenylistAN0906 ESXiDetects shell or API usage ofesxcli network ip connection listornetstatto enumerate ESXi host connections.Tunable:ExecutionOriginCheckExpectedAdminAccessWindowAN0907 Network DevicesDetects interactive or automated use of CLI commands likeshow ip sockets,show tcp brief, or SNMP queries for active sessions on routers/switches.Tunable:CommandPatternListPrivilegedUserCheckAN0908 IaaSDetects enumeration of cloud network interfaces, VPCs, subnets, or peer connections using CLI or SDKs (e.g., AWS CLI, Azure CLI, GCloud CLI).Tunable:ServicePrincipalAllowlistBurstQueryThreshold
Sigma rules tagged attack.t1049 (9)
Author: Michael Haag, Mark Woan (improvements), James Pemberton / @4A616D6573 / oscd.community (improvements)
· 2019-01-16 (modified 2022-07-11) · logsource: product=windows category=process_creation · 183e7ea8-ac4b-4c23-9aec-b3dac4e401ac
Detects execution of "Net.EXE".
Author: frack113
· 2021-12-10 (modified 2023-02-21) · logsource: product=windows category=process_creation · 1c67a717-32ba-409b-a45d-0fb704a73a81
Adversaries may attempt to get a listing of network connections to or from the compromised system they are currently accessing or from remote systems by querying for information over the network.
Author: Daniil Yugoslavskiy, oscd.community
· 2020-10-19 (modified 2023-01-17) · logsource: product=linux category=process_creation · 4c519226-f0cd-4471-bd2f-6fbb2bb68a79
Detects usage of system utilities to discover system network connections
Author: Andreas Braathen (mnemonic.io)
· 2023-10-27 (modified 2024-01-26) · logsource: product=windows category=process_creation · 698d4431-514f-4c82-af4d-cf573872a9f5
Detects system discovery activity carried out by Pikabot, such as incl. network, user info and domain groups.
The malware Pikabot has been seen to use this technique as part of its C2-botnet registration with a short collection time frame (less than 1 minute).
Author: Austin Clark
· 2019-08-12 (modified 2023-01-04) · logsource: product=cisco service=aaa · 9705a6a1-6db6-4a16-a987-15b7151e299b
Find information about network devices that is not stored in config files
Author: Daniil Yugoslavskiy, oscd.community
· 2020-10-19 (modified 2022-12-28) · logsource: product=macos category=process_creation · 9a7a0393-2144-4626-9bf1-7c2f5a7321db
Detects usage of system utilities to discover system network connections
Author: frack113
· 2021-12-10 (modified 2022-12-02) · logsource: product=windows category=ps_module · aff815cc-e400-4bf0-a47a-5d8a2407d4e1
Adversaries may attempt to get a listing of network connections to or from the compromised system they are currently accessing or from remote systems by querying for information over the network.
Author: frack113
· 2021-12-10 (modified 2023-02-14) · logsource: product=windows category=process_creation · b2317cfa-4a47-4ead-b3ff-297438c0bc2d
Adversaries may look for details about the network configuration and settings of systems they access or through information discovery of remote systems
Author: frack113
· 2021-12-10 (modified 2023-10-27) · logsource: product=windows category=ps_classic_start · b366adb4-d63d-422d-8a2c-186463b5ded0
Adversaries may attempt to get a listing of network connections to or from the compromised system they are currently accessing or from remote systems by querying for information over the network.
T1565.001 Stored Data Manipulation secondary impact
- DET0193 Detection Strategy for Stored Data Manipulation across OS Platforms.
AN0555 WindowsIdentify unauthorized creation, deletion, or modification of business-critical stored data such as Office documents, database files, and log archives. Detect anomalous processes modifying stored data outside of expected workflows (e.g., non-database processes modifying database files).Tunable:
MonitoredDirectoriesAuthorizedProcessesTimeWindowAN0556 LinuxDetect suspicious file creation, modification, or deletion in stored data directories (e.g.,/var/lib/mysql/,/var/log/, mail spools). Identify shell commands interacting directly with structured data files instead of legitimate database utilities.auditd:SYSCALLopen, unlink, rename: File creation or deletion involving critical stored data→ DC0039 File Creationauditd:SYSCALLwrite: Modification of structured stored data by suspicious processes→ DC0061 File ModificationTunable:WatchedPathsCommandExclusionsAN0557 macOSMonitor sensitive data files such as plist-based storage, mail archives, or Office files for unexpected modifications. Detect anomalous processes modifying stored data outside expected update cycles using FSEvents and Unified Logs.macos:unifiedlogUnexpected creation or modification of stored data files in protected directories→ DC0061 File Modificationmacos:osqueryCREATE, DELETE, WRITE: Stored data manipulation attempts by unauthorized processes→ DC0040 File DeletionTunable:FileIntegrityBaselineAllowedEditors
Sigma rules tagged attack.t1565.001 (6)
Author: Florian Roth (Nextron Systems)
· 2022-06-20 (modified 2022-09-15) · logsource: product=linux category=process_creation · 1182f3b3-e716-4efa-99ab-d2685d04360f
Detects events in which a history file gets deleted, e.g. the ~/bash_history to remove traces of malicious activity
Author: Austin Songer @austinsonger
· 2021-09-03 (modified 2022-10-09) · logsource: product=azure service=activitylogs · 46530378-f9db-4af9-a9e5-889c177d3881
Identifies when a device or device configuration in azure is modified or deleted.
Author: @d4ns4n_ (Wuerth-Phoenix)
· 2023-05-30 (modified 2026-03-18) · logsource: product=linux category=process_creation · 86157017-c2b1-4d4a-8c33-93b8e67e4af4
Detects changes of sensitive and critical files. Monitors files that you don't expect to change without planning on Linux system.
These files include, but are not limited to, system configuration files, authentication files, and critical application files.
Attackers often target these files to maintain persistence, escalate privileges, or disrupt system operations.
Author: Austin Songer @austinsonger
· 2021-08-08 (modified 2022-08-23) · logsource: product=azure service=activitylogs · af6925b0-8826-47f1-9324-337507a0babd
Identifies when DNS zone is modified or deleted.
Author: Austin Clark
· 2019-08-15 (modified 2023-01-04) · logsource: product=cisco service=aaa · d94a35f0-7a29-45f6-90a0-80df6159967c
Detect a system being shutdown or put into different boot mode
Author: Max Altgelt (Nextron Systems)
· 2021-09-10 (modified 2022-11-26) · logsource: product=linux · e09eb557-96d2-4de9-ba2d-30f712a5afd3
Detects specific commands commonly used to remove or empty the syslog
T1574 Hijack Execution Flow exploitation technique
- DET0218 Detection Strategy for Hijack Execution Flow across OS platforms.
AN0609 WindowsUnusual modifications to service binary paths, registry keys, or DLL load paths resulting in alternate execution flow. Defender observes registry key modifications, suspicious file writes into system directories, and processes loading libraries from abnormal paths.Tunable:
ServiceBaselineAllowedDllPathsTimeWindowAN0610 LinuxAdversary manipulation of shared library paths, environment variables, or replacement of service binaries. Defender observes suspicious modifications in /etc/ld.so.preload, service config changes, or file writes replacing existing executables.auditd:SYSCALLopen/write syscalls targeting /etc/ld.so.preload or binaries in /usr/bin→ DC0061 File ModificationTunable:MonitoredDirectoriesEnvVarMonitorsAN0611 macOSAbuse of DYLD_INSERT_LIBRARIES or hijacking framework paths for malicious libraries. Defender observes processes invoking abnormal dylibs, modified plist files, or persistence entries pointing to altered binaries.macos:unifiedlogModified application plist or binary replacement in /Applications→ DC0061 File ModificationTunable:AllowedDylibPathsPlistMonitors
Sigma rules tagged attack.t1574 (8)
Author: FPT.EagleEye, Thomas Patzke (improvements)
· 2021-06-29 (modified 2022-06-02) · logsource: product=windows category=image_load · 02fb90de-c321-4e63-a6b9-25f4b03dfd14
Detect DLL Load from Spooler Service backup folder. This behavior has been observed during the exploitation of the Print Spooler Vulnerability CVE-2021-1675 and CVE-2021-34527 (PrinterNightmare).
Author: Florian Roth (Nextron Systems), oscd.community, Jonhnathan Ribeiro
· 2019-11-15 (modified 2021-11-27) · logsource: product=windows category=process_creation · 1c373b6d-76ce-4553-997d-8c1da9a6b5f5
Detects exploitation attempt of privilege escalation vulnerability via SetupComplete.cmd and PartnerSetupComplete.cmd described in CVE-2019-1378
Author: Florian Roth (Nextron Systems)
· 2019-07-17 (modified 2023-05-24) · logsource: product=windows category=process_creation · 50919691-7302-437f-8e10-1fe088afa145
Detects a "regsvr32" execution where the DLL doesn't contain a common file extension.
Author: Bhabesh Raj
· 2021-07-01 (modified 2023-02-17) · logsource: product=windows category=file_delete · 5b2bbc47-dead-4ef7-8908-0cf73fcbecbf
Detect DLL deletions from Spooler Service driver folder. This might be a potential exploitation attempt of CVE-2021-1675
Author: frack113
· 2022-08-07 (modified 2023-08-17) · logsource: product=windows category=registry_set · 9827ae57-3802-418f-994b-d5ecf5cd974b
Detects the addition of the "Debugger" value to the "DbgManagedDebugger" key in order to achieve persistence. Which will get invoked when an application crashes
Author: Ivan Dyachkov, Yulia Fomina, oscd.community
· 2020-10-07 (modified 2021-11-27) · logsource: product=windows category=process_creation · a2910908-e86f-4687-aeba-76a5f996e652
Detects using register-cimprovider.exe to execute arbitrary dll file.
Author: Tim Rauch (rule), Elastic (idea)
· 2022-10-21 · logsource: product=windows category=file_event · dbbd9f66-2ed3-4ca2-98a4-6ea985dd1a1c
Detects attempts to create a DLL file to a known desktop application dependencies folder such as Slack, Teams or OneDrive and by an unusual process. This may indicate an attempt to load a malicious module via DLL search order hijacking.
Author: Florian Roth (Nextron Systems)
· 2020-07-01 (modified 2023-08-17) · logsource: product=windows category=registry_set · e0813366-0407-449a-9869-a2db1119dc41
Detects a suspicious printer driver installation with an empty Manufacturer value