Cybersecurity image illustrating threat vectors targeting finance teams through PureLogs variant data theft via purchase orders.

Finance departments represent the crown jewels of corporate data, and the PureLogs variant demonstrates sophisticated understanding of how to exploit their daily workflows. By weaponizing purchase order communications—documents that finance teams process dozens of times daily—attackers bypass the natural skepticism that might greet unexpected emails. (Source: Infosecurity-Magazine)

The campaign's genius lies in its targeting precision. Finance professionals routinely receive purchase orders from new vendors, unfamiliar contacts, and international suppliers. This constant influx of legitimate attachments from unknown senders creates the perfect camouflage for malicious files.

When PureLogs successfully infiltrates a finance workstation, it doesn't just steal random files. The malware specifically harvests browser credentials and session tokens—the exact tools finance teams use to access banking portals, payment processing systems, and vendor management platforms. A single compromised finance employee could expose access to wire transfer systems, ACH processing credentials, and vendor payment portals.

The variant's cryptocurrency wallet targeting adds another dimension to the financial risk. Many organizations now hold digital assets for international transactions, vendor payments, or treasury management. PureLogs scans for wallet files and keys, potentially exposing corporate cryptocurrency holdings that often lack the same audit trails and recovery mechanisms as traditional banking.

What makes this variant particularly dangerous for finance teams is its credential harvesting from Outlook. Finance departments communicate sensitive information through email daily—invoice approvals, payment confirmations, tax documents, and audit materials. Compromised Outlook credentials don't just expose past communications; they enable attackers to monitor ongoing financial discussions and potentially inject fraudulent payment instructions into legitimate email threads.

Key Insight: Compromised Outlook credentials don't just expose past communications; they enable attackers to monitor ongoing financial discussions and potentially inject fraudulent payment instructions into legitimate email threads.

The malware's ability to capture screenshots and clipboard contents presents acute risks during month-end processing, quarterly reporting, or audit periods. Finance professionals routinely copy account numbers, routing information, and sensitive financial data between applications. Each clipboard capture could contain wire instructions, tax identification numbers, or confidential merger discussions.

Beyond immediate data theft, compromised finance systems enable sophisticated fraud schemes. Attackers with access to legitimate finance credentials can modify vendor banking details in payment systems, redirect legitimate payments to attacker-controlled accounts, or approve fraudulent transactions that appear to originate from trusted internal sources.

The Discord token theft capability might seem irrelevant to corporate finance, but many organizations now use Discord or similar platforms for rapid communication during critical processes like quarter-close or emergency fund transfers. Compromised Discord accounts could expose informal financial discussions that occur outside official channels.

Finance departments also maintain extensive connections to external systems—banking APIs, payment gateways, and financial reporting platforms. The OpenVPN and ProtonVPN credential theft capabilities suggest attackers understand that finance teams often use VPN connections to access these critical third-party systems. Stolen VPN credentials could provide persistent access to financial infrastructure even after the initial infection is discovered.

Key Insight: The OpenVPN and ProtonVPN credential theft capabilities suggest attackers understand that finance teams often use VPN connections to access these critical third-party systems.

The timing of purchase order attacks often coincides with fiscal year-end, budget cycles, or busy procurement periods when finance teams face pressure to process transactions quickly. This psychological element—exploiting periods of high workload and reduced scrutiny—transforms routine business processes into security vulnerabilities.

The Attack Chain: From Email to Data Exfiltration

The PureLogs campaign demonstrates a meticulously crafted attack sequence that transforms a simple email attachment into a comprehensive data theft operation. The infection begins when victims receive phishing emails containing RAR archives disguised as purchase orders—a social engineering tactic that exploits the routine nature of business communications.

Once a user extracts and executes the JavaScript file from the archive, the malware initiates a sophisticated multi-stage deployment process. The JavaScript immediately decrypts embedded PowerShell code and writes it to a randomly named .ps1 file in the C:\Temp folder. This PowerShell script executes with bypassed security policies, no profile loaded, and its window hidden from view—ensuring the victim remains unaware of the ongoing compromise.

The PowerShell component serves as a staging mechanism, containing Base64-encoded and encrypted data that it processes through an XOR-with-rotation decryption method. Rather than dropping files to disk where antivirus might detect them, the script operates entirely in memory, extracting two .NET modules that orchestrate the next phase of the attack.

