Skip to main content
Xsec

Reducing Your Attack Surface on Discord

Published on 8 min read

Updated on

Part 2 of 3
In this series20 min read in total
  1. Email aliases, take back control of your mails
  2. Reducing Your Attack Surface on Discord
  3. useful-links

Have you ever heard of “DOX/DOXXING/SWAT”? Understand how these practices work and protect yourself!

The act of “DOX” involves sharing personal information about someone without their consent, with the intent to harm them.

The technical principle behind this term is OSINT. Open Source Intelligence (OSINT) is a legal reconnaissance practice aimed at gathering information about a physical or legal entity from open sources. It is used by cybersecurity professionals, government agencies, authorities… It’s not niche but a very powerful and widely used practice.

  • Websites/apps and social networks (your accounts on these platforms) and, by extension, the content you share on them.
  • Search engines (Google, Bing, Duckduckgo…).
  • Leak databases (services/sites compromised where information has leaked online), which fall outside the scope of OSINT (illegal data possession).
  • White/Yellow pages and other directory listings.
  • Specialized sites and tools (Mr.Holmes, Maigret, Holehe, Maltego, whatsmyname.app, intelx.io…) that facilitate the collection of information from multiple sources in one place.

As you’ve understood, OSINT is an investigative process that is primarily PASSIVE (excluding phishing, “token grab,” or any so-called “active” actions). This means the target will not be informed of this process, making it even more dangerous.

This article aims to provide elements to prevent information gathering and control the exposure of your Discord profile.

In short, most of the work can be done by using a fake identity, email address, phone number, and sharing the minimum amount of information possible to reduce your digital footprint, at least on Discord.

There are different entry points:

  • Username.
  • All your previous usernames.
  • Biography.
  • Profile picture.
  • Linked accounts (social networks, Spotify, games…).
  • User ID (accessible via developer tools).
  • The email used during Discord registration.
NoteAccount Creation Date

The account creation date (now shown publicly on your profile as “Member Since”) and the date you joined a server provide information about how recent your account is, and by extension, information about you.

Common sense is just as important:

  • Do not share any personal information (spoken, written, screen share, or webcam) on Discord.

  • With no one, including friends, acquaintances, family members or colleagues.

  • Do not scan any QR code, especially if it’s offered for verification purposes on a server.

  • Be wary of “try my game” messages that come with an executable or a link, even from a friend: it is a classic malware and token-grab vector, and the friend’s account is often compromised itself.

DangerSharing Sensitive Information on Discord

If you still want to share sensitive information on Discord, but in a temporary and trace-free manner, use an online text-sharing service that is end-to-end encrypted, password-protected, and has an expiration date like: PrivateBin. This way, the data can only be accessed once and/or requires a password and expires after a set date. For files, you can use a service like Protondrive (requires an account, up to 5GB for free) or Swisstransfer (no account required and limited to 50GB for free).

NoteEncrypted Calls, Unencrypted Messages

Since May 2026, all Discord audio and video calls are end-to-end encrypted by default (the DAVE protocol, open and audited). This is not the case for messages: DMs and server messages are stored on Discord’s side, readable by the platform and exposed in the event of a breach or legal request. Write every message as if it could become public.

ZONE 1 (Easy)

Tip

This zone is intended for beginners who want to quickly adopt some good practices (the essential minimum).

  • Don’t use the same username on all your platforms; prefer a unique username for Discord.
  • Limit yourself to the bare minimum in your biography, no Linktr.ee or links to your social networks.
  • Avoid token grabs, cookie stealers, or IP loggers: do not click on ANY LINK in Discord (even YouTube! copy/paste or rewrite the title instead), open it in another browser (if possible, one specifically set up for this purpose - sandboxed or, better yet, use an online sandbox service).
  • Don’t link your gaming and site accounts to Discord! All applications linked to your profile, such as bots or accounts, will see information about it (especially linked accounts, which can leak your profile, email, name/first name… (if used on the linked services)).

If you must link one or more accounts, uncheck the display on your profile:

Reducing public visibility of linked accounts on Discord

DangerDiscord Has Displayed Your Accounts (Even If They Are Hidden)!

