URLCADIZ - Handy Addition To Social Attacks  

This popped up on LinkedIn earlier today, so I went to confirm the software and see if it would fit into the current workflow well. Something as simple as this has to have a place, otherwise, why would it have been created in the first place?

After logging into my Kali VM, moved over to /usr/share (or wherever you store scripts and programs) and input the following:
git clone https://github.com/PerezMascato/URLCADIZ
If necessary, do the following:
pip3 install pyshorteners
Then to run the program:
python3 URLCADIZ.py

The first screen prompts for the type of social URL you would like to run through tinyURL.
SelectSocialMenu.png

While looking at this screen, the first thing that went through my mind is a combination of this with BadPDF or SET. While SET may already do something like this out of the box, this one script can bind other social engineering tools that are not yet in SET.
Next screen prompts for the attacker URL (or original URL):
OriginalURLInput.png

Here I have input http://h.acki.ng. This is a URL I own that redirects to http://zi.n.gy. The next screen is the bogus article, search result, or Instagram posting. Just minor tweaking on this script, and you can make it appear to come from anywhere you want, including a corporate intranet. ;)
CreateALink.png

This screen is just where you make up a Django style URL or anything actually. I just copy/pasted the one suggested, then the next displays the formed malicious URL printed at the top.
ContinueScreen.png

For a test, copy and paste that URL into your browser and the redirection warning pops up.
ConfirmTinyURL.png

The alert is due to an attempt to authenticate from Instagram, so will most likely not appear if posted on Instagram - but I’m not going to try that, even if URLs I control are not malicious. As mentioned above, just a little bit of tweaking this script could make it even more effective.

Small, simple and handy. Another addition to my Pen Testing toolkit!

 
0
Kudos
 
0
Kudos

Now read this

HTTraP

This scripting and programming project started about seven years ago when we started thinking about web defense. The concept turned much larger because we came to realize that all services offered over the internet - DNS, FTP, SSH - are... Continue →