🇰🇷 한글 설명
Perl용 Crypt::SelfCertificate 1.01부터 1.05 버전에서 악성코드가 발견되었습니다. generate_certificate 함수가 난독화된 URL로부터 Python 코드를 가져와 실행함으로써 사용자 권한으로 임의의 코드를 실행할 수 있습니다.
💡 쉬운 설명
인증서 생성 도구 안에 몰래 숨겨진 악성 코드가 들어있습니다. 이 코드는 인터넷에서 위험한 명령을 몰래 내려받아 컴퓨터를 조종할 수 있습니다.
🇺🇸 원문 (English)
Crypt::SelfCertificate versions from 1.01 through 1.05 for Perl contains malware which executes Python code from an obfuscated URL.
The generate_certificate runs a Python script saved as a certificate file. The pyhton script attempts to retrieve code from a hardcoded http URL that is obfuscated with base64 encoding and run the response body directly.
The impact is that arbitrary code can be invoked as the user, without a dropped script being saved on the affected host.
The releases have no test scripts nor build hooks. The intention may have been to trigger the payload after installation.
For version 1.01, the dropper script is in lib/Crypt/SelfCertificate/sample/validate.p12.
For version 1.05, the dropper script is in lib/Crypt/SelfCertificate/sample/cert7.pem.
The SHA-256 digests of the files are
fbff21f45ff748365062a5e36fb2d72558cad82a507a6f357f320b4fcdf07760 Crypt-SelfCertificate-1.01.tar.gz
27b2d2d3174ad771474fff2521f5084ec231e9218ea8c832515aef1cbd5897bc lib/Crypt/SelfCertificate/sample/validate.p12
9fdfa7d69b034b77d4510cda567e8da1e486ca81c7daaadc5732a45c41d71991 Crypt-SelfCertificate-1.05.tar.gz
27b2d2d3174ad771474fff2521f5084ec231e9218ea8c832515aef1cbd5897bc lib/Crypt/SelfCertificate/sample/cert7.pem
📍 영향받는 시스템
Perl Crypt::SelfCertificate versions 1.01 through 1.05
⚔️ 공격 벡터
인증서 파일로 위장된 Python 스크립트가 난독화된 URL을 통해 외부 악성 코드를 다운로드 및 실행
🛡️ 대응 방법
해당 버전의 Crypt::SelfCertificate 패키지를 즉시 삭제하고 안전한 버전으로 교체하거나 사용을 중단하십시오.
🔧 검증 코드
출력된 버전 번호가 1.01에서 1.05 사이라면 해당 악성코드가 포함된 버전이 설치된 것입니다.
perl -MCrypt::SelfCertificate -e 'print $Crypt::SelfCertificate::VERSION . "\n"' 2>/dev/null