Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Comprehensive List of PEV Commands with Descriptions
#1
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]
Example: To display the PE header information of `example.exe`:
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]
Example: To display section header information for `example.exe`:
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]
Example: To display the import table for `example.exe`:
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]
Example: To display the export table for `example.dll`:
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]
Example: To display the entry point for `example.exe`:
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]
Example: To display the resources in `example.exe`:
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]
Example: To display the version information of `example.exe`:
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]
Example: To display the relocation table for `example.exe`:
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]
Example: To display the debug information for `example.exe`:
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]
Example: To display bound import information for `example.exe`:
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]
Example: To display TLS information for `example.exe`:
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]
Example: To display the characteristics of `example.exe`:
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]
Example: To display the header checksum of `example.exe`:
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]
Example: To display overlay information for `example.exe`:
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
Example: To display help information for PEV:
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!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)