← All Threat Hunting ReportsThreat Hunting Exercise

Threat Hunting Exercise: Analyzing IDS Log4j JNDI Exploitation Signature Dataset

This hunt uses a simulated network intrusion detection dataset (ids_log4j_signature_2022-10-26T101500.json) capturing T1190: Exploit Public-Facing Application, correlating a network-layer IDS signature hit for Log4j JNDI exploitation attempts against a broader, internet-wide reconnaissance/scanning campaign versus a targeted, successful exploitation attempt against the organization's infrastructure.

Step 1: Hypothesis Formation

Hypothesis: An IDS signature for ET EXPLOIT Log4j RCE Attempt or equivalent fires against an internal application, and the response traffic or subsequent internal-host behavior determines whether this represents a successful compromise (application vulnerable, callback occurred) versus benign/failed mass-internet scanning noise (extremely common post-CVE-2021-44228 disclosure). Indicators:

Null Hypothesis: The signature fired against a patched application (Log4j upgraded or mitigation applied) or is a false positive from unrelated traffic containing benign ${ characters, and no exploitation occurred. Invalidate by confirming no outbound JNDI callback occurred and the application's patch status.

Rationale: Given the massive scale of internet-wide Log4j scanning that followed public disclosure, alert-fatigue is a real risk; efficiently triaging IDS hits by correlating with actual outbound callback behavior - rather than manually reviewing every hit - is essential to focus analyst time on genuine compromises.

Step 2: Data Sources and Scope

Step 3: Key Findings

Parsed events (5 shown) confirm the IDS logged 214 Log4j JNDI signature hits across three hosts over 45 minutes, but only one - srv-legacy-crm (confirmed still running the vulnerable Log4j version) - showed a corresponding outbound LDAP callback, confirming a single successful exploitation among widespread scanning noise.

Timestamp (UTC)HostEventDetailIOC/Why Suspicious?
2022-10-26 10:16:02 - 10:58:41(multiple)IDS Alert (aggregate)214 hits for ET EXPLOIT Log4j RCE Attempt from 61 distinct source IPs against srv-api-19, srv-web-portal, srv-legacy-crmScanning-Noise IOC: high source-IP diversity and broad targeting is consistent with opportunistic, internet-wide Log4j scanning rather than a single targeted actor.
2022-10-26 10:41:07srv-api-19, srv-web-portalIDS AlertJNDI signature hits, no corresponding outbound LDAP/RMI traffic observed from either host in the following 60 secondsFailed-Exploitation IOC: absence of a callback strongly indicates these two applications are either patched or not actually parsing the payload through a vulnerable Log4j code path.
2022-10-26 10:47:19srv-legacy-crmIDS AlertJNDI signature hit from 194.61.55.71Targeted-Attempt IOC: this specific host is the only one of the three flagged as still running the vulnerable Log4j 2.14.1 in the most recent vulnerability scan.
2022-10-26 10:47:20srv-legacy-crmNetwork flowOutbound LDAP connection to 194.61.55.71:1389 immediately following the IDS alertCallback-Confirmed IOC: the definitive success indicator - the vulnerable application resolved the JNDI lookup and connected back to attacker infrastructure.
2022-10-26 10:47:25srv-legacy-crmNetwork flowFollow-on HTTP fetch of Exploit.class from 194.61.55.71:8080Exploitation-Confirmed IOC: the second-stage class retrieval confirms remote code execution was achieved on this specific host.

Validation:

Step 4: Recommendations & Next Steps

Hypothesis confirmed - of 214 Log4j exploitation signature hits across three internet-facing applications, only the one unpatched legacy CRM server produced a genuine outbound JNDI callback and second-stage payload fetch, confirming a single successful remote code execution amid widespread internet scanning noise!