arrows and shield

Cybersecurity Stop of the Month Blog: Spooked by SocGholish: When Malware Haunts the Healthcare Industry

Share with your network!

The Cybersecurity Stop of the Month blog series explores the ever-evolving tactics of today’s cybercriminals. It also examines how Proofpoint helps businesses to fortify their email defenses to protect people against today’s emerging threats. 

Proofpoint People Protection: End-to-end, Complete, and Continuous

Proofpoint people protection: end-to-end, complete and continuous. 

So far in this series, we have examined these types of attacks: 

Background 

According to The Center for Internet Security, Inc., SocGholish remains the top malware downloader, responsible for 60% of all these types of attacks. Why do cybercriminals favor SocGholish? Because it’s a highly effective social engineering tool to distribute malware through malicious or compromised websites. It uses fake software updates, most often masquerading as browser updates, to trick users into downloading malware.  

Once the malware is installed, it uses different methods to redirect traffic and deliver harmful payloads. This allows it to steal sensitive data from a user's system. SocGholish can also be used for further attacks, like installing remote access tools or even ransomware. SocGholish stands out because of several key features: 

  • Social engineering. SocGholish tricks users into downloading malware by mimicking software updates, usually for browsers. These familiar prompts make users more likely to trust them and fall for the scam. 
  • Wide attack surface. SocGholish often spreads through legitimate websites that have been compromised. When users visit these sites, they are presented with a prompt to download a fake update. Since legitimate websites are used as the delivery mechanism, users are more likely to believe the prompt and download the malware.  
  • Easy customization. Threat actors can modify SocGholish code to avoid detection by antivirus and email security tools. This flexibility helps it stay ahead of cybersecurity defenses. 
  • Targeted and broad campaigns. SocGholish can be used in both wide-reaching and targeted attacks, which makes it versatile. Threat actors can tailor fake updates to target specific groups, which makes it effective for general malware distribution or more focused phishing campaigns
  • Persistent and hard to detect. SocGholish often delivers its malware in stages using obfuscated scripts, making it difficult for security systems to detect. This stealthy behavior allows the malware to remain in a system longer without raising alarms.  

It’s easy to see why SocGholish is a favored tool for cybercriminals. It combines social engineering with malware that’s not only easy to distribute but also easy to tweak to avoid detection.  

SocGholish attack sequence:  

Typical SocGholish malware attack sequence

Typical SocGholish attack sequence. 

  • Initial compromise. Threat actors first compromise legitimate websites by injecting malicious JavaScript into them.  
  • Fake update notification. When a user visits the site, a pop-up or redirect appears that claims their browser or software needs an urgent update. 
  • Malware delivery. If the user believes the pop-up, then they download a file, which is often disguised as a legitimate installer (.zip or .exe). This file contains the SocGholish malware. 
  • Initial infection. Running the file executes the SocGholish malware. It often starts by dropping scripts onto the user’s system. This enables further malicious activity while staying under the radar of antivirus software. 
  • Command and control. Now, SocGholish establishes communication with the threat actors command and control servers. This allows the malware to receive additional instructions. The servers may instruct the malware to perform different actions, such as downloading more malware, exfiltrating data or setting up remote access for the attacker. 

The scenario 

In this recent attack, a bad actor known as TA569 used SocGholish malware to target more than 1,000 organizations worldwide, sending over 232,000 malicious messages. The attack was so stealthy that 14 established email tools failed to detect it. And it was meticulously planned. 

In this instance, TA569 targeted a Texas-based healthcare services organization that serves more than 50,000 adults and children each year.  

The threat: How did the attack happen?  

Here’s a closer look at how the attack unfolded:  

1. Legitimate message. Victims received an email promoting a well-known, upcoming healthcare conference. The email was legitimate—not written by the threat actor—and it contained a URL link to a legitimate webpage. However, the webpage was compromised. With SocGholish malware campaigns, the malicious code doesn’t activate until a user interacts with the compromised website.  

Legitimate email received by the user.

Legitimate email that was received by the user. 

2. Fake update notification. SocGholish does not target every user; it tends to be selective. Typically, users get a fake update notification based on their browser cookies, system vulnerabilities and other identifying information. This allows SocGholish to focus on users who are more likely to fall for the fake browser update prompt, which increases the chances of infection.  

Fake browser update notification request.

Fake browser update notification request. 

3. Malware delivery. If the fake alert convinces the user to update, then they are directed to download a file, which is often disguised as a legitimate installer (.zip or .exe). This file contains the SocGholish malware. 

SocGholish malware download file.

SocGholish malware download file. 

Detection: How did Proofpoint detect the attack?  

