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