Response playbooks, investigation guides, and Atomic Red Team tests are Pro-only. Upgrade to unlock the full detection package for THREAT-DiscordWebhook-InfostealerExfil.
Upgrade to ProDetect Infostealer Credential Exfiltration via Discord Webhook in Sumo Logic CSE
Commodity infostealer malware (RedLine, Raccoon, Vidar, Lumma) and remote access trojans (AsyncRAT) overwhelmingly favor Discord webhooks as a C2-less exfiltration drop for stolen browser credential stores, cookies, cryptocurrency wallet files, and Discord/Telegram session tokens. The webhook URL is hardcoded into the compiled binary, requires no attacker-side listener infrastructure, and the resulting HTTPS traffic to discord.com blends into normal collaboration-tool egress that most enterprises never restrict. Because Discord is rarely blocked and the destination is a legitimate, widely-trusted SaaS domain, this vector routinely bypasses proxy category blocking and simple domain-reputation controls. The most reliable detection opportunity is not the network connection alone (Discord traffic is common) but the temporal pairing of a locked browser credential database being staged/copied by a non-browser process immediately before an outbound POST to a Discord webhook API path from that same process.
MITRE ATT&CK
- Tactic
- Exfiltration
Sumo Detection Query
_sourceCategory=windows/sysmon
| json auto
| where (EventID == "11" and TargetFilename matches "*(Login Data|Cookies|Web Data|Local State|wallet.dat|keystore.json)" and !(TargetFilename matches "*User Data*"))
or (EventID == "1" and CommandLine matches "*discord*api/webhooks*")
or (EventID == "3" and (DestinationHostname matches "discord.com" or DestinationHostname matches "discordapp.com"))
| eval SignalType = if(EventID == "11", "StagedCredentialCopy", if(EventID == "1", "WebhookCmdLine", "DiscordNetConn"))
| eval RiskScore = if(SignalType == "WebhookCmdLine", 85, if(SignalType == "StagedCredentialCopy", 80, 55))
| stats values(SignalType) as Signals, max(RiskScore) as MaxRisk, values(TargetFilename) as StagedFiles,
values(CommandLine) as CommandLines by ComputerName, User, Image
| where MaxRisk >= 55
| sort by MaxRisk desc Sumo Logic search correlating Sysmon file creation, process creation, and network connection events to detect Discord-webhook infostealer exfiltration, prioritizing the staged credential copy and webhook command-line signals over the coarser hostname-only network signal.
Data Sources
Required Tables
False Positives & Tuning
- Discord bot automation and CI/CD status-notification scripts
- Authorized browser-profile migration or forensic collection tooling
Other platforms for THREAT-DiscordWebhook-InfostealerExfil
Testing Methodology
Validate this detection against 2 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1Simulate Staged Credential Copy Followed by Discord Webhook POST
Expected signal: Sysmon Event ID 11: File Create for '...\df00tech-staged\Login Data' outside any '\User Data\' path. Sysmon Event ID 1: Process Create for powershell.exe with CommandLine containing 'Invoke-RestMethod' and 'webhook.site'. Sysmon Event ID 3: Network Connection to webhook.site on port 443.
- Test 2Command-Line Discord Webhook Invocation (Script-Based Exfil Simulation)
Expected signal: Sysmon Event ID 1: Process Create with Image=powershell.exe, CommandLine containing 'discord.com/api/webhooks/'. Sysmon Event ID 3: Network Connection attempted to discord.com:443 (fails with 401 due to invalid token, but telemetry is still generated).
References (6)
- https://attack.mitre.org/techniques/T1567/004/
- https://www.recordedfuture.com/research
- https://blog.talosintelligence.com/collab-app-abuse/
- https://www.cyberark.com/resources/threat-research-blog/the-not-so-secret-war-on-discord
- https://research.checkpoint.com/2023/discord-and-slack-malware-a-growing-threat/
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1567.004/T1567.004.md
Unlock playbooks & atomic tests with Pro
Get the full detection package for THREAT-DiscordWebhook-InfostealerExfil — response playbook and atomic red team tests, plus investigation guidance and hunting queries.
df00tech Pro — £29/user/month
Related Detections
Tactic Hub
Detection Variants (1)
Different telemetry and tradecraft for the same technique — pick the one that matches the data you collect.