Tofsee
Tofsee, also known as Gheg, is a modular C/C++ malware family primarily associated with spam botnet operations. High-confidence reporting in the provided content states that it is designed to send spam email and also supports broader botnet activity including cryptocurrency mining, theft of login and email credentials, and downloading additional malware, commonly ransomware or banking trojans. The malware uses techniques to evade detection and maintain persistence on infected Windows systems.
The content describes Tofsee as storing chained configuration data locally so it can survive reboots. 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 encoded with a simple XOR algorithm. The work_srv and start_srv configuration structures are specifically noted as important because they are retrieved during the initial command-and-control connection.
The malware has been referenced as a plugin-based spambot and as a botnet that has dropped follow-on payloads. One cited report notes that Tofsee has previously been propagated via the C++-based loader PrivateLoader. Another report links Tofsee to spam-delivery activity in campaigns distributing Strela Stealer, where Tofsee was used as a botnet-origin source for spam while separate infrastructure hosted the first-stage malware.
The content also describes a newer Tofsee botnet variant tracked by Dragos as “Tesseract.” Dragos assessed that darkteam.store may have functioned as a check-in location for infected systems, and observed 12,735 likely Tofsee-infected IPs using 271 unique user agents to access a non-public page on that site with a user-agent containing the artifact “Tesseract/1.0.” Dragos identified three JA3 hashes attributed to this variant: 5732cd1c2c85c7548ef840e05f42feec, 45728c30345dddda40cd01ee2f7a4c8e, and 9f681ac5cde4d035b5d3dc040bda1a34. The same reporting states that some JA3 hashes associated with this botnet overlap with legitimate browser JA3 hashes. Dragos also provided two SHA-256 hashes labeled as Tofsee botnet malware: 6ce6c04ffb7f0ac158c0e340b52d2ebdb48fd089bd24c6fdbf81947bce0e476d and 2701f35430167bbb99f334c81088af75f8209a07cb1bcbf9c765a4968af2fbaa.
A vulnerability described in the content affects Tofsee itself: improper length validation during CRC32 processing of packet data. A crafted ResourceStructure packet with a manipulated 4-byte len field can cause an out-of-bounds read when update_config_resource passes data for CRC32 calculation during InmemoryConfig parsing, potentially crashing the malware process.
Hunt this family in your stack
Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.
Techniques & procedures
10 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
Persistence
1 technique
Persistence
Privilege Escalation
1 technique
Privilege Escalation
Stealth
2 techniques
Stealth
Defense Impairment
1 technique
Defense Impairment
Credential Access
1 technique
Credential Access
Command and Control
3 techniques
Command and Control
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.
IOCs tracked for this family
8 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.
IPs, domains, and DNS infrastructure linked to this family.
File hashes (MD5, SHA-1, SHA-256) from samples and reports.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
Botnet referenced as part of the commodity malware pipeline and observed dropping follow-up payloads.
Botnet used to originate/distribute spam emails in the described campaigns; historically propagated via the PrivateLoader loader.
An older malware family known for spamming and botnet activities, experiencing a resurgence in 2025.
Tofsee stores chained configuration data in multiple file and registry locations on infected systems, encodes it with a simple XOR algorithm, and retrieves key configuration structures during its initial command-and-control connection.
The version that knows your environment.
Match every observed IP, domain, and hash against your live telemetry.
Named campaigns wielding this family, with evidence pinned to each claim.
CVEs this family uses for access and lateral movement.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Every documented technique, ranked by evidence weight.
Reddit, Mastodon, and CTI community discussion around this family.