DuckTail
- Type
- Infostealer
- Capabilities
- Credential theftSession hijackingExfiltrationPersistenceDefense evasionReconnaissance
- Delivery
- PhishingSpearphishingLureLanding page
- Platforms
- Windows
DUCKTAIL is a Windows information-stealing malware family associated with a financially motivated, Vietnam-based cybercrime operation active since at least the second half of 2021. It targets individuals with privileged access to Facebook Business and advertising accounts, particularly digital marketing, media, managerial, and human resources personnel. Its principal objectives are stealing authenticated browser sessions and taking control of business advertising assets for financial gain.
DUCKTAIL searches installed browsers, including Chrome, Edge, Brave, and Firefox, and extracts stored cookies. It abuses Facebook session cookies to collect personal, business, and advertising-account information through Facebook pages and APIs from the victim’s machine. It attempts to add attacker-controlled email addresses to business accounts with Admin and Finance Editor roles, enabling continued access to business assets. It also checks two-factor authentication settings and attempts to retrieve recovery codes. Stolen information is exfiltrated through Telegram bots, which also support operational communications.
Distribution relies heavily on targeted social engineering through LinkedIn recruiter impersonation, fake marketing-related job opportunities, and spearphishing messages or emails. Victims receive links to cloud-hosted archives containing disguised executables or malicious Windows shortcuts, frequently accompanied by legitimate-looking documents, images, or videos. Shortcut-based chains execute obfuscated PowerShell to retrieve subsequent stages. Impersonated marketing and software websites have also served as delivery channels.
Many DUCKTAIL payloads use self-contained .NET Core single-file packaging. Observed evasion measures include command obfuscation, inflated shortcut files, valid code-signing certificates, and debugger or sandbox checks. A documented Delphi-based campaign deployed a malicious browser extension by modifying browser shortcuts, allowing continued monitoring and theft of Facebook-related session and account information.
Techniques & procedures
42 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
4 techniques
Reconnaissance
We have analyzed a recent campaign that ran between March and early October 2023 and targeted marketing professionals.
“...scout for companies that operate on Facebook’s Business/Ads platform and directly target individuals within the company/business that might have high-level access...”
“...scout for companies that operate on Facebook’s Business/Ads platform and directly target individuals... malware was delivered to victims through LinkedIn.”
MITRE ATT&CK Matrix ... T1598.002 Phishing for Information: Spearphishing Attachment
Resource Development
5 techniques
Resource Development
threat actors also registered many custom domains through Rebrandly, spreading shortened links with their own fake company name domains
Malicious archives are often hosted on public cloud hosting services like iCloud, Google Drive, Dropbox, Transfer.sh, and OneDrive... threat actors use Trello... as a cloud hosting service
For SYS01stealer the researchers state the loop outright: hijacked accounts are used to launch more malicious ads. In a 2023 NodeStealer wave, the ad credit of compromised business accounts paid for the ads that delivered the malware.
T1587.001 Develop Capabilities: Malware DUCKTAIL custom .NET malware
Threat actor created fake organizations and received certificates for them while signing malware.
Initial Access
5 techniques
Initial Access
Ad account theft, the systematic hijacking of Meta Business Manager and Google Ads accounts, has grown into a commodity-driven cybercrime economy... Legitimate ad spend history raises account trust scores, meaning aged, active accounts can serve ads that pass platform safety checks that would reject a new attacker-created account.
The operator went after people likely to hold high-level access to a company's Business account, in managerial, digital marketing, digital media and human resources roles, and in some cases delivered the malware through LinkedIn .
The campaign saw the bad actor send out an archive containing images of new products by bona fide companies along with a malicious executable disguised with a PDF icon.
T1566 .002 Phishing: Spearphishing Link Threat actor posted links to archives with malicious LNK files on Reddit
DuckTail primarily reaches victims by posting fake marketing-related job listings on LinkedIn... Once a potential victim responds to a bait post, the “recruiter” will send a message on LinkedIn.
Execution
3 techniques
Execution
Type 2 Archive - .lnk files with PowerShell payloads, plus .scr executables, both obscured by double extensions (.pdf.lnk, .docx.scr)
While the script stands by, the parent executable saves a malicious library named libEGL.dll to C:\Users\Public\Libraries\ and then loads it.
The ads came from pages with names such as Album Update, showed revealing photos of young women, and offered a photo album that was in fact a Windows executable.
Persistence
4 techniques
Persistence
Ad account theft, the systematic hijacking of Meta Business Manager and Google Ads accounts, has grown into a commodity-driven cybercrime economy... Legitimate ad spend history raises account trust scores, meaning aged, active accounts can serve ads that pass platform safety checks that would reject a new attacker-created account.
Meta later reported [[URL_744075f8_30]] that, as its detection began ending stolen sessions, DUCKTAIL's operators automated the step of granting business admin permission to their own requests, to act before they were blocked.
“Detonating one of the samples, we observed that a new account was being created on the analysis machine…”
The malware would install a browser extension capable of stealing Facebook business and ads accounts, likely for subsequent sale.
Privilege Escalation
2 techniques
Privilege Escalation
Ad account theft, the systematic hijacking of Meta Business Manager and Google Ads accounts, has grown into a commodity-driven cybercrime economy... Legitimate ad spend history raises account trust scores, meaning aged, active accounts can serve ads that pass platform safety checks that would reject a new attacker-created account.
Meta later reported [[URL_744075f8_30]] that, as its detection began ending stolen sessions, DUCKTAIL's operators automated the step of granting business admin permission to their own requests, to act before they were blocked.
Stealth
7 techniques
Stealth
The PowerShell command inside the LNK is lightly obfuscated using simple tricks like adding quotes, concatenation, and string replace which are used to bypass static detections.
LNK files are artificially inflated to the size of ~300mb
Double-clicking the executable (camouflaged as another type of file) inside it... Includes a fake Office or PDF document icon... .lnk files with PowerShell payloads, plus .scr executables, both obscured by double extensions (.pdf.lnk, .docx.scr)
Finally, the 2nd-stage PowerShell deletes the initial LNK file to cover its tracks
Ad account theft, the systematic hijacking of Meta Business Manager and Google Ads accounts, has grown into a commodity-driven cybercrime economy... Legitimate ad spend history raises account trust scores, meaning aged, active accounts can serve ads that pass platform safety checks that would reject a new attacker-created account.
.NET core “single file” apps are multiple binaries appended to one another... the first binary in the append chain has the responsibility of being a “.NET loader” that loads subsequent .NET resources (appended after the loader) into memory at runtime. Once the resources get loaded, the actual .NET app gets run.
T1622 Debugger Evasion Malware checks if debugger is present.
Defense Impairment
1 technique
Defense Impairment
Samples were hosted on Dropbox, iCloud and MediaFire, usually inside an archive, and some were signed with a valid code-signing certificate.
Credential Access
2 techniques
Credential Access
Once running, the malware took every stored browser cookie, the Facebook session among them, then tried to add the operator's own email addresses to the victim's Business account with Admin and Finance editor roles.
It stole cookies and saved passwords to compromise Facebook, Gmail and Outlook accounts, then queried Facebook for the advertising details of the account it had taken.
Discovery
5 techniques
Discovery
T1012 Query Registry Malware tries to identify default browser.
Malware tries to ping IP address in HEX format to check internet connectivity.
T1057 Process Discovery If there are less than 150 running processes the malware won’t execute.
T1083 File and Directory Discovery Malware tries to steal browser cookies from specific locations.
T1622 Debugger Evasion Malware checks if debugger is present.
Lateral Movement
1 technique
Lateral Movement
“…followed by an RDP connection from an operator who downloaded additional tools…”
Collection
1 technique
Collection
The threat actors will ask the interested applicant to review the job application package by: Downloading an archive
Command and Control
5 techniques
Command and Control
It constantly sends the details of all open browser tabs to the command-and-control (C&C) server, and if detecting Facebook-related URLs, checks for ads and business accounts to try and steal them.
Makes use of Telegram for C2 communications
It reported back through Telegram bots.
“…an RDP connection from an operator who downloaded additional tools…”
MITRE ATT&CK Matrix ... T1132.001 Data Encoding: Standard Encoding
Exfiltration
2 techniques
Exfiltration
Stolen credentials and cookies are forwarded to a C&C server registered in Vietnam.
the malware exfiltrated data via a Telegram bot, in this case via an HTTP request to: hxxps://api.telegram.org/.../sendMessage
Observables
47 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.