{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9999536275863647,
        "class": 2
      }
    ],
    "prob": 0.9999536,
    "class": 2,
    "models": [
      {
        "m": "az",
        "prob": 0.9972156,
        "class": 1
      },
      {
        "m": "az/scripts",
        "prob": 0.9999304,
        "class": 2
      },
      {
        "m": "az/php",
        "prob": 0.9999536,
        "class": 2
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-09T12:11:22Z"
  },
  "path": "f1.php",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O₂(C₃As)MdTh",
        "k": {
          "source.imports[0]": "base64_decode",
          "source.imports[1]": "gzinflate",
          "source.strings[0]": "assert",
          "source.strings[1]": "eval(gzinflate(base64_decode(",
          "source.strings[2]": "iryE6m79kN",
          "source.strings[3]": "iryE6m79kN\\'spgzASoaK14=lQYPM.jHv8TeUGIVRxD3C+JF)Zcu_(WtOd20/nBq;bfhX5Lw*",
          "source.strings[4]": "spgzASoaK14=lQYPM.jHv8TeUGIVRxD3C+JF)Zcu_(WtOd20/nBq;bfhX5Lw*",
          "source.has_imports": true
        },
        "x": 369,
        "id": 0,
        "is": [
          "gzinflate",
          "base64_decode"
        ],
        "ms": {
          "file": {
            "size": 50116.0
          },
          "text": {
            "digit_ratio": 0.17,
            "space_count": 11.0,
            "total_lines": 7.0,
            "char_entropy": 6.01,
            "unique_chars": 82.0,
            "import_density": 28.57,
            "lines_over_200": 2.0,
            "lines_over_500": 2.0,
            "string_density": 2.14,
            "avg_line_length": 7158.43,
            "high_byte_ratio": 0.0,
            "lines_over_1000": 2.0,
            "max_line_length": 24979.0,
            "non_ascii_ratio": 0.0,
            "last_line_length": 24968.0,
            "long_token_count": 2.0,
            "most_common_char": "u",
            "whitespace_ratio": 0.0,
            "most_common_ratio": 0.02,
            "identifier_density": 1.0,
            "line_length_stddev": 11267.27,
            "encoded_string_ratio": 0.2,
            "normalized_import_count": 0.76,
            "normalized_string_count": 5.67,
            "suspicious_string_ratio": 0.27,
            "max_inline_whitespace_run": 1.0,
            "trailing_whitespace_lines": 1.0,
            "normalized_unique_identifiers": 2.49
          },
          "imports": {
            "total": 2.0,
            "unique_modules": 2.0,
            "third_party_count": 2.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 15.0,
            "avg_length": 6668.13,
            "max_length": 24969.0,
            "avg_entropy": 3.9,
            "total_bytes": 100022.0,
            "entropy_stddev": 2.02,
            "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": 5.29,
            "max_length": 13.0,
            "min_length": 3.0,
            "avg_entropy": 1.94,
            "reuse_ratio": 1.0,
            "unique_count": 7.0,
            "length_stddev": 3.77,
            "has_digit_ratio": 0.14,
            "all_lowercase_ratio": 0.29
          }
        },
        "ss": [
          [
            17,
            "iryE6m79kN\\'spgzASoaK14=lQYPM.jHv8TeUGIVRxD3C+JF)Zcu_(WtOd20/nBq;bfhX5Lw*"
          ],
          [
            18,
            "iryE6m79kN"
          ],
          [
            31,
            "spgzASoaK14=lQYPM.jHv8TeUGIVRxD3C+JF)Zcu_(WtOd20/nBq;bfhX5Lw*"
          ],
          [
            102,
            "assert"
          ],
          [
            103,
            "assert"
          ],
          [
            119,
            "eval(gzinflate(base64_decode("
          ],
          [
            120,
            "eval(gzinflate(base64_decode("
          ],
          [
            159,
            ")));"
          ],
          [
            160,
            ")));"
          ],
          [
            175,
            "eval(gzinflate(base64_decode("
          ],
          [
            25140,
            ")));"
          ]
        ],
        "sz": 50116,
        "ts": [
          {
            "a": "T1505.003",
            "c": 0.9900000095367432,
            "d": "Decodes a large embedded payload (base64)",
            "e": [
              "base64_decode('5b3rfxo30zD8OR/6P8hbri40GANO0sQYYsexE6eJnfqQo/PQBRbYemHp7mLipv7fn5nRYaU9YJz2uu/3+b1uY4M0Go1Oo9HMaOQNWdmLIjcul7pvj"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/decoder::eval-base64-large-payload",
            "l": 4,
            "m": "B0030"
          },
          {
            "a": "T1505.003",
            "c": 0.8600000143051147,
            "d": "Very long embedded string",
            "e": [
              "strings.max_length = 24969.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"
          },
          {
            "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": "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
          },
          {
            "a": "T1027",
            "c": 0.8999999761581421,
            "d": "Last line is over 1000 chars",
            "e": [
              "text.last_line_length = 24968.00"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::last-line-over-1000",
            "l": 1,
            "m": "B0032"
          },
          {
            "c": 0.8999999761581421,
            "d": "Very long line",
            "e": [
              "text.max_line_length = 24979.00"
            ],
            "i": "metadata/file/text/metrics::single-long-line",
            "l": 1
          },
          {
            "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
          },
          {
            "c": 0.800000011920929,
            "d": "Very short file (under 12 lines)",
            "e": [
              "text.total_lines = 7.00"
            ],
            "i": "metadata/file/text/metrics::file-under-12-lines",
            "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 = 24979.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": [
              "base64_decode('5b3rfxo30zD8OR/6P8hbri40GANO0sQYYsexE6eJnfqQo/PQBRbYemHp7mLipv7fn5nRYaU9YJz2uu/3+b1uY4M0Go1Oo9HMaOQNWdmLIjcul7pvj",
              "eval(gzinflate("
            ],
            "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?php",
              "\u003c?"
            ],
            "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": [
              "eval(",
              "ase6",
              "\u003c?php"
            ],
            "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": [
              "eval(g",
              "\u003c?php"
            ],
            "i": "third_party/SigBase/WEBSHELL/PHP/Encoded/Big",
            "l": 5
          }
        ],
        "sha": "cfa1f04382998b90aaae1878bf303644526b7e20fce0893ff0f2b28865887380",
        "path": "/data/samples/bad/datasets/php-malware-analysis/webshells/customizer-ui-experimenks.php/f1.php",
        "type": "php"
      }
    ],
    "tv": "a9555"
  }
}