Ir al contenido

Volatility 2: Windows Commands (Complete List without Examples)

Note: All commands require --profile=X. General usage example: sudo docker run --rm -v $PWD:/dumps:ro vol2 -f /dumps/victim.raw...

0views

Note: All commands require --profile=X. General usage example: sudo docker run --rm -v $PWD:/dumps:ro vol2 -f /dumps/victim.raw --profile=Win7SP1x64 [COMANDO]

  • imageinfo: We will identify the operating system profile, Service Pack, and architecture.
  • kdbgscan: We will search for the KDBG block to find the profile if imageinfo fails.
  • kpcrscan: We will search for KPCR structures (Processor Control Region).
  • hibinfo: We will show information about hibernation files.
  • crashinfo: We will show information about crash dumps.
  • qemuinfo / vboxinfo / vmwareinfo: Specific information if the image comes from a virtual machine.
  • raw2dmp: We will convert physical memory to Windbg crash dump format.
  • pslist: We will list active processes (EPROCESS).
  • pstree: Process tree (Parent/Child).
  • psscan: Scan memory to find processes (including hidden/terminated).
  • psxview: Compare process lists to find rootkits.
  • dlllist: List DLLs loaded by a process.
  • dlldump: Extract a DLL from memory.
  • ldrmodules: Detect unlinked DLLs by comparing the 3 load lists.
  • cmdline: Process command-line arguments.
  • envars: Process environment variables.
  • getsids: Show the SIDs (users) owning each process.
  • privs: Show enabled privileges in processes (e.g., SeDebugPrivilege).
  • memdump: Dump a process's memory (Pageable).
  • memmap: Show the memory map.
  • procdump: Extract a process executable.
  • thrdscan: Scan memory for threads.
  • threads: Investigate _ETHREAD and _KTHREAD structures.
  • joblinks: Information on job links (Jobs).

3. Memory, Injection, and VAD (Virtual Address Descriptor)

Sección titulada «3. Memoria, Inyección y VAD (Virtual Address Descriptor)»
  • malfind: We will look for code injections (VADs with RWX + missing MZ headers).
  • vadinfo: Detailed information about memory regions (VAD).
  • vaddump: We will extract VAD regions to files.
  • vadtree: VAD node tree.
  • vadwalk: We will traverse the VAD tree.
  • yarascan: We will scan memory with YARA rules or text strings.
  • patcher: We will patch memory based on page scans (Advanced).
  • netscan: (Win7+) We will scan active/closed connections and sockets.
  • connscan: (XP/2003) We will scan TCP connections.
  • sockets: (XP/2003) We will list open sockets.
  • sockscan: We will scan TCP socket pools.
  • connections: (XP/2003) We will list open connections.
  • hivelist: We will list the registry hives and their addresses.
  • hivescan: We will scan memory searching for registry headers.
  • hivedump: We will dump an entire hive.
  • printkey: We will print a specific registry key.
  • hashdump: We will extract password hashes (LM/NTLM).
  • lsadump: We will extract LSA secrets (decrypted).
  • cachedump: We will extract domain hashes from cache memory (MScache).
  • dumpregistry: We will dump registry files to disk.
  • userassist: We will analyze UserAssist keys (executed programs).
  • shutdowntime: We will read the shutdown time from the registry.
  • amcache: AmCache information (application execution).
  • shimcache: We will analyze the ShimCache (application compatibility).
  • filescan: We will scan FILE_OBJECT objects (open files).
  • dumpfiles: We will extract files from memory.
  • mftparser: We will scan and analyze the Master File Table (MFT) in memory (recovering deleted files).
  • shellbags: We will analyze Shellbags (folder browsing history).
  • handles: We will list open handles (files, keys, mutexes...).
  • modules: We will list loaded kernel modules.
  • modscan: We will scan memory for kernel modules.
  • moddump: We will extract a kernel driver to a file.
  • driverscan: We will scan for driver objects.
  • driverirp: We will detect hooks in driver IRP tables (Rootkits).
  • drivermodule: We will associate drivers with modules.
  • devicetree: We will display the device tree.
  • svcscan: We will scan Windows services (Services).
  • servicediff: Compare services to find discrepancies.
  • ssdt: We will display the System Service Descriptor Table (Kernel Hooks).
  • idt: We will display the Interrupt Descriptor Table.
  • gdt: We will display the Global Descriptor Table.
  • callbacks: We will display system notification routines (persistence).
  • apihooks: We will detect API hooks (User/Kernel).
  • mutantscan: We will scan Mutex objects.
  • symlinkscan: We will scan symbolic links.
  • unloadedmodules: We will list unloaded modules (but still in memory).
  • timers: We will list kernel timers and associated DPCs.
  • gditimers: We will list GDI timers.
  • objtypescan: We will scan object type objects.
  • bigpools: We will search for “Big Page Pools”.
  • screenshot: We will visually reconstruct GDI windows.
  • clipboard: We will extract the clipboard.
  • cmdscan: We will scan command history (XP/Win7).
  • consoles: We will scan console output history (conhost).
  • deskscan: We will scan desktops (tagDESKTOP).
  • wndscan: We will scan windows (window stations).
  • atoms: We will list session atom tables.
  • atomscan: We will scan atom tables.
  • sessions: We will list user sessions (_MM_SESSION_SPACE).
  • editbox: We will show information from edit controls (written text).
  • notepad: We will attempt to extract text from Notepad processes.
  • auditpol: We will show audit policies.
  • messagehooks: We will list window message hooks (Keyloggers).
  • gahti: We will search for user handle type information (GetUserHandleTypeInfo).
  • truecryptpassphrase: We will search for TrueCrypt passwords in memory dumps.
  • truecryptmaster: We will recover TrueCrypt 7.1a master keys.
  • truecryptsummary: We will summarize the TrueCrypt status.
  • dumpcerts: We will extract RSA private and public SSL keys.
  • volshell: We will open an interactive shell within the memory image.
  • strings: We will relate physical strings to virtual ones.