← All rules
Hunt_LuaJIT_Embedded_Runtime
Flags an embedded LuaJIT runtime. This is NOT a malware signature — LuaJIT is a legitimate, widely embedded scripting runtime, and this rule fires on benign software by design. Use it to surface candidates for review, paired with a family rule for attribution.
/*
name: Hunt_LuaJIT_Embedded_Runtime
family: (technology indicator)
author: Dylan Main
date: 2026-10-19
description: Flags an embedded LuaJIT runtime. This is NOT a malware signature — LuaJIT is a legitimate, widely embedded scripting runtime, and this rule fires on benign software by design. Use it to surface candidates for review, paired with a family rule for attribution.
reference: /families/vip-keylogger/
*/
rule Hunt_LuaJIT_Embedded_Runtime
{
meta:
author = "Dylan Main"
description = "Embedded LuaJIT runtime — technology indicator, not malware"
confidence = "hunting"
note = "Fires on legitimate LuaJIT software by design. Never alert on this alone; pair it with a family rule or behavioural context."
strings:
// Standard LuaJIT runtime strings. Present in any LuaJIT build,
// malicious or not — that is the point of this rule.
$api1 = "luaJIT_setmode" ascii wide
$api2 = "Perform LuaJIT control command" ascii wide
$api3 = "libluajit.dll" ascii wide nocase
$api4 = "Lua API" ascii wide
condition:
2 of them
}
Validate against your own malicious and benign corpus before deploying. Published
rules are readable by the operators they target and may be evaded accordingly.