SMB login-based detection of the Gemalto Sentinel UltraPro 32bit
Client Library.
{"id": "OPENVAS:1361412562310107630", "vendorId": null, "type": "openvas", "bulletinFamily": "scanner", "title": "Gemalto Sentinel UltraPro 32bit Client Library Detection (Windows SMB Login)", "description": "SMB login-based detection of the Gemalto Sentinel UltraPro 32bit\n Client Library.", "published": "2019-03-30T00:00:00", "modified": "2022-05-25T00:00:00", "cvss": {"score": 0.0, "vector": "NONE"}, "cvss2": {}, "cvss3": {}, "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310107630", "reporter": "Copyright (C) 2019 Greenbone Networks GmbH", "references": ["https://sentinel.gemalto.com/"], "cvelist": [], "immutableFields": [], "lastseen": "2022-05-30T14:06:04", "viewCount": 7, "enchantments": {"dependencies": {}, "score": {"value": 0.1, "vector": "NONE"}, "backreferences": {}, "exploitation": null, "vulnersScore": 0.1}, "_state": {"dependencies": 1659865081, "score": 1659809374, "epss": 1678876529}, "_internal": {"score_hash": "63fade4fa37b5a128cb1b92bdab7afe4"}, "pluginID": "1361412562310107630", "sourceData": "# Copyright (C) 2019 Greenbone Networks GmbH\n# Some text descriptions might be excerpted from (a) referenced\n# source(s), and are Copyright (C) by the respective right holder(s).\n#\n# SPDX-License-Identifier: GPL-2.0-or-later\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU General Public License\n# as published by the Free Software Foundation; either version 2\n# of the License, or (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.107630\");\n script_version(\"2022-05-25T07:40:23+0000\");\n script_tag(name:\"last_modification\", value:\"2022-05-25 07:40:23 +0000 (Wed, 25 May 2022)\");\n script_tag(name:\"creation_date\", value:\"2019-03-30 13:50:35 +0100 (Sat, 30 Mar 2019)\");\n script_tag(name:\"cvss_base\", value:\"0.0\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:N/I:N/A:N\");\n script_name(\"Gemalto Sentinel UltraPro 32bit Client Library Detection (Windows SMB Login)\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2019 Greenbone Networks GmbH\");\n script_family(\"Product detection\");\n script_dependencies(\"smb_reg_service_pack.nasl\", \"gb_wmi_access.nasl\", \"gb_gemalto_sentinel_protection_installer_detect_win.nasl\", \"lsc_options.nasl\");\n script_mandatory_keys(\"gemalto/sentinel_protection_installer/win/detected\", \"WMI/access_successful\", \"SMB/WindowsVersion\");\n script_exclude_keys(\"win/lsc/disable_wmi_search\");\n script_require_ports(139, 445);\n\n script_tag(name:\"summary\", value:\"SMB login-based detection of the Gemalto Sentinel UltraPro 32bit\n Client Library.\");\n\n script_xref(name:\"URL\", value:\"https://sentinel.gemalto.com/\");\n\n script_tag(name:\"qod_type\", value:\"executable_version\");\n\n exit(0);\n}\n\nif( get_kb_item( \"win/lsc/disable_wmi_search\" ) )\n exit( 0 );\n\ninclude(\"host_details.inc\");\ninclude(\"smb_nt.inc\");\ninclude(\"secpod_smb_func.inc\");\ninclude(\"wmi_file.inc\");\ninclude(\"list_array_func.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"cpe.inc\");\n\ninfos = kb_smb_wmi_connectinfo();\nif( ! infos )\n exit( 0 );\n\nhandle = wmi_connect( host:infos[\"host\"], username:infos[\"username_wmi_smb\"], password:infos[\"password\"] );\nif( ! handle )\n exit( 0 );\n\nfileList = wmi_file_file_search( handle:handle, dirPathLike:\"%program files%\", fileName:\"ux32w\", fileExtn:\"dll\", includeHeader:FALSE );\nwmi_close( wmi_handle:handle );\nif( ! fileList || ! is_array( fileList ) )\n exit( 0 );\n\nloc = fileList[0];\nif( loc ) {\n split = split( loc, sep:\"\\\" );\n location = ereg_replace( string:loc, pattern:split[max_index( split ) - 1], replace:\"\" );\n}\n\nversion = fetch_file_version( sysPath:location, file_name:\"ux32w.dll\" );\n\nset_kb_item( name:\"gemalto/sentinel_ultrapro_32bit_client_library/win/detected\", value:TRUE );\n\nregister_and_report_cpe( app:\"Gemalto Sentinel UltraPro 32bit Client Library\", ver:version, concluded:loc,\n base:\"cpe:/a:gemalto:sentinel_ultrapro_32bit_client_library:\", expr:\"^([0-9.]+)\", insloc:location, regService:\"smb-login\", regPort:0 );\nexit( 0 );\n", "naslFamily": "Product detection"}