Computer >> कंप्यूटर ट्यूटोरियल >  >> प्रोग्रामिंग >> HTML

हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका

<पी> क्या आपकी वेबसाइट अजीब व्यवहार कर रही है? विज़िटरों को अरुचिकर साइटों पर पुनर्निर्देशित करना, आपके खोज परिणामों में स्पैम, या यहाँ तक कि आपकी साइट के शीर्षलेख या पादलेख पर दिखाई देने वाले कोड जैसा सरल कुछ भी।

<पी> यदि आपको संदेह है कि आपकी वर्डप्रेस साइट हैक हो गई है, तो तुरंत अपनी वेबसाइट को मैलवेयर के लिए स्कैन करें।
  • बुरी खबर यह है कि आपकी साइट हैक हो सकती है।
  • अच्छी खबर है कि इसे ठीक किया जा सकता है।
  • अच्छी खबर यह है कि आपको अपनी साइट को पुनर्प्राप्त करने में सहायता के लिए सर्वोत्तम संसाधन मिल गया है।
<पी> हमने 20,000 से अधिक हैक की गई वर्डप्रेस साइटों को साफ़ कर दिया है। हमने लगभग हर प्रकार की हैक देखी है। <पी> इससे भी महत्वपूर्ण बात यह है कि हम आपकी साइट को पुनर्स्थापित करने में आपकी सहायता करेंगे, और यह सुनिश्चित करेंगे कि यह आगे होने वाले नुकसान से सुरक्षित है।

<पी> टीएल;डीआर: यह पुष्टि करने के लिए कि आपका वर्डप्रेस हैक हुआ है या नहीं, अपनी वेबसाइट को MalCare से मुफ़्त में स्कैन करें। MalCare एक क्लिक से हैक के हर निशान को ढूंढेगा और शल्यचिकित्सा से हटा देगा। याद रखें, हैक जितनी देर तक आपकी वर्डप्रेस साइट पर रहेंगे, उतनी ही तेजी से नुकसान पहुंचाएंगे।

वर्डप्रेस हैक रिकवरी को समझना

<पी> वर्डप्रेस हैक रिकवरी यह समझने से शुरू होती है कि साइटें सबसे पहले कैसे हैक होती हैं—और हैक की गई वर्डप्रेस साइट को ठीक करने का क्या मतलब है।

<पी> यह 4-चरणीय प्रक्रिया है:

  • हैक कोड (किसी भी बैकडोर सहित) के लिए अपनी साइट को स्कैन करें
  • वर्डप्रेस हैक को साफ़ करें
  • हैक से होने वाले किसी भी नुकसान को वापस करें
  • भविष्य में वर्डप्रेस हैक होने से रोकें
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका <पी> हैक्स से व्यवसायों और व्यक्तियों को लाखों का नुकसान होता हैं . हमने साइटों को विकृत, स्पैम पृष्ठों और लिंक से भरी साइटों, एसईओ रैंकिंग में गिरावट और यहां तक ​​कि कानूनी मुद्दों को भी देखा है। <पी> इससे भी बदतर, आप हैक की गई वर्डप्रेस साइट को साफ करने के लिए बहुत सारा पैसा खर्च कर सकते हैं, और यह अगले दिन फिर से दिखाई देगी। <पी> और अंततः, समय के साथहैक तेजी से खराब होते जाते हैं . हैकर्स, एक बार जब आपकी साइट पर उनका नियंत्रण हो जाता है, तो वे डेटा चुरा लेंगे, संसाधन चुरा लेंगे, और अन्य साइटों को हैक करने के लिए आपकी साइट का उपयोग करेंगे। कई वेब होस्ट इस कारण से खाते निलंबित कर देते हैं। <पी> 💡 इसलिए आपको तेजी से, निर्णायक रूप से कार्य करने और अपनी हैक की गई वर्डप्रेस साइट को ठीक करने का सबसे प्रभावी तरीका चुनने की आवश्यकता है। इस पर बहुत कुछ निर्भर है.

चरण 1. हैक्स के लिए अपनी वर्डप्रेस साइट को डीप स्कैन करें

<पी> MalCare से अपनी वेबसाइट निःशुल्क स्कैन करें यह पुष्टि करने के लिए कि आपका वर्डप्रेस हैक हो गया है या नहीं। आपको अपनी वेबसाइट पर मैलवेयर के बारे में स्पष्ट उत्तर मिलेगा।  हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका <पी> हम कई कारणों से MalCare की अनुशंसा करते हैं, लेकिन मुख्य रूप से इसलिए क्योंकि हमने वेबसाइटों से हजारों हैक देखे और साफ़ किए हैं। घबराए हुए वेबसाइट व्यवस्थापक हमें हर सप्ताह ईमेल करते हैं क्योंकि वे अपनी वेबसाइट में लॉग इन नहीं कर पाते हैं, या उनके वेब होस्ट ने मैलवेयर पाए जाने के कारण उनका खाता निलंबित कर दिया है।

<पी> MalCare का स्कैनर उपयोग के लिए पूरी तरह से निःशुल्क है। एक बार जब आपके पास इस बात की निर्णायक रिपोर्ट हो जाए कि आपकी साइट हैक हुई है या नहीं, तो आप फ़ाइलों और डेटाबेस से मैलवेयर से तुरंत छुटकारा पाने के लिए ऑटो-क्लीन सुविधा का उपयोग करने के लिए अपग्रेड कर सकते हैं।  हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका <पी> मैलकेयर का उपयोग क्यों करें, जहां बहुत सारे मैलवेयर स्कैनर मौजूद हैं? <पी> MalCare मैलवेयर की पहचान करने के लिए फ़ाइल मिलान पर निर्भर नहीं है, लेकिन इसमें एक परिष्कृत एल्गोरिदम है जो 100+ सिग्नल के लिए कोड की जांच करता है इसे सुरक्षित या खतरनाक चिह्नित करने से पहले।

<पी> अन्य सुरक्षा प्लगइन्स मैलवेयर की पहचान करने के लिए फ़ाइल मिलान का उपयोग करते हैं। स्कैनर हैक हस्ताक्षरों के डेटाबेस के विरुद्ध साइड कोड की जाँच करता है। यदि यह मेल खाता है, तो इसे मैलवेयर माना जाता है। <पी> दुर्भाग्य से, यह एक त्रुटिपूर्ण प्रक्रिया है, जिसके कारण ग़लत सकारात्मक परिणाम सामने आते हैं और मैलवेयर छूट जाता है। कल्पना कीजिए, एक नया हैक है। हस्ताक्षर स्पष्ट रूप से डेटाबेस में नहीं होगा, और तंत्र वहीं विफल हो जाता है।

आपको अपनी साइट को गहराई से स्कैन करने की आवश्यकता क्यों है?

<पी> चूंकि हैक कई अलग-अलग प्रकार के होते हैं, मैलवेयर किसी भी संख्या में, कई प्रकार के हो सकते हैं और अलग-अलग तरीकों से प्रकट हो सकते हैं . <पी> उदाहरण के लिए, वर्डप्रेस रीडायरेक्ट हैक के वेरिएंट में से एक वेबसाइट पर हर एक पोस्ट और पेज को संक्रमित करता है - कभी-कभी सैकड़ों और हजारों।

<पी> साथ ही, हैक अप्रत्याशित होते हैं—या यूं कहें कि उन्हें अप्रत्याशित होने के लिए डिज़ाइन किया गया है। हैकर्स मैलवेयर को यथासंभव लंबे समय तक छिपाकर रखने के लिए एडमिन को भ्रमित करना चाहते हैं। इसलिए मैलवेयर वेबसाइटों को अजीब व्यवहार करने पर मजबूर कर सकता है, लेकिन हर समय नहीं . <पी> उदाहरण के लिए, कोई व्यवस्थापक किसी दुर्भावनापूर्ण रीडायरेक्ट को एक बार देखता है और फिर कभी नहीं देखता है। आप सोच सकते हैं कि फ़ायरवॉल गड़बड़ है। हो सकता है कि आपको किसी दिन कोई स्पैम विज्ञापन पॉपअप दिखाई दे। क्या वह आपका विज्ञापन प्रबंधक था? <पी> <मजबूत>बस आपको यह सवाल करने के लिए पर्याप्त है कि क्या यह एक बग है या आपकी कल्पना है। <पी> 💡 भले ही आपने हैक की गई वर्डप्रेस साइट के कई लक्षण देखे हों, लेकिन वे हैक के निर्णायक संकेतक नहीं हैं। यह जानने का एकमात्र तरीका है कि आपका वर्डप्रेस हैक हुआ है या नहीं, अपनी वेबसाइट को स्कैन करना है।  

आपकी साइट को स्कैन करने के अन्य तरीके

ऑनलाइन फ्रंटएंड मैलवेयर स्कैनर

<पी> अपनी वेबसाइट को स्कैन करने का दूसरा विकल्प ऑनलाइन सुरक्षा स्कैनर का उपयोग करना है। ध्यान रखें कि ऑनलाइन सुरक्षा स्कैनर WP सुरक्षा प्लगइन्स की तुलना में कम कुशल हैं।  <पी> फ्रंटएंड स्कैनर के साथ समस्या यह है कि उनकी पहुंच केवल आपकी वेबसाइट के सार्वजनिक रूप से दिखाई देने वाले हिस्सों तक होती है। ऐसे कोड का होना अच्छी बात है जो सार्वजनिक रूप से दृश्यमान न हो, क्योंकि आप नहीं चाहते कि आपकी कॉन्फ़िग फ़ाइलें इंटरनेट पर सभी को दिखाई दें।

<पी> हालाँकि, दुर्भाग्य से, मैलवेयर केवल सार्वजनिक रूप से दिखाई देने वाली फ़ाइलों पर हमला करने के लिए पर्याप्त रूप से विचारशील नहीं है . यह कहीं भी छिप सकता है, और वास्तव में, उन जगहों पर छिप जाएगा जहां फ्रंटएंड स्कैनर नहीं पहुंच सकते। इसीलिए सर्वर-स्तरीय स्कैनर सबसे प्रभावी हैं।  हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका <पी> 💡 हमारी सलाह है कि निदान की पहली पंक्ति के रूप में एक ऑनलाइन सुरक्षा स्कैनर का उपयोग करें . यदि यह सकारात्मक निकला, तो सफाई की ओर बढ़ने के लिए यह एक अच्छा प्रारंभिक बिंदु है। हालाँकि, सावधानी का एक शब्द:केवल हैक की गई फ़ाइलों की सूचियों पर भरोसा न करें जो स्कैनर आपको देता है। ये वही हैं जिन्हें स्कैनर चिह्नित करने में सक्षम था। दुर्भावनापूर्ण कोड के संभावित रूप से कई और उदाहरण हैं।

मैलवेयर के लिए मैन्युअल रूप से स्कैन करें

