NET NGenAssemblyUsageLog Registry Key Tamper

 Original Source: [Sigma source]
Title: NET NGenAssemblyUsageLog Registry Key Tamper
Status: test
Description:Detects changes to the NGenAssemblyUsageLog registry key. .NET Usage Log output location can be controlled by setting the NGenAssemblyUsageLog CLR configuration knob in the Registry or by configuring an environment variable (as described in the next section). By simplify specifying an arbitrary value (e.g. fake output location or junk data) for the expected value, a Usage Log file for the .NET execution context will not be created.
References:
  -https://bohops.com/2021/03/16/investigating-net-clr-usage-log-tampering-techniques-for-edr-evasion/
Author: frack113
Date: 2022-11-18
modified:2023-08-17
Tags:
  • -'attack.persistence'
  • -'attack.defense-impairment'
  • -'attack.t1112'
Logsource:
  • product: windows
  • category: registry_set
Detection:
  selection:
    TargetObject|endswith: 'SOFTWARE\Microsoft\.NETFramework\NGenAssemblyUsageLog'
  condition:selection
Falsepositives:
  -Unknown
Level: high