Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/source/api/msticpy.context.tiproviders.darkeye.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
msticpy.context.tiproviders.darkeye module
==========================================

.. automodule:: msticpy.context.tiproviders.darkeye
:members:
:show-inheritance:
:undoc-members:
1 change: 1 addition & 0 deletions docs/source/api/msticpy.context.tiproviders.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Submodules
msticpy.context.tiproviders.binaryedge
msticpy.context.tiproviders.crowdsec
msticpy.context.tiproviders.cyberint
msticpy.context.tiproviders.darkeye
msticpy.context.tiproviders.greynoise
msticpy.context.tiproviders.ibm_xforce
msticpy.context.tiproviders.intsights
Expand Down
10 changes: 9 additions & 1 deletion docs/source/data_acquisition/TIProviders.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ Features
- **CrowdSec**
- **AbuseIPDB**
- **ScanMalware**
- **DarkEye** (HaveIBeenRansom and Breach House)

- Other pseudo-TI providers are also included:

Expand Down Expand Up @@ -286,6 +287,12 @@ fictitious - the format of the keys may differ from what is shown
ScanMalware:
Primary: True
Provider: "ScanMalware"
DarkEye:
Args:
HIBRAuthKey: 1234567890
BreachHouseAuthKey: 1234567890
Primary: True
Provider: "DarkEye"

You need to tell `TILookup` to refresh its configuration.

Expand All @@ -307,7 +314,8 @@ of providers loaded.
'AzSTI - Microsoft Sentinel TI provider class. (primary)',
'CrowdSec - CrowdSec CTI Smoke Lookup. (primary)',
'AbuseIPDB - AbuseIPDB Lookup. (primary)',
'ScanMalware - ScanMalware Lookup. (primary)']
'ScanMalware - ScanMalware Lookup. (primary)',
'DarkEye - DarkEye Lookup (HaveIBeenRansom and Breach House). (primary)']

.. warning:: Depending on the type of account that you
have with a provider, they will typically impose a limit
Expand Down
11 changes: 11 additions & 0 deletions docs/source/getting_started/msticpyconfig.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Currently supported provider names are:
- CrowdSec
- AbuseIPDB
- ScanMalware
- DarkEye

.. code:: yaml

Expand Down Expand Up @@ -152,6 +153,16 @@ Currently supported provider names are:
ScanMalware:
Primary: True
Provider: "ScanMalware"
DarkEye:
Args:
HIBRAuthKey: 1234567890
BreachHouseAuthKey: 1234567890
Primary: True
Provider: "DarkEye"

.. note:: DarkEye covers two products: HaveIBeenRansom (``HIBRAuthKey``)
and Breach House (``BreachHouseAuthKey``). Each key is optional but at
least one is required. Only the products that have a key are queried.

.. note:: You store values in the ``Args`` section as simple strings,
as names of environment variables containing the value, or
Expand Down
10 changes: 9 additions & 1 deletion msticpy/context/lookup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@

logger: logging.Logger = logging.getLogger(__name__)

_HTTP_PROVIDER_LEGAL_KWARGS: list[str] = ["timeout", "ApiID", "AuthKey", "Instance"]
_HTTP_PROVIDER_LEGAL_KWARGS: list[str] = [
"timeout",
"ApiID",
"AuthKey",
"Instance",
# DarkEye has one optional key for each of its two products
"HIBRAuthKey",
"BreachHouseAuthKey",
]


class ProgressCounter:
Expand Down
1 change: 1 addition & 0 deletions msticpy/context/tiproviders/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@
"BinaryEdge": ("binaryedge", "BinaryEdge"),
"Cyberint": ("cyberint", "Cyberint"),
"ScanMalware": ("scanmalware", "ScanMalware"),
"DarkEye": ("darkeye", "DarkEye"),
}
Loading