<पी> यद्यपि हम इस अनुभाग को लेख में शामिल कर रहे हैं, हम किसी को भी मैलवेयर से मैन्युअल रूप से स्कैनिंग या सफाई करने का प्रयास करने के खिलाफ दृढ़ता से सलाह देते हैं।  <पी> MalCare जैसा एक अच्छा सुरक्षा प्लगइन वास्तव में आगे बढ़ने का रास्ता है, क्योंकि यह इस अनुभाग में जो कुछ भी है वह सब करेगा, लेकिन तेज़ और बेहतर तरीके से। याद रखें कि वर्डप्रेस हैक जितना अधिक समय तक अप्राप्य रहेगा, उतना ही खराब होता जाएगा।  <पी> मैलवेयर के लिए अपनी वेबसाइट को स्कैन करने का मतलब अनिवार्य रूप से फ़ाइलों और डेटाबेस में जंक कोड की तलाश करना है। हम जानते हैं कि मार्गदर्शन के संदर्भ में 'जंक कोड' का अर्थ बहुत कम है, लेकिन हैक विभिन्न रूपों में आते हैं। वे प्रत्येक अलग-अलग दिखते और व्यवहार करते हैं।  <पी> हमने बाद के अनुभाग में हैक्स के कोड उदाहरण प्रदान किए हैं, लेकिन हमें इस बात पर जोर देना चाहिए कि वे केवल सांकेतिक हैं।  <पी> यदि आप दुर्भावनापूर्ण कोड के लिए अपनी वेबसाइट को मैन्युअल रूप से स्कैन करने का विकल्प चुन रहे हैं, तो हाल ही में संशोधित फ़ाइलों की जांच करें , और फ़ाइलों और डेटाबेस दोनों को देखना सुनिश्चित करें। यहां सावधानी का एक शब्द:अद्यतन समय भी बदला जा सकता है। एक चतुर हैकर अद्यतन टाइमस्टैम्प को बिल्कुल अलग तरीके से सेट कर सकता है।

<पी> 💡टिप: अपनी वेबसाइट को स्कैन करते समय अपने कार्यों का लॉग रखें। यह बाद में डिबगिंग प्रक्रिया में मदद करता है, उदाहरण के लिए यदि आपकी वेबसाइट मोबाइल द्वारा एक्सेस किए जाने पर ही अजीब व्यवहार करती है। या यदि आपको किसी फ़ाइल में कोई संदिग्ध दिखने वाला स्क्रिप्ट टैग दिखाई देता है।

हैक की जांच करने के अन्य तरीके

<पी> कुछ अन्य जाँचें हैं जिनका उपयोग आप यह निर्धारित करने के लिए कर सकते हैं कि आपकी साइट हैक हो गई है या नहीं। इनमें से कुछ ऊपर सूचीबद्ध लक्षणों के साथ थोड़ा मेल खाते हैं, लेकिन हम उन्हें यहां शामिल कर रहे हैं यदि लक्षण स्वाभाविक रूप से प्रकट नहीं हुए हैं। 
  • गुप्त ब्राउज़र से लॉग इन करें . यदि आपको रीडायरेक्ट जैसा कोई लक्षण एक बार दिखाई देता है, लेकिन आप उसे दोहरा नहीं सकते, तो किसी भिन्न कंप्यूटर या गुप्त ब्राउज़र से लॉग इन करने का प्रयास करें। हैकर्स यह भ्रम पैदा करने के लिए कुकीज़ सेट करते हैं कि आप अपनी वेबसाइट पर जो भी विसंगतियाँ देखते हैं, वे केवल विसंगतियाँ हैं, और हैक के संकेत नहीं हैं। 
  • अपनी वेबसाइट को गूगल पर देखने का प्रयास करें और वहां से क्लिक करें। क्या आपकी वेबसाइट सही ढंग से लोड होती है? यदि आप सीधे ब्राउज़र में यूआरएल डाल दें तो कैसा रहेगा? फिर क्या होता है? लक्षणों को दोहराने के लिए आपने क्या किया, इसका नोट रखें। क्या आपने मोबाइल डिवाइस से लॉग इन किया है, या आप Google खोज परिणामों पर क्लिक कर रहे हैं? ये सुराग कुछ हद तक हैक स्थान की पहचान करने में मदद करते हैं।
  • अपनी वेबसाइट पर पृष्ठों की संख्या जांचें . आपको अपनी वेबसाइट पर अनुक्रमित पृष्ठों की संख्या का अनुमानित अनुमान है। अपनी वेबसाइट को साइट से गूगल करें ऑपरेटर खोजें, और परिणामों की संख्या जांचें। यदि परिणामों की संख्या आपकी अपेक्षा से बहुत अधिक है, तो इसका मतलब है कि आपकी साइट पर स्पैम पेज अनुक्रमित किए जा रहे हैं। 
  • गतिविधि लॉग जांचें। एक गतिविधि लॉग आपको दिखाता है कि प्रत्येक उपयोगकर्ता क्या कर रहा है। नए उपयोगकर्ताओं या उन लोगों के लिए गतिविधि लॉग की जाँच करें जिनके पास अचानक भूमिका विशेषाधिकार बढ़ गए हैं, जैसे राइटर से एडमिन में जाना। अजीब उपयोगकर्ता नाम या ईमेल पते खोजें।
  • एनालिटिक्स डेटा में अजीब रुझान देखें। इस तथ्य के अलावा कि हैक के कारण Google आपकी वेबसाइट को पूरी तरह से डी-इंडेक्स कर सकता है, कुछ प्रारंभिक चेतावनी संकेत हैं जिन्हें आप देख सकते हैं। कम समय में अप्रत्याशित स्थानों से यातायात में वृद्धि। उन सहभागिता दरों की भी जाँच करें जो अचानक बदल गई हैं। विसंगतियों की हमेशा जांच होनी चाहिए.
  • नकली प्लगइन्स की तलाश करें। आपकी वेबसाइट के /wp-content फ़ोल्डर में, आपको केवल वही प्लगइन्स और थीम दिखनी चाहिए जो आपने इंस्टॉल किए हैं। छोटे, अर्थहीन नामों वाला कोई भी अजीब नाम अच्छा दांव है। नकली प्लगइन्स में आम तौर पर फ़ोल्डर में एक फ़ाइल होती है, या अधिकतम दो।
  • .htaccess फ़ाइल की जाँच करें. .htaccess फ़ाइल ट्रैफ़िक को निर्देशित करने के लिए ज़िम्मेदार है। उदाहरण के लिए, यदि आपकी वेबसाइट को मोबाइल डिवाइस से एक्सेस किया जा रहा है, तो .htaccess डेस्कटॉप संस्करण के बजाय आपकी वेबसाइट के मोबाइल संस्करण को लोड करता है। यदि आप कोर वर्डप्रेस फ़ाइलों से परिचित हैं, तो .htaccess फ़ाइल देखें। क्या उपयोगकर्ता एजेंट सही फ़ाइलें लोड कर रहे हैं? SEO स्पैम हैक या जापानी कीवर्ड हैक जैसे मैलवेयर Googlebot उपयोगकर्ता एजेंट के कोड को बदल देंगे। आमतौर पर, इसे Index.php फ़ाइल को लोड करना चाहिए, लेकिन अगर इसे हैक कर लिया गया है और कोई विज़िटर Google से क्लिक करता है, तो आपकी जगह एक पूरी तरह से अलग वेबसाइट लोड हो जाएगी। एड्रेस बार में यूआरएल के साथ सीधे आपकी वेबसाइट पर जाने से सही वेबसाइट लोड हो जाएगी, क्योंकि पता लगाया गया उपयोगकर्ता एजेंट googlebot नहीं है।
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका .htaccess फ़ाइल रीडायरेक्ट मैलवेयर के साथ

चरण 2. अपनी हैक की गई वर्डप्रेस साइट को साफ़ करें

<पी> हम अनुशंसा करते हैं कि आप अपनी वेबसाइट को हैक से मुक्त करने के लिए MalCare का उपयोग करें। यह वर्डप्रेस वेबसाइटों के लिए अब तक का सबसे अच्छा सुरक्षा प्लगइन है, और आपकी वेबसाइट को पूरी तरह से बरकरार रखते हुए केवल मैलवेयर को शल्यचिकित्सा से हटाने के लिए एक बुद्धिमान प्रणाली का उपयोग करता है।  <पी> वर्डप्रेस हैक क्लीनअप के लिए MalCare का उपयोग करने के लिए, आपको बस इतना करना होगा:

  1. अपनी वेबसाइट पर MalCare इंस्टॉल करें
  2. स्कैन चलाएं, और परिणामों की प्रतीक्षा करें
  3. यदि स्कैन परिणाम कोई हैक दिखाता है, तो मैलवेयर को स्वतः साफ़ करने के लिए अपग्रेड करें
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका <पी> MalCare आपकी वेबसाइट से मैलवेयर को शल्य चिकित्सा द्वारा हटा देता है। सफाई कुछ ही मिनटों में हो जाती है, और आपकी वेबसाइट एक बार फिर पुरानी हो जाती है। 

हम MalCare की अनुशंसा क्यों करते हैं? 

<पी> वर्डप्रेस के लिए ढेर सारे सुरक्षा प्लगइन्स उपलब्ध हैं, लेकिन हम अन्य सभी से ऊपर MalCare की अनुशंसा करते हैं। हम पक्षपाती लग सकते हैं, लेकिन हमारी राय व्यापक परीक्षण और शोध पर आधारित है। MalCare कई कारणों से सर्वोत्तम सुरक्षा प्लगइन है:

  • फ़ाइलों और डेटाबेस से केवल हैक हटाता है, अच्छे कोड और डेटा को पूरी तरह बरकरार रखता है
  • पुराने से लेकर बिल्कुल नए तक, सभी प्रकार के मैलवेयर पर काम करता है
  • हैकर्स द्वारा छोड़े गए पिछले दरवाजों का पता लगाता है और उनका भी पता लगाता है
  • तुरंत काम करता है; हैक की गई साइट पुनर्प्राप्ति के लिए प्रतीक्षा करने की कोई आवश्यकता नहीं है
  • सुरक्षा विशेषज्ञों द्वारा असीमित मैलवेयर हटाना शामिल है
  • पुन:संक्रमण को रोकने के लिए सफाई के बाद के महत्वपूर्ण कार्यों को स्वचालित करता है

आपकी हैक हुई वर्डप्रेस साइट को ठीक करने के अन्य तरीके

एक सुरक्षा विशेषज्ञ या रखरखाव सेवा को नियुक्त करें

<पी> यदि आपकी वेबसाइट कुछ समय के लिए हैक हो गई है, तो हो सकता है कि आपके वेब होस्ट ने आपका खाता निलंबित कर दिया हो और आपकी वेबसाइट ऑफ़लाइन कर दी हो। इसलिए, हैक को साफ़ करने के लिए सुरक्षा प्लगइन स्थापित करना संभव नहीं है।  <पी> चिंता न करें, इन मामलों में, हैक की गई वर्डप्रेस साइट को ठीक करने के लिए हमारी आपातकालीन मैलवेयर हटाने वाली सेवा से संपर्क करें। एक समर्पित सुरक्षा विशेषज्ञ आपके वेब होस्ट से बात करके आईपी को फिर से एक्सेस प्राप्त करने के लिए श्वेतसूची में लाने के लिए आपका मार्गदर्शन करेगा, और इसलिए सफाई के लिए प्लगइन स्थापित करेगा।  <पी> यदि आपका वेब होस्ट अपनी नीतियों के कारण आईपी को श्वेतसूची में डालने से इनकार करता है, तो विशेषज्ञ कम से कम समय में आपकी वेबसाइट से मैलवेयर साफ़ करने के लिए एसएफटीपी का उपयोग करेगा।  <पी> आप MalCare के बाहर किसी वर्डप्रेस सुरक्षा विशेषज्ञ के साथ जाने का विकल्प भी चुन सकते हैं। हालाँकि, कृपया ध्यान रखें कि सुरक्षा विशेषज्ञ महंगे हैं, और वे पुन:संक्रमण के खिलाफ गारंटी नहीं देते हैं। कई सुरक्षा प्लगइन्स जो मैन्युअल सफाई करते हैं वे प्रति सफाई शुल्क लेते हैं, जो एक ऐसी लागत है जो बार-बार संक्रमण के साथ बहुत तेजी से बढ़ती है।  <पी>

