{
  "ml": {
    "v": "5",
    "fs": [
      {
        "id": 0,
        "prob": 0.9991885423660278,
        "class": 2,
        "threshold": 0.9991885423660278
      }
    ],
    "prob": 0.99918854,
    "class": 2,
    "level": 3,
    "models": [
      {
        "m": "az",
        "prob": 0.97391856,
        "class": 0
      },
      {
        "m": "az/scripts",
        "prob": 0.99918854,
        "class": 2
      },
      {
        "m": "az/batch",
        "prob": 0.972973,
        "class": 0
      }
    ],
    "version": "v17.17",
    "threshold": 0.99918854,
    "analyzed_at": "2026-05-31T12:05:39Z"
  },
  "path": "2a91f68ecb550085680a192445ad710d8a73ceb4c1cf884ac81277993098f626.bat",
  "raw": {
    "v": "5",
    "fs": [
      {
        "f": "O₂(AsC)Md",
        "x": 70,
        "ff": {
          "m": {
            "file": {
              "size": 2453.0,
              "entropy": 6.03,
              "size_bytes": 2453.0
            },
            "text": {
              "digit_ratio": 0.1,
              "space_count": 107.0,
              "total_lines": 38.0,
              "char_entropy": 6.03,
              "unique_chars": 110.0,
              "lines_over_200": 1.0,
              "lines_over_500": 1.0,
              "string_density": 0.16,
              "ascii_art_lines": 1.0,
              "avg_line_length": 62.55,
              "high_byte_ratio": 0.22,
              "lines_over_1000": 1.0,
              "max_line_length": 1066.0,
              "non_ascii_ratio": 0.22,
              "empty_line_ratio": 0.13,
              "last_line_length": 9.0,
              "long_token_count": 5.0,
              "whitespace_ratio": 0.07,
              "most_common_ratio": 0.07,
              "identifier_density": 2.55,
              "line_length_stddev": 168.57,
              "normalized_string_count": 0.97,
              "repeated_char_sequences": 4.0,
              "most_common_char_is_null": 0.0,
              "max_inline_whitespace_run": 5.0,
              "most_common_char_codepoint": 226.0,
              "suspicious_identifier_ratio": 0.16,
              "normalized_unique_identifiers": 8.57
            }
          },
          "s": [
            [
              0,
              "u8",
              "@echo off"
            ],
            [
              11,
              "u8",
              "chcp 65001 \u003e nul"
            ],
            [
              17,
              "u8",
              "001 "
            ],
            [
              29,
              "u8",
              "setlocal EnableDelayedExpansion \u003e nul"
            ],
            [
              338,
              "u8",
              "Windows System Integrity Component"
            ],
            [
              390,
              "u8",
              "Microsoft Corporation - Licensed System"
            ],
            [
              715,
              "u8",
              "- System Integrity"
            ],
            [
              736,
              "u8",
              "REM Windows"
            ],
            [
              769,
              "u8",
              "- Windows Component"
            ],
            [
              843,
              "u8",
              "echo. \u003e nul"
            ],
            [
              856,
              "u8",
              "set /a _null=%random%*0 \u003e nul"
            ],
            [
              887,
              "u8",
              "set /p _var=\u003cnul \u003e nul"
            ],
            [
              911,
              "u8",
              "color 07 \u003e nul"
            ],
            [
              927,
              "u8",
              "timeout /t 0 \u003e nul"
            ],
            [
              949,
              "base64",
              "@echo off\nsetlocal EnableDelayedExpansion\n\nREM System Environment\nset \"PS_EXEC=%windir%\\System32\\WindowsPowerShell\\v1.0\\powershe"
            ],
            [
              2017,
              "u8",
              "if exist nul (echo. \u003e nul)"
            ],
            [
              2045,
              "u8",
              "title System Process \u003e nul"
            ],
            [
              2101,
              "u8",
              "echo !win_b! \u003e \"%temp%\\~sys_2.tmp\""
            ],
            [
              2137,
              "u8",
              "certutil -decode \"%temp%\\~sys_2.tmp\" \"%temp%\\~sys_2.bat\" \u003e nul 2\u003e\u00261"
            ],
            [
              2206,
              "u8",
              "call \"%temp%\\~sys_2.bat\""
            ],
            [
              2232,
              "u8",
              "del \"%temp%\\~sys_2.tmp\" \u003e nul 2\u003e\u00261"
            ],
            [
              2268,
              "u8",
              "del \"%temp%\\~sys_2.bat\" \u003e nul 2\u003e\u00261"
            ],
            [
              2373,
              "u8",
              "REM Cleanup temporary artifacts"
            ],
            [
              2406,
              "u8",
              "set win_b= \u003e nul"
            ],
            [
              2424,
              "u8",
              "set reg_c= \u003e nul"
            ],
            [
              2442,
              "u8",
              "exit /b 0"
            ]
          ],
          "v": {
            "file.stem": "2a91f68ecb550085680a192445ad710d8a73ceb4c1cf884ac81277993098f626",
            "file.basename": "2a91f68ecb550085680a192445ad710d8a73ceb4c1cf884ac81277993098f626.bat"
          },
          "id": "batch"
        },
        "id": 0,
        "sz": 2453,
        "ts": [
          {
            "c": 1.0,
            "d": "shell code embedded in string",
            "e": [
              "certutil -decode \"%temp%\\~sys_2.tmp\" \"%temp%\\~sys_2.bat\" \u003e nul 2\u003e\u00261",
              "del \"%temp%\\~sys_2.bat\" \u003e nul 2\u003e\u00261",
              "del \"%temp%\\~sys_2.tmp\" \u003e nul 2\u003e\u00261"
            ],
            "i": "metadata/lang/embedded::shell",
            "l": 2,
            "el": [
              "embedded@0x859:0x859",
              "embedded@0x8dc:0x8dc",
              "embedded@0x8b8:0x8b8"
            ]
          },
          {
            "a": "T1140",
            "c": 0.8999999761581421,
            "d": "certutil base64 decode (LOLBas payload staging)",
            "e": [
              "certutil -decode"
            ],
            "i": "objectives/command-and-control/dropper/execution/batch::certutil-decode",
            "l": 4
          },
          {
            "c": 0.8999999761581421,
            "d": "Very long line",
            "e": [
              "text.max_line_length = 1066.00"
            ],
            "i": "metadata/file/text/metrics::single-long-line",
            "l": 1
          },
          {
            "a": "T1562.001",
            "c": 0.8500000238418579,
            "d": "Regex component marker",
            "e": [
              "eGUi"
            ],
            "i": "objectives/impact/degrade/edr/autostart::av-runkey-name-list--rx-4",
            "l": 1,
            "m": "F0004"
          },
          {
            "c": 0.699999988079071,
            "d": "Windows %TEMP% or %TMP% environment reference",
            "e": [
              "%temp%"
            ],
            "i": "micro-behaviors/fs/path/temp::win-temp-env",
            "l": 2
          },
          {
            "a": "T1027",
            "c": 0.8999999761581421,
            "d": "Exactly one line exceeds 1000 chars",
            "e": [
              "text.lines_over_1000 = 1.00"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::single-long-line-outlier",
            "l": 1,
            "m": "B0032"
          },
          {
            "c": 0.6000000238418579,
            "d": "Echo off",
            "e": [
              "@echo off"
            ],
            "i": "objectives/command-and-control/dropper/execution/batch::echo-off",
            "l": 1
          },
          {
            "d": "Delayed expansion enabled",
            "e": [
              "EnableDelayedExpansion"
            ],
            "i": "objectives/command-and-control/dropper/execution/batch::delayed-expansion",
            "l": 1
          },
          {
            "c": 1.0,
            "d": "Contains %TEMP% environment variable string",
            "e": [
              "%TEMP%"
            ],
            "i": "micro-behaviors/os/env/vars/access::temp-env-var",
            "l": 2
          },
          {
            "a": "T1027,T1112,T1059.001",
            "c": 0.8999999761581421,
            "d": "Batch has long encoded token",
            "e": [
              "text.long_token_count = 5.00"
            ],
            "i": "objectives/command-and-control/dropper/staging/embedded::batch-has-long-token",
            "l": 1
          },
          {
            "a": "T1027",
            "c": 0.800000011920929,
            "d": "Large Base64-like payload in set command",
            "e": [
              "set win_b=QGVjaG8gb2ZmCnNldGxvY2FsIEVuYWJsZURlbGF5ZWRFeHBhbnNpb24KClJFTSBTeXN0ZW0gRW52aXJvbm1lbnQKc2V0ICJQU19FWEVDPSV3aW5kaXIlXF"
            ],
            "i": "objectives/anti-static/obfuscation/string/concat::batch-base64-payload",
            "l": 4,
            "m": "B0032"
          },
          {
            "d": ".bat extension reference",
            "e": [
              ".bat"
            ],
            "i": "micro-behaviors/fs/path/extension::bat-dup",
            "l": 1
          },
          {
            "d": "certutil command",
            "e": [
              "certutil"
            ],
            "i": "objectives/command-and-control/dropper/execution/batch::certutil-cmd",
            "l": 3
          },
          {
            "c": 0.20000000298023224,
            "d": "tmp keyword",
            "e": [
              "tmp"
            ],
            "i": "micro-behaviors/data/text/keywords/lexicon::tmp",
            "l": 1
          },
          {
            "a": "T1497.003",
            "c": 0.699999988079071,
            "d": "Batch timeout delay command",
            "e": [
              "timeout /t 0"
            ],
            "i": "micro-behaviors/time/sleep/interval::batch-timeout-delay",
            "l": 2
          },
          {
            "c": 0.550000011920929,
            "d": "Stdout redirected to NUL",
            "e": [
              "\u003e nul"
            ],
            "i": "micro-behaviors/os/console/io::windows-stdout-to-nul",
            "l": 2
          },
          {
            "c": 0.8999999761581421,
            "d": "File has 30 or more lines",
            "e": [
              "text.total_lines = 38.00"
            ],
            "i": "metadata/file/text/metrics::file-has-30-plus-lines",
            "l": 1
          },
          {
            "c": 0.9399999976158142,
            "d": "Batch echo redirects staged content",
            "e": [
              "echo !win_b! \u003e "
            ],
            "i": "objectives/command-and-control/dropper/execution/batch::grouped-echo-stage-redirect--rx-3",
            "l": 1
          },
          {
            "a": "T1105",
            "c": 0.8999999761581421,
            "d": "Temp encrypted payload path",
            "e": [
              "%temp%\\~sys_2.tmp"
            ],
            "i": "objectives/command-and-control/dropper/execution/batch::temp-encrypted-stage-path",
            "l": 1
          },
          {
            "c": 1.0,
            "d": "echo off batch command",
            "e": [
              "@echo off"
            ],
            "i": "objectives/command-and-control/dropper/builder::echo-off-batch",
            "l": 1
          },
          {
            "a": "T1105",
            "c": 0.7799999713897705,
            "d": "Loader key argument hint",
            "e": [
              " Integrity\r"
            ],
            "i": "objectives/command-and-control/dropper/execution/batch::rc4-key-argument-hint",
            "l": 1
          },
          {
            "a": "T1027",
            "c": 0.699999988079071,
            "d": "Very low whitespace ratio (minified/compressed)",
            "e": [
              "text.whitespace_ratio = 0.07"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::low-whitespace",
            "l": 2,
            "m": "B0032"
          },
          {
            "a": "T1027",
            "c": 0.800000011920929,
            "d": "High overall text entropy (encoded",
            "e": [
              "text.char_entropy = 6.03"
            ],
            "i": "objectives/anti-static/obfuscation/code-metrics/structure::high-text-entropy",
            "l": 2,
            "m": "B0032"
          },
          {
            "c": 0.8999999761581421,
            "d": "Encoded payload detected: base64",
            "e": [
              "@echo off setlocal EnableDelayedExpansio \u003cbase64\u003e"
            ],
            "i": "metadata/encoded-payload/base64",
            "l": 3,
            "el": [
              "offset:949"
            ]
          }
        ],
        "sha": "2a91f68ecb550085680a192445ad710d8a73ceb4c1cf884ac81277993098f626",
        "path": "2a91f68ecb550085680a192445ad710d8a73ceb4c1cf884ac81277993098f626.bat",
        "type": "batch"
      }
    ],
    "tv": "52045"
  }
}