In LimaCharlie.io, the Add-ons marketplace is a place where you users can subscribe to various capabilities as provided by other users.
Several categories of capabilities exists like Detections and Lookups:
- Detections are components you can use as part of D&R rules.
- Lookups are lists of values to match in incoming LC data along with metadata for each value. They are use as part of D&R rules as well.
Users can create their own add-ons privately which gives them access to enable those rules in organizations they are members of, or publicly where anyone in the marketplace can subscribe.
In order to use add-ons, you must first subscribe to them with an organization. To do this, go to the "Add-ons" menu in your organization, then go to the category and find the add-on you want to subscribe to. Click on the subscribe switch.
After a second you will get a confirmation the add-on has been enabled for your organization.
Now go to the "D&R Rules" menu and create a rule using the add-on by using the relevant
lookup) and specifying the resource as the add-on URL.
The add-on URL is simply a path like an HTTP URL, but starting with
lcr:// (for LimaCharlie Resource)
The next component of the path is the category of add-on (
finally the add-on name. So a path can look something like this:
Users can create their own add-ons and optionally share them in the marketplace.
To create a new add-on, do it from the dashboard of LimaCharlie.io. When doing so, especially when marking the add-on as public, keep these in mind:
- Fill in as many of the fields as possible.
- Make the purpose and usage of the add-on clear for users not aware of the capability.
- If the add-on requires a lot of background information, put it in the website link rather than the description.
- Your email address will be included in the add-on description, if you plan on publishing many rules you may want to create a limacharlie.io account specifically for this purpose.
- The platforms flags are not enforced but are a courtesy to the users to let them know where they can expect your add-on to work.
- Subscribers to your add-on will NOT have access to the exact implementation, this helps you protect specific Intellectual Property you may have, but it also means you need to be clear about the exact capabilities in your description and website.
- Add-ons remain your property, but may be evaluated and approved / dismissed due to quality or performance concerns. If you are not sure, contact us at [email protected]
- If implementing a detection, include "filtering" of the relevant event types to what is strictly required for the detection, but avoid filtering on organization-defined labels as they change from organization to organization. If you do use labels, describe the exact usage in the description.
- Before making an add-on public, make sure to test it.
Keep in mind that creating an add-on does not immediatly grant organizations you're a member of access to it. After creating it, you must go in the organization you want to access it from, go to the Add-ons section and "subscribe" to your add-on. This will grant the organization access and then you can begin using it as part of D&R rules.
Creating a lookup add-on enables you to create a list that you can use as part of D&R rules.
Once in place, you can refer to it using the
op: lookup D&R rule with a reference to your add-on looking
Lookups support a few structures.
- Newline-separated values.
- JSON dictionary where keys are the elements of the lookup and the values are the metadata associated.
- YAML dictionary where keys are the elements of the lookup and the values are the metadata associated.
- OTX JSON Pulse.
- MISP JSON Feed.
Here is an example of this complex format:
evil.com: some evil website, definitely bad example.com: source: my-threat-intel risk: high contact: email [email protected] immediately if spotted
When uploaded, the data for the lookup can be provided in three different ways:
- As data literal in the upload API.
- As a URL callback, where your data is a URL like https://www.my.data.
- As an Authenticated Resource Locator (ARL) (the prefered method)
The maximum size of a lookup is 15MB through the REST API and 512KB through the web interface.