intelligence_src_6dc544294b7f21f98a
- Source-provided label
- Publisher RSS metadata
- Evidence class
- mentioned in report
- Confidence
- Not reported
- Observed
- Nov 26, 2026 05:30 UTC
- Retrieved
- Nov 26, 2026 05:37 UTC
Open a .NET assembly that exports a classic [ComVisible] COM object in a decompiler and the method names are right there — they have to be, because a COM client can late-bind through IDispatch and ask for "Add" by name at runtime. Obfuscation and COM have an old, uneasy relationship for exactly this reason: the wire contract is partly made of your identifiers. So it is worth knowing that the modern .NET COM path breaks that link entirely. An interface marked [GeneratedComInterface] can have every one of its names renamed to a single letter and the native contract does not move. The real question What actually travels across a COM boundary — the method name, or the method's position? The answer decides whether renaming is safe, and it is different for the two COM paths .NET gives you. The classic path, [ComVisible(true)] plus a type library, carries names. A late-bound client calls IDispatch::GetIDsOfNames("Add") to turn the string into a dispatch id, then Invokes it. Rename Add to a and that lookup fails. The source-generated path introduced in .NET 8, [GeneratedComInterface], carries nothing but a GUID and an ordinal. It builds a classic COM vtable at compile time through ComWrappers, and dispatch is purely positional: the caller queries for the interface by its IID, gets a pointer to a table of function pointers, and calls the one at a fixed slot. No string is ever consulted. That single difference is why renaming is free on one path and fatal on the other. The mechanism, shown Here is a minimal source-generated COM interface and its implementation. The source generator requires both to be partial and the interface to carry a [Guid]. using System.Runtime.InteropServices; using System.Runtime.InteropServices.Marshalling; [GeneratedComInterface] [Guid("5C13C3D8-4C4C-4F2B-9E1A-6B3A2F8E9D01")] public partial interface ICalculator { int Add(int a, int b); int Subtract(int a, int b); } [GeneratedComClass] public partial class Calculator : ICalculator { public int Add(int a, int b) => a + b; public int Subtract(int a, int b) => a - b; } ComInterfaceGenerator runs at compile time and emits the plumbing: a managed-to-unmanaged stub (so your managed code can call a native object through this interface) and an unmanaged-to-managed vtable (so native code can call your Calculator). The part that matters for obfuscation is how each side addresses a method. Here is the generated managed-to-unmanaged call for Add, abbreviated to its essence: // source-generated, abbreviated int ICalculator.Add(int a, int b) { var vtable = ((IUnmanagedVirtualMethodTableProvider)this) .GetVirtualMethodTableInfoForKey(typeof(ICalculator)); int result; // slot 3 = the three IUnknown slots (0,1,2) + method index 0 int hr = ((delegate* unmanaged<void*, int, int, int*, int>)vtable.Table[3])( vtable.ThisPtr, a, b, &result); Marshal.ThrowExceptionForHR(hr); return result; } The only identity on the wire is the IID — typeof(ICalculator) keys a table whose entry 3 is Add. The literal 3 is Add's address. The string "Add" appears nowhere in the generated call; the native side on the other end of that function pointer does not know or care what the method is named. Subtract is slot 4, and so on. That is the whole insight, drawn out: Now obfuscate the assembly. Nebula renames ICalculator to A, Calculator to B, Add to a, Subtract to b. The source-generated stub and vtable are ordinary IL in the same module, so they are renamed in the same pass by the same map — the stub that was ICalculator.Add becomes A.a, still indexing vtable.Table[3], still keyed by typeof(A). The IID attribute blob is untouched: Nebula renames metadata identifiers, it does not rewrite custom-attribute values, so [Guid("5C13C3D8-…")] and the [GeneratedComInterface] marker ride through unchanged. A native host that was compiled against IID 5C13C3D8-… queries for that IID,
f3cde620300d1b78eae36a9477802e43721470fec52ecd02f753ffe646032eeaNetwork indicators are visibly defanged. This page does not make them clickable or send them to another service.
No validated file hashes or network indicators are stored for this record.
This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.
Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.
1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.
Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.