07Forensic
Volatility3
An advanced memory forensics framework
00 Basic
- Genraral
bash37 lines
## ------------------| Installpip3 install volatility3
## ------------------| Run All Relevant Plugins for Time-Based Datavol -f "/path/to/file" timeliner.Timeliner
## ------------------| Run Plugins with Configurationsvol -c "/path/to/config.json" --parallelism processes -o "/path/to/output" windows.pslist
## ------------------| Define Specific Plugins and Symbolsvol -p "/path/to/plugins" -s "/path/to/symbols" -f "/path/to/file" windows.callbacks
## ------------------| Render Output in JSONvol -f "/path/to/file" --renderer json windows.psscan
## ------------------| Log output to a file as well as the consolevol -f "/path/to/file" -l logs.txt windows.psscan
## ------------------| Clears out all short-term cached itemsvol --clear-cache
## ------------------| Do not search online for additional JSON filesvol -f "/path/to/file" --offline windows.psscan
## ------------------| Help for plugin specific optionsvol <plugin> -h
## ------------------| Plugin to list the various modular components of Volatilityvol frameworkinfo.FrameworkInfo
## ------------------| Runs the automagics and both prints and outputs configuration in the output directory.vol -f "/path/to/file" configwriter.ConfigWriter
## ------------------| Yara Scansvol -f "/path/to/file" windows.vadyarascan --yara-rules <string>vol -f "/path/to/file" windows.vadyarascan --yara-file "/path/to/file.yar"vol -f "/path/to/file" yarascan.yarascan --yara-file "/path/to/file.yar"01 Windows
01 1 OS Information
bash17 lines
## ------------------| Show OS & kernel details of the memory sample being analyzed.vol -f "/path/to/file" windows.info.Info
## ------------------| List environment variablesvol -f "/path/to/file" windows.envars
## ------------------| lists Processes with Session information extracted from Environmental Variablesvol -f "/path/to/file" windows.sessions.Sessions
## ------------------| Lists the information from a Windows crash dump.vol -f "/path/to/file" windows.crashinfo.Crashinfo
## ------------------| Listing tree based on drivers and attached devices in a particular windows memory image.vol -f "/path/to/file" windows.devicetree.DeviceTree
## ------------------| A generic pool scanner plugin.vol -f "/path/to/file" windows.poolscanner.PoolScanner01.2 Process Information
bash50 lines
## ------------------| Process Listvol -f "/path/to/file" windows.psxviewvol -f "/path/to/file" windows.pslistvol -f "/path/to/file" windows.psscanvol -f "/path/to/file" windows.pstree
## ------------------| List Process Information with Command Line Argumentsvol -f "/path/to/file" windows.cmdlinevol -f "/path/to/file" windows.cmdline --pid <PID>
## ------------------| Process Dumpvol -f "/path/to/file" -o "/path/to/dir" windows.dumpfiles --pid <PID>
## ------------------| Memory Dumpvol -f "/path/to/file" -o "/path/to/dir" windows.memmap --dump --pid <PID>
## ------------------| Extracting Process Executablevol -f "/path/to/file" windows.memmap --dump --pid <PID> --output-dir "/path/to/dir"
## ------------------| Lists process open handlesvol -f "/path/to/file" windows.handlesvol -f "/path/to/file" windows.handles --pid <PID>
## ------------------| DLLsvol -f "/path/to/file" windows.dlllistvol -f "/path/to/file" windows.dlllist --pid <PID>
## ------------------| Unloaded DLLsvol -f "/path/to/file" windows.unloadedmodules
## ------------------| Print the SIDs owning each processvol -f "/path/to/file" windows.getsids
## ------------------| List big page pools.vol -f "/path/to/file" windows.bigpools.BigPools
## ------------------| Lists process token sids.vol -f "/path/to/file" windows.getservicesids.GetServiceSIDs
## ------------------| Lists process token privilegesvol -f "/path/to/file" windows.privileges.Privs
## ------------------| Lists processes whose DeletePending bit is set or whose FILE_OBJECT is set to 0vol -f "/path/to/file" windows.processghosting.ProcessGhosting
## ------------------| Lists statistics about the memory space.vol -f "/path/to/file" windows.statistics.Statistics
## ------------------| Reads output from the strings command and indicates which process(es) each string belongs to.vol -f "/path/to/file" windows.strings.String01.3 Network Information
bash2 lines
## ------------------| Connectionsvol -f "/path/to/file" windows.netscan01.4 Registry Information
bash16 lines
## ------------------| Hive Listvol -f "/path/to/file" windows.registry.hivescanvol -f "/path/to/file" windows.registry.hivelist
## ------------------| Printkeyvol -f "/path/to/file" windows.registry.printkeyvol -f "/path/to/file" windows.registry.printkey --key "HKEY_LOCAL_MACHINE\SAM\SAM"
## ------------------| Hive Dumpvol -f "/path/to/file" windows.joblinks
## ------------------| Lists the certificates in the registry's Certificate Store.vol -f "/path/to/file" windows.registry.certificates.Certificates
## ------------------| Reports registry hives with a hooked GetCellRoutine handlervol -f "/path/to/file" windows.registry.getcellroutine.GetCellRoutine01.5 File System Information
bash22 lines
## ------------------| File Scanvol -f "/path/to/file" windows.filescan
## ------------------| File Dumpvol -f "/path/to/file" -o "/path/to/dir" windows.dumpfilesvol -f "/path/to/file" -o "/path/to/dir" windows.dumpfiles --virtaddr <offset>vol -f "/path/to/file" -o "/path/to/dir" windows.dumpfiles --physaddr <offset>
## ------------------| Scans for drivers present in a particular windows memory image.vol -f "/path/to/file" windows.driverscan.DriverScan
## ------------------| Scans for and parses potential Master Boot Records (MBRs)vol -f "/path/to/file" windows.mbrscan.MBRScan
## ------------------| Allows extracting PE Files from a specific address in a specific address spacevol -f "/path/to/file" windows.pedump.PEDump --pid <PID>
## ------------------| TrueCrypt Cached Passphrase Findervol -f "/path/to/file" windows.truecrypt.Passphrase
## ------------------| Lists version information from PE files.vol -f "/path/to/file" windows.verinfo.VerInfo01.6 Malware Analysis
bash21 lines
## ------------------| Check for Potentially Injected Code (Malfind)vol -f "/path/to/file" windows.malfindvol -f "/path/to/file" windows.malfind --pid <PID>
## ------------------| Driver Scanvol -f "/path/to/file" windows.driverscan
## ------------------| Find Suspicious Userland Threadsvol -f "/path/to/file" windows.suspicious_threads
## ------------------| List SSDT (System Service Descriptor Table)vol -f "/path/to/file" windows.ssdt.SSDT
## ------------------| Lists hollowed processesvol -f "/path/to/file" windows.hollowprocesses
## ------------------| Determines if any loaded drivers were hidden by a rootkitvol -f "/path/to/file" windows.drivermodule.DriverModule
## ------------------| Looks for signs of Skeleton Key malwarevol -f "/path/to/file" windows.skeleton_key_check.Skeleton_Key_Check01.7 Other
bash26 lines
## ------------------| Shim Cachevol -f "/path/to/file" windows.shimcache
## ------------------| Timelinervol -f "/path/to/file" timeliner
## ------------------| Detect Hidden Kernel Modulesvol -f "/path/to/file" windows.modscan
## ------------------| Lists kernel callbacks and notification routines.vol -f "/path/to/file" windows.callbacks.Callbacks
## ------------------| List IRPs for drivers in a particular windows memory image.vol -f "/path/to/file" windows.driverirp.DriverIrp
## ------------------| Print KPCR structure for each processorvol -f "/path/to/file" windows.kpcrs.KPCRs
## ------------------| Lists the loaded modules in a particular windows memory image.vol -f "/path/to/file" windows.ldrmodules.LdrModules
## ------------------| Scans for mutexes present in a particular windows memory image.vol -f "/path/to/file" windows.mutantscan.MutantScan
## ------------------| Reads Shimcache entries from the ahcache.sys AVL treevol -f "/path/to/file" windows.shimcachemem.ShimcacheMem02 Linux
02.1 OS Information
bash24 lines
## ------------------| Attempts to identify potential linux bannersvol -f "/path/to/file" banners.Banners
## ------------------| Determines information about the currently available ISF files, or a specific onevol -f "/path/to/file" isfinfo.IsfInfo
## ------------------| Kernel Modulesvol -f "/path/to/file" linux.lsmod.Lsmodvol -f "/path/to/file" linux.check_modules.Check_modules
## ------------------| List Loaded Kernel Modules (Lsmod)vol -f "/path/to/file" linux.lsmod.Lsmod
## ------------------| Kernel log buffer readervol -f "/path/to/file" linux.kmsg.Kmsg
## ------------------| Bash Historyvol -f "/path/to/file" linux.bash.Bash
## ------------------| Lists processes with their environment variablesvol -f "/path/to/file" linux.envars.Envars
## ------------------| Mount Informationvol -f "/path/to/file" linux.mountinfo.MountInfo02.2 Process Information
bash26 lines
## ------------------| Lists the processes present in a particular linux memory image.vol -f "/path/to/file" linux.pslist.PsList
## ------------------| Scans for processes present in a particular linux image.vol -f "/path/to/file" linux.psscan.PsScan
## ------------------| Plugin for listing processes in a tree based on their parent process ID.vol -f "/path/to/file" linux.pstree.PsTree
## ------------------| Lists processes with their command line argumentsvol -f "/path/to/file" linux.psaux.PsAux
## ------------------| Check_syscall Check system call table for hooks.vol -f "/path/to/file" linux.check_syscall.Check_syscall
## ------------------| Lists all memory mapped ELF files for all processes.vol -f "/path/to/file" linux.elfs.Elfs
## ------------------| Generates an output similar to /proc/iomem on a running system.vol -f "/path/to/file" linux.iomem.IOMem
## ------------------| Enumerate libraries loaded into processesvol -f "/path/to/file" linux.library_list.LibraryList
## ------------------| Lists all memory maps for all processes.vol -f "/path/to/file" linux.proc.Maps02.3 Network Information
bash6 lines
## ------------------| Analyze Open Network Connections (Sockstat)vol -f "/path/to/file" linux.sockstat.Sockstatvol -f "/path/to/file" linux.netfilter.Netfilter
## ------------------| Checks tty devices for hooksvol -f "/path/to/file" linux.tty_check.tty_check02.4 Malware Analysis
bash5 lines
## ------------------| Check for Potentially Injected Code (Malfind)vol -f "/path/to/file" linux.malfind.Malfind
## ------------------| Enumerate Memory Mapped ELF Filesvol -f "/path/to/file" linux.elfs.Elfs02.5 Others
bash2 lines
## ------------------| Parses the keyboard notifier call chainvol -f "/path/to/file" linux.keyboard_notifiers.Keyboard_notifiers03 macOS
03.1 OS Information
bash29 lines
## ------------------| Bash Historyvol -f "/path/to/file" mac.bash.Bash
## ------------------| Mount Informationvol -f "/path/to/file" mac.mount.Mount
## ------------------| Lists loaded kernel modules.vol -f "/path/to/file" mac.lsmod.Lsmod
## ------------------| Lists all open file descriptors for all processes.vol -f "/path/to/file" mac.lsof.Lsof
## ------------------| Kernel Log Buffer (Dmesg)vol -f "/path/to/file" mac.dmesg.Dmesg
## ------------------| Environment Variablesvol -f "/path/to/file" mac.envars.Envars
## ------------------| Determines information about the currently available ISF files, or a specific onevol -f "/path/to/file" isfinfo.IsfInfo
## ------------------| Check_syscall Check system call table for hooks.vol -f "/path/to/file" mac.check_syscall.Check_syscall
## ------------------| Lists kauth listeners and their statusvol -f "/path/to/file" mac.kauth_listeners.Kauth_listeners
## ------------------| Lists kauth scopes and their statusvol -f "/path/to/file" mac.kauth_scopes.Kauth_scopes03.2 Process Information
bash15 lines
## ------------------| Process Listvol -f "/path/to/file" mac.pslist.PsListvol -f "/path/to/file" mac.pstree.PsTree
## ------------------| List All Process Command-Line Argumentsvol -f "/path/to/file" mac.psaux.Psaux
## ------------------| Lists event handlers registered by processesvol -f "/path/to/file" mac.kevents.Kevents
## ------------------| Lists all open file descriptors for all processes.vol -f "/path/to/file" mac.list_files.List_Files
## ------------------| Lists processes that are filtering file system eventsvol -f "/path/to/file" mac.vfsevents.VFSevents03.3 Network Information
bash8 lines
## ------------------| Lists all network connections for all processes.vol -f "/path/to/file" mac.netstat.Netstat
## ------------------| Lists network interface information for all devicesvol -f "/path/to/file" mac.ifconfig.Ifconfig
## ------------------| Lists kauth listeners and their statusvol -f "/path/to/file" mac.kauth_listeners.Kauth_listeners03.4 File System Information
bash2 lines
## ------------------| List Open File Descriptorsvol -f "/path/to/file" mac.lsof.Lsof03.5 Malware Analysis
bash14 lines
## ------------------| Lists process memory ranges that potentially contain injected code.vol -f "/path/to/file" mac.malfind.Malfind
## ------------------| Check for Malicious Kernel Timersvol -f "/path/to/file" mac.timers.Timers
## ------------------| Lists process memory ranges that potentially contain injected code.vol -f "/path/to/file" mac.proc_maps.Maps
## ------------------| Check for malicious kernel timers.vol -f "/path/to/file" mac.timers.Timers
## ------------------| Checks for malicious trustedbsd modulesvol -f "/path/to/file" mac.trustedbsd.Trustedbsd03.6 Others
bash8 lines
## ------------------| Enumerates kernel socket filters.vol -f "/path/to/file" mac.socket_filters.Socket_filters
## ------------------| Runs all relevant plugins that provide time related information and orders the results by time.vol -f "/path/to/file" timeliner.Timeliner
## ------------------| Scans for Intel VT-d structues and generates VM volatility configs for themvol -f "/path/to/file" vmscan.Vmscan