Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/tadash10/detect-cve-2024-0762
OSINT (Open Source Intelligence)Vulnerability AnalysisMalware AnalysisThreat IntelligenceIncident ResponseFirmware Analysis
GitHubtadash10/detect-cve-2024-0762

Detect-CVE-2024-0762

Detecting vulnerabilities like CVE-2024-0762, particularly in UEFI firmware, is quite challenging due to the low-level nature

View Repository
31 year agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2024-0762 Detection and Malware Analysis Script

Overview

This script is designed to detect UEFI firmware versions and assess them for vulnerabilities related to CVE-2024-0762. Additionally, it integrates with the VirusTotal API to analyze files for malware, providing comprehensive security insights:

Features

  • UEFI Firmware Detection: Retrieves the UEFI firmware version from Windows and Linux systems.
  • Vulnerability Assessment: Checks if the detected firmware version is vulnerable to CVE-2024-0762.
  • VirusTotal Integration: Submits files to VirusTotal for malware analysis and retrieves detailed reports.

Requirements

  • Python 3.x: Ensure Python 3 is installed.
  • Requests Library: Required for making HTTP requests to the VirusTotal API.
    root@kitploit:~
    pip install requests
    

Setup

root@kitploit:~
Obtain a VirusTotal API Key:
    Register at VirusTotal and obtain your API key.

Configure API Key:
    Replace 'your_api_key' in the script with your actual VirusTotal API key. Consider storing it in an environment variable or secure location.

Set File Path:
    Update the file_path variable in the script to point to the file you want to analyze.

Usage

root@kitploit:~
Save the Script:
    Save the script to a file, e.g., cve_2024_0762_detection.py.

Run the Script:
    Execute the script using Python:
    python cve_2024_0762_detection.py

        Review Results:
    The script will output the detected UEFI firmware version and indicate if it is vulnerable to CVE-2024-0762.
    If a vulnerability is detected, the script submits the specified file to VirusTotal and displays the analysis report.

Script Functions

root@kitploit:~
execute_command(command): Executes a system command and returns the output. Handles errors and logs failures.
get_uefi_version(): Retrieves the UEFI firmware version based on the operating system (Windows or Linux).
check_vulnerability(version): Checks if the retrieved firmware version is listed as vulnerable.
submit_to_virustotal(file_path): Uploads a file to VirusTotal and returns the file ID.
get_virustotal_report(file_id): Retrieves the analysis report for a submitted file from VirusTotal.
main(): Coordinates the detection and analysis processes.

Error Handling

root@kitploit:~
Logs detailed error messages for command execution failures and API request issues.
Ensures graceful exit with meaningful error information.

Security Considerations

root@kitploit:~
API Key Management: Securely manage your API key and avoid hardcoding it in the script. Use environment variables or a secrets manager.
Data Handling: Ensure that sensitive data, including API responses and logs, is handled and stored securely.

Contributing

root@kitploit:~
Contributions are welcome. Please fork the repository and submit pull requests or open issues for discussion.

License

root@kitploit:~
This script is provided under the MIT License. Use it at your own risk.

Key Points in the README:

  1. Overview: Provides a summary of the script’s purpose and functionality.
  2. Features: Lists the main capabilities of the script.
  3. Requirements: Specifies prerequisites and installation instructions.
  4. Setup: Guides users through configuring the script, including obtaining an API key and setting file paths.
  5. Usage: Provides instructions on how to run the script and interpret the results.
  6. Script Functions: Describes the key functions in the script.
  7. Error Handling: Notes on how the script handles errors.
  8. Security Considerations: Emphasizes best practices for API key management and data handling.
  9. Contributing: Information on how to contribute to the project.
  10. License: Details the licensing terms.
  11. Contact: Provides contact information for further support.

This README follows industry standards and provides clear, structured information to help users understand and effectively utilize the script. THANKS FOR CONTRIBUING !!!!!!

Download Tool