{"id":19003,"date":"2026-10-22T21:02:25","date_gmt":"2026-10-22T18:02:25","guid":{"rendered":"https:\/\/www.hyyat.com\/knowledgebase\/ransomware-protect-website-server\/"},"modified":"2026-10-22T21:02:32","modified_gmt":"2026-10-22T18:02:32","password":"","slug":"ransomware-protect-website-server","status":"publish","type":"docs","link":"https:\/\/www.hyyat.com\/en\/knowledgebase\/ransomware-protect-website-server\/","title":{"rendered":"Ransomware: How to Protect Your Website and Server From It"},"content":{"rendered":"<div class=\"hkb\" dir=\"ltr\">\n<div class=\"hkb-tldr\"><b>In short<\/b>Ransomware encrypts your files and databases, then demands money for the decryption key. On websites and servers it usually arrives through a stolen password or a flaw in outdated software. The most important protection is not only stopping the attack, but having a recent backup outside the server that the attacker cannot reach. With it, you restore your site without paying.<\/div>\n<figure class=\"hkb-fig\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.hyyat.com\/zasogooh\/2026\/10\/hkb-ransomware.webp\" alt=\"Ransomware: files locked with a red padlock and a healthy backup kept outside the server\" width=\"1200\" height=\"630\" loading=\"lazy\" \/><\/figure>\n<p>Ransomware is associated with company computers and hospitals, but it hits servers and websites too. The usual story: an attacker gets into a server with a weak password, encrypts the website files and databases, and leaves a text file demanding payment in cryptocurrency. If the backups sit on the same server, they are usually encrypted or deleted as well.<\/p>\n<h2>How does it reach a server or website?<\/h2>\n<div class=\"hkb-cards\">\n<div class=\"hkb-card\"><i>1<\/i><b>A weak password<\/b><span>SSH, control panel or remote desktop access with a guessable password. Read <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/strong-password-password-manager\/\">strong passwords<\/a>.<\/span><\/div>\n<div class=\"hkb-card\"><i>2<\/i><b>Outdated software<\/b><span>A known flaw in the operating system, control panel or an application not updated.<\/span><\/div>\n<div class=\"hkb-card\"><i>3<\/i><b>A backdoor in a site<\/b><span>A malicious file in a hacked site used to run commands on the server. Read <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/hacking-tools-c99-shell\/\">C99 shell<\/a>.<\/span><\/div>\n<div class=\"hkb-card\"><i>4<\/i><b>An infected computer<\/b><span>The administrator\u2019s computer is infected, so saved passwords are stolen.<\/span><\/div>\n<\/div>\n<h2>The most important defence: the right backups<\/h2>\n<p>A backup that helps against ransomware has three qualities:<\/p>\n<ol class=\"hkb-steps\">\n<li><b>Off the server:<\/b> Somewhere that whoever controls the server cannot reach.<\/li>\n<li><b>Several dates:<\/b> Copies from several days, because you may not notice the infection the same day.<\/li>\n<li><b>Tested:<\/b> You have restored from it at least once and know how long it takes.<\/li>\n<\/ol>\n<p>The well-known rule: three copies of your data, on two different types of storage, with one off-site. Read <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/the-importance-of-backing-up-your-hosting-sites\/\">why backups matter<\/a>.<\/p>\n<h2>Steps that lower the risk<\/h2>\n<ul class=\"hkb-list\">\n<li>Keep the operating system, control panels and applications updated.<\/li>\n<li>Use SSH keys and disable password login on servers. Read <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/vps-server-security\/\">VPS server security<\/a>.<\/li>\n<li>Enable two-factor authentication on every control panel.<\/li>\n<li>Do not open admin ports to the whole world if you can restrict them to your address.<\/li>\n<li>Scan sites regularly for malicious files.<\/li>\n<\/ul>\n<h2>If you are hit<\/h2>\n<ol class=\"hkb-steps\">\n<li><b>Isolate it:<\/b> Stop the affected services or isolate the server, so the infection does not reach other copies or servers.<\/li>\n<li><b>Do not pay:<\/b> Paying does not guarantee you get the key, and it invites more attacks.<\/li>\n<li><b>Find the way in:<\/b> Before restoring, or the attacker will come back the same way.<\/li>\n<li><b>Restore from a clean backup:<\/b> Onto a clean server or after reinstalling the system, then change every password.<\/li>\n<\/ol>\n<div class=\"hkb-note w\"><b>Do not believe every message:<\/b> some scammers send emails claiming they encrypted your site or stole its data when nothing happened. Check your site before replying. Read <a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/signs-your-website-is-hacked\/\">the signs your website is hacked<\/a>.<\/div>\n<div class=\"hkb-hh\">\n<h2>How Hyyat Host protects your data<\/h2>\n<ul>\n<li>On shared hosting, <strong>CloudLinux<\/strong> isolates every account, so someone who hacks another site cannot reach your files.<\/li>\n<li><strong>Imunify360<\/strong> and <strong>ImunifyAV<\/strong> detect the malicious files and backdoors that come before these attacks.<\/li>\n<li>Each plan\u2019s page lists its backup details, and you can always download a full backup from cPanel to your computer.<\/li>\n<\/ul>\n<p style=\"margin:10px 0 0\">For private servers we handle protection and backups with our <a href=\"https:\/\/www.hyyat.com\/en\/server-management\/\">server management service<\/a>.<\/p>\n<\/div>\n<h2>Frequently asked questions<\/h2>\n<div class=\"hkb-faq\">\n<details>\n<summary>Does ransomware hit WordPress sites?<\/summary>\n<p>Rarely as classic ransomware, but an attacker may encrypt site files after a hack. The protection is the same: updates, strong passwords and off-server backups.<\/p>\n<\/details>\n<details>\n<summary>Is a backup on the same server enough?<\/summary>\n<p>No. Whoever controls the server can usually encrypt or delete it. Keep a copy off the server.<\/p>\n<\/details>\n<details>\n<summary>Can I decrypt without paying?<\/summary>\n<p>Tools exist for some older strains, but you cannot rely on that. A backup is the guaranteed answer.<\/p>\n<\/details>\n<\/div>\n<div class=\"hkb-rel\"><b>Related guides<\/b><\/p>\n<ul>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/the-importance-of-backing-up-your-hosting-sites\/\">The importance of backing up your hosting sites<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/vps-server-security\/\">VPS Server Security: The Essential Steps After You Get Your Server<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/signs-your-website-is-hacked\/\">How to Tell if Your Website Is Hacked: 10 Signs and Quick Checks<\/a><\/li>\n<li><a href=\"https:\/\/www.hyyat.com\/en\/knowledgebase\/exposed-sensitive-files-env-git-backups\/\">Exposed Sensitive Files on Your Site: .env, .git and Backups, and How to Hide Them<\/a><\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.hyyat.com\/en\/kb\/website-protection\/\">All website security guides \u2192<\/a><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>In shortRansomware encrypts your files and databases, then demands money for the decryption key. On websites and servers it usually arrives through a stolen password or a flaw in outdated software. The most important protection is not only stopping the attack, but having a recent backup outside the server that the attacker cannot reach. With [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"inline_featured_image":false,"_templately_pack_id":"","_templately_imported_at":"","_templately_source":"","_templately_import_session_id":"","footnotes":""},"doc_category":[2744],"doc_tag":[],"class_list":["post-19003","docs","type-docs","status-publish","hentry","doc_category-website-protection"],"year_month":"2026-10","word_count":630,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"ahmed fathy","author_nicename":"ahmed-fathy","author_url":"https:\/\/www.hyyat.com\/en\/author\/ahmed-fathy\/"},"doc_category_info":[{"term_name":"Website Security","term_url":"https:\/\/www.hyyat.com\/en\/kb\/website-protection\/"}],"doc_tag_info":[],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/19003","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/comments?post=19003"}],"version-history":[{"count":0,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/docs\/19003\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/media?parent=19003"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_category?post=19003"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hyyat.com\/en\/wp-json\/wp\/v2\/doc_tag?post=19003"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}