Skip to main content
Glama
DFA

DFA

dfa_volatility_linux_sockscan

Scan a read-only memory image for network sockets, including unlinked or hidden ones, to hunt command-and-control activity; pair with sockstat for corroboration.

Instructions

Scan memory for network sockets, including unlinked/hidden ones (Volatility 3 linux.sockscan). Pair with sockstat for C2 hunting. Does not modify evidence; appends to the dfa audit log.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "image": "<image>"
    },
    "name": "dfa_volatility_linux_sockscan"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesAbsolute path to the memory image file (read-only).
offsetNoSkip this many rows before the inline page (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations declare readOnlyHint=false, which could confuse an agent for a scan operation; the description resolves this by stating it 'Does not modify evidence; appends to the dfa audit log,' explaining the write flag. That is genuine added context beyond the structured fields. It does not cover pagination behavior despite an offset parameter, nor any output shape.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, front-loaded with the operation and scope, followed by the companion-tool hint and the side-effect disclosure. Nothing is redundant, though the parenthetical plugin reference and the pairing sentence are only loosely integrated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, an agent still learns the evidence type, the hidden/unlinked coverage, and the audit-log side effect, which are the critical facts for a read-mostly forensic scan. The notable gap is that paging via offset is unexplained, and no hint is given about what the socket rows contain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the schema already documents 'image' and 'offset' and the description need not repeat them. The description adds no meaning about the image path requirement or the paging semantics of offset, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource ('Scan memory for network sockets') and adds a distinguishing scope note ('including unlinked/hidden ones'), which sets it apart from a plain socket listing. It also identifies the underlying Volatility 3 plugin, which helps an agent map it to the family. It stops short of stating explicitly how its coverage differs from the sibling sockstat beyond 'pair with'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied rather than prescribed: 'Pair with sockstat for C2 hunting' gives a scenario and a companion tool, which is useful context. There is no explicit when-to-use versus when-not guidance, no stated prerequisite of pairing, and no condition that selects sockscan over sockstat as the primary call.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.