Raccoon Stealer
- Type
- Infostealer
- Capabilities
- Credential theftSession hijackingExfiltrationPost exploitation
- Delivery
- MalvertisingExploit kitDrive byCloaking
- Platforms
- Windows
Raccoon Stealer, also known as Raccoon Infostealer, is an information-stealing malware family offered through criminal subscription services. It harvests saved browser credentials, cookies and session data, autofill information, browsing history, and financial information from compromised computers, including data stored by Chromium-based browsers. Stolen information is collected into logs that circulate through underground marketplaces and private sellers, enabling credential abuse, authenticated-session hijacking, and subsequent corporate intrusions.
Raccoon infections affect both personal and work-related computing environments. Credentials stolen from infected devices can expose organizational services even when the compromised device is not managed by the organization. Raccoon has been distributed as a payload by SmokeLoader and used by Scattered Spider to collect browser information after initial compromise. Its stolen logs are traded at substantial scale: more than two million Raccoon logs were recorded on Russian Market in February 2023. The family supports a broader criminal ecosystem in which log sellers, initial access brokers, and intrusion operators monetize stolen account access.
Associated vulnerabilities
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
10 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Analysis showed that the attackers used the technique to distribute Raccoon stealer... They, in particular, used Telegram channels in order to bypass blocking of active C&C servers.
ServHelper is being installed onto the targeted systems using several different mechanisms, ranging from fake installers for popular software to using other malware families such as Raccoon and Amadey as the installation proxies.
Since the beginning of 2019, the Raccoon malware has been offered as malware-as-a-service on various cybercrime forums... In June 2022, a new version of the Raccoon stealer was identified in the wild... Initially, the malware was named “Recordbreaker” but was later identified as a revived version of Raccoon stealer.
Il dépose entre 40 et 50 exécutables ... et installe simultanément plusieurs familles de malwares : Raccoon Stealer v1.7.2 (vol d’informations)
Deux bots infostealer originaires d’Algérie contenant ses identifiants (infectés par Raccoon en septembre 2022 et StealC en février 2024)
+4 more in the app. View in Mallory
Techniques & procedures
100 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
4 techniques
Reconnaissance
T1589.001 — Gather Victim Identity Information: Credentials (Reconnaissance)
Volt Typhoon has obtained the victim's system current location.
“…T1597.002 (Purchase Technical Data) when using paid monitoring services or dark web aggregators…”, and: “purchasing or obtaining these logs maps to T1597.002…”
This attack – known as ‘malvertising’ – is often aimed at users looking to download popular software applications.
Resource Development
9 techniques
Resource Development
[ATK-16] Malvertising
The malicious link to download the malware-laced file is usually included in the description of the video.
Attackers also abuse such services... Free hosting services are often used to host malicious payload components... Attackers also figured out that they could proxy their C&C communication through cloud services like the Google App Engine.
The second malvertiser ('malsmoke') ... was able to abuse the Traffic Stars ad network and place their malicious ad on xhamster[.]com
Selon Group-IB, les cybercriminels s’appuient également sur ... la prise de contrôle de médias sociaux pour disséminer les logiciels malveillants.
the initial Version1(V1) was distributed in telegram groups and other forums as Malware-as-a-service (MaaS)
T1588.001 Obtain Capabilities: Malware Various malware samples are used to distribute Zloader or are distributed by Zloader itself.
“…latest GuLoader (aka CloudEye) downloader, which delivers Remcos, Vidar, and Raccoon…”
Malware packages in ISOs or ZIP files are advertised through malicious websites boosted by search engine optimization as installers for pirated or “cracked” commercial software packages.
Initial Access
9 techniques
Initial Access
“IAB используют скомпрометированные учётные данные для входа через VPN или RDP.”
"Technique Title Valid Accounts: Domain Accounts ID T1078.002..." and "...reset passwords and/or transfer MFA tokens [T1078.002]."
“the infection chain begins when threat actors gain initial access… using stolen credentials or authentication tokens… refresh tokens, or JSON Web Tokens (JWTs), threat actors authenticate to the Azure environment.”
Malvertising campaigns leading to exploit kits are nowhere near as common these days... relying on drive-by downloads.
Simple server-side cloaking performs the redirect to a Fallout exploit kit landing page which attempts to exploit CVE-2019-0752 (Internet Explorer) and CVE-2018-15982 (Flash Player) before dropping the Raccoon Stealer.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) has been distributed through cracked software downloads.(Citation: S2W Racoon 2022)
피싱 사이트를 통해 유포되는 CryptBot 정보탈취 악성코드 ... 유틸리티 프로그램으로 위장하여 정보탈취 악성코드를 유포하는 피싱 사이트
Documents with macros On February 28, nine days after the first domain was registered, the file “ Bank001.xlsm ” ... was uploaded ... The file is a lure document with malicious macros. When activated, it downloads a payload
One path for infection starts with the compromise of a legitimate site that hosts cryptographically signed MSI installers. These install popular software such as Discord.
Execution
11 techniques
Execution
According to the malware authors, the new Raccoon version was built from scratch using C/C++
We found several versions of these scripts, some triggering PowerShell code... All of them download and execute various MaaS (Malware as a Service) info-stealers.
The Raccoon stealer calls home for the first time by sending a unique string to the C2.
The file is a lure document with malicious macros. When activated, it downloads a payload
Raccoon takes a screen capture of the target machine using GetDesktopWindow and CreateCompatibleBitmap...
It downloads 7 legitimate third-party DLLs from the C2 server, using GET requests, in the following order: sqlite3.dll freebl3.dll mozglue.dll msvcp40.dll nss3.dll softokn3.dll vcruntime140.dll
In order to deliver Raccoon, the attackers leverage the Fallout exploit kit to spawn a PowerShell instance from Internet Explorer and subsequently download the main payload of the infostealer.
The shell32!ShellExecuteW API is called by passing the file and the ‘open’ operation as parameters.
Les cybercriminels intègrent par exemple des liens permettant de télécharger des malwares dans des critiques de jeux populaires ou dans des loteries sur les médias sociaux.
The file is a lure document with malicious macros. When activated, it downloads a payload from http://cloudupdate.co[.]za/documents/msofficeupdate.exe.
it changes the current working directory and adds the path to the APPDATA_LOCAL directory to “PATH” Environment Variable using SetEnvironmentVariableW.
Persistence
5 techniques
Persistence
“IAB используют скомпрометированные учётные данные для входа через VPN или RDP.”
"Technique Title Valid Accounts: Domain Accounts ID T1078.002..." and "...reset passwords and/or transfer MFA tokens [T1078.002]."
“the infection chain begins when threat actors gain initial access… using stolen credentials or authentication tokens… refresh tokens, or JSON Web Tokens (JWTs), threat actors authenticate to the Azure environment.”
In recent months, we have seen a growth in malware campaigns using malicious Microsoft Excel add-in (XLL) files to infect systems. This technique is tracked in MITRE ATT&CK as T1137.006.
These fingerprints meant the criminals could access ... without triggering security warnings ... Users could even bypass multi-factor authentication.
Privilege Escalation
4 techniques
Privilege Escalation
The new instance runs a legitimate version of the File Explorer executable (explorer.exe), and injects the miner code into that process via a RunPE method—replacing the code in the explorer.exe memory with the miner code.
A new process of Rundll32.exe is created via the CreateProcessInternalW API in the suspended state... The malware uses the following Win32 APIs for process hollowing: ZwUnmapViewOfSection ZwReadVirtualMemory ZwWriteVirtualMemory ZwGetContextThread ZwSetContextThread NtResumeThread
“IAB используют скомпрометированные учётные данные для входа через VPN или RDP.”
"Technique Title Valid Accounts: Domain Accounts ID T1078.002..." and "...reset passwords and/or transfer MFA tokens [T1078.002]."
Stealth
18 techniques
Stealth
Inside the file is another ZIP file that contains encrypted malware and a text file with a password.
The main payload of Raccoon is not packed... However, the Raccoon team does recommend a third-party crypter call GreenCrypt to evade antivirus products and protect against detection and analysis.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) dynamically links key WinApi functions during execution.(Citation: Sekoia Raccoon1 2022)(Citation: Sekoia Raccoon2 2022)
[Raccoon Stealer](https://attack.mitre.org/software/S1148) uses RC4 encryption for strings and command and control addresses to evade static detection.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon1 2022)(Citation: Sekoia Raccoon2 2022)
Firstly malware binary drops into the temp directory in any random name “\AppData\Local\Temp\ecc322f22da7cee63fb2ee0bfd5df59c.exe”
The new instance runs a legitimate version of the File Explorer executable (explorer.exe), and injects the miner code into that process via a RunPE method—replacing the code in the explorer.exe memory with the miner code.
A new process of Rundll32.exe is created via the CreateProcessInternalW API in the suspended state... The malware uses the following Win32 APIs for process hollowing: ZwUnmapViewOfSection ZwReadVirtualMemory ZwWriteVirtualMemory ZwGetContextThread ZwSetContextThread NtResumeThread
[Raccoon Stealer](https://attack.mitre.org/software/S1148) can remove files related to use and installation.(Citation: Sekoia Raccoon1 2022)
“IAB используют скомпрометированные учётные данные для входа через VPN или RDP.”
"Technique Title Valid Accounts: Domain Accounts ID T1078.002..." and "...reset passwords and/or transfer MFA tokens [T1078.002]."
[Raccoon Stealer](https://attack.mitre.org/software/S1148) uses RC4-encrypted, base64-encoded strings to obfuscate functionality and command and control servers.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon1 2022)
later it leverages RegSvcs.exe genuine software component of Microsoft . NET Framework by Microsoft which is located at C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe
After the locale name check, the stealer looks for any active malware samples, by calling kernel32.OpenMutexW. If an active malware process is found, the current malware execution is terminated, else a new mutex is created on the system.
For detecting sandboxed environments, especially virtual environments, the packer makes use of Read Time Stamp Counter (RDTSC), a very well known CPU instruction used to detect VM by calculating the time difference (delta) between two calls to RDTSC.
The malware then proceeds to check the locale of the system using GetUserDefaultLocaleName API... Usually threat actors opt for an option for excluding victims from certain geolocale.
The downloaded file was a VHD container which, when mounted, revealed Installer.bat, a batch file containing simple commands intended to raise execution privileges; add scanning exclusions for Windows Defender; and download and execute a remote batch script and an executable.
it changes the current working directory and adds the path to the APPDATA_LOCAL directory to “PATH” Environment Variable using SetEnvironmentVariableW.
To prevent anti-debugging, the malware includes process-level debug checks and sets the main thread hidden from the debugger.
Defense Impairment
2 techniques
Defense Impairment
These fingerprints meant the criminals could access ... without triggering security warnings ... Users could even bypass multi-factor authentication.
désactivation de Microsoft Defender (real-time monitoring, MAPS, exclusion du répertoire de staging)
Credential Access
13 techniques
Credential Access
расшифровка паролей, куки-файлов, сохранённых карт (СС) хрома (AES GCM) теперь происходит на серверной части
Raccoon Stealer is very popular since it steals a wide range of information from infected devices, such as stored browser credentials and information, credit cards, cryptocurrency wallets, email data, and various other types of sensitive data from numerous applications.
Current versions of Raccoon do not have keylogging functionality. Several users in the underground community are asking for this feature, and the Raccoon team has suggested it may be available in the future.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) attempts to steal cookies and related information in browser history.(Citation: Sekoia Raccoon2 2022)
Raccoon also targets the popular email client Microsoft Outlook... The values that Raccoon searches are: SMTP Email Address, SMTP Server, POP3 Server... POP3 Password2, IMAP Password2...
The browser stores the data in a Login Data SQLite database file... Raccoon copies targeted browser data files to the Temp folder... and extract sensitive data.
Raccoon extracts the email client information from a few registries key in different methods... For encrypted values like passwords, it decrypts the password using CryptUnprotectData.
it proceeds to collect browser saved passwords, credit card details and cookies using the following dll Sqlite3.dll – to collect login id and passwords from chrome(ium) based browsers mozglue.dll/nss3.dll – to collects login id and passwords from firefox
[Raccoon Stealer](https://attack.mitre.org/software/S1148) collects passwords, cookies, and autocomplete information from various popular web browsers.(Citation: Sekoia Raccoon2 2022)
The HTTP basic authentication passwords are stored in the credentials store... Raccoon enumerates the credentials of the user and adds the relevant filter Microsoft_WinInet_* to get only the HTTP basic authentication credentials.
These fingerprints meant the criminals could access ... without triggering security warnings ... Users could even bypass multi-factor authentication.
Related techniques include T1056 (Input Capture/keylogging) and T1557 (session/token interception), both observed across current stealer families.
Since March, the FBI has been collecting some of the data stolen by cybercriminals using the Raccoon Stealer malware from infected computers. "While an exact number has yet to be verified, FBI agents have identified more than 50 million unique credentials and forms of identification..."
Discovery
19 techniques
Discovery
Discovery ... T1007 ... System Service Discovery
The data stolen by Raccoon Stealer 2.0 includes the following: ... Installed applications list.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) queries the Windows Registry to fingerprint the infected host via the `HKLM:\SOFTWARE\Microsoft\Cryptography\MachineGuid` key.(Citation: Sekoia Raccoon1 2022)(Citation: Sekoia Raccoon2 2022)
Raccoon collects system information from the infected machine, including username, IP address, language settings...
[Raccoon Stealer](https://attack.mitre.org/software/S1148) gathers information on the infected system owner and user.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon1 2022)(Citation: Sekoia Raccoon2 2022)
Kernel32!CreateToolhelp32Snapshot is called by passing the flag TH32CS_SNAPPROCESS to include all processes running on the system in the snapshot.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) gathers information on infected systems such as operating system, processor information, RAM, and display information.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon2 2022)
[Raccoon Stealer](https://attack.mitre.org/software/S1148) identifies target files and directories for collection based on a configuration file.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon2 2022)
Raccoon extracts information about Microsoft Outlook accounts from registry keys on the target machine.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) checks the privileges of running processes to determine if the running user is equivalent to `NT Authority\System`.(Citation: Sekoia Raccoon2 2022)
T1087.004: Account Discovery: Cloud To establish a foundational understanding of the target environment, a threat actor might first locate the identities operating within it... AzureHound parameters that facilitate the MITRE technique Account Discovery: Cloud Account include the following: list users list devices list device-owners list service-principals list service-principal-owners
[Raccoon Stealer](https://attack.mitre.org/software/S1148) gathers victim machine timezone information.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon2 2022)
APT38 has collected browser bookmark information to learn more about compromised hosts, obtain personal information about users, and acquire details about internal network resources.
For detecting sandboxed environments, especially virtual environments, the packer makes use of Read Time Stamp Counter (RDTSC), a very well known CPU instruction used to detect VM by calculating the time difference (delta) between two calls to RDTSC.
The malware then proceeds to check the locale of the system using GetUserDefaultLocaleName API... Usually threat actors opt for an option for excluding victims from certain geolocale.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) is capable of identifying running software on victim machines.(Citation: Sekoia Raccoon1 2022)(Citation: Sekoia Raccoon2 2022)
[Raccoon Stealer](https://attack.mitre.org/software/S1148) collects the `Locale Name` of the infected device via `GetUserDefaultLocaleName` to determine whether the string `ru` is included, but in analyzed samples no action is taken if present.(Citation: S2W Racoon 2022)
Raccoon gets the locale of the machine by calling to GetUserDefaultLCID and GetLocaleInfoA and then compares the system language to CIS languages.
To prevent anti-debugging, the malware includes process-level debug checks and sets the main thread hidden from the debugger.
Lateral Movement
1 technique
Lateral Movement
From 2021 onwards, we observed the same two IP addresses connecting to several key hosts, including the Tor .onion site and Telegram update servers, on TCP/22 (SSH).
Collection
9 techniques
Collection
[Raccoon Stealer](https://attack.mitre.org/software/S1148) collects data from victim machines based on configuration information received from command and control nodes.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon2 2022)
Raccoon Stealer is very popular since it steals a wide range of information from infected devices, such as stored browser credentials and information, credit cards, cryptocurrency wallets, email data, and various other types of sensitive data from numerous applications.
Current versions of Raccoon do not have keylogging functionality. Several users in the underground community are asking for this feature, and the Raccoon team has suggested it may be available in the future.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) can capture screenshots from victim systems.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon2 2022)
Racoon Clipper is an add-on developed separately from the main stealer and works as the name may suggest: monitoring the Windows clipboard.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) collects files and directories from victim systems based on configuration data downloaded from command and control servers.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon1 2022)(Citation: Sekoia Raccoon2 2022)
[Raccoon Stealer](https://attack.mitre.org/software/S1148) gathers information from repositories associated with cryptocurrency wallets and the Telegram messaging service.(Citation: Sekoia Raccoon2 2022)
Related techniques include T1056 (Input Capture/keylogging) and T1557 (session/token interception), both observed across current stealer families.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) archives collected system information in a text f ile, `System info.txt`, prior to exfiltration.(Citation: Sekoia Raccoon2 2022)
Command and Control
8 techniques
Command and Control
The C2 also provides the malware with its configuration ... and then waits for individual POST requests that contain stolen information.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) uses HTTP, and particularly HTTP POST requests, for command and control actions.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon1 2022)(Citation: Sekoia Raccoon2 2022)
The Italian IPs both communicated with an IP address assigned to a Dutch provider ( C2 Proxy ), which appeared to manage the proxying of data between the two, specifically from C2 Server B to C2 Server A.
One of the “selling points” of Raccoon was the provision of a control panel for its customers, accessible over the Tor network as a .onion site.
Command and Control T1095 Non-Application Layer Protocol
Among these network requests, there is a connection to the blintick Telegram channel. Telegram was used by Raccoon’s creators to bypass blocking of the C&C servers.
[Raccoon Stealer](https://attack.mitre.org/software/S1148) downloads various library files enabling interaction with various data stores and structures to facilitate follow-on information theft.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon2 2022)
해당 C2 주소를 구하기 위해 공격자가 개설해 놓은 텀블러 주소로 접속을 시도한다. ... 실제 C2 주소를 얻기 위해 공격자의 텔레그램 주소로 접속 시도한다.
Exfiltration
5 techniques
Exfiltration
[Raccoon Stealer](https://attack.mitre.org/software/S1148) will automatically collect and exfiltrate data identified in received configuration files from command and control nodes.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon1 2022)(Citation: Sekoia Raccoon2 2022)
[Raccoon Stealer](https://attack.mitre.org/software/S1148) uses existing HTTP-based command and control channels for exfiltration.(Citation: S2W Racoon 2022)(Citation: Sekoia Raccoon1 2022)(Citation: Sekoia Raccoon2 2022)
Open ports information, particularly relating to the use of TCP/4443 in these communications, indicated the use of a XMPP file transfer protocol.
Exfiltration: The log is transmitted to the operator, frequently via the Telegram Bot API, which has become the dominant C2 channel because it is cheap, resilient to takedown, and blends into normal traffic.
the Raccoon information stealer was seen using Google Drive as an intermediate C&C... a tool that supports multiple cloud storage options, allowing them to decide which platform to use at run-time.
Impact
1 technique
Impact
- 08.20.2019 16:56:51 Release date Panel is ready Cryptolocker is ready ... - 10.02.2019 15:28:23 1.6 ransomware update changed encryption algorithm added our own key generator (not pseudo keys)
Observables
304 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
190 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.