aegis4j VS logstash-patterns-core

Compare aegis4j vs logstash-patterns-core and see what are their differences.

aegis4j

A Java agent that disables platform features you don't use, before an attacker uses them against you. (by gredler)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
aegis4j logstash-patterns-core
8 3
14 2,160
- -0.0%
4.5 0.0
over 2 years ago about 1 year ago
Java Ruby
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

aegis4j

Posts with mentions or reviews of aegis4j. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-04.
  • What's new in Java 18 for us, developers ?
    2 projects | /r/java | 4 Jan 2022
    The guys at Oracle have made this point on this forum quite often, but it never really hit home for me personally until the recent log4j vulnerability made me more interested in the topic and the available mitigation options (see https://github.com/gredler/aegis4j/).
  • CVE-2021-44832: New Log4j 2 vulnerability
    1 project | news.ycombinator.com | 28 Dec 2021
    If you've been impacted by these log4j vulnerabilities, have a look at aegis4j, a Java agent that completely disables platform features you don't use, before an attacker uses them against you (including e.g. JNDI and Java serialization).

    https://github.com/gredler/aegis4j/

  • Aegis4j: Avoid the Next Log4Shell Vulnerability
    1 project | news.ycombinator.com | 16 Dec 2021
  • Log4j MEGATHREAD
    4 projects | /r/java | 16 Dec 2021
    Yep, this is why strategically patching InitialContext when the class is initially loaded will completely disable JNDI (and mitigate future JNDI-based exploits).
  • aegis4j: Avoid the NEXT Log4Shell vulnerability!
    1 project | /r/java | 16 Dec 2021
  • Log4j 2.15.0 – Previously suggested mitigations may not be enough
    7 projects | news.ycombinator.com | 16 Dec 2021
    The recent log4j vulnerability really piqued my interest, and I've spent the last few evenings working on a proof of concept Java agent that could mitigate similar vulnerabilities in the future, for applications that are able to completely forego platform features like JNDI, serialization or native process execution.

    Link to the project: https://github.com/gredler/aegis4j

    It's not a lot of code, but it uses parts of the platform that I think are a bit unusual for most devs, so it was quite interesting to implement. Happy to discuss details, ideas, and concerns.

    One idea for a possible improvement is to make the feature block list adaptive, i.e. watch what the application uses in the first few minutes of execution, and then shut down all unused "dangerous" features for the remaining lifetime of the VM. Not sure how reliable this would be though, especially for services which have background jobs that might only run once a day.

logstash-patterns-core

Posts with mentions or reviews of logstash-patterns-core. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-16.
  • Log4j 2.15.0 – Previously suggested mitigations may not be enough
    7 projects | news.ycombinator.com | 16 Dec 2021
    Logstash is a hugely popular service for collecting/processing/shipping logs, mainly associated with elasticsearch ("ELK") but has lots of output plugins. It uses log4j, so if one of the log events it was processing contained an exploit string, and also caused logstash to encounter an error processing or shipping the message, that message would get logged to logstash's own log, thus triggering the exploit deep in someone's infrastructure.

    probably not too hard to come up with a way to break one of the many "grok" pattern regexes https://github.com/logstash-plugins/logstash-patterns-core/b...

  • Writing an effective GROK pattern
    2 projects | dev.to | 4 May 2021
    Logstash ships with 120 default patterns. You can find here: https://github.com/logstash-plugins/logstash-patterns-core/tree/master/patterns
  • Ubiquiti Dream Machine Pro Syslog -> ELK via Logstash
    2 projects | /r/Ubiquiti | 14 Jan 2021
    You can see all the Grok regexp preset here.

What are some alternatives?

When comparing aegis4j and logstash-patterns-core you can also consider the following projects:

Apache Log4j 2 - Apache Log4j 2 is a versatile, feature-rich, efficient logging API and backend for Java.

logstash-patterns - Grok patterns for parsing and structuring log messages with logstash

log4j-affected-db - A community sourced list of log4j-affected software

log4shell-tools - Tool that runs a test to check whether one of your applications is affected by the recent vulnerabilities in log4j: CVE-2021-44228 and CVE-2021-45046

jabel - Jabel - unlock Javac 9+ syntax when targeting Java 8

ysoserial - A proof-of-concept tool for generating payloads that exploit unsafe Java object deserialization.

lunasec - LunaSec - Dependency Security Scanner that automatically notifies you about vulnerabilities like Log4Shell or node-ipc in your Pull Requests and Builds. Protect yourself in 30 seconds with the LunaTrace GitHub App: https://github.com/marketplace/lunatrace-by-lunasec/