MITRE ATT&CKsub-technique
T1059.011 Lua
- Domain
- enterprise
- Tactics
- Execution
- Platforms
- Linux, Network Devices, Windows, macOS
- Version
- 1.1
- Created
- 2024-08-05
Description
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 (.lua), or from Lua-embedded programs (through the struct lua_State).
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.
Related
Subtechnique of · MITRE ATT&CK (1)
- T1059 Command and Scripting Interpreter technique
Tactic · MITRE ATT&CK (1)
- TA0002 Execution tactic
Referenced by MITRE ATT&CK · mitigates (3)
Referenced by MITRE ATT&CK · uses (5)
Referenced by Compliance · mitigates (11)
- CIS-2.3 Address Unauthorized Software CIS Safeguard v8.1
- CIS-2.5 Allowlist Authorized Software CIS Safeguard v8.1
- NIST-AC-2 Account Management NIST 800-53 control
- NIST-AC-3 Access Enforcement NIST 800-53 control
- NIST-AC-6 Least Privilege NIST 800-53 control
- NIST-CM-2 Baseline Configuration NIST 800-53 control
- NIST-CM-6 Configuration Settings NIST 800-53 control
- NIST-SI-16 Memory Protection NIST 800-53 control
- NIST-SI-3 Malicious Code Protection NIST 800-53 control
- NIST-SI-4 System Monitoring NIST 800-53 control
- NIST-SI-7 Software, Firmware, and Information Integrity NIST 800-53 control
References
- https://media.kasperskycontenthub.com/wp-content/uploads/sites/43/2018/03/07190154/The-ProjectSauron-APT_research_KL.pdf Kaspersky Lua
- https://www.lua.org/start.html Lua main page
- https://pgl.yoyo.org/luai/i/lua_State Lua state
- https://web.archive.org/web/20150311013500/http:/www.cyphort.com/evilbunny-malware-instrumented-lua/ Cyphort EvilBunny
- https://blog.talosintelligence.com/poetrat-update/ PoetRat Lua
- https://www.proofpoint.com/us/blog/threat-insight/asylum-ambuscade-state-actor-uses-compromised-private-ukrainian-military-emails Lua Proofpoint Sunseed