SocGholish malware is very difficult to catch. It won’t activate if it detects that it’s in a simulated environment, like a threat analyst’s sandbox. What’s more, it uses legitimate messages for distribution. In this case, Proofpoint used a combination of advanced signals and layered analysis to detect the SocGholish attack including:  

  • Sender reputation 
  • Deep URL content analysis 
  • Network activity analysis  
  • Volume of unique URL variants 
  • Heuristic examination of webpages 
  • Dynamic analysis of HTML content, payloads, and other artifacts 
  • Sender and recipient relationship based on past communication 

Although the email invitation to the healthcare conference was not malicious, there were signs that it might be suspicious. So, we investigated deeper. We found that we had encountered this threat actor, TA569, before. TA569 is a well-known attacker who uses SocGholish malware to infect legitimate websites.  

Signals Proofpoint used to condemn the message as a threat.

Signals that Proofpoint used to condemn the message as a threat. 

Here are a few indicators that we analyzed using our multilayered detection stack. 

When we analyzed the network activity, we found malicious behaviors that were linked to the malware phoning home to Command and Control (C2) servers. We also identified redirections to a DNS service associated with SocGholish.  

Plus, we found the use of compromised scripts. These injections are similar to those seen in other malicious campaigns, which make detecting and mitigating these attacks more challenging. Coupled with TA569’s known techniques—such as geofencing, social engineering and JavaScript—we recognized this as a significant threat.  

We also used our pre-delivery behavioral AI detection stack to sandbox the malicious URL within the legitimate message. Suspicious message-level characteristics helped us decide to sandbox the URL using our message hold capability. In this case, an uncommon sender, an unusual URL domain and a few other characteristics were suspicious, resulting in the sandboxing of the malicious URL prior to be delivered to the user’s inbox. We also detected a fake update JavaScript in the compromised webpage. Together, these indicators helped us to identify the SocGholish malware attack so that we could block it before delivery. 

Condemnation summary outlining the signals Proofpoint sandbox the malicious URL.

Condemnation summary of signals Proofpoint used to sandbox the malicious URL.  

As noted earlier, this SocGholish attack was so stealthy that 14 other email security tools missed it. For example, Abnormal Security, a post-delivery email security provider, failed to detect and block the SocGholish attack due to its basic approach to threat detection. Although they claim to use behavioral AI to identify advanced email threats, they struggle with SocGholish.  

In this case, the email message was legitimate. Plus, it was not flagged as unusual based on behavioral sending patterns, URL reputation analysis or message-level indicators. Without pre-delivery detection, URL sandboxing, deep URL content analysis and advanced threat intelligence, Abnormal Security will continue to miss these types of advanced threats.  

Remediation: What are the lessons learned?  

To protect against SocGholish malware attacks, here’s what we recommend:  

  • AI and threat intelligence. As Qui-Gon Jinn once said: “You cannot prevent what you cannot see coming.” While the quote reflects on a key lesson about the importance of foresight and awareness in a Jedi’s life, it also be applied to cybersecurity. Without insight into the threat landscape, you’re at a disadvantage. Find a tool that uses global threat intelligence and AI-driven machine learning to identify and block new and emerging threats like SocGholish before they impact your people and business. 
  • Deep URL analysis. Many email security tools fail to detect advanced threats like SocGholish because they rely on static URL reputation analysis. Look for a tool that goes beyond basic URL reputation and includes in-depth URL analysis. It should inspect the content that a suspicious URL leads to, identify any URL redirects and analyze what happens after the URL is accessed, such as a script that triggers a download. This enables your organization to detect and block SocGholish attacks more quickly.  
  • Pre-delivery threat protection. According to Proofpoint research, 1 in 7 clicks on unsafe links occur within 60 seconds of an email’s delivery. This highlights why pre-delivery protection is so important. Look for a tool that holds suspicious messages with URLs for sandbox analysis. It should use behavioral signals and threat intelligence to determine if a message needs to be inspected further. Pre-delivery URL sandboxing and message hold keeps users safe by blocking malicious messages before they are delivered. 

Proofpoint delivers human-centric protection  

Threat actors are constantly finding new ways to get past existing security tools. SocGholish is just the latest threat that proves why multilayered and robust email security measures are so critical to protecting your organization.  

To stay ahead of evolving threats, you need a comprehensive approach to protect against threats that target your people. Proofpoint offers continuous detection throughout the email delivery lifecycle—pre-delivery, post-delivery and click-time. Our approach ensures end-to-end protection against modern email threats. We achieve a 99.99% efficacy rate by combining deep URL analysis and URL sandboxing techniques to help you stay ahead of threat actors.  

To learn how to protect your people and business against threats like SocGholish, download our Proofpoint Threat Protection solution brief.