Comprehensive List of PEV Commands with Descriptions - Printable Version +- WildlandsTech (https://wildlandstech.com) +-- Forum: Programming (https://wildlandstech.com/forumdisplay.php?fid=3) +--- Forum: Batch & Shell Scripting (https://wildlandstech.com/forumdisplay.php?fid=42) +--- Thread: Comprehensive List of PEV Commands with Descriptions (/showthread.php?tid=154) |
Comprehensive List of PEV Commands with Descriptions - Sneakyone - 09-03-2024 Comprehensive List of PEV Commands with Descriptions **PEV** (PE Viewer) is a command-line utility used for analyzing Portable Executable (PE) files on Windows systems. It provides detailed information about the structure and contents of PE files, including headers, sections, imports, and more. Below is a detailed list of PEV commands, along with descriptions and examples. 1. Displaying PE Header Information Description: Displays detailed information about the PE header of a file, including the DOS header, NT headers, and optional headers. Code: pev -H [FilePath] Code: pev -H example.exe 2. Displaying Section Headers Description: Displays information about the section headers within a PE file, including section names, virtual addresses, and sizes. Code: pev -S [FilePath] Code: pev -S example.exe 3. Displaying Import Table Information Description: Displays the import table of a PE file, showing the libraries and functions that the executable imports. Code: pev -I [FilePath] Code: pev -I example.exe 4. Displaying Export Table Information Description: Displays the export table of a PE file, listing the functions and symbols that the executable exports. Code: pev -E [FilePath] Code: pev -E example.dll 5. Displaying PE File Entry Point Description: Displays the entry point address of a PE file, which is the address where execution starts. Code: pev -e [FilePath] Code: pev -e example.exe 6. Displaying Resources Information Description: Displays information about the resources embedded in a PE file, such as icons, dialogs, and strings. Code: pev -R [FilePath] Code: pev -R example.exe 7. Displaying PE File Version Information Description: Displays the version information stored in the PE file, such as product name, version number, and company name. Code: pev -V [FilePath] Code: pev -V example.exe 8. Displaying Relocation Table Description: Displays the relocation table of a PE file, showing how the executable can be loaded at different memory addresses. Code: pev -r [FilePath] Code: pev -r example.exe 9. Displaying Debug Information Description: Displays the debug information contained within a PE file, such as symbols and line number information. Code: pev -d [FilePath] Code: pev -d example.exe 10. Displaying Bound Import Information Description: Displays information about the bound imports in a PE file, which can improve load times by pre-linking to certain DLLs. Code: pev -B [FilePath] Code: pev -B example.exe 11. Displaying TLS (Thread Local Storage) Information Description: Displays information about the Thread Local Storage (TLS) directory in a PE file, which is used for thread-specific data. Code: pev -T [FilePath] Code: pev -T example.exe 12. Displaying PE File Characteristics Description: Displays the characteristics of a PE file, such as whether it is a DLL, system file, or has specific attributes. Code: pev -C [FilePath] Code: pev -C example.exe 13. Displaying Header Checksum Description: Displays the checksum of the PE file's headers, which is used to verify the integrity of the file. Code: pev -c [FilePath] Code: pev -c example.exe 14. Displaying Overlay Information Description: Displays information about the overlay of a PE file, which is additional data appended to the end of the file that is not part of the executable's normal sections. Code: pev -O [FilePath] Code: pev -O example.exe 15. Displaying Help Information Description: Displays help information for the PEV command, listing all available options and their descriptions. Code: pev -h Code: pev -h Conclusion The **PEV** command is a powerful tool for analyzing and inspecting Portable Executable files, making it an essential utility for developers, security analysts, and system administrators. By mastering these commands, you can gain deep insights into the structure and contents of PE files, ensuring better control over executable management and security. Happy Analyzing! |