{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.9964780211448669,
        "class": 2
      }
    ],
    "prob": 0.996478,
    "class": 2,
    "models": [
      {
        "m": "az",
        "prob": 0.3187088,
        "class": 0
      },
      {
        "m": "az/scripts",
        "prob": 0.9396562,
        "class": 0
      },
      {
        "m": "az/php",
        "prob": 0.996478,
        "class": 2
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9961138,
      0.99909174
    ],
    "analyzed_at": "2026-05-09T20:25:07Z"
  },
  "path": "mail.php",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O(C₂)H₃(Cm₂OsPo)Md(Pt)",
        "k": {
          "source.imports[0]": "empty",
          "source.imports[1]": "error_reporting",
          "source.imports[2]": "mail",
          "source.imports[3]": "rand",
          "source.strings[0]": "\u003cb\u003esend an report to [",
          "source.strings[1]": "Result Report Test - ",
          "source.strings[2]": "WORKING !",
          "source.strings[3]": "] - $xx\u003c/b\u003e",
          "source.strings[4]": "te9alnese@gmail.com",
          "source.has_imports": true
        },
        "x": 32,
        "id": 0,
        "is": [
          "error_reporting",
          "empty",
          "rand",
          "mail"
        ],
        "ms": {
          "file": {
            "size": 432.0
          },
          "text": {
            "digit_ratio": 0.01,
            "space_count": 31.0,
            "total_lines": 18.0,
            "char_entropy": 5.31,
            "unique_chars": 60.0,
            "import_density": 22.22,
            "string_density": 0.94,
            "avg_line_length": 23.06,
            "max_line_length": 93.0,
            "empty_line_ratio": 0.06,
            "last_line_length": 2.0,
            "most_common_char": "e",
            "whitespace_ratio": 0.11,
            "most_common_ratio": 0.06,
            "identifier_density": 0.61,
            "line_length_stddev": 25.43,
            "normalized_import_count": 0.94,
            "normalized_string_count": 4.01,
            "max_inline_whitespace_run": 2.0,
            "trailing_whitespace_lines": 1.0,
            "normalized_unique_identifiers": 1.44
          },
          "imports": {
            "total": 4.0,
            "unique_modules": 4.0,
            "third_party_count": 4.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 17.0,
            "avg_length": 11.24,
            "max_length": 22.0,
            "avg_entropy": 2.84,
            "email_count": 2.0,
            "total_bytes": 191.0,
            "entropy_stddev": 0.67
          },
          "comments": {},
          "functions": {},
          "identifiers": {
            "total": 11.0,
            "avg_length": 5.83,
            "max_length": 15.0,
            "min_length": 2.0,
            "avg_entropy": 1.92,
            "reuse_ratio": 0.55,
            "unique_count": 6.0,
            "length_stddev": 4.22,
            "all_lowercase_ratio": 0.83,
            "all_uppercase_ratio": 0.17,
            "underscore_prefix_count": 1.0
          }
        },
        "ss": [
          [
            160,
            "te9alnese@gmail.com"
          ],
          [
            161,
            "te9alnese@gmail.com"
          ],
          [
            276,
            "email"
          ],
          [
            277,
            "email"
          ],
          [
            314,
            "email"
          ],
          [
            315,
            "email"
          ],
          [
            323,
            "Result Report Test - "
          ],
          [
            324,
            "Result Report Test - "
          ],
          [
            351,
            "WORKING !"
          ],
          [
            352,
            "WORKING !"
          ],
          [
            371,
            "\u003cb\u003esend an report to ["
          ],
          [
            372,
            "\u003cb\u003esend an report to ["
          ],
          [
            403,
            "email"
          ],
          [
            404,
            "email"
          ],
          [
            412,
            "] - $xx\u003c/b\u003e"
          ],
          [
            413,
            "] - "
          ],
          [
            420,
            "\u003c/b\u003e"
          ]
        ],
        "sz": 432,
        "ts": [
          {
            "d": "Hardcoded Gmail address",
            "e": [
              "te9alnese@gmail.com"
            ],
            "i": "micro-behaviors/communications/email/send/mail-func::hardcoded-gmail",
            "l": 3
          },
          {
            "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.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"
          },
          {
            "c": 0.949999988079071,
            "d": "Disables error reporting (error_reporting(0))",
            "e": [
              "error_reporting(0)"
            ],
            "i": "micro-behaviors/os/stdio::error-reporting-off",
            "l": 3
          },
          {
            "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.4000000059604645,
            "d": "PHP $_POST[...] superglobal access",
            "e": [
              "$_POST["
            ],
            "i": "objectives/command-and-control/backdoor/webshell/request::php-post",
            "l": 1,
            "m": "B0030"
          },
          {
            "c": 1.0,
            "d": "PHP mail() function call",
            "e": [
              "mail"
            ],
            "i": "micro-behaviors/process/create/exec::php-mail",
            "l": 3
          },
          {
            "a": "T1071",
            "c": 0.800000011920929,
            "d": "Random number generation function call",
            "e": [
              "rand()"
            ],
            "i": "micro-behaviors/communications/ip/spoof::bitwise-ip-rand-source",
            "l": 2,
            "m": "C0001"
          },
          {
            "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.699999988079071,
            "d": "AJAX request handler pattern",
            "e": [
              "$_POST['email']",
              "$_POST['te9alnese@gmail.com']"
            ],
            "i": "objectives/command-and-control/backdoor/webshell/ui::ajax-handler",
            "l": 4,
            "m": "B0030"
          }
        ],
        "sha": "95b3851b1e155e72b88c8023ca38ba0ef7335b2d9c1c50a911a8dfd3547e77bb",
        "path": "/data/samples/bad/datasets/awesome-malware/PHP/mail.php",
        "type": "php"
      }
    ],
    "tv": "87c42"
  }
}