Discord has displayed all accounts linked to a profile, regardless of the configuration (hidden or not in the settings), source: this article and this X Thread:

https://twitter.com/panley01/status/1692036545539101049

Just don’t link your accounts to Discord!

  • Don’t use any selfbot, injection client (BetterDiscord-like), or any other client modifications.
  • Never connect to a site that offers to log in with Discord (if the site’s database is compromised, information such as your username, Discord ID, email, password hash… will be available online. A recent example is discord.io).

If you still wish to use this feature on the sites that offer it, create another account specifically for this purpose by following the requirements in Zone 3.

  • Treat every public server as a public forum: your messages, your connection times, and the voice channels you frequent are massively collected by third-party services, despite Discord’s ban on scraping.
WarningYour Public Messages Are Archived

In 2024, the Spy.pet service was caught reselling roughly 4 billion public messages collected from more than 14,000 servers (620 million accounts affected), source: 404 Media. Discord took the site down, but clones exist: deleting your account or your messages does not delete these third-party archives.

  • Use server profiles to compartmentalize your identities across communities: a distinct nickname per server (free), a per-server avatar and bio (Nitro).

ZONE 2 (Intermediate)

Warning

This zone builds on the previous one and includes various Discord settings changes.

NoteThe Menus Have Changed

Discord has reorganized its settings since this article was first written: the options below now mostly live under “Data & Privacy” and “Content & Social”. The screenshots may differ slightly, but the options still exist.

  • If you share your screen, enable streamer mode:

  • Make sure “Filter all private messages” (spam) is enabled:

  • Ensure “Allow private messages from server members” and “Allow message requests from server members you may not know” are disabled:

  • Check the access that applications/bots/accounts have to your information: what information they can collect, what permissions are granted to them, and, if possible, revoke all authorizations.

  • Restrict who can send you friend requests (“Content & Social” then “Friend Requests”): at the very least, disable “Everyone”.

  • Disable the display of your current activity (“Activity Privacy” settings): your game status reveals in real time what you are doing, when, and for how long.

  • In “Data & Privacy”, disable the use of your data to “improve Discord” and for personalization: these options are enabled by default and only serve data collection.

ZONE 3 (Advanced)

Danger

This zone builds on the previous ones and presents advanced concepts for creating a Discord account without personal data.

  • Recreate an account with a fake identity fakenamegenerator (for example) to mitigate the potential data leak risk from the old account.

  • Use a unique email for Discord. Email aliases, take back control of your mails explains compartmentalization through aliases.

  • There have already been leaks on major third-party platforms:

  • Use a password that meets ANSSI’s requirements (complexity, storage and lifecycle, password manager highly recommended, e.g. KeePassXC) and enable multi-factor authentication. The dedicated MFA article explains factors, temporary codes, and the limits created by session theft.

  • For MFA, prefer an authenticator app or, better, a security key or a passkey (now supported by Discord), SMS being the weakest factor (SIM swap). Keep your backup codes in your password manager: with a throwaway email and phone number, losing MFA means losing the account.

  • For 2FA and verification, use a phone number unique to Discord (e.g. OnOff). Discord sometimes rejects VoIP numbers: a dedicated prepaid SIM card is the alternative.

DangerAge Verification: Never Give More Than the Minimum

Since 2025 (United Kingdom and Australia first, then a progressive rollout), Discord requires age verification to access certain content: an on-device facial estimation or the upload of an ID document through a vendor (official FAQ).

In October 2025, the compromise of a third-party support provider (5CA) exposed roughly 70,000 photos of ID documents submitted during age verification appeals, along with support conversations, all followed by a ransom demand, source: Bitdefender.

If verification is unavoidable, prefer the facial estimation (processed locally according to Discord) over uploading a document. And never send an ID document to support if you can avoid it: everything you hand to support becomes part of your attack surface.

Note

If you follow all these measures, the only entry point to reach you (likely) will be outside of Discord. This is, in fact, one of the preferred methods for gathering information about you, tricking you into installing malicious software, or stealing a session cookie (such as your Discord token).

These recommendations are offered as suggestions. You may choose not to implement some of them based on your desired level of security. In such cases, it’s important to understand the risks and accept the potential consequences.

Use with an AI

Actions