Hunt Extracted Hashes V2

This playbook extracts IOCs from the incident details and attached files using regular expressions and then hunts for hashes on endpoints in the organization using available tools. The playbook supports multiple types of attachments. For the full supported attachments list, refer to "Extract Indicators From File - Generic v2".

Hunting · 7 tasks · 1 input · 0 outputs

Details

IDHunt Extracted Hashes V2
From Version5.0.0
Tasks7

README

This playbook extracts IOCs from the incident details and attached files using regular expressions and then hunts for hashes on endpoints in the organization using available tools.
The playbook supports multiple types of attachments. For the full supported attachments list, refer to “Extract Indicators From File - Generic v2”.

Dependencies

This playbook uses the following sub-playbooks, integrations, and scripts.

Sub-playbooks

  • Extract Indicators From File - Generic v2
  • Search Endpoints By Hash - Generic V2

Integrations

This playbook does not use any integrations.

Scripts

This playbook does not use any scripts.

Commands

  • extractIndicators

Playbook Inputs


Name Description Default Value Required
File The file from which to extract indicators. File Optional

Playbook Outputs


There are no outputs for this playbook.

Inputs

  • File — The file from which to extract indicators.

Commands used

extractIndicators

Flowchart

Start Start Extract Indicators From File - Generic v2 - Extract Indicators From File - Generic v2 Extract Indicators From F... Extract Indicators From File ... Extract Indicator Extract Indicator Extract indicators from incident details - extractIndicators Extract indicators from i... extractIndicators Hunt Hunt Done Done Search Endpoints By Hash - Generic V2 - Search Endpoints By Hash - Generic V2 Search Endpoints By Hash ... Search Endpoints By Hash - Ge...
id: Hunt Extracted Hashes V2
version: -1
name: Hunt Extracted Hashes V2
description: |-
  This playbook extracts IOCs from the incident details and attached files using regular expressions and then hunts for hashes on endpoints in the organization using available tools.
  The playbook supports multiple types of attachments. For the full supported attachments list, refer to "Extract Indicators From File - Generic v2".
starttaskid: "0"
tasks:
  "0":
    id: "0"
    taskid: 59fc9f42-bf21-4997-8070-602f898371be
    type: start
    task:
      id: 59fc9f42-bf21-4997-8070-602f898371be
      version: -1
      name: ""
      iscommand: false
      brand: ""
      description: ''
    nexttasks:
      '#none#':
      - "2"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 265,
          "y": 50
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "1":
    id: "1"
    taskid: f13441e2-ffef-4378-8c79-279d95b0c563
    type: playbook
    task:
      id: f13441e2-ffef-4378-8c79-279d95b0c563
      version: -1
      name: Extract Indicators From File - Generic v2
      description: |-
        Extracts indicators from a file.
        Supported file types:
        - PDF
        - TXT
        - HTM, HTML
        - DOC, DOCX
        - PPT
        - PPTX
        - RTF
        - XLS
        - XLSX
        - XML
      playbookName: Extract Indicators From File - Generic v2
      type: playbook
      iscommand: false
      brand: ""
    nexttasks:
      '#none#':
      - "4"
    scriptarguments:
      File:
        complex:
          root: inputs.File
    separatecontext: true
    loop:
      iscommand: false
      exitCondition: ""
      wait: 1
    view: |-
      {
        "position": {
          "x": 50,
          "y": 340
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "2":
    id: "2"
    taskid: bed696d2-fd98-445d-8c7b-cc9b329ca469
    type: title
    task:
      id: bed696d2-fd98-445d-8c7b-cc9b329ca469
      version: -1
      name: Extract Indicator
      type: title
      iscommand: false
      brand: ""
      description: ''
    nexttasks:
      '#none#':
      - "1"
      - "3"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 265,
          "y": 195
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "3":
    id: "3"
    taskid: dc06ffdb-b63c-4d90-89da-cd056cdaaf7e
    type: regular
    task:
      id: dc06ffdb-b63c-4d90-89da-cd056cdaaf7e
      version: -1
      name: Extract indicators from incident details
      description: Extract all indicators according to server indicator configuration.
      script: Builtin|||extractIndicators
      type: regular
      iscommand: true
      brand: Builtin
    nexttasks:
      '#none#':
      - "4"
    scriptarguments:
      entryID: {}
      filePath: {}
      investigationID: {}
      text:
        complex:
          root: incident
    reputationcalc: 2
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 480,
          "y": 340
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "4":
    id: "4"
    taskid: 97b12b55-7e66-40d2-83d4-3a5bc75b194b
    type: title
    task:
      id: 97b12b55-7e66-40d2-83d4-3a5bc75b194b
      version: -1
      name: Hunt
      type: title
      iscommand: false
      brand: ""
      description: ''
    nexttasks:
      '#none#':
      - "7"
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 265,
          "y": 515
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "6":
    id: "6"
    taskid: 7fb78c72-bf88-460c-8bf0-c0eeab0f5ecc
    type: title
    task:
      id: 7fb78c72-bf88-460c-8bf0-c0eeab0f5ecc
      version: -1
      name: Done
      type: title
      iscommand: false
      brand: ""
      description: ''
    separatecontext: false
    view: |-
      {
        "position": {
          "x": 265,
          "y": 860
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
  "7":
    id: "7"
    taskid: 805059cb-f273-485a-8b18-cb95632e0da9
    type: playbook
    task:
      id: 805059cb-f273-485a-8b18-cb95632e0da9
      version: -1
      name: Search Endpoints By Hash - Generic V2
      playbookName: Search Endpoints By Hash - Generic V2
      type: playbook
      iscommand: false
      brand: ""
      description: ''
    nexttasks:
      '#none#':
      - "6"
    scriptarguments:
      MD5Hash:
        complex:
          root: File
          accessor: MD5
      SHA1Hash:
        complex:
          root: File
          accessor: SHA1
      SHA256Hash:
        complex:
          root: File
          accessor: SHA256
    separatecontext: true
    loop:
      iscommand: false
      exitCondition: ""
      wait: 1
    view: |-
      {
        "position": {
          "x": 265,
          "y": 670
        }
      }
    note: false
    timertriggers: []
    ignoreworker: false
view: |-
  {
    "linkLabelsPosition": {},
    "paper": {
      "dimensions": {
        "height": 875,
        "width": 810,
        "x": 50,
        "y": 50
      }
    }
  }
inputs:
- key: File
  value:
    complex:
      root: File
  required: false
  description: The file from which to extract indicators.
outputs: []
fromversion: 5.0.0
tests:
- No tests