Lucene search
+L

Microsoft Paint 3D (Windows SMB Login)

🗓️ 26 May 2025 00:00:00Reported by Copyright (C) 2025 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 9 Views

SMB login detection for Microsoft Paint 3D to gather OS version and installation details.

Code
# SPDX-FileCopyrightText: 2025 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.836359");
  script_version("2025-06-02T05:40:56+0000");
  script_tag(name:"cvss_base", value:"0.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
  script_tag(name:"last_modification", value:"2025-06-02 05:40:56 +0000 (Mon, 02 Jun 2025)");
  script_tag(name:"creation_date", value:"2025-05-26 14:51:16 +0530 (Mon, 26 May 2025)");
  script_tag(name:"qod_type", value:"registry");
  script_name("Microsoft Paint 3D (Windows SMB Login)");
  script_tag(name:"summary", value:"SMB login-based detection of Microsoft Paint 3D");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2025 Greenbone AG");
  script_family("Product detection");
  script_dependencies("smb_reg_service_pack.nasl");
  script_require_ports(139, 445);
  script_mandatory_keys("SMB/WindowsVersion");
  exit(0);
}

include("smb_nt.inc");
include("host_details.inc");
include("secpod_smb_func.inc");
include("cpe.inc");

key = "SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\PackageRepository\Packages\";

if(!registry_key_exists(key:key)) {
  exit(0);
}

foreach item (registry_enum_keys(key:key))
{
  if("Microsoft.MSPaint" >< item)
  {
    appPath = registry_get_sz(key:key + item, item:"Path");
    if("Microsoft.MSPaint" >< appPath)
    {
      waiVer = eregmatch( pattern:"Microsoft.MSPaint_([0-9.]+)_x", string:appPath );
      if(waiVer)
      {
        set_kb_item(name:"MSPaint3D/Win/Ver", value:waiVer[1]);
        set_kb_item(name:"MSPaint3D/Win/detected", value:TRUE);

        register_and_report_cpe( app:"Microsoft Paint 3D", ver:waiVer[1], concluded:waiVer[0],
                             base:"cpe:/a:microsoft:paint_3d:", expr:"^([0-9.]+)",
                             insloc:appPath, regService:"smb-login", regPort:0 );
        exit(0);
      }
    }
  }
}

exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

02 Jun 2025 00:00Current
7.3High risk
Vulners AI Score7.3
9