Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Adversaries may abuse Lua commands and scripts for execution.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-12 | ✗→✓ | ▲ Improved | -43% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -46% | 0% |
| case-15 | ✗→✓ | ▲ Improved | -55% | 0% |
| case-16 | ✗→✓ | ▲ Improved | -10% | 0% |
| case-03 | ✓→✓ | = Same ✓ | -48% | 0% |
> Sub-technique of: T1059
Adversaries may abuse Lua commands and scripts for execution. Lua is a cross-platform scripting and programming language primarily designed for embedded use in applications. Lua can be executed on the command-line (through the stand-alone lua interpreter), via scripts (<code>.lua</code>), or from Lua-embedded programs (through the <code>struct lua_State</code>).
Lua scripts may be executed by adversaries for malicious purposes. Adversaries may incorporate, abuse, or replace existing Lua interpreters to allow for malicious Lua command execution at runtime.
Platforms: Linux, Network Devices, Windows, macOS
> Note: No Atomic Red Team tests available for this technique. See Atomic Red Team GitHub for updates.
Prevent users from installing Lua where not required.
Inventory systems for unauthorized Lua installations.
Denylist Lua interpreters where appropriate.
| Finding | Severity | Impact | | ------------------------ | -------- | --------- | | Lua technique applicable | Low | Execution |
| CWE ID | Title | | ------ | -------------------------------------- | | CWE-94 | Improper Control of Generation of Code |
Other measured skills in the registry, with their headline benchmark lift.