Analyzing Phishing attacks that use malicious PDFs

Cybersecurity researchers Zoziel Pinto Freire analyzed the use of weaponized PDFs in phishing attacks

Every day everybody receives many phishing attacks with malicious docs or PDFs. I decided to take a look at one of these files. I did a static analysis and I went straight to the point to make this reading simple and fast.

Here is the received email as it was from the Caixa Economica Federal bank, but we can see the sender uses Gmail services and a strange name.

phishing PDFs

I verified this e-mail header using MXtoolbox, and we can see the IP used by the sender (attacker).

phishing PDFs

Below is the reputation of the IP used by the attacker.

phishing PDFs

We can see this IP has a lot of mentions about malicious activities.

phishing PDFs

I downloaded this file in my VPS (Kali Linux) and used peepdf to do an analysis of the file structure, and I found 2 URIs in objects 3 and 5.

phishing PDFs

After I checked objects 3 and 5 using pdf-parser, I discovered a malicious URL in the 3.

phishing PDFs

I did a check about this URL in VirusTotal and it had a malicious reputation.

phishing PDFs

When I opened the file in the Kali, we could see it had an original logo of the bank and a button to click that will direct me to an URL.

phishing PDFs

When I clicked in this button the URL hxxp://cefonlineencaminha[.]z13[.[]web[.]core[.]windows[.]net redirect to another URL ms[.]meuappavisos[.]com

phishing PDFs

I checked the URL reputation, and it has a lot of mentions about it.

phishing PDFs

In conclusion, it’s essential to take care and attention to each detail when you open this kind of email because you can put your machine in a dangerous situation, have your data exfiltrated, be hacked and etc.

Tools used during the analysis:

  • Kali Linux – https://www.kali.org/get-kali/ 
  • MX ToolBox – https://mxtoolbox.com 
  • pdf-parser – https://blog.didierstevens.com/programs/pdf-tools/ 
  • peepdf – https://github.com/jesparza/peepdf 
  • Abuse IPdb – https://www.abuseipdb.com 
  • Virus Total – https://www.virustotal.com/ 

About the author: Zoziel Pinto Freire

Cyber Security Specialist | Forensic Expert | Threat Hunting | BlueTeam | RedTeam | Pentester | Assessment

Follow me on Twitter: @securityaffairs and Facebook

Pierluigi Paganini

(SecurityAffairs – hacking, phishing)

The post Analyzing Phishing attacks that use malicious PDFs appeared first on Security Affairs.

If you like the site, please consider joining the telegram channel or supporting us on Patreon using the button below.

Discord

Original Source