If your site’s Google search results show a large number of pages that you do not remember creating, it is possible that your site has been tampered with.

SEO HACK, which uses headers and footers that include your website’s logo without your permission to trap search engines with fake content.

If you find such fraudulent search results, please check first to see if it is your site’s domain.

If it is a domain that you do not own, it is complicated, but the hacker has stolen part of your site, embedded it in another hacked and defaced site, and replaced only the content with malicious content to hook the search engines.

In this case, you will have no choice but to contact the owner of the domain and ask them to remove the hacked modification.

When a page on a domain that you own is trapped by search engines because only the content has been replaced with malicious content

There is a possibility that an illegal theme has been embedded in your site and is being sent around the world due to hacking.

Hackers may have taken the liberty of placing a template on your server that embeds malicious content between the header and footer of your site and hooked the search engines.

This malformed template is often named index.html or moban.html.
In the example below, the embedded strings #bbb1content1bbb# and #bbb2content2bbb# are the templates that are output with the content that the hacker wants to trap the search engine as a malicious page automatically inserted.

#bbb1content1bbb#

<header class="navbar siteHeader">
<div class="container siteHeadContainer">
<div class="navbar-header">
<div class="navbar-brand siteHeader_logo">
<p>#link1#</p>

<div class="nav-menu pc-display">
<div class="container">
<p>#bbb2content2bbb#</p>

<ul>
<li><a href="http://aaaaa/company/">Company Info</a></li>
<li><a href="http://aaaaa/service/">Our Businesses</a></li>
<li><a href="http://aaaaa/news/">Notices</a></li>
<li><a href="http://aaaaa/access/">Access</a></li>
<li><a href="http:/aaaaa/blog/">Blog</a></li>
<li><a href="http://aaaaacontact/">Contact</a></li>
</ul>

If an invalid page is caught by search engines on a domain you own, but the page does not exist

In some cases, only the sitemap (the file that tells search engines what pages are on the site) has been tampered with, allowing the search engines to list the incorrect page.

Please check if there is a sitemap on your server with a name such as sitemap.xml that has been tampered with by hackers, and you may need to fix the vulnerability of sitemap-related plug-ins.

Detect and remove unauthorized tampering templates

The malicious tampering templates in the above case can be detected with the [Free] WordPress: Malware Scan & Security Plug-in [Malware and Virus Detection and Removal] for free.
You can also test for vulnerabilities, so if you see a site you don’t recognize in the search engine results, please give it a try.