Skip to content

FileLogTraceListener

gadget

Microsoft.VisualBasic.Logging.FileLogTraceListener creates the supplied directory through CustomLocation. With elevated privileges, directory creation in sensitive locations may cause denial of service. On .NET Framework 3.5 both JavaScriptSerializer and DataContractJsonSerializer reach it with --legacyfx (Microsoft.VisualBasic is 8.0.0.0 there, not 10.0.0.0); DataContractJsonSerializer additionally needs a consumer whose root type is that same identity.

Declared metadata, not a runtime result. How to read evidence.

Terminal window
.\ysonet.exe -g FileLogTraceListener -h

Target declarations

VariantFormattersInputsRequirementsRuntime tokens
DefaultJson.NET, FastJson, JavaScriptSerializer, YamlDotNet, MessagePackTypeless, MessagePackTypelessLz4, SharpSerializerXml, DataContractJsonSerializer, Xamltarget-pathbuilt-in, net-frameworknet-fx-3.5, net-fx-4.0, net-fx-4.5, net-fx-4.5.1, net-fx-4.5.2, net-fx-4.6, net-fx-4.6.1, net-fx-4.6.2, net-fx-4.7, net-fx-4.7.1, net-fx-4.7.2, net-fx-4.8, net-fx-4.8.1
Options (1)
OptionHelpDefaultRequired
rawinputPass -c verbatim into the payload template instead of escaping it for the selected formatter. Use this only for already-escaped input. Default value: "false".falsefalse

Credit: [Finders: Piotr Bazydlo]

All modules · Full catalog JSON