En bref
Une campagne de phishing a été identifiée, ciblant les informations d'identification de messagerie et collectant des données supplémentaires, y compris les enregistrements MX des domaines des victimes. Cette attaque est significative car elle intègre une phase de reconnaissance automatisée dans le processus de vol de crédentiels, potentiellement pour des attaques ultérieures ou la priorisation des cibles. La gravité est élevée en raison du vol de crédentiels et de la collecte d'informations sur l'infrastructure.
En détail
Cette campagne de phishing utilise des messages d'hameçonnage se présentant comme des alertes d'expiration de mot de passe. Le lien malveillant dirige les victimes vers une page d'authentification hébergée sur Google Cloud Storage, personnalisée avec le domaine de l'adresse e-mail de la victime et tentant d'afficher un arrière-plan imitant le site légitime de l'organisation.
Le kit de phishing, après désobfuscation, collecte non seulement le mot de passe soumis, mais aussi l'adresse IP publique, la localisation géographique, les informations du navigateur et la langue de l'utilisateur. Une particularité notable est l'exécution d'une requête DNS-over-HTTPS (DoH) vers le service DNS public de Google pour récupérer les enregistrements MX (Mail eXchanger) du domaine de messagerie de la victime. Ces enregistrements MX sont ensuite inclus dans les informations envoyées à l'attaquant via l'API Telegram Bot, en plus des autres données volées. Bien que les enregistrements MX soient publics, leur collecte automatisée et leur association directe avec les informations d'identification volées facilitent l'identification de l'infrastructure de messagerie de l'organisation ciblée, ce qui pourrait être exploité pour des attaques ultérieures ou pour hiérarchiser les victimes.
Impact
Un attaquant peut obtenir les identifiants de messagerie des victimes, leur adresse IP, leur localisation géographique, des informations sur leur navigateur, et les enregistrements MX de leur domaine de messagerie. Ces informations peuvent être utilisées pour accéder aux comptes de messagerie, lancer des attaques ciblées supplémentaires contre l'infrastructure de messagerie de l'organisation ou prioriser les cibles.
Exploitation
Exploitée.
Mesures recommandées
- Sensibiliser les utilisateurs aux techniques de phishing, en insistant sur la vérification des URL et la méfiance envers les messages d'expiration de mot de passe.
- Mettre en œuvre l'authentification multifacteur (MFA) pour tous les services, en particulier la messagerie, afin de limiter l'impact du vol de crédentiels.
- Déployer des solutions de filtrage de messagerie robustes pour détecter et bloquer les messages de phishing avant qu'ils n'atteignent les boîtes de réception des utilisateurs.
- Mettre en place des passerelles web sécurisées pour bloquer l'accès aux sites de phishing connus et aux domaines malveillants.
- Surveiller les logs des serveurs DNS et des proxys pour détecter des requêtes DNS-over-HTTPS inhabituelles ou des tentatives de résolution de domaines suspects.
Vérifier son exposition
- Vérifier les logs des serveurs de messagerie et des systèmes de sécurité pour des tentatives d'authentification inhabituelles ou des accès depuis des adresses IP suspectes.
- Examiner les logs des proxys web et des pare-feu pour des connexions vers des services de stockage cloud (comme Google Cloud Storage) ou des services DNS publics (comme dns.google) qui ne correspondent pas à une activité légitime.
- Rechercher dans les logs DNS des requêtes MX pour des domaines internes provenant de sources inattendues ou en grand volume.
- Analyser les rapports d'incidents de sécurité des utilisateurs pour des signalements de messages de phishing ou de pages d'authentification suspectes.
Synthèse rédigée automatiquement à partir de la source officielle. En cas de doute, la source fait foi.
Texte d'origine de la source (en anglais)
I’ve mentioned before in some of my diaries that it can be instructive to look at what appear to be “generic” phishing messages in detail from time to time, since some of them might prove not to be as generic as they initially appear. I came across a good example of this while going over phishing messages delivered to our handler inbox over the past few weeks, when a message that, at first glance, appeared to be a fairly ordinary attempt at stealing e-mail credentials turned out to lead to a page interested in collecting a little more information than just the victim's password. As you can see, the original message was not especially noteworthy on its own, being a spin on the usual “your password will expire today” approach… The link pointed to an HTML page hosted on Google Cloud Storage, with the recipient's e-mail address included in the URL fragment: hxxps[:]//storage[.]googleapis[.]com/alx2/03/1a/we.html#[recipient_e-mail_address] After opening the link, the recipient would be presented with a generic login form, personalized using the domain part of their e-mail address. The page also attempted to use a screenshot of the legitimate website of the recipient's organization as its background, which it retrieved using the thum.io service. This didn't work quite as intended for isc.sans.edu, since the screenshot service returned an error message instead of the requested image. However, when I modified the URL to contain an e-mail address from another domain, the resulting page looked considerably more convincing. Looking at the source code revealed a couple of layers of URL-encoding and additional JavaScript obfuscation. Once these were removed, the page turned out to contain a fairly typical credential-harvesting kit, which supported multiple languages and attempted to collect not just the submitted password, but also the visitor's public IP address, geographic location, browser information and language. This information, along with a timestamp, was supposed to be sent to the attacker using the Telegram Bot API. Such extensive collection of information is not particularly unusual. In fact, another phishing page that I examined recently collected a similarly extensive set of information and also sent it to the attacker using Telegram. In the present case, however, one additional field included in the information sent to the attacker caught my attention - it was labeled "MX Record". A closer look at the corresponding code revealed that the JavaScript actually performed a DNS-over-HTTPS query for MX records associated with the victim's e-mail domain, using Google's public DNS service. The relevant parts of the code (slightly simplified and reformatted for readability) looked as follows: ... const response = await fetch( "https://dns.google/resolve?name=" + domain + "&type=MX" ); const data = await response.json(); return data.Answer.map(answer => answer.data).join("\n"); ... The retrieved records were then included in the message containing the stolen credentials: ... message += "MX Record : " + await getMXRecord(domain) + "\n"; ... The use of MX records in phishing is certainly not new. For example, Infoblox documented a phishing-as-a-service operation called Morphing Meerkat in March 2025, which used DNS-over-HTTPS queries for MX records to identify victims' e-mail service providers and dynamically select appropriate phishing templates[ 1 ]. In the present case, however, the MX records weren't used to customize the phishing page. Instead, the lookup was performed as part of the credential collection process, and its results were included in the information sent to the attacker. Of course, MX records are publicly available, and there is nothing preventing an attacker from looking them up independently. Nevertheless, including them with each set of stolen credentials would help the attacker automatically identify the e-mail infrastructure used by the targeted organization, which could be useful for further attacks or for prioritizing the collected credentials. Whether the threat actor behind this particular phishing actually used the collected MX records in this (or any) way is impossible to say. Still, having the phishing page perform a little additional reconnaissance on the victim's organization, and including the results with the stolen credentials, seems like a noteworthy detail in an otherwise fairly ordinary phishing kit… [1] https://www.infoblox.com/blog/threat-intelligence/a-phishing-tale-of-doh-and-dns-mx-abuse/ ----------- Jan Kopriva LinkedIn Nettles Consulting (c) SANS Internet Storm Center. https://isc.sans.edu Creative Commons Attribution-Noncommercial 3.0 United States License.