{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9997618794441223,
        "class": 2
      }
    ],
    "prob": 0.9997619,
    "class": 2,
    "models": [
      {
        "m": "az",
        "prob": 0.88200885,
        "class": 0
      },
      {
        "m": "az/scripts",
        "prob": 0.7305189,
        "class": 0
      },
      {
        "m": "az/php",
        "prob": 0.9997619,
        "class": 2
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-09T07:12:38Z"
  },
  "path": "param_decoding.php",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O₂(As₂C₂)Md₂(Pt)",
        "k": {
          "source.shebang": "/usr/bin/env php",
          "source.imports[0]": "base64_decode",
          "source.imports[1]": "explode",
          "source.imports[2]": "stripslashes",
          "source.strings[0]": "Body: ",
          "source.strings[1]": "Body: '$TT_Body'\\n",
          "source.strings[2]": "From address: ",
          "source.strings[3]": "From address: '$TT_From_Address'\\n",
          "source.strings[4]": "From name: ",
          "source.strings[5]": "From name: '$TT_From_Name'\\n",
          "source.strings[6]": "Subject: ",
          "source.strings[7]": "Subject: '$TT_Subject'\\n",
          "source.strings[8]": "To address: ",
          "source.strings[9]": "To address: '$TT_To_Address'\\n",
          "source.has_imports": true,
          "source.strings[10]": "WWxob2VreHRNV2hoVjNkMVkyNVZObGx0Um5sWlZ6VnlaRmMxY21SWGVHaGxiVVpwV1ZWQ2RGbFhiSE5NYmtveGZGbFZhRk5OUjA1RllqTmFUVTB3TkhkWk1qRkhUVWRHV0ZwSGVHcGliWFF4VjFSSk5XUkZlRFZQVjJ4cFVucHNkVlJFVG10a01IaFlWRzVhYVdKc1NuTlpiVFZTWkcxU1NHRkhlR2xXTVZvMlZFUk9VMDB4Y0ZoT1ZFSnNWMFpKZWxkc1pEUk5iSEJVVDFkb1RXSlhUakZYYTJSU1pGZE9TR0ZJWXoxOFQxTTRORXg2U1hkTlZHZG5UVlJaZWs5VVdYaE5WR042Zkh4VE1sWTFZekJ3ZG1GSFJuVmpNMDUyWW10Q2FtRkhSbmxrUjFaNVpFYzBkV0p0VmpBPQ==",
          "source.strings[11]": "YlhoekxtMWhhV3d1Y25VNlltRnlZVzVyZFc1cmRXeGhlbUZpWVVCdFlXbHNMbkoxfFlVaFNNR05FYjNaTU0wNHdZMjFHTUdGWFpHeGpibXQxV1RJNWRFeDVPV2xpUnpsdVRETmtkMHhYVG5aaWJsSnNZbTVSZG1SSGFHeGlWMVo2VEROU00xcFhOVEJsV0ZJeldsZDRNbHBUT1doTWJXTjFXa2RSZFdOSGFIYz18T1M4NEx6SXdNVGdnTVRZek9UWXhNVGN6fHxTMlY1YzBwdmFHRnVjM052YmtCamFHRnlkR1Z5ZEc0dWJtVjA="
        },
        "x": 38,
        "id": 0,
        "is": [
          "base64_decode",
          "base64_decode",
          "explode",
          "stripslashes",
          "base64_decode",
          "stripslashes",
          "base64_decode",
          "stripslashes",
          "base64_decode",
          "stripslashes",
          "base64_decode",
          "stripslashes",
          "base64_decode"
        ],
        "ms": {
          "file": {
            "size": 984.0
          },
          "text": {
            "digit_ratio": 0.09,
            "space_count": 26.0,
            "total_lines": 19.0,
            "char_entropy": 5.83,
            "unique_chars": 79.0,
            "import_density": 68.42,
            "lines_over_200": 1.0,
            "string_density": 0.74,
            "avg_line_length": 50.79,
            "max_line_length": 436.0,
            "empty_line_ratio": 0.21,
            "last_line_length": 44.0,
            "long_token_count": 1.0,
            "most_common_char": "e",
            "whitespace_ratio": 0.05,
            "most_common_ratio": 0.05,
            "identifier_density": 1.74,
            "line_length_stddev": 92.88,
            "encoded_string_ratio": 0.14,
            "normalized_import_count": 2.98,
            "normalized_string_count": 3.21,
            "max_inline_whitespace_run": 1.0,
            "suspicious_identifier_ratio": 0.09,
            "normalized_unique_identifiers": 2.59
          },
          "imports": {
            "total": 13.0,
            "unique_modules": 3.0,
            "third_party_count": 13.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 14.0,
            "avg_length": 74.0,
            "max_length": 424.0,
            "avg_entropy": 3.19,
            "total_bytes": 1036.0,
            "entropy_stddev": 1.51,
            "base64_candidates": 2.0,
            "high_entropy_count": 2.0
          },
          "comments": {},
          "functions": {},
          "identifiers": {
            "total": 33.0,
            "avg_length": 8.82,
            "max_length": 15.0,
            "min_length": 1.0,
            "avg_entropy": 2.43,
            "reuse_ratio": 0.33,
            "unique_count": 11.0,
            "length_stddev": 4.51,
            "has_digit_ratio": 0.09,
            "sequential_names": 1.0,
            "single_char_count": 1.0,
            "single_char_ratio": 0.09,
            "all_lowercase_ratio": 0.45
          }
        },
        "ss": [
          [
            34,
            "WWxob2VreHRNV2hoVjNkMVkyNVZObGx0Um5sWlZ6VnlaRmMxY21SWGVHaGxiVVpwV1ZWQ2RGbFhiSE5NYmtveGZGbFZhRk5OUjA1RllqTmFUVTB3TkhkWk1qRkhUVWRH"
          ],
          [
            35,
            "WWxob2VreHRNV2hoVjNkMVkyNVZObGx0Um5sWlZ6VnlaRmMxY21SWGVHaGxiVVpwV1ZWQ2RGbFhiSE5NYmtveGZGbFZhRk5OUjA1RllqTmFUVTB3TkhkWk1qRkhUVWRH"
          ],
          [
            520,
            "|"
          ],
          [
            521,
            "|"
          ],
          [
            801,
            "To address: '$TT_To_Address'\\n"
          ],
          [
            802,
            "To address: "
          ],
          [
            842,
            "Subject: '$TT_Subject'\\n"
          ],
          [
            843,
            "Subject: "
          ],
          [
            877,
            "Body: '$TT_Body'\\n"
          ],
          [
            878,
            "Body: "
          ],
          [
            906,
            "From name: '$TT_From_Name'\\n"
          ],
          [
            907,
            "From name: "
          ],
          [
            945,
            "From address: '$TT_From_Address'\\n"
          ],
          [
            946,
            "From address: "
          ],
          [
            25,
            "base64",
            "YlhoekxtMWhhV3d1Y25VNlltRnlZVzVyZFc1cmRXeGhlbUZpWVVCdFlXbHNMbkoxfFlVaFNNR05FYjNaTU0wNHdZMjFHTUdGWFpHeGpibXQxV1RJNWRFeDVPV2xpUnps"
          ]
        ],
        "sz": 984,
        "ts": [
          {
            "c": 0.8999999761581421,
            "d": "Generic env-based shebang line",
            "e": [
              "#!/usr/bin/env php"
            ],
            "i": "metadata/lang/shebang::env-interpreter",
            "l": 2
          },
          {
            "a": "T1505.003",
            "d": "PHP open tag",
            "e": [
              "\u003c?php"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/request::php-tag",
            "l": 1,
            "m": "B0030"
          },
          {
            "a": "T1027",
            "c": 0.8999999761581421,
            "d": "Dense base64_decode calls",
            "e": [
              "base64_decode"
            ],
            "i": "objectives/anti-static/obfuscation/string/encoding::dense-base64-decode",
            "l": 4,
            "m": "B0032"
          },
          {
            "c": 1.0,
            "d": "PHP shebang line",
            "e": [
              "#!/usr/bin/env php"
            ],
            "i": "metadata/lang/shebang::php",
            "l": 3
          },
          {
            "a": "T1505.003",
            "c": 0.8999999761581421,
            "d": "PHP source imports base64_decode",
            "e": [
              "[base64_decode, explode, stripslashes]"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/stager::source-import-base64-decode",
            "l": 1
          },
          {
            "c": 0.6000000238418579,
            "d": "Very long base64 strings present",
            "e": [
              "WWxob2VreHRNV2hoVjNkMVkyNVZObGx0Um5sWlZ6VnlaRmMxY21SWGVHaGxiVVpwV1ZWQ2RGbFhiSE5NYmtveGZGbFZhRk5OUjA1RllqTmFUVTB3TkhkWk1qRkhUVWRH"
            ],
            "i": "objectives/anti-static/obfuscation/string/base64::long-base64-in-strings",
            "l": 3
          },
          {
            "a": "T1027",
            "c": 0.800000011920929,
            "d": "High overall text entropy (encoded",
            "e": [
              "text.char_entropy = 5.83"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::high-text-entropy",
            "l": 2,
            "m": "B0032"
          },
          {
            "c": 0.8999999761581421,
            "d": "Encoded payload detected: base64 → base64",
            "e": [
              "bXhzLm1haWwucnU6YmFyYW5rdW5rdWxhemFiYUBt \u003cbase64+base64\u003e"
            ],
            "i": "metadata/encoded-payload/base64-base64",
            "l": 3
          }
        ],
        "sha": "c6684c6545be02b10df6b1160be9b64255214d0246ba1e6dcedbf7b01fedf071",
        "path": "/data/samples/bad/datasets/php-malware-analysis/remailers/1.1.230.168-2018-09-04a/202.160.147.186-2018-09-08a/param_decoding.php",
        "type": "php"
      }
    ],
    "tv": "a9555"
  }
}