Armadito 0.12.7.2 communication.c UTF-16 Chars Malware encoding error

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.1$0-$5k0.00

Summaryinfo

A vulnerability identified as critical has been detected in Armadito 0.12.7.2. This issue affects some unknown processing of the file armadito-windows-driver/src/communication.c. This manipulation as part of UTF-16 Chars causes encoding error (Malware). The identification of this vulnerability is CVE-2018-7289. It is possible to initiate the attack remotely. Furthermore, there is an exploit available.

Detailsinfo

A vulnerability classified as critical was found in Armadito 0.12.7.2. Affected by this vulnerability is some unknown functionality of the file armadito-windows-driver/src/communication.c. The manipulation as part of a UTF-16 Chars leads to a encoding error vulnerability (Malware). The CWE definition for the vulnerability is CWE-172. The product does not properly encode or decode the data, resulting in unexpected values. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

An issue was discovered in armadito-windows-driver/src/communication.c in Armadito 0.12.7.2. Malware with filenames containing pure UTF-16 characters can bypass detection. The user-mode service will fail to open the file for scanning after the conversion is done from Unicode to ANSI. This happens because characters that cannot be converted from Unicode are replaced with '?' characters.

The bug was discovered 02/20/2018. The weakness was shared 02/21/2018 (GitHub Repository). The advisory is shared at github.com. This vulnerability is known as CVE-2018-7289 since 02/21/2018. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details and also a public exploit are known. Responsible for the vulnerability is the following code:

// Convert unicode string to ansi string for ring 3 process.        
 ntStatus = RtlUnicodeStringToAnsiString(&AnsiString, (PCUNICODE_STRING)FilePath, TRUE); 
 if(!NT_SUCCESS(ntStatus)){ 
	DbgPrint("[-] Error :: ArmaditoGuard!SendScanOrder :: RtlUnicodeStringToAnsiString() routine failed !! \n"); 
	__leave; 
 }

A public exploit has been developed by Souhail Hammou and been published 1 days after the advisory. It is possible to download the exploit at exploit-db.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The code used by the exploit is:

?????.exe : 0645 0631 062d 0628 0627 002e 0065 0078 0065

There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.

The vulnerability is also documented in the vulnerability database at Exploit-DB (44169). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Productinfo

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 7.3
VulDB Temp Score: 6.9
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 3.3
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Name: Malware
Class: Encoding error / Malware
CWE: CWE-172
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: Souhail Hammou
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: no mitigation known
Status: 🔍

0-Day Time: 🔍
Exploit Delay Time: 🔍

Timelineinfo

02/20/2018 🔍
02/21/2018 +1 days 🔍
02/21/2018 +0 days 🔍
02/21/2018 +0 days 🔍
02/22/2018 +1 days 🔍
02/22/2018 +0 days 🔍
02/22/2018 +0 days 🔍
09/25/2025 +2772 days 🔍

Sourcesinfo

Advisory: github.com
Status: Confirmed

CVE: CVE-2018-7289 (🔍)
GCVE (CVE): GCVE-0-2018-7289
GCVE (VulDB): GCVE-100-113689
scip Labs: https://www.scip.ch/en/?labs.20161013

Entryinfo

Created: 02/22/2018 09:53
Updated: 09/25/2025 03:37
Changes: 02/22/2018 09:53 (67), 01/14/2020 20:27 (1), 09/25/2025 03:37 (16)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to know what is going to be exploited?

We predict KEV entries!