# Bohops

A blog about cybersecurity research, education, and news

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Abusing .NET Core CLR Diagnostic Features (+ CVE-2023-33127)

DevFeed: [Abusing .NET Core CLR Diagnostic Features (+ CVE-2023-33127)](<https://devfeed.tech/articles/abusing-net-core-clr-diagnostic-features-cve-2023-33127-20507.md>)

Original publisher: [Read original article](<https://bohops.com/2023/11/27/abusing-net-core-clr-diagnostic-features-cve-2023-33127/>)

Author: bohops

Published: 2023-11-27T12:51:30Z

Content type: article

Language: en

Sources: [Bohops](<https://devfeed.tech/sources/bohops.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [net core](<https://devfeed.tech/topics/net-core.md>), [.NET Framework](<https://devfeed.tech/topics/net-framework.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [API](<https://devfeed.tech/topics/api.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [net](<https://devfeed.tech/tags/net.md>), [net-core](<https://devfeed.tech/tags/net-core.md>), [net-framework](<https://devfeed.tech/tags/net-framework.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

This article examines how diagnostic features of the .NET Common Language Runtime can be abused, focusing on open-source .NET on modern Microsoft Windows systems. It discusses runtime configuration knobs, registry and environment-variable settings, configuration files, and the CLR profiling API, with defensive guidance and mitigation information referenced at the end.

### Source excerpt

Introduction Background .NET is an ecosystem of frameworks, runtimes, and languages for building and running a wide range of applications on a variety of platforms and devices. The .NET Framework was initially released in the early 2000s as Microsoft's implementation of the Common Language Infrastructure (CLI) specification. In 2016, Microsoft released .NET Core, the first [...]

## No Alloc, No Problem: Leveraging Program Entry Points for Process Injection

DevFeed: [No Alloc, No Problem: Leveraging Program Entry Points for Process Injection](<https://devfeed.tech/articles/no-alloc-no-problem-leveraging-program-entry-points-for-process-injection-20506.md>)

Original publisher: [Read original article](<https://bohops.com/2023/06/09/no-alloc-no-problem-leveraging-program-entry-points-for-process-injection/>)

Author: bohops

Published: 2023-06-09T00:53:46Z

Content type: tutorial

Language: en

Sources: [Bohops](<https://devfeed.tech/sources/bohops.md>)

Topics: [Processes](<https://devfeed.tech/topics/processes.md>), [Operating system](<https://devfeed.tech/topics/operating-system.md>), [Code](<https://devfeed.tech/topics/code.md>), [modules](<https://devfeed.tech/topics/modules.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [modules](<https://devfeed.tech/tags/modules.md>), [process](<https://devfeed.tech/tags/process.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

This technical article examines process injection techniques that leverage program entry points, including the AddressOfEntryPoint in Portable Executable files. It describes approaches intended to avoid explicit memory allocation and direct thread creation or thread-context manipulation.

### Source excerpt

Introduction Process Injection is a popular technique used by Red Teams and threat actors for defense evasion, privilege escalation, and other interesting use cases. At the time of this publishing, MITRE ATT&CK includes 12 (remote) process injection sub-techniques. Of course, there are numerous other examples as well as various and sundry derivatives. Recently, I was [...]

## Investigating .NET CLR Usage Log Tampering Techniques For EDR Evasion (Part 2)

DevFeed: [Investigating .NET CLR Usage Log Tampering Techniques For EDR Evasion (Part 2)](<https://devfeed.tech/articles/investigating-net-clr-usage-log-tampering-techniques-for-edr-evasion-part-2-20505.md>)

Original publisher: [Read original article](<https://bohops.com/2022/08/22/investigating-net-clr-usage-log-tampering-techniques-for-edr-evasion-part-2/>)

Author: bohops

Published: 2022-08-22T23:48:27Z

Content type: article

Language: en

Sources: [Bohops](<https://devfeed.tech/sources/bohops.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [Endpoint Security & XDR](<https://devfeed.tech/topics/endpoint-security-xdr.md>), [Processes](<https://devfeed.tech/topics/processes.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [SIEM, Security, Observability](<https://devfeed.tech/topics/siem-security-observability.md>)

Tags: [assembly](<https://devfeed.tech/tags/assembly.md>), [code](<https://devfeed.tech/tags/code.md>), [events](<https://devfeed.tech/tags/events.md>), [logs](<https://devfeed.tech/tags/logs.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [net](<https://devfeed.tech/tags/net.md>), [powershell](<https://devfeed.tech/tags/powershell.md>), [processes](<https://devfeed.tech/tags/processes.md>), [research](<https://devfeed.tech/tags/research.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

This article revisits .NET CLR Usage Logs and examines two additional tampering techniques that can prevent log creation, including discretionary ACL blocking. It also discusses how monitoring Usage Log creation events can help identify suspicious processes that loaded the .NET CLR.

### Source excerpt

Introduction Last year, I blogged about Investigating .NET CLR Usage Log Tampering Techniques For EDR Evasion. In that part 1 post, we covered: Recently, I revisited the research topic to close the loop on some outstanding research and figured I would share. In this post, we'll recap .NET Usage Logs, highlight two other tampering techniques, [...]

## Unmanaged Code Execution with .NET Dynamic PInvoke

DevFeed: [Unmanaged Code Execution with .NET Dynamic PInvoke](<https://devfeed.tech/articles/unmanaged-code-execution-with-net-dynamic-pinvoke-20504.md>)

Original publisher: [Read original article](<https://bohops.com/2022/04/02/unmanaged-code-execution-with-net-dynamic-pinvoke/>)

Author: bohops

Published: 2022-04-02T16:45:49Z

Content type: tutorial

Language: en

Sources: [Bohops](<https://devfeed.tech/sources/bohops.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [C#](<https://devfeed.tech/topics/csharp.md>), [Code](<https://devfeed.tech/topics/code.md>), [Endpoint Security & XDR](<https://devfeed.tech/topics/endpoint-security-xdr.md>)

Tags: [c-sharp](<https://devfeed.tech/tags/c-sharp.md>), [code](<https://devfeed.tech/tags/code.md>), [endpoint-security](<https://devfeed.tech/tags/endpoint-security.md>), [interop](<https://devfeed.tech/tags/interop.md>), [native](<https://devfeed.tech/tags/native.md>), [net](<https://devfeed.tech/tags/net.md>), [security](<https://devfeed.tech/tags/security.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

This developer article explains classic P/Invoke in .NET and introduces Dynamic PInvoke, a technique for calling and executing native code differently from managed code. It discusses limitations, .NET executable structure, and possible defensive-evasion implications.

### Source excerpt

Yes, you read that correctly - "Dynamic Pinvoke" as in "Dynamic Platform Invoke" Background Recently, I was browsing through Microsoft documentation and other blogs to gain a better understanding of .NET dynamic types and objects. I've always found the topic very interesting mainly due to its relative obscurity and the offensive opportunities for defensive evasion. [...]

## Analyzing and Detecting a VMTools Persistence Technique

DevFeed: [Analyzing and Detecting a VMTools Persistence Technique](<https://devfeed.tech/articles/analyzing-and-detecting-a-vmtools-persistence-technique-20503.md>)

Original publisher: [Read original article](<https://bohops.com/2021/10/08/analyzing-and-detecting-a-vmtools-persistence-technique/>)

Author: bohops

Published: 2021-10-08T03:42:18Z

Content type: tutorial

Language: en

Sources: [Bohops](<https://devfeed.tech/sources/bohops.md>)

Topics: [Persistence](<https://devfeed.tech/topics/persistence.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>), [Process](<https://devfeed.tech/topics/process.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Utility Software](<https://devfeed.tech/topics/utility.md>)

Tags: [batch](<https://devfeed.tech/tags/batch.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [payload](<https://devfeed.tech/tags/payload.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [process](<https://devfeed.tech/tags/process.md>), [script](<https://devfeed.tech/tags/script.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [utilities](<https://devfeed.tech/tags/utilities.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

This article analyzes a VMware Tools persistence technique on Windows virtual machines. It explains how VMwareToolBoxCmd.exe and the tools.conf file can configure batch scripts to run during VM power-state operations, and discusses detection strategies. The demonstrated payload runs as a child process of vmtoolsd.

### Source excerpt

Introduction It is always fun to reexplore previously discovered techniques or pick back on old research that was put on the wayside in hopes to maybe finding something new or different. Recently, I stood up an ESXi server at home and decided to take a quick peak at the VMware directory structure after installing the [...]

## CVE-2021-0090: Intel Driver & Support Assistant (DSA) Elevation of Privilege (EoP)

DevFeed: [CVE-2021-0090: Intel Driver & Support Assistant (DSA) Elevation of Privilege (EoP)](<https://devfeed.tech/articles/cve-2021-0090-intel-driver-support-assistant-dsa-elevation-of-privilege-eop-20502.md>)

Original publisher: [Read original article](<https://bohops.com/2021/08/07/cve-2021-0090-intel-driver-support-assistant-dsa-elevation-of-privilege-eop/>)

Author: bohops

Published: 2021-08-07T16:30:24Z

Content type: article

Language: en

Sources: [Bohops](<https://devfeed.tech/sources/bohops.md>)

Topics: [intel](<https://devfeed.tech/topics/intel.md>), [Utility Software](<https://devfeed.tech/topics/utility.md>), [bug](<https://devfeed.tech/topics/bug.md>), [Software](<https://devfeed.tech/topics/software.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Web](<https://devfeed.tech/topics/web.md>), [web browser](<https://devfeed.tech/topics/web-browser.md>)

Tags: [browser](<https://devfeed.tech/tags/browser.md>), [bug](<https://devfeed.tech/tags/bug.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [cve](<https://devfeed.tech/tags/cve.md>), [driver](<https://devfeed.tech/tags/driver.md>), [intel](<https://devfeed.tech/tags/intel.md>), [local](<https://devfeed.tech/tags/local.md>), [mount](<https://devfeed.tech/tags/mount.md>), [payload](<https://devfeed.tech/tags/payload.md>), [software](<https://devfeed.tech/tags/software.md>), [technical](<https://devfeed.tech/tags/technical.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [web](<https://devfeed.tech/tags/web.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

This technical advisory examines a local privilege-escalation vulnerability in Intel Driver & Support Assistant version 20.8.30.6 and likely earlier versions. It describes how an unprivileged user can alter download and data-folder settings and potentially use a reparse point to cause a privileged file-copy operation and execute unintended code.

### Source excerpt

TL;DR Intel Driver & Support Assistant (DSA) is a driver and software update utility for Intel components. DSA version 20.8.30.6 (and likely prior) is vulnerable to a local privilege escalation reparse point bug. An unprivileged user has nominal control over configuration settings within the web-based interface. This includes the ability to configure the folder location [...]

## Abusing and Detecting LOLBIN Usage of .NET Development Mode Features

DevFeed: [Abusing and Detecting LOLBIN Usage of .NET Development Mode Features](<https://devfeed.tech/articles/abusing-and-detecting-lolbin-usage-of-net-development-mode-features-20501.md>)

Original publisher: [Read original article](<https://bohops.com/2021/05/30/abusing-and-detecting-lolbin-usage-of-net-development-mode-features/>)

Author: bohops

Published: 2021-05-30T16:24:30Z

Content type: tutorial

Language: en

Sources: [Bohops](<https://devfeed.tech/sources/bohops.md>)

Topics: [.NET](<https://devfeed.tech/topics/net.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Environment Variables](<https://devfeed.tech/topics/environment-variables.md>), [Development](<https://devfeed.tech/topics/development.md>), [Filesystems](<https://devfeed.tech/topics/filesystems.md>), [Windows](<https://devfeed.tech/topics/windows.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [development](<https://devfeed.tech/tags/development.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [files](<https://devfeed.tech/tags/files.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [net](<https://devfeed.tech/tags/net.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

This article explains how .NET development-mode configuration can be abused to turn executables into living-off-the-land binaries by overriding Global Assembly Cache path lookups. It also discusses defensive detection considerations and shows the roles of configuration files and the DEVPATH environment variable.

### Source excerpt

Background As discussed in this previous post, Microsoft has provided valuable (explicit and implicit) insight into the inner workings of the functional components of the .NET ecosystem through online documentation and by open-sourcing .NET Core. .NET, in general, is a very powerful and capable development platform and runtime framework for building and running .NET managed [...]

## Investigating .NET CLR Usage Log Tampering Techniques For EDR Evasion

DevFeed: [Investigating .NET CLR Usage Log Tampering Techniques For EDR Evasion](<https://devfeed.tech/articles/investigating-net-clr-usage-log-tampering-techniques-for-edr-evasion-20500.md>)

Original publisher: [Read original article](<https://bohops.com/2021/03/16/investigating-net-clr-usage-log-tampering-techniques-for-edr-evasion/>)

Author: bohops

Published: 2021-03-16T04:08:58Z

Content type: article

Language: en

Sources: [Bohops](<https://devfeed.tech/sources/bohops.md>)

Topics: [Endpoint Security & XDR](<https://devfeed.tech/topics/endpoint-security-xdr.md>), [Logging](<https://devfeed.tech/topics/logging.md>), [.NET](<https://devfeed.tech/topics/net.md>), [Security](<https://devfeed.tech/topics/security.md>), [Threat Hunting & Intel](<https://devfeed.tech/topics/threat-hunting-intel.md>), [Machine Learning, Security Attacks](<https://devfeed.tech/topics/machine-learning-security-attacks.md>)

Tags: [code](<https://devfeed.tech/tags/code.md>), [endpoint-security](<https://devfeed.tech/tags/endpoint-security.md>), [logging](<https://devfeed.tech/tags/logging.md>), [net](<https://devfeed.tech/tags/net.md>), [process](<https://devfeed.tech/tags/process.md>), [processes](<https://devfeed.tech/tags/processes.md>), [security](<https://devfeed.tech/tags/security.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>)

### AI overview

This article examines how .NET CLR Usage Logs can help defenders detect and investigate .NET execution, including assembly injection into process memory. It describes how the CLR creates Usage Log files and discusses tampering techniques intended to evade endpoint detection, along with monitoring opportunities for identifying that tampering.

### Source excerpt

Introduction In recent years, there have been numerous published techniques for evading endpoint security solutions and sources such as A/V, EDR and logging facilities. The methods deployed to achieve the desired result usually differ in sophistication and implementation, however, effectiveness is usually the end goal (of course, with thoughtful consideration of potential tradeoffs). Defenders can [...]

## Exploring the WDAC Microsoft Recommended Block Rules (Part II): Wfc.exe, Fsi.exe, and FsiAnyCpu.exe

DevFeed: [Exploring the WDAC Microsoft Recommended Block Rules (Part II): Wfc.exe, Fsi.exe, and FsiAnyCpu.exe](<https://devfeed.tech/articles/exploring-the-wdac-microsoft-recommended-block-rules-part-ii-wfc-exe-fsi-exe-and-fsianycpu-exe-20499.md>)

Original publisher: [Read original article](<https://bohops.com/2020/11/02/exploring-the-wdac-microsoft-recommended-block-rules-part-ii-wfc-fsi/>)

Author: bohops

Published: 2020-11-02T00:43:57Z

Content type: article

Language: en

Sources: [Bohops](<https://devfeed.tech/sources/bohops.md>)

Topics: [Windows](<https://devfeed.tech/topics/windows.md>), [Microsoft](<https://devfeed.tech/topics/microsoft.md>), [SDKs](<https://devfeed.tech/topics/sdks.md>), [Software](<https://devfeed.tech/topics/software.md>), [configuration](<https://devfeed.tech/topics/configuration.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [microsoft](<https://devfeed.tech/tags/microsoft.md>), [sdk](<https://devfeed.tech/tags/sdk.md>), [software](<https://devfeed.tech/tags/software.md>), [software-development](<https://devfeed.tech/tags/software-development.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

This article examines wfc.exe, fsi.exe, and fsianycpu.exe in the context of Microsoft's recommended Windows Defender Application Control block rules. It describes their potential as LOLBIN bypass enablers and discusses testing WDAC policy enforcement without merging the block rules.

### Source excerpt

Introduction In Part One, I blogged about VisualUiaVerifyNative.exe, a LOLBIN that could be used to bypass Windows Defender Application Control (WDAC)/Device Guard. The technique used for circumventing WDAC was originally discovered by Lee Christensen, however, it was not previously disclosed like a handful of others on the Microsoft Recommended Block Rules list. If you are [...]

## Exploring the WDAC Microsoft Recommended Block Rules: VisualUiaVerifyNative

DevFeed: [Exploring the WDAC Microsoft Recommended Block Rules: VisualUiaVerifyNative](<https://devfeed.tech/articles/exploring-the-wdac-microsoft-recommended-block-rules-visualuiaverifynative-20498.md>)

Original publisher: [Read original article](<https://bohops.com/2020/10/15/exploring-the-wdac-microsoft-recommended-block-rules-visualuiaverifynative/>)

Author: bohops

Published: 2020-10-15T03:24:58Z

Content type: article

Language: en

Sources: [Bohops](<https://devfeed.tech/sources/bohops.md>)

Topics: [Windows](<https://devfeed.tech/topics/windows.md>), [Security](<https://devfeed.tech/topics/security.md>), [integrity](<https://devfeed.tech/topics/integrity.md>), [vulnerability](<https://devfeed.tech/topics/vulnerability.md>), [Exploit](<https://devfeed.tech/topics/exploit.md>)

Tags: [microsoft](<https://devfeed.tech/tags/microsoft.md>), [security](<https://devfeed.tech/tags/security.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [vulnerability](<https://devfeed.tech/tags/vulnerability.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

The article examines VisualUiaVerifyNative as an overlooked binary in Microsoft's WDAC Recommended Block Rules. It discusses WDAC application-control policies, code-integrity bypass techniques, and the role of block rules in mitigating residual risk.

### Source excerpt

Introduction If you have followed this blog over the last few years, many of the posts focus on techniques for bypassing application control solutions such as Windows Defender Application Control (WDAC)/Device Guard and AppLocker. I have not been blogging as much lately but wanted to get back into the rhythm and establish a similar theme [...]