BigCookie takes the encoded F5 Big-IP persistence cookie, and decodes it to its decimal format, thus revealing the internal IP address and port of the load balanced destination.
The following is an example F5 Big-IP Persistence Cookie: BIGipServerTestPool42=1677787402.36895.0000
This cookie is broken up as follows:
- The Pool: TestPool42
- The encoded IP in decimal format: 1677787402
- The encoded port in decimal format: 36895
For more information on the F5 Big-IP Persistence Cookie, please see the following resources:
- K5714: Troubleshooting cookie persistence
- K6917: Overview of BIG-IP persistence cookie encoding
- K7784: Configuring BIG-IP cookie encryption (9.x)
- K14784: Configuring cookie encryption within the HTTP profile (10.x - 13.x)
- K83419154: Overview of cookie persistence
The following sections will get you up and running with BigCookie. This is an extremely simple script with only two python packages needed for successful exeuction.
BigCookie requires Click and Terminal Tables. Before running BigCookie, please install the preqequisites by running the following command at your terminal.
$ pip install -r requirements.txt
Once the requirements are installed, run the following command in your terminal to execute BigCookie:
$ python BigCookie.py persistence.cookie.value
Example:
$ python BigCookie.py 1677787402.36895.0000
- This project was inspired by