← Lab /Security & privacy

BrazenBamboo exploits FortiClient zero-day to steal VPN credentials via DEEPDATA

A zero-day vulnerability in FortiClient allows DEEPDATA to extract VPN usernames and passwords from process memory.

Security & privacy Volexity 15 Nov 2024 Disclosure Real-world evidence

Published as “BrazenBamboo Weaponizes FortiClient Vulnerability to Steal VPN Credentials via DEEPDATA”

Why it matters

The discovery reveals a previously unknown credential-stealing vector in FortiClient that can be leveraged by state-linked malware.

Summary

Volexity discovered that the DEEPDATA malware family includes a plugin (msenvico.dll) that reads FortiClient VPN process memory to pull usernames, passwords, remote gateway and port values. The plugin works against FortiClient version 7.4.0 but not against older releases. The vulnerability was reported to Fortinet in July 2024 and remains unpatched at the time of writing. The write-up also maps BrazenBamboo's infrastructure and links DEEPDATA, LIGHTSPY, and DEEPPOST under the same threat actor, including a newly observed Windows variant of LIGHTSPY.

What they found 1

  1. DEEPDATA includes a FortiClient plugin that extracts credentials and server information from the VPN client’s process memory.

    “FortiClient | Extract credentials and server information from process memory of FortiClient VPN processes.”

Caveats 2

  • The same approach does not work against older versions of the Fortinet VPN client.
  • At the time of writing, this issue remains unresolved and Volexity is not aware of an assigned CVE number.

What’s new here 4

  • Identification of a zero-day credential disclosure vulnerability in FortiClient exploited by DEEPDATA.
  • Detailed reverse-engineering of the FortiClient plugin (msenvico.dll) that extracts VPN credentials from memory.
  • Linkage of DEEPDATA, LIGHTSPY, and DEEPPOST malware families to the Chinese state-affiliated actor BrazenBamboo.
  • Discovery of a new Windows variant of LIGHTSPY with a unique UDP handshake and updated encoding.