Process hollowing represents the campaign's most sophisticated evasion technique. The malware injects its payload directly into MsBuild.exe, a legitimate Windows build tool that security teams rarely scrutinize. By hijacking this trusted process, PureLogs operates with the appearance of normal system activity while conducting malicious operations beneath the surface.

The injected .NET module functions as a downloader, extracting additional components from embedded resources and decrypting them using Data Encryption Standard (DES) algorithms. This downloader establishes contact with command-and-control infrastructure, requesting plugin modules that expand the malware's capabilities based on the specific target environment.

FortiGuard Labs identified the downloaded plugin as a fileless PureLogs variant designed for comprehensive data harvesting. The malware systematically pillages infected systems, targeting:

  • System specifications and desktop screenshots for reconnaissance
  • Clipboard contents capturing passwords and sensitive data in transit
  • Browser repositories across Chrome, Edge, Brave, Opera, Yandex, Firefox, Waterfox, and LibreWolf
  • Discord authentication tokens enabling account takeover without passwords
  • Cryptocurrency wallet files and private keys
  • Application credentials from Outlook, FileZilla, OpenVPN, and ProtonVPN

The breadth of targeted applications reveals strategic intelligence gathering priorities. By harvesting VPN credentials alongside email access, attackers position themselves for deeper network penetration. Cryptocurrency wallet theft provides immediate financial gain, while Discord tokens offer access to private communications channels where sensitive business discussions increasingly occur.

Browser credential harvesting extends beyond simple password theft. PureLogs extracts cookies and session tokens, allowing attackers to bypass multi-factor authentication by hijacking active sessions. This capability transforms a single compromised workstation into a gateway for accessing cloud services, customer portals, and administrative interfaces.

After collection, the malware compresses and encrypts the stolen data before transmitting it to command-and-control servers. This encryption serves dual purposes: evading network security monitoring and protecting the stolen intelligence from interception by competing threat actors.

The entire operation executes without dropping persistent files, relying instead on memory-resident techniques and legitimate Windows processes. This fileless approach complicates forensic analysis and allows the malware to operate undetected for extended periods, maximizing data collection opportunities before discovery.

PureLogs Attack Chain: From Email to Data Exfiltration

1
Initial Compromise
Phishing email with RAR archive disguised as purchase order
Social Engineering
2
JavaScript Execution
Decrypts PowerShell code, writes to C:\Temp\.ps1 file
Obfuscation
3
Memory-Only Operation
PowerShell extracts .NET modules via XOR decryption
Fileless
4
Process Hollowing
Injects payload into legitimate MsBuild.exe process
Evasion
5
Data Harvesting
Steals browser data, Discord tokens, screenshots, clipboard
Exfiltration

Detection and Hunting: Finding PureLogs Before Data Walks Out

Security teams hunting for PureLogs infections should prioritize immediate detection of its distinctive behavioral patterns across email gateways, endpoints, and network traffic. The malware's reliance on JavaScript droppers, PowerShell execution chains, and process hollowing creates multiple detection opportunities—but only if you know exactly where to look.

Email Gateway Detection Points

FortiMail's successful blocking of the campaign reveals critical gateway-level indicators. Search your email logs for RAR archives attached to messages containing purchase order keywords, particularly those marked with unusual subject modifications like "virus detected" appended to otherwise legitimate-looking subjects.

The campaign's attachment naming conventions follow predictable patterns. Query your email security platforms for RAR files containing JavaScript files as the sole archive content—legitimate purchase orders rarely arrive as compressed JavaScript. Focus detection rules on emails from previously unseen senders claiming urgent purchase order reviews, especially those targeting finance and procurement addresses.

PowerShell Execution Telemetry

The malware's PowerShell behavior creates unmistakable patterns in endpoint telemetry. Hunt for PowerShell processes launched with the specific combination of -ExecutionPolicy Bypass -NoProfile -WindowStyle Hidden parameters—this exact flag combination appears consistently across PureLogs deployments.

Your endpoint detection platforms should flag any PowerShell script writing new .ps1 files to C:\Temp with randomized filenames. The malware's use of Base64 encoding combined with XOR-with-rotation decryption methods generates distinctive memory patterns detectable through advanced endpoint monitoring.

