Energizer DUO USB Battery Charger Software Backdoor (credentialed check) - Nessus

Critical   Plugin ID: 45006

This page contains detailed information about the Energizer DUO USB Battery Charger Software Backdoor (credentialed check) Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 45006
Name: Energizer DUO USB Battery Charger Software Backdoor (credentialed check)
Filename: energizer_duo_arugizer_backdoor.nasl
Vulnerability Published: 2010-03-05
This Plugin Published: 2010-03-08
Last Modification Time: 2018-11-15
Plugin Version: 1.11
Plugin Type: local
Plugin Family: Backdoors
Dependencies: smb_hotfixes.nasl
Required KB Items [?]: SMB/Registry/Enumerated

Vulnerability Information


Severity: Critical
Vulnerability Published: 2010-03-05
Patch Published: N/A
CVE [?]: CVE-2010-0103
CPE [?]: N/A

Synopsis

The remote Windows host has a backdoor.

Description

The remote Windows host includes an install of the Energizer DUO software, likely included with a Energizer DUO USB battery charger to allow a user to view the battery charging status.

The installed version of this software includes the Arugizer backdoor (Arucer.dll), which is reported to have been distributed with the Energizer DUO software.

An unauthenticated, remote attacker who connects to this port can use the backdoor to list directories, send and receive files, and execute programs.

Solution

Verify whether the remote host has been compromised and reinstall the operating system if necessary.

Public Exploits


Target Network Port(s): 139, 445
Target Asset(s): N/A
Exploit Available: True (Metasploit Framework, Exploit-DB)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Energizer DUO USB Battery Charger Software Backdoor (credentialed check) vulnerability:

  1. Metasploit: exploit/windows/backdoor/energizer_duo_payload
    [Energizer DUO USB Battery Charger Arucer.dll Trojan Code Execution]
  2. Metasploit: auxiliary/scanner/backdoor/energizer_duo_detect
    [Energizer DUO Trojan Scanner]
  3. Exploit-DB: exploits/windows/remote/16390.rb
    [EDB-16390: Arugizer Trojan Horse (Energizer DUO) - Code Execution (Metasploit)]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS V2 Vector [?]: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:F/RL:U/RC:ND
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:9.5 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:9.5 (High)

Go back to menu.

Plugin Source


This is the energizer_duo_arugizer_backdoor.nasl nessus plugin source code. This script is Copyright (C) 2010-2018 Tenable Network Security, Inc.

#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");


