{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9962807297706604,
        "class": 2
      }
    ],
    "prob": 0.9962807,
    "class": 2,
    "models": [
      {
        "m": "az",
        "prob": 0.7032841,
        "class": 0
      },
      {
        "m": "az/scripts",
        "prob": 0.8804977,
        "class": 0
      },
      {
        "m": "az/php",
        "prob": 0.9962807,
        "class": 2
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-09T09:08:30Z"
  },
  "path": "sms.php",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "KO₃(C₅AlAs)H₂(CmDb₃)Md",
        "k": {
          "source.imports[0]": "empty",
          "source.imports[1]": "getenv",
          "source.imports[2]": "gethostbyaddr",
          "source.imports[3]": "header",
          "source.imports[4]": "isset",
          "source.imports[5]": "session_start",
          "source.imports[6]": "strpos",
          "source.strings[0]": "./XBALTI/send_sms.php",
          "source.strings[1]": "./antbots/antibot.php",
          "source.strings[2]": "HTTP/1.0 404 Not Found",
          "source.strings[3]": "HTTP_USER_AGENT",
          "source.strings[4]": "REMOTE_ADDR",
          "source.strings[5]": "codesms",
          "source.strings[6]": "google",
          "source.has_imports": true
        },
        "x": 32,
        "id": 0,
        "is": [
          "session_start",
          "isset",
          "empty",
          "strpos",
          "header",
          "strpos",
          "gethostbyaddr",
          "getenv",
          "header"
        ],
        "ms": {
          "file": {
            "size": 13149.0
          },
          "text": {
            "tab_count": 407.0,
            "digit_ratio": 0.03,
            "space_count": 1486.0,
            "total_lines": 343.0,
            "char_entropy": 5.22,
            "mixed_indent": true,
            "unique_chars": 97.0,
            "import_density": 2.62,
            "lines_over_200": 3.0,
            "lines_over_500": 1.0,
            "string_density": 0.07,
            "ascii_art_lines": 5.0,
            "avg_line_length": 36.34,
            "high_byte_ratio": 0.01,
            "max_line_length": 907.0,
            "non_ascii_ratio": 0.01,
            "empty_line_ratio": 0.31,
            "last_line_length": 53.0,
            "long_token_count": 2.0,
            "most_common_char": "e",
            "whitespace_ratio": 0.2,
            "most_common_ratio": 0.07,
            "identifier_density": 0.04,
            "line_length_stddev": 66.4,
            "unusual_whitespace": 2.0,
            "normalized_import_count": 0.49,
            "normalized_string_count": 1.3,
            "repeated_char_sequences": 36.0,
            "max_inline_whitespace_run": 12.0,
            "trailing_whitespace_lines": 81.0,
            "normalized_unique_identifiers": 1.19
          },
          "imports": {
            "total": 9.0,
            "unique_modules": 7.0,
            "third_party_count": 9.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 24.0,
            "avg_length": 12.67,
            "max_length": 22.0,
            "path_count": 4.0,
            "avg_entropy": 2.93,
            "total_bytes": 304.0,
            "entropy_stddev": 0.69
          },
          "comments": {
            "chars": 972.0,
            "lines": 25.0,
            "total": 6.0,
            "to_code_ratio": 0.08
          },
          "functions": {},
          "identifiers": {
            "total": 14.0,
            "avg_length": 7.4,
            "max_length": 13.0,
            "min_length": 5.0,
            "avg_entropy": 2.43,
            "reuse_ratio": 0.71,
            "unique_count": 10.0,
            "length_stddev": 2.94,
            "all_lowercase_ratio": 0.7,
            "all_uppercase_ratio": 0.3,
            "underscore_prefix_count": 3.0
          }
        },
        "ss": [
          [
            615,
            "codesms"
          ],
          [
            616,
            "codesms"
          ],
          [
            649,
            "codesms"
          ],
          [
            650,
            "codesms"
          ],
          [
            727,
            "codesms"
          ],
          [
            728,
            "codesms"
          ],
          [
            749,
            "codesms"
          ],
          [
            750,
            "codesms"
          ],
          [
            820,
            "./XBALTI/send_sms.php"
          ],
          [
            821,
            "./XBALTI/send_sms.php"
          ],
          [
            974,
            "./antbots/antibot.php"
          ],
          [
            975,
            "./antbots/antibot.php"
          ],
          [
            1135,
            "HTTP_USER_AGENT"
          ],
          [
            1136,
            "HTTP_USER_AGENT"
          ],
          [
            1154,
            "google"
          ],
          [
            1155,
            "google"
          ],
          [
            1185,
            "HTTP/1.0 404 Not Found"
          ],
          [
            1186,
            "HTTP/1.0 404 Not Found"
          ],
          [
            1254,
            "REMOTE_ADDR"
          ],
          [
            1255,
            "REMOTE_ADDR"
          ],
          [
            1270,
            "google"
          ],
          [
            1271,
            "google"
          ],
          [
            1301,
            "HTTP/1.0 404 Not Found"
          ],
          [
            1302,
            "HTTP/1.0 404 Not Found"
          ]
        ],
        "sz": 13149,
        "ts": [
          {
            "c": 0.6000000238418579,
            "d": "Generates HTML tags",
            "e": [
              "\u003chtml"
            ],
            "i": "micro-behaviors/data/format/html::html-generator-tags",
            "l": 3
          },
          {
            "a": "T1505.003",
            "c": 1.0,
            "d": "Inequality check in WordPress user list",
            "e": [
              "!="
            ],
            "i": "objectives/command-and-control/backdoor/webshell/hide::wp-user-hiding-not-trait",
            "l": 1,
            "m": "B0030"
          },
          {
            "c": 0.800000011920929,
            "d": "Generates HTML content (DOCTYPE)",
            "e": [
              "\u003c!DOCTYPE html\u003e"
            ],
            "i": "micro-behaviors/data/format/html::html-generator-doctype",
            "l": 2
          },
          {
            "a": "T1027",
            "c": 0.9399999976158142,
            "d": "Regex component marker",
            "e": [
              "android"
            ],
            "i": "objectives/anti-static/obfuscation/payload/config::arch-keyed-hex-blob-dict--rx-15",
            "l": 1,
            "m": "B0032"
          },
          {
            "c": 1.0,
            "d": ".js extension",
            "e": [
              "\"./js/demandeCodeProvisoire.js\""
            ],
            "i": "objectives/command-and-control/dropper/builder::js-ext",
            "l": 1
          },
          {
            "c": 0.75,
            "d": "HTTP protocol version strings",
            "e": [
              "HTTP/1.0"
            ],
            "i": "micro-behaviors/communications/http/request/client::http-versions",
            "l": 1
          },
          {
            "a": "T1505.003",
            "c": 0.4000000059604645,
            "d": "PHP $_POST parameter access",
            "e": [
              "$_POST["
            ],
            "i": "objectives/command-and-control/backdoor/webshell/request::php-post",
            "l": 1,
            "m": "B0030"
          },
          {
            "a": "T1071.001",
            "d": "HTTP/1.x version string",
            "e": [
              "HTTP/1."
            ],
            "i": "micro-behaviors/communications/http/request/client::http-version",
            "l": 2,
            "m": "C0002"
          },
          {
            "c": 0.8999999761581421,
            "d": "File has 30 or more lines",
            "e": [
              "text.total_lines = 343.00"
            ],
            "i": "metadata/file/text/metrics::file-has-30-plus-lines",
            "l": 1
          },
          {
            "c": 0.20000000298023224,
            "d": "command keyword",
            "e": [
              "command"
            ],
            "i": "micro-behaviors/data/text/keywords/lexicon::command-dup",
            "l": 1
          },
          {
            "a": "T1505.003",
            "c": 0.8999999761581421,
            "d": "Single-file admin shell metrics",
            "e": [
              "sms.php"
            ],
            "i": "well-known/malware/webshell/zaco::single-file-webshell-metrics",
            "l": 3,
            "m": "B0030"
          },
          {
            "c": 0.75,
            "d": "Generic $_SERVER superglobal access",
            "e": [
              "$_SERVER"
            ],
            "i": "micro-behaviors/communications/http/request/params::server-dup",
            "l": 3
          },
          {
            "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"
          },
          {
            "c": 0.7599999904632568,
            "d": "Regex component marker",
            "e": [
              "navigate"
            ],
            "i": "micro-behaviors/data/text/llm/action::llm-path-navigation-action--rx-23",
            "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",
            "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": "Regex component marker",
            "e": [
              "navigate"
            ],
            "i": "micro-behaviors/data/text/llm/action::llm-url-navigation-action--rx-15",
            "l": 1
          },
          {
            "c": 0.8999999761581421,
            "d": "Very long line",
            "e": [
              "text.max_line_length = 907.00"
            ],
            "i": "metadata/file/text/metrics::single-long-line",
            "l": 1
          },
          {
            "c": 0.30000001192092896,
            "d": "secret keyword",
            "e": [
              "secret"
            ],
            "i": "micro-behaviors/data/text/keywords/lexicon::secret",
            "l": 1
          },
          {
            "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"
          },
          {
            "c": 0.75,
            "d": "Session variable access ($_SESSION)",
            "e": [
              "$_SESSION"
            ],
            "i": "micro-behaviors/communications/http/request/params::session",
            "l": 3
          },
          {
            "c": 0.8999999761581421,
            "d": "HTTP/1.0 protocol version",
            "e": [
              "HTTP/1.0 404 Not Found"
            ],
            "i": "micro-behaviors/communications/http/protocol::http-1-0-header",
            "l": 2
          },
          {
            "a": "T1059",
            "c": 0.8500000238418579,
            "d": "HTTP POST parameter access ($_POST)",
            "e": [
              "$_POST"
            ],
            "i": "micro-behaviors/communications/http/request/params::post-dup",
            "l": 3
          },
          {
            "c": 0.8199999928474426,
            "d": "LLM secret or credential target",
            "e": [
              "secret"
            ],
            "i": "micro-behaviors/data/text/llm/target::llm-secret-target-general",
            "l": 1
          },
          {
            "c": 0.8500000238418579,
            "d": "Checks User-Agent for crawler detection",
            "e": [
              "$_SERVER['HTTP_USER_AGENT']"
            ],
            "i": "objectives/anti-analysis/browser-detect::check-ua-server-var",
            "l": 3
          },
          {
            "c": 0.699999988079071,
            "d": "AJAX request handler pattern",
            "e": [
              "$_POST['codesms']"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/ui::ajax-handler",
            "l": 4,
            "m": "B0030"
          },
          {
            "c": 0.8399999737739563,
            "d": "Regex component marker",
            "e": [
              "secret"
            ],
            "i": "micro-behaviors/data/text/llm/action::llm-send-action-cond-6--inline-11767",
            "l": 1
          }
        ],
        "sha": "f2f11acb81f8abb4c5f9802cc3ea633c669620031dd07a872bc9a2cc3f51f20e",
        "path": "/data/samples/bad/datasets/awesome-malware/PHP/sms.php",
        "type": "php"
      }
    ],
    "tv": "a9555"
  }
}