वर्डप्रेस हैक किए गए संक्रमणों को मैन्युअल रूप से साफ़ करें

<पी> आपकी वेबसाइट से मैलवेयर को मैन्युअल रूप से हटाना संभव है। वास्तव में, चरम मामलों में, यह कभी-कभी एकमात्र व्यवहार्य विकल्प होता है। हालाँकि हम इसके विरुद्ध सलाह देते रहते हैं, और हमने नीचे अपने कारणों पर थोड़ा विस्तार किया है।  <पी> यदि आप हैक की गई वर्डप्रेस वेबसाइट को मैन्युअल रूप से साफ़ करना चुनते हैं, तो सफल होने के लिए आपके पास कुछ शर्तें होनी चाहिए:

  • आप वर्डप्रेस को अच्छी तरह से समझते हैं। फ़ाइल संरचना, कोर फ़ाइलें कैसे काम करती हैं, डेटाबेस आपकी वेबसाइट के साथ कैसे इंटरैक्ट करता है। आपको अपनी वेबसाइट के बारे में सब कुछ जानने की भी आवश्यकता होगी:प्लगइन्स, थीम, उपयोगकर्ता इत्यादि। मैलवेयर किसी भी फ़ाइल में छिपा हो सकता है, जिसमें महत्वपूर्ण फ़ाइल भी शामिल हैं, और यदि आप केवल फ़ाइल हटाते हैं, तो आप अपनी वेबसाइट को तोड़ सकते हैं।
  • आपको कोड पढ़ने और कोड तर्क को समझने में सक्षम होना चाहिए। उदाहरण के लिए, हैक की गई फ़ाइल को रूट फ़ोल्डर से हटाना अच्छी बात है। लेकिन अगर आपकी .htaccess फ़ाइल लॉगिन पर उस फ़ाइल को लोड कर रही थी, तो आपके विज़िटर्स को 404 पेज दिखाई देगा। <पी> यह जानना आसान बात नहीं है, और कई स्कैनर गलत सकारात्मक परिणाम उत्पन्न करते हैं क्योंकि वे कस्टम कोड और खराब कोड के बीच अंतर नहीं कर सकते हैं।

  • फ़ाइल मैनेजर और phpMyAdmin जैसे cPanel टूल से परिचित होना। साथ ही, सुनिश्चित करें कि आपकी वेबसाइट पर एसएफटीपी की पहुंच हो। आपका वेब होस्ट वह जानकारी प्राप्त करने में सहायता कर सकता है।
1. अपनी वेबसाइट तक पहुंच प्राप्त करें
<पी> यदि आपके वेब होस्ट ने आपका खाता निलंबित कर दिया है, या आपकी वेबसाइट ऑफ़लाइन कर दी है, तो आपको उस तक पहुंच पुनः प्राप्त करनी होगी। यदि आप एसएफटीपी का उपयोग करते हैं, तो यह कोई बाधा नहीं है, लेकिन उनसे अपने आईपी को श्वेतसूची में डालने के लिए कहना सबसे अच्छा है ताकि आप कम से कम वेबसाइट देख सकें।  <पी> इसके अतिरिक्त, वेब होस्ट ने आपकी वेबसाइट को स्कैन करने और मैलवेयर का पता लगाने के बाद आपका खाता निलंबित कर दिया। आप संक्रमित फ़ाइलों की सूची मांगने के लिए उनके समर्थन तक पहुंच सकते हैं। फ्रंटएंड स्कैनर भी आपको यह जानकारी देंगे, हालांकि यह पूरी तरह से सटीक नहीं हो सकता है और/या इसमें गलत सकारात्मकता हो सकती है।

<पी> ऐसी स्थिति में जब आपकी साइट अब बिल्कुल भी उपलब्ध नहीं है—क्योंकि कुछ होस्ट हैक की गई साइटों को तुरंत हटा देते हैं—आपको यह प्रक्रिया बैकअप के साथ शुरू करनी होगी।

2. अपनी वेबसाइट का बैकअप लें
<पी> हम इस पर अधिक जोर नहीं दे सकते:कृपया कुछ भी करने से पहले अपनी वेबसाइट का बैकअप ले लें। एक हैक की गई साइट, बिना साइट वाली साइट से कहीं बेहतर है।  <पी> सबसे पहले, जब लोग वेबसाइट कोड में इधर-उधर ताक-झांक करते हैं तो चीजें गड़बड़ा सकती हैं, और अक्सर ऐसा होता भी है। तभी बैकअप दिन बचाता है। आप वेबसाइट को पुनर्स्थापित कर सकते हैं, और फिर से शुरू कर सकते हैं।  <पी> दूसरे, यदि आपकी वेबसाइट हैक हो गई है तो वेब होस्ट आपकी वेबसाइट को पूरी तरह से हटा सकते हैं। यह सुनिश्चित करने में उनका निहित स्वार्थ है कि उनके सर्वर पर कोई मैलवेयर नहीं है, और वे यह सुनिश्चित करने के लिए जो भी आवश्यक होगा वह करेंगे।  <पी> यदि कोई वेब होस्ट आपकी वेबसाइट को हटा देता है, तो उनके पास बैकअप होने की संभावना कम है। उनके समर्थन से बैकअप प्राप्त करना और भी आसान है। हम हमेशा अपना स्वयं का बैकअप लेने की पुरजोर वकालत करते हैं।  <पी> हम बड़ी फ़ाइलों के लिए वर्डप्रेस बैकअप प्लगइन का उपयोग करने की भी सलाह देते हैं। हमने देखा है कि वेब होस्ट बैकअप के साथ पुनर्स्थापन बुरी तरह विफल हो गया है। जब आपकी वेबसाइट हैक हो जाती है और आप उसे साफ़ कर रहे होते हैं, तो आप यथासंभव जटिलता और विफलता की संभावनाओं को कम करना चाहते हैं।

3. वर्डप्रेस कोर, प्लगइन्स और थीम के क्लीन इंस्टाल डाउनलोड करें
<पी> अपनी वेबसाइट पर मौजूद संस्करणों की एक सूची बनाएं और वर्डप्रेस रिपॉजिटरी से कोर, प्लगइन्स और थीम के क्लीन इंस्टॉल डाउनलोड करें। यदि आप किसी चीज़ का नवीनतम संस्करण उपयोग नहीं कर रहे हैं, तो सुनिश्चित करें कि आपने वही संस्करण डाउनलोड किया है जो आपकी वेबसाइट पर इंस्टॉल किया गया था। यह एक महत्वपूर्ण कदम है, क्योंकि आप पहले फ़ाइलों और कोड की तुलना करने के लिए इंस्टॉल का उपयोग करेंगे।  <पी> एक बार जब आप इंस्टॉलेशन को डाउनलोड और अनज़िप कर लें, तो अपनी वेबसाइट पर फ़ाइलों और फ़ोल्डरों की तुलना करें। तुलना प्रक्रिया को कुछ हद तक तेज़ करने के लिए, कोड में अंतर जानने के लिए एक ऑनलाइन डिफचेकर का उपयोग करें।  <पी> संयोग से, यह फ़ाइल मिलान प्राथमिक तंत्र है जिसका उपयोग अधिकांश स्कैनर करते हैं। यह एक आदर्श तंत्र नहीं है, क्योंकि आपके पास महत्वपूर्ण कस्टम कोड हो सकता है जो क्लीन इंस्टाल में दिखाई नहीं देगा। इसलिए अभी डिलीट करने का समय नहीं है. ढेर सारे नोट लें और चिह्नित करें कि कौन सी फ़ाइलें और फ़ोल्डर मूल से भिन्न हैं।  <पी> यह पता लगाने का भी एक अच्छा तरीका है कि आपकी वेबसाइट पर नकली प्लगइन्स इंस्टॉल हैं या नहीं। आपको रिपॉजिटरी पर नकली प्लगइन्स नहीं मिलेंगे, और वे हमेशा प्लगइन नामकरण परंपराओं का पालन नहीं करते हैं और फ़ोल्डर में बहुत कम फ़ाइलें (कभी-कभी सिर्फ एक) होती हैं।  <पी> नोट:क्या आप nulled प्लगइन्स या थीम का उपयोग कर रहे हैं? अशक्त सॉफ़्टवेयर इंस्टॉल करना मैलवेयर के लिए लाल कालीन बिछाने जैसा है। जब आप प्रीमियम प्लगइन्स के लिए भुगतान करते हैं, तो आपको रखरखाव सॉफ्टवेयर, कुछ गलत होने पर समर्थन की उम्मीद और सुरक्षित कोड की गारंटी मिलती है। अशक्त सॉफ़्टवेयर अक्सर बैकडोर या मैलवेयर के साथ पैक करके आता है।

<पी> यदि आपने पहले इस चरण को छोड़ना चुना है, तो अपनी वेबसाइट का बैकअप लेने के लिए एक त्वरित अनुस्मारक। यह जाने का समय है. आपकी वेबसाइट से मैलवेयर साफ़ करना इस प्रक्रिया में सबसे कठिन (और सबसे डरावना) कदम है। 
4. वर्डप्रेस कोर को पुनः स्थापित करें
<पी> अपनी वेबसाइट फ़ाइलों तक पहुँचने के लिए cPanel या SFTP में फ़ाइल प्रबंधक का उपयोग करें, और निम्नलिखित फ़ोल्डरों को पूरी तरह से बदल दें:

  • /wp-admin
  • /wp-includes
