Skip to content

WindowsIdentity

gadget

The variant picks which ClaimsIdentity key carries the inner BinaryFormatter payload.

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

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

Target declarations

VariantFormattersInputsRequirementsRuntime tokens
1BinaryFormatter, Json.NET, DataContractSerializer, NetDataContractSerializer, SoapFormatter, LosFormattercommandbuilt-in, net-frameworknet-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
2BinaryFormatter, Json.NET, DataContractSerializer, NetDataContractSerializer, SoapFormatter, LosFormattercommandbuilt-in, net-frameworknet-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
3BinaryFormatter, Json.NET, DataContractSerializer, NetDataContractSerializer, SoapFormatter, LosFormattercommandbuilt-in, net-frameworknet-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
Variants
  • 1: actor member (default) (default)
  • 2: bootstrapContext member
  • 3: claims member
Options (1)
OptionHelpDefaultRequired
var|variant=Which SerializationInfo key carries the inner BinaryFormatter payload. All three names start with 'System.Security.ClaimsIdentity.' and end with: 1 = actor (default, the shortest), 2 = bootstrapContext, 3 = claims. All three reach the same unbindered BinaryFormatter in ClaimsIdentity.Deserialize and have the same effect; they differ only in the member NAME on the wire. An unknown number falls back to 1. Default value: "1". Suggested values: 1, 2, 3.1false

Credit: [Finders: Levi Broderick] [Contributors: Alvaro Munoz, Soroush Dalili]

All modules · Full catalog JSON