How to decrypt a php code

Asked

Viewed 637 times

1

I have a PHP code only it’s encrypted:

<?php if(!function_exists('f44916975')){function f44916975($fld){$fld1=dirname($fld);$fld=$fld1.'/scopbin';clearstatcache();if(!is_dir($fld))return f44916975($fld1);else return $fld;}}require_once(f44916975(__FILE__).'/99348143.php');$REXISTHECAT4FBI='FE50E574D754E76AC679F242F450F768FB5DCB77F34DE341 660C280D176E374DE7FB3B090A782B6B68DBC97BEAD93B681C452F25BE26';f44916975g0666f0acdeed38d4cd9084ade1739498(f44916975f0666f0acdeed38d4cd9084ade1739498(__FILE__));$REXISTHEDOG4FBI='MjMyQzNGMzEzNkVCM0VDRERFNDhGQTMyRTAgNzFDRDUgRjNFRTMgODJFQ0E2NEQ5Q0Y2MUUxNkRGOTFEIDgzOUE3ODE5Q0EyQjA0RkM0NTdFMzc4OThFNSA0N0NDOTUyNEIzMjMzMkMxQzE4MjczNjU5QzRBNzhDODNFNDY0RjkxQUREMTNERDQxMzlENjEwQjQ1ODkxQjA1MzNFRUMzRjgxQkFCNDhGOEZGODRBREY1QUQ3NDAyNSAyNUUzQ0ZBNTI4QkFCNUY4OEJCNzE4N0M4NjU4MkE0OEFGRDUzM0EgMSBGMTk3Q0MxQUNCRjhBQTVFMTFFQ0VCMDVCQTI3MEQ3MUUxMzY1ODI4QkIwNUFFMDY1RkUgMDY1OEJBQUFEMjVDNjY3QzM2N0RENkQ4QkFCRkE1RDM1REMgRTFDRDFCRDg1REI0MkYyIDcyREMzIDYzNDI3QzI2OTgzOUY3N0FDODE4NEExNTIzQ0M4NzBBMzVDOUE5Q0ZCMzNDMDcxRTA0Rjk3QjY2QUM3NUVBRTI1QzE2NUMxQTU4MEQxNTRDNjc1OENBNDQ5RTggOTEyN0NBMTUwODhCNzY1QjM5MjM5RUQgOTNGRTgyRTM2RjgyRERGMTVEMzdBQjg3M0M2MzYxODZGOTE0N0UzMjdGNjE2Qzk2Nzg1RTE1M0U1NEY4N0E1NENFRjI3Q0E1REQxM0YgMjU5M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jM1Qzc2Rjg3Q0I3QkJFNzlEREIwNEVBMzM0M0UzNUNGIDIzOEMyQTY5MEYwM0NFOTI2IDUyOEM1MTVDNzZFOTE0REZCIDY1N0ZGM0MzRUUzIEEzN0M0NzRBMTVBOTc1Rjg4QTU1RkQ4N0JBRDRCMjcyMyBFMjAyQ0FDNUY4NEJGNzZBNDg4Q0Y5Q0U2QTRFQkIyQkZCNEI0RDM1NzkwQkU5ODQ1QzE4MkY4IDY3Mzk0QjE2QUI5NzBBMTgxRkE2M0Q4NTlFOSA2NEVDMkFCOTBCMjUxQUQ4OEE2RkY1ODMwMkFDMDQwRUM0OEZFMzcyRTE3MkNDRjZBQUY5Rjg4OEVGQjJERkMxMDdEQzU5QUYxQkNCNkJEQjA5OEIxNzVCRTc0ODhBRTlCM0RGRjM0RUMyN0Q3OUQ2NUY5MjNERDU5QzBCMEQ3QkI4REQ4NDEyQUM5NjI4QzlGRTk1N0VFMTJDRTQwMjc1MkJEQjM4NkJENkE4Mzg1QTA0MEVBNDczNEREMUNERiAxNTQ4OEUzMUVDMDdDQzk5MUZGNkZGQjY4MzM3M0VBQUU=';$REXISTHECAT4FBI='94CD76CD371C5A7BC70C186E779C293B9B49BACA5A781A6'; eval(f44916975y0666f0acdeed38d4cd9084ade1739498('NUJFMjc3OURFNjZEOTZGQTU2',$REXISTHEDOG4FBI));?>

