log4shell-detector

command module
v0.0.0-...-cf1ef0e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 13, 2021 License: GPL-3.0 Imports: 11 Imported by: 0

README

log4shell-detector

Proof-of-concept detector for exploitation of log4shell happening with a LDAP JNDI service provider. This inspects network traffic coming from any java processes, and compares the sends to what the lookup code generates.

Tested against a local environment being "exploited" using

Caveats

Since this is looking specifically for LDAP traffic it:

  • May create false-positives if other Java code/applications happens to do this exact same LDAP search request
  • Cannot detect exploitation using a LDAPS (LDAP over SSL/TLS) provider
  • Cannot detect exploitation using any other potentially vulnerable provider
  • Cannot detect simple envvar exfiltration going on using any provider (e.g. as mentioned here)

And finally, due to the way this hooks network traffic it's (currently) unable to provide the target hostname/IP that the LDAP connection was made to. It can only tell what Java process made the suspicious connection.

Alternative Things

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL