Cyber security

Offensive Lua – Unveiling Lua Scripts For Windows Security Exploration

Offensive Lua is a collection of offensive security scripts written in Lua with FFI. The scripts run with LuaJIT (v2.0.5) on Microsoft Windows to perform common tasks.

  • Run an EXE
  • Bypass UAC
  • File, Networking or Registry
  • Common Tasks (e.g. bind a shell)

Lua is a lesser used but very useful choice for post-exploitation scripting language. It’s flexible, lightweight, easy to embed, runs interpreted or as bytecode from memory and allows for JIT to interact with the host OS libraries.

FilenameDescription
bin2hex.luaConvert a binary to hex for binrun.lua
binrun.luaWrites a hex of EXE to a random location and exec’s
bindshell.luabind a shell on TCP port 5000
ComputerDefaultsUACBypass.luaBypass UAC restrictions via ms-settings
console.luaConsole App Example
downloadexec.luaDownload & Exec over HTTP
downloadexec_UACbypass.luaDownload & BypassUAC & Exec over HTTP
filewrite.luaWrite a file
luajit.exeLuaJIT compiled from our internal source tree.
messagebox.luaMessageBox Example
regread.luaRead from Registry
regwrite.luaWrite to Registry
regwritedel.luaWrite and Delete from Registry
rickroll.luaOpen a browser on URL
runcmd.luaRun a command popen
runcmd2.luaRun a command os.execute
runswhide.luaRun a command via CreateProcess with SW_HIDE
uac_bypass_bluetooth_win10.luaBypass UAC via Bluetooth on Windows10
Tamil S

Tamil has a great interest in the fields of Cyber Security, OSINT, and CTF projects. Currently, he is deeply involved in researching and publishing various security tools with Kali Linux Tutorials, which is quite fascinating.

Recent Posts

PromptFoo – Streamlining LLM Application Development And Security Testing

An innovative tool designed to revolutionize the testing, evaluation, and security of LLM applications. This…

4 days ago

AdbNet – Mastering Android Device Exploitation

A sophisticated tool designed for exploiting vulnerabilities in Android devices. This article dives into the…

5 days ago

SeamlessPass – Bridging Kerberos Authentication With Microsoft 365 Access

SeamlessPass is a tool designed to obtain Microsoft 365 access tokens using on-premises Active Directory…

5 days ago

Awesome Forensics – The Forensic Analyst’s Toolkit An In-Depth Exploration

Comprehensive guide to the tools and resources pivotal in the world of forensic analysis. From…

5 days ago

CVEScannerV2 – Enhancing Network Security With Nmap Vulnerability Detection Script

An advanced Nmap script designed to detect potential vulnerabilities in network services. This article delves…

5 days ago

File Tunnel – Innovative TCP Connection Tunneling via Files

A powerful tool designed to tunnel TCP connections through a file. Ideal for circumventing firewalls…

5 days ago