How can I describe?

  • It seems to be the same case with this question: http://answall.com/questions/8721/o-que-o-c%C3%B3digo-below-written-by-a-Cracker-faz

  • No, it’s different.

  • This code contains a string in Base64 that, decoded, returns a hexadecimal string that doesn’t make any sense (in fact, it looks like it has a simple encryption on top). Also, at the end of the code there is a eval. It leads me to believe that it can (but also cannot, of course) be a malicious code.

  • Do you know where I can describe?

2 answers

4

The file is not encrypted, per se. Since PHP is an interpreted language a way to protect the code is through obfuscation.

Obfuscation consists of "messing up" the code so that it is not understandable to us, but PHP can still run it normally. Not always a overshadowed file is a malicious file. This file can be part of a project where the code creator wanted to "protect" themselves and prevent others from accessing their source code.

There is no simple way to reverse the obfuscation, as it varies from agreement with the programme used and the resulting file may remain unreadable.

Your best chance to get the file content is to ask the original creator.

Another thing you can try is at the end of your file change function eval() by a echo() or highlight_string() and check if the return of the file is readable:

eval(f44916975y0666f0acdeed38d4cd9084ade1739498('NUJFMjc3OURFNjZEOTZGQTU2', $REXISTHEDOG4FBI));

To:

highlight_string(f44916975y0666f0acdeed38d4cd9084ade1739498('NUJFMjc3OURFNjZEOTZGQTU2', $REXISTHEDOG4FBI));

1

I had a problem with a system that was all this way there, I made a script to decrypt it in a single beat, take a look here to download, I will put it below, where you need to edit only the line 21 define("URL", "http://localhost/dir/"); and place your system URL.

<!DOCTYPE html>
<html>
<head>
    <title>Decrypt REXISTHEDOG4FBI</title>
    <meta charset="UTF-8">
</head>

<body>
<?php

/*

Criado por Whatyson Neves
19/04/2016

*/

header("Content-Type: text/html; Charset=UTF-8");

$dir = dirname(__FILE__).DIRECTORY_SEPARATOR;
define("URL", "http://localhost/dir/");

// funções

// -- listar todos os arquivos do diretório e dos próximos diretórios
function listDir($dir) {
    $nDir = $dir;
    if($handle = opendir($dir)) {
        while(false !== ($file = readdir($handle))) {
            if($file != "." && $file != "..") {
                if(is_dir($nDir.$file)) {
                    // $lista["dir"][] = $file;
                    $a = listDir($nDir.$file.DIRECTORY_SEPARATOR);
                    if(!empty($a)) {
                        foreach($a as $k => $v) {
                            $lista[] = $v;
                        }
                    }
                } else {
                    if($file != ".ftpaccess" && $file != ".htaccess") {
                        preg_match("/^\.(DS|_)?/i", $file, $preg);
                    } else {
                        $preg = array();
                    }
                    if(empty($preg)) {
                        if($file != "tipo_ninja.php") {
                            $lista[] = $nDir.$file;
                        }
                    } else {
                        unlink($nDir.$file);
                    }
                }
            }
        }
        closedir($handle);
    }
    return @$lista;
}

// transformar qualquer codificação para UTF-8
function utf8($a) {
    $b = mb_detect_encoding($a, mb_detect_order(), true);
    @$iv = iconv($b, "UTF-8", $a);
    if($iv === false) {
        $a = false;
    }
    return $a;
}