<पी> आप इसे बिना किसी समस्या के कर सकते हैं, क्योंकि आपकी कोई भी सामग्री या कॉन्फ़िगरेशन इन फ़ोल्डरों में संग्रहीत नहीं है। वस्तुतः, इन फ़ोल्डरों में ऐसा कुछ भी नहीं होना चाहिए जो साफ़ इंस्टॉलेशन से भिन्न हो।  <पी> इसके बाद, अजीब कोड के लिए निम्न फ़ाइलों की जाँच करें:

  • index.php
  • wp-config.php
  • wp-settings.php
  • wp-load.php
  • .htaccess
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका हैक की गई Index.php फ़ाइल <पी> बाद के अनुभाग में, हम अलग-अलग हैक और मैलवेयर के बारे में बात करेंगे और वे फ़ाइलों और फ़ोल्डरों में कैसे दिखाई देते हैं। मैलवेयर कई अलग-अलग तरीकों से प्रकट हो सकते हैं, और उन्हें दृश्य रूप से पहचानने का कोई निश्चित तरीका नहीं है। आपको इन फ़ाइलों में अजीब दिखने वाली PHP स्क्रिप्ट देखने और उनसे छुटकारा पाने के बारे में ऑनलाइन सलाह मिल सकती है। हालाँकि, यह बहुत ही ख़राब सलाह है और उपयोगकर्ता अपनी वेबसाइटें तोड़ने के बाद हमारी सहायता टीम के पास आने लगे हैं। यह निर्धारित करने से पहले कि यह दुर्भावनापूर्ण है या नहीं, MalCare प्रत्येक स्क्रिप्ट का उसके व्यवहार का मूल्यांकन करने के लिए परीक्षण करता है।  <पी> PHP फ़ाइलों की बात करें तो, /wp-uploads में बिल्कुल भी नहीं होना चाहिए। इसलिए आप जो कुछ भी वहां देखते हैं उसे बिना किसी दंड के हटा सकते हैं।  <पी> इसलिए हम वास्तव में यह अनुमान नहीं लगा सकते कि आपको इनमें से किसी भी फ़ाइल में कौन सा दुर्भावनापूर्ण कोड देखने की संभावना है। कृपया यह समझने के लिए वर्डप्रेस फ़ाइलों की एक व्यापक सूची देखें कि प्रत्येक क्या करती है, एक-दूसरे के साथ उनकी अंतर्संबंधता क्या है, और क्या आपकी वेबसाइट पर फ़ाइलें अलग-अलग व्यवहार करती हैं। यहीं पर कोड लॉजिक की समझ बेहद मददगार होगी।  <पी> यदि यह पूरी फ़ाइल ख़राब है, तो हमारी सलाह है कि इसे तुरंत न हटाएं। इसके बजाय, फ़ाइल एक्सटेंशन का नाम PHP से बदलकर phptest जैसा कुछ और रख दें, ताकि वह अब और न चल सके। यदि यह किसी वैध फ़ाइल में कोड है, तो आप इसे हटा सकते हैं, क्योंकि अगर कुछ टूटता है तो आपके पास बैकअप होता है।

5. प्लगइन और थीम फ़ोल्डर साफ़ करें
<पी> /wp-content फ़ोल्डर में सभी प्लगइन और थीम फ़ाइलें हैं। आपके द्वारा डाउनलोड किए गए क्लीन इंस्टॉल का उपयोग करके, आप वर्डप्रेस कोर इंस्टॉलेशन के समान ही जांच कर सकते हैं और कोड में अंतर देख सकते हैं।

हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका <पी> हम केवल यह बताना चाहते हैं कि परिवर्तन जरूरी नहीं कि बुरे हों। अनुकूलन कोड में परिवर्तन के रूप में दिखाई देंगे। यदि आपने अपनी वेबसाइट पर ठीक से काम करने के लिए प्लगइन या थीम पाने के लिए सेटिंग्स और कॉन्फ़िगरेशन में बदलाव किया है, तो कम से कम मामूली बदलाव देखने की उम्मीद करें। यदि आपको अनुकूलन को पूरी तरह से मिटाने में कोई समस्या नहीं है, तो सभी प्लगइन और थीम फ़ाइलों को नए इंस्टॉल के साथ बदलें।  <पी> आम तौर पर, लोग अपने द्वारा किए गए किसी भी काम को अच्छे कारण के साथ बट्टे खाते में डालने को तैयार नहीं होते हैं। तो इसके बजाय अंतरों के लिए कोड की जांच करना एक लंबा तरीका है। यह जानना उपयोगी है कि प्रत्येक स्क्रिप्ट क्या करती है और यह बाकी वेबसाइट के साथ कैसे इंटरैक्ट करती है। मैलवेयर स्क्रिप्ट एक फ़ाइल में हानिरहित रूप से मौजूद रह सकती हैं, जब तक कि उन्हें किसी अन्य पूरी तरह से अहानिकर दिखने वाली स्क्रिप्ट द्वारा पूरी तरह से अलग स्थान पर निष्पादित नहीं किया जाता है। मैलवेयर का यह टैग टीम पहलू उन कारणों में से एक है जिनके कारण वेबसाइटों को मैन्युअल रूप से साफ़ करना इतना कठिन है।  <पी> प्लगइन्स और थीम को साफ करने का एक और पहलू यह है कि उनमें से बहुत सारे हो सकते हैं। प्रत्येक से गुजरना एक श्रमसाध्य और समय लेने वाली प्रक्रिया है। हमारी सलाह है कि मैलवेयर ढूंढने के लिए सबसे विशिष्ट स्थानों से शुरुआत करें।   <पी> सक्रिय थीम की फ़ाइलों में, जाँचें:

  • header.php
  • footer.php
  • functions.php
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका functions.php फ़ाइल में wp-vcd मैलवेयर <पी> डायग्नोस्टिक्स अनुभाग में, हमने शोध के बारे में बात की कि क्या इंस्टॉल किए गए किसी भी प्लगइन में हाल ही में खोजी गई भेद्यता है। हम उन फ़ाइलों से शुरुआत करने की अनुशंसा करते हैं. यहां पूछे जाने वाले प्रश्न हैं:

  • क्या हाल ही में कोई हैक किया गया है
  • क्या कोई अपडेट नहीं है
<पी> क्या आपको पिछले चरण में कोई नकली प्लगइन मिला? जिन्हें आप बिना दोबारा सोचे हटा सकते हैं। हालाँकि, उसकी देखभाल करना बंद न करें! मैलवेयर की तलाश अभी ख़त्म नहीं हुई है.  <पी> ध्यान रखें कि मैलवेयर सामान्य दिखने वाला है, और वैध फ़ाइल नामों की नकल करेगा। हमने भेड़ के भेष में कुछ भेड़ियों को देखा है, जहां स्टॉक वर्डप्रेस थीम जैसे ट्वेंटीसिक्सटीन या ट्वेंटीट्वेल्व में छोटी टाइपो होती हैं जो उन्हें लगभग एक जैसी दिखती हैं।  <पी> क्लीन इंस्टाल तुलना और पहचान में मदद करेगा, लेकिन यदि आप अनिश्चित हैं, तो समर्थन के लिए डेवलपर्स से संपर्क करें।

6. डेटाबेस से मैलवेयर साफ़ करें
<पी> अपने बैकअप से डेटाबेस निकालें, या यदि आपने अभी तक कोई बैकअप नहीं लिया है, तो अपने डेटाबेस को डाउनलोड करने के लिए phpMyAdmin का उपयोग करें।

  • अपने मौजूदा पेजों और पोस्टों में किसी भी विषम सामग्री या स्क्रिप्ट के लिए तालिकाओं की जाँच करें। आप जानते हैं कि जब ये आपकी वेबसाइट पर लोड होंगे तो ये कैसे दिखेंगे और क्या करेंगे।
  • नए बनाए गए पेज और पोस्ट भी देखें। ये आपके wp-admin डैशबोर्ड में दिखाई नहीं देंगे। 
<पी> कुछ मामलों में, रीडायरेक्ट हैक की तरह, wp_options तालिका में site_URL प्रॉपर्टी में एक अपरिचित URL होगा। यदि रीडायरेक्ट मैलवेयर wp_posts तालिका में है, तो यह हर एक पोस्ट में होगा।  <पी> संशोधित सेटिंग्स को पूर्ववत करें और दुर्भावनापूर्ण सामग्री को सावधानीपूर्वक हटा दें।  हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका wp_options तालिका में स्पैम URL <पी> फिर, आपकी वेबसाइट के आकार के आधार पर, यह एक बड़ा काम हो सकता है। पहली बाधा मैलवेयर की पहचान करना है, और यह कहां है। यदि प्रत्येक पोस्ट और पेज पर एक ही मैलवेयर स्क्रिप्ट है, तो आप भाग्यशाली हैं। आप प्रत्येक फ़ाइल से सामग्री निकालने के लिए SQL का उपयोग कर सकते हैं। हालाँकि, सावधान रहें, हालांकि मैलवेयर की एक बड़ी मात्रा को हटाना बहुत अच्छा है, आप यह सुनिश्चित नहीं कर सकते कि यह आपकी वेबसाइट पर एकमात्र हैक है।  <पी> यदि आपके पास एक ई-कॉमर्स वेबसाइट है, जिसमें महत्वपूर्ण उपयोगकर्ता और ऑर्डर की जानकारी है, तो दोबारा और तीन बार जांच करें कि आप वास्तव में केवल मैलवेयर से छुटकारा पा रहे हैं।

7. संदिग्ध फ़ाइलों के लिए अपने रूट की जाँच करें
<पी> अपनी वेबसाइट की फ़ाइलें देखते समय, रूट फ़ोल्डर पर भी नज़र डालें। इसमें मैलवेयर फ़ाइलें भी संग्रहीत हो सकती हैं। सभी PHP फ़ाइलें ख़राब नहीं हैं, और कुछ प्लगइन्स कुछ कार्यों को करने के लिए रूट में स्क्रिप्ट जोड़ते हैं। उदाहरण के लिए, BlogVault अपनी इमरजेंसी कनेक्टर स्क्रिप्ट को किसी वेबसाइट के रूट में जोड़ता है, ताकि साइट अप्राप्य होने पर भी प्लगइन बैकअप को पुनर्स्थापित कर सके। अन्य सुरक्षा प्लगइन्स इसे मैलवेयर के रूप में चिह्नित करेंगे, यहां तक ​​कि उन्हें भी जो निश्चित रूप से ऐसा नहीं है।
8. सभी पिछले दरवाज़े हटा दें
<पी> मैलवेयर अक्सर बैकडोर के रूप में जानी जाने वाली वेबसाइटों में कारनामे छोड़ जाते हैं, बस तभी जब उन्हें खोजा और हटा दिया जाता है। बैकडोर हैकर्स को वेबसाइटों को लगभग तुरंत ही दोबारा संक्रमित करने में सक्षम बनाता है, जिससे सफाई के सभी प्रयास नष्ट हो जाते हैं।  <पी> मैलवेयर की तरह, बैकडोर कहीं भी हो सकते हैं। देखने लायक कुछ कोड है:

  • eval
  • base64_decode
  • gzinflate
  • preg_replace
  • str_rot13
<पी> ये ऐसे फ़ंक्शन हैं जो बाहरी पहुंच की अनुमति देते हैं, जो स्वाभाविक रूप से कोई बुरी बात नहीं है। उनके पास वैध उपयोग के मामले हैं, और अक्सर पिछले दरवाजे के रूप में कार्य करने के लिए उन्हें सूक्ष्मता से बदल दिया जाता है। विश्लेषण के बिना इन्हें हटाते समय सावधानी बरतें। 
9. अपनी साफ की गई फ़ाइलें पुनः अपलोड करें
<पी> सबसे बुरा समय ख़त्म हो चुका है, अब जब आपने अपनी वेबसाइट से मैलवेयर साफ़ कर दिया है। अब यह आपकी वेबसाइट के पुनर्निर्माण का प्रश्न है। सबसे पहले, मौजूदा फ़ाइलें और डेटाबेस हटाएं, और फिर उनके स्थान पर साफ़ किए गए संस्करण अपलोड करें।

