-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #128 from infosecB/multiple-loobins
Release prep
- Loading branch information
Showing
19 changed files
with
74 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: defaults | ||
author: Brendan Chamberlain (@infosecB) | ||
short_description: Read, write, and delete user preference values. | ||
full_description: A full length description of the binary goes here. | ||
created: 2023-05-24 | ||
example_use_cases: | ||
- name: Disable Gatekeeper's auto rearm functionality | ||
description: The following command can be used to disable Gatekeepers rearm functionality. This command requires root privileges. | ||
code: sudo defaults write /Library/Preferences/com.apple.security GKAutoRearm -bool NO | ||
tactics: | ||
- Defense Evasion | ||
tags: | ||
- gatekeeper | ||
- name: Show mounted servers | ||
description: Show all mounted servers on the desktop. | ||
code: defaults read com.apple.finder "ShowMountedServersOnDesktop" | ||
tactics: | ||
- Discovery | ||
- name: Add a login item to the current user | ||
description: An attacker can use defaults to add a login hook in attempt to gain persistence. This command requires root privileges. | ||
code: sudo defaults write /Library/Preferences/com.apple.loginwindow LoginHook gain_persistence.sh | ||
tactics: | ||
- Persistence | ||
paths: | ||
- /usr/bin/defaults | ||
detections: | ||
- name: No detections at time of publishing | ||
url: N/A | ||
resources: | ||
- name: "macOS defaults list: Uncomplete list of macOS defaults commands with demos" | ||
url: https://macos-defaults.com/ | ||
- name: Insistence on Persistence | ||
url: https://www.huntress.com/blog/insistence-on-persistence |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,31 @@ | ||
# LOOBins | ||
![GitHub license](https://img.shields.io/github/license/infosecB/LOOBins) | ||
![LOOBin Validity](https://github.com/infosecB/LOOBins/actions/workflows/validate_loobins.yml/badge.svg) | ||
|
||
![Total LOOBins](https://img.shields.io/github/directory-file-count/infosecb/LOOBins/LOOBins?color=maroon&label=Total%20LOOBins&style=for-the-badge&type=file) | ||
![Build Status](https://img.shields.io/github/actions/workflow/status/infosecB/LOOBins/validate_loobins.yml?style=for-the-badge) | ||
![pyloobins badge](https://img.shields.io/pypi/v/pyloobins?color=blue&label=pyloobins&style=for-the-badge) | ||
![Help Wanted Issues Badge](https://img.shields.io/github/issues/infosecb/LOOBins/help%20wanted?style=for-the-badge) | ||
![License](https://img.shields.io/github/license/infosecB/LOOBins?style=for-the-badge) | ||
|
||
The LOOBins web app can be found here: [https://loobins.io](https://loobins.io) | ||
|
||
**L**iving **O**ff the **O**rchard: macOS Binaries (LOOBins) is a resource designed to provide detailed information on various built-in macOS binaries and how they can be used by threat actors for nefarious purposes. The goal of this website is to serve as a one-stop resource for cybersecurity professionals and researchers attempting to understand and defend against the potential risks associated with each binary. | ||
## About | ||
|
||
**L**iving **O**ff the **O**rchard: macOS Binaries (LOOBins) is a resource designed to provide detailed information on various built-in macOS binaries and how they can be used by threat actors for malicious purposes. The goal of this website is to serve as a one-stop resource for cybersecurity professionals and researchers attempting to understand and defend against the potential risks associated with each binary. | ||
|
||
This website contains a working list of "living off the land" macOS binaries that can be leveraged for malicious purposes to achieve command execution, privilege escalation, persistence, and data exfiltration. By outlining the functions and potential misuse of each binary, this resource aims to raise awareness about the growing threat landscape in the macOS ecosystem. | ||
This website contains a working list of "living off the land" macOS binaries that can be leveraged for malicious purposes to achieve tactics such as command execution, privilege escalation, persistence, and data exfiltration. By outlining the functions and potential misuse of each binary, this resource aims to raise awareness about the growing threat landscape in the macOS ecosystem. | ||
|
||
Each LOOBin is categorized into MITRE ATT&CK tactics and various tags, allowing viewers to easily navigate and locate information on the macOS LOOBins of interest. Additionally, the resources provides example uses of each binary, recommendations and signatures on how to best detect malicious activity, and links to other third-party resources. | ||
Each LOOBin is categorized into MITRE ATT&CK tactics and various tags, allowing users to easily navigate and locate information on the macOS LOOBins of interest. Additionally, the resources provides example uses of each binary, recommendations and signatures on how to best detect malicious activity, and links to other third-party resources. | ||
|
||
The content contained in each LOOBin can also be programmatically consumed. All LOOBins can be consumed using the JSON API or by using the Python SDK/CLI tool, PyLOOBins. | ||
The content contained in each LOOBin can also be programmatically consumed. All LOOBins can be consumed using the JSON API or by using the [Python SDK/CLI tool, PyLOOBins](https://github.com/infosecB/LOOBins/tree/main/docs/pyloobins). | ||
|
||
It's important to note that LOOBins does not include overlapping Unix binaries that are detailed in [GTFOBins](https://gtfobins.github.io) unless there are notable macOS-specific use cases (e.g. sqlite3). For more information on Unix binaries, please refer to the GTFOBins project. | ||
|
||
We are in active development and welcome contributions. Please see [our guidelines](https://github.com/infosecB/LOOBins/blob/main/CONTRIBUTING.md) if you are interesting in helping out! | ||
## We Need Your Help! | ||
LOOBins is a living project and will likely never be complete. It will require continuous updating as new binaries and/or use cases are discovered by the community. Here are a few ways you can help: | ||
|
||
- Add new LOOBin binaries | ||
- Update existing LOOBin binaries by adding new use cases, detection sources, resources, or by simply fixing a typo | ||
- Help develop and maintain the PyLOOBins Python SDK/CLI | ||
- Submit an issue for any problems that you are experiencing with the website or PyLOOBins SDK/CLI | ||
|
||
If you would like to contribute, please see our contribution guidelines. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "PyLOOBins" | ||
version = "0.1.9" | ||
version = "1.0.0" | ||
description = "Python package for managing the LOOBins model and schema." | ||
authors = ["infosecB <[email protected]>"] | ||
readme = "docs/pyloobins/README.md" | ||
|