{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9999587535858154,
        "class": 2
      }
    ],
    "prob": 0.99995875,
    "class": 2,
    "models": [
      {
        "m": "az",
        "prob": 0.9968388,
        "class": 1
      },
      {
        "m": "az/scripts",
        "prob": 0.9999205,
        "class": 2
      },
      {
        "m": "az/php",
        "prob": 0.99995875,
        "class": 2
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-09T21:18:21Z"
  },
  "path": "f2.php",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O₂(C₂As)Md₂(Pt)Th",
        "k": {
          "source.imports[0]": "base64_decode",
          "source.imports[1]": "gzinflate",
          "source.strings[0]": "eval(gzinflate(base64_decode(",
          "source.strings[1]": "p9;/.5un8xihqoatw2407*e)sf3clbg_k(mjyz6vdr1",
          "source.strings[2]": "preg_replace",
          "source.has_imports": true
        },
        "x": 369,
        "id": 0,
        "is": [
          "gzinflate",
          "base64_decode"
        ],
        "ms": {
          "file": {
            "size": 50289.0
          },
          "text": {
            "digit_ratio": 0.16,
            "space_count": 17.0,
            "total_lines": 8.0,
            "char_entropy": 6.01,
            "unique_chars": 80.0,
            "import_density": 25.0,
            "lines_over_200": 2.0,
            "lines_over_500": 2.0,
            "string_density": 1.75,
            "avg_line_length": 6285.13,
            "lines_over_1000": 2.0,
            "max_line_length": 25040.0,
            "last_line_length": 25024.0,
            "long_token_count": 2.0,
            "most_common_char": "f",
            "whitespace_ratio": 0.0,
            "most_common_ratio": 0.02,
            "identifier_density": 0.88,
            "line_length_stddev": 10823.53,
            "encoded_string_ratio": 0.21,
            "normalized_import_count": 0.71,
            "normalized_string_count": 4.95,
            "suspicious_string_ratio": 0.29,
            "max_inline_whitespace_run": 1.0,
            "suspicious_identifier_ratio": 0.43,
            "normalized_unique_identifiers": 2.33
          },
          "imports": {
            "total": 2.0,
            "unique_modules": 2.0,
            "third_party_count": 2.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 14.0,
            "avg_length": 7157.0,
            "max_length": 25025.0,
            "avg_entropy": 3.93,
            "total_bytes": 100198.0,
            "entropy_stddev": 1.95,
            "base64_candidates": 3.0,
            "very_long_strings": 4.0,
            "high_entropy_count": 6.0,
            "embedded_code_candidates": 4.0
          },
          "comments": {},
          "functions": {},
          "identifiers": {
            "total": 7.0,
            "avg_length": 8.86,
            "max_length": 13.0,
            "min_length": 6.0,
            "avg_entropy": 2.99,
            "reuse_ratio": 1.0,
            "unique_count": 7.0,
            "length_stddev": 2.1,
            "has_digit_ratio": 0.86,
            "base64_like_names": 3.0,
            "all_lowercase_ratio": 0.14,
            "numeric_suffix_count": 5.0
          }
        },
        "ss": [
          [
            16,
            "p9;/.5un8xihqoatw2407*e)sf3clbg_k(mjyz6vdr1"
          ],
          [
            17,
            "p9;/.5un8xihqoatw2407*e)sf3clbg_k(mjyz6vdr1"
          ],
          [
            77,
            "preg_replace"
          ],
          [
            78,
            "preg_replace"
          ],
          [
            106,
            "eval(gzinflate(base64_decode("
          ],
          [
            107,
            "eval(gzinflate(base64_decode("
          ],
          [
            150,
            ")));"
          ],
          [
            151,
            ")));"
          ],
          [
            171,
            "eval(gzinflate(base64_decode("
          ],
          [
            25192,
            ")));"
          ]
        ],
        "sz": 50289,
        "ts": [
          {
            "a": "T1505.003",
            "c": 0.8999999761581421,
            "d": "PHP source imports base64_decode",
            "e": [
              "[base64_decode, gzinflate]"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/stager::source-import-base64-decode",
            "l": 1
          },
          {
            "a": "T1505.003",
            "c": 0.9900000095367432,
            "d": "Decodes a large embedded payload (base64)",
            "e": [
              "base64_decode('XZxnr7xed55fx5K/g/WPpScJjulNVl4MvcPQQZYs6tB7//ThFztK5COhOQc2sNl7rXtd98DhH5N9q/5tStb1H/7XP/xVogiG5FmG0wmVY3lCQhBCI"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/decoder::eval-base64-large-payload",
            "l": 4,
            "m": "B0030"
          },
          {
            "a": "T1027",
            "c": 0.8999999761581421,
            "d": "Last line is over 1000 chars",
            "e": [
              "text.last_line_length = 25024.00"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::last-line-over-1000",
            "l": 1,
            "m": "B0032"
          },
          {
            "a": "T1505.003",
            "c": 0.8399999737739563,
            "d": "Near-zero whitespace script",
            "e": [
              "text.whitespace_ratio = 0.00"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/stager::near-zero-whitespace",
            "l": 1
          },
          {
            "c": 0.800000011920929,
            "d": "Very short file (under 12 lines)",
            "e": [
              "text.total_lines = 8.00"
            ],
            "i": "metadata/file/text/metrics::file-under-12-lines",
            "l": 1
          },
          {
            "c": 0.949999988079071,
            "d": "PHP opening tag present",
            "e": [
              "\u003c?php"
            ],
            "i": "metadata/lang/scripted::php-open-tag",
            "l": 1
          },
          {
            "a": "T1505.003",
            "c": 0.8600000143051147,
            "d": "Very long embedded string",
            "e": [
              "strings.max_length = 25025.00"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/stager::very-long-string",
            "l": 1
          },
          {
            "a": "T1505.003",
            "c": 0.949999988079071,
            "d": "Regex component marker",
            "e": [
              "eval(gzinflate("
            ],
            "i": "objectives/command-and-control/backdoor/webshell/decoder::eval-decoder-chain--rx-2",
            "l": 1,
            "m": "B0030"
          },
          {
            "c": 0.8999999761581421,
            "d": "Very long line",
            "e": [
              "text.max_line_length = 25040.00"
            ],
            "i": "metadata/file/text/metrics::single-long-line",
            "l": 1
          },
          {
            "a": "T1027",
            "c": 0.699999988079071,
            "d": "Very low whitespace ratio (minified/compressed)",
            "e": [
              "text.whitespace_ratio = 0.00"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::low-whitespace",
            "l": 2,
            "m": "B0032"
          },
          {
            "a": "T1027",
            "c": 0.8500000238418579,
            "d": "Multiple long lines (\u003e1000 chars)",
            "e": [
              "text.lines_over_1000 = 2.00"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::very-long-lines",
            "l": 2,
            "m": "B0032"
          },
          {
            "a": "T1027",
            "c": 0.8999999761581421,
            "d": "PHP source contains very long line",
            "e": [
              "text.max_line_length = 25040.00"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/identifiers::php-single-long-line",
            "l": 4,
            "m": "B0032"
          },
          {
            "a": "T1027",
            "c": 0.800000011920929,
            "d": "High overall text entropy (encoded",
            "e": [
              "text.char_entropy = 6.01"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::high-text-entropy",
            "l": 2,
            "m": "B0032"
          },
          {
            "a": "T1505.003",
            "c": 0.9700000286102295,
            "d": "PHP decoder eval webshell",
            "e": [
              "eval(gzinflate(",
              "base64_decode('XZxnr7xed55fx5K/g/WPpScJjulNVl4MvcPQQZYs6tB7//ThFztK5COhOQc2sNl7rXtd98DhH5N9q/5tStb1H/7XP/xVogiG5FmG0wmVY3lCQhBCI"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/decoder::php-decoder-eval-webshell",
            "l": 5,
            "m": "B0030"
          },
          {
            "c": 0.8999999761581421,
            "d": "Chinese Hacktool Set - file templatr.php",
            "e": [
              "eval(gzinflate(base64_decode('"
            ],
            "i": "third_party/SigBase/Templatr",
            "l": 5
          },
          {
            "c": 0.8999999761581421,
            "d": "PHP webshell which directly eval()s obfuscated string",
            "e": [
              "eval(gzinflate(base64_decode(",
              "\u003c?",
              "\u003c?php"
            ],
            "i": "third_party/SigBase/WEBSHELL/PHP/Gzinflated",
            "l": 5
          },
          {
            "c": 0.8999999761581421,
            "d": "PHP webshell using $a($code) for kind of eval with encoded blob to decode, e.g. b374k",
            "e": [
              "\u003c?php",
              "ase6",
              "eval(",
              "\u003c?"
            ],
            "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": [
              "\u003c?php",
              "\u003c?",
              "eval(g"
            ],
            "i": "third_party/SigBase/WEBSHELL/PHP/Encoded/Big",
            "l": 5
          }
        ],
        "sha": "f8d1a6ef60e4ebff135dffbf6ec4d828b3556f086bfe13b11a336b1428a89e10",
        "path": "f2.php",
        "type": "php"
      }
    ],
    "tv": "87c42"
  }
}