{
 "summary": {
  "date": "2026-12-04",
  "tool": "wazuh",
  "tool_version": "4.14.11-1",
  "agent_version": "4.14.11-1",
  "attack_version": "20.1",
  "tests_run": 44,
  "evaluated": 36,
  "counts": {
   "hint": 32,
   "detected": 4,
   "not_executed": 8
  },
  "coverage_pct": 11.1,
  "prevented_pct": 0.0,
  "median_seconds_to_reaction": 0.1,
  "by_tactic": {
   "collection": {
    "hint": 1
   },
   "command-and-control": {
    "hint": 1
   },
   "credential-access": {
    "hint": 5
   },
   "defense-impairment": {
    "hint": 3
   },
   "discovery": {
    "hint": 6
   },
   "execution": {
    "detected": 1,
    "hint": 3
   },
   "exfiltration": {
    "hint": 2
   },
   "impact": {
    "hint": 2
   },
   "initial-access": {
    "detected": 1
   },
   "persistence": {
    "detected": 2,
    "hint": 4
   },
   "privilege-escalation": {
    "detected": 3,
    "hint": 6
   },
   "stealth": {
    "detected": 2,
    "hint": 6
   }
  },
  "quiet": {
   "minutes": 60,
   "all": 334,
   "alerts": 4,
   "by_rule": {
    "wazuh:80792": 328,
    "wazuh:533": 4,
    "wazuh:591": 1,
    "wazuh:80730": 1
   }
  },
  "clock_jumps": [],
  "tool_label": "Wazuh 4.14.11",
  "test_set": "pruef (3rd test per technique, not used during development)"
 },
 "results": [
  {
   "technique": "T1003.007",
   "technique_name": "Proc Filesystem",
   "tactics": [
    "credential-access"
   ],
   "test": "Capture Passwords with MimiPenguin",
   "test_number": 4,
   "test_guid": "a27418de-bdce-4ebd-b655-38f04842bf0c",
   "description": "MimiPenguin is a tool inspired by MimiKatz that targets Linux systems affected by CVE-2018-20781 (Ubuntu-based distros and certain versions of GNOME Keyring). Upon successful execution on an affected system, MimiPenguin will retrieve passwords from memory and output them to a specified file. See https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-20781. See https://www.tecmint.com/mimipenguin-hack-login-passwords-of-linux-users/#:~:text=Mimipenguin%20is%20a%20free%20and,tested%20on%20various%20Linux%20distributions.",
   "elevation": true,
   "result": "hint",
   "seconds_to_first_reaction": 0.8,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/systemctl.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/bash.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/sbin/sshd.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/env.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/env.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/env.",
     "trial": false,
     "after_s": 0.8
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1003.008",
   "technique_name": "/etc/passwd and /etc/shadow",
   "tactics": [
    "credential-access"
   ],
   "test": "Access /etc/passwd (Local)",
   "test_number": 3,
   "test_guid": "60e860b6-8ae6-49db-ad07-5e73edd88f5d",
   "description": "/etc/passwd file is accessed in FreeBSD and Linux environments",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 1.9,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/cat.",
     "trial": false,
     "after_s": 1.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/cat.",
     "trial": false,
     "after_s": 1.9
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1014",
   "technique_name": "Rootkit",
   "tactics": [
    "stealth"
   ],
   "test": "dynamic-linker based rootkit (libprocesshider)",
   "test_number": 3,
   "test_guid": "1338bf0c-fd0c-48c0-9e65-329f18e2c0d3",
   "description": "Uses libprocesshider to simulate rootkit behavior by hiding a specific process name via ld.so.preload (see also T1574.006).",
   "elevation": true,
   "result": "detected",
   "seconds_to_first_reaction": 0.1,
   "reactions": [
    {
     "rule": "wazuh:554",
     "severity": "low",
     "title": "File added to the system.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/tee.",
     "trial": false,
     "after_s": 1.4
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1018",
   "technique_name": "Remote System Discovery",
   "tactics": [
    "discovery"
   ],
   "test": "Remote System Discovery - ip route",
   "test_number": 13,
   "test_guid": "1a4ebe70-31d0-417b-ade2-ef4cb3e7d0e1",
   "description": "Use the ip route command to display the kernels routing tables.",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.9,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sed.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.9
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1027.004",
   "technique_name": "Compile After Delivery",
   "tactics": [
    "stealth"
   ],
   "test": "Go compile",
   "test_number": 5,
   "test_guid": "78bd3fa7-773c-449e-a978-dc1f1500bc52",
   "description": "Compile a go file with golang on FreeBSD, Linux or Macos.",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.5,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/lib/go-1.22/bin/go.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/lib/go-1.22/pkg/tool/linux_amd64/compile.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/lib/go-1.22/pkg/tool/linux_amd64/compile.",
     "trial": false,
     "after_s": 0.5
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1040",
   "technique_name": "Network Sniffing",
   "tactics": [
    "credential-access",
    "discovery"
   ],
   "test": "Packet Capture Linux socket AF_INET,SOCK_RAW,TCP with sudo",
   "test_number": 13,
   "test_guid": "7a0895f0-84c1-4adf-8491-a21510b1d4c1",
   "description": "Captures packets with domain=AF_INET,type=SOCK_RAW,protocol=TCP for a few seconds.",
   "elevation": true,
   "result": "hint",
   "seconds_to_first_reaction": 0.9,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/bash.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sudo.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /tmp/t1040_linux_pcapdemo.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:5402",
     "severity": "info",
     "title": "Successful sudo to ROOT executed.",
     "trial": false,
     "after_s": 0.9
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1048",
   "technique_name": "Exfiltration Over Alternative Protocol",
   "tactics": [
    "exfiltration"
   ],
   "test": "Exfiltrate Data using DNS Queries via dig",
   "test_number": 4,
   "test_guid": "a27916da-05f2-4316-a3ee-feec67a437be",
   "description": "This test demonstrates how an attacker can exfiltrate sensitive information by encoding it as a subdomain (using base64 encoding) and making DNS queries via the dig command to a controlled DNS server.",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 1.8,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/base64.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/bash.",
     "trial": false,
     "after_s": 1.8
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1048.002",
   "technique_name": "Exfiltration Over Asymmetric Encrypted Non-C2 Protocol",
   "tactics": [
    "exfiltration"
   ],
   "test": "Exfiltrate data as text over HTTPS using wget",
   "test_number": 4,
   "test_guid": "8bec51da-7a6d-4346-b941-51eca448c4b0",
   "description": "Exfiltrate data over HTTPS using wget --post-data method",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 1.3,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/wget.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 5.3
    }
   ],
   "actions": [],
   "test_exit_codes": [
    137
   ]
  },
  {
   "technique": "T1049",
   "technique_name": "System Network Connections Discovery",
   "tactics": [
    "discovery"
   ],
   "test": "System Network Connections Discovery via sockstat (Linux, FreeBSD)",
   "test_number": 6,
   "test_guid": "997bb0a6-421e-40c7-b5d2-0f493904ef9b",
   "description": "Enumerate IPv4/IPv6 network endpoints on FreeBSD using sockstat.",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.9,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/cut.",
     "trial": false,
     "after_s": 0.9
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1053.003",
   "technique_name": "Cron",
   "tactics": [
    "execution",
    "persistence",
    "privilege-escalation"
   ],
   "test": "Cron - Add script to /etc/cron.d folder",
   "test_number": 3,
   "test_guid": "078e69eb-d9fb-450e-b9d0-2e118217c846",
   "description": "This test adds a script to /etc/cron.d folder configured to execute on a schedule.",
   "elevation": true,
   "result": "detected",
   "seconds_to_first_reaction": 0.1,
   "reactions": [
    {
     "rule": "wazuh:554",
     "severity": "low",
     "title": "File added to the system.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sed.",
     "trial": false,
     "after_s": 0.5
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1053.006",
   "technique_name": "Systemd Timers",
   "tactics": [
    "execution",
    "persistence",
    "privilege-escalation"
   ],
   "test": "Create a system level transient systemd service and timer",
   "test_number": 3,
   "test_guid": "d3eda496-1fc0-49e9-aff5-3bec5da9fa22",
   "description": "Schedule a system level transient task (will not survive a reboot) without having to create the .timer or .service files by using the systemd-run command.",
   "elevation": true,
   "result": "hint",
   "seconds_to_first_reaction": 0.1,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/systemd-run.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/cut.",
     "trial": false,
     "after_s": 0.2
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1055.009",
   "technique_name": "Proc Memory",
   "tactics": [
    "stealth",
    "privilege-escalation"
   ],
   "test": "GOT Injection",
   "test_number": 3,
   "test_guid": "4383bbd3-aa6c-49fd-a1a9-cf112c95982c",
   "description": "This technique identifies a code cave by scanning /proc/<pid>/maps and writes the shellcode into it through /proc/<pid>/mem. To redirect the execution flow, it parses the target's ELF structure through /proc/<pid>/exe to locate the Global Offset Table (.got.plt) and calculates the absolute addresses for PIE-enabled binaries. By overwriting these GOT entries with the shellcode's address, the injector ensures that the next time the victim calls a dynamic library function, it will inadvertently execute the injected payload instead. get_got: Locates the Global Offset Table (.got.plt or .got), whic",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 1.8,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /root/AtomicRedTeam/atomics/T1055.009/bin/got_injection.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sed.",
     "trial": false,
     "after_s": 1.8
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1056.001",
   "technique_name": "Keylogging",
   "tactics": [
    "collection",
    "credential-access"
   ],
   "test": "Logging sh history to syslog/messages",
   "test_number": 4,
   "test_guid": "b04284dc-3bd9-4840-8d21-61b8d31c99f2",
   "description": "There are several variables that can be set to control the appearance of the bash command prompt: PS1, PS2, PS3, PS4 and PROMPT_COMMAND. The contents of these variables are executed as if they had been typed on the command line. The PROMPT_COMMAND variable \"if set\" will be executed before the PS1 variable and can be configured to write the latest \"bash history\" entries to the syslog. To gain persistence the command could be added to the users .shrc or .profile",
   "elevation": true,
   "result": "not_executed",
   "seconds_to_first_reaction": 1.1,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 1.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/tail.",
     "trial": false,
     "after_s": 1.1
    }
   ],
   "actions": [],
   "test_exit_codes": [
    1
   ]
  },
  {
   "technique": "T1059.004",
   "technique_name": "Unix Shell",
   "tactics": [
    "execution"
   ],
   "test": "Harvest SUID executable files",
   "test_number": 3,
   "test_guid": "46274fc6-08a7-4956-861b-24cbbaa0503c",
   "description": "AutoSUID application is the Open-Source project, the main idea of which is to automate harvesting the SUID executable files and to find a way for further escalating the privileges.",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.7,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/chmod.",
     "trial": false,
     "after_s": 0.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/bash.",
     "trial": false,
     "after_s": 0.7
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1059.006",
   "technique_name": "Python",
   "tactics": [
    "execution"
   ],
   "test": "Execute Python via Python executables",
   "test_number": 3,
   "test_guid": "0b44d79b-570a-4b27-a31f-3bf2156e5eaa",
   "description": "Create Python file (.py) then compile to binary (.pyc) that downloads an external malicious script then executes locally using the supplied executor and arguments",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.5,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.5
    }
   ],
   "actions": [],
   "test_exit_codes": []
  },
  {
   "technique": "T1070.003",
   "technique_name": "Clear Command History",
   "tactics": [
    "stealth"
   ],
   "test": "Clear Bash history (cat dev/null)",
   "test_number": 3,
   "test_guid": "b1251c35-dcd3-4ea1-86da-36d27b54f31f",
   "description": "Clears bash history via cat /dev/null",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.1,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/cat.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 2.1
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1070.004",
   "technique_name": "File Deletion",
   "tactics": [
    "stealth"
   ],
   "test": "Overwrite and delete a file with shred",
   "test_number": 3,
   "test_guid": "039b4b10-2900-404b-b67f-4b6d49aa6499",
   "description": "Use the `shred` command to overwrite the temporary file and then delete it",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 1.7,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/shred.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 1.7
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1070.006",
   "technique_name": "Timestomp",
   "tactics": [
    "stealth"
   ],
   "test": "Set a file's creation timestamp",
   "test_number": 3,
   "test_guid": "8164a4a6-f99c-4661-ac4f-80f5e4e78d2b",
   "description": "Stomps on the create timestamp of a file Setting the creation timestamp requires changing the system clock and reverting. Sudo or root privileges are required to change date. Use with caution.",
   "elevation": true,
   "result": "hint",
   "seconds_to_first_reaction": 12.3,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/sbin/sshd.",
     "trial": false,
     "after_s": 12.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/env.",
     "trial": false,
     "after_s": 12.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/env.",
     "trial": false,
     "after_s": 12.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/env.",
     "trial": false,
     "after_s": 12.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/run-parts.",
     "trial": false,
     "after_s": 12.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 12.3
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1078.003",
   "technique_name": "Local Accounts",
   "tactics": [
    "stealth",
    "persistence",
    "privilege-escalation",
    "initial-access"
   ],
   "test": "Login as nobody (Linux)",
   "test_number": 11,
   "test_guid": "3d2cd093-ee05-41bd-a802-59ee5c301b85",
   "description": "An adversary may try to re-purpose a system account to appear legitimate. In this test change the login shell of the nobody account, change its password to nobody, su to nobody, exit, then reset nobody's shell to /usr/sbin/nologin. Here is how the nobody entry should look like in `/etc/passwd` before the test is executed and right after the cleanup: `# -> nobody:x:65534:65534:nobody:/nonexistent:/usr/sbin/nologin`",
   "elevation": true,
   "result": "detected",
   "seconds_to_first_reaction": 0.1,
   "reactions": [
    {
     "rule": "wazuh:550",
     "severity": "medium",
     "title": "Integrity checksum changed.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:550",
     "severity": "medium",
     "title": "Integrity checksum changed.",
     "trial": false,
     "after_s": 0.2
    },
    {
     "rule": "wazuh:550",
     "severity": "medium",
     "title": "Integrity checksum changed.",
     "trial": false,
     "after_s": 0.2
    },
    {
     "rule": "wazuh:550",
     "severity": "medium",
     "title": "Integrity checksum changed.",
     "trial": false,
     "after_s": 0.2
    },
    {
     "rule": "wazuh:550",
     "severity": "medium",
     "title": "Integrity checksum changed.",
     "trial": false,
     "after_s": 0.2
    },
    {
     "rule": "wazuh:550",
     "severity": "medium",
     "title": "Integrity checksum changed.",
     "trial": false,
     "after_s": 0.2
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1082",
   "technique_name": "System Information Discovery",
   "tactics": [
    "discovery"
   ],
   "test": "Linux VM Check via Kernel Modules",
   "test_number": 5,
   "test_guid": "8057d484-0fae-49a4-8302-4812c4f1e64e",
   "description": "Identify virtual machine guest kernel modules. This technique is used by the Pupy RAT and other malware.",
   "elevation": true,
   "result": "not_executed",
   "seconds_to_first_reaction": 0.4,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/bash.",
     "trial": false,
     "after_s": 0.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/grep.",
     "trial": false,
     "after_s": 0.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sudo.",
     "trial": false,
     "after_s": 0.4
    }
   ],
   "actions": [],
   "test_exit_codes": [
    1
   ]
  },
  {
   "technique": "T1083",
   "technique_name": "File and Directory Discovery",
   "tactics": [
    "discovery"
   ],
   "test": "Identifying Network Shares - Linux",
   "test_number": 8,
   "test_guid": "361fe49d-0c19-46ec-a483-ccb92d38e88e",
   "description": "If the system uses network file systems (e.g., NFS, CIFS), findmnt can help locate paths to remote shares. Attackers may then attempt to access these shares for lateral movement or data exfiltration.",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 1.9,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/findmnt.",
     "trial": false,
     "after_s": 1.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 1.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sed.",
     "trial": false,
     "after_s": 1.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/pgrep.",
     "trial": false,
     "after_s": 1.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.9
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1087.001",
   "technique_name": "Local Account",
   "tactics": [
    "discovery"
   ],
   "test": "View accounts with UID 0",
   "test_number": 3,
   "test_guid": "c955a599-3653-4fe5-b631-f11c00eb0397",
   "description": "View accounts with UID 0",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 1.5,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/grep.",
     "trial": false,
     "after_s": 1.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/grep.",
     "trial": false,
     "after_s": 1.5
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1105",
   "technique_name": "Ingress Tool Transfer",
   "tactics": [
    "command-and-control"
   ],
   "test": "scp remote file copy (push)",
   "test_number": 3,
   "test_guid": "83a49600-222b-4866-80a0-37736ad29344",
   "description": "Utilize scp to perform a remote file copy (push)",
   "elevation": false,
   "result": "not_executed",
   "seconds_to_first_reaction": 1.1,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.1
    },
    {
     "rule": "wazuh:92603",
     "severity": "low",
     "title": "A file was copied to this system over SSH using SCP.",
     "trial": false,
     "after_s": 1.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 1.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/pgrep.",
     "trial": false,
     "after_s": 1.1
    }
   ],
   "actions": [],
   "test_exit_codes": [
    255
   ]
  },
  {
   "technique": "T1140",
   "technique_name": "Deobfuscate/Decode Files or Information",
   "tactics": [
    "stealth"
   ],
   "test": "Base64 decoding with shell utilities",
   "test_number": 5,
   "test_guid": "b4f6a567-a27a-41e5-b8ef-ac4b4008bb7e",
   "description": "Use common shell utilities to decode a base64-encoded text string and echo it to the console",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.6,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/lib/systemd/systemd-executor.",
     "trial": false,
     "after_s": 0.6
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sort.",
     "trial": false,
     "after_s": 0.6
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.6
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.6
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/expr.",
     "trial": false,
     "after_s": 0.6
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sort.",
     "trial": false,
     "after_s": 0.6
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1222.002",
   "technique_name": "Linux and Mac Permissions",
   "tactics": [
    "defense-impairment"
   ],
   "test": "chmod - Change file or folder mode (numeric mode) recursively",
   "test_number": 3,
   "test_guid": "ea79f937-4a4d-4348-ace6-9916aec453a4",
   "description": "Changes a file or folder's permissions recursively using chmod and a specified numeric mode.",
   "elevation": false,
   "result": "not_executed",
   "seconds_to_first_reaction": 0.2,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/sbin/sshd.",
     "trial": false,
     "after_s": 0.2
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.2
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/env.",
     "trial": false,
     "after_s": 0.2
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/env.",
     "trial": false,
     "after_s": 0.2
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/env.",
     "trial": false,
     "after_s": 0.2
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/env.",
     "trial": false,
     "after_s": 0.2
    }
   ],
   "actions": [],
   "test_exit_codes": [
    1
   ]
  },
  {
   "technique": "T1486",
   "technique_name": "Data Encrypted for Impact",
   "tactics": [
    "impact"
   ],
   "test": "Encrypt files using ccrypt (FreeBSD/Linux)",
   "test_number": 3,
   "test_guid": "08cbf59f-85da-4369-a5f4-049cffd7709f",
   "description": "Attempts to encrypt data on target systems as root to simulate an interruption authentication to target system. If root permissions are not available then attempts to encrypt data within user's home directory.",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 1.7,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/cp.",
     "trial": false,
     "after_s": 1.7
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1489",
   "technique_name": "Service Stop",
   "tactics": [
    "impact"
   ],
   "test": "Linux - Stop service by killing process using kill",
   "test_number": 6,
   "test_guid": "332f4c76-7e96-41a6-8cc2-7361c49db8be",
   "description": "Stops a specified service by sending a SIGTERM signal to the linked process using the kill command. Upon execution, if the service's main process was running, it will be terminated. If the service was not running, no process will be found to kill and it can be restarted by running the cleanup command. You can list all available services with following command: \"systemctl list-units --type=service\"",
   "elevation": true,
   "result": "hint",
   "seconds_to_first_reaction": 1.4,
   "reactions": [
    {
     "rule": "wazuh:5402",
     "severity": "info",
     "title": "Successful sudo to ROOT executed.",
     "trial": false,
     "after_s": 1.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/pgrep.",
     "trial": false,
     "after_s": 1.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sudo.",
     "trial": false,
     "after_s": 1.4
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1543.002",
   "technique_name": "Systemd Service",
   "tactics": [
    "persistence",
    "privilege-escalation"
   ],
   "test": "TeamPCP Aqua Trivy Persistence",
   "test_number": 4,
   "test_guid": "a29738b0-0e14-488c-984f-6a851fcdbcfe",
   "description": "Simulates the persistence mechanism used by TeamPCP malware distributed via a hijacked Aqua Trivy binary. Installs a user-level systemd service (sysmon) that drops a Python script to ~/.config/systemd/user/sysmon.py. The script writes a second-stage payload to #{pglog_path} and executes it in a new session. In the wild, the dropper polls an ICP-hosted C2 canister for a download URL; this test creates the payload unconditionally to avoid external network contact. Filepaths and names match observed IOCs. Reference: https://www.aquasec.com/blog/trivy-supply-chain-attack-what-you-need-to-know/",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.9,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/bash.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/cp.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/lib/systemd/user-environment-generators/30-systemd-environment-d-generator.",
     "trial": false,
     "after_s": 0.9
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1546.004",
   "technique_name": "Unix Shell Configuration Modification",
   "tactics": [
    "privilege-escalation",
    "persistence"
   ],
   "test": "Add command to .shrc",
   "test_number": 3,
   "test_guid": "41502021-591a-4649-8b6e-83c9192aff53",
   "description": "Adds a command to the .shrc file of the current user",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.0,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.0
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.0
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.0
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 2.0
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/cut.",
     "trial": false,
     "after_s": 2.0
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/pgrep.",
     "trial": false,
     "after_s": 2.0
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1546.005",
   "technique_name": "Trap",
   "tactics": [
    "privilege-escalation",
    "persistence"
   ],
   "test": "Trap DEBUG - Log All Shell Commands",
   "test_number": 5,
   "test_guid": "14bd90b1-c3f3-4115-9861-cf0519a59654",
   "description": "Launch bash shell with command arg to create TRAP on DEBUG. The trap logs executed commands to /tmp/art-fish.txt, simulating persistent command interception.",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 1.7,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/bash.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.7
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1548.001",
   "technique_name": "Setuid and Setgid",
   "tactics": [
    "privilege-escalation"
   ],
   "test": "Set a SetGID flag on file",
   "test_number": 5,
   "test_guid": "db55f666-7cba-46c6-9fe6-205a05c3242c",
   "description": "This test sets the SetGID flag on a file in Linux and macOS.",
   "elevation": true,
   "result": "hint",
   "seconds_to_first_reaction": 1.3,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:5402",
     "severity": "info",
     "title": "Successful sudo to ROOT executed.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:5402",
     "severity": "info",
     "title": "Successful sudo to ROOT executed.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sudo.",
     "trial": false,
     "after_s": 1.3
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1548.003",
   "technique_name": "Sudo and Sudo Caching",
   "tactics": [
    "privilege-escalation"
   ],
   "test": "Disable tty_tickets for sudo caching",
   "test_number": 5,
   "test_guid": "91a60b03-fb75-4d24-a42e-2eb8956e8de1",
   "description": "Sets sudo caching tty_tickets value to disabled. This is dangerous to modify without using 'visudo', do not do this on a production system.",
   "elevation": true,
   "result": "detected",
   "seconds_to_first_reaction": 0.1,
   "reactions": [
    {
     "rule": "wazuh:550",
     "severity": "medium",
     "title": "Integrity checksum changed.",
     "trial": false,
     "after_s": 0.1
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.9
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1552.001",
   "technique_name": "Credentials In Files",
   "tactics": [
    "credential-access"
   ],
   "test": "Find and Access Github Credentials",
   "test_number": 6,
   "test_guid": "da4f751a-020b-40d7-b9ff-d433b7799803",
   "description": "Find .netrc files, which store GitHub credentials in clear text, and dump their contents if found.",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.5,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/find.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.5
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sed.",
     "trial": false,
     "after_s": 2.5
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1552.003",
   "technique_name": "Shell History",
   "tactics": [
    "credential-access"
   ],
   "test": "Search Through Zsh History",
   "test_number": 3,
   "test_guid": "8f2765a8-e795-438b-a102-5e25a7adcce1",
   "description": "Search through zsh history for specific commands we want to capture",
   "elevation": false,
   "result": "not_executed",
   "seconds_to_first_reaction": 0.7,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/cat.",
     "trial": false,
     "after_s": 0.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.7
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/grep.",
     "trial": false,
     "after_s": 0.7
    }
   ],
   "actions": [],
   "test_exit_codes": [
    1
   ]
  },
  {
   "technique": "T1552.004",
   "technique_name": "Private Keys",
   "tactics": [
    "credential-access"
   ],
   "test": "Copy Private SSH Keys with rsync",
   "test_number": 5,
   "test_guid": "864bb0b2-6bb5-489a-b43b-a77b3a16d68a",
   "description": "Copy private SSH keys on a Linux or macOS system to a staging folder using the `rsync` command.",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.3,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/mkdir.",
     "trial": false,
     "after_s": 0.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/find.",
     "trial": false,
     "after_s": 0.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.3
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1560.001",
   "technique_name": "Archive via Utility",
   "tactics": [
    "collection"
   ],
   "test": "Data Compressed - nix - tar Folder or File",
   "test_number": 7,
   "test_guid": "7af2b51e-ad1c-498c-aca8-d3290c19535a",
   "description": "An adversary may compress data (e.g., sensitive documents) that is collected prior to exfiltration. This test uses standard gzip compression.",
   "elevation": false,
   "result": "not_executed",
   "seconds_to_first_reaction": 0.8,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/tar.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.8
    }
   ],
   "actions": [],
   "test_exit_codes": [
    1
   ]
  },
  {
   "technique": "T1560.002",
   "technique_name": "Archive via Library",
   "tactics": [
    "collection"
   ],
   "test": "Compressing data using zipfile in Python (FreeBSD/Linux)",
   "test_number": 3,
   "test_guid": "001a042b-859f-44d9-bf81-fd1c4e2200b0",
   "description": "Uses zipfile from Python to compress files",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.8,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.8
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1569.003",
   "technique_name": "Systemctl",
   "tactics": [
    "execution"
   ],
   "test": "Create systemd Service Unit from /dev/shm (Unusual Location)",
   "test_number": 3,
   "test_guid": "dce49381-a26b-4d95-bdfa-c607ffe8bee5",
   "description": "Creates a systemd service unit file in /dev/shm and loads it using systemctl. /dev/shm is a memory-backed filesystem that is world-writable on most Linux systems and does not persist across reboots, making it particularly attractive to adversaries seeking to execute transient payloads while evading file-based forensic detection. This technique has been observed in post-exploitation scenarios where attackers deliberately avoid writing to disk-backed locations to limit forensic artefacts.",
   "elevation": true,
   "result": "not_executed",
   "seconds_to_first_reaction": 0.4,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/systemctl.",
     "trial": false,
     "after_s": 0.4
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/lib/systemd/system-environment-generators/snapd-env-generator.",
     "trial": false,
     "after_s": 0.4
    }
   ],
   "actions": [],
   "test_exit_codes": [
    3
   ]
  },
  {
   "technique": "T1572",
   "technique_name": "Protocol Tunneling",
   "tactics": [
    "command-and-control"
   ],
   "test": "Cloudflare tunnels (Linux/macOS)",
   "test_number": 7,
   "test_guid": "228c336a-2f79-4043-8aef-bfa453a611d5",
   "description": "Cloudflared can be used for exposing local development environment/services/files over the internet. This atomic will generate a dev tunnel binding it to the local service running on the provided port. Reference: - [Cloudflared Docs](https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/) - [LOT Tunnels](https://lottunnels.github.io/lottunnels/Binaries/cloudflared/)",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 1.8,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/nohup.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /root/AtomicRedTeam/ExternalPayloads/cloudflared.",
     "trial": false,
     "after_s": 1.8
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1614.001",
   "technique_name": "System Language Discovery",
   "tactics": [
    "discovery"
   ],
   "test": "Discover System Language by locale file",
   "test_number": 5,
   "test_guid": "5d7057c9-2c8a-4026-91dd-13b5584daa69",
   "description": "Identify System language with the by reading the locale configuration file. The locale configuration file contains the `LANG` environment variable which will contain the 5 character locale that can be looked up to correlate the language and territory.",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 1.3,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/cat.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/cut.",
     "trial": false,
     "after_s": 1.3
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1685",
   "technique_name": "Disable or Modify Tools",
   "tactics": [
    "defense-impairment"
   ],
   "test": "Disable syslog",
   "test_number": 4,
   "test_guid": "4ce786f8-e601-44b5-bfae-9ebb15a7d1c8",
   "description": "Disables syslog collection",
   "elevation": true,
   "result": "hint",
   "seconds_to_first_reaction": 0.9,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/systemctl.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/lib/systemd/systemd-executor.",
     "trial": false,
     "after_s": 0.9
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1685.006",
   "technique_name": "Clear Linux or Mac System Logs",
   "tactics": [
    "defense-impairment"
   ],
   "test": "Delete system journal logs via rm and journalctl utilities",
   "test_number": 18,
   "test_guid": "ca50dd85-81ff-48ca-92e1-61f119cb1dcf",
   "description": "The first sub-test deletes the journal files using rm utility in the \"/var/log/journal/\" directory and the second sub-test clears the journal by modifiying time period of logs that should be retained to zero.",
   "elevation": true,
   "result": "not_executed",
   "seconds_to_first_reaction": 1.8,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sudo.",
     "trial": false,
     "after_s": 1.8
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/rm.",
     "trial": false,
     "after_s": 1.8
    }
   ],
   "actions": [],
   "test_exit_codes": [
    1
   ]
  },
  {
   "technique": "T1686",
   "technique_name": "Disable or Modify System Firewall",
   "tactics": [
    "defense-impairment"
   ],
   "test": "Stop/Start UFW firewall systemctl",
   "test_number": 9,
   "test_guid": "9fd99609-1854-4f3c-b47b-97d9a5972bd1",
   "description": "Stop the Uncomplicated Firewall (UFW) if installed, using systemctl.",
   "elevation": true,
   "result": "hint",
   "seconds_to_first_reaction": 1.3,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/id.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/dash.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/lib/systemd/systemd-executor.",
     "trial": false,
     "after_s": 1.3
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/systemctl.",
     "trial": false,
     "after_s": 1.3
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  },
  {
   "technique": "T1690",
   "technique_name": "Prevent Command History Logging",
   "tactics": [
    "defense-impairment"
   ],
   "test": "Setting the HISTCONTROL environment variable",
   "test_number": 5,
   "test_guid": "10ab786a-028e-4465-96f6-9e83ca6c5f24",
   "description": "An attacker may exploit the space before a command (e.g. \" ls\") or the duplicate command suppression feature in Bash history to prevent their commands from being recorded in the history file or to obscure the order of commands used. In this test we 1. sets $HISTCONTROL to ignoreboth 2. clears the history cache 3. executes ls -la with a space in-front of it 4. confirms that ls -la is not in the history cache 5. sets $HISTCONTROL to erasedups 6. clears the history cache 7..9 executes ls -la $HISTFILE 3 times 10. confirms that their is only one command in history",
   "elevation": false,
   "result": "hint",
   "seconds_to_first_reaction": 0.9,
   "reactions": [
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/hostname.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/whoami.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ip.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/ls.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/sed.",
     "trial": false,
     "after_s": 0.9
    },
    {
     "rule": "wazuh:80792",
     "severity": "info",
     "title": "Audit: Command: /usr/bin/pgrep.",
     "trial": false,
     "after_s": 0.9
    }
   ],
   "actions": [],
   "test_exit_codes": [
    0
   ]
  }
 ]
}