# Detection and Response for CVE-2021-40444

**URL:** <https://discuss.elastic.co/t/detection-and-response-for-cve-2021-40444/283800>\
**Category:** Elastic Security\
**Created:** [September 9, 2021, 4:01pm UTC](https://discuss.elastic.co/t/detection-and-response-for-cve-2021-40444/283800 "2021-09-09T16:01:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![devonkerr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/devonkerr/32/56711_2.png) [@devonkerr](https://discuss.elastic.co/u/devonkerr)\
**Post date:** [September 9, 2021, 4:01pm UTC](https://discuss.elastic.co/t/detection-and-response-for-cve-2021-40444/283800/1 "2021-09-09T16:01:00Z")

</div>

# Detection and Response for CVE-2021-40444

## Executive summary

Elastic Security Intelligence & Analytics has identified additional behaviors related to or inspired by the disclosure of [CVE-2021-40444](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-40444), a remote code execution (RCE) vulnerability in MSHTML. This post provides an overview of detection capabilities related to this vulnerability. At this time we offer no information about the groups or individuals responsible.

## Details

On September 7, 2021, Elastic Security identified evidence that MSHTML vulnerabilities published by Microsoft as [CVE-2021-40444](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-40444) and targeting MSHTML were being exploited as observed in telemetry. As we have continued to monitor telemetry for evidence of exploitation attempts and successes, we wanted to share information and resources with the community around this cluster of emerging threat activity.

_MSHTML is supported by multiple components of the Microsoft ecosystem, including browsers and other Internet-capable applications. For this reason, readers should be aware that affected attack surfaces may be significant._

In several customer environments, a weaponized [document](https://www.virustotal.com/gui/file/938545f7bbe40738908a95da8cdeabb2a11ce2ca36b0f6a74deda9378d380a52/details) containing exploit code was delivered to users. Upon opening the document, a remote OLE object in the form of a [CAB](https://www.virustotal.com/gui/file/1fb13a158aff3d258b8f62fe211fabeed03f0763b2acadbccad9e8e39969ea00/details) archive file was retrieved from an Internet-accessible location. In at least one environment, this execution chain resulted in the deployment of a COBALTSTRIKE [payload](https://www.virustotal.com/gui/file/6eedf45cb91f6762de4e35e36bcb03e5ad60ce9ac5a08caeb7eda035cd74762b/details), a well-known commercial offensive security tool used both legitimately and maliciously.

## Detection

#### Detection logic

On September 9, 2021, Elastic released guidance describing Elastic Endpoint rules that target this exploitation activity described in the public repository:

- [Suspicious MS Office Child Process](https://github.com/elastic/detection-rules/blob/main/rules/windows/initial_access_suspicious_ms_office_child_process.toml)
- [Control Panel Process with Unusual Arguments](https://github.com/elastic/detection-rules/blob/main/rules/windows/defense_evasion_execution_control_panel_suspicious_args.toml)

A version of the Suspicious MS Office Child Process rule for Elastic Endgame users may be useful for detecting evidence of successful exploitation.

## References

1. [Detection and Response for CVE-2021-40444](https://discuss.elastic.co/t/detection-and-response-for-cve-2021-40444)

2. [Microsoft vulnerability disclosure](https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-40444)

## Indicators of Compromise

Table 1 described atomic indicators of compromise (IOCs) observed in this intrusion-set. IOCs observed by Elastic have been included for the community, and don't represent all IOCs associated with these or other intrusions.

| Artifact | Note | SHA256 |
| --- | --- | --- |
| A letter before court 4.docx | OOXML Microsoft Office Document | 938545f7bbe40738908a95da8cdeabb2a11ce2ca36b0f6a74deda9378d380a52 |
| ministry.cab | CAB archive | 1fb13a158aff3d258b8f62fe211fabeed03f0763b2acadbccad9e8e39969ea00 |
| championship.inf | COBALTSTRIKE Win32 DLL | 6eedf45cb91f6762de4e35e36bcb03e5ad60ce9ac5a08caeb7eda035cd74762b |

---

<div class="post-metadata">

**Author:** ![probson](https://avatars.discourse-cdn.com/v4/letter/p/e47c2d/32.png) [@probson](https://discuss.elastic.co/u/probson)\
**Post date:** [September 14, 2021, 9:46am UTC](https://discuss.elastic.co/t/detection-and-response-for-cve-2021-40444/283800/2 "2021-09-14T09:46:31Z")

</div>

I thought that after 7.13.0 we did not need to update elastic to receive new rules, i am on 7.14.0 and updated all rules yet cannot see

> <https://github.com/elastic/detection-rules/blob/main/rules/windows/defense_evasion_execution_control_panel_suspicious_args.toml>

name = "Control Panel Process with Unusual Arguments"

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 12, 2021, 9:47am UTC](https://discuss.elastic.co/t/detection-and-response-for-cve-2021-40444/283800/3 "2021-10-12T09:47:10Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
