{
  "ml": {
    "v": "4",
    "fs": [
      {
        "id": 0,
        "prob": 0.8344548940658569,
        "class": 0
      }
    ],
    "prob": 0.8344549,
    "class": 0,
    "models": [
      {
        "m": "az",
        "prob": 0.8344549,
        "class": 0
      },
      {
        "m": "az/source",
        "prob": 0.14864865,
        "class": 0
      },
      {
        "m": "az/c",
        "prob": 0.11965812,
        "class": 0
      }
    ],
    "version": "v16.16",
    "thresholds": [
      0.9979839,
      1.0
    ],
    "analyzed_at": "2026-05-11T16:31:53Z"
  },
  "path": "main.c",
  "raw": {
    "v": "4",
    "fs": [
      {
        "f": "O(Er)H(Os)",
        "k": {
          "source.imports[0]": "MODULE_LICENSE",
          "source.imports[1]": "chrdev_release",
          "source.imports[2]": "hide_module",
          "source.imports[3]": "hook_release",
          "source.imports[4]": "init_x64_sys_call",
          "source.imports[5]": "kthread_run",
          "source.imports[6]": "module_exit",
          "source.imports[7]": "module_init",
          "source.imports[8]": "msleep",
          "source.imports[9]": "printk",
          "source.strings[0]": "\u003clinux/delay.h\u003e",
          "source.strings[1]": "\u003clinux/init.h\u003e",
          "source.strings[2]": "\u003clinux/kthread.h\u003e",
          "source.strings[3]": "\u003clinux/module.h\u003e",
          "source.strings[4]": "KERN_ALERT \"rookit exit\\n",
          "source.strings[5]": "KERN_ALERT \"rootkit init\\n",
          "source.strings[6]": "fs_helper.h",
          "source.strings[7]": "hook.h",
          "source.strings[8]": "init_callback",
          "source.strings[9]": "rookit exit",
          "source.has_imports": true,
          "source.imports[10]": "shell_init",
          "source.imports[11]": "shell_start",
          "source.imports[12]": "stop_machine",
          "source.imports[13]": "utils_init",
          "source.strings[10]": "rookit exit\\n",
          "source.strings[11]": "rootkit init",
          "source.strings[12]": "rootkit init\\n",
          "source.strings[13]": "syscall_helper.h",
          "source.strings[14]": "utils.h",
          "source.functions[0]": "init_callback(void *data)",
          "source.functions[1]": "rootkit_exit(void)",
          "source.functions[2]": "rootkit_init(void)"
        },
        "x": 37,
        "id": 0,
        "is": [
          "MODULE_LICENSE",
          "msleep",
          "hide_module",
          "utils_init",
          "shell_start",
          "init_x64_sys_call",
          "stop_machine",
          "shell_init",
          "printk",
          "kthread_run",
          "hook_release",
          "chrdev_release",
          "printk",
          "module_init",
          "module_exit"
        ],
        "ms": {
          "file": {
            "size": 771.0
          },
          "text": {
            "digit_ratio": 0.02,
            "space_count": 83.0,
            "total_lines": 41.0,
            "char_entropy": 4.96,
            "unique_chars": 58.0,
            "import_density": 36.59,
            "string_density": 0.54,
            "avg_line_length": 17.8,
            "max_line_length": 54.0,
            "empty_line_ratio": 0.17,
            "last_line_length": 26.0,
            "most_common_char": "i",
            "whitespace_ratio": 0.16,
            "most_common_ratio": 0.08,
            "identifier_density": 0.66,
            "line_length_stddev": 14.57,
            "normalized_import_count": 2.34,
            "normalized_string_count": 3.44,
            "max_inline_whitespace_run": 1.0,
            "normalized_function_count": 0.47,
            "imports_to_functions_ratio": 5.0,
            "strings_to_functions_ratio": 7.33,
            "normalized_unique_identifiers": 4.11,
            "identifiers_to_functions_ratio": 7.33
          },
          "imports": {
            "total": 15.0,
            "unique_modules": 14.0,
            "third_party_count": 15.0,
            "third_party_ratio": 1.0
          },
          "strings": {
            "total": 22.0,
            "avg_length": 12.5,
            "max_length": 26.0,
            "avg_entropy": 3.01,
            "total_bytes": 275.0,
            "entropy_stddev": 0.72
          },
          "comments": {},
          "functions": {
            "total": 3.0,
            "length_stddev": 1.25,
            "avg_name_length": 20.33,
            "no_params_count": 3.0,
            "avg_length_lines": 7.67,
            "max_length_lines": 9.0,
            "min_length_lines": 6.0,
            "high_entropy_names": 1.0,
            "density_per_100_lines": 7.32,
            "code_in_functions_ratio": 0.56
          },
          "identifiers": {
            "total": 27.0,
            "avg_length": 10.77,
            "max_length": 18.0,
            "min_length": 4.0,
            "avg_entropy": 2.87,
            "reuse_ratio": 0.81,
            "unique_count": 22.0,
            "length_stddev": 3.45,
            "has_digit_ratio": 0.05,
            "high_entropy_count": 1.0,
            "high_entropy_ratio": 0.05,
            "all_lowercase_ratio": 0.86,
            "all_uppercase_ratio": 0.09,
            "underscore_prefix_count": 2.0
          }
        },
        "ss": [
          [
            9,
            "\u003clinux/delay.h\u003e"
          ],
          [
            34,
            "\u003clinux/init.h\u003e"
          ],
          [
            58,
            "\u003clinux/kthread.h\u003e"
          ],
          [
            85,
            "\u003clinux/module.h\u003e"
          ],
          [
            111,
            "fs_helper.h"
          ],
          [
            112,
            "fs_helper.h"
          ],
          [
            134,
            "hook.h"
          ],
          [
            135,
            "hook.h"
          ],
          [
            152,
            "syscall_helper.h"
          ],
          [
            153,
            "syscall_helper.h"
          ],
          [
            180,
            "utils.h"
          ],
          [
            181,
            "utils.h"
          ],
          [
            206,
            "GPL"
          ],
          [
            207,
            "GPL"
          ],
          [
            488,
            "KERN_ALERT \"rootkit init\\n"
          ],
          [
            499,
            "rootkit init\\n"
          ],
          [
            500,
            "rootkit init"
          ],
          [
            555,
            "init_callback"
          ],
          [
            556,
            "init_callback"
          ],
          [
            684,
            "KERN_ALERT \"rookit exit\\n"
          ],
          [
            695,
            "rookit exit\\n"
          ],
          [
            696,
            "rookit exit"
          ]
        ],
        "sz": 771,
        "ts": [
          {
            "c": 0.9900000095367432,
            "d": "Linux kernel module header detection",
            "e": [
              "\u003clinux/module.h\u003e"
            ],
            "i": "objectives/evasion/kernel-hide/lkm/headers::kernel-module-header-detect",
            "l": 2
          },
          {
            "c": 0.8999999761581421,
            "d": "hide_module function",
            "e": [
              "hide_module"
            ],
            "i": "objectives/evasion/kernel-hide/module::hide-module",
            "l": 4
          },
          {
            "a": "T1106",
            "c": 0.9900000095367432,
            "d": "Linux kernel module header include (linux/module.h)",
            "e": [
              "linux/module.h"
            ],
            "i": "micro-behaviors/os/syscall/invoke::kernel-module-include-detect",
            "l": 1
          },
          {
            "c": 0.800000011920929,
            "d": "Registers Linux kernel module init",
            "e": [
              "module_init"
            ],
            "i": "micro-behaviors/os/kernel/module::linux-module-init-symbol",
            "l": 3
          },
          {
            "a": "T1027",
            "c": 0.9399999976158142,
            "d": "Regex component marker",
            "e": [
              "linux"
            ],
            "i": "objectives/anti-static/obfuscation/payload/config::arch-keyed-hex-blob-dict--rx-20",
            "l": 1,
            "m": "B0032"
          },
          {
            "c": 0.800000011920929,
            "d": "Registers Linux kernel module exit",
            "e": [
              "module_exit"
            ],
            "i": "micro-behaviors/os/kernel/module::linux-module-exit-symbol",
            "l": 3
          },
          {
            "c": 0.699999988079071,
            "d": "printk kernel logging function",
            "e": [
              "printk"
            ],
            "i": "objectives/evasion/kernel-hide/module::printk-sym",
            "l": 3
          }
        ],
        "sha": "0786f8ac49a92339a74cb70b36829036d07d637a8237a94c7978e20ec8386d67",
        "path": "main.c",
        "type": "c"
      }
    ],
    "tv": "46790"
  }
}