Random characters added at the end of headerinfo

We are still using version 4 of NServicebus. This morning without any clear indication MSDTC crashed with message MSDTC encountered an error (HR=0x80000171) while attempting to establish a secure connection with system XXXXXXX.
Since then we notice that a small undefined portion is added for each message likeso:

<?xml version="1.0"?>
<ArrayOfHeaderInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <HeaderInfo>
    <Key>NServiceBus.MessageId</Key>
    <Value>477a38d1-9477-4b95-a84d-ac2c000d032a</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>NServiceBus.CorrelationId</Key>
    <Value>477a38d1-9477-4b95-a84d-ac2c000d032a</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>NServiceBus.OriginatingEndpoint</Key>
    <Value>XXX.Sales.Api</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>$.diagnostics.originating.hostid</Key>
    <Value>793eb6974f7cf91b1ccc467a5d42fff9</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>NServiceBus.MessageIntent</Key>
    <Value>Send</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>NServiceBus.Version</Key>
    <Value>4.4.2</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>NServiceBus.TimeSent</Key>
    <Value>2020-09-03 22:47:22:593061 Z</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>NServiceBus.OriginatingMachine</Key>
    <Value>XXXXXXX</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>NServiceBus.ContentType</Key>
    <Value>text/xml</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>NServiceBus.EnclosedMessageTypes</Key>
    <Value>XXX.Sales.Shared.Commands.PublishQuoteStatusChanged, XXX.Sales.Shared, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>KCC_Token_User</Key>
    <Value />
  </HeaderInfo>
  <HeaderInfo>
    <Key>KCC_Token_TrackerId</Key>
    <Value>0bd613ec-beff-435a-88a0-cdafff7b03ab</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>NServiceBus.ConversationId</Key>
    <Value>48357885-13fd-4afb-8af5-ac2cfffd032a</Value>
  </HeaderInfo>
  <HeaderInfo>
    <Key>WinIdName</Key>
  </HeaderInfo>
  <HeaderInfo>
    <Key>CorrId</Key>
    <Value>477a38d1-9477-4b95-a84d-ac2c000d032a\0</Value>
  </HeaderInfo>
</ArrayOfHeaderInfo>   **5?/?        C|??bq??  e?a   5?/?  **
**      :1???**

The concerning system has not been changed since April, apart from the installations of Windows patches about a week ago. The issue was not observed earlier.

Any idea what can cause this behavior?

You are probably using DynaTrace:

Options:

  1. Upgrade to the latest version of the MSMQ transport which contains an enhancement to workaround this DynaTrace corruption.
  2. Disable DynaTrace.

– Ramon

Indeed we are Ramon. This morning we disabled Dynatrace and it started working again. I was about to update this post. Thanks for your reply.