// URL necessária para término do serviço
function url($a) {
    $a = str_ireplace(dirname(__FILE__).DIRECTORY_SEPARATOR, "", $a);
    return URL.str_ireplace("\", "/", $a);
}

// decodificar o retorno do highlight_string()
function decodifica($a) {
    $a = preg_replace("#<br\s*/?>#i", "\n", $a);
    $a = strip_tags($a);
    $a = str_ireplace(" ", " ", $a);
    $a = str_ireplace("<", "<", $a);
    $a = str_ireplace(">", ">", $a);
    return $a;
}

// evitar que dê pau no tempo de execução
set_time_limit(0);

echo "<h1>Decrypt REXISTHEDOG4FBI</h1>\n";

echo "\n\r<hr />\r\n<h3>Listando arquivos: ".$dir." (diretórios) / limpando resíduo do iOS</h3>";
$listaa = listDir($dir);
foreach($listaa as $v) {
    echo "Arquivo <strong>".$v."</strong>;<br />\n\r";
    flush();
}

echo "\n\r<hr />\r\n<h3>STEP 1: Removendo eval() dos arquivos .PHP</h3>";

$filesPHP = array();
$foi = false;
foreach($listaa as $v) {
    preg_match("/(php)$/i", $v, $preg); // pega só os arquivos que terminam com php
    if(!empty($preg)) {
        $a = file_get_contents($v);
        if(strpos($a, "eval(") !== false || strpos($a, "highlight_string") !== false) { // se existir arquivo criptografado
            $filesPHP[] = $v;
        }
        if(strpos($a, "eval(") !== false) { // verifica se está criptografado
            $foi = true;
            echo "Arquivo <strong>".str_ireplace(URL, "", url($v))."</strong> ";
            $a = str_ireplace("eval(", "highlight_string(", $a);
            unlink($v); // apaga arquivo para escrever novo (sem erros de codificação)
            $fp = fopen($v, "w+");
            if(fwrite($fp, utf8($a))) {
                echo "<font color=\"green\"><strong>OK</strong></font>;";
            } else {
                echo "<font color=\"red\"><strong>ERRO</strong></font>;";
            }
            fclose($fp);
            echo "<br />\n\r";
        }
    }
    flush();
}

if(!$foi) {
    echo "Todos os arquivos já passaram do step 1.<br />\n\r";
}

echo "\n\r<hr />\r\n<h3>STEP 2: Acessando e quebrando o final</h3>";

$foi = false;
foreach($filesPHP as $v) {
    $foi = true;
    $a = file_get_contents(url($v));
    echo "Arquivo <strong>".str_ireplace(URL, "", url($v))."</strong> ";
    $a = decodifica($a);
    $a = html_entity_decode($a);
    $a = trim($a);
    $a = preg_replace("/^(\?\>)/i", "", $a);
    $a = trim($a);
    $a = utf8($a);
    if($a !== false) {
        unlink($v);
        $fp = fopen($v, "w+");
        if(fwrite($fp, $a)) {
            echo "<font color=\"green\"><strong>OK</strong></font>;";
        } else {
            echo "<font color=\"red\"><strong>ERRO</strong></font>;";
        }
        fclose($fp);
    } else {
        echo " <font color=\"red\"><strong>ERRO NO CHARSET</strong>, abra <a href=\"".url($v)."\" target=\"_blank\">".url($v)."</a> e copie o conteúdo dentro do arquivo</font>;";
    }
    echo "<br />\n\r";
    flush();
}

if(!$foi) {
    echo "Todos os arquivos já passaram do step 2.<br />\n\r";
}

echo "\n\r<hr />\r\n<h1>FIM!</h1>";

?>
</body>
</html>

I hope I’ve helped.

  • The only fear for me is that if one points the exit to the same place of origin, it will overwrite everything. The rest seems interesting.

  • This is the purpose of the script, to remove all encryption from all documents that have encryption.. If you are afraid, make a backup, if it doesn’t look the way you like it, return the backup.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.