
in the daily total page browsing or website operation process, many people have encountered the trouble of web page hijacking: the normally opened page jumps to the unfamiliar advertising station, the pop-up window is covered with the screen and cannot be closed, the website ranking is inexplicably declining, and even user information is facing the risk of leakage. Hijacking not only affects the user experience, but also causes a fatal blow to the reputation and traffic of the website. This article will deeply analyze the common incentives of web page hijacking, share the investigation and solution that can be landed, and help you get rid of this kind of network problem quickly.
want to quickly deal with the problem of web page hijacking, first of all, we must accurately identify its various performances to avoid misjudging ordinary network failures as hijacking.
1, page forced jump
the user enters the normal URL or click on the regular link, the page directly jumps to the strange site containing vulgar advertisements and false winning information, part of the jump will also be accompanied by the browser title bar, home page settings are tampered with, even if the manual modification of the home page settings, restart the browser will still return to the state of being tampered with, which is the most intuitive performance of web page hijacking.
2, pop-up ads continue to intrude
browse a web, frequent pop-up can not be closed floating ads, some ads will disguise as system prompts or software update windows, click will download malicious programs, further aggravate the degree of hijacking of the page, seriously interfere with normal browsing operations.
3, abnormal fluctuations in website rankings
for webmasters, webpage hijacking may also be manifested as a sudden drop in the ranking of the website in the search engine, the original top keyword ranking disappeared, and a large number of unfamiliar spam sites appeared in the background statistics of traffic sources, which is caused by hijackers tampering with the content of the website by implanting black hat SEO codes.
page hijacking is not traceless, hijacking in different scenarios, the triggering reasons behind are also different, mainly divided into server-side, website code-side and user-side three categories.
1, server security bugs are exploited
some webmasters use the server is not timely update system patches, or there is a weak password problem, hijackers can invade the server by brute force cracking, SQL injection, etc., in the root directory of the site implanted malicious jump code, so as to achieve hijacking, such hijacking wide range of influence, will lead to all users visiting the site are affected.
2, the website code has security risks
If the open source CMS template and plug-in used by thewebsite are not timely updated, or the developer leaves a backdoor in the code, the hijacker can implant malicious scripts through these vulnerabilities. When the user visits the webpage, the script automatically executes jump or pop-up instructions, triggering the webpage to be hijacked. In addition, some webmasters use unauthorized pirated templates for the pursuit of effect, and may also have their own hijacking code.
3, the client environment is invaded by malicious programs
users download and install software from unknown sources, open unfamiliar email attachments or visit phishing sites, they may be infected with browser hijacking Trojans, which will modify the browser's regedit, shortcut properties, resulting in users no matter which web page they visit, will trigger the page is hijacked jump instruction, such hijacking only affects a single user's device.
when it is suspected that the page has been hijacked, it is necessary to determine the root cause of the problem through hierarchical investigation in order to solve the problem.
1 Differentiate between client and server issues
can use different devices, different networks to access the target page, if all devices are abnormal, indicating that the problem is the server or the site itself, the scope of influence of the page is hijacked to cover all users; if only a single device is abnormal, the probability is that the user environment is invaded by malicious programs, only need to check the device.
2, check the website code and server logs
webmaster can log in to the website background or server control panel, check the home page file, whether there are unfamiliar header code jump script, iframe embedded code, and view the server's access log, if there are a large number of abnormal IP frequent access records, and the record contains malicious code implantation operation, you can confirm that the root of the web page is hijacked on the server side.
3, scanning client devices for malicious programs
ordinary users can use regular antivirus software or malicious software cleaning tool, a comprehensive scan of the device, focusing on the browser extension, shortcut properties, regedit settings, if found unfamiliar browser extension, shortcut target path is added unfamiliar parameters, you can determine the user's web page is hijacked.
determine the root cause of the web page hijacking, the corresponding treatment scheme can be adopted to quickly restore the normal access state of the web page.
1, server-side hijacking repair steps
webmaster must first reset the server login password, install all security patches of the system and server software in time, close unnecessary ports and services, and then delete the malicious code in the website file. If the website has regular backups, it can be directly restored to the backup version that has not been hijacked. After installing the website security protection plug-in, monitor abnormal operations in real time to prevent web pages from being hijacked again.
2, website code side hijacking repair method
timely update the CMS system, templates and plug-ins used by the website to the latest version, delete unused redundant plug-ins and unfamiliar codes, conduct security audits on the website code, troubleshoot and repair SQL injection, XSS cross-site scripting and other vulnerabilities, if using pirated templates, need to be replaced immediately with official genuine templates, to avoid the risk of web page hijacking from the source.
3, the solution of client hijacking
users need to uninstall unknown source software and unfamiliar browser extensions in the device, use antivirus software to completely remove malicious programs, and then reset the homepage of the browser, search engine settings, repair the target path of the browser shortcut, if the problem is still not solved, you can try to reinstall the browser or restore the system to the unhijacked restore point, completely solve the problem of hijacked pages.
To sum up, webpage hijacking is a widespread network problem with various forms, and the triggering reasons involve multiple levels of servers, website codes, and users. To deal with it effectively, it is necessary to accurately identify the performance of webpage hijacking, and then adopt the corresponding repair plan through hierarchical investigation of the locked root cause. In the process of daily operation and browsing, regularly updating the system and software, using regular templates and plug-ins, and carefully downloading unfamiliar files can greatly reduce the probability of webpage hijacking and ensure the security and stability of webpage access.