blip
B(itf)lip Strings for Red Teaming/Bug Bounty Hunting
Install
pip install blip
OR
git clone https://github.com/zmallen/blip && cd blip && python setup.py install
Summary of tool/bitflipping
Bitflipping is a natural phenomena where bits in a packet sometimes 'flip' from 0 to 1, or 1 to 0. Typically, machines that interpret packets use checksums in order to validate the integrity of the datagram as it reads it from a socket. Other times, machines assume the original packet with the bitflip error is what was intended by the computer!
Bitsquatting is an attack thats been around for close to a decade. The concept here is that someone can change bits in a string and then register a domain in order to take advantage of this error, and perhaps direct a victim to a maliciously owned bitsquatted domain. In 2021, a blog post by Remy Hax detailed an attack on the 'Windows' string by bitsquatting domains that weren't owned by Microsoft. This led to some hilarious results as machines from all over the world resolved their infrastructure and tried to communicate it.
I wanted to write a tool to aid researchers and red teamers in generating these strings. Since bitsquatting is specifically related to bitflipped domains, I wanted to focus on the strings that are bitflipped for multiple uses, not just domain registrations. Also, I liked the word 'blip' which is short for bitflip. Bquat didnt sound as good ;)
Usage
blip -s microsoftGenerate all bitflipped strings for Microsoftblip -s microsoft --asciiGenerate ASCII-only bitflipped stringsblip -s microsoft --no-capsLowercase all candidate strings and remove uppercase characters
Use Cases
Generate bitflipped strings to make some bitsquat domain candidates
Install idn package (on Ubuntu, apt install idn)
⚡ blip -s paypal --no-cap | grep -v '[^a-zA-Z\d\s]' | idn
paypad
paypcl
paypql
paqpal
xn--paypl-0qa
paypil
paypal
xn--papal-2ua
pqypal
peypal
piypal
payral
payqal
taypal
xn--paypa-xsa
raypal
xn--aypal-hta
paypah
pcypal
payxal
xn--payal-kta
paypan
paxpal
paypam
qaypal
paipal
paytal
xn--pypal-xqa
paypel
xaypal
Metadata
Release files for blip 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blip-0.1.0.tar.gz | 3.6 kB | Without provenance | Details for blip-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blip-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for blip-0.1.0-py3-none-any.whl |
Total release size: 8.1 kB
Release files / blip-0.1.0.tar.gz
| Download URL | blip-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
808dab2fd9793a08676275450569afe5855e79486698890399f6da123294291c
|
|
BLAKE2b-256 checksum How to use checksums |
bf80c4e4b4f782731a72859619b32fb507f01205fddac6d44db701f2adc7309c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
|
Release files / blip-0.1.0-py3-none-any.whl
| Download URL | blip-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
208d30720b283ea0d614fc5006c752b37d4a4c62fe70be03023fb75de5844f4e
|
|
BLAKE2b-256 checksum How to use checksums |
f01b97cb684f94935bed9ae62e8de0df1e23e06bb6011a1cbc9eaf0026892b01
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.5
|
Security for blip 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.