Assembly Loading Via CL_LoadAssembly.ps1

 Original Source: [Sigma source]
Title: Assembly Loading Via CL_LoadAssembly.ps1
Status: test
Description:Detects calls to "LoadAssemblyFromPath" or "LoadAssemblyFromNS" that are part of the "CL_LoadAssembly.ps1" script. This can be abused to load different assemblies and bypass App locker controls.
References:
  -https://bohops.com/2018/01/07/executing-commands-and-bypassing-applocker-with-powershell-diagnostic-scripts/
  -https://lolbas-project.github.io/lolbas/Scripts/CL_LoadAssembly/
Author: frack113, Nasreddine Bencherchali (Nextron Systems)
Date: 2022-05-21
modified:2023-08-17
Tags:
  • -'attack.stealth'
  • -'attack.t1216'
Logsource:
  • category: process_creation
  • product: windows
Detection:
  selection:
    CommandLine|contains:
      -'LoadAssemblyFromPath '
      -'LoadAssemblyFromNS '

  condition:selection
Falsepositives:
  -Unknown
Level: medium