<पी> फ़ाइलों और डेटाबेस के लिए ऐसा करने के लिए क्रमशः cPanel पर फ़ाइल प्रबंधक और phpMyAdmin का उपयोग करें। अब तक, आप इन सुविधाओं को संभालने में माहिर हो गए हैं। यदि आपको अधिक सहायता की आवश्यकता है, तो आप मैन्युअल बैकअप पुनर्स्थापित करने पर हमारा लेख देख सकते हैं। प्रक्रिया वही है.  <पी> यदि बड़े पुनर्स्थापन काम नहीं करते तो निराश न हों। cPanel को एक निश्चित सीमा से ऊपर डेटा को संभालने में कठिनाई होती है। इस चरण को करने के लिए आप SFTP का भी उपयोग कर सकते हैं. 
10. कैश साफ़ करें
<पी> अपनी साइट को फिर से एक साथ रखने के बाद, और यह देखने के लिए कि क्या सब कुछ अपेक्षा के अनुरूप काम करता है, कुछ बार जाँचने के बाद, कैश साफ़ करें। आगंतुकों के लिए लोडिंग समय को कम करने के लिए, कैश आपकी वेबसाइट के पुराने संस्करणों को संग्रहीत करता है। ताकि आपकी वेबसाइट क्लीन-अप के बाद अपेक्षित व्यवहार करे, कैश खाली कर दें।

11. प्रत्येक प्लगइन और थीम को सत्यापित करें
<पी> अब जब आपने अपनी वेबसाइट को इस सॉफ़्टवेयर के साफ़ किए गए संस्करणों के साथ पुनः स्थापित कर लिया है, तो प्रत्येक की कार्यक्षमता की जाँच करें। क्या वे आपकी अपेक्षा के अनुरूप काम करते हैं?  <पी> यदि हाँ, तो यह बहुत अच्छा है। यदि नहीं, तो पुराने प्लगइन फ़ोल्डर्स पर वापस जाएं और देखें कि साफ की गई वेबसाइट पर क्या नहीं आया। संभावना है, उस कोड का कुछ भाग अनुपलब्ध कार्यक्षमता के लिए ज़िम्मेदार है। फिर आप अपनी वेबसाइट पर कोड को दोबारा दोहरा सकते हैं, इस बात का ध्यान रखते हुए कि वे बिट्स मैलवेयर से ग्रस्त न हों।  <पी> हमारा सुझाव है कि आप एक समय में एक ही प्लगइन और थीम का उपयोग करें। आप प्लगइन फ़ोल्डरों का अस्थायी रूप से नाम बदल सकते हैं, जिससे वे प्रभावी रूप से निष्क्रिय हो जाएंगे। थीम फ़ोल्डरों के लिए भी यही विधि काम करती है।  
12. इस प्रक्रिया को उपडोमेन और नेस्टेड वर्डप्रेस इंस्टॉलेशन
दोहराएं <पी> यह आप पर लागू नहीं हो सकता है, लेकिन हमने कई वेबसाइटों को उनकी मुख्य साइट पर दूसरे वर्डप्रेस इंस्टॉलेशन के साथ देखा है। यह कई चीजों का परिणाम हो सकता है, जैसे साइट डिज़ाइन, उपडोमेन, या यहां तक ​​कि भूली हुई स्टेजिंग साइट।  <पी> यदि आपकी प्राथमिक वर्डप्रेस साइट पर मैलवेयर था, तो यह नेस्टेड इंस्टॉलेशन को दूषित कर सकता था। विपरीत भी सही है। यदि आपके नेस्टेड इंस्टॉलेशन में मैलवेयर है, तो यह आपके द्वारा अभी-अभी साफ की गई वेबसाइट को फिर से संक्रमित कर देगा।  <पी> आमतौर पर, हम उपयोगकर्ताओं से किसी भी अप्रयुक्त वर्डप्रेस इंस्टॉलेशन को पूरी तरह से हटाने के लिए कहते हैं। वे एक अनावश्यक ख़तरा हैं. 
13. पुष्टि करने के लिए सुरक्षा स्कैनर का उपयोग करें
<पी> आप लगभग समाप्ति रेखा पर हैं! यह एक कठिन यात्रा थी, और आपने जो उपलब्धि हासिल की उसकी सराहना करने के लिए आपको एक क्षण का समय लेना चाहिए। यहां तक कि वर्डप्रेस विशेषज्ञ मैन्युअल रूप से वर्डप्रेस हैक क्लीनअप के साथ हमेशा सहज नहीं होते हैं, इसके बजाय टूल का उपयोग करना पसंद करते हैं।

<पी> अब केवल यह पुष्टि करना बाकी है कि मैलवेयर वास्तव में आपकी वेबसाइट से चला गया है। पुष्टि पाने के लिए MalCare के निःशुल्क स्कैनर का उपयोग करें, और आप जाने के लिए तैयार हैं!

चरण 3. हैक हटाने के बाद क्षति की भरपाई करें

<पी> संपूर्ण वर्डप्रेस हैक की गई वेबसाइट की मरम्मत में मैलवेयर हटाना, क्षति को उलटना और सुरक्षा को सख्त करना शामिल है।

<पी> एक बार जब आपकी वेबसाइट मैलवेयर से मुक्त हो जाती है, तो आप सबसे पहले हैक से होने वाले नुकसान की भरपाई पर ध्यान केंद्रित कर सकते हैं। आपकी वेबसाइट के संबंध में दो मुख्य हितधारक हैं (आपके आगंतुकों और आपके अलावा):वेब होस्ट और Google।  हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका <पी> किसी वेबसाइट तक पहुंच पुनः प्राप्त करना <पी> एक बार सफाई पूरी हो जाने पर अपने वेब होस्ट से संपर्क करें और उन्हें अपनी वेबसाइट को दोबारा स्कैन करने के लिए कहें। आप समस्या को हल करने के लिए अपने द्वारा उठाए गए कदमों का विवरण भी दे सकते हैं। निश्चित रूप से, इसके परिणामस्वरूप आपकी पहुंच बहाल हो जाएगी और आपकी साइट वापस ऑनलाइन हो जाएगी।  <पी> अपनी साइट को Google की ब्लैकलिस्ट से हटाना <पी> यदि आपकी वेबसाइट Google की ब्लैकलिस्ट में आ गई है, तो आपको समीक्षा का अनुरोध करना होगा। आप अपने Google खोज कंसोल में जाकर सुरक्षा मुद्दे पर क्लिक करके ऐसा कर सकते हैं। वहां, आपको हानिकारक सामग्री के लिए एक अलर्ट देखना चाहिए, जिसमें यह विवरण होगा कि कौन सी फ़ाइलों में वे शामिल हैं।  <पी> इस अलर्ट के बिल्कुल नीचे आपको समीक्षा का अनुरोध करने के लिए एक बटन मिलेगा। आपको यह वचन देना होगा कि आपने मुद्दों को ठीक कर लिया है, और सूचीबद्ध प्रत्येक मुद्दे के लिए आपके द्वारा उठाए गए सभी कदमों का विस्तृत विवरण प्रदान करना होगा।  <पी> एक बार अनुरोध सबमिट हो जाने पर, आपको कुछ दिनों में अनुरोध का परिणाम सुनना चाहिए।  <पी> ब्रांड क्षति नियंत्रण <पी> यह कदम पूरी तरह से वैकल्पिक है, और यह सिर्फ सलाह है। जैसा कि हम बाद में बात करेंगे, हैक लगभग हमेशा प्रतिष्ठा को नुकसान पहुंचाते हैं। यदि आप कर सकते हैं, तो सार्वजनिक रूप से स्वीकार करें कि क्या हुआ, आपने इसे ठीक करने के लिए क्या कदम उठाए, और आप भविष्य में इसे रोकने की योजना कैसे बनाते हैं।  <पी> रिश्तों को फिर से बनाने में ईमानदारी बहुत मदद करती है, और ऐसे उदाहरण हैं जहां अच्छी तरह से संभाले गए हैक से ब्रांड वैल्यू में वृद्धि हुई है। 

चरण 4. भविष्य में वर्डप्रेस हैक को रोकें

<पी> मैलवेयर के बारे में सबसे बुरी बात यह है कि यह या तो पिछले दरवाजे से या पहले की तरह ही कमजोरियों का फायदा उठाकर वापस आता रहता है।  <पी> हम भविष्य में वर्डप्रेस साइटों को हैक होने से बचाने में मदद करने के लिए इस सुरक्षा चेकलिस्ट को अपने ग्राहकों के साथ साझा करते हैं। 
  1. एक सुरक्षा प्लगइन स्थापित करें: हम MalCare जैसे अच्छे सुरक्षा प्लगइन के लाभों पर पर्याप्त रूप से जोर नहीं दे सकते, जो स्कैन, साफ़ और हैक को रोक सकता है। हैक का तुरंत निदान करने और उसे साफ करने में सक्षम होने के अलावा, MalCare एक उन्नत फ़ायरवॉल के साथ आपकी वेबसाइट को बॉट्स जैसी बहुत सारी इंटरनेट गंदगी से बचाता है। MalCare के बारे में सबसे अच्छी बात यह है कि, अन्य सुरक्षा प्लगइन्स के विपरीत, यह आपके सर्वर संसाधनों का उपयोग नहीं करेगा, इसलिए आपकी साइट बेहतर ढंग से काम करेगी और फिर भी सुरक्षित रहेगी। 
  1. सभी उपयोगकर्ता और डेटाबेस पासवर्ड बदलें: कमजोरियों के बाद, खराब पासवर्ड सुरक्षा और इसके परिणामस्वरूप समझौता किए गए उपयोगकर्ता खाते आसानी से हैक की गई वेबसाइटों का प्रमुख कारण हैं। 
  1. उपयोगकर्ता खाते रीसेट करें: ऐसे किसी भी उपयोगकर्ता खाते से छुटकारा पाएं जो वहां नहीं होना चाहिए। उन विशेषाधिकारों की समीक्षा करें जो वहां होने चाहिए, केवल व्यक्तिगत उपयोगकर्ता के लिए आवश्यक न्यूनतम विशेषाधिकार प्रदान करते हुए। 
  1. लवण + सुरक्षा कुंजी बदलें: WordPress attaches long strings of random characters, known as salts and security keys, to login data in cookies. These are used to authenticate users, and to make sure they are logged in safely. To change these, WordPress has a generator, after which the updated strings can be put into the wp-config.php file. 
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका
  1. Choose your plugins and themes wisely: We highly recommend sticking to plugins and themes from reputed developers only. Not only will the developers provide support when required, but will maintain the plugin or theme code with constant updates. Updates are critical to patch vulnerabilities, and are your first line of defence against hacks. <पी> If you feel that nulled themes and plugins will save you money, you will end up losing whatever you save many times over when the inevitable hack occurs. Nulled themes and plugins are not only unethical, but downright dangerous. 
  1. Install SSL: SSL protects the communication to and from your website. SSL uses encryption to make sure it cannot be intercepted and read by anyone else. Google has been advocating for SSL implementation on websites for years now, and actively penalises website SEO if the website doesn’t have SSL. 
  1. वर्डप्रेस को मजबूत करें: There are measures to toughen up security, commonly known as WordPress hardening. We would caution you to be mindful of following the immense advice available online. Some of it is downright bad and will impact your website and visitors’ experience. Follow this guide to harden your website responsibly. 
  1. Update everything: All updates, whether WordPress, plugin, or theme, are necessary and should be done as soon as possible. Updates usually address issues in the code, like security vulnerabilities. It is especially critical because when security researchers discover vulnerabilities, they disclose them to the developer who then releases a patch for it. The researcher then discloses the vulnerability publicly, and that’s when mayhem erupts. Hackers will try their luck with any websites that don’t have the update installed. <पी> The resistance to WordPress updates is understandable, because it can disrupt operations, especially if something breaks. The safest way to implement updates is to use a staging site first, and then merge changes to live.

  2. Implement an activity log: In order to keep a close eye on changes made to your website, an activity log is immensely useful. Apart from monitoring regular changes, unexpected changes like new users can signal that someone has unauthorized access. It will help you catch hacks early.
  3. Use SFTP instead of FTP: Similar to SSL, SFTP is a secure way to use FTP to access your website backend on the server. Most admin avoid using FTP at all, because it tends to be slow and painstaking to work with. However, in case you cannot log into your website, FTP becomes necessary.
  4. Remove secondary WordPress installations if not in use: We’ve seen this several times. Malware reappears on freshly cleaned websites, because there is a second website on the same cPanel with malware. It works both ways in fact. If either of the sites has malware, it is only a matter of time before the other one is infected. <पी> There are various reasons that you would have a second website installed on cPanel, and all of them are legitimate:site redesign, staging site, or even a subdomain. However, several times users forget about the second website, even to update or monitor it. It then gets hacked because of vulnerabilities, and the malware works its way into the main website.

  5. Choose a good host: This is a somewhat subjective point, but it pays to do research to pick a good host. The general rule is to pick an established brand name and check how they have handled issues in the past. You want to have a web host that has responsive support, invests in their infrastructure, and has security certifications.
  6. Invest in backups: We’ve said this a few times already in this article, but backups are non-negotiable. Backups are invaluable when all else fails, and our customers have been able to retrieve 100% of their website even after really bad hacks solely because of backups. 
  7. Have a security plan in place/things to do regularly: Last, but certainly not least, have a plan in place to run through diagnostics regularly. Also, there are a few things that should be done to a cadence:review users, require password changes, monitor activity logs, update regularly, check for vulnerability news, and so on. Often, these measures will help avert major security-related disasters early on.

