Forum Discussion

DimitrisTsapakidis's avatar
DimitrisTsapakidis
Copper Contributor
Nov 13, 2026

Purview exposes Classifier and DLP metadata in the Alternate Data Stream

I was testing Purview DLP and found the following: 1) Anyone can spot the Purview metadata in the NTFS Alternate Data Stream:

dir /r

text4.txt
text4.txt:sec.endpointdlp:$DATA

2) and see the Classifier names, matches and surrounding text with:

more <text4.txt:sec.endpointdlp

{
  "FileMetadataResult": {
    "MetadataFileProperties": [],
    "MetadataType": 0
  },
  "InfoTypes": [
    {
      "C": "1",
      "CA": [
        {
          "C": "1",
          "CL": "65",
          "UC": "1"
        },
        {
          "C": "1",
          "CL": "75",
          "UC": "1"
        },
        {
          "C": "1",
          "CL": "85",
          "UC": "1"
        }
      ],
      "CL": "85",
      "DI": "14e69957-f88e-482f-a959-467ec4c79776",
      "DN": "dttest01",
      "PV": "1.0.0.0",
      "RC": "85",
      "RI": "5da58d7a-25f1-4205-93d0-beb10054c503",
      "RS": "fad9e83c-c4b4-4d31-958e-e67e5b4862c0",
      "UC": "1"
    },
    {
      "C": "1",
      "CA": [
        {
          "C": "1",
          "CL": "65",
          "UC": "1"
        },
        {
          "C": "1",
          "CL": "75",
          "UC": "1"
        },
        {
          "C": "1",
          "CL": "85",
          "UC": "1"
        }
      ],
      "CL": "85",
      "DI": "50842eb7-edc8-4019-85dd-5a5c1f2bb085",
      "DN": "Credit Card Number",
      "PV": "1.0.0.0",
      "RC": "85",
      "UC": "1"
    },
    {
      "C": "1",
      "CA": [
        {
          "C": "1",
          "CL": "65",
          "UC": "1"
        },
        {
          "C": "1",
          "CL": "75",
          "UC": "1"
        },
        {
          "C": "1",
          "CL": "85",
          "UC": "1"
        }
      ],
      "CL": "85",
      "DI": "0e9b3178-9678-47dd-a509-37222ca96b42",
      "DN": "EU Debit Card Number",
      "PV": "1.0.0.0",
      "RC": "85",
      "UC": "1"
    }
  ],
  "MatchedPolicyRuleIdProperties": [],
  "ShortEvidence": [
    {
      "DetectedValues": [
        {
          "Name": "helloworld01",
          "Value": "test helloworld01 test\r\n\r\nTest Visa 4111111111111111 05/30 test\r\n\r\n"
        }
      ],
      "SensitiveInfoTypeId": "14e69957-f88e-482f-a959-467ec4c79776"
    },
    {
      "DetectedValues": [
        {
          "Name": "4111111111111111",
          "Value": "test helloworld01 test\r\n\r\nTest Visa 4111111111111111 05/30 test\r\n\r\n"
        }
      ],
      "SensitiveInfoTypeId": "50842eb7-edc8-4019-85dd-5a5c1f2bb085"
    },
    {
      "DetectedValues": [
        {
          "Name": "4111111111111111",
          "Value": "test helloworld01 test\r\n\r\nTest Visa 4111111111111111 05/30 test\r\n\r\n"
        }
      ],
      "SensitiveInfoTypeId": "0e9b3178-9678-47dd-a509-37222ca96b42"
    }
  ]
}

3) If you also have DLP Rules you will see metadata about them, like the fact your rule is targeting file extensions:

"MatchedPolicyRuleIdProperties": [
    {
      "Id": "4d16c1af-10a7-491a-8583-5c588aaae0f6:d4406a6a-eb16-47e4-9317-7243782320d5",
      "MatchedConditions": [
        {
          "condition": "ContentExtensionMatchesWords",
          "displayName": "ContentExtensionMatchesWords",
          "type": "contentBased",
          "values": [
            "docx"
          ]
        }
      ]
    }
  ],
  • What is public knowledge: the built-in Classifiers like Credit Card Number and EU Debit Card Number.
  • What is not public knowledge: the fact you have created a custom Classifier dttest01 and that it matches helloworld01. The fact that you have deployed a DLP Rule and that it targets file extensions.

Other DLP products also use NTFS ADS but at least the streams are encrypted and/or stealthed. Is this normal for Purview? Any thoughts?

3 Replies

  • OwenLanty's avatar
    OwenLanty
    Brass Contributor

    If a standard user can read the classifier name and matched evidence from that stream, capture the Purview client version and reproduce it with test data on a fully updated device. Open a Microsoft support case and an MSRC report with the sample file and steps, but do not include real sensitive values in the forum. The exposure of matched evidence is the important part to have Microsoft assess.

    • DimitrisTsapakidis's avatar
      DimitrisTsapakidis
      Copper Contributor

      Will do. I have been working with another DLP product for 19 years and sometimes you don't know what the vendor considers as "works as designed".