Skip to main content
Mallory
← Back to News
command-and-control-methoddata-exfiltration-methodremote-access-implantinitial-access-method

SLUB Backdoor Campaign Used GitHub and Slack for Stealthy C2

Attack Tradecraft · 4 sources · Updated 4mo ago · First seen Feb 27, 2019

SLUB Backdoor Campaign Used GitHub and Slack for Stealthy C2

Researchers uncovered a targeted multi-stage malware campaign that compromised victims through watering hole attacks and exploitation of CVE-2018-8174, a zero-day VBScript use-after-free flaw triggered through Internet Explorer’s rendering engine. The exploit chain, previously documented as being deliverable through malicious Office content that forced mshtml.dll to load remote HTML and obfuscated VBScript, enabled shellcode execution and helped attackers install a downloader followed by a custom backdoor dubbed SLUB.

Once deployed, SLUB used legitimate cloud and collaboration services to hide command-and-control and data theft activity. The malware retrieved commands from a GitHub Gist, sent execution results to private Slack channels using embedded API tokens, and uploaded stolen files to file.io. Trend Micro said the downloader also checked for antivirus processes and exploited CVE-2015-1701 for local privilege escalation, while the backdoor persisted via a Run registry key and rundll32.exe. The operation appeared focused on collecting person-related information and communications data, including content from Skype, KakaoTalk, Twitter, bulletin board systems, and HWP documents; GitHub and Slack removed the malicious infrastructure after notification.

Why it matters

Impact assessment

This activity represents a targeted espionage campaign rather than broad opportunistic malware. The primary affected populations are users exposed to compromised watering-hole sites and systems running Internet Explorer or Office-driven IE rendering paths vulnerable to CVE-2018-8174, with observed collection focused on person-related information, communications data, and Korean-language document content.

Operational impact is high for targeted victims because the malware supports persistent remote access, local privilege escalation, host reconnaissance, screenshot capture, file theft, and communications archive exfiltration. The scope appears limited and selective, but there is confirmed exploitation in the wild and direct evidence of victim data theft.

Affected entities and exposure

  • Affected software and platforms:
    • Microsoft Internet Explorer rendering engine via mshtml.dll
    • VBScript engine vulnerable to CVE-2018-8174
    • Systems vulnerable to CVE-2015-1701 for local privilege escalation
    • Microsoft Word or Office content paths that can instantiate mshtml.dll through URL Moniker/OLE delivery
  • Likely targeted users:
    • Visitors to compromised watering-hole sites
    • Users handling Korean-language content or HWP documents
    • Individuals whose systems contain Skype, KakaoTalk, Twitter, bulletin board, or related communications data
    • In the broader Earth Kitsune reporting, users interested in North Korea-related issues and the global Korean diaspora
  • Severity drivers:
    • Theft of Desktop contents and communications archives
    • Persistent backdoor access via registry Run key and rundll32.exe
    • Privilege escalation increasing attacker control
    • Use of trusted cloud services for stealthy C2 and exfiltration

Known incidents and scope

  • Trend Micro assessed the activity with strong confidence as a targeted attack campaign.
  • Researchers observed first victims on 2019-02-27.
  • GitHub and Slack removed the malicious infrastructure after notification, disrupting attacker communications.
  • CVE-2018-8174 was separately documented as exploited in the wild by an APT actor in 2018.
  • The broader SLUB-linked Operation Earth Kitsune reporting indicates continued operational use of the malware family through 2020 with updated infrastructure and exploit chains.
Who uses this technique?Get the actors, campaigns, and ATT&CK mapping behind it.
Get the tradecraft
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

