Last seven days
- First activity
- Jul 19, 2026
- Last activity
- Jul 20, 2026
- Feed role
- C2
- Host form
- 0 IP / 5 hostnames
Tofsee, also known as Gheg, is a long-running modular Windows malware family primarily associated with mass spam and botnet operations.
Profile source: Mallory opens in a new tabTofsee
Tofsee, also known as Gheg, is a long-running modular Windows malware family primarily associated with mass spam and botnet operations. Reported capabilities include operating as a spambot, botnet/backdoor activity, cryptocurrency mining, theft of login and email credentials, and downloading additional malware, including ransomware or banking trojans. It has also been described as plugin-based and written in C/C++.
The malware is reported to be delivered through loaders or spearphishing email, and has also been propagated via PrivateLoader. After execution, Tofsee copies itself into SysWOW64 or an equivalent directory and into a temporary folder, typically using different filenames. It establishes persistence by creating a Windows service via sc.exe, often using benign networking-related names or descriptions such as "wifi support." It modifies Windows Firewall rules with netsh.exe, including adding permissive rules for svchost.exe, adds its dropped path to registry exclusions, and injects into svchost.exe to conceal activity. The injected svchost.exe instance is then used for backdoor functionality and command-and-control communications. The malware is also reported to use code obfuscation, packing, and anti-analysis techniques.
Tofsee stores chained configuration data on infected hosts for reuse after reboot. Reported storage locations include %USERPROFILE%:.repos, %USERPROFILE%\Local Settings:.repos, %USERPROFILE%\Local Settings\Application Data\Microsoft\Windows\UsrClass.dat.repos, %USERPROFILE%\wincookie.repos, and the registry keys HKEY_CURRENT_USER\Control Panel\Buses\Config0 and HKEY_CURRENT_USER\SOFTWARE\Microsoft\Buses\Config0. Stored configuration data is XOR-encoded. The work_srv and start_srv structures are specifically noted as being retrieved during the initial C2 connection.
The malware has been used in mass campaigns and the provided content states it is not associated with a specific threat actor. It has been referenced in relation to botnet activity dropping follow-on payloads, and was noted as resurging in 2025. Dragos also described a newer Tofsee botnet variant it called "Tesseract," associated with the user-agent artifact "Tesseract/1.0" and JA3 hashes 5732cd1c2c85c7548ef840e05f42feec, 45728c30345dddda40cd01ee2f7a4c8e, and 9f681ac5cde4d035b5d3dc040bda1a34. In that reporting, darkteam.store was assessed as a possible check-in location for infected systems.
High-confidence indicators mentioned in the content include the domains svartalfheim.top and lazystax.ru; IP addresses 31.41.244.126, 31.41.244.127, 31.41.244.128, 43.231.4.7, 46.173.223.212, 98.136.96.76, and 111.121.193.242; and sample SHA-256 hashes 9ff3eb5bac86aef0116488ac380f9d7ea15d27f9d580462fcf3612293525f50f, 2f5b289a8dcb26ed9389a49687e513f162ed3145469a5cb90f0aab45c699c3d9, 22179b5cece54e42dbc249c5112994e0e760c2435f3547579d04d19882b79b03, 3c38e00f572800dfdcf676a141e4b98903977368f8870cd29221b3320b640ed4, 6ce6c04ffb7f0ac158c0e340b52d2ebdb48fd089bd24c6fdbf81947bce0e476d, and 2701f35430167bbb99f334c81088af75f8209a07cb1bcbf9c765a4968af2fbaa.
The content also describes a vulnerability in Tofsee itself: improper length validation during CRC32 processing of ResourceStructure packet data in update_config_resource can cause an out-of-bounds read and crash the malware when parsing an InmemoryConfig structure.
C2 tracking
Derp observations, rolling seven-day window
Samples
24ed0def9754807913c7b8ad24b6d902d05cf4ccb3645468cb5ef9b61d6a0d09 4a605f1680325adb10e786b20aa36abd582456b7220fe0472278b7b33e5fe1fc 7b88508d872bab44a1c914c5f0316e1a054ebf485d0976fee7c20c2e8faff278 7bc4d9576d99208a96945c609848305744d3ec47d82e2d4e9ac45fb21907def5 821c779dd2c7b7eb395ce801e6b45639abd52d5cabdb54450d2c10e1779bc0c5 a3b8b74584313b70fd1ce684ac80b2c909762b90b43b6436f16a0edfa03f6481 bca218dfee959030c4c5b045e07d64edb615bc32705175ce30484e31d3d151fd f6c4f0fbab17d00d64688999cb8829c13c554e39beee065e3f74878e245e28c9 fd114df3ae1e1521e5891189cb5bdce6aa18f2dae7b670a48f6c65a432c08b0c 9debddad3c7b5cc25e88b9295a564e13ca9d945a6fcb80462df3d5a2ab830623 MITRE ATT&CK
Reporting
...the Tofsee and Phorpiex botnets which are dropping follow-up payloads...
...another botnet dubbed Tofsee, the latter of which has been propagated via a C++-based loader called PrivateLoader in the past.
The report noted the resurgence of older malware families like Sality and Tofsee in 2025.
The config stores of particular interest to us are the work_srv and start_srv structures. Both are retrieved during the initial C&C connection of the Tofsee botnet.
When the CRC32 hash function is called to calculate the hash of the packetβs data, it continues reading and processing data from memory beyond the allocated buffer size, potentially crashing Tofsee.
Tofsee, also known as Gheg, is a sophisticated modular malware primarily designed to send spam email along with other full-fledged botnet activities such as mining and stealing login and email credentials, as well as downloading further malware.
Tofsee is a malware used for mass campaigns, which does not have an associated group or actor. It has gone through different phases, but has generally been used to create Botnets or SpamBots, as well as mining actions.
Abuse of this technique was previously noted by researcher Vitali Kremez in 2018 and is associated with the Tofsee plugin-based spambot.
Derp wouldn't exist without the work these projects do for the security community. We rely on their data sources to improve the quality and depth of what we publish. Thank you, we're genuinely grateful.