# Brute-Force XOR Key > Find the XOR key used to encode strings in a binary **Tools:** [[tools/brxor-py|brxor-py]], [[tools/bbcrack|bbcrack]], [[tools/xorsearch|xorsearch]], [[tools/xortool|xortool]] **FOR610 Lab:** 5.2 ## Commands ```bash # Quick check for XOR-encoded URLs/PE headers XORSearch http: # Brute-force single-byte XOR keys brxor.py # Try XOR, ROL, ADD combinations bbcrack -l 1 # Guess multi-byte XOR key length and value xortool # Decode with known key xortool-xor -s '' -i -o ``` #recipe #brxor-py #bbcrack #xorsearch #xortool