Search process creation logs for PowerShell.exe spawning from wscript.exe or cscript.exe processes—this parent-child relationship indicates JavaScript-to-PowerShell handoff typical of this campaign. The temporal proximity matters: these events occur within seconds of each other.

Process Hollowing Signatures

MsBuild.exe rarely makes network connections in normal operations. Query your endpoint logs for MsBuild.exe processes exhibiting network activity, particularly those without corresponding build operations or Visual Studio activity. The legitimate Windows process becomes a perfect hiding spot precisely because security teams rarely scrutinize it.

Monitor for MsBuild.exe processes with abnormal memory allocation patterns—specifically those loading .NET assemblies directly into memory without corresponding disk artifacts. Your EDR should capture these in-memory module loads as they represent the PureLogs payload injection.

Network Traffic Analysis

The malware's C2 communication pattern involves initial beacon requests followed by plugin downloads. Hunt for outbound HTTPS connections from MsBuild.exe or other legitimate Windows processes that don't typically generate network traffic. These connections often use standard ports but exhibit irregular timing patterns—initial contact, pause, then larger data transfer indicating plugin retrieval.

Focus network analysis on connections immediately following PowerShell execution events. The infection chain moves quickly from initial execution to C2 contact, typically within 30-60 seconds. Correlating endpoint and network telemetry within this window significantly improves detection accuracy.

Data Exfiltration Indicators

PureLogs compresses and encrypts stolen data before transmission, creating identifiable traffic patterns. Look for sustained outbound connections with consistent packet sizes indicating structured data transfer rather than typical web browsing patterns. The malware's targeting of browser databases, Discord tokens, and cryptocurrency wallets means successful infections generate predictable file access patterns—multiple reads from browser profile directories, Discord configuration folders, and wallet storage locations within short timeframes.

Incident Response Priorities: Containment and Investigation Steps

When PureLogs infiltrates your finance department, every minute counts. The malware's ability to harvest credentials from OpenVPN, ProtonVPN, and browser sessions means attackers could already be pivoting toward payment systems and vendor databases.

Your incident response must balance speed with precision—shutting down too much disrupts legitimate operations, but moving too slowly allows data exfiltration to continue.

Immediate Actions (0-2 Hours): Stop the Bleeding

Isolate any workstation where users opened RAR archives containing supposed purchase orders in the past 72 hours. The JavaScript dropper creates .ps1 files in C:\Temp, making this directory your first forensic checkpoint. Disconnect affected machines from the network but keep them powered on—shutting down destroys volatile memory containing process injection artifacts from MsBuild.exe.

Reset credentials for all finance team members immediately, prioritizing those with access to wire transfer systems, ACH platforms, and vendor payment portals. The malware's collection of Discord tokens and VPN credentials suggests attackers seek persistent remote access beyond just the initially compromised endpoint.

Preserve email server logs showing RAR attachment delivery patterns. FortiMail's detection of these messages as "virus detected" provides timestamps for breach window analysis. Export these logs before any retention policies trigger automatic deletion.

Short-Term Response (2-24 Hours): Scope and Contain

Deploy memory analysis tools to identify process hollowing artifacts in MsBuild.exe across your environment. The injected .NET modules leave distinctive patterns in process memory that persist until system reboot. Document which workstations show evidence of PowerShell scripts executing with bypassed policies and hidden windows—these represent confirmed compromises requiring deep forensic analysis.

Review authentication logs for FileZilla, Outlook, and your VPN concentrators. PureLogs specifically targets these applications' stored credentials, potentially enabling attackers to access vendor FTP sites, email archives, and remote access infrastructure. Any unusual login patterns from these harvested credentials indicate lateral movement attempts.

Initiate legal hold procedures for all finance department data. The malware's screenshot capability and clipboard monitoring mean sensitive negotiations, contract terms, and pricing discussions may have been exposed. Your legal team needs immediate visibility into potential competitive intelligence losses.

Investigation Phase (24+ Hours): Understanding the Damage

Analyze network traffic to the command-and-control server to quantify data exfiltration volume. The malware compresses and encrypts stolen data before transmission, but connection frequency and data transfer sizes reveal the scope of information loss. Cross-reference transmission timestamps with finance team activities—was the quarterly close data exposed? Did attackers capture tax preparation files?

Interview finance staff about any unusual purchase order communications, particularly from new vendors or international suppliers. The campaign's social engineering specifically exploits routine procurement workflows, making attribution challenging without user input.

