Inside a purchase order PDF phishing campaign
嗯,用户让我用中文帮他总结一下这篇文章,控制在一百个字以内,而且不需要以“文章内容总结”或“这篇文章”这样的开头,直接写描述即可。首先,我需要仔细阅读这篇文章,理解其主要内容。 文章讲的是一个PDF文件被用作钓鱼攻击的诱饵。里面有一个按钮,点击后会跳转到一个登录页面,目的是窃取用户的商业电子邮件和密码。分析发现,这个钓鱼网站使用了IONOS Cloud的服务,并且通过JavaScript脚本进行复杂的混淆处理,最终将收集到的信息发送到Telegram账户。文章还给出了防范建议,比如不要轻易点击链接,使用反恶意软件保护等。 接下来,我需要将这些关键点浓缩成100字以内的总结。要确保涵盖钓鱼攻击、PDF诱饵、窃取信息、技术手段以及防范措施这些要点。 可能会遇到的问题是如何在有限的字数内准确传达所有重要信息而不遗漏关键点。需要选择最简洁的表达方式,避免冗长的描述。 最后,检查字数是否符合要求,并确保语言流畅自然。 </think> 这篇文章揭示了一起利用PDF文件作为钓鱼攻击诱饵的安全事件。攻击者通过伪装成购买订单的PDF文件诱导用户点击链接,进而窃取商业电子邮件地址和密码。分析显示,钓鱼网站利用IONOS Cloud服务隐藏恶意行为,并通过复杂的JavaScript脚本收集用户信息并发送至Telegram账户。文章强调了防范钓鱼攻击的重要性,并提供了相关安全建议。 2025-12-17 13:38:0 Author: www.malwarebytes.com(查看原文) 阅读量:8 收藏

A PDF named “NEW Purchase Order # 52177236.pdf” turned out to be a phishing lure. So we analyzed the phishing script behind it.

A customer contacted me when Malwarebytes blocked the link inside a “purchase order” email they had received.

Malwarebytes blocks a ionoscloud.com subdomain
Malwarebytes blocked this ionoscloud.com subdomain

When I examined the attachment, it soon became clear why we blocked it.

The visible content of the PDF showed a button prompting the recipient to view the purchase order. Hovering over the button revealed a long URL that included a reference to a PDF viewer. While this might fool some people at first glance, a closer look raised red flags:

the content of the pdf file whiel hovering over the button
Hovering over the button to see where it goes

Since I’m rarely able to control my curiosity, I temporarily added an exclusion to Malwarebytes’ web protection so I could see where the link would take me. The destination was a website displaying a login form with the target’s email address already filled in (the address shown here was fabricated by me):

The objective was clear: phishing. But the site’s source code didn’t reveal much.

The most likely objective was to harvest business email addresses and their passwords. Attackers commonly test these credentials against enterprise services such as Microsoft Outlook, Google Workspace, VPNs, file-sharing platforms, and payroll systems. The deliberately vague prompt for a “business email” increases the likelihood that users will provide corporate credentials rather than personal ones.

There was also a small personalization touch. The “Estimado” greeting sets a professional tone and is common in business correspondence across Spanish-speaking regions.

For a full analysis read on, but the real clue is that the harvested credentials accompanied additional information about the victim’s browser, operating system, language, cookies, screen size, and location. This data was sent directly to the scammer’s account on Telegram, where it’s likely to be used to compromise the business network or sold on to other cybercriminals.

A quick search on VirusTotal showed that there were several PDF files linking to the exact same ionoscloud.com subdomain.

Analysis

As I pointed out earlier, the source code of the initial phishing page did not reveal a lot. These are probably auto-generated templates that can be planted on any website, allowing attackers a fast rotation.

source code

ionoscloud.com belongs to IONOS Cloud, the cloud infrastructure division of IONOS, a major European hosting company. It offers services similar to Amazon AWS or Microsoft Azure, including hosting for websites and files. Scammers specifically choose reputable cloud platforms like IONOS Cloud because of the “halo effect” of being hosted at a well-known domain, which means security companies can’t just block the whole domain.

The criminals also get the flexibility to quickly spin up, modify, or tear down phishing sites and continue to evade detection by moving to new URLs or storage buckets.

So, we followed the trail to a JavaScript file, which turned out to be obfuscated script—and a long one at that. But the end of it looked promising.

113,184 lines of code
113,184 lines of code

Since it was still unclear at this point what it was up to, I made a change to the script to avoid infection and which allowed me to get the source code without executing the script. To achieve this, I replaced the last line of the original script with code that exports the next layer to an HTML file.

replacing code for safety

The next obfuscation layer turned out to be easy. All it contained was a long string that needed to be unescaped. Because of the length, I used an online decoder to do that for me.

simple unescape script
Simple unescape script

This showed me the code for the actual form that the target would see—and the goal of the whole phishing expedition.

The part that did the actual harvesting was hidden in another script.

The harvesting script

This was still pretty long and obfuscated but by analyzing the code and giving the functions readable names I managed to find out which information the script gathered. For example, the script uses the ipapi location service:

deobfuscated location script
Deobfuscated location script

And I found out where it sent the details.

Telegram bot function
Telegram bot function

Any credentials entered on the phishing page are POSTed directly to the attacker’s Telegram bot and immediately forwarded to their chosen Telegram chat for collection. The Telegram chat ID hardcoded in the script was 5485275217.

How to stay safe

The advice here is pretty standard. (Do as our customer did, not as I did.)

  • Phishing and malware campaigns frequently use PDF files, so treat them like any other attachment: don’t open until the trusted sender confirms sending you one.
  • Never click links inside attachments without verifying with the sender, especially if you weren’t expecting the message or don’t know the sender.
  • Always check the address of any website asking for your login details. A password manager can help here, as it won’t auto-fill credentials on a fake site.
  • Use real-time anti-malware protection, preferably with a web protection component. Malwarebytes blocks the domains associated with this campaign.
  • Use an email security solution that can detect and quarantine suspicious attachments.

Pro tip: Malwarebytes Scam Guard recognized the screenshot of the PDF as a phishing attempt and provided advice on how to deal with it.


We don’t just report on threats—we remove them

Cybersecurity risks should never spread beyond a headline. Keep threats off your devices by downloading Malwarebytes today.

About the author

Was a Microsoft MVP in consumer security for 12 years running. Can speak four languages. Smells of rich mahogany and leather-bound books.


文章来源: https://www.malwarebytes.com/blog/threat-intel/2025/12/inside-a-purchase-order-pdf-phishing-campaign
如有侵权请联系:admin#unsafe.sh