{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9999685287475586,
        "class": 2
      }
    ],
    "prob": 0.9999685,
    "class": 2,
    "models": [
      {
        "m": "az",
        "prob": 0.9985487,
        "class": 1
      },
      {
        "m": "az/scripts",
        "prob": 0.9999281,
        "class": 2
      },
      {
        "m": "az/php",
        "prob": 0.9999685,
        "class": 2
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-09T22:19:25Z"
  },
  "path": "read.php.suspected",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "KO₂(As₂C₃)H₄(Cm₂CrDbOs)Md₂(Pt)Th",
        "k": {
          "source.imports[0]": "base64_decode",
          "source.imports[1]": "chr",
          "source.imports[2]": "create_function",
          "source.imports[3]": "isset",
          "source.imports[4]": "md5",
          "source.imports[5]": "ord",
          "source.imports[6]": "pre_term_name",
          "source.imports[7]": "preg_match",
          "source.imports[8]": "setcookie",
          "source.imports[9]": "str_replace",
          "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]": "gzinflate",
          "source.has_imports": true,
          "source.imports[10]": "strlen",
          "source.imports[11]": "strrev",
          "source.imports[12]": "substr",
          "source.functions[0]": "pre_term_name"
        },
        "x": 188,
        "id": 0,
        "is": [
          "str_replace",
          "base64_decode",
          "strrev",
          "substr",
          "md5",
          "strlen",
          "md5",
          "ord",
          "ord",
          "chr",
          "strlen",
          "isset",
          "isset",
          "preg_match",
          "pre_term_name",
          "isset",
          "isset",
          "setcookie",
          "create_function"
        ],
        "ms": {
          "file": {
            "size": 22501.0
          },
          "text": {
            "tab_count": 19.0,
            "digit_ratio": 0.15,
            "space_count": 202.0,
            "total_lines": 51.0,
            "char_entropy": 6.13,
            "mixed_indent": true,
            "unique_chars": 92.0,
            "import_density": 37.25,
            "lines_over_200": 1.0,
            "lines_over_500": 1.0,
            "string_density": 0.59,
            "avg_line_length": 439.24,
            "lines_over_1000": 1.0,
            "max_line_length": 20888.0,
            "empty_line_ratio": 0.18,
            "last_line_length": 20.0,
            "long_token_count": 1.0,
            "most_common_char": "e",
            "whitespace_ratio": 0.01,
            "most_common_ratio": 0.02,
            "identifier_density": 1.47,
            "line_length_stddev": 2892.05,
            "encoded_string_ratio": 0.07,
            "normalized_import_count": 2.66,
            "normalized_string_count": 4.2,
            "suspicious_comment_ratio": 0.5,
            "max_inline_whitespace_run": 1.0,
            "normalized_function_count": 0.14,
            "trailing_whitespace_lines": 1.0,
            "imports_to_functions_ratio": 19.0,
            "strings_to_functions_ratio": 30.0,
            "suspicious_identifier_ratio": 0.04,
            "normalized_unique_identifiers": 4.94,
            "identifiers_to_functions_ratio": 28.0
          },
          "imports": {
            "total": 19.0,
            "unique_modules": 13.0,
            "third_party_count": 19.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 30.0,
            "avg_length": 1404.6,
            "max_length": 20866.0,
            "avg_entropy": 2.15,
            "total_bytes": 42138.0,
            "entropy_stddev": 1.76,
            "very_long_strings": 2.0,
            "high_entropy_count": 2.0,
            "url_encoded_strings": 2.0
          },
          "comments": {
            "chars": 383.0,
            "lines": 14.0,
            "total": 2.0,
            "to_code_ratio": 0.38,
            "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": 1.96,
            "code_in_functions_ratio": 0.27
          },
          "identifiers": {
            "total": 75.0,
            "avg_length": 8.18,
            "max_length": 17.0,
            "min_length": 1.0,
            "avg_entropy": 2.5,
            "reuse_ratio": 0.37,
            "unique_count": 28.0,
            "length_stddev": 4.2,
            "has_digit_ratio": 0.07,
            "sequential_names": 1.0,
            "single_char_count": 1.0,
            "single_char_ratio": 0.04,
            "high_entropy_count": 2.0,
            "high_entropy_ratio": 0.07,
            "all_lowercase_ratio": 0.86,
            "all_uppercase_ratio": 0.07,
            "numeric_suffix_count": 1.0,
            "underscore_prefix_count": 2.0
          }
        },
        "ss": [
          [
            494,
            "%"
          ],
          [
            495,
            "%"
          ],
          [
            499,
            "*"
          ],
          [
            500,
            "*"
          ],
          [
            512,
            "/"
          ],
          [
            513,
            "/"
          ],
          [
            517,
            "="
          ],
          [
            518,
            "="
          ],
          [
            721,
            "gzinflate"
          ],
          [
            722,
            "gzinflate"
          ],
          [
            978,
            "f_wp"
          ],
          [
            979,
            "f_wp"
          ],
          [
            996,
            "f_wp"
          ],
          [
            997,
            "f_wp"
          ],
          [
            1022,
            "f_wp"
          ],
          [
            1023,
            "f_wp"
          ],
          [
            1042,
            "f_wp"
          ],
          [
            1043,
            "f_wp"
          ],
          [
            1079,
            "\u003cform method= \"post\" action= \"\"\u003e \u003cinput type= \"input\" name= \"f_wp\" value= \"\"/\u003e\u003cinput type= \"submit\" value= \"\u0026gt;\"/\u003e\u003c/form\u003e"
          ],
          [
            1080,
            "\u003cform method= \"post\" action= \"\"\u003e \u003cinput type= \"input\" name= \"f_wp\" value= \"\"/\u003e\u003cinput type= \"submit\" value= \"\u0026gt;\"/\u003e\u003c/form\u003e"
          ],
          [
            22107,
            "#\u003cimg src=\"data:image/png;base64,(.*)\"\u003e#"
          ],
          [
            22108,
            "#\u003cimg src=\"data:image/png;base64,(.*)\"\u003e#"
          ],
          [
            22318,
            "f_wp"
          ],
          [
            22319,
            "f_wp"
          ],
          [
            22341,
            "f_wp"
          ],
          [
            22342,
            "f_wp"
          ],
          [
            22356,
            "f_wp"
          ],
          [
            22357,
            "f_wp"
          ]
        ],
        "sz": 22501,
        "ts": [
          {
            "c": 0.8999999761581421,
            "d": "File has 30 or more lines",
            "e": [
              "text.total_lines = 51.00"
            ],
            "i": "metadata/file/text/metrics::file-has-30-plus-lines",
            "l": 1
          },
          {
            "c": 0.8999999761581421,
            "d": "WordPress core package docblock",
            "e": [
              "@package WordPress"
            ],
            "i": "metadata/library/web-frameworks::wordpress-core-package-doc",
            "l": 2
          },
          {
            "c": 0.699999988079071,
            "d": "MD5 hash computation",
            "e": [
              "md5"
            ],
            "i": "micro-behaviors/crypto/hash/digest::md5-php",
            "l": 3,
            "m": "C0029"
          },
          {
            "c": 0.699999988079071,
            "d": "base64 encoding keyword",
            "e": [
              "base64"
            ],
            "i": "micro-behaviors/data/text/encoded::base64-token",
            "l": 3
          },
          {
            "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.8500000238418579,
            "d": "PHP request superglobal access",
            "e": [
              "$_POST"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/upload::php-request-variadic-function-call",
            "l": 3,
            "m": "B0030"
          },
          {
            "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
          },
          {
            "c": 0.8999999761581421,
            "d": "Very long line",
            "e": [
              "text.max_line_length = 20888.00"
            ],
            "i": "metadata/file/text/metrics::single-long-line",
            "l": 1
          },
          {
            "c": 0.800000011920929,
            "d": "HTTP Cookie access ($_COOKIE)",
            "e": [
              "$_COOKIE"
            ],
            "i": "micro-behaviors/communications/http/request/params::cookie",
            "l": 3
          },
          {
            "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"
          },
          {
            "a": "T1059",
            "c": 0.8500000238418579,
            "d": "HTTP POST parameter access ($_POST)",
            "e": [
              "$_POST"
            ],
            "i": "micro-behaviors/communications/http/request/params::post-dup",
            "l": 3
          },
          {
            "a": "T1027",
            "c": 1.0,
            "d": "Comment-heavy source context",
            "e": [
              "comments.to_code_ratio = 0.38"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/strings::comment-heavy-source",
            "l": 1,
            "m": "B0032"
          },
          {
            "c": 0.699999988079071,
            "d": "PHP error suppression operator usage",
            "e": [
              "@$preparefunc( $filter )",
              "@setcookie( 'f_wp', $_POST['f_wp'] )"
            ],
            "i": "micro-behaviors/os/stdio::error-suppress-prefix",
            "l": 3
          },
          {
            "a": "T1505.003",
            "c": 0.8999999761581421,
            "d": "PHP source imports base64_decode",
            "e": [
              "[base64_decode, chr, create_function, isset, md5, ord, pre_term_name, preg_match, setcookie, str_replace, strlen, strrev, substr"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/stager::source-import-base64-decode",
            "l": 1
          },
          {
            "c": 0.949999988079071,
            "d": "PHP opening tag present",
            "e": [
              "\u003c?php"
            ],
            "i": "metadata/lang/scripted::php-open-tag",
            "l": 1
          },
          {
            "d": "Sets HTTP cookie via setcookie()",
            "e": [
              "setcookie"
            ],
            "i": "micro-behaviors/communications/http/cookies::setcookie-call",
            "l": 3
          },
          {
            "a": "T1505.003",
            "c": 0.8600000143051147,
            "d": "Very long embedded string",
            "e": [
              "strings.max_length = 20866.00"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/stager::very-long-string",
            "l": 1
          },
          {
            "a": "T1505.003",
            "c": 0.4000000059604645,
            "d": "PHP $_POST[...] superglobal access",
            "e": [
              "$_POST["
            ],
            "i": "objectives/command-and-control/backdoor/webshell/request::php-post",
            "l": 1,
            "m": "B0030"
          },
          {
            "a": "T1027",
            "c": 0.800000011920929,
            "d": "High overall text entropy (encoded",
            "e": [
              "text.char_entropy = 6.13"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::high-text-entropy",
            "l": 2,
            "m": "B0032"
          },
          {
            "a": "T1027",
            "c": 0.8999999761581421,
            "d": "PHP source contains very long line",
            "e": [
              "text.max_line_length = 20888.00"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/identifiers::php-single-long-line",
            "l": 4,
            "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"
          },
          {
            "c": 0.9800000190734863,
            "d": "ALFA create_function fragment",
            "e": [
              "create_fun"
            ],
            "i": "well-known/malware/webshell/alfa::alfa-create-function-fragment",
            "l": 4
          },
          {
            "c": 1.0,
            "d": "php code embedded in string",
            "e": [
              "Detected php at offset 0x0"
            ],
            "i": "metadata/lang/embedded::php",
            "l": 2
          },
          {
            "c": 0.8999999761581421,
            "d": "PHP webshell using $a($code) for kind of eval with encoded blob to decode, e.g. b374k",
            "e": [
              "str_replace",
              "\u003c?",
              "$shortcode_unautop()",
              "\u003c?php",
              "ase6"
            ],
            "i": "third_party/SigBase/WEBSHELL/PHP/Dynamic/Big",
            "l": 5
          },
          {
            "c": 0.8999999761581421,
            "d": "PHP webshell using some kind of eval with encoded blob to decode, which is checked with YARAs math.entropy module",
            "e": [
              "create_function( ",
              "\u003c?php",
              "\u003c?"
            ],
            "i": "third_party/SigBase/WEBSHELL/PHP/Encoded/Big",
            "l": 5
          }
        ],
        "sha": "ed013e3fb4197d39faf4353e263a995104ee95e924e952bd94dceb5f9bfda535",
        "path": "read.php.suspected",
        "type": "php"
      }
    ],
    "tv": "87c42"
  }
}