Professional Community

Java Serialized Payloads

This extension generates various Java serialized payloads designed to execute OS commands. There are three ways to use the extension:

  • Generate a payload from the Java Serialized Payloads Tab. You can then copy and paste it into other tabs in Burp.

  • Generate a payload from the Java Serialized Payloads Tab. In another tab you can select the text you want to replace and right click. You have three encoding options:

    • Raw - This will replace your selected text with a raw unencoded version of the payload.
    • B64 - This will replace your selected text with a Base64 encoded version.
    • URLEnc - This will replace your selected text with a URL-encoded and base64 encoded payload.

  • You can use inline commands to replace your text with a payload that contains your command. For example you can enter text in Repeater like:

    $(CC1|ping -c1 8.8.8.8)

    Select the above text and right click any of the Java Serialized Payload Options and it will replace your command with a payload containing that command.

    The first parameter before the pipe in the above statement is the version of the exploit. You can enter any of the following:

    • CC1 or CollectionCommons1
    • CC2 or CollectionCommons2
    • GV1 or Groovy1
    • SP1 or Spring1

    TThe second parameter is the OS command you wish to run.

Author

Author

Josh Summitt

Version

Version

0.0.2a

Rating

Rating

Popularity

Popularity

Last updated

Last updated

10 February 2022

Estimated system impact

Estimated system impact

Overall impact: Low

Memory
Low
CPU
Low
General
Low
Scanner
Low

You can install BApps directly within Burp, via the BApp Store feature in the Burp Extender tool. You can also download them from here, for offline installation into Burp.

You can view the source code for all BApp Store extensions on our GitHub page.

Follow @BApp_Store on Twitter to receive notifications of all BApp releases and updates.

Please note that extensions are written by third party users of Burp, and PortSwigger Web Security makes no warranty about their quality or usefulness for any particular purpose.

Go back to BappStore

Note:

Please note that extensions are written by third party users of Burp, and PortSwigger Web Security makes no warranty about their quality or usefulness for any particular purpose.