Skip to main content
Glama
DFA

DFA

dfa_volatility_linux_tty_check

Detect keylogger hooks on Linux TTY devices in a memory image via Volatility 3 linux.tty_check; evidence stays read-only and the check is appended to the DFA audit log.

Instructions

Check tty devices for hooks (keylogger check, Volatility 3 linux.tty_check). 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_tty_check"
  }
}

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.8/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false, which could otherwise look alarming; the description resolves this by stating it does not modify evidence and instead appends to the dfa audit log. That is genuinely additive context beyond the annotations. It stops short of describing what a positive hook finding looks like or any rate/performance caveats.

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

Conciseness5/5

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

Two compact sentences with the purpose front-loaded and the side-effect disclosure second. No filler or repetition of the tool name.

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?

For a read-only, two-parameter forensic plugin with full schema coverage and no output schema, the description covers purpose, provenance, and the audit-log side effect. Only the expected output shape of a hook check is unstated, a minor gap given there is no output schema to rely on.

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 both 'image' and 'offset' are already documented, and the description adds nothing about them. Baseline 3 applies; the description neither clarifies the meaning of 'offset' for paged output nor warns that it is not a general-purpose filter.

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?

Names a specific verb and resource ('Check tty devices for hooks') and anchors it to the underlying Volatility 3 plugin (linux.tty_check) plus a plain-language use case (keylogger check). That is enough to distinguish it from siblings like dfa_volatility_linux_bash or dfa_volatility_linux_check_modules, though no sibling is named explicitly.

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?

The parenthetical 'keylogger check' implies when the tool is useful, but there is no explicit when-to-use/when-not guidance and no routing to alternative plugins (e.g., bash history or malfind) if the tty check comes up empty.

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