• 12-08-2013, 16:19:55
    #1
    Merhaba arkadaşlar . Bazen ücretsiz tema vb indiriyoruz. Bunların içine shell atılıp atılmadığını nasıl anlarız. Sonuçta iyi niyetli olmayan bir ton insan vardır. Bir hevesle sunucuya yükleyip büyük zararlar yaşamamak için. Program ile vb kontrol edilebilir mi ? En basit yöntemi nedir ?
  • 12-08-2013, 16:22:20
    #2
    Shell dosyaları boyutu büyük dosyalardır burdan anlatabilirsiniz veya virüs taraması işinizi görür
  • 12-08-2013, 16:23:08
    #3
    genelde temaları shell le caldıkları ıcın muahakkak oluyo ıcınde
  • 12-08-2013, 16:26:18
    #4
    BySpy adlı üyeden alıntı: mesajı görüntüle
    genelde temaları shell le caldıkları ıcın muahakkak oluyo ıcınde
    Çalıntı olmasa bile hayrına gibi tema yapıp paylaşanlarda oluyor. Yabancı sitelerden bir sürü wp tema css tema falan indiriyoruz ama ben yüklemeye korkuyorum
  • 12-08-2013, 16:28:22
    #5
    Kimlik doğrulama veya yönetimden onay bekliyor.
    # cd /usr/local/src
    # wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
    # tar -zxvf maldetect-current.tar.gz
    # cd maldetect-1.4.1
    # ./install.sh
    Ayrıntılı inceleyebilirsin.

    http://forum.directadmin.com/showthread.php?t=42393

    http://www.rootkit.nl/projects/rootkit_hunter.html

    rkhunter'ıda kur.

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 16:28:22 -->-> Daha önceki mesaj 16:26:49 --

    Ayrıca ,

    #!/usr/bin/perl -w
    # findshell v1.0 == code taken/modified from traps.darkmindz.com
    #usage: ./findshell.pl <sensitivity 1-50> <directory to scan>
    use strict;
    use File::Find;
    my $sens = shift  || 10;
    my $folder = shift || './';
    find(\&backdoor, "$folder");
    sub backdoor {
        if ((/\.(php|txt)/)){
           open (my $IN,"<$_") || die "can not open datei $File::Find::name: $!";
           my @file =  <$IN>;
           #maybe evil stuffs
           my $score = grep (/function_exists\(|phpinfo\(|safe_?mode|shell_exec\(|popen\(|passthru\(|system\(|myshellexec\(|exec\(|getpwuid\(|getgrgid  \(|fileperms\(/i,@file);
           #probably evil stuffs
           my $tempscore = grep(/\`\$\_(post|request|get).{0,20}\`|(include|require|eval|system|passthru|shell_exec).{0,10}\$\_(post|request|get)|eval.{0,10}base64_decode|back_connect|backdoor|r57|PHPJackal|PhpSpy|GiX|Fx29SheLL|w4ck1ng|milw0rm|PhpShell|k1r4|FeeLCoMz|FaTaLisTiCz|Ve_cENxShell|UnixOn|C99madShell|Spamfordz|Locus7s|c100|c99|x2300|cgitelnet|webadmin|cybershell|STUNSHELL|Pr!v8|PHPShell|KaMeLeOn|S4T|oRb|tryag|sniper|noexecshell|\/etc\/passwd|revengans/i, @file);
           $score +=  50 *  $tempscore;
           print "$score - Possible backdoor : $File::Find::name\n" if ($score > $sens-1 );
           close $IN;
      }elsif((/\.(jpg|jpeg|gif|png|tar|zip|gz|rar|pdf)/)){
           open (my $IN,"<$_") || (print "can not open datei $File::Find::name: $!" && next);
           print "5000 - Possible backdoor (php in non-php file): $File::Find::name\n" if grep /(\<\?php|include(\ |\())/i, <$IN>;
           close $IN;
      }
    }

    Usage

    perl findshell.pl 10 /srv/www/htdocs > scanout.txt
    sort scanout.txt

    GOT MEMORY LIMIT USE FOLLOWING

    for i in /srv/www/htdocs/ ; do perl findshell.pl 10 $i >> scanout.txt ; done

    da deneyebilirsin.

    Hariçlerinde

    The ClamAV de etkilidir.

    ekstra

    echo -e "Please check \n" "`locate SnIpEr_SA sniper_sa c99shell r57shell crazy.pl tryag myshell msshell phpshell vbspy JaheeM mpownz ManTiLa indoirc.net NOGROD Bhlynx rfiScan x2300 g00nshell Bigdoz Indoserv Faskalis Indohacker pLuR HacKed AnakDompu cHApoenk Shellbot r3v3ng4ns MaXiMiZeR milw0rm n3oom3 rohitab w4ck1ng PHP-Proxy Locus7s cgitelnet.pl ccteam UNITX_TEAM soqor SpIdEr dark.cgi`" | mail -s "scaning shell hack at `hostname -s` date `date`" yourmail@domain.tld
    pratiktir
  • 12-08-2013, 16:30:43
    #6
    JustRulz adlı üyeden alıntı: mesajı görüntüle
    # cd /usr/local/src
    # wget http://www.rfxn.com/downloads/maldetect-current.tar.gz
    # tar -zxvf maldetect-current.tar.gz
    # cd maldetect-1.4.1
    # ./install.sh
    Ayrıntılı inceleyebilirsin.

    http://forum.directadmin.com/showthread.php?t=42393

    http://www.rootkit.nl/projects/rootkit_hunter.html

    rkhunter'ıda kur.

    --R10.NET; Flood Engellendi -->-> Yeni yazılan mesaj 16:28:22 -->-> Daha önceki mesaj 16:26:49 --

    Ayrıca ,

    #!/usr/bin/perl -w
    # findshell v1.0 == code taken/modified from traps.darkmindz.com
    #usage: ./findshell.pl <sensitivity 1-50> <directory to scan>
    use strict;
    use File::Find;
    my $sens = shift  || 10;
    my $folder = shift || './';
    find(\&backdoor, "$folder");
    sub backdoor {
        if ((/\.(php|txt)/)){
           open (my $IN,"<$_") || die "can not open datei $File::Find::name: $!";
           my @file =  <$IN>;
           #maybe evil stuffs
           my $score = grep (/function_exists\(|phpinfo\(|safe_?mode|shell_exec\(|popen\(|passthru\(|system\(|myshellexec\(|exec\(|getpwuid\(|getgrgid  \(|fileperms\(/i,@file);
           #probably evil stuffs
           my $tempscore = grep(/\`\$\_(post|request|get).{0,20}\`|(include|require|eval|system|passthru|shell_exec).{0,10}\$\_(post|request|get)|eval.{0,10}base64_decode|back_connect|backdoor|r57|PHPJackal|PhpSpy|GiX|Fx29SheLL|w4ck1ng|milw0rm|PhpShell|k1r4|FeeLCoMz|FaTaLisTiCz|Ve_cENxShell|UnixOn|C99madShell|Spamfordz|Locus7s|c100|c99|x2300|cgitelnet|webadmin|cybershell|STUNSHELL|Pr!v8|PHPShell|KaMeLeOn|S4T|oRb|tryag|sniper|noexecshell|\/etc\/passwd|revengans/i, @file);
           $score +=  50 *  $tempscore;
           print "$score - Possible backdoor : $File::Find::name\n" if ($score > $sens-1 );
           close $IN;
      }elsif((/\.(jpg|jpeg|gif|png|tar|zip|gz|rar|pdf)/)){
           open (my $IN,"<$_") || (print "can not open datei $File::Find::name: $!" && next);
           print "5000 - Possible backdoor (php in non-php file): $File::Find::name\n" if grep /(\<\?php|include(\ |\())/i, <$IN>;
           close $IN;
      }
    }

    Usage

    perl findshell.pl 10 /srv/www/htdocs > scanout.txt
    sort scanout.txt

    GOT MEMORY LIMIT USE FOLLOWING

    for i in /srv/www/htdocs/ ; do perl findshell.pl 10 $i >> scanout.txt ; done

    da deneyebilirsin.
    Çok teşekkürler inceleyim bunları
  • 12-08-2013, 16:31:46
    #7
    akon adlı üyeden alıntı: mesajı görüntüle
    Çok teşekkürler inceleyim bunları
    yenilendim eklediklerimi sende sayfayı yenile öyle bakarsan daha iyi olur.