Skip to main content
Glama

volatility_linux

Analyze Linux memory dumps using Volatility 2 plugins to extract forensic data like processes, network connections, and system information for security investigations.

Instructions

Run a Volatility 2 Linux plugin against a memory dump. Returns plugin, profile, success, output, and errors. Read-only analysis. Requires volatility2 (vol.py) on PATH.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dump_pathYesPath to the Linux memory dump file
profileYesVolatility 2 profile name, e.g. 'LinuxCentOS7_7_1908x64'
pluginYesVolatility 2 Linux plugin to run

Implementation Reference

  • Handler implementation for the 'volatility_linux' tool which executes the Volatility 2 plugin against a memory dump.
    async ({ dump_path, profile, plugin }) => {
      const volBin = findVolatility2();
      if (!volBin) {
        const result = { error: "Volatility 2 not found. Install it and ensure vol.py is on PATH." };
        return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
      }
    
      const dump = validateDump(dump_path);
    
      const res = await runCmd(
        volBin,
        [`--profile=${profile}`, "-f", dump, plugin],
        { timeout: 300 }
      );
    
      const result = {
        plugin,
        profile,
        success: res.success,
        output: res.stdout.slice(0, 5000),
        errors: res.stderr ? res.stderr.slice(0, 1000) : "",
      };
    
      return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] };
    }
  • Registration and schema definition for the 'volatility_linux' tool.
    server.tool(
      "volatility_linux",
      "Run a Volatility 2 Linux plugin against a memory dump. Returns plugin, profile, success, output, and errors. Read-only analysis. Requires volatility2 (vol.py) on PATH.",
      {
        dump_path: z.string().describe("Path to the Linux memory dump file"),
        profile: z
          .string()
          .describe("Volatility 2 profile name, e.g. 'LinuxCentOS7_7_1908x64'"),
        plugin: z
          .enum([
            "linux_banner",
            "linux_bash",
            "linux_pslist",
            "linux_pstree",
            "linux_netstat",
            "linux_enumerate_files",
            "linux_check_syscall",
            "linux_hidden_modules",
            "linux_lsmod",
            "linux_mount",
            "linux_ifconfig",
            "linux_route_cache",
          ])
          .describe("Volatility 2 Linux plugin to run"),
      },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/operantlabs/operant-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server