{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9968684315681458,
        "class": 2
      }
    ],
    "prob": 0.99686843,
    "class": 2,
    "models": [
      {
        "m": "az",
        "prob": 0.572591,
        "class": 0
      },
      {
        "m": "az/scripts",
        "prob": 0.9645368,
        "class": 0
      },
      {
        "m": "az/php",
        "prob": 0.99686843,
        "class": 2
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-08T21:53:00Z"
  },
  "path": "chang.php",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O₃(AsC₂I)H₂(CmF)",
        "k": {
          "source.imports[0]": "chdir",
          "source.imports[1]": "explode",
          "source.imports[2]": "fopen",
          "source.imports[3]": "fwrite",
          "source.imports[4]": "get_current_user",
          "source.imports[5]": "getcwd",
          "source.imports[6]": "is_dir",
          "source.imports[7]": "is_file",
          "source.imports[8]": "rename",
          "source.strings[0]": ".contactemail",
          "source.strings[1]": "/.contactemail",
          "source.strings[2]": "/.cpanel",
          "source.strings[3]": "/.cpanels",
          "source.strings[4]": "HTTP_HOST",
          "source.strings[5]": "vvebos@mozej.com",
          "source.has_imports": true
        },
        "x": 2,
        "id": 0,
        "is": [
          "get_current_user",
          "explode",
          "getcwd",
          "is_dir",
          "rename",
          "is_file",
          "chdir",
          "fwrite",
          "fopen",
          "chdir",
          "fwrite",
          "fopen"
        ],
        "ms": {
          "file": {
            "size": 505.0
          },
          "text": {
            "tab_count": 1.0,
            "digit_ratio": 0.02,
            "space_count": 9.0,
            "total_lines": 20.0,
            "char_entropy": 5.09,
            "mixed_indent": true,
            "unique_chars": 55.0,
            "import_density": 60.0,
            "string_density": 2.8,
            "avg_line_length": 24.3,
            "max_line_length": 83.0,
            "empty_line_ratio": 0.3,
            "last_line_length": 2.0,
            "most_common_char": "\"",
            "whitespace_ratio": 0.06,
            "most_common_ratio": 0.11,
            "identifier_density": 1.4,
            "line_length_stddev": 25.18,
            "normalized_import_count": 2.68,
            "normalized_string_count": 12.52,
            "max_inline_whitespace_run": 1.0,
            "trailing_whitespace_lines": 3.0,
            "normalized_unique_identifiers": 2.78
          },
          "imports": {
            "total": 12.0,
            "unique_modules": 9.0,
            "third_party_count": 12.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 56.0,
            "avg_length": 4.46,
            "max_length": 16.0,
            "path_count": 8.0,
            "avg_entropy": 1.0,
            "email_count": 4.0,
            "total_bytes": 250.0,
            "entropy_stddev": 1.47
          },
          "comments": {},
          "functions": {},
          "identifiers": {
            "total": 28.0,
            "avg_length": 6.75,
            "max_length": 16.0,
            "min_length": 4.0,
            "avg_entropy": 2.43,
            "reuse_ratio": 0.43,
            "unique_count": 12.0,
            "length_stddev": 2.92,
            "all_lowercase_ratio": 0.92,
            "all_uppercase_ratio": 0.08,
            "underscore_prefix_count": 1.0
          }
        },
        "ss": [
          [
            54,
            "/"
          ],
          [
            55,
            "/"
          ],
          [
            80,
            "/"
          ],
          [
            81,
            "/"
          ],
          [
            95,
            "/"
          ],
          [
            96,
            "/"
          ],
          [
            105,
            "/.cpanel"
          ],
          [
            106,
            "/.cpanel"
          ],
          [
            128,
            "/"
          ],
          [
            129,
            "/"
          ],
          [
            143,
            "/"
          ],
          [
            144,
            "/"
          ],
          [
            153,
            "/.cpanel"
          ],
          [
            154,
            "/.cpanel"
          ],
          [
            165,
            "/"
          ],
          [
            166,
            "/"
          ],
          [
            180,
            "/"
          ],
          [
            181,
            "/"
          ],
          [
            190,
            "/.cpanels"
          ],
          [
            191,
            "/.cpanels"
          ],
          [
            219,
            "/"
          ],
          [
            220,
            "/"
          ],
          [
            234,
            "/"
          ],
          [
            235,
            "/"
          ],
          [
            244,
            "/.contactemail"
          ],
          [
            245,
            "/.contactemail"
          ],
          [
            271,
            "/"
          ],
          [
            272,
            "/"
          ],
          [
            286,
            "/"
          ],
          [
            287,
            "/"
          ],
          [
            296,
            "/"
          ],
          [
            297,
            "/"
          ],
          [
            315,
            ".contactemail"
          ],
          [
            316,
            ".contactemail"
          ],
          [
            331,
            "w"
          ],
          [
            332,
            "w"
          ],
          [
            336,
            "vvebos@mozej.com"
          ],
          [
            337,
            "vvebos@mozej.com"
          ],
          [
            374,
            "/"
          ],
          [
            375,
            "/"
          ],
          [
            389,
            "/"
          ],
          [
            390,
            "/"
          ],
          [
            399,
            "/"
          ],
          [
            400,
            "/"
          ],
          [
            418,
            ".contactemail"
          ],
          [
            419,
            ".contactemail"
          ],
          [
            434,
            "w"
          ],
          [
            435,
            "w"
          ],
          [
            439,
            "vvebos@mozej.com"
          ],
          [
            440,
            "vvebos@mozej.com"
          ],
          [
            475,
            "HTTP_HOST"
          ],
          [
            476,
            "HTTP_HOST"
          ],
          [
            488,
            "|"
          ],
          [
            489,
            "|"
          ],
          [
            498,
            "|"
          ],
          [
            499,
            "|"
          ]
        ],
        "sz": 505,
        "ts": [
          {
            "c": 0.75,
            "d": "Generic $_SERVER superglobal access",
            "e": [
              "$_SERVER"
            ],
            "i": "micro-behaviors/communications/http/request/params::server-dup",
            "l": 3
          },
          {
            "a": "T1546",
            "c": 1.0,
            "d": "Writes data to a file via functions",
            "e": [
              "fwrite("
            ],
            "i": "micro-behaviors/fs/file/write/direct::php-file-write-func",
            "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"
          },
          {
            "c": 0.800000011920929,
            "d": "Detects PHP rename file recreation call",
            "e": [
              "rename"
            ],
            "i": "objectives/impact/infect/script::php-rename-call",
            "l": 1
          },
          {
            "c": 0.800000011920929,
            "d": "Writes data to an open file",
            "e": [
              "fwrite"
            ],
            "i": "micro-behaviors/fs/write/file/direct::fwrite",
            "l": 3,
            "m": "C0052"
          },
          {
            "c": 0.8600000143051147,
            "d": "Regex component marker",
            "e": [
              "$_SERVER["
            ],
            "i": "objectives/command-and-control/backdoor/webshell/ui::self-named-get-form--rx-4",
            "l": 1,
            "m": "B0030"
          },
          {
            "a": "T1027",
            "c": 0.9200000166893005,
            "d": "Regex component marker",
            "e": [
              "HOST"
            ],
            "i": "objectives/anti-static/obfuscation/payload/config::url-component-concat--rx-12",
            "l": 1,
            "m": "B0032"
          },
          {
            "c": 0.8199999928474426,
            "d": "Detects overwrite-mode file open",
            "e": [
              "fopen(\".contactemail\",\"w\""
            ],
            "i": "objectives/impact/infect/script::php-overwrite-file-mode",
            "l": 1
          }
        ],
        "sha": "856c511ba5bd5b8fa11243efb7dda7b3f7d93a4fde31c2fc5dfb5496d862e41d",
        "path": "chang.php",
        "type": "php"
      }
    ],
    "tv": "bef72"
  }
}