Lucene search
+L

HIDDEN COBRA Trojan 'Volgmer' Detection

🗓️ 29 Nov 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 27 Views

This script detects hidden COBRA Trojan 'Volgmer' in the Windows registry, which is a backdoor Trojan with various capabilities like gathering system information, downloading and uploading files, and executing commands. It can lead to data theft and provide backdoor access to a system

Refs
Code
# SPDX-FileCopyrightText: 2017 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.112144");
  script_version("2023-07-14T16:09:27+0000");
  script_tag(name:"last_modification", value:"2023-07-14 16:09:27 +0000 (Fri, 14 Jul 2023)");
  script_tag(name:"creation_date", value:"2017-11-29 16:06:33 +0100 (Wed, 29 Nov 2017)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");

  script_tag(name:"qod_type", value:"registry");
  script_tag(name:"solution_type", value:"Mitigation");

  script_name("HIDDEN COBRA Trojan 'Volgmer' Detection");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Malware");
  script_dependencies("smb_registry_access.nasl");
  script_require_ports(139, 445);
  script_mandatory_keys("SMB/registry_access");

  script_tag(name:"summary", value:"This script tries to detect indicators in the Windows registry for malicious tools used by North Korean APT group 'HIDDEN COBRA'.");
  script_tag(name:"vuldetect", value:"Checking for the existence of various registry keys that could be an indication of the trojan's presence.");
  script_tag(name:"insight", value:"As a backdoor Trojan, Volgmer has several capabilities including: gathering system information, updating service registry keys,
downloading and uploading files, executing commands, terminating processes, and listing directories.

It is suspected that spear phishing is the primary delivery mechanism for Volgmer infections. However, HIDDEN COBRA actors use a suite of custom tools,
some of which could also be used to initially compromise a system. Therefore, it is possible that additional HIDDEN COBRA malware may be present on network infrastructure compromised with Volgmer.

Volgmer payloads have been observed in 32-bit form as either executables or dynamic-link library (.dll) files.
The malware uses a custom binary protocol to beacon back to the command and control (C2) server, often via TCP port 8080 or 8088,
with some payloads implementing Secure Socket Layer (SSL) encryption to obfuscate communications.

Malicious actors commonly maintain persistence on a victim's system by installing the malware-as-a-service.
Volgmer queries the system and randomly selects a service in which to install a copy of itself. The malware then overwrites the ServiceDLL entry in the selected service's registry entry.
In some cases, HIDDEN COBRA actors give the created service a pseudo-random name that may be composed of various hardcoded words.");
  script_tag(name:"impact", value:"Successful exploitation will give an attacker the opportunity to steal your sensitive data and gain backdoor access to your system.");
  script_tag(name:"solution", value:"Check the reference and apply the 'Mitigation Recommendations' that are being explained at the bottom of the document.");

  script_xref(name:"URL", value:"https://www.us-cert.gov/sites/default/files/publications/MAR-10135536-D_WHITE_S508C.PDF");

  exit(0);
}

include("smb_nt.inc");

subkey = "SYSTEM\CurrentControlSet\Control\WMI\Security";
malValues = make_list("f0012345-2a9c-bdf8-345d-345d67b542a1", "125463f3-2a9c-bdf0-d890-5a98b08d8898",
                      "2d54931A-47A9-b749-8e23-311921741dcd", "c72a93f5-47e6-4a2a-b13e-6AFE0479cb01");

report = 'The following suspicious values have been found inside the registry:\n\nRegistry Key:\n' + subkey + '\n\nBinary Values:';

foreach value(malValues) {
  bin = registry_get_binary(key:subkey, item:value);
  if (bin) {
    found = TRUE;
    report += '\n' + value;
  }
}

if (found) {
  security_message( port:0, data:report);
  exit(0);
}

exit(99);

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

14 Jul 2023 00:00Current
7.2High risk
Vulners AI Score7.2
27