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 CrowdStrike LogScale
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
LogScale Detection Query
#event_simpleName IN ("FileWritten", "DnsRequest", "ProcessRollup2")
| case {
#event_simpleName="FileWritten" AND TargetFileName=/(?i)(Login Data|Cookies|Web Data|Local State|wallet\.dat|keystore\.json)$/ AND TargetFileName!=/(?i)User Data/ => SignalType := "StagedCredentialCopy";
#event_simpleName="ProcessRollup2" AND CommandLine=/(?i)discord.*api\/webhooks/ => SignalType := "WebhookCmdLine";
#event_simpleName="DnsRequest" AND DomainName=/(?i)discord(app)?\.com$/ => SignalType := "DiscordNetConn";
* => SignalType := "None"
}
| SignalType != "None"
| RiskScore := case { SignalType="WebhookCmdLine" => 85; SignalType="StagedCredentialCopy" => 80; * => 55 }
| stats count() as EventCount, max(RiskScore) as MaxRisk by ComputerName, UserName, SignalType
| sort(MaxRisk, order=desc) CrowdStrike LogScale query detecting staged browser credential-store copies and Discord webhook contact/command-line references indicative of infostealer exfiltration via Falcon FileWritten, ProcessRollup2, and NetworkConnectIP4 telemetry.
Data Sources
Required Tables
False Positives & Tuning
- Discord bot and automation service accounts posting to webhooks as part of legitimate workflows
- Authorized 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.