Git Product home page Git Product logo

trickest / log4j Goto Github PK

View Code? Open in Web Editor NEW
111.0 5.0 23.0 4.01 MB

Trickest Workflow for discovering log4j vulnerabilities and gathering the newest community payloads.

Home Page: https://trickest.com

License: MIT License

bugbounty pentesting log4j cve log4shell penetration-testing security exploit hacking vulnerabilities vulnerability infosec software-security red-team security-tools software-vulnerabilities software-vulnerability

log4j's Introduction

Trickest Log4j

Several versions of Apache Log4j are vulnerable to remote code execution (RCE). A lot of bypasses and payloads have been published; this repository aims to provide a solution that allows security teams to use all of this knowledge effectively.

Motivation

With all the research done on Log4j every day, we found it important to create a consistent process that can:

  • incorporate all of the techniques that were published and proven to be effective
  • scale across thousands of assets
  • integrate discovery techniques as quickly as they are found

So We designed a Trickest workflow. The primary input is the list of targets to check for log4j related vulnerabilities.

How it works

Trickest Workflow used:

Log4jWorkflow

TB; DZ (Too big; didn't zoom):

  • Get a list of payloads from this repository's payloads folder
  • Add some control characters that we found useful while bypassing WAFs to each payload.
  • Use an interactsh client to generate a callback URL. (Thanks ProjectDiscovery!)
  • Use unfurl to insert the callback URL with a custom endpoint into each payload - this will help us correlate each hit to a target and an attack technique (Thanks tomnomnom!)
  • Use thchydra to send the payloads to all targets across different services.
  • Use cent to collect community nuclei templates (Thanks xm1k3!).
  • Use a few custom and community nuclei templates to test using different techniques (ProjectDiscovery, thanks again!)
  • Use an interactsh client to poll the URL and get a list of vulnerable hosts (Seriously ProjectDiscovery, thank you!)
  • Generate the final report that contains all the results.

How to Update

The workflow uses this repository as a source, so any attack payloads added to this repository will be picked up and used automatically. Check out the issues for a list of ideas that will be implemented in future versions of the workflow. README.md will be updated accordingly.

To update the techniques used you can either:

  • Add string payloads to the payloads folder.
  • Add nuclei templates to the custom folder.

Resources

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.