11 events · Apr 2018 – Feb 28, 2020
  1. Feb 28, 20207y ago

    Attackers deploy Mattermost-based SLUB variant in Earth Kitsune

    Trend Micro found that by 2020 the operators had updated SLUB to replace Slack with attacker-controlled Mattermost infrastructure, creating per-victim channels and uploading command output and screenshots. The report traced older Mattermost-based samples to February 28, 2020, and indicated the malicious Mattermost server was set up on March 10, 2020, as part of Operation Earth Kitsune.

    Trendmicro Documents
  2. Reported Mar 7, 20198y ago

    Trend Micro discloses the SLUB campaign

    Trend Micro publicly described the previously unknown multi-stage SLUB malware campaign, including its watering hole delivery, use of CVE-2018-8174 and CVE-2015-1701, and abuse of GitHub, Slack, and file.io for operations. The report also detailed the attackers' focus on person-related information, Skype data, and HWP documents.

    New SLUB Backdoor Uses GitHub, Communicates via Slack | Trend Micro (US)
  3. Reported Mar 7, 20198y ago

    GitHub and Slack remove SLUB infrastructure

    After notification from researchers, GitHub and Slack removed the malicious infrastructure used by the SLUB campaign. This disrupted the attackers' communications channels.

    New SLUB Backdoor Uses GitHub, Communicates via Slack | Trend Micro (US)
  4. Feb 27, 20198y ago

    First SLUB victims observed

    The first victims of the SLUB campaign were observed on February 27 after watering hole attacks redirected visitors into an infection chain exploiting CVE-2018-8174. The malware then gathered host context and began collecting user files and communications data.

    New SLUB Backdoor Uses GitHub, Communicates via Slack | Trend Micro (US)
  5. Feb 22, 20198y ago

    Attackers compile the SLUB malware

    Researchers estimated that the attackers compiled the malware on February 22. The campaign used a downloader followed by a custom C++ backdoor dubbed SLUB.

    New SLUB Backdoor Uses GitHub, Communicates via Slack | Trend Micro (US)
  6. Feb 20, 20198y ago

    Attackers create Slack workspace and add first commands

    On February 20, the attackers created the Slack workspace used for malware communications and added the first commands to GitHub. SLUB later used embedded Slack API tokens to post results to private channels.

    New SLUB Backdoor Uses GitHub, Communicates via Slack | Trend Micro (US)
  7. Feb 19, 20198y ago

    Attackers create GitHub account for SLUB campaign

    The operators behind the SLUB malware campaign created the GitHub account used for command retrieval on February 19. The campaign later used a GitHub Gist as part of its command-and-control workflow.

    New SLUB Backdoor Uses GitHub, Communicates via Slack | Trend Micro (US)
  8. Feb 2019

    Attackers test SLUB malware

    The attackers tested the malware on February 23 and 24 before broader victim activity was observed. The campaign used GitHub for commands and Slack for exfiltration and operator communications.

    New SLUB Backdoor Uses GitHub, Communicates via Slack | Trend Micro (US)
  9. May 2018

    Microsoft patches CVE-2018-8174

    Microsoft had already patched CVE-2018-8174 in May 2018 before the later SLUB campaign used it for initial compromise. The flaw affected VBScript via the Internet Explorer rendering engine.

    New SLUB Backdoor Uses GitHub, Communicates via Slack | Trend Micro (US)
  10. Apr 18, 20189y ago

    Malicious CVE-2018-8174 sample uploaded to VirusTotal

    A malicious sample exploiting CVE-2018-8174 was uploaded to VirusTotal on April 18, 2018. The exploit chain used a Microsoft Word document to fetch remote HTML containing VBScript that triggered the vulnerability.

    The King is dead. Long live the King! | Securelist
  11. Apr 2018

    CVE-2018-8174 exploit observed in the wild

    Kaspersky reported that the CVE-2018-8174 VBScript zero-day was found in the wild in late April 2018 and was reportedly used by an APT actor. Microsoft later confirmed the issue as CVE-2018-8174 after receiving the report.

    The King is dead. Long live the King! | Securelist
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Vulnerabilities

1 linked

Malware

1 linked

Affected products

2 linked
VbscriptInternet Explorer

Organizations

2 linked
HanseattleKorean American National Coordinating Council

Observables

6 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Get the adversaries, campaigns, and ATT&CK mapping behind this technique, with detections ready to deploy.
See Who Uses This Technique
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.