Coordinate with your CFO to identify which vendor relationships require notification. If PureLogs captured credentials for supplier portals or payment platforms, those third parties need immediate warning to monitor for fraudulent transactions. Document notification timelines carefully—regulatory requirements for breach disclosure often start from the moment you confirm data exposure, not when you complete your investigation.

The intersection of PureLogs' credential theft capabilities and finance department targeting creates cascading risks beyond your organization. Each compromised vendor portal password potentially exposes your suppliers' banking details, creating liability concerns that extend well beyond your own data loss.

PureLogs Incident Response Timeline

0-2 Hours
Immediate Actions
Isolate Infected Workstations Check for RAR archives opened in past 72 hours. Look for .ps1 files in C:\Temp directory.
Reset All Credentials Priority: Wire transfer systems, ACH platforms, vendor payment portals.
Preserve Email Logs Export FortiMail detection logs before retention policies trigger deletion.
2-24 Hours
Scope & Contain
Deploy Memory Analysis Identify process hollowing artifacts in MsBuild.exe across environment.
Review Authentication Logs Check FileZilla, Outlook, VPN concentrators for unusual login patterns.
Initiate Legal Hold Preserve all finance department data due to screenshot and clipboard monitoring capabilities.

Hardening Finance Operations Against PureLogs and Similar Threats

Finance departments require specialized security architectures that go beyond standard corporate protections, particularly when facing sophisticated threats like PureLogs that specifically target financial workflows. The intersection of regulatory compliance, payment processing, and vendor management creates unique vulnerabilities that demand purpose-built defenses.

Email Authentication for Vendor Communications represents your first line of defense against purchase order fraud. Configure DMARC policies to reject messages from unauthenticated domains, particularly for known suppliers and payment processors. This prevents attackers from spoofing legitimate vendor addresses—a critical control since finance teams process communications from hundreds of external entities monthly.

Implement SPF records that explicitly define which mail servers can send on behalf of your organization, preventing bounce-back attacks where criminals impersonate your own finance team to vendors. DKIM signatures provide cryptographic proof that emails haven't been modified in transit, essential for purchase orders and payment instructions where even minor alterations could redirect millions.

Multi-Step Purchase Order Verification breaks the attack chain before malware execution becomes possible. Establish mandatory out-of-band confirmation for purchase orders exceeding $10,000 or from new vendors—a simple phone call to a pre-registered number prevents most business email compromise attempts. Your accounts payable team should maintain a separate, offline registry of vendor contact information, updated quarterly through direct vendor outreach rather than email updates.

Deploy approval workflows that require two-factor authentication for any changes to vendor banking details or payment methods. When vendors request updated payment information, the change request should trigger automatic holds on pending payments until manual verification completes. This process adds 5-10 minutes to vendor onboarding but prevents the catastrophic losses associated with payment redirection fraud.

Attachment Sandboxing for External Vendors creates a secure detonation environment for high-risk files. Route all RAR, ZIP, and JavaScript attachments from external senders through isolated analysis environments before they reach finance workstations. Configure your sandbox to execute files for at least 300 seconds—long enough for multi-stage payloads to reveal their behavior patterns.

Finance-specific sandboxing rules should flag any attachment that attempts to create files in temp directories, launch PowerShell with hidden windows, or access browser credential stores. These behaviors, while sometimes legitimate in IT contexts, have no place in purchase order processing.

Privileged Access Management for Financial Systems limits the blast radius when workstations become compromised. Finance users should operate with standard accounts for email and document processing, requiring elevation only for ERP access, payment approvals, and bank portal connections. Implement just-in-time access controls that grant elevated permissions for specific time windows—typically 2-4 hours for month-end processing or 30 minutes for wire transfers.

Password vaults should segregate financial system credentials from general corporate accounts, with hardware token requirements for any system capable of initiating payments. Your finance team's inability to access payment systems without physical tokens transforms credential theft from catastrophic to merely inconvenient.

Network Segregation and Finance VLANs physically isolates financial operations from general corporate traffic. Finance workstations should operate on dedicated network segments with restricted internet access—whitelisting only necessary banking sites, vendor portals, and cloud accounting platforms. Block direct connections between finance VLANs and standard user networks, forcing all interactions through monitored jump servers that log every file transfer and remote session.

Table of contents

Top hits