Skip to content

SecureSolutionsLab/eLogJ

Repository files navigation

eLogJ

extended Log4j observability tool used to detect and prevent malicious JNDI (/LDAP) lookups. Currently tested in a controlled environment.

0.1.2: Rulesets added as static file (logger-info).
  .
  . revised overall event data structures
  .     \ - rulesets, EventLog
  . added experimental LSM module (bpf syscall -- blackbox eLogJ)
  .
0.1.5: Rulesets configured using yaml file.
0.1.6: "file"/"local" log_type (yaml)
0.1.7: Added whitelist to yaml & LDAP Response tracing
0.1.8: Remote Agent-less logging (Wazuh Manager)

Dependencies

Rust stable and nightly toolchain:
rustup install stable
rustup toolchain install nightly --component rust-src
bpf-linker:
cargo install bpf-linker
Ref: https://aya-rs.dev/book/start/development/#how-to-use-this-guide

Build Userspace:

cargo build

Build Kernelspace:

cargo xtask build-ebpf

(Optional) Change Config:

Default config: draft-rule-set-default.yml

cat logger-info/src/draft-rule-set-v1.yml

Run:

cargo xtask run

Verbose:

RUST_LOG=info cargo xtask run


WIP, Check out the wiki!

About

extended Log4j observability tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published