Darkmon - Enrich File
Sub-playbook that calls the Darkmon !file command and returns DBotScore + Common.File for the input File 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 File |
|---|---|
| From Version | 6.8.0 |
| Tasks | 5 |
README
Sub-playbook that calls the Darkmon !file command and returns DBotScore + Common.File for the input File 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
- file
Playbook Inputs
| Name | Description | Default Value | Required |
|---|---|---|---|
| File | The File indicator value to enrich. Defaults to ${File.MD5}. | File.MD5 | 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 |
| File.MD5 | The File value. | string |
| File.Malicious.Vendor | The vendor that flagged this File as malicious (Darkmon). | string |
| File.Malicious.Description | Reason this File was flagged as malicious. | string |
| Darkmon.SearchResult | Full search result records returned by Darkmon for this indicator. | unknown |
Inputs
File— The File indicator value to enrich. Defaults to ${File.MD5}.
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.File.MD5— The File value.File.Malicious.Vendor— The vendor that flagged this File as malicious (Darkmon).File.Malicious.Description— Reason this File was flagged as malicious.Darkmon.SearchResult— Full search result records returned by Darkmon for this indicator.
Commands used
file
Flowchart
id: Darkmon - Enrich File version: -1 name: Darkmon - Enrich File description: Sub-playbook that calls the Darkmon !file command and returns DBotScore + Common.File for the input File 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: d9c3e78a-32e0-43e2-8080-31304118525a type: start task: id: d9c3e78a-32e0-43e2-8080-31304118525a 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: 46d36d63-f34d-404f-9248-ecc2b287f144 type: regular task: id: 46d36d63-f34d-404f-9248-ecc2b287f144 version: -1 name: Run Darkmon file lookup description: Calls the Darkmon !file reputation command to enrich the File. script: Darkmon|||file type: regular iscommand: true brand: Darkmon nexttasks: '#none#': - '2' scriptarguments: hash: complex: root: inputs.File 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: d8a1bc23-da78-42eb-9dfd-a51d18c1f4b7 type: title task: id: d8a1bc23-da78-42eb-9dfd-a51d18c1f4b7 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: f5781173-307f-4d82-a44e-ba8d9978d8e2 type: condition task: id: f5781173-307f-4d82-a44e-ba8d9978d8e2 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: 6c174b89-dc22-4926-85dc-4965fc1be2ef type: title task: id: 6c174b89-dc22-4926-85dc-4965fc1be2ef 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: File value: complex: root: File accessor: MD5 required: true description: The File indicator value to enrich. Defaults to ${File.MD5}. 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: File.MD5 description: The File value. type: string - contextPath: File.Malicious.Vendor description: The vendor that flagged this File as malicious (Darkmon). type: string - contextPath: File.Malicious.Description description: Reason this File 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