Rule Category

POLICY-OTHER --

Alert Message

POLICY-OTHER JNDI LDAP searchResEntry dynamic code download attempt

Rule Explanation

The searchResEntry response indicates to a JNDI server where to download an external Java class. This could indicate a malicious attempt to execute external Java.

What To Look For

This rule will alert when a LDAP searchResEntry is being used to load external Java code. This technique is used in the JNDI-Exploit tool to deliver malicious payloads for servers vulnerable to CVE-2021-44228.

Known Usage

No public information

False Positives

No known false positives

Contributors

Cisco Talos Intelligence Group

Rule Groups

No rule groups

CVE

Additional Links

Rule Vulnerability

Remote File Inclusion

Remote File Inclusion (RFI) attacks occur when a webserver takes a file crafted by an attacker as input and runs or stores it in an unsafe manner. For instance, the webserver could accept an image file that is actually code, then call it to execute after uploading. RFI attacks happen on web applications that dynamically include external files or scripts. A successful RFI can lead to data leaks, remote code execution, or cross site scripting. Avoid dynamic inclusion of user input files, or whitelist files that may be included. Keep the PHP allow_url_include option set to off; this will not protect against Local File Inclusion attacks.

CVE Additional Information

This product uses data from the NVD API but is not endorsed or certified by the NVD.
CVE-2021-4104
Loading description
CVE-2021-44228
Loading description
CVE-2021-44832
Loading description
CVE-2021-45046
Loading description
CVE-2021-45105
Loading description

MITRE ATT&CK Framework

Tactic: Command and Control

Technique: Remote Access Tools

For reference, see the MITRE ATT&CK vulnerability types here: https://attack.mitre.org