Darkmon - Enrich Email
Sub-playbook that calls the Darkmon !email command and returns DBotScore + Common.Account.Email for the input Email indicator. Designed to be invoked from a parent playbook; does not auto-run on indicator creation.
Darkmon · 5 tasks · 1 input · 9 outputs
Details
| ID | Darkmon - Enrich Email |
|---|---|
| From Version | 6.8.0 |
| Tasks | 5 |
README
Sub-playbook that calls the Darkmon !email command and returns DBotScore + Common.Account.Email for the input Email indicator. Designed to be invoked from a parent playbook; does not auto-run on indicator creation.
Dependencies
This playbook uses the following sub-playbooks, integrations, and scripts.
Sub-playbooks
This playbook does not use any sub-playbooks.
Integrations
- Darkmon
Scripts
This playbook does not use any scripts.
Commands
Playbook Inputs
| Name | Description | Default Value | Required |
|---|---|---|---|
| The Email indicator value to enrich. Defaults to ${Email.Address}. | Email.Address | Required |
Playbook Outputs
| Path | Description | Type |
|---|---|---|
| DBotScore.Indicator | The indicator value. | string |
| DBotScore.Type | The indicator type. | string |
| DBotScore.Vendor | The vendor reporting the score (Darkmon). | string |
| DBotScore.Score | The reputation score (0=Unknown, 1=Good, 2=Suspicious, 3=Bad). | number |
| DBotScore.Reliability | Source reliability per the Admiralty code. | string |
| Account.Email.Address | The Email value. | string |
| Account.Email.Malicious.Vendor | The vendor that flagged this Email as malicious (Darkmon). | string |
| Account.Email.Malicious.Description | Reason this Email was flagged as malicious. | string |
| Darkmon.SearchResult | Full search result records returned by Darkmon for this indicator. | unknown |
Inputs
Email— The Email indicator value to enrich. Defaults to ${Email.Address}.
Outputs
DBotScore.Indicator— The indicator value.DBotScore.Type— The indicator type.DBotScore.Vendor— The vendor reporting the score (Darkmon).DBotScore.Score— The reputation score (0=Unknown, 1=Good, 2=Suspicious, 3=Bad).DBotScore.Reliability— Source reliability per the Admiralty code.Account.Email.Address— The Email value.Account.Email.Malicious.Vendor— The vendor that flagged this Email as malicious (Darkmon).Account.Email.Malicious.Description— Reason this Email was flagged as malicious.Darkmon.SearchResult— Full search result records returned by Darkmon for this indicator.
Commands used
email
Flowchart
id: Darkmon - Enrich Email version: -1 name: Darkmon - Enrich Email description: Sub-playbook that calls the Darkmon !email command and returns DBotScore + Common.Account.Email for the input Email indicator. Designed to be invoked from a parent playbook; does not auto-run on indicator creation. fromversion: 6.8.0 marketplaces: - xsoar - platform starttaskid: '0' tasks: '0': id: '0' taskid: f9f89ddb-d101-45c4-b2ad-8ee32f10704c type: start task: id: f9f89ddb-d101-45c4-b2ad-8ee32f10704c version: -1 name: '' description: '' iscommand: false brand: '' nexttasks: '#none#': - '100' separatecontext: false continueonerrortype: '' view: '{"position": {"x": 50, "y": 50}}' note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false '1': id: '1' taskid: cb039c1f-4814-4343-bd7d-891313566ab8 type: regular task: id: cb039c1f-4814-4343-bd7d-891313566ab8 version: -1 name: Run Darkmon email lookup description: Calls the Darkmon !email reputation command to enrich the Email. script: Darkmon|||email type: regular iscommand: true brand: Darkmon nexttasks: '#none#': - '2' scriptarguments: email: complex: root: inputs.Email separatecontext: false continueonerrortype: '' view: '{"position": {"x": 50, "y": 530}}' note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false '2': id: '2' taskid: c463b61b-5f34-4933-b449-28c8cd85862f type: title task: id: c463b61b-5f34-4933-b449-28c8cd85862f version: -1 name: Done description: '' type: title iscommand: false brand: '' separatecontext: false continueonerrortype: '' view: '{"position": {"x": 50, "y": 770}}' note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 isoversize: false isautoswitchedtoquietmode: false '100': id: '100' taskid: 68d15748-81f7-428e-bd6a-c3ffdb1ee5a3 type: condition task: id: 68d15748-81f7-428e-bd6a-c3ffdb1ee5a3 version: -1 name: Is Darkmon integration available? description: Skips the playbook gracefully if the Darkmon integration is not configured in this tenant. Calls the built-in IsIntegrationAvailable script with brandname=Darkmon. scriptName: IsIntegrationAvailable type: condition iscommand: false brand: '' scriptarguments: brandname: simple: Darkmon results: - brandInstances nexttasks: 'yes': - '1' '#default#': - '101' separatecontext: false continueonerrortype: '' view: '{"position": {"x": 50, "y": 290}}' note: false timertriggers: [] ignoreworker: false skipunavailable: true quietmode: 0 '101': id: '101' taskid: 277d8612-f71e-4c3a-9cf6-a37bb62d2179 type: title task: id: 277d8612-f71e-4c3a-9cf6-a37bb62d2179 version: -1 name: Done description: '' type: title iscommand: false brand: '' separatecontext: false continueonerrortype: '' view: '{"position": {"x": -450, "y": 530}}' note: false timertriggers: [] ignoreworker: false skipunavailable: false quietmode: 0 view: '{"linkLabelsPosition": {"100_1_yes": 0.1, "100_101_#default#": 0.5}, "paper": {"dimensions": {"height": 935, "width": 980, "x": -500, "y": 0}}}' inputs: - key: Email value: complex: root: Email accessor: Address required: true description: The Email indicator value to enrich. Defaults to ${Email.Address}. playbookInputQuery: outputs: - contextPath: DBotScore.Indicator description: The indicator value. type: string - contextPath: DBotScore.Type description: The indicator type. type: string - contextPath: DBotScore.Vendor description: The vendor reporting the score (Darkmon). type: string - contextPath: DBotScore.Score description: The reputation score (0=Unknown, 1=Good, 2=Suspicious, 3=Bad). type: number - contextPath: DBotScore.Reliability description: Source reliability per the Admiralty code. type: string - contextPath: Account.Email.Address description: The Email value. type: string - contextPath: Account.Email.Malicious.Vendor description: The vendor that flagged this Email as malicious (Darkmon). type: string - contextPath: Account.Email.Malicious.Description description: Reason this Email was flagged as malicious. type: string - contextPath: Darkmon.SearchResult description: Full search result records returned by Darkmon for this indicator. type: unknown tests: - No tests supportedModules: - cloud_posture - cloud - cloud_runtime_security - edr - asm - tim - cloud_appsec - xsiam - exposure_management - agentix - email_security