if (description)
{
  script_id(45006);
  script_version("1.11");
 script_cvs_date("Date: 2018/11/15 20:50:16");

  script_cve_id("CVE-2010-0103");
  script_bugtraq_id(38571);
  script_xref(name:"CERT", value:"154421");

  script_name(english:"Energizer DUO USB Battery Charger Software Backdoor (credentialed check)");
  script_summary(english:"Looks for Arucer.dll in conjunction with UsbCharger software");

  script_set_attribute(attribute:"synopsis", value:"The remote Windows host has a backdoor.");
  script_set_attribute(attribute:"description", value:
"The remote Windows host includes an install of the Energizer DUO
software, likely included with a Energizer DUO USB battery charger to
allow a user to view the battery charging status.

The installed version of this software includes the Arugizer backdoor
(Arucer.dll), which is reported to have been distributed with the
Energizer DUO software.

An unauthenticated, remote attacker who connects to this port can use
the backdoor to list directories, send and receive files, and execute
programs.");
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?2702ecd9");
  script_set_attribute(
    attribute:"see_also",
    value:"http://www.nessus.org/u?b341c9b0"
  );
  script_set_attribute(attribute:"solution", value:
"Verify whether the remote host has been compromised and reinstall the
operating system if necessary.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:F/RL:U/RC:ND");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_set_attribute(attribute:"metasploit_name", value:'Energizer DUO USB Battery Charger Arucer.dll Trojan Code Execution');
  script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");
script_cwe_id(94);

  script_set_attribute(attribute:"vuln_publication_date", value:"2010/03/05");
  script_set_attribute(attribute:"plugin_publication_date", value:"2010/03/08");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Backdoors");

  script_copyright(english:"This script is Copyright (C) 2010-2018 Tenable Network Security, Inc.");

  script_dependencies("smb_hotfixes.nasl");
  script_require_keys("SMB/Registry/Enumerated");
  script_require_ports(139, 445);

  exit(0);
}


include("smb_func.inc");
include("smb_hotfixes.inc");
include("audit.inc");

if (!get_kb_item("SMB/Registry/Enumerated")) exit(0);


# Connect to the appropriate share.
name    =  kb_smb_name();
port    =  kb_smb_transport();
#if (!get_port_state(port)) exit(0, "Port "+port+" is not open.");
login   =  kb_smb_login();
pass    =  kb_smb_password();
domain  =  kb_smb_domain();

#soc = open_sock_tcp(port);
#if (!soc) exit(1, "Failed to open a socket on port "+port+".");

#session_init(socket:soc, hostname:name);
if(!smb_session_init()) audit(AUDIT_FN_FAIL, 'smb_session_init');

# Unless we're paranoid, make sure UsbCharger software is (or was) installed.
if (report_paranoia < 2)
{
  installed = FALSE;

  rc = NetUseAdd(login:login, password:pass, domain:domain, share:"IPC$");
  if (rc != 1)
  {
    NetUseDel();
    exit(1, "Can't connect to IPC$ share.");
  }

  # Scan through the Installer's list of software.
  list = get_kb_list("SMB/Registry/HKLM/SOFTWARE/Microsoft/Windows/CurrentVersion/Uninstall/*/DisplayName");
  if (!isnull(list))
  {
    foreach name (keys(list))
    {
      prod = list[name];
      if (prod && prod =~ "Energizer UsbCharger")
      {
        installed = TRUE;
        break;
      }
    }
  }

  if (!installed)
  {
    # Connect to remote registry.
    hklm = RegConnectRegistry(hkey:HKEY_LOCAL_MACHINE);
    if (isnull(hklm))
    {
      NetUseDel();
      exit(1, "Can't connect to remote registry.");
    }

    key = "SOFTWARE\UsbCharger";
    key_h = RegOpenKey(handle:hklm, key:key, mode:MAXIMUM_ALLOWED);
    if (!isnull(key_h))
    {
      installed = TRUE;
      RegCloseKey(handle:key_h);
    }

    RegCloseKey(handle:hklm);
  }
  if (!installed)
  {
    NetUseDel();
    exit(0, "No trace of the Energizer DUO software was found.");
  }
  NetUseDel(close:FALSE);
}


# Check for the backdoor itself.
path = hotfix_get_systemroot();
if (!path) exit(1, "Can't get system root.");
report = "";

share = ereg_replace(pattern:"^([A-Za-z]):.*", replace:"\1$", string:path);
dll =  ereg_replace(pattern:"^[A-Za-z]:(.*)", replace:"\1\system32\Arucer.dll", string:path);

rc = NetUseAdd(login:login, password:pass, domain:domain, share:share);
if (rc != 1)
{
  NetUseDel();
  exit(1, "Can't connect to "+share+" share.");
}

fh = CreateFile(
  file:dll,
  desired_access:GENERIC_READ,
  file_attributes:FILE_ATTRIBUTE_NORMAL,
  share_mode:FILE_SHARE_READ,
  create_disposition:OPEN_EXISTING
);
if (!isnull(fh))
{
  report = '\n' +
    'Nessus found the backdoor installed as :\n' +
    '\n' +
    '  ' + path + '\\system32\\Arucer.dll';

  CloseFile(handle:fh);
}
NetUseDel();


# Issue a report if necessary.
if (report)
{
  if (report_verbosity > 0) security_hole(port:port, extra:report);
  else security_hole(port);

  exit(0);
}
else exit(0, "The backdoor was not found.");

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/energizer_duo_arugizer_backdoor.nasl
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\energizer_duo_arugizer_backdoor.nasl
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/energizer_duo_arugizer_backdoor.nasl

Go back to menu.

How to Run


Here is how to run the Energizer DUO USB Battery Charger Software Backdoor (credentialed check) as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select Backdoors plugin family.
  6. On the right side table select Energizer DUO USB Battery Charger Software Backdoor (credentialed check) plugin ID 45006.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl energizer_duo_arugizer_backdoor.nasl -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a energizer_duo_arugizer_backdoor.nasl -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - energizer_duo_arugizer_backdoor.nasl -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state energizer_duo_arugizer_backdoor.nasl -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: CERT | Computer Emergency Response Team: CWE | Common Weakness Enumeration:
  • CWE-94 (Weakness) Improper Control of Generation of Code ('Code Injection')
See also: Similar and related Nessus plugins:
  • 45005 - Arugizer Backdoor Detection
  • 22034 - MS06-035: Vulnerability in Server Service Could Allow Remote Code Execution (917159) (uncredentialed check)
  • 22194 - MS06-040: Vulnerability in Server Service Could Allow Remote Code Execution (921883) (uncredentialed check)
  • 26016 - Hexamail Server pop3 Service USER Command Remote Overflow (credentialed check)
  • 29314 - MS07-065: Vulnerability in Message Queuing Could Allow Remote Code Execution (937894) (uncredentialed check)
  • 31122 - SAPlpd < 6.29 Multiple Vulnerabilities (credentialed check)
  • 34412 - MS08-059: Microsoft Host Integration Server (HIS) SNA RPC Request Remote Overflow (956695) (uncredentialed check)
  • 34477 - MS08-067: Microsoft Windows Server Service Crafted RPC Request Handling Remote Code Execution (958644) (ECLIPSEDWING) (uncredentialed check)
  • 34821 - MS08-067: Vulnerability in Server Service Could Allow Remote Code Execution (958644) (ECLIPSEDWING) (uncredentialed check / IPS)
  • 35362 - MS09-001: Microsoft Windows SMB Vulnerabilities Remote Code Execution (958687) (uncredentialed check)
  • 35635 - MS09-004: Vulnerability in Microsoft SQL Server Could Allow Remote Code Execution (959420) (uncredentialed check)
  • 38985 - Apple iTunes < 8.2 itms: URI Handling Overflow (credentialed check)
  • 38986 - Apple iTunes < 8.2 itms: URI Handling Overflow (uncredentialed check)
  • 40578 - WordPress < 2.8.4 'wp-login.php' 'key' Parameter Remote Administrator Password Reset (uncredentialed check)
  • 40825 - MS09-053: Microsoft IIS FTPd NLST Command Remote Buffer Overflow (975191) (uncredentialed check)
  • 40887 - MS09-050: Microsoft Windows SMB2 _Smb2ValidateProviderCallback() Vulnerability (975497) (EDUCATEDSCHOLAR) (uncredentialed check)
  • 41060 - Apple iTunes < 9.0.1 PLS File Buffer Overflow (credentialed check)
  • 41061 - Apple iTunes < 9.0.1 PLS File Buffer Overflow (uncredentialed check)
  • 45390 - Apple iTunes < 9.1 Multiple Vulnerabilities (credentialed check)
  • 45391 - Apple iTunes < 9.1 Multiple Vulnerabilities (uncredentialed check)
  • 45503 - Computer Associates XOsoft Multiple Flaws (CA20100406) (credentialed check)
  • 46017 - MS10-025: Vulnerability in Microsoft Windows Media Services Could Allow Remote Code Execution (980858) (uncredentialed check)
  • 47037 - Apple iTunes < 9.2 Multiple Vulnerabilities (credentialed check)
  • 47038 - Apple iTunes < 9.2 Multiple Vulnerabilities (uncredentialed check)
  • 47556 - MS10-012: Vulnerabilities in SMB Could Allow Remote Code Execution (971468) (uncredentialed check)
  • 49286 - MS10-061: Vulnerability in Print Spooler Service Could Allow Remote Code Execution (2347290) (EMERALDTHREAD) (uncredentialed check)
  • 49806 - MS10-070: Vulnerability in ASP.NET Could Allow Information Disclosure (2418042) (uncredentialed check)
  • 51956 - MS11-004: Vulnerability in Internet Information Services (IIS) FTP Service Could Allow Remote Code Execution (2489256) (uncredentialed check)
  • 52534 - Apple iTunes < 10.2 Multiple Vulnerabilities (credentialed check)
  • 52535 - Apple iTunes < 10.2 Multiple Vulnerabilities (uncredentialed check)
  • 53625 - IBM Tivoli Directory Server Vulnerabilities (credentialed check)
  • 54943 - IBM Tivoli Directory Server SASL Bind Request Buffer Overflow (uncredentialed check)
  • 55471 - Novell File Reporter Engine RECORD Element Tag Parsing Overflow (credentialed check)
  • 55544 - Novell File Reporter Engine RECORD Element Tag Parsing Overflow (uncredentialed check)
  • 55551 - HP Data Protector <= A.06.20 Multiple Vulnerabilities (credentialed check)

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file energizer_duo_arugizer_backdoor.nasl version 1.11. For more plugins, visit the Nessus Plugin Library.

Go back to menu.