{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.988066554069519,
        "class": 2
      }
    ],
    "prob": 0.98806655,
    "class": 2,
    "models": [
      {
        "m": "az",
        "prob": 0.8690063,
        "class": 0
      },
      {
        "m": "az/scripts",
        "prob": 0.9032046,
        "class": 0
      },
      {
        "m": "az/php",
        "prob": 0.98806655,
        "class": 2
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-09T06:29:07Z"
  },
  "path": "ring.1.php",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O₂(As₂C₃)H₃(CrDbOs)Md",
        "k": {
          "source.imports[0]": "base64_decode",
          "source.imports[1]": "chr",
          "source.imports[2]": "isset",
          "source.imports[3]": "md5",
          "source.imports[4]": "ord",
          "source.imports[5]": "pre_term_name",
          "source.imports[6]": "preg_match",
          "source.imports[7]": "str_replace",
          "source.imports[8]": "strlen",
          "source.imports[9]": "strrev",
          "source.strings[0]": "#\u003cimg src=\"data:image/png;base64,(.*)\"\u003e#",
          "source.strings[1]": "\u003cform method= \"post\" action= \"\"\u003e \u003cinput type= \"input\" name= \"_f_wp\" value= \"\"/\u003e\u003cinput type= \"submit\" value= \"\u0026gt;\"/\u003e\u003c/form\u003e",
          "source.strings[2]": "G0YgIaXqx",
          "source.strings[3]": "gzinflate",
          "source.has_imports": true,
          "source.imports[10]": "substr",
          "source.functions[0]": "pre_term_name"
        },
        "x": 39,
        "id": 0,
        "is": [
          "str_replace",
          "base64_decode",
          "strrev",
          "substr",
          "md5",
          "strlen",
          "md5",
          "ord",
          "ord",
          "chr",
          "strlen",
          "preg_match",
          "pre_term_name",
          "isset"
        ],
        "ms": {
          "file": {
            "size": 22246.0
          },
          "text": {
            "tab_count": 16.0,
            "digit_ratio": 0.15,
            "space_count": 180.0,
            "total_lines": 46.0,
            "char_entropy": 6.11,
            "mixed_indent": true,
            "unique_chars": 92.0,
            "import_density": 30.43,
            "lines_over_200": 1.0,
            "lines_over_500": 1.0,
            "string_density": 0.39,
            "avg_line_length": 481.61,
            "lines_over_1000": 1.0,
            "max_line_length": 20892.0,
            "empty_line_ratio": 0.17,
            "last_line_length": 1.0,
            "long_token_count": 1.0,
            "most_common_char": "n",
            "whitespace_ratio": 0.01,
            "most_common_ratio": 0.02,
            "identifier_density": 1.28,
            "line_length_stddev": 3042.74,
            "encoded_string_ratio": 0.11,
            "normalized_import_count": 2.06,
            "normalized_string_count": 2.65,
            "suspicious_comment_ratio": 0.5,
            "max_inline_whitespace_run": 1.0,
            "normalized_function_count": 0.15,
            "trailing_whitespace_lines": 1.0,
            "imports_to_functions_ratio": 14.0,
            "strings_to_functions_ratio": 18.0,
            "suspicious_identifier_ratio": 0.05,
            "normalized_unique_identifiers": 3.98,
            "identifiers_to_functions_ratio": 22.0
          },
          "imports": {
            "total": 14.0,
            "unique_modules": 11.0,
            "third_party_count": 14.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 18.0,
            "avg_length": 2339.44,
            "max_length": 20870.0,
            "avg_entropy": 2.39,
            "total_bytes": 42110.0,
            "entropy_stddev": 2.28,
            "very_long_strings": 2.0,
            "high_entropy_count": 2.0,
            "url_encoded_strings": 2.0
          },
          "comments": {
            "chars": 384.0,
            "lines": 14.0,
            "total": 2.0,
            "to_code_ratio": 0.44,
            "high_entropy_comments": 1.0
          },
          "functions": {
            "total": 1.0,
            "avg_name_length": 13.0,
            "no_params_count": 1.0,
            "avg_length_lines": 14.0,
            "max_length_lines": 14.0,
            "min_length_lines": 14.0,
            "density_per_100_lines": 2.17,
            "code_in_functions_ratio": 0.3
          },
          "identifiers": {
            "total": 59.0,
            "avg_length": 7.82,
            "max_length": 15.0,
            "min_length": 1.0,
            "avg_entropy": 2.43,
            "reuse_ratio": 0.37,
            "unique_count": 22.0,
            "length_stddev": 3.92,
            "has_digit_ratio": 0.09,
            "sequential_names": 1.0,
            "single_char_count": 1.0,
            "single_char_ratio": 0.05,
            "high_entropy_count": 1.0,
            "high_entropy_ratio": 0.05,
            "all_lowercase_ratio": 0.91,
            "numeric_suffix_count": 1.0
          }
        },
        "ss": [
          [
            495,
            "%"
          ],
          [
            496,
            "%"
          ],
          [
            500,
            "*"
          ],
          [
            501,
            "*"
          ],
          [
            513,
            "/"
          ],
          [
            514,
            "/"
          ],
          [
            518,
            "="
          ],
          [
            519,
            "="
          ],
          [
            722,
            "gzinflate"
          ],
          [
            723,
            "gzinflate"
          ],
          [
            966,
            "G0YgIaXqx"
          ],
          [
            967,
            "G0YgIaXqx"
          ],
          [
            999,
            "\u003cform method= \"post\" action= \"\"\u003e \u003cinput type= \"input\" name= \"_f_wp\" value= \"\"/\u003e\u003cinput type= \"submit\" value= \"\u0026gt;\"/\u003e\u003c/form\u003e"
          ],
          [
            1000,
            "\u003cform method= \"post\" action= \"\"\u003e \u003cinput type= \"input\" name= \"_f_wp\" value= \"\"/\u003e\u003cinput type= \"submit\" value= \"\u0026gt;\"/\u003e\u003c/form\u003e"
          ],
          [
            22032,
            "#\u003cimg src=\"data:image/png;base64,(.*)\"\u003e#"
          ],
          [
            22033,
            "#\u003cimg src=\"data:image/png;base64,(.*)\"\u003e#"
          ]
        ],
        "sz": 22246,
        "ts": [
          {
            "c": 0.699999988079071,
            "d": "PHP error suppression operator usage",
            "e": [
              "@$preparefunc( $filter )"
            ],
            "i": "micro-behaviors/os/stdio::error-suppress-prefix",
            "l": 3
          },
          {
            "c": 0.8999999761581421,
            "d": "Very long line",
            "e": [
              "text.max_line_length = 20892.00"
            ],
            "i": "metadata/file/text/metrics::single-long-line",
            "l": 1
          },
          {
            "a": "T1505.003",
            "c": 0.8399999737739563,
            "d": "Near-zero whitespace script",
            "e": [
              "text.whitespace_ratio = 0.01"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/stager::near-zero-whitespace",
            "l": 1
          },
          {
            "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": "Exactly one line exceeds 1000 chars",
            "e": [
              "text.lines_over_1000 = 1.00"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::single-long-line-outlier",
            "l": 1,
            "m": "B0032"
          },
          {
            "c": 0.8999999761581421,
            "d": "WordPress core package docblock",
            "e": [
              "@package WordPress"
            ],
            "i": "metadata/library/web-frameworks::wordpress-core-package-doc",
            "l": 2
          },
          {
            "a": "T1027",
            "c": 1.0,
            "d": "Comment-heavy source context",
            "e": [
              "comments.to_code_ratio = 0.44"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/strings::comment-heavy-source",
            "l": 1,
            "m": "B0032"
          },
          {
            "c": 0.699999988079071,
            "d": "MD5 hash computation",
            "e": [
              "md5"
            ],
            "i": "micro-behaviors/crypto/hash/digest::md5-php",
            "l": 3,
            "m": "C0029"
          },
          {
            "a": "T1505.003",
            "c": 0.8600000143051147,
            "d": "Very long embedded string",
            "e": [
              "strings.max_length = 20870.00"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/stager::very-long-string",
            "l": 1
          },
          {
            "c": 0.8999999761581421,
            "d": "File has 30 or more lines",
            "e": [
              "text.total_lines = 46.00"
            ],
            "i": "metadata/file/text/metrics::file-has-30-plus-lines",
            "l": 1
          },
          {
            "c": 0.8600000143051147,
            "d": "Regex component marker",
            "e": [
              "method="
            ],
            "i": "objectives/command-and-control/backdoor/webshell/ui::self-named-get-form--rx-3",
            "l": 1,
            "m": "B0030"
          },
          {
            "a": "T1505.003",
            "c": 0.8999999761581421,
            "d": "PHP source imports base64_decode",
            "e": [
              "[base64_decode, chr, isset, md5, ord, pre_term_name, preg_match, str_replace, strlen, strrev, substr]"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/stager::source-import-base64-decode",
            "l": 1
          },
          {
            "c": 0.699999988079071,
            "d": "base64 encoding keyword",
            "e": [
              "base64"
            ],
            "i": "micro-behaviors/data/text/encoded::base64-token",
            "l": 3
          },
          {
            "a": "T1027",
            "c": 0.800000011920929,
            "d": "High overall text entropy (encoded",
            "e": [
              "text.char_entropy = 6.11"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::high-text-entropy",
            "l": 2,
            "m": "B0032"
          },
          {
            "a": "T1027",
            "c": 0.699999988079071,
            "d": "Very low whitespace ratio (minified/compressed)",
            "e": [
              "text.whitespace_ratio = 0.01"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::low-whitespace",
            "l": 2,
            "m": "B0032"
          },
          {
            "a": "T1027",
            "c": 0.8999999761581421,
            "d": "PHP source contains very long line",
            "e": [
              "text.max_line_length = 20892.00"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/identifiers::php-single-long-line",
            "l": 4,
            "m": "B0032"
          }
        ],
        "sha": "3938605e2eca654e886f95420a05e2d1bd74820256f32b77607a35179d40ea08",
        "path": "/data/samples/bad/datasets/php-malware-analysis/plugins/login_wall/ring_decoded/ring.1.php",
        "type": "php"
      }
    ],
    "tv": "a9555"
  }
}