This detection identifies the execution of specialized VB.NET Red and Blue team tools by analyzing unique typelib GUID signatures often utilized during security assessments or post-incident forensics. Proactively hunting for these artifacts in Azure Sentinel allows the SOC to distinguish legitimate security operations from potential adversary activity that mimics trusted tooling, ensuring early visibility into both internal testing and external threat reconnaissance efforts.
rule HKTL_NET_GUID_PlasmaRAT {
meta:
description = "Detects VB.NET red/black-team tools via typelibguid"
reference = "https://github.com/mwsrc/PlasmaRAT"
author = "Arnim Rupp"
date = "2020-12-30"
strings:
$typelibguid0 = "b8a2147c-074c-46e1-bb99-c8431a6546ce" ascii nocase wide
$typelibguid1 = "0fcfde33-213f-4fb6-ac15-efb20393d4f3" ascii nocase wide
condition:
(uint16(0) == 0x5A4D and uint32(uint32(0x3C)) == 0x00004550) and any of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 2 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the “Detects VB.NET red/black-team tools via typelibguid” rule, including suggested filters and exclusions:
Scenario: Microsoft Office Add-in Deployment
msbuild.exe process compiles VB.NET components that register specific TypeLib GUIDs identical to those used by security testing tools.OfficeClickToRun or Microsoft Office Setup where the parent process is msiexec.exe and the file path contains \Program Files\Microsoft Office\.Scenario: Internal HR Portal Maintenance Job
HR_Portal_Updater.exe) to synchronize employee data. This internal tool utilizes a TypeLib GUID that overlaps with the detection signature for red-team reconnaissance tools like PowerSploit or Rubeus.\\FileServer\Tools\HR_Portal_Updater.exe and the user context is a dedicated service account (e.g., svc-hr-sync).Scenario: Visual Studio Build Server Activity
SharpUp behavior).