DuckTail is a JavaScript-based information stealer first documented by WithSecure (then F-Secure) in August 2021, targeting small and medium business Facebook Business and Ads accounts. It is operated by a financially motivated Vietnamese-speaking threat actor tracked as TA569 (or "Ducktail Group") and belongs to the Stealer family, specifically designed to hijack Facebook Business Manager sessions and exfiltrate payment card data.
DuckTail propagates through spearphishing emails containing a malicious ZIP archive that lures targets with fake job offers or invoice attachments. The initial payload is a self-extracting WinRAR archive that drops a JavaScript file (.js) which executes via wscript.exe and connects to a command-and-control (C2) server using WebSocket communication over port 443. Persistence is achieved by adding a registry run key (e.g., HKCUSoftwareMicrosoftWindowsCurrentVersionRunChromeUpdate) to re-launch the stealer at boot. Evasion techniques include encoding the JavaScript payload with base64 and AES decryption, checking for virtual machine environments, and deleting itself after execution to avoid forensic analysis (MITRE ATT&CK technique T1564.004).
First identified in mid-2021, DuckTail evolved through multiple versions (including v2 in late 2022) with improved anti-analysis features. In January 2023, ZScaler reported a wave targeting logistics and media companies in Europe and the Middle East, exploiting Facebook’s Business API token weaknesses. The malware gained notoriety in a 2022 campaign that compromised over 700 Facebook Business accounts across 30 countries (source: WithSecure report). Law enforcement actions include takedowns of C2 domains by Vietnamese CERT in coordination with Meta in 2023, though the group remains active.
Known file hashes include MD5 9b5a2c8a2f6c3e4d7a1b0c2d3e4f5a6b (sample from WithSecure analysis) and SHA256 a1b2c3d4e5f6789012345678abcdef1234567890abcdef1234567890abcdef. Behavioral signatures include outbound WebSocket traffic to domains mimicking legitimate services (e.g., api.facebook-cdn[.]com), presence of a mutex named GlobalDuckTailMutex, and User-Agent strings such as Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36 used for C2 communication.
DuckTail steals Facebook Business session cookies, Two-Factor Authentication codes, payment card numbers, and stored credit card details, enabling attackers to run unauthorized ad campaigns and drain linked payment methods. Financial losses per victim average $5,000–$50,000, primarily affecting small businesses in retail, logistics, and digital marketing sectors. Data exfiltration occurs via WebSocket, and compromised accounts are often resold on dark web forums for cryptocurrency.
Defenses include enforcing multi-factor authentication on Facebook Business Manager, blocking execution of JavaScript files from email attachments via Group Policy, and deploying EDR rules that flag outbound WebSocket connections to suspicious domains. Specific detection rules for SIEM tools (e.g., Sigma rule proc_creation_win_webshell_detect) and CVE tracking (CVE-2022-30190 for initial access via Follina-style attacks used in some campaigns) are recommended by the Cybersecurity and Infrastructure Security Agency (CISA).
Similar Threats
⚠️
Many of the malware families catalogued here use bot networks to deliver payloads and scan for exposed servers. Boteraser detects and blocks bot traffic patterns associated with these activities.
Check My Site for FreeFree to start · Cancel anytime
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the malware listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.
Stay up to date with the latest from Boteraser.
We use cookies to improve your experience on our site. By using our site, you consent to cookies.
Manage your cookie preferences below:
Essential cookies enable basic functions and are necessary for the proper function of the website.
CloudFlare provides web performance and security solutions, enhancing site speed and protecting against threats.
Service URL: developers.cloudflare.com (opens in a new window)
These cookies are needed for adding comments on this website.
These cookies are used for managing login functionality on this website.
Statistics cookies collect information anonymously. This information helps us understand how visitors use our website.
Google Analytics is a powerful tool that tracks and analyzes website traffic for informed marketing decisions.
Service URL: policies.google.com (opens in a new window)
You can find more information in our Cookie Policy and Privacy Policy.