멀웨어를 방지하려면 끊임없이 감시해야 합니다. 이 문서에는 멀웨어 감염을 방지하기 위한 도움말이 포함되어 있습니다. 그러나 최신 정보가 누락되었을 수 있으므로 웹사이트 소유자는 이를 더욱 철저히 조사하는 것이 좋습니다.
사이트 상태 모니터링
Search Console의 다양한 기능을 사용하면 잠재적인 문제를 식별할 수 있습니다. 예는 아래와 같습니다.
Google이 내 사이트에서 찾은 페이지를 확인하려면 site: 검색 연산자를 Google에 검색해 보세요. 주기적으로 이 작업을 실행하여 누군가가 내 사이트에 예상치 못한 페이지나 콘텐츠를 몰래 삽입하지 않는지 확인하는 것이 좋습니다. 사이트에 알 수 없는 페이지나 내가 작성하지 않은 주제가 표시되면 해킹을 당한 것일 수 있습니다. site: 검색 연산자는 특정 사이트로 검색을 제한하기 위한 방법입니다. 예를 들어 site:developers.google.com을 검색하면 Google Developers 사이트의 결과만 반환합니다.
보안 문제 보고서에는 Google이 사이트에서 파악한 해킹된 페이지와 함께 문제 해결 방법에 관한 안내가 표시됩니다.
타사 콘텐츠 제공업체는 신중하게 선택합니다.
사이트의 타사 앱 및 광고 소스가 정상적이고 신뢰할 수 있는지 확인합니다. 정상적이고 신뢰할 수 있는 소스는 웹사이트에서 지원 및 연락처 정보를 제공합니다.
호스팅 회사나 게시 플랫폼에 지원을 요청합니다.
대부분의 회사에는 유용하고 대응력이 뛰어난 지원 그룹 또는 보안 페이지가 있습니다. 보안 페이지나 사이트에 RSS 피드가 있으면 이를 구독하여 최신 정보를 받아 보세요.
모든 컴퓨터를 안전한 상태로 유지합니다. 특히, 웹사이트에서 작업할 때 로컬 워크스테이션에 최신 소프트웨어가 있는지, 바이러스나 트로이 목마 또는 유사 멀웨어로부터 안전한지, 설치된 바이러스 백신 소프트웨어가 최근에 업데이트되었는지 등을 확인하시기 바랍니다.
서버 액세스 권한이 있는 웹사이트 소유자
서버 구성을 확인합니다.
Apache 사이트에서는 보안 구성 도움말을, Microsoft 사이트에서는 IIS에 관한 기술 센터 리소스를 확인할 수 있습니다. 이러한 도움말에는 디렉터리 권한, SSI(Server Side Includes), 인증 및 암호화에 관한 정보가 포함되어 있습니다.
.htaccess 파일 또는 웹사이트 플랫폼에 따른 액세스 제어 메커니즘의 백업 사본을 만듭니다. 다음에 실패하면 백업 파일을 사용하여 복구할 수 있습니다. 작업을 완료하면 백업 파일을 삭제해야 합니다.
최신 소프트웨어 업데이트 및 패치를 설치합니다.
웹사이트를 쉽게 구축하게 해 주는 도구가 많지만, 이러한 도구를 사용할 경우 도용 위험이 있습니다. 여러 웹사이트 소유자에게 발생하는 일반적인 문제는 웹사이트에 포럼이나 블로그를 설치한 다음 잊어버리는 것입니다. 차를 튜닝하는 것처럼 설치한 소프트웨어 프로그램도 최신 업데이트 상태를 유지해야 합니다. 웹사이트에 사용된 모든 소프트웨어와 플러그인의 목록을 만든 다음 버전 번호와 업데이트를 추적하세요. 웹사이트의 전체 구성요소를 부지런히 업데이트한다고 해도 웹 호스팅 프로그램에 최신 운영체제 패치를 설치하지 않으면 여전히 취약할 수 있습니다. 이는 소규모 사이트뿐만 아니라 은행과 스포츠팀, 기업, 정부 웹사이트에도 나타날 수 있는 문제입니다.
로그 파일을 주의 깊게 살펴봅니다.
이를 습관적으로 실행하면 보안 강화 등 대단히 많은 이점을 누릴 수 있습니다. 예를 들어 사이트에 생소한 URL 매개변수(예: =http: 또는 =//)가 있거나 리디렉션 URL로의 트래픽이 급증하면 해커가 열려 있는 리디렉션을 악용하고 있다는 것을 나타낼 수도 있습니다. 해커가 로그 파일을 변경하는 경우도 많습니다. 이러한 파일을 공격하지 못하도록 보호 조치를 취하세요. 예를 들어 이 파일을 기본 위치에서 이동하여 해커들이 찾기 어렵게 할 수 있습니다.
사이트에 일반적인 취약점이 있는지 확인합니다.
디렉터리의 권한을 제한되지 않은 상태로 두지 마세요. 이는 집의 현관문을 활짝 열어 둔 것과 마찬가지입니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-08-04(UTC)"],[[["\u003cp\u003eThis guide offers essential tips and best practices for preventing malware infection on your website.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Search Console provides valuable tools, such as the Security Issues report, for monitoring your site's health and identifying potential problems.\u003c/p\u003e\n"],["\u003cp\u003eImplementing strong security measures like choosing robust passwords, carefully selecting third-party content, and regularly updating software is crucial for website owners.\u003c/p\u003e\n"],["\u003cp\u003eFor website owners with server access, securing server configurations, monitoring log files, and staying informed about the latest security updates are vital steps in safeguarding your site.\u003c/p\u003e\n"],["\u003cp\u003eIf you encounter persistent security issues despite implementing these recommendations, Google provides a channel to report them.\u003c/p\u003e\n"]]],["To prevent malware, website owners should monitor site health using Search Console features like the `site:` operator and Security Issues report. Key actions include choosing strong passwords, carefully vetting third-party content, and contacting hosting support. For those with server access, regular software updates, server configuration checks, log file monitoring, and vulnerability checks are crucial. Utilizing secure protocols like SSH/SFTP and staying informed on the latest security news are also recommended.\n"],null,["# How To Prevent Malware Infection | Google Search Central\n\nPreventing malware infection\n============================\n\n\nThe price of freedom from malware is eternal vigilance. This article contains tips and\npointers for preventing malware infection. However, it is by no means exhaustive, and Google\nencourages website owners to conduct more thorough research as well.\n\nMonitoring your site health\n---------------------------\n\n\nMany of the features of Search Console can help you identify potential problems. For example:\n\n- Try a search on Google with the [`site:` search operator](https://support.google.com/websearch/answer/2466433) to see what pages Google has found on your site. It's always a good idea to do this periodically to see whether anyone has snuck unexpected pages or content on your site. If you see unknown pages on your site, or topics that you didn't write, you may have been hacked. If you're not already familiar with the `site:` search operator, it's a way for you to restrict your search to a specific site. For example, the search [`site:developers.google.com`](https://www.google.com/search?q=site%3Asite:developers.google.com) will return results only from the Google Developers site.\n- The [Security Issues report](https://support.google.com/webmasters/answer/9044101) shows any hacked pages that Google has identified on your site, and instructions on how to fix the problem.\n- If Google detects malware on your site, you'll see a notification in the [message panel in\n Search Console](https://support.google.com/webmasters/answer/9388335). To ensure that you're notified quickly, you can have your messages [forwarded to your email account](https://support.google.com/webmasters/answer/140528).\n\nSecurity checklist\n------------------\n\nIn addition to monitoring your site regularly, we also recommend the following:\n\n### All website owners\n\n- **Choose good passwords.** The [Google account guidelines](https://support.google.com/accounts/answer/32040) are helpful.\n- **Pick third-party content providers very carefully.** Make sure that third-party apps and ads on your site are from trusted and legitimate sources. A trusted and legitimate source provides support and contact information on their website.\n- **Contact your hosting company or publishing platform for support.** Most companies have helpful and responsive support groups and/or security pages. If a security page or site has an RSS feed, subscribe to it to make sure you stay up to date.\n- Keep all of your computers safe. Especially when working on a website, make sure that your local workstation has up-to-date software, is clean from viruses, trojans, or similar malware and has recently updated anti-virus software installed.\n\n### Website owners with server access\n\n- **Check your server configuration.** Apache has some [security configuration tips](https://httpd.apache.org/docs/2.4/misc/security_tips.html) on their site and Microsoft has some [tech center resources for IIS](https://www.google.com/search?q=microsoft+iis+security+best+practices) on theirs. Some of these tips include information on directory permissions, server-side includes, authentication, and encryption.\n- **Make a backup copy of your `.htaccess` file** (or other access control mechanisms depending on your website platform). Use your backup file to recover if the following fails. Be sure to delete the backup file once you are finished.\n- **Stay up-to-date with the latest software updates and patches.** There are lots of tools that make building a website easy, but each one adds some risk of being exploited. A common pitfall for many website owners is to install a forum or blog on their website and then forget about it. Much like taking your car in for a tune-up, it's important to make sure you have all the latest updates for any software program you have installed. Make a list of all the software and plug-ins used for your website, and keep track of the version numbers and updates. Even if you're diligent and keep all your website components updated, you may still be vulnerable if your web hoster has not installed the most recent operating system patches. This problem affects not only small sites; there have been warnings on the websites of banks, sports teams, and corporate and government websites.\n- **Keep an eye on your log files.** Making this a habit has many great benefits, one of which is added security. For example, unfamiliar URL parameters (like `=http:` or `=//`) or spikes in traffic to redirect URLs on your site may indicate that a hacker is exploiting [open redirects](/search/docs/advanced/guidelines/sneaky-redirects). Also, bear in mind that hackers often try to alter log files. Take measures to protect these files from attack. For example, you can move these files from their default location, making it harder for hackers to find them.\n- **Check your site for common vulnerabilities.** Avoid having directories with open permissions. This is like leaving the front door to your home wide open.\n\n\n Also check for any\n [XSS](https://www.owasp.org/index.php/Cross_Site_Scripting)\n (cross-site scripting) and\n [SQL injection](https://owasp.org/www-community/attacks/SQL_Injection) vulnerabilities.\n- **Use secure protocols.** Google recommends using SSH and SFTP for data transfer, rather than plain text protocols such as telnet or FTP. SSH and SFTP use encryption and are much safer.\n- **Keep up to date on the latest security news.** The [Google Security Blog](https://security.googleblog.com/) provides useful information about online security and safety, as well as pointers to other resources. The government site [US-CERT](https://us-cert.cisa.gov/) (United States Computer Emergency Readiness Team) provides technical security alerts and tips.\n\n\nIf you're a Search Console user and are having trouble with persistent or unfixable security issues on your site, you can let us know.\n\n[Report a security issue](https://support.google.com/webmasters/contact/report_security_issues)"]]