Can you fix WordPress hack issues permanently?

<पी> No, WordPress hack issues cannot be fixed permanently. Any security professional, service, or product telling you so isn’t being truthful. <पी> WordPress security, much like all other types of security in the world, is a question of reducing risk, having insurance, and taking the right preventative steps.

<पी> Even after all of this, will you be faced with the occasional WordPress hack cleanup? हाँ। However the likelihood and severity will both be orders of magnitude less. So everything that we listed in the section above is still worth doing.

Avoid fixing a hacked WordPress site manually

<पी> There are so many things that can go horribly wrong with manual cleanups. Trust us, we have seen our fair share. If your wordpress site is compromised, the best course of action to return your site to good health is to install a security plugin.

<पी> We strongly advise against manual cleaning, even though we have included the steps above. If you liken a hack to an illness, you would rather a qualified medical professional perform life-saving surgery, wouldn’t you? Imagine trying to remove your appendix yourself, and you get where we are going with this analogy.  <पी> Hacks, like invasive infections, get progressively worse with time. If malware is destroying your website data, for instance, acting fast could save you a great deal of time and resources. Not to mention, save your website too.  <पी> As malware replicates itself, it spreads into different files and folders, creates ghost admin users to regain entry if it is detected, and overall wreaks havoc.  <पी> On top of this, recovery becomes significantly harder. We’ve had users come to us with half-destroyed websites that they’ve tried to clean themselves, failed, and now are in desperate straits, trying to save whatever is left. We can do our best, but we can’t magic back their lost data for them—a situation that could have been avoided with some timely action.  <पी> The only reason we are reiterating this so many times is that we genuinely care about our users, and feel terrible every time we have to tell them that their data cannot be retrieved.  <पी> To recap, here are the things that can go wrong with manual WordPress hack removal:

  • Malware can spread into unexpected places, and is difficult to find. If you clean only some of it, the rest will soon reinfect your website again. 
  • Removing just the malware is not good enough if the vulnerability and/or backdoor isn’t found and resolved
  • You have to know what each file does and how it interacts with others, otherwise, you could inadvertently break your website 
  • Large sites (like e-commerce stores) will take ages to go through, file by file. It’s like looking for a needle in a haystack.
  • And last by not least, hacks cause increasingly more damage as time wears on

Don’t fix a hack with a backup

<पी> In spite of being huge advocates of backups, we do not recommend reverting your website to a previous version. There are several reasons for this: 

  • You will lose all the changes you made in between
  • The backup shouldn’t have the malware either, and unless you have a precise idea of when your website had malware, this is hard to ascertain
  • The backup will have the vulnerabilities that led to the malware infection in the first place
<पी> The only time you should consider using a backup as a starting point is if the malware has destroyed your website and data beyond retrieval. We genuinely hope that it doesn’t ever reach that stage, and installing a good security plugin will save you from these issues in the future.

Symptoms of a hacked WordPress website 

<पी> Each hack is architected differently and therefore manifests in different ways. A spam link injection hack will not be the same as a remote code execution hack. So you will not see all of the symptoms below, but might come across one or two.

1. Visible spam in Google search results

<पी> You have spent time and energy working on SEO, so that your website ranks in keyword searches. These symptoms are particularly painful, because they are often hidden from site admin but visible to visitors—thus creating a very poor impression you have no idea about. 
  • Junk meta titles and descriptions: Titles and descriptions in the search results are supposed to be indicators of what the page contains. Hackers will inject spam pages on your site, which Google will then index and show in the search results. Pages will show up here as either Japanese characters, unrelated strings of keywords or junk values. 
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका
  • Results for pages you didn’t create, but are on your website: This is an especially trippy sensation, because if someone searches for a ranking keyword, your website will display these extra and unexpected pages in the results. Search results will show up 1000s of indexed pages, even if your site actually has less than 100. Those are indexed spam pages. 
  • Google ब्लैकलिस्ट: When a visitor clicks on your website from the search results, Google puts up a massive red warning advising the visitor that your website contains malware and is not safe. This is part of their Safe Browsing initiative, and other search engines use it to safeguard their users too. 
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका
  • ‘Site may be hacked’ notice: The lite version of the Google blacklist is to see a ‘Site may be hacked’ message underneath your website title in search results.
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका Site may be hacked notice on Google

2. Problems on your website

<पी> WordPress hacks can show up directly on your website, for everyone to see. These are usually because the hackers want to deface the website or perpetuate a social engineering attack, like phishing.

<पी> You may see these pages if you are logged in as an admin or user, but if you do see pages or posts you didn’t create, chances are they would look like one of these:  

  • Spam pages :Spam pages on your website are mostly the same ones that show up in the search results. Spam pages are inserted into ranked websites to create inbound links for other websites. The malware will also alter your sitemap to include these spam pages. This is a play for SEO, and boosts the ranking of the destination website as a result. 
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका
  • Spam pop-ups: These pop-ups try to trick users into either downloading malware or visiting another website. Pop-ups can be caused because of malware or even advertising that you have enabled on your website via an ad network. Ad networks have generally secure policies with respect to advertiser content, but the odd malware can still creep in unexpectedly. 
  • Automatic redirects to other websites: This symptom causes our users maximum stress, because not only do the posts and pages redirect, but sometimes even the wp-login page does as well. This means that they can’t even stay on their website long enough to see what’s wrong. Because of that, we have an entire article dedicated to automatic redirects and how to fix them.
  • Phishing pages: WordPress Phishing is a type of social engineering attack, which dupes people into willingly sharing their data by pretending to be a legitimate website or service, especially banks. Often, when seeing phishing pages on a customer website, we have noticed bank logo image files in the code. Phishing pages are often used in conjunction with emails that appear to be from a trusted entity. The hacker sends out emails, and adds links to the pages on your site, which allows them to collect personal information under the guise of a trusted communication, adding to the website’s spam email issues.
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका Phishing website
  • Partially broken pages: You might see code at the top or bottom of some of the pages on your website. At first glance, it may seem like a code error, and it can sometimes be a result of a malfunctioning plugin or theme. But it can also signal the presence of malware.
  • Errors when loading the site: You visit your website, and your browser goes blank. No error messages, nothing. There is nothing to interact with or fix, and therefore no clue as to what has gone wrong with the website. On some versions of WordPress, this can show up as a critical error.

3. Changes to the backend of your WordPress website

<पी> These changes are often missed by website admin, unless they are hypervigilant or have an activity log and a file change monitor active.

  • Alterations to your website’s code: Your WordPress website is built with code, so these changes can be in core WordPress files, plugins, or themes. Basically, the malware can be anywhere. Certain types of malware or virus are clever enough to delete traces of themselves, and others evade file change monitors by altering timestamps.
  • Unexpected changes to posts and pages or new pages altogether: Posts and pages are added, or changes are made to existing ones. Many customers reported seeing these changes, even though they were the only ones managing the website content. New pages are likely to show up in anything that indexes your website, including Google search results, analytics, and your sitemap. 
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका
  • Unexpected users with admin privileges: In some cases, website admins have received emails about new accounts being created on their websites. The accounts usually had gibberish names or email addresses, mostly both. They were alerted to this unusual activity because they had enabled a setting that alerted them about the creation of new accounts. Sometimes users with subscriber privileges have inexplicably been escalated to administrators.
  • Settings are changed: Each website is set up differently, of course, so this symptom will vary between websites. In some cases, users reported that the account creation setting changed, while others said their index.php file was different. Each time the admin tried to revert it to its original state, the settings were changed right back again. 
  • Fake plugins: A lot of malware is cleverly hidden in seemingly legitimate folders and files. Fake plugins mimic the style of real plugins, but have very few files in them or have strange names which don’t typically follow naming conventions. This is not a firm diagnostic, but it is a good rule of thumb for identification.
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका

4. Web host flags issues with your website

<पी> Your web host is especially invested in making sure your website is malware-free because malware on their servers causes them huge problems. Most good web hosts regularly scan websites, and inform users about malware on their sites.

  • Takes your website offline: If your web host has suspended your account or taken your website offline, this is the first sign something is wrong. Although web hosts will also suspend your website due to policy violations or unpaid bills, malware is a big reason for this move. Invariably, they will have reached out over email with their reasons. In case they have detected malware, it is good practice to ask for the list of hacked files that their scanner has detected, and request them to whitelist IPs, so that you can access your website to clean them.
  • Excessive server usage: In this case, you get an email from your web host saying that your website has exceeded or is approaching the plan limits. Again, this is not a conclusive symptom, because you could be seeing a spike in traffic due to other reasons too, like a campaign or promotion. Or perhaps there is a topical reason. However, bot attacks and hacks consume a ton of server resources, and so it is best to investigate, if you see an unexpected spike in server resource usage. You can corroborate these findings with traffic analytics.

5. Performance issues

<पी> Malware can cause a huge gamut of things to go bust within the website. As we said before, sometimes the symptoms are invisible, or not explicit, like a new page or new user.

<पी> Often, we see what look like harmless errors due to bad server or site performance, or even connectivity issues. To be clear, these could all well be innocuous, but they can also be a result of malware using up site resources.

  • Site becomes slow :Bots consume a lot of server resources. Increased spam pages and traffic use up request bandwidth. And the penalty is site performance. Sites that are very slow to load could have malware, because hackers do not optimise their code.
  • Site is inaccessible : Because server resources are used up, your visitors end up seeing a 503 or 504 error. However, there are other, legitimate ways a site can become inaccessible, like a geoblocking or changes to the .htaccess file.
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका

6. User experience issues

<पी> Admin are sometimes the last people to find out about hacks because hackers can hide symptoms from logged in users. However, the visitors still see symptoms, which is a terrible experience and has a negative impact on your brand.

<पी> In our experience, getting complaints from visitors is a good and bad thing, because at least you are now aware of issues and can solve them. The scary part is to have visitors experience issues and leave, and you are none the wiser.

<पी> If your visitors experience one or more of these symptoms, then there is definitely something amiss. 
  • Users can’t log into your website
  • Visitors get redirected from your website
  • Emails from the website go into spam folders
  • Visitors complain about seeing malware symptoms, like pop-ups or phishing pages

7. Unexpected behaviour in analytics

<पी> Analytics is a source of truth for many things, and signs of a malware infection just happen to be one of those things.

  • Search console flags security issues: Google Search Console scans your website frontend, much like a frontend scanner, and can find malware. You’ll see an alert on your dashboard, or see flagged pages in the Security Issues tab. 
हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका Security issues on Google Search Console
  • Increased traffic from certain countries: Increases in traffic can be a signal of malware, if they are unexpected. Google Analytics filters out most bot traffic anyway, but on occasion, users see spikes from particular countries. This symptom is generally more obvious to a locally relevant website.  
<पी> There is a small chance your website could be malfunctioning because of a botched update or server issue or even a coding error. However, if you see more than one of these, your website is most probably hacked.

<पी> Some key points to remember 
  • Hackers want malware to go undetected for as long as possible, so a lot of the symptoms are disguised from website admin and/or logged in users
  • Some may be visible all the time; some may happen occasionally/inconsistently
  • Some hacks are entirely invisible to everyone; depending on the malware
  • Some malware will only appear to Google and no one else

How your WordPress site got hacked

हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका <पी> We like to think that everything we use is 100% secure, but that’s unfortunately not true. It isn’t true of our homes, and certainly not the case with our websites. No software is completely bullet-proof, and every part of the website is essentially software:right from WordPress itself, to the plugins and themes. 

Vulnerabilities in plugins and themes

<पी> When code is written, developers can make oversights or mistakes. These mistakes are called vulnerabilities. Vulnerabilities are the single biggest reason why websites get hacked.  <पी> Of course, mistakes aren’t made deliberately. Vulnerabilities often just boil down to a developer writing code to accomplish one task, without realizing that a hacker can use the same code in an unintended way to gain unauthorized access to the website.

हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका <पी> A good example of this concerns the /wp-uploads folder. In the cleaning section, we mentioned that the /wp-uploads folder should never have PHP scripts. The reason being that the contents of the folder are publicly accessible via the URL and the name of the file.  <पी> Therefore, PHP scripts in the uploads folder would also be accessible, and as a result, remotely executable. Therefore the folder should have a check to ensure that the uploads are not PHP files. If someone does try to upload a script, it should be rejected.  <पी> To see a list of WordPress vulnerabilities, check out WPScan. And here is a complete guide on how to use WPScan to scan for vulnerabilities.

<पी> This example also brings up an interesting point. One could argue that the uploads folder should not be publicly accessible, so PHP scripts would not be accessible either. However, this interferes with the functionality of the folder and is not a good fix.  <पी> Similarly, we see a ton of poor security advice on the internet, which fixes a vulnerability without taking functionality into consideration. 

Undetected backdoors

<पी> A backdoor is very much what it sounds like:a way to gain unauthorized access without being detected. Even though backdoors are technically malware—code that has malicious intent—they are not actively damaging. They allow hackers to insert malware into the website.

<पी> This distinction is important because it is the primary reason WordPress websites get hacked again after cleanups. Cleanups are effective at getting rid of malware, but not addressing the entry point of the malware.  <पी> Security plugins will often flag backdoors by looking for certain functions. But there are 2 problems with this method:firstly, hackers have found ways to mask the functions effectively; and secondly, the functions are not always bad. They have legitimate uses too.

Poor user management policies

<पी> There is always an element of human error with hacks, and it mostly comes in the form of the misuse of admin accounts. As a website admin, there are a few things you should always keep top of mind when considering the security of your website.  <पी> Weak passwords <पी> Yes, we know passwords are hard to remember. Especially ones that are a mix of characters, and long enough to be considered ‘safe’. However, easier-to-remember passwords are a weak link to your website security. Even a security plugin cannot protect your website if a password has been compromised.  <पी> Think of your website like your home, where you’ve installed a state-of-the-art security system, like MalCare. If a thief were to learn your unique passcode to gain entry to your home, the security system wouldn’t be able to do anything.

<पी> Strong passwords are critically important for all accounts, but even more so for admin accounts, which brings us to our next point.  <पी> Unnecessary user privileges <पी> Users should only ever have enough privileges to accomplish what they need to on a website. A blog writer doesn’t need admin privileges to publish a post, for instance. It is very important to make sure to review these privileges regularly.  <पी> Additionally, if a website admin is vigilant about user account levels, an activity log is a great tool to have as well. The activity log lists all the actions performed by users on a website and can be a great early indicator of a compromised user account. If a user who usually writes posts suddenly installs a plugin out of the blue, it is a warning sign.  <पी> Old accounts are still active <पी> In addition to reviewing accounts, also remove unused user accounts regularly. If a user is no longer active on your website, there is no reason why their account should be. The reason is the same as before:user accounts can be compromised. Hackers can get hold of credentials and escalate their privileges to admin accounts. 

Unsecured communication

<पी> Apart from the actual website, communication to and from the website also needs to be secured. If communication is intercepted and is not secured, it can be read easily. So it should be encrypted. This can be easily accomplished by adding SSL to your website.

<पी> In fact, SSL is becoming the de facto standard of the internet. Google actively rewards the use of SSL, by punishing websites without it in the SERPs. Some websites show up in the search results as ‘Site not secure’, as part of their Safe Browsing initiative.  हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका <पी> On similar lines, it is always better to use SFTP instead of FTP, whenever possible. 

Web host issues

<पी> In our experience, web hosts are rarely responsible for hacks. Most hosts implement loads of security measures to make sure that the websites they host are secure.

<पी> For instance, people often think that their websites have got malware because they are on shared hosting plans. This is a misconception most of the time, because hosts implement barriers between sites. The real cause of cross-site infections is when there are multiple WordPress installations on a single cPanel instance.

Is WordPress prone to hacks?

<पी> Yes and No. 

<पी> The immense popularity of WordPress means that it attracts a lot more hackers to it. Very simply, there is a larger payoff for hackers if they are able to discover and exploit a vulnerability in the ecosystem.  <पी> Additionally, WordPress-related vulnerabilities get a lot more attention, again because of its popularity. Similar instances with, say Joomla, would not merit as much discussion.  <पी> In actual fact, WordPress has solved many of the problems that still exist with other CMS. It also has a terrific community and ecosystem as well. Help and support is easily available, even for niche and specific issues that a website admin may face.

Understanding WordPress hacks

<पी> If you have a security plugin like MalCare installed, you don’t need to worry about hacks. We constantly upgrade the plugin to counteract new attacks, in order to protect websites better. However, it is interesting to understand how hacks work, so that you can see just how critical a good security plugin is. There are two parts to the hacking process:

  • Hack mechanisms: How malware is inserted into the websites by either exploiting vulnerabilities or attacking the website. 
  • Types of malware: How the malware manifests itself on your website. There are a few ways that malware shows up on your website, but ultimately the hacker’s goal is to get unauthorised access to perform otherwise prohibited activities. We’ve expanded on why WordPress sites get hacked in a later section. 

Hack mechanisms

<पी> Previously in the article, we have talked about how websites get hacked. Either through vulnerabilities or backdoors, or sometimes poor passwords. These are flaws within the security of the website and are akin to weak points of a structure.  <पी> Hack mechanisms are the weapons used to attack those weak points. Their goal is to insert malware into the website. They are bots or programs that target weak points in specific ways to achieve their goal. There are several hack mechanisms, especially since hackers are getting smarter every day about circumventing the security systems of websites.

  • SQL injection: SQL is a programming language used to interact with database systems, in order to write, read or manipulate data. Websites interact with the database all the time, to save form data for instance, or to authenticate users. An SQL injection attack uses SQL to insert php scripts into the database. <पी> The injection is only possible if the form is not adequately protected from incorrect inputs. The hacker can use operators and programming logic to circumvent the functionality of a form, unless checks are put in place.

  • Cross-site scripting (XSS): Cross-site scripting(XSS) is also the injection of code, like with SQL injection, but into the browser. The next user to access the website or otherwise interact with the page in question becomes the target of this attack. <पी> Again, form fields are duped by hackers into accepting code like JavaScript and executing those scripts without validation. 
  • Distributed denial of service (DDoS): In a DDoS attack, hackers flood a website or system with so much malicious traffic that legitimate users cannot access it. The attack works because resources are limited or metered. <पी> For instance, a website using server resources will be on a plan for processing power and request handling. If the website is bombarded with 100x or even 1000x requests compared to what it normally receives, the server will not be unable to handle those requests and visitors will see an error.

  • Brute force attacks: This type of attack usually targets login pages, trying out combinations of usernames and passwords in order to gain access to the website. The hack mechanism is a bot, and will try out passwords, using words from a dictionary. A brute force attack also consumes server resources, and so will often end up keeping out genuine users and visitors. <पी> On many WordPress support threads, you will see advice to hide the login page to protect from this attack. This is an unwise thing to do, because the URL can be forgotten, it is tricky to distribute this URL to multiple users for login, and many more problems. It is best to have bot protection in place that keeps out this bad bot traffic.

Types of malware

<पी> The malware types we have listed appear to mirror symptoms closely. That’s because most malware has been named for the symptoms that each display. If you were to drill down into the malware, they aren’t all that different in construction or purpose.  <पी> All malware is out to use your website in some way or the other:use up its resources, steal data, piggyback on your SEO rankings, etc. The most commonly seen malware are: 

  • Pharma hack: Your website will have new pages or posts filled with keywords or links to sell pharmaceutical products, often grey market or illegal. These products are difficult to rank for on Google because of legality issues, and hence to get more traffic and sales, hackers insert these pages into unsuspecting websites. <पी> To detect a pharma hack on your website, you can try Googling pharma keywords like ‘viagra’ or ‘CBD’ with the search operator site:. It will list out all the pages on your website with that keyword.

  • Japanese keyword hack: The Japanese keyword hack is a variation of the pharma hack, and indeed of the next malware on this list, the SEO Spam hack. The only difference is that instead of pharmaceutical products, the malware will display Japanese content; often, unsavoury adult content. <पी> It is a little harder to check for this hack, unless you are familiar with Japanese and can look for keywords. <मजबूत>
  • SEO spam hack: The SEO spam hack, as said before, is a variation on the first two. The content differs. Here, the spam content can include online gambling and casinos, or even chinese search results spam. This is effectively a catchall term for all hacks that insert extra pages into your website, but don’t fall into one of the special categories. 
  • Redirects: Malicious redirects take place when a visitor to your website is taken to an entirely different website, usually a spammy one. There are a few variations of the redirect hack, depending on where it appears. <पी> The most egregious aspect of the redirect hack is that website admin cannot log into their websites. Therefore, they cannot control the damage or even fix their website without expert help. 
<पी> Examples of hack scripts, we’ve found in websites:

हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका <पी> It is difficult to protect against all the hack mechanisms, which is why installing a security plugin is very critical. MalCare’s sophisticated algorithm combats malware effectively, in addition to protecting websites against hack mechanisms.  <पी> Recommended read :Coinhive malware, wp-feed.php malware

Consequences of a hacked site 

<पी> The impact of a hacked WordPress website can be wide-ranging in bad consequences. The importance of web security cannot be sufficiently overestimated because of this reason. Website admins without exposure to cybersecurity may read about the occasional hack, but the full potential impact is not always evident.

<पी> Therefore, it is critical to understand the impact in its entirety. The poor consequences are not confined to individual websites or their owners and administrators but have far-reaching implications. 

Immediate impact on your website

<पी> If your WordPress website is hacked, there are chances you won’t even realise it for a while. Rest assured, whether or not you can see a hack, the damage is unfolding and getting worse as time wears on.  <पी> Let’s say one of the ways the hack manifests is through malvertising; a very common sign with spammy ads or pages that redirect your website visitors to another website (usually a pharma site or one peddling illegal stuff). This has several implications: 

  • Google blacklist: Google is hyper-vigilant about hacked websites, because they do not want to send their users (search engine users) to dangerous websites. With malware, your website is now dangerous. So they will put up a massive, scary red notice advising visitors to stay far away from your website. <पी> Additionally, other search engines and browsers use this same blacklist to protect their own users. So even if your site doesn’t get flagged with the red screen, most browsers will warn your visitors away with messages.

हैक के बाद अपनी वर्डप्रेस साइट को पूरी तरह से पुनर्स्थापित करें:चरण-दर-चरण सुधार, साफ़ और सुरक्षित मार्गदर्शिका
  • SEO rankings will tank: As a result of fewer visitors and Google’s policy of protecting people, your website will stop showing up in results. Google calls this “hiding sites silently”. Not only are you going to lose ground you may have gained with an SEO strategy, but you will also lose visitors and discoverability.
  • Loss of trust and visitors: Most people will see spam content as a sign of a hack and know that your website is unsafe. If you are fortunate, someone will point it out. If not, your traffic numbers will decline.
  • Web host issues :Web hosts will quickly suspend websites that are hacked. If your website is hacked, your web host will face a lot of the heat, and will take hacked websites offline as soon as they are discovered to be hacked. <पी> A web host risks their IPs getting blacklisted with a hacked site. If your website is used for phishing attacks, and firewalls identify your website as the source, that means your IP address can be blacklisted, which will cause the host several issues.

    <पी> Also, a hacked website will often consume lots of server resources, and if your website is on shared hosting, that will adversely affect the performance of other websites, which are other customers of the web host. The problem becomes worse if there are bots attacking your website. Bots pummel your website with thousands and thousands of requests that consume tons of resources.

  • Unwitting pawn: Your website becomes a host for malware; part of a botnet that goes on to attack more websites.

Business impact

<पी> The impact of the previous section applies to all websites, large and small. The consequences are worse if your website is central to your business. Because then we are talking straight up the monetary loss. 
  • Loss of revenue: Downtime, poor SEO rankings, visitor numbers reducing are all contributing factors to loss in revenue. If people can’t or won’t visit your website, you aren’t going to get business that way.
  • Degraded branding: Trust is a huge commodity in online marketing, and hacks erode that trust. You may have had a competitive advantage in some cases. That too will be affected. Also, data breaches leave a stain on reputation. Some businesses handle the aftermath well, but the seed of doubt may be planted forever. Since things last forever on the Internet, a quick, intentional Google search will bring up hacks. It will become a point of consideration for any potential customer.
  • Server resources: We mentioned this in the previous section, but it bears mention from a monetary angle as well. Web hosts charge for excessive resource consumption. If your hacked website goes undetected for a while, you could also be paying for this fraudulent usage. Plus, if you are subject to bot attacks, the rapid depletion of (finite and allocated) server resources means that legitimate users will not be able to access your website.
  • Investment: You’ve spent time, money, and manpower to build this website. If you lose the website, you’ve lost that investment.
  • Legal issues: Data breaches of private information can cause you legal issues because of stringent data protection regulations. It is very important that websites that collect personal data from visitors treat that data with the utmost care. If it is compromised in any way, those people have grounds for legal action.
  • Cleaning cost: Hack removal is an expensive proposition, especially if you hire experts who actually know what they are doing. <पी> Apart from that, we often encounter website admin who try cleaning malware out by themselves, and cause their website to break. Then, in panic, they seek out expert help. Again, data retrieval is an expensive undertaking. 

Dangerous for people

<पी> Social engineering attacks, like phishing, have compounded impact. They are bad for the website and website admin being attacked, but also have terrible consequences for their users and visitors.  <पी> Credentials can be used to hack into other websites. Hackers can use aggregated information from websites to create personal profiles that can be used to hack into bank accounts and other restricted areas. People also tend to use the same passwords in multiple places, making them especially vulnerable in these situations.  <पी> While all data theft is bad, it takes a tragic turn with the theft and release of information of vulnerable people, like those in witness protection programs or on the run from abusers. This information sells on the dark web, a particularly ugly place.

Why WordPress websites get hacked

<पी> All websites have value, whether large or small, business or personal. Many website owners of small blogs often have a false sense of security because they feel their website is “too small” to be hacked.  <पी> This is not true at all. While bigger websites will have a bigger payoff for hackers in terms of data theft for instance, smaller sites have value of their own. They can be used as a part of a botnet, for example. Or a site may have a small, dedicated following, which can be tapped for phishing scams via their email addresses.  <पी> Because people tend to use the same passwords for different accounts, it is theoretically possible to now hack into another site or system using this information. The small website played a small but crucial role in this chain of events.  <पी> Finally, hacking is always worth the effort. Hacks are rarely carried out manually. Malware, bots specifically, are designed to automate the hacking process. So there is minimal “effort” on the hacker’s front. Thus the gains of hacking your site are disproportionately stacked on the side of hackers. 

निष्कर्ष

<पी> In order to protect your website, it is important to be well-informed about WordPress security and hacks. In this article, we have attempted to explain WordPress hacks, motivations, impact, and much more, so you can make an informed decision about your website’s security.  <पी> We recommend MalCare to fix hacked WordPress website because it is a complete security solution, and is only getting better with time. We protect 1000s of websites daily, with our advanced firewall, scanning and cleaning algorithm, and much more. MalCare has found malware that most other scanners miss, and has saved our customers untold amounts in revenue.  <पी> We would love to hear from you. Reach out to us via email for any questions, and we’re happy to help.

अक्सर पूछे जाने वाले प्रश्न

<पी> How do WordPress sites get hacked? <पी> Primarily, WordPress websites get hacked or keep getting hacked because of vulnerabilities in the core WordPress files, plugins, or themes. Hackers exploit these vulnerabilities to insert malware into the website. The second biggest reason that websites get hacked is because of poor or insecure passwords.  <पी> My WordPress site has been hacked, what to do? <पी> If your WordPress site is seriously compromised, there are steps you can take to fix the hack: 

  1. Scan your website for malware using MalCare
  2. Take a backup of your hacked WordPress site before cleanup
  3. Use a security plugin to clean up hacked WordPress site
  4. Install a web application firewall
  5. Change all user passwords
<पी> What are the symptoms of malware on your website? <पी> Malware is misleading and it can hide from you because that’s how it is designed. So it is difficult to determine if you have malware on your website. But there are some symptoms that you can keep an eye out for. Here are a few symptoms to look out for, which can be an indicator of malware on your website:

  • Spam in Google search results
  • Problems on your website
  • Backend changes to website
  • Web host issues
  • Performance issues
  • User experience issues
  • Changes in analytics patterns
<पी> How to scan a WordPress website for malware? <पी> There are three ways in which you can scan your website for hacks. Each of these ways has its pros and cons:

  1. Deep scan with a security scanner
  2. Scan using an online scanner
  3. Scan for malware manually
<पी> We recommend that you scan using a security scanner such as MalCare, as MalCare is built specifically to look out for hidden malware that is not easy to find with other methods.

<पी> How to clean your hacked WordPress website? <पी> There are different ways to clean your website, but we strongly recommend using a good security plugin like MalCare. MalCare allows you to auto clean your website within minutes and does not charge you per clean-up. It will also protect your website from future hacks.

<पी> Alternatively, you can manually clean your site. However, unless you are a security expert, we do not recommend manual cleaning as it could lead to more problems than you already have.

<पी> Will having multiple security plugins protect my site from hacks? <पी> There is a common misconception that installing several security plugins makes your website safer, presumably because whatever one plugin misses, the other one will catch. There are two problems with this theory:firstly, that’s not actually the case. New and sophisticated malware will slip through bad security plugins; and secondly, by adding multiple security plugins, you’re effectively weighing down your website so much, it will impact its performance dramatically.


  1. जावा कंपाइलर्स:एक चरण-दर-चरण मार्गदर्शिका जावा कंपाइलर्स:एक चरण-दर-चरण मार्गदर्शिका

    पांच से दस साल पहले, जावा सीखना उतना सुलभ नहीं था जितना अब है। उस समय, आपको एक जावा डेवलपमेंट किट (JDK) डाउनलोड करनी होती थी जिसमें आपकी मशीन पर चलने के लिए कंपाइलर और दुभाषिया होता था। अब हमारे लिए ढेर सारे जावा कम्पाइलर मुफ्त में ऑनलाइन उपलब्ध हैं। इस लेख में, हम इस बारे में थोड़ी बात करेंगे कि जा

  1. MySQL पुनरावर्ती CTE में महारत हासिल करना:पदानुक्रमों का पता लगाना और श्रृंखला बनाना MySQL पुनरावर्ती CTE में महारत हासिल करना:पदानुक्रमों का पता लगाना और श्रृंखला बनाना

    एक रिकर्सिव सीटीई (कॉमन टेबल एक्सप्रेशन) एक सबक्वेरी है जो अपने नाम का उपयोग करके खुद को संदर्भित करता है। इसे WITH RECURSIVE का उपयोग करके परिभाषित किया गया है और एक समाप्ति शर्त होनी चाहिए। पुनरावर्ती CTE श्रृंखला उत्पन्न करने, पदानुक्रमित डेटा को पार करने और ग्राफ़ ट्रैवर्सल के लिए उपयोगी हैं। सि

  1. पायथन के साथ ओपनसीवी का उपयोग करके एक विशिष्ट रंग (यहां नीला) का पता लगाना? पायथन के साथ ओपनसीवी का उपयोग करके एक विशिष्ट रंग (यहां नीला) का पता लगाना?

    कई लोगों के लिए, इमेज प्रोसेसिंग एक डरावना और कठिन काम लग सकता है लेकिन यह उतना कठिन नहीं है जितना कि कई लोगों ने सोचा था। इस ट्यूटोरियल में हम python के साथ openCv में बेसिक कलर डिटेक्शन कर रहे हैं। कंप्यूटर पर रंग कैसे काम करता है? हम कंप्यूटर पर कलर-स्पेस या कलर मॉडल द्वारा रंगों का प्रतिनिधित्व