7.8
HIGH CVSS 3.1
CVE-2021-31728
MalwareFox AntiMalware ZemanaAntiMalware Ring 0 Code Execution Vulnerability
Description

Incorrect access control in zam64.sys, zam32.sys in MalwareFox AntiMalware 2.74.0.150 allows a non-privileged process to open a handle to \.\ZemanaAntiMalware, register itself with the driver by sending IOCTL 0x80002010, allocate executable memory using a flaw in IOCTL 0x80002040, install a hook with IOCTL 0x80002044 and execute the executable memory using this hook with IOCTL 0x80002014 or 0x80002018, this exposes ring 0 code execution in the context of the driver allowing the non-privileged process to elevate privileges.

INFO

Published Date :

May 17, 2021, 1:15 p.m.

Last Modified :

Nov. 21, 2024, 6:06 a.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2021-31728 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Malwarefox anti-malware
2 Malwarefox antimalware
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 HIGH [email protected]
CVSS 3.1 HIGH [email protected]
Public PoC/Exploit Available at Github

CVE-2021-31728 has a 9 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-31728.

URL Resource
https://github.com/irql0/CVE-2021-31728/blob/master/CVE-2021-31728.md Third Party Advisory
https://github.com/irql0/CVE-2021-31728/blob/master/CVE-2021-31728.md Third Party Advisory
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-31728 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-31728 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

A varient of SadBoy.Terminator - Uses the vulnerable 'Zemana Antimalware' driver to kill EDR.

C++ C

Updated: 9 months, 3 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 23, 2024, 4:37 p.m. This repo has been linked 1 different CVEs too.

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 2 months, 2 weeks ago
12 stars 3 fork 3 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 931 different CVEs too.

None

Updated: 1 month, 3 weeks ago
2 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 935 different CVEs too.

A nim re-write of Terminator by ZeroMemoryEx

Nim

Updated: 11 months, 4 weeks ago
11 stars 1 fork 1 watcher
Born at : July 3, 2023, 8:08 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 months, 3 weeks ago
2 stars 2 fork 2 watcher
Born at : Nov. 25, 2022, 5:43 p.m. This repo has been linked 935 different CVEs too.

None

Updated: 4 months, 2 weeks ago
9 stars 1 fork 1 watcher
Born at : June 21, 2022, 7:45 a.m. This repo has been linked 944 different CVEs too.

vulnerability in zam64.sys, zam32.sys allowing ring 0 code execution. CVE-2021-31727 and CVE-2021-31728 public reference.

vulnerability cve-2021-31727 cve-2021-31728

C

Updated: 2 months, 1 week ago
91 stars 23 fork 23 watcher
Born at : May 4, 2021, 5:15 p.m. This repo has been linked 2 different CVEs too.

Some usefull info when reverse engineering Kernel Mode Anti-Cheat

anti-cheat anticheat reverse-engineering kernel windows driver kernel-driver heuristics kmac

C++

Updated: 1 month ago
72 stars 22 fork 22 watcher
Born at : Oct. 13, 2020, 7:54 a.m. This repo has been linked 7 different CVEs too.

Kernel Driver Utility

loader driver-loader dse byovd

C C++ Assembly C#

Updated: 1 month ago
2187 stars 452 fork 452 watcher
Born at : Feb. 2, 2020, 5:28 a.m. This repo has been linked 24 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-31728 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-31728 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/irql0/CVE-2021-31728/blob/master/CVE-2021-31728.md
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Jul. 12, 2022

    Action Type Old Value New Value
    Changed CWE CWE-863 NVD-CWE-Other
  • Initial Analysis by [email protected]

    May. 26, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:L/AC:L/Au:N/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://github.com/irql0/CVE-2021-31728/blob/master/CVE-2021-31728.md No Types Assigned https://github.com/irql0/CVE-2021-31728/blob/master/CVE-2021-31728.md Third Party Advisory
    Added CWE NIST CWE-863
    Added CPE Configuration OR *cpe:2.3:a:malwarefox:antimalware:2.74.0.150:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.8
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Base CVSS Score: 7.2
Access Vector
Access Complexity
Authentication
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

30.31 }} 10.40%

score

0.96502

percentile