LOLBAS-Project /LOLBAS
Living Off The Land Binaries And Scripts - (LOLBins and LOLScripts)
★ 8,935⑂ 1,186👁 233⑃ 429● 107▤ 0
+1
Daily
8,935
stars
1,186
forks
233
watchers
429
prs
107
issues
0
releases
README
Living Off The Land Binaries and Scripts (and now also Libraries) All the different files can be found behind a fancy frontend here: https://lolbas-project.github.io (thanks @ConsciousHacker for this bit of eyecandy and the team over at https://gtfobins.github.io/). This repo serves as a place where we maintain the YML files that are used by the fancy frontend. Goal The goal of the LOLBAS project is to document every binary, script, and library that can be used for Living Off The Land techniques. Criteria A LOLBin/Lib/Script must: Be a Microsoft-signed file, either native to the OS or downloaded from Microsoft. Have extra "unexpected" functionality. It is not interesting to document intended use cases. Exceptions are application whitelisting bypasses Have functionality that would be useful to an APT or red team Interesting functionality can include: Executing code Arbitrary code execution Pass-through execution of other programs (unsigned) or scripts (via a LOLBin) Compiling code File operations Downloading Upload Copy Persistence Pass-through persistence utilizing existing LOLBin Persistence (e.g. hide data in ADS, execute at logon) UAC bypass Credential theft Dumping process memory Surveillance (e.g. keylogger, network trace) Log evasion/modification DLL side-loading/hijacking without being relocated elsewhere in the filesystem. We do not approve binaries that allows for netntlm coercing, since most Windows binaries allows for that. Only exception is binaries that allows that on other than default ports (such as rpcping) or can allow direct credential theft. Contributing If you have found a new LOLBin or LOLScript that you would like to contribute, please review the contributing guidelines located here: https://github.com/LOLBAS-Project/LOLBAS/blob/master/CONTRIBUTING.md A template for the required format has been provided here: https://github.com/LOLBAS-Project/LOLBAS/blob/master/YML-Template.yml The History of the LOLBin The phrase "Living off the land" was coined by Christopher Campbell (@obscuresec) & Matt Graeber (@mattifestation) at DerbyCon 3. The term LOLBins came from a Twitter discussion on what to call binaries that can be used by an attacker to perform actions beyond their original purpose. Philip Goh (@MathCasualty) proposed LOLBins. A highly scientific internet poll ensued, and after a general consensus (69%) was reached, the name was made official. Jimmy (@bohops) followed up with LOLScripts. No poll was taken. Common hashtags for these files are: LOLBin LOLBins LOLScript LOLScripts LOLLib LOLLibs Our primary maintainer (@oddvarmoe) of this project did a talk at DerbyCon 2018 called: Lolbins Nothing to LOL about! - https://www.youtube.com/watch?v=NiYTdmZ8GR4 This talk goes over the history of this project. Maintainers The following folks help maintain the LOLBAS Project on their personal time: Oddvar Moe (@oddvarmoe) Jimmy Bayne (@bohops) Conor Richard (@
Top issues
#8Privileges required3 comments · 2018-09-18#85Cross reference WDAC recommended block rules and add missing LOLBAS2 comments · 2020-08-28#10split commands into command, argument structure2 comments · 2018-09-18#279Suggestion / Request - Fileserver Resource Manager1 comments · 2023-02-14#2755 more Microsoft 'exploitable' opportunities 1 comments · 2023-01-22#190Adding Microsoft Sentinel Rules1 comments · 2022-01-09#5Add guid field1 comments · 2018-09-18#526Add PermitLocalCommand=yes technique to ssh.exe0 comments · 2026-09-29