r/ComputerSecurity • u/bughunter47 • Feb 22 '20
Is there a way to safely open a suspected phishing link for analysis?
Hey there Reddit
I am looking for a tool to safely open suspect phishing link's for "dissection" without executing the coding. Fuzzer helps but it is loud and my security system hates it.
I know that Tor has the a limited ability to disable scripts, however I want to see what they do and where they redirect me to...for the purpose of tracking/tracing and subsequently burning said phishing site....some kind of virtual emulator similar to a vm system...might be an idea...any thoughts?
28
Upvotes
27
u/HolaGuacamola Feb 22 '20
Spin up a VM on a system you don't care about. Azure, aws, etc. Pretty easy and you can probably pay for an hour for less than a dollar and burn it from orbit when you're done.
10
u/399ddf95 Feb 22 '20
It's old school, but I like to download the link with wget, then dissect in vi.
You can also try posting the URL to VirusTotal and see what others have found.
Or, as others mentioned, in a VM - especially if you put OWASP ZAP or Burp Suite in the VM, and MITM the web traffic as it happens. One could theoretically run the MITM proxy outside of the VM .. but then you're counting on the people who wrote the proxy to never miss anything.
6
u/adidasnmotion Feb 23 '20
I use https://any.run to do that. A free account lets you spin up a vm for 60 seconds which is usually long enough for the phishing link to load up and see where it directs you to. The site also shows you everything the link is doing in the background which is helpful when there are lots of redirects or if it downloads malware.
2
u/druesendieb Feb 23 '20
Take a look at cuckoo, this tool allows you to build an infrastructure to check links/attachments for malicious behaviour.
2
u/LogicWavelength Feb 23 '20
It takes quick a bit of effort, but you could make a box/vm as a detonation chamber. We have one at my work running Cuckoo.
It can be a complete pain in the ass, but for our environment we’ve gotten some really useful results out of it.
1
u/Trax852 Feb 23 '20
Comodo firewall allows similar to VM everything works as it should but it's all contained and deleted when done.
1
u/secme Feb 23 '20
I'll sometimes use a URL2PNG service, any.run, virustotal, or an off-main network locked down Linux box. Gotta be careful with the last step, as they aren't dumb. They often encode the email address in the URL which means you've just confirmed it is a legitimate monitored address.
1
u/Agyekum28 Feb 23 '20
Yup. Open up a VM and open the link, if it creates malware, virus etc. just close the VM
1
u/jeskimo613 Feb 23 '20
URLscan.io will scan the url for you and show you a ton of information including a screenshot, dns info, threat info etc....
1
u/Thecrawsome Feb 23 '20
a bastion host
1
u/[deleted] Mar 18 '20
Qubes OS can be also a solution.. you can spin up a disposal vm with the whonix template so you are isolated totally..
-1
u/billdietrich1 Feb 22 '20
There's nothing dangerous about a phishing page until you give it valid credentials.
You could run it in an intercepting proxy-GUI such as Burp Suite or OWASP ZAP, give it invalid credentials, and see what happens. But probably it will just send them to some server, where you will lose visibility.