Skip to content

Ilias1988/LOLBins-Reference

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”§ LOLBins Reference

License: MIT GitHub Pages

A comprehensive, interactive reference for Living off the Land Binaries (LOLBins) for Windows (LOLBAS) and Linux (GTFOBins).

LOLBins Reference Screenshot

🌟 Features

  • πŸ“‚ 600+ LOLBins - Windows (LOLBAS) + Linux (GTFOBins) binaries
  • πŸ”„ Auto-Update - Script to fetch latest data from official sources
  • 🎯 Payload Builder - Real-time LHOST/LPORT replacement in commands
  • πŸ” Real-time Search - Quickly find binaries by name, description, or technique
  • 🏷️ Category Filters - Filter by Shell, Execute, File Read/Write, RevShell, and more
  • πŸ“‹ One-Click Copy - Copy commands to clipboard instantly
  • 🎯 MITRE ATT&CK Mapping - Each binary mapped to MITRE techniques
  • πŸ›‘οΈ Detection Tips - Blue team guidance for each technique
  • πŸ“± Responsive Design - Works on desktop and mobile
  • πŸŒ™ Dark Theme - Easy on the eyes during late-night pentests

πŸš€ Live Demo

Visit: https://Ilias1988.github.io/LOLBins-Reference

πŸ“¦ Categories

Windows (LOLBAS)

Category Description
⚑ Execute Code/command execution
πŸ“₯ Download File download capabilities
πŸ›‘οΈ UAC Bypass UAC bypass techniques
🚫 AWL Bypass Application whitelist bypass
πŸ”¨ Compile Code compilation
πŸ” Encode Encoding/decoding

Linux (GTFOBins)

Category Description
πŸ’€ Shell Spawn interactive shells
⚑ Execute Command execution
πŸ“– File Read Read arbitrary files
✏️ File Write Write arbitrary files
πŸ”„ RevShell Reverse shell capabilities

πŸ› οΈ Installation

Option 1: GitHub Pages (Recommended)

  1. Fork this repository
  2. Go to Settings β†’ Pages
  3. Set source to "main" branch
  4. Your site will be available at https://Ilias1988.github.io/LOLBins-Reference

Option 2: Local Development

# Clone the repository
git clone https://github.com/Ilias1988/LOLBins-Reference.git
cd LOLBins-Reference

# Open in browser
start index.html  # Windows
open index.html   # macOS
xdg-open index.html  # Linux

# Or use Python's built-in server
python -m http.server 8080
# Visit http://localhost:8080

πŸ”„ Database Update

Keep your database up-to-date with the latest binaries from official sources!

Prerequisites

pip install -r requirements.txt

Update Steps

# 1. Clone GTFOBins repository (required for Linux binaries)
git clone https://github.com/GTFOBins/GTFOBins.github.io.git

# 2. Run the update script
python update_db.py

What the script does:

  • πŸͺŸ Windows: Downloads LOLBAS data directly from GitHub (no clone needed)
  • 🐧 Linux: Parses GTFOBins from the cloned repository
  • πŸ“„ Output: Generates js/data.js with all binaries

Expected Output:

╔═══════════════════════════════════════════════════════════╗
β•‘  πŸ”§ LOLBins Reference - Database Updater                  β•‘
β•‘  Updates from LOLBAS & GTFOBins official repositories     β•‘
β•šβ•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•

🐧 [Linux] Checking local folder: GTFOBins.github.io/_gtfobins
   ↳ Found 450 files. Parsing...
βœ… [Linux] Success! Parsed 449 binaries from disk.
πŸͺŸ [Windows] Downloading LOLBAS Repository...
   ↳ Found 230 YAML files. Parsing...
βœ… [Windows] Success! Parsed 230 binaries from web.

πŸŽ‰ DATABASE UPDATE COMPLETE!
πŸ“Š Statistics:
   β€’ Windows (LOLBAS): 230 binaries
   β€’ Linux (GTFOBins): 449 binaries
   β€’ Total: 679 binaries

🎯 Payload Builder

The Payload Builder feature allows you to customize IP and Port in all commands:

  1. Enter your LHOST (attacker IP) in the config bar
  2. Enter your LPORT (listening port) in the config bar
  3. All commands automatically update with your values!

Replaced placeholders:

  • IPs: ATTACKER_IP, 127.0.0.1, 192.168.x.x, 10.x.x.x
  • Ports: 4444, 1337, 8080, 9001

πŸ“– Usage

  1. Select OS - Click on Windows πŸͺŸ or Linux 🐧 tab
  2. Set Payload Config - Enter your LHOST/LPORT
  3. Filter by Category - Click category buttons to filter
  4. Search - Type in the search bar (or press / to focus)
  5. View Details - Click on any card to see full details
  6. Copy Commands - Click the copy button to copy commands

⌨️ Keyboard Shortcuts

Key Action
/ Focus search bar
Escape Close modal

πŸ“š Data Sources

πŸ”— External Resources

A curated collection of related "Living off the Land" and security research projects, accessible via the πŸ“š Resources button in the header:

Name Platform Description URL
LOOBins 🍎 macOS Living Off the Orchard: macOS binaries used by threat actors loobins.io
LOLDrivers πŸͺŸ Windows Drivers used by adversaries to bypass security controls loldrivers.io
LOTS Project 🌐 Web Living Off Trusted Sites: Domains abused for phishing/C2 lots-project.com
WTFBins πŸ€” Analysis Benign apps that exhibit suspicious behaviors wtfbins.essh.moe
Hijack Libs πŸ“š DLL Curated list of DLL Hijacking candidates hijacklibs.net
Filesec πŸ“Ž Files File extensions being weaponized by attackers filesec.io

πŸ“ Project Structure

LOLBins-Reference/
β”œβ”€β”€ index.html          # Main HTML file
β”œβ”€β”€ update_db.py        # Database update script
β”œβ”€β”€ requirements.txt    # Python dependencies
β”œβ”€β”€ README.md           # This file
β”œβ”€β”€ LICENSE             # MIT License
β”œβ”€β”€ .gitignore          # Git ignore rules
β”œβ”€β”€ css/
β”‚   └── style.css       # Styles
└── js/
    β”œβ”€β”€ app.js          # Application logic
    └── data.js         # LOLBins database (auto-generated)

⚠️ Disclaimer

This tool is intended for educational purposes and authorized security testing only.

The techniques documented here can be used for:

  • βœ… Penetration testing (with authorization)
  • βœ… Red team exercises
  • βœ… Security research and education
  • βœ… Blue team defense preparation

Do NOT use these techniques for unauthorized access to systems.

🀝 Contributing

Contributions are welcome!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

πŸ™ Acknowledgments


Made with ❀️ for the Security Community

About

A unified, interactive reference for Living Off The Land Binaries (LOLBAS & GTFOBins). Features a dynamic payload builder (LHOST/LPORT), real-time search, MITRE ATT&CK mapping, and auto-updates from official sources.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors