Detection rules › Sigma

Suspicious Network Communication With IPFS

Status
test
Severity
low
Log source
category proxy
Author
Gavin Knapp
Source
github.com/SigmaHQ/sigma

Detects connections to interplanetary file system (IPFS) containing a user's email address which mirrors behaviours observed in recent phishing campaigns leveraging IPFS to host credential harvesting webpages.

Known false positives

  • Legitimate use of IPFS being used in the organisation. However the cs-uri regex looking for a user email will likely negate this.

MITRE ATT&CK coverage

TacticTechniques
Credential Access
Collection

Rule body

title: Suspicious Network Communication With IPFS
id: eb6c2004-1cef-427f-8885-9042974e5eb6
status: test
description: Detects connections to interplanetary file system (IPFS) containing a user's email address which mirrors behaviours observed in recent phishing campaigns leveraging IPFS to host credential harvesting webpages.
references:
    - https://blog.talosintelligence.com/ipfs-abuse/
    - https://github.com/Cisco-Talos/IOCs/tree/80caca039988252fbb3f27a2e89c2f2917f582e0/2022/11
    - https://isc.sans.edu/diary/IPFS%20phishing%20and%20the%20need%20for%20correctly%20set%20HTTP%20security%20headers/29638
author: Gavin Knapp
date: 2023-03-16
tags:
    - attack.collection
    - attack.credential-access
    - attack.t1056
logsource:
    category: proxy
detection:
    selection:
        cs-uri|re: '(?i)(ipfs\.io/|ipfs\.io\s).+\..+@.+\.[a-z]+'
    condition: selection
falsepositives:
    - Legitimate use of IPFS being used in the organisation. However the cs-uri regex looking for a user email will likely negate this.
level: low

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    cs-uri|re: '(?i)(ipfs\.io/|ipfs\.io\s).+\..+@.+\.[a-z]+'

Indicators

These rows show field, operator, and value matches.

FieldKindValuesSearch
cs-uriregex_match
  • (?i)(ipfs.io/|ipfs.io\s).+..+@.+.[a-z]+
field:"cs-uri" kind:regex_match value:"(?i)(ipfs.io/|ipfs.io\s).+..+@.+.[a-z]+"