Tongji
Overview
Executive Summary
Tongji is a family of Adware, Spyware, and Potentially Unwanted Programs (PUPs), frequently originating from Chinese software markets. The term "Tongji" translates roughly to "statistics" or "analytics." While sometimes bundled with legitimate applications to collect usage telemetry, Tongji frequently crosses the line into malicious territory by aggressively tracking user behavior, intercepting web traffic, and serving intrusive advertisements without informed consent.Distribution and Technical Behavior
Tongji is almost exclusively distributed via deceptive software bundling, commonly hidden within freeware, media players, or game client installers popular in the East Asian market. Once active, Tongji integrates deeply into the operating system and web browsers. Its core behaviors include:- Aggressive Telemetry: Tongji continuously tracks the user's browsing history, search queries, application usage, and sometimes keystrokes. This data is aggregated and transmitted to remote analytics servers in plaintext or using weak encryption.
- Traffic Interception: The software frequently installs a local proxy server or malicious browser extensions to intercept web traffic, overlaying legitimate websites with intrusive pop-ups, pop-unders, and sponsored content.
- Browser Hijacking: It forcibly alters the default search engine, homepage, and new tab settings to redirect all traffic through affiliate-linked portals controlled by the adware operators.
Risk Assessment
While Tongji is not inherently destructive (it does not encrypt files like ransomware), it introduces severe privacy and operational risks. The massive amount of telemetry collected violates enterprise privacy policies, and the injected advertisements are frequently served by low-reputation ad networks, increasing the likelihood of "malvertising" and secondary malware infections.Mitigation and Removal Strategies
- Endpoint Scanning: Utilize a reputable enterprise-grade anti-malware solution to perform a deep system scan, targeting the Tongji executables, hidden scheduled tasks, and persistent registry keys used for tracking.
- Browser Remediation: Manually inspect and remove any unknown or unauthorized extensions from all installed web browsers. Perform a complete factory reset of the browsers to clear hijacked proxy and search settings.
- Application Control: Enforce strict application whitelisting policies to prevent standard users from executing unapproved software installers that frequently bundle this type of spyware.
Known aliases
Threat reports may refer to this family under multiple names:
MITRE ATT&CK Techniques
This family has been observed using the following ATT&CK techniques: T1566.002 T1176 T1112 T1056
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1056: Monitor for unauthorized keylogging, screen capturing, or web browser API hooking. Deploy EDR to detect API hooking.
- T1566.002: Inspect email links for known malicious domains and use link-rewriting services for time-of-click analysis.
Generated Detections (Boilerplate)
These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.
YARA Rule
rule MALWARE_WIN_TONGJI {
meta:
description = "Detects Tongji (ransomware)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "tongji" ascii wide nocase
$s2 = "adware.tongji" ascii wide nocase
$s3 = "spyware.tongji" ascii wide nocase
$s4 = "pup.tongji" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}Sigma Rule
title: Suspicious Tongji Activity
id: a7d0d67f1216fe10a28490a8f2e8744a
status: experimental
description: Detects generic indicators of the tongji malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*tongji*"
- "*adware.tongji*"
- "*spyware.tongji*"
- "*pup.tongji*"
condition: selection
level: mediumReferences & External Analysis
- Search "tongji" on VirusTotal (External Analysis)
Frequently Asked Questions
How do I remove the Tongji Ransomware from Windows?
Manual removal of Tongji is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Tongji a virus or a Ransomware?
Tongji is classified as a Ransomware. Unlike traditional viruses that infect files, modern malware like Tongji typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Tongji infection?
Symptoms of Tongji can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Related Families (Category: ransomware)
Explore other malware families in the same category:
Protect Your Network Against Ransomwares
Want to prevent Tongji and similar threats from compromising your organization? Read our comprehensive defensive guide: Ransomware Protection Guide.
Machine-readable
Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/tongji.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.