GitXplorerGitXplorer
t

log4j

public
112 stars
23 forks
0 issues

Commits

List of commits on branch main.
Unverified
30607e4fd4527b369be2fb8ece8d73e8580142c7

Update README.md with new workflow

nnenadzaric committed 3 years ago
Verified
8a88cd038f02c3c15f4e674b18819eaceaad72a9

Merge pull request #8 from trickest/readme/references

nnenadzaric committed 3 years ago
Verified
7303a7408852313097a6c444f7d90e067531969d

Merge pull request #9 from trickest/feat/cent-yaml

nnenadzaric committed 3 years ago
Unverified
6ee31ce3ea57c76ae508e94d4bcfc1c25f47eb41

Fixed cent.yaml

HHanibalAntePortas committed 3 years ago
Unverified
1fab35fd3d3333290ba4702acde87572b5486c6e

Added cent.yaml

HHanibalAntePortas committed 3 years ago
Unverified
715d1346b334fbe1c8f0a7be46329277a1272662

Added references to readme

HHanibalAntePortas committed 3 years ago

README

The README file for this repository.

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