vuln-intel취약점 정보 통합 DB

← 목록

CVE-2022-26134

위험도 심각 실제 악용 (KEV) 랜섬웨어 악용 공격 코드 공개 ASEC 언급 9건

우선순위 이 사이트의 참고 점수
20.30
위험도 CVSS 3.1 · 0~10점
9.8
악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
100.0%
공개일 NVD
2022-06-03

설명 NVD 원문

영향을 받는 버전의 Confluence Server 및 Data Center에는 OGNL 인젝션(OGNL injection) 취약점이 존재하며, 이를 통해 인증되지 않은 공격자가 Confluence Server 또는 Data Center 인스턴스에서 임의의 코드를 실행할 수 있다. 영향을 받는 버전은 다음과 같다. - 1.3.0 이상 7.4.17 미만 - 7.13.0 이상 7.13.7 미만 - 7.14.0 이상 7.14.3 미만 - 7.15.0 이상 7.15.2 미만 - 7.16.0 이상 7.16.4 미만 - 7.17.0 이상 7.17.4 미만 - 7.18.0 이상 7.18.1 미만

Claude 로 기계 번역한 글입니다. 정확한 내용은 영어 원문을 확인하세요.

영어 원문

In affected versions of Confluence Server and Data Center, an OGNL injection vulnerability exists that would allow an unauthenticated attacker to execute arbitrary code on a Confluence Server or Data Center instance. The affected versions are from 1.3.0 before 7.4.17, from 7.13.0 before 7.13.7, from 7.14.0 before 7.14.3, from 7.15.0 before 7.15.2, from 7.16.0 before 7.16.4, from 7.17.0 before 7.17.4, and from 7.18.0 before 7.18.1.

위험도 세부 항목 CVSS 3.1

공격 경로
네트워크(원격) AV:N
공격 난이도
낮음(쉬움) AC:L
필요한 권한
없음(로그인 불필요) PR:N
사용자 행동 필요
필요 없음 UI:N
영향 범위
그 제품 안 S:U
정보 유출(기밀성)
높음 C:H
데이터 변조(무결성)
높음 I:H
서비스 중단(가용성)
높음 A:H

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

조치 방법 1행

출처플랫폼·제품방식패키지수정된 버전권고문RHSA 등내용
KISA Atlassian Confluence 제품 취약점 보안 업데이트 권고패치(업데이트) KISA-66752 o 제조사의 “Confluence Server & Data Center Download Archives” 페이지를 참고하여 최신 버전으로 업데이트 [2] ※ Confluence Cloud 사용자는 영향받지 않음

CISA 조치 권고 KEV

Immediately block all internet traffic to and from affected products AND apply the update per vendor instructions [https://confluence.atlassian.com/doc/confluence-security-advisory-2022-06-02-1130377146.html] OR remove the affected products by the due date on the right. Note: Once the update is successfully deployed, agencies can reassess the internet blocking rules.

미국 연방기관 조치 기한: 2022-06-06

살펴볼 장비 초안

공격 대상: 서버·웹 서비스. '이 장비에서 살펴볼 취약점' 이라는 분류이며, 장비가 탐지한다는 확인이 아닙니다.

장비 보기정도분류 이유
웹 요청 (WAF·웹 로그)주웹 애플리케이션 제품의 웹 공격 유형 (제품 특성으로 판단, 설명에는 근거 없음)
네트워크 통신 (IPS·NDR)주사용자 행동 없이 네트워크로 코드·명령 실행
서버 행위 (EDR·감사 로그)주성공하면 프로세스·파일 행위가 남을 수 있는 실행 유형

단계별 판정 예시 환경

시나리오 미작성 — 이 CVE 는 단계별 판정을 하지 않았습니다. 안전하다는 뜻이 아닙니다.

출처별 내용 11건

CISA KEV Atlassian Confluence Server and Data Center Remote Code Execution Vulnerability 2022-06-02

원문 보기

Immediately block all internet traffic to and from affected products AND apply the update per vendor instructions [https://confluence.atlassian.com/doc/confluence-security-advisory-2022-06-02-1130377146.html] OR remove the affected products by the due date on the right. Note: Once the update is successfully deployed, agencies can reassess the internet blocking rules.

KISA Atlassian Confluence 제품 취약점 보안 업데이트 권고 2022-06-07

원문 보기

□ 개요 o Atlassian社는 자사 Confluence 제품의 취약점을 해결한 보안 업데이트 공지 [1] o 해당 취약점은 실제 침해사고에 악용되고 있으므로, 해당 제품을 사용하는 이용자들은 최신 버전으로 업데이트 권고 ※ Confluence : 조직 내 프로젝트 관리를 위한 협업 솔루션 □ 설명 o Confluence Server 및 Data Center에서 OGNL 인젝션으로 인해 발생하는 원격 코드 실행 취약점(CVE-2022-26134) [1] □ 영향받는 제품 및 해결 방안 o 제조사의 “Confluence Server & Data Center Download Archives” 페이지를 참고하여 최신 버전으로 업데이트 [2] 영향받는 제품 및 해결 방안 - 제품명, 영향받는 버전, 최신 버전의 정보를 제공 제품명 영향받는 버전 최신 버전 Confluence Server and Data Center 1.3.0 버전 이후 모든 버전 7.4.17 7.13.7 7.14.3 7.15.2 7.16.4 7.17.4 7.18.1 ※ Confluence Cloud 사용자는 영향받지 않음 □ 기타 문의사항 o 한국인터넷진흥원 사이버민원센터: 국번없이 118 [참고사이트] [1] https://confluence.atlassian.com/doc/confluence-security-advisory-2022-06-02-1130377146.html [2] https://www.atlassian.com/software/confluence/download-archives □ 작성 : 침해사고분석단 취약점분석팀

ASEC 취약점 공격으로 설치되는 Mimo 코인 마이너 with Mimus 랜섬웨어 2024-01-12

원문 보기

AhnLab SEcurity intelligence Center(ASEC)은 최근 Mimo라고 불리는 코인 마이너 공격자가 다양한 취약점을 공격하여 악성코드들을 설치하고 있는 정황을 확인하였다. Mimo는 Hezb라고도 불리며 2022년 3월경에 Log4Shell 취약점 공격을 통해 코인 마이너 악성코드를 설치하고 있는 사례가 최초로 확인되었다. 지금까지 알려진 공격 사례는 모두 최종적으로 Mimo Miner Bot이라고 하는 XMRig 코인 마이너를 설치하는 공격이었다. 하지만 연관 공격 사례들을 통해 동일한 공격자가 Mimo 마이너 외에도 Mimus 랜섬웨어, Proxyware 그리고 리버스 쉘 악성코드를 설치하는 사례도 함께 확인되었다. 여기에서는 Mimo 공격자가 공격에 사용한 다양한 악성코드들을 다룬다. 1. 취약점 공격 정황 최초로 확인된 Mimo 공격자의 활동은 2022년 3월경에 Log4Shell 취약점(CVE-2021-44228) 공격으로 코인 마이너를 설치한 것이었으며 [1] , 2022년 5월에는 WSO2의 원격 코드 실행 취약점인 CVE-2022-29464 취약점을 [2] , 2022년 6월에는 아틀라시안 컨플루언스(Atlassian Confluence) 서버의 취약점인 CVE-2022-26134을 공격한 사례가 공개되었다. [3] 그리고 2023년 5월에는 인쇄 관리 프로그램인 PaperCut의 원격 코드 실행 취약점인 CVE-2023–27350를 악용한 공격 사례가 [4] , 가장 최근에는 Apache ActiveMQ 취약점 (CVE-2023-46604) 공격 정황도 확인되었다. ASEC에서는 2022년경에 8220 Gang, z0Miner뿐만 아니라 Mimo (Hezb) 공격자가 취약한 아틀라시안 컨플루언스(Atlassian Confluence) 서버를 공격하여 XMRig 코인 마이너를 설치한 사례를 분석하여 공개하였다. [5] 해당 공격에 사용된 취약점 CVE-2022-26134는 패치되지 않은 취약한 아틀라시안 컨플루언스(Atlassian Confluence) 서버에 대한 원격 코드 실행 취약점이다. 아틀라시안 사의 컨플루언스는 대표적인 협업 플랫폼으로서 전 세계 많은 기업이 업무에 활용하고 있다. 컨플루언스는 웹 기반 플랫폼으로서 프로젝트 관리 및 협업과 같은 서비스는 실질적으로 컨플루언스 서버(또는 컨플루언스 데이터 센터)를 통해 제공된다. 다수의 기업들에서 사용되는 유명한 솔루션이다 보니 과거부터 꾸준히 취약한 컨플루언스 서버 및 데이터 센터를 대상으로 하는 취약점들이 발견되고 있으며 공격자들에 의해 패치되지 않은 시스템들이 공격 대상이 되고 있다. Mimo 공격자가 Log4Shell(CVE-2021-44228) 취약점을 악용해 코인 마이너를 설치하는 사례 또한 최근까지도 지속적으로 확인되고 있다. Log4Shell(CVE-2021-44228)은 자바 기반의 로깅 유틸리티인 Log4j의 취약점으로서 원격지의 자바 객체 주소를 로그 메시지에 포함시켜 Log4j를 사용하는 서버에 전송할 경우 서버에서 자바 객체를 실행시킬 수 있는 원격 코드 실행 취약점이다. 공격 대상 시스템은 VMware Horizon 제품이 설치된 시스템으로써 기업에서 원격 근무 솔루션과 클라우드 인프라 운영을 위해 사용하는 가상화 데스크톱 솔루션인 VMware Horizon을 아직까지도 패치하지 않아 내부적으로 사용 중인 Log4J가 공격당하고 있는 것으로 추정된다. 이외에도 최근에는 2023년 11월에 공개된 Apache ActiveMQ 취약점 (CVE-2023-46604) 공격 정황도 확인되었다. CVE-2023-46604는 오픈 소스 메시징 및 통합 패턴 서버인 Apache ActiveMQ 서버의 원격 코드 실행 취약점이다. 만약 패치되지 않은 Apache ActiveMQ 서버가 외부에 노출되어 있을 경우 공격자는 원격에서 악의적인 명령을 실행하여 해당 시스템을 장악할 수 있다. 취약점 공격은 classpath에 있는 클래스를 인스턴스화하도록 OpenWire 프로토콜에서 직렬화된 클래스 유형을 조작하는 방식으로 이루어진다. 만약 공격자가 조작된 패킷을 전송할 경우 취약한 서버에서는 패킷에 포함된 경로 즉 URL을 참고하여 클래스 XML 설정 파일을 로드한다. 예를 들어 취약한 Apache ActiveMQ의 자바 프로세스는 전달받은 조작된 패킷을 참고하여 “hxxp://102.130.112[.]157/poc-win.xml” 경로에 위치하는 XML 설정 파일을 로드하게 된다. 이후에는 로드한 XML 설정 파일을 참고하여 지정한 명령을 실행하는데 다음 설정 파일에는 Mimo 마이너를 다운로드하는 파워쉘 명령이 설정되어 있다. 2. XMRig 코인 마이너 공격 사례 취약점 공격을 통해 실행된 파워쉘은 Batch 악성코드를 다운로드해 실행하는데 최근에는 “lnl.bat” 또는 “kill.bat”이라는 이름이 사용된다. 해당 Batch 악성코드는 윈도우 디펜더를 비활성화하고 다른 코인 마이너를 제거한 이후 최종적으로 “ln.bat” 또는 “mad.bat”이라고 하는 Batch 악성코드를 %TEMP% 경로에 다운로드하고 실행하는 역할을 담당한다. “ln.bat” 또는 “mad.bat” Batch 악성코드는 추가적으로 “dom.zip” 또는 “dom-6.zip”이라는 압축 파일을 다운로드하고 7z 도구를 이용해 압축을 해제한다. 해당 압축 파일에는 모네로 코인 채굴을 담당하는 XMRig 코인 마이너 “dom.exe”와 NSSM 도구 “dsm.exe” 그리고 설정 파일이 저장되어 있다. Batch 스크립트는 이후 NSSM을 이용해 XMRig를 서비스에 등록한다. 비록 다양한 취약점 공격을 사용하고 있지만 코인 마이너를 설치하는 루틴은 상대적으로 단순한 편이며 XMRig나 NSSM 도구도 별다른 변형 없이 사용된다. 지갑 주소 – 1 : 43DTEF92be6XcPj5Z7U96g4oGeebUxkFq9wyHcNTe1otM2hUrfvdswGdLHxabCSTio7apowzJJVwBZw6vVTu7NoNCNAMoZ4 지갑 주소 – 2 : 46HmQz11t8uN84P8xgThrQXSYm434VC7hhNR8be4QrGtM1Wa4cDH2GkJ2NNXZ6Dr4bYg6phNjHKYJ1QfpZRBFYW5V6qnRJN 3. Mimus 랜섬웨어 Mimo 공격자의 공격들 중 대부분은 최근까지도 XMRig 코인 마이너 즉 Mimo 마이너를 설치하는 사례들이다. 하지만 2023년에는 랜섬웨어 공격 사례도 확인된다. 랜섬웨어는 2023년경에 Mimo 마이너를 유포한 주소와 동일한 곳에서 동일한 시점에 확인되었다. 해당 Batch 악성코드를 통해 설치된 랜섬웨어는 “mauri870”이라는 개발자가 연구 목적으로 개발하여 깃허브에 공개한 소스 코드를 기반으로 만들어졌다. [6] 해당 소스 코드는 다른 공격자들에 의해 자주 사용되고 있는 것인지 MauriCrypt로 탐지되고 있다는 내용도 설명에 함께 포함되어 있다. 여기에서는 해당 오픈 소스 랜섬웨어를 MauriCrypt로 부른다. MauriCrypt는 Go 언어로 개발되었으며 공격자는 이를 이용해 랜섬웨어를 제작한 후 Mimus 랜섬웨어라는 이름을 붙였다. Mimus 랜섬웨어는 MauriCrypt의 소스 코드와 비교했을 때 별다른 차이가 존재하지 않으며 공격자의 C&C 주소, 지갑 주소, 이메일 주소와 같은 설정 데이터만 변경되었다. 개요 설명 암호화 알고리즘 AES-256 CTR 암호화 확장자 .encrypted 랜섬노트 이름 READ_TO_DECRYPT.html, FILES_ENCRYPTED.html 암호화 제외 경로 “ProgramData”, “Windows”, “bootmgr”, “$WINDOWS.~BT”, “Windows.old”, “Temp”, “tmp”, “Program Files”, “Program Files (x86)”, “AppData”, “$Recycle.Bin” 암호화 대상 확장자 “doc”, “docx”, “msg”, “odt”, “wpd”, “wps”, “txt”, “csv”, “pps”, “ppt”, “pptx”, “aif”, “iif”, “m3u”, “m4a”, “mid”, “mp3”, “mpa”, “wav”, “wma”, “3gp”, “3g2”, “avi”, “flv”, “m4v”, “mov”, “mp4”, “mpg”, “vob”, “wmv”, “3dm”, “3ds”, “max”, “obj”, “blend”, “bmp”, “gif”, “png”, “jpeg”, “jpg”, “psd”, “tif”, “gif”, “ico”, “ai”, “eps”, “ps”, “svg”, “pdf”, “indd”, “pct”, “epub”, “xls”, “xlr”, “xlsx”, “accdb”, “sqlite”, “dbf”, “mdb”, “pdb”, “sql”, “db”, “dem”, “gam”, “nes”, “rom”, “sav”, “bkp”, “bak”, “tmp”, “cfg”, “conf”, “ini”, “prf”, “html”, “php”, “js”, “c”, “cc”, “py”, “lua”, “go”, “java” C&C 주소 hxxp://windows.n1tro[.]cyou:4544 Table 1. Mimus 랜섬웨어 개요 MauriCrypt는 감염 시스템의 “id”와 암호화에 사용되는 AES 키값 “enckey”를 랜덤하게 생성한 후 C&C 서버에 접속해 전달한다. 참고로 Mimus 랜섬웨어는 비활성화되어 있지만 MauriCrypt는 C&C 서버와의 통신에 Tor를 지원하는 기능도 포함되어 있다. Tor 브라우저를 다운로드하여 %TEMP% 경로에 설치한 이후 이를 실행하고 Tor 브라우저를 거쳐 C&C 서버에 접속하는 방식이다. 이후 예외 경로를 제외한 다른 경로들에서 지정한 확장자에 해당하는 파일들을 암호화한다. 암호화된 파일은 이름이 Base64로 인코딩되며 확장자가 “.encrypted”로 변경된다. 파일 암호화가 끝나면 바탕화면에 2개의 랜섬노트가 생성된다. 랜섬노트 “FILES_ENCRYPTED.html”는 암호화된 파일들의 목록이 저장되어 있으며, 랜섬노트 “READ_TO_DECRYPT.html”에 연락할 주소와 비트코인 지갑 주소가 포함되어 있다. 공격자의 메일 주소 : arbeyceo@proton[.]me 공격자의 비트코인 지갑 주소 : 15Jz1fmreZx9wG93DKjTXMhuLpPpCgvEQk 복호화 도구 판매 사이트 : hxxps://satoshidisk[.]com/pay/CIIRg6 랜섬노트에 명시된 복호화 도구 판매 사이트에 접속하면 복호화 도구를 0.01050000 BTC에 판매하는 글을 확인할 수 있다. Mimus 랜섬웨어 공격과 직접적인 관련은 알 수 없지만 비트코인 지갑 주소의 기록에 따르면 다수의 거래 내역들이 확인된다. 4. Proxyware 유포 방식 및 설치하는 스크립트는 확인되지 않았지만 Mimo 마이너를 유포하던 시점에 동일한 주소에서 Proxyware와 리버스 쉘 악성코드가 다운로드되었던 이력도 존재한다. 즉 공격자는 수익을 창출하기 위해 랜섬웨어 공격 및 코인 마이닝 외에도 Proxyware를 설치하는 Proxyjacking 공격을 함께 사용한 것으로 추정된다. Proxyware란 설치된 시스템에서 현재 사용 가능한 인터넷 대역폭 일부를 외부에 공유하는 프로그램으로서 일반적으로 이를 설치하는 사용자는 대역폭을 제공하는 대신 일정한 금액을 받는다. 만약 공격자가 사용자의 동의 없이 감염 시스템에 Proxyware를 몰래 설치할 경우 감염된 시스템은 비자발적으로 네트워크 대역폭을 탈취당하게 되며 수익은 공격자에게 돌아가게 된다. 이는 Cryptojacking 공격과 유사한데 Proxyware 대신 코인 마이너를 설치하여 감염 시스템의 자원으로 암호 화폐를 채굴하는 것이 차이점이다. 5. NHAS 리버스 쉘 이외에도 Mimo 마이너의 다운로드 주소와 동일한 주소를 C&C 서버로 사용하는 리버스 쉘 악성코드도 확인되었다. 공격에 사용된 리버스 쉘은 “NHAS”가 개발하여 깃허브에 공개된 reverse_ssh라는 도구로서 Go 언어로 개발되어 있으며 C&C 서버와의 통신에 SSH 프로토콜을 사용하는 것이 특징이다. [7] NHAS 리버스 쉘은 기본적으로 이름처럼 리버스 쉘이기 때문에 다른 백도어 및 RAT 유형들과 비교해서 명령 실행이나 파일 작업, 포트 포워딩과 같은 기본적인 명령들만 제공한다. 하지만 이를 설치하였다는 것은 공격자가 단순하게 감염 시스템에 코인 마이닝이나 Proxyware 그리고 랜섬웨어를 설치하여 수익을 얻을 뿐만 아니라 추가적인 작업을 위해 감염 시스템에 대한 제어를 탈취하기도 한다는 것을 의미한다. 6. 결론 2022년 초에 최초로 확인된 Mimo 마이너 공격자는 최근까지도 Log4Shell(CVE-2021-44228), WSO2의 원격 코드 실행 취약점인 CVE-2022-29464, 아틀라시안 컨플루언스(Atlassian Confluence) 서버의 취약점인 CVE-2022-26134, 인쇄 관리 프로그램인 PaperCut의 원격 코드 실행 취약점 CVE-2023–27350 그리고 Apache ActiveMQ 취약점 (CVE-2023-46604) 등의 취약점 공격들을 통해 악성코드들을 설치하고 있다. 이러한 취약점들은 모두 패치가 패치가 공개되었지만 공격자는 적절하게 관리되지 못하고 있는 시스템들을 대상으로 하기 때문에 공격은 아직까지도 계속되고 있다. 시스템 관리자는 사용 중인 서비스가 취약한 버전인지 점검하고 최신 버전으로 패치해 기존에 알려진 취약점으로부터 공격을 방지해야 한다. 또한 외부에 오픈되어 접근 가능한 서버에 대해 방화벽과 같은 보안 제품을 이용해 공격자로부터의 접근을 통제해야 한다. 마지막으로 V3를 최신 버전으로 업데이트하여 악성코드의 감염을 사전에 차단할 수 있도록 신경 써야 한다. 파일 진단 – Downloader/BAT.CoinMiner.SC195961 (2024.01.11.02) – Downloader/BAT.CoinMiner.SC195959 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195960 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195962 (2024.01.11.02) – Unwanted/Win32.NSSM.R353938 (2020.10.27.00) – Trojan/Win32.RL_Miner.R363967 (2021.01.23.01) – Win-Trojan/Miner3.Exp (2020.01.23.00) – Data/JSON.Miner (2022.05.11.03) – Data/JSON.Miner (2021.12.12.00) – Downloader/BAT.CoinMiner.SC195966 (2024.01.11.02) – Downloader/BAT.CoinMiner.SC195964 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195965 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195963 (2024.01.11.02) – Downloader/BAT.Agent (2024.01.11.02) – Malware/Win32.Generic.C4280792 (2020.12.28.01) – Unwanted/Win.Peer2Profit.C5572495 (2024.01.11.02) – Backdoor/Win.ReverseShell.C5572514 (2024.01.11.03) – Downloader/XML.Generic (2024.01.12.00) 행위 진단 – Execution/MDP.Powershell.M1185 – Connection/MDP.Event.M2367 MD5 1136efb1a46d1f2d508162387f30dc4d 3edcde37dcecb1b5a70b727ea36521de 52cef8752f2c0f9a5383d2aecbdccc6f 5d32f0eee7adf20e0766d5481a1953a5 5e0f18dfe16f274d34716d011e0a3f39 URL http[:]//102[.]130[.]112[.]157/7za[.]exe http[:]//102[.]130[.]112[.]157/dom-6[.]zip http[:]//102[.]130[.]112[.]157/dom[.]zip http[:]//102[.]130[.]112[.]157/kill[.]bat http[:]//102[.]130[.]112[.]157/ln[.]bat AhnLab TIP 를 구독하시면 연관 IOC 및 상세 분석 정보를 추가적으로 확인하실 수 있습니다. 자세한 내용은 아래 배너를 클릭하여 확인해보세요.

ASEC Log4Shell 취약점 공격으로 코인 마이너를 설치하는 8220 Gang 공격 그룹 2023-04-17

원문 보기

AhnLab Security Emergency response Center(ASEC)에서는 최근 8220 Gang 공격 그룹이 VMware Horizon 서버에 대한 Log4Shell 취약점을 이용해 코인 마이너 악성코드를 설치하고 있는 것을 확인하였다. 공격 대상으로 확인된 시스템들 중에는 국내 에너지 관련 기업도 존재하며 취약점이 패치되지 않은 취약한 시스템을 운영하고 있음에 따라 다수의 공격자들의 공격 대상이 되고 있다. Log4Shell(CVE-2021-44228)은 자바 기반의 로깅 유틸리티인 Log4j의 취약점으로서 원격지의 자바 객체 주소를 로그 메시지에 포함시켜 Log4j를 사용하는 서버에 전송할 경우 서버에서 자바 객체를 실행시킬 수 있는 원격 코드 실행 취약점이다. 1. 8220 Gang 공격 그룹 8220 Gang 공격 그룹은 주로 취약한 윈도우 / 리눅스 시스템들을 공격 대상으로 하는 공격 그룹으로서, 2017년 경부터 그 활동이 확인되고 있다. [1] 취약한 시스템이 확인될 경우 최종적으로 코인 마이너 악성코드를 설치하는 것이 특징이다. 8220 Gang 공격 그룹은 해외뿐만 아니라 국내 시스템들도 공격 대상으로 하며, 과거 ASEC에서 취약한 국내 시스템을 대상으로 Atlassian Confluence 서버 취약점 CVE-2022-26134를 악용하여 코인 마이너를 설치한 공격 사례를 공개한 바 있다. 취약한 Atlassian Confluence 서버를 대상으로 하는 공격 사례 CVE-2022-26134 취약점 공격이 성공할 경우 다음과 같은 파워쉘 명령으로 추가적인 파워쉘 스크립트를 다운로드해 실행하며 최종적으로 XMRig 코인 마이너를 설치하였다. 최근 Fortinet에서는 8220 Gang 공격 그룹이 Oracle Weblogic 서버 취약점을 이용해 ScrubCrypt를 설치한 공격 사례를 공개한 바 있다. [2] ScrubCrypt는 닷넷으로 개발된 Crypter로서 추가 악성코드를 설치할 수 있는 기능을 제공하는 악성코드이다. Fortinet에서 소개한 공격 사례는 자사 AhnLab Smart Defense(ASD) 로그를 통해서도 확인되었으며, 공격 과정에서 설치된 ScrubCrypt는 최종적으로 8220 Gang의 공격 목표인 XMRig 코인 마이너를 설치한다. ASEC에서는 최근 8220 Gang 공격 그룹이 Oracle Weblogic 서버 취약점 외에 Log4Shell 취약점을 이용해 ScrubCrypt 악성코드를 다운로드한 이력을 확인하였다. ScrubCrypt를 통해 최종적으로 설치되는 악성코드는 이전과 동일하게 XMRig 코인 마이너이다. 2. Log4Shell 공격 로그 Log4Shell은 2021년 12월에 공개된 이후 다양한 공격자들에 의해 사용되고 있으며, 최근까지도 해외뿐만 아니라 국내를 대상으로 패치되지 않은 취약한 시스템들을 대상으로 하는 공격에 사용되고 있다. ASEC에서는 2022년 Lazarus 그룹이 해당 취약점을 악용해 NukeSped 악성코드를 유포한 공격 사례를 공개한 바 있다. 공격자는 보안 패치가 이루어지지 않은 VMware Horizon 제품에 log4j 취약점을 사용하였다. [3] VMware Horizon 제품은 가상화 데스크톱 솔루션으로써 기업에서 원격 근무 솔루션과 클라우드 인프라 운영을 위해 사용하는 제품이다. Log4Shell 취약점을 악용하는 Lazarus 그룹 (NukeSped) ASEC에서는 최근 취약한 ws_tomcatservice.exe 프로세스가 코인 마이너 악성코드를 설치하는 로그를 확인하였다. 해당 공격 과정을 통해 설치되는 악성코드는 최종적으로 XMRig 코인 마이너였으며 8220 Gang 공격 그룹이 사용하는 악성코드로 확인되었다. 구체적인 패킷은 확인되지 않지만 VMware Horizon의 ws_tomcatservice.exe 프로세스에 의해 파워쉘 명령이 실행된 공격 로그와 이미 알려진 취약점을 이용해 패치되지 않은 시스템들을 공격하는 8220 Gang 공격 그룹의 특성상 기존 Log4Shell 취약점이 공격에 사용된 것으로 추정된다. 3. ScrubCypt, XMRig CoinMiner 분석 Log4Shell 취약점 공격을 통해 다운로드되어 실행되는 파워쉘 스크립트는 기존 Fortinet 블로그처럼 “bypass.ps1”이라는 이름을 갖는다. 내부에 포함된 악성코드는 다르지만 이름뿐만 아니라 루틴도 거의 동일하다. “bypass.ps1”은 난독화된 파워쉘 스크립트로서 복호화하면 다음과 같은 코드를 확인할 수 있다. 첫 번째 라인은 AMSI를 우회하는 루틴이며 이후 내부에 포함된 실제 악성코드를 복호화하여 “%TEMP%PhotoShop-Setup-2545.exe” 경로에 생성한 후 실행한다. “PhotoShop-Setup-2545.exe“는 닷넷 다운로더 악성코드로서 다음 주소에서 인코딩된 데이터를 다운로드한 후 복호화하여 RegAsm.exe에 인젝션한다. 다운로드 주소 : hxxp://77.91.84[.]42/Whkpws.png RegAsm 프로세스에 인젝션되어 실행되는 악성코드는 난독화되어 있지만 Fortinet에서 소개한 ScrubCrypt의 루틴과 유사한 점을 보아 ScrubCrypt 악성코드로 추정된다. 공격에 사용된 ScrubCrypt는 다음과 같이 3개의 C&C 주소와 4개의 포트 번호(58001, 58002, 58003, 58004)를 가지고 있다. 179.43.155[.]202 su-95.letmaker[.]top su95.bpdeliver[.]ru ScrubCrypt(RegAsm.exe)의 C&C 주소 ScrubCypt는 C&C 서버에 연결하여 추가 명령을 다운로드하며 현재 분석 환경에서는 XMRig 코인 마이너를 설치하는 명령이 확인된다. 다운로드되어 실행되는 “deliver1.exex”는 인젝터 악성코드로서 내부 리소스에 인코딩되어 저장된 또 다른 ScrubCrypt를 MSBuild.exe에 인젝션 한다. 해당 ScrubCrypt는 다음과 같이 2개의 C&C 주소와 4개의 포트 번호(9090, 9091, 9092, 8444)를 가지고 있다. 179.43.155[.]202 su95.bpdeliver[.]ru ScrubCrypt(MSBuild.exe)의 C&C 주소 ScrubCrypt는 레지스트리에 XMRig 실행 시 사용할 설정 데이터(마이닝 풀 주소와 지갑 주소, 코인 마이너 페이로드 다운로드 주소, 인젝션 대상 프로세스)와 다운로드한 인코딩된 데이터 파일들 “plugin_3.dll”, “plugin_4.dll”을 쓴다. “plugin_4.dll”은 인코딩된 닷넷 악성코드로서 복호화되어 메모리 상에서 동작한다. “plugin_4.dll”의 기능은 다음과 같이 인코딩된 XMRig인 “plugin_3.dll”를 복호화하고 설정 데이터에 지정된 정상 프로세스 AddInProcess.exe에 인젝션 한 후 커맨드 라인과 함께 실행시킨다. Mining Pool 주 소 : 174.138.19[.]0:8080 지갑 주소 : “46E9UkTFqALXNh2mSbA7WGDoa2i6h4WVgUgPVdT9ZdtweLRvAhWmbvuY1dhEmfjHbsavKXo3eGf5ZRb4qJzFXLVHGYH4moQ” 비밀번호 : “x” 공격자의 모네로 코인 지갑 주소는 이전에 공개한 Atlassian Confluence 서버 취약점 공격에서 사용된 주소와 동일하며, 최근 공개된 Fortinet의 Oracle Weblogic 서버 취약점 공격 사례와도 동일하다. 8220 Gang 공격 그룹은 과거부터 꾸준히 동일한 지갑 주소를 사용하고 있는 것이 특징이다. 4. 결론 8220 Gang으로 알려진 공격 그룹은 취약점이 패치되지 않은 시스템들을 대상으로 모네로 코인을 채굴하는 XMRig 코인 마이너를 설치하고 있다. 과거 취약한 아틀라시안 컨플루언스 (Atlassian Confluence) 서버를 대상으로 하는 공격이 확인된 바 있으며, 최근에는 VMware Horizon 서버에 대한 Log4Shell 취약점을 이용하고 있다. 관리자들은 현재 사용 중인 VMware Horizon 서버가 취약한 버전인지를 점검하고 최신 버전으로 패치해 기존에 알려진 취약점으로부터 공격을 방지해야 한다. 또한 외부에 오픈되어 접근 가능한 서버에 대해 방화벽과 같은 보안 제품을 이용해 공격자로부터의 접근을 통제해야 한다. 마지막으로 V3를 최신 버전으로 업데이트하여 악성코드의 감염을 사전에 차단할 수 있도록 신경 써야 한다. 파일 진단 – Downloader/PowerShell.Generic (2023.04.17.02) – Downloader/PowerShell.Generic (2023.04.17.02) – Downloader/Win.Agent.R572121 (2023.04.16.01) – CoinMiner/Win.XMRig.C5411888 (2023.04.16.01) 행위 진단 – Execution/MDP.Powershell.M2514 MD5 2748c76e21f7daa0d41419725af8a134 851d4ab539030d2ccaea220f8ca35e10 bd0312d048419353d57068f5514240dc d63be89106d40f7b22e5c66de6ea5d65 URL http[:]//163[.]123[.]142[.]210/bypass[.]ps1 http[:]//174[.]138[.]19[.]0[:]8080/ http[:]//77[.]91[.]84[.]42/Whkpws[.]png http[:]//77[.]91[.]84[.]42/bypass[.]ps1 http[:]//77[.]91[.]84[.]42/deliver1[.]exe FQDN su-95[.]letmaker[.]top su95[.]bpdeliver[.]ru IP 179[.]43[.]155[.]202 AhnLab TIP 를 구독하시면 연관 IOC 및 상세 분석 정보를 추가적으로 확인하실 수 있습니다. 자세한 내용은 아래 배너를 클릭하여 확인해보세요.

ASEC 취약한 Atlassian Confluence 서버를 대상으로 하는 공격 사례 2022-07-15

원문 보기

ASEC 분석팀에서는 취약한 시스템들을 대상으로 하는 공격을 모니터링하고 있다. 여기에서는 패치되지 않은 취약한 아틀라시안 컨플루언스(Atlassian Confluence) 서버를 대상으로 공격하는 사례를 소개한다. 아틀라시안 사의 컨플루언스는 대표적인 협업 플랫폼으로서 전 세계 많은 기업이 업무에 활용하고 있다. 컨플루언스는 웹 기반 플랫폼으로서 프로젝트 관리 및 협업과 같은 서비스는 실질적으로 컨플루언스 서버(또는 컨플루언스 데이터 센터)를 통해 제공된다. 다수의 기업들에서 사용되는 유명한 솔루션이다 보니 과거부터 꾸준히 취약한 컨플루언스 서버 및 데이터 센터를 대상으로 하는 취약점들이 발견되고 있으며 공격자들에 의해 패치되지 않은 시스템들이 공격 대상이 되고 있다. 대표적인 공격 사례는 CVE-2021-26084 와 CVE-2022-26134이다. 이는 원격 코드 실행 취약점으로 공격자는 외부에 공개된 시스템 중 아직 버전 업데이트를 하지 않은 취약한 시스템을 대상으로 공격한다. 만약 공격을 성공하면 웹쉘을 설치하거나 악성코드를 설치하여 해당 시스템에 대한 제어를 획득할 수 있다. 공격자들은 스캐닝을 통해 취약한 시스템들을 확인할 수 있으며, 이외에도 쇼단 과 같이 인터넷에 연결된 서버를 탐색할 수 있는 검색 엔진을 이용할 수도 있다. 여기에서는 아틀라시안 컨플루언스 서버 취약점들을 이용해 설치되는 코인 마이너 악성코드들과 함께 공격자가 이후 제어 유지를 위해 설치한 웹쉘 악성코드들과 같은 다양한 공격 사례들을 다룬다. Godzilla 웹쉘 공격 사례 웹쉘(WebShell)이란 웹 서버에 업로드되어 파일 탐색이나 시스템 쉘 명령 들을 실행할 수 있게 하는 파일이다. 공격 대상 시스템에 웹쉘이 설치되면 공격자들은 지속성을 유지하면서 감염 시스템을 제어할 수 있다. CVE-2022-26134 취약점을 발견한 Volexity 사의 블로그에 따르면 공격자는 취약한 컨플루언스 서버에 대한 취약점 공격 이후 지속성을 유지하기 위해 웹쉘을 설치한 것으로 알려져 있다. 실제 자사 ASD 로그를 보더라도 패치되지 않은 취약한 아틀라시안 컨플루언스 서버 환경에서 다수의 웹쉘들이 생성되고 있는 것을 확인할 수 있다. 최근 공격에 사용된 웹쉘들은 대부분 다음과 같은 Godzilla JSP 웹쉘이다. 위의 JSP 스크립트에서 “pass” 항목은 다음 그림에서 공격자가 지정한 “Password”를 의미하며 웹쉘 통신 과정에서 인자로 사용된다. “xc” 항목은 공격자가 지정하는 “Key” 문자열에 대한 MD5 해시값(구체적으로 앞 16글자)으로서 패킷 암호화/복호화 시 AES 키로서 사용된다. 참고로 GodZilla는 클래스 동적 로딩 방식을 이용하는데, 이를 위해 공격자가 웹쉘이 감염된 자바 환경에 악성 페이로드를 전달한다. 이것은 위에서 지정한 AES Key 값으로 암호화된 데이터로서 웹쉘은 해당 데이터를 복호화하여 공격자로부터 명령을 받아 악성 행위를 수행할 수 있는 악성 자바 클래스를 로드하게 된다. 여기까지의 과정이 성공하면 공격자는 다음과 같은 패널에서 감염 시스템의 정보를 획득하거나 악의적인 명령을 전달할 수 있다. 이러한 Godzilla 웹쉘들은 다수의 취약한 아틀라시안 컨플루언스 서버에서 확인되고 있으며, 하나의 시스템에서도 다수의 Godzilla 웹쉘들이 확인된다. 다음은 아틀라시안 컨플루언스 취약점에 의해 생성된 것으로 추정되는 웹쉘들이 설치된 경로 목록이다. %ProgramFiles%\atlassian\confluence\confluence\504page.jsp %ProgramFiles%\atlassian\confluence\confluence\about\500page.jsp %ProgramFiles%\atlassian\confluence\confluence\havefun.jsp %ProgramFiles%\atlassian\confluence\confluence\includes\js\amd\shim\empty.jsp %ProgramFiles%\atlassian\confluence\confluence\umamgu.jsp %ProgramFiles%\atlassian\confluence\testant.jsp %ProgramFiles%\atlassian\confluence\vmgjglsg.jsp %SystemDrive%\atlassian\confluence\confluence\504page.jsp %SystemDrive%\atlassian\confluence\confluence\about\about.jsp %SystemDrive%\atlassian\confluence\confluence\havefun.jsp %SystemDrive%\atlassian\confluence\confluence\pages\includes\classlog.jsp %SystemDrive%\atlassian\confluence\confluence\script.jsp %SystemDrive%\atlassian\confluence\wtoojcaj.jsp d:\atlassian\confluence\confluence\504page.jsp d:\atlassian\confluence\confluence\aa.vbs d:\atlassian\confluence\confluence\have.txt d:\atlassian\confluence\confluence\jspath.jsp d:\atlassian\confluence\confluence\template\aui\submiti.jsp e:\atlassian\confluence\confluence\includes\js\amd\shim\empty.jsp e:\atlassian\confluence\confluence\script.jsp e:\atlassian\confluence\havefun.jsp e:\atlassian\confluence\yvjlqmmr.jsp [표 1] 여러 기업의 취약한 시스템에서 확인된 웹쉘 설치 경로 8220 Gang 마이너 유포 사례 ‘ 8220 Gang ‘ 그룹은 CVE-2022-26134 취약점을 이용해 윈도우 및 리눅스 기반의 취약한 서버를 대상으로 하는 공격 그룹이다. 취약점 공격에 성공할 경우 최종적으로 모네로 코인 마이너(XMRig)를 설치하는데 최근에는 해외뿐만 아니라 국내를 대상으로도 공격을 수행하고 있는 것이 확인되었다. 2017년부터 공격이 확인되고 있는 ‘8220 gang’ 그룹은 최근에는 XMRig 마이닝 시 지갑 주소 [1] “46E9UkTFqALXNh2mSbA7WGDoa2i6h4WVgUgPVdT9ZdtweLRvAhWmbvuY1dhEmfjHbsavKXo3eGf5ZRb4qJzFXLVHGYH4moQ”를 사용하는 것으로 알려져 있다. CVE-2022-26134 취약점 공격이 성공할 경우 먼저 다음과 같은 파워쉘 명령으로 추가적인 파워쉘 스크립트를 다운로드해 실행한다. 해당 스크립트 또한 다운로더로 기능하는데, 특정 주소에서 ‘ps1-6.exe’ 악성코드를 설치한다. ‘ps1-6.exe’는 다음과 같은 주소에서 추가 페이로드를 메모리 상에 다운로드해 동적으로 로드한다. 이러한 과정을 통해 로드되는 페이로드는 정상 프로세스 ‘InstallUtil.exe’에 프로세스 할로잉(Process Hollowing)을 수행하는 인젝터이다. InstallUtil.exe에 인젝션되어 동작하는 페이로드 또한 다운로드 및 인젝션 기능을 담당한다. 최종적인 페이로드는 185.157.160[.]214:8080에서 다운로드하며, 여기까지의 과정이 끝나면 정상 프로세스 ‘AddInProcess.exe’에 XMRig 코인 마이너를 인젝션한다. 참고로 마이닝 풀 주소 및 지갑 주소와 같이 마이닝에 필요한 설정 정보는 인젝터(InstallUtil.exe)가 ‘AddInProcress.exe’를 실행시킬 때 아래 [그림 ]과 같이 인자로 주어 실행한다. Mining Pool 주소 : “51.79.175[.]139:8080” 지갑 주소 : “46E9UkTFqALXNh2mSbA7WGDoa2i6h4WVgUgPVdT9ZdtweLRvAhWmbvuY1dhEmfjHbsavKXo3eGf5ZRb4qJzFXLVHGYH4moQ” 비밀번호 : “x” z0Miner 공격 사례 z0miner는 다양한 취약점을 이용해 유포되는 코인 마이너 악성코드로서 대표적으로 CVE-2021-26084 취약점 [2] [3] 이 있다. 다음은 취약한 아틀라시안 컨플루언스 서버 환경에서 파워쉘을 통해 z0miner가 설치되는 자사 ASD 로그이다. wi.txt는 파워쉘 스크립트로서 먼저 이미 알려진 마이너를 제거하는데, 등록된 작업 스케줄러나 실행 중인 프로세스의 커맨드 라인, 사용 중인 포트 번호 그리고 프로세스 이름을 기반으로 검색하여 그 결과에 따라 강제로 종료시킨다. 이후 다음과 같은 주소에서 XMRig 마이너를 설치한다. 마이닝 풀 및 지갑 주소와 같은 설정 데이터는 config.json에 저장되어 있으며 XMRig는 %TEMP% 경로에 javae.exe 라는 이름으로 설치되어 동작한다. Mining Pool 주소 : “pool.supportxmr[.]com:80” 지갑 주소 : “44Lu9jhKUuTVcSwGL1jLU6MKyFVNewBdL5mT13fjxLhFTSa5i6E5hMrAv1SmH16NYvc51GY6RnvQSKM4CDFFRov68aRFgYi” 비밀번호 : “x” Hezb 코인 마이너 공격 사례 2022년 6월 초에는 취약한 Atlassian Confluence 서버를 대상으로 Hezb 코인 마이너 설치 시도가 확인되었다. Hezb는 최근 CVE-2022-26134 취약점을 통해 유포되고 있는 코인 마이너 악성코드이다. [4] 다음은 Tomcat 프로세스에 의해 실행되는 파워쉘이 Hezb 마이너를 설치하는 로그로서, kill.bat은 Hezb 공격에 사용되는 최초 배치 악성코드이다. kill.bat은 윈도우 디펜더의 실시간 검사를 비활성화하고 실제 Hezb를 설치하는 mad.bat을 다운로드해 실행하는 기능을 담당한다. mad.bat은 실제 코인 마이너 설치를 담당하는 악성코드로서 NSSM(dsm.exe)을 이용해 XMRig(dom.exe)를 서비스로 등록하여 감염 시스템에서 마이닝을 수행한다. Mining Pool 주소 : “gulf.moneroocean[.]stream:10001” 지갑 주소 : “46HmQz11t8uN84P8xgThrQXSYm434VC7hhNR8be4QrGtM1Wa4cDH2GkJ2NNXZ6Dr4bYg6phNjHKYJ1QfpZRBFYW5V6qnRJN” 비밀번호 : “dom.[컴퓨터 이름]” 참고로 Hezb 다운로드 페이지에 접속하면 다음과 같이 위에서 언급한 악성코드들을 확인할 수 있다. 공격자들은 최근 취약한 아틀라시안 컨플루언스 (Atlassian Confluence) 서버를 대상으로 코인 마이너 및 웹쉘과 같은 악성코드들을 설치하고 있다. 시스템 관리자는 사용 중인 Confluence 버전이 취약한 버전(Confluence 7.15.0 – 7.18.0 또는 Confluence 6.0.0 – Confluence 7.14.2)인지 점검하고, 최신 버전으로 패치해 기존에 알려진 취약점으로부터 공격을 방지해야 한다. 또한 외부에 공개된 서버의 경우 2차 인증을 거치고 보안 제품을 통해 외부로부터 접근을 통제할 필요가 있다. Atlassian 공식 패치 방법 : https://confluence.atlassian.com/doc/confluence-security-advisory-2022-06-02-1130377146.html 안랩 V3 제품에서는 해당 유형에 대해 다음과 같이 진단하고 있다. [파일 진단] – CoinMiner/PowerShell.Agent (2022.07.14.02) – Downloader/PS.Miner (2022.07.15.00) – Trojan/Win.Generic.C5154950 (2022.06.02.02) – Downloader/Win.MSIL.R504742 (2022.07.15.00) – Trojan/BAT.Agent (2022.07.14.01) – CoinMiner/BAT.Generic (2022.07.14.00) – Unwanted/Win32.NSSM.R353938 (2020.10.27.00) – Win-Trojan/Miner3.Exp (2019.12.11.01) – Trojan/Win64.XMR-Miner.R226842 (2019.12.11.01) – WebShell/JSP.Generic.S1538 (2021.06.15.03) – WebShell/JSP.Godzilla.S1719 (2022.01.10.02) – WebShell/JSP.Antsword.S1720 (2022.04.15.03) [행위 진단] – Execution/MDP.Powershell.M1185 MD5 1136efb1a46d1f2d508162387f30dc4d 1614943098a96caa5316fa46af91b20d 1f2a56fd54f302857846e8901232c03a 37aed4e14b31dbd3a6a58c6e952b9847 3edcde37dcecb1b5a70b727ea36521de URL http[:]//185[.]157[.]160[.]214[:]8080/ http[:]//202[.]28[.]229[.]174/win/dom-6[.]zip http[:]//202[.]28[.]229[.]174/win/dom[.]zip http[:]//202[.]28[.]229[.]174/win/kill[.]bat http[:]//202[.]28[.]229[.]174/win/mad[.]bat AhnLab TIP 를 구독하시면 연관 IOC 및 상세 분석 정보를 추가적으로 확인하실 수 있습니다. 자세한 내용은 아래 배너를 클릭하여 확인해보세요.

ASEC 영어·일본어 등 다른 언어 글 6건
ASEC 脆弱性攻撃によりインストールされる Mimo コインマイナー with Mimus ランサムウェア 2024-01-19

원문 보기

AhnLab SEcurity intelligence Center(ASEC)は最近、Mimo と呼ばれるコインマイナーの攻撃者が様々な脆弱性を突く攻撃を行い、複数のマルウェアをインストールしている状況を確認した。Mimo は Hezb とも呼ばれ、2022年3月頃に Log4Shell の脆弱性攻撃を通じてコインマイナーマルウェアをインストールしている事例が初めて確認された。 これまでに認知されている攻撃事例はすべて、最終的に Mimo Miner Bot という XMRig コインマイナーをインストールする攻撃であった。しかし、関連する攻撃事例を通じて同じ攻撃者が Mimo マイナー以外にも Mimus ランサムウェア、Proxyware、リバースシェルマルウェアをインストールする事例も同様に確認された。ここでは、Mimo の攻撃者が攻撃に使用した様々なマルウェアを取り上げる。 1. 脆弱性を利用した攻撃の状況 初めて確認された Mimo 攻撃者の活動は2022年3月頃に Log4Shell の脆弱性(CVE-2021-44228)を突いた攻撃であり、コインマイナーをインストールしたものであった [1] ( 外部サイト、英語にて提供 ) 。2022年5月には WSO2 のリモートコード実行の脆弱性である CVE-2022-29464 を [2] ( 外部サイト、英語にて提供 ) 、2022年6月にはアトラシアン・コンフルエンス(Atlassian Confluence)サーバーの脆弱性である CVE-2022-26134 を利用して攻撃を行った事例が公開された。 [3] ( 外部サイト、英語にて提供 ) そして2023年5月には、印刷管理プログラムである PaperCut のリモートコード実行の脆弱性 CVE-2023–27350 を悪用した攻撃事例が [4] ( 外部サイト、英語にて提供 ) 、直近では Apache ActiveMQ の脆弱性(CVE-2023-46604)を利用した攻撃の状況も確認された。 ASEC では、2022年頃に 8220 Gang、z0Miner だけでなく Mimo (Hezb)攻撃者が脆弱なアトラシアン・コンフルエンス(Atlassian Confluence)サーバーを攻撃して XMRig コインマイナーをインストールした事例を解析して公開した。 [5] この攻撃に利用された脆弱性 CVE-2022-26134 は、パッチが適用されていない脆弱なアトラシアン・コンフルエンス(Atlassian Confluence)サーバーのリモートコード実行の脆弱性である。 図1. CVE-2022-26134 脆弱性によってインストールされた Mimo コインマイナー Atlassian 社の Confluence (コンフルエンス)は、代表的な協業型プラットフォームで、世界中の様々な企業が導入している。Confluence は Web ベースのプラットフォームで、プロジェクトの管理およびコラボレーションのようなサービスを、実質的に Confluence サーバー(もしくは Confluence データセンター)を通して提供している。多くの企業で導入されている有名なソリューションであるため、以前から継続的に脆弱な Confluence サーバーおよびデータセンターをターゲットにした脆弱性が発見されており、パッチが適用されていないシステムが攻撃対象になっている。 Mimo 攻撃者が Log4Shell(CVE-2021-44228)脆弱性を悪用してコインマイナーをインストールする事例も、最近まで継続的に確認されている。Log4Shell(CVE-2021-44228)は Java ベースのロギングユーティリティである Log4j の脆弱性であり、リモート先の Java オブジェクトのアドレスをログメッセージに含ませ Log4j を使用するサーバーに転送すると、サーバーから Java オブジェクトを実行できるリモートコード実行の脆弱性である。 攻撃対象のシステムは VMware Horizon 製品がインストールされたシステムであり、企業でのリモートワークソリューションとクラウドインフラ運用のために使用する仮想化デスクトップソリューションである VMware Horizon のパッチを現在までに適用しておらず、内部で使用している Log4j が攻撃を受けているものと推定される。 図2. Log4Shell 脆弱性によってインストールされた Mimo コインマイナー このほかにも、最近では2023年11月に公開された Apache ActiveMQ 脆弱性(CVE-2023-46604)攻撃も確認された。CVE-2023-46604 はオープンソースのメッセージおよび統合パターンサーバーである Apache ActiveMQ サーバーのリモートコード実行に関する脆弱性である。パッチが適用されていない Apache ActiveMQ サーバーが外部に公開されている場合、攻撃者はリモートで悪意を持ったコマンドを実行し、当該システムを掌握できる。 脆弱性攻撃は、classpath にあるクラスをインスタンス化するように OpenWire プロトコルでシリアライズされたクラスタイプを操作する方式で行われる。攻撃者が細工されたパケットを送信すると、脆弱なサーバーではパケットに含まれた経路、すなわち URL を参照して、クラス XML の設定ファイルをロードする。 例えば、脆弱な Apache ActiveMQ の Java プロセスは伝達された細工パケットを参考して「hxxp://102.130.112[.]157/poc-win.xml」の経路に存在する XML 設定ファイルをロードする。以降はロードした XML 設定ファイルを参照して指定したコマンドを実行するが、次の設定ファイルには Mimo マイナーをダウンロードする PowerShell コマンドが設定されている。 図3. Mimo マイナーの攻撃に使用される Apache ActiveMQ 脆弱性設定ファイル 2. XMRig コインマイナーの攻撃事例 脆弱性攻撃によって実行された PowerShell は、Batch ファイル形式のマルウェアをダウンロードして実行するが、最近では「lnl.bat」または「kill.bat」という名前が使用されている。この Batch マルウェアは Windows Defender を無効化し、他のコインマイナーを削除したあと、最終的に「ln.bat」または「mad.bat」という Batch マルウェアを %TEMP% パスにダウンロードして実行する役割を担う。 図4. 脆弱性攻撃によってインストールされる Batch マルウェア 「ln.bat」または「mad.bat」という Batch ファイル形式のマルウェアは、さらに「dom.zip」または「dom-6.zip」という圧縮ファイルをダウンロードして 7z ツールを利用して解凍する。この圧縮ファイルにはモネロコインの採掘を実行する XMRig コインマイナー「dom.exe」と NSSM ツール「dsm.exe」、設定ファイルが格納されている。Batch スクリプトは、その後 NSSM を利用して XMRig をサービスに登録する。脆弱性を突いた攻撃には様々な手法が使われているが、コインマイナーをインストールするルーティンは相対的に単純なものであり、XMRig や NSSM ツールもそのまま使用される。 図5. XMRig コインマイナーをインストールする Batch マルウェア 図6. Mimo 攻撃者が使用する設定ファイル ウォレットアドレス – 1 : 43DTEF92be6XcPj5Z7U96g4oGeebUxkFq9wyHcNTe1otM2hUrfvdswGdLHxabCSTio7apowzJJVwBZw6vVTu7NoNCNAMoZ4 ウォレットアドレス – 2 : 46HmQz11t8uN84P8xgThrQXSYm434VC7hhNR8be4QrGtM1Wa4cDH2GkJ2NNXZ6Dr4bYg6phNjHKYJ1QfpZRBFYW5V6qnRJN 3. Mimus ランサムウェア Mimo 攻撃者の攻撃事例は、最近でも XMRig コインマイナー、すなわち Mimo マイナーをインストールするものがほとんどである。しかし、2023年にはランサムウェアによる攻撃事例も確認されている。ランサムウェアは2023年頃に Mimo マイナーを配布したアドレスと同じところから、同じタイミングに確認された。 図7. Mimo マイナーと Mimus ランサムウェアのダウンロードアドレス この Batch マルウェアによってインストールされたランサムウェアは「mauri870」という開発者が研究目的で開発し、Github に公開したソースコードをベースに作られた。 [6] (外部サイト、英語にて提供) 当該ソースコードは別の攻撃者たちによって頻繁に使用されているのか、MauriCrypt として検知されているという内容も説明に記載されている。ここでは、当該オープンソースランサムウェアを MauriCrypt と呼称する。 図8. Github に公開されているランサムウェアのソースコード MauriCrypt は Go 言語で開発されており、攻撃者はこれを利用してランサムウェアを制作したあと、Mimus ランサムウェアと命名した。Mimus ランサムウェアは MauriCrypt のソースコードと比較した際にこれといった違いが存在せず、攻撃者の C&C アドレス、ウォレットアドレス、電子メールアドレスのような設定データのみが変更されていた。 概要 説明 暗号化アルゴリズム AES-256 CTR 暗号化拡張子 .encrypted ランサムノート名 READ_TO_DECRYPT.html, FILES_ENCRYPTED.html 暗号化除外パス “ProgramData”, “Windows”, “bootmgr”, “$WINDOWS.~BT”, “Windows.old”, “Temp”, “tmp”, “Program Files”, “Program Files (x86)”, “AppData”, “$Recycle.Bin” 暗号化対象の拡張子 “doc”, “docx”, “msg”, “odt”, “wpd”, “wps”, “txt”, “csv”, “pps”, “ppt”, “pptx”, “aif”, “iif”, “m3u”, “m4a”, “mid”, “mp3”, “mpa”, “wav”, “wma”, “3gp”, “3g2”, “avi”, “flv”, “m4v”, “mov”, “mp4”, “mpg”, “vob”, “wmv”, “3dm”, “3ds”, “max”, “obj”, “blend”, “bmp”, “gif”, “png”, “jpeg”, “jpg”, “psd”, “tif”, “gif”, “ico”, “ai”, “eps”, “ps”, “svg”, “pdf”, “indd”, “pct”, “epub”, “xls”, “xlr”, “xlsx”, “accdb”, “sqlite”, “dbf”, “mdb”, “pdb”, “sql”, “db”, “dem”, “gam”, “nes”, “rom”, “sav”, “bkp”, “bak”, “tmp”, “cfg”, “conf”, “ini”, “prf”, “html”, “php”, “js”, “c”, “cc”, “py”, “lua”, “go”, “java” C&C アドレス hxxp://windows.n1tro[.]cyou:4544 表1. Mimus ランサムウェアの概要 MauriCrypt は感染システムの「id」と暗号化に使われる AES キー値「enckey」をランダムに生成したあと C&C サーバーに接続して伝達する。参考に、Mimus ランサムウェアは無効化されているが、MauriCrypt では C&C サーバーとの通信に Tor をサポートする機能も含まれている。Tor ブラウザをダウンロードして %TEMP% パスにインストールしたあと、これを実行して Tor ブラウザを経由し C&C サーバーに接続する方式である。 図9. Tor ダウンロードアドレス その後、例外パスを除く他のパスで指定した拡張子に該当するファイルを暗号化する。暗号化されたファイルは、名前が Base64 でエンコードされ、拡張子が「.encrypted」に変更される。ファイルの暗号化が完了すると、デスクトップに2つのランサムノートが生成される。ランサムノート「FILES_ENCRYPTED.html」は暗号化されたファイルのリストが保存されており、ランサムノート「READ_TO_DECRYPT.html」に連絡先のアドレスとビットコインのウォレットアドレスが含まれている。 図10. デスクトップに生成されたランサムノート 攻撃者のメールアドレス :arbeyceo@proton[.]me 攻撃者のビットコインのウォレットアドレス : 15Jz1fmreZx9wG93DKjTXMhuLpPpCgvEQk 復号化ツール販売サイト :hxxps://satoshidisk[.]com/pay/CIIRg6 ランサムノートに明記された復号化ツール販売サイトに接続すると、復号化ツールを0.01050000 BTC で販売する記事を確認できる。Mimus ランサムウェアの攻撃との直接的な関係は不明だが、ビットコインのウォレットアドレスの記録によれば、多数の取引履歴が確認できる。 図11. 復号化ツール販売サイト 図12. 攻撃者のビットコインのウォレットアドレスの取引履歴 4. Proxyware 配布方式およびインストールするスクリプトは確認されなかったが、Mimo マイナーを配布した時点に、同じアドレスから Proxyware とリバースシェルマルウェアがダウンロードされた履歴も存在する。すなわち、攻撃者は収益を創出するためにランサムウェア攻撃およびコインマイニング以外にも、Proxyware をインストールする Proxyjacking 攻撃を同時に使用したものと推定される。 Proxyware とは、インストールされたシステムにおいて現在使用可能なインターネット帯域幅の一部を外部に共有するプログラムであり、一般的にこのプログラムをインストールしているユーザーは帯域幅を提供する代わりに一定の金額を受け取っている。攻撃者がユーザーの同意を得ずに感染システムに Proxyware を密かにインストールすると、感染したシステムは非自発的にネットワーク帯域幅を奪われることになり、収益は攻撃者に帰することとなる。これは Cryptojacking 攻撃と類似しているが、Proxyware の代わりにコインマイナーをインストールして感染システムのリソースで暗号通貨を採掘する点が異なっている。 図13. Mimo マイナー関連アドレスからダウンロードされた Proxyware 5. NHAS リバースシェル このほかにも、Mimo マイナーのダウンロードアドレスと同じアドレスを C&C サーバーとして使用するリバースシェルマルウェアも確認された。攻撃に使われたリバースシェルは「NHAS」が開発し、Github に公開されている reverse_ssh というツールであり、Go 言語で開発されている。C&C サーバーとの通信に SSH プロトコルを使用することが特徴である。 [7] (外部サイト、英語にて提供) 図14. Reverse Shell の Github ページ NHAS リバースシェルは、基本的には名前のようにリバースシェルであるため、他のバックドアおよび RAT タイプと比較してコマンドの実行やファイル操作、ポートフォワーディングのような基本的なコマンドのみを提供する。ただし、これがインストールされたということは、攻撃者が単純に感染システムにコインマイニングや Proxyware、ランサムウェアをインストールして収益を得るだけでなく、さらなる操作のために感染システムの操作権限を奪うこともあるということを意味する。 6. 結論 2022年初頭に初めて確認された Mimo マイナーの攻撃者は、最近でも Log4Shell(CVE-2021-44228)、WSO2 のリモートコード実行の脆弱性である CVE-2022-29464、アトラシアン・コンフルエンス(Atlassian Confluence)サーバーの脆弱性である CVE-2022-26134、印刷管理プログラムである PaperCut のリモートコード実行の脆弱性 CVE-2023–27350、そして Apache ActiveMQ 脆弱性(CVE-2023-46604)等の脆弱性を突いた攻撃によってマルウェアをインストールしている。 これらの脆弱性はすべてパッチが公開されているが、攻撃者は適切に管理されていないシステムを対象とするため、攻撃は現在でも続いている。システム管理者は、使用しているサービスが脆弱なバージョンであるかをチェックし、最新バージョンにパッチを適用して、既知の脆弱性による攻撃を防がなければならない。 また、外部に開放されていてアクセスが可能なサーバーに関してはファイアウォールのようなセキュリティ製品を利用し、外部の攻撃者からのアクセスを統制する必要がある。最後に、V3 を最新バージョンにアップデートしてマルウェアへの感染を事前に遮断できるように注意を払わなければならない。 ファイル検知 – Downloader/BAT.CoinMiner.SC195961 (2024.01.11.02) – Downloader/BAT.CoinMiner.SC195959 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195960 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195962 (2024.01.11.02) – Unwanted/Win32.NSSM.R353938 (2020.10.27.00) – Trojan/Win32.RL_Miner.R363967 (2021.01.23.01) – Win-Trojan/Miner3.Exp (2020.01.23.00) – Data/JSON.Miner (2022.05.11.03) – Data/JSON.Miner (2021.12.12.00) – Downloader/BAT.CoinMiner.SC195966 (2024.01.11.02) – Downloader/BAT.CoinMiner.SC195964 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195965 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195963 (2024.01.11.02) – Downloader/BAT.Agent (2024.01.11.02) – Malware/Win32.Generic.C4280792 (2020.12.28.01) – Unwanted/Win.Peer2Profit.C5572495 (2024.01.11.02) – Backdoor/Win.ReverseShell.C5572514 (2024.01.11.03) – Downloader/XML.Generic (2024.01.12.00) 振る舞い検知 – Execution/MDP.Powershell.M1185 – Connection/MDP.Event.M2367 IoC MD5 – 618680a68eb6ac79f530a0291ad29d9f : Downloader (lnl.bat) – 5e0f18dfe16f274d34716d011e0a3f39 : Downloader (kill.bat) – 958dd3e767b32a28c199d59ce01ffb6c : CoinMiner Downloader (ln.bat) – c25972604121f4c6a7f8025e4e575c7c : CoinMiner (mad.bat) – 1136efb1a46d1f2d508162387f30dc4d : NSSM (dsm.exe) – 7ef97450e84211f9f35d45e1e6ae1481 : XMRig (dom.exe) – 3edcde37dcecb1b5a70b727ea36521de : XMRig (dom.exe) – bfa626e053028f9adbfaceb5d56086c3 : Config (config.json) – 61def7b3b98458a40fffa42a19ddf258 : Config (config.json) – 78c0c7648854d61da3bfba08dc11ffd6 : Downloader (kill.bat) – a3ffb336aee9f01275c92ac529c8f70e : Downloader (me1.bat) – 52cef8752f2c0f9a5383d2aecbdccc6f : CoinMiner (me.bat) – 5d32f0eee7adf20e0766d5481a1953a5 : CoinMiner (me2.bat) – b206cf6652a2d8279e7ca32f3127aeed : Downloader (prx.bat) – dd6931fda2df843249a5df40b8808387 : Mimus ランサムウェア (lol.exe) – a2cf452cb27ff2970e3248a9793de326 : Peer2Profit Installer (Peer2Profit-Setup.exe) – 77c2cb38dbcc944c010deda3024bb804 : Reverse Shell (me) – c9450a531ea62c6b9f7db0d5c7cae5a5 : Exploit (poc-win.xml) C&C – hxxp://windows.n1tro[.]cyou:4544 : Mimus ランサムウェア – 102.130.112[.]157:3232 : NHAS Reverse Shell Download アドレス – hxxp://102.130.112[.]157/lnl.bat : Downloader – hxxp://102.130.112[.]157/kill.bat : Downloader – hxxp://102.130.112[.]157/ln.bat : CoinMiner Downloader – hxxp://102.130.112[.]157/mad.bat : CoinMiner Downloader – hxxp://102.130.112[.]157/dom.zip : CoinMiner / NSSM – hxxp://102.130.112[.]157/dom-6.zip : CoinMiner / NSSM – hxxp://102.130.112[.]157/7za.exe : 7zip – hxxp://102.130.112[.]157/poc-win.xml : Exploit – hxxp://50.19.48[.]59:82/kill.bat : Downloader – hxxp://50.19.48[.]59:82/me1.bat : Downloader – hxxp://50.19.48[.]59:82/me.bat : CoinMiner – hxxp://50.19.48[.]59:82/me2.bat : CoinMiner – hxxp://50.19.48[.]59:82/prx.bat : Downloader – hxxp://50.19.48[.]59:82/lol.exe : Mimus Ransomware – hxxp://50.19.48[.]59:82/mazar.zip : Peer2Profit Installer 関連 IOC および詳細な解析情報は、AhnLab の次世代脅威インテリジェンスプラットフォーム「AhnLab TIP」サブスクリプションサービスを通して確認できる。

ASEC Mimo CoinMiner and Mimus Ransomware Installed via Vulnerability Attacks 2024-01-12

원문 보기

AhnLab SEcurity intelligence Center (ASEC) recently observed circumstances of a CoinMiner threat actor called Mimo exploiting various vulnerabilities to install malware. Mimo, also dubbed Hezb, was first found when they installed CoinMiners through a Log4Shell vulnerability exploitation in March 2022. Up until now, all of the attack cases involved the installation of XMRig CoinMiner called Mimo Miner Bot in the final stage. However, there were other pertinent cases where the same threat actor installed Mimus ransomware, proxyware, and reverse shell malware besides the Mimo miner. This article will cover the various malware the Mimo threat actor used in the attacks. 1. Vulnerability Exploitation The first known activity of the Mimo threat actor was in March 2022, when CoinMiner was installed through the exploitation of the Log4Shell vulnerability (CVE-2021-44228) [1] . The threat actor exploited WSO2’s remote code execution vulnerability (CVE-2022-29464) in May 2022 [2] and the Atlassian Confluence server’s vulnerability (CVE-2022-26134) in June 2022 [3] . In May 2023, an attack case exploiting the printer management program PaperCut’s remote code execution vulnerability (CVE-2023–27350) was observed [4] , as well as the exploitation of the Apache ActiveMQ vulnerability (CVE-2023-46604) recently. In 2022, ASEC analyzed and revealed cases of 8220 Gang, z0Miner, and also the Mimo (Hezb) threat actor exploiting the vulnerable Atlassian Confluence server to install the XMRig CoinMiner [5] . The vulnerability used in this particular attack (CVE-2022-26134) is the remote code execution vulnerability of unpatched Atlassian Confluence servers. Figure 1. Mimo CoinMiner installed through the CVE-2022-26134 vulnerability Atlassian’s Confluence is a major collaboration platform used by many companies across the globe. Being a web-based platform, services such as managing projects and collaboration are mainly provided by Confluence Servers (or Confluence Data Centers). As it is a solution used by many companies, many vulnerabilities targeting vulnerable Confluence Servers and Data Centers have been continuously discovered, with attackers targeting systems that are not patched. Cases of the Mimo threat actor exploiting the Log4Shell (CVE-2021-44228) vulnerability to install CoinMiners are still being found. Log4Shell (CVE-2021-44228) is a remote code execution vulnerability in the Java-based logging utility Log4j. It allows remote execution of Java objects in servers that use Log4j by including the remote Java object address in the log message and sending it. Systems installed with VMware Horizon were the targets. VMware Horizon is a virtual desktop solution for remote working and operating cloud infrastructures. It seems that such systems and the Log4J in use are being attacked because VMware Horizon has not been patched. Figure 2. Mimo CoinMiner installed through the Log4Shell vulnerability Recently, there was evidence of the exploitation of the Apache ActiveMQ vulnerability (CVE-2023-46604) that was revealed in November 2023. CVE-2023-46604 is a remote code execution vulnerability in the Apache ActiveMQ server, an open-source messaging and integrated pattern server. If an unpatched Apache ActiveMQ server is exposed externally, the threat actor can execute malicious commands remotely and dominate the target system. Vulnerability attacks are carried out by making an instance out of the class in classpath by manipulating the serialized class type in the OpenWire protocol. When the threat actor sends the modified packet, the vulnerable server references the path (URL) in the packet to load the class XML configuration file. For example, a vulnerable Apache ActiveMQ’s Java process references the modified packet received and loads the XML configuration located in the “hxxp://102.130.112[.]157/poc-win.xml” path. Afterward, it references the loaded XML configuration file to run the specified command. The configuration file has a Powershell command that downloads the Mimo miner. Figure 3. Apache ActiveMQ vulnerability configuration file used for the Mimo miner attack 2. XMRig CoinMiner Attack Cases The Powershell executed through the vulnerability attacks is executed by downloading the Batch malware. Recently, the names “lnl.bat” or “kill.bat” are being used. The Batch malware disables Windows Defender and removes other CoinMiners before ultimately downloading and running the Batch malware called “ln.bat” or “mad.bat” in the %TEMP% path. Figure 4. Batch malware installed through vulnerability attacks The “ln.bat” or “mad.bat” Batch malware also downloads the “dom.zip” or “dom-6.zip” compressed file and decompresses it using the 7z tool. The decompressed file has the XMRig CoinMiner “dom.exe” in charge of mining Monero coins, the NSSM tool “dsm.exe”, and the configuration file saved inside. The Batch script uses the NSSM afterwards to register XMRig as a service. Although various vulnerability attacks are being used, the routine used to install CoinMiners is fairly simple and XMRig and NSSM tools are used without any particular changes. Figure 5. Batch malware installing the XMRig CoinMiner Figure 6. Configuration file used by the Mimo threat actor Wallet Address 1 : 43DTEF92be6XcPj5Z7U96g4oGeebUxkFq9wyHcNTe1otM2hUrfvdswGdLHxabCSTio7apowzJJVwBZw6vVTu7NoNCNAMoZ4 Wallet Address 2 : 46HmQz11t8uN84P8xgThrQXSYm434VC7hhNR8be4QrGtM1Wa4cDH2GkJ2NNXZ6Dr4bYg6phNjHKYJ1QfpZRBFYW5V6qnRJN 3. Mimus Ransomware The majority of the Mimo threat actor’s attacks have been cases that use XMRig CoinMiner, in other words, the Mimo miner. However, ransomware attack cases were also observed in 2023. The ransomware was found at the same time and place as the address where the Mimo miner was distributed in 2023. Figure 7. The download address of Mimo miner and Mimus ransomware Ransomware that was installed with this Batch malware was made based on the source code revealed on GitHub by the developer “mauri870” who developed the codes for research purposes [6] . This source code also includes an explanation that MauriCrypt is detecting whether it is frequently being used by threat actors. In this article, the open-source ransomware is called MauriCrypt. Figure 8. The ransomware source code revealed on GitHub MauriCrypt was developed in Go, and the threat actor used this to develop ransomware and named it Mimus ransomware. Mimus ransomware does not have any particular differences when compared to MauriCrypt’s source code. Only the threat actor’s C&C address, wallet address, email address, and other configuration data were changed. Overview Description Encryption algorithm AES-256 CTR Encryption extension .encrypted Ransom note name READ_TO_DECRYPT.html, FILES_ENCRYPTED.html Paths excluded from encryption “ProgramData”, “Windows”, “bootmgr”, “$WINDOWS.~BT”, “Windows.old”, “Temp”, “tmp”, “Program Files”, “Program Files (x86)”, “AppData”, “$Recycle.Bin” Encrypted extensions “doc”, “docx”, “msg”, “odt”, “wpd”, “wps”, “txt”, “csv”, “pps”, “ppt”, “pptx”, “aif”, “iif”, “m3u”, “m4a”, “mid”, “mp3”, “mpa”, “wav”, “wma”, “3gp”, “3g2”, “avi”, “flv”, “m4v”, “mov”, “mp4”, “mpg”, “vob”, “wmv”, “3dm”, “3ds”, “max”, “obj”, “blend”, “bmp”, “gif”, “png”, “jpeg”, “jpg”, “psd”, “tif”, “gif”, “ico”, “ai”, “eps”, “ps”, “svg”, “pdf”, “indd”, “pct”, “epub”, “xls”, “xlr”, “xlsx”, “accdb”, “sqlite”, “dbf”, “mdb”, “pdb”, “sql”, “db”, “dem”, “gam”, “nes”, “rom”, “sav”, “bkp”, “bak”, “tmp”, “cfg”, “conf”, “ini”, “prf”, “html”, “php”, “js”, “c”, “cc”, “py”, “lua”, “go”, “java” C&C URL hxxp://windows.n1tro[.]cyou:4544 Table 1. Overview of the Mimus ransomware MauriCrypt randomly generates the infected system’s “id” and Advanced Encryption Standard (AES) key value “enckey”, then connects with the C&C server to send them. Mimus ransomware may be disabled, but MauriCrypt has a feature that supports Tor in communications with the C&C server. This works by downloading and installing Tor Browser to the %TEMP% path before executing it to connect to the C&C server via the browser. Figure 9. Download URL for Tor Afterward, files with the specified extensions in all paths other than the exceptions are encrypted. Encrypted files have their names encoded in Base64 and their extensions changed to “.encrypted”. When the file encryption is complete, two ransom notes are created on the desktop. Ransom note “FILES_ENCRYPTED.html” has the list of encrypted files saved, and ransom note “READ_TO_DECRYPT.html” includes the address for contact along with a Bitcoin wallet address. Figure 10. Ransom notes generated on the desktop Threat actor’s email address : arbeyceo@proton[.]me Threat actor’s Bitcoin wallet address : 15Jz1fmreZx9wG93DKjTXMhuLpPpCgvEQk Website to purchase decryption tool : hxxps://satoshidisk[.]com/pay/CIIRg6 Upon visiting the website that sells the decryption tool, a post can be found where the decryption tool is sold for 0.01050000 BTC. Although we can’t know if they are directly connected to the Mimus ransomware attack, the Bitcoin wallet’s URL shows a record of multiple transactions. Figure 11. Website that sells the decryption tool 4. Proxyware Although the distribution method or the installed script has not been confirmed, there are records showing proxyware and reverse shell malware being downloaded from the same address around the time when the Mimo miner was distributed. In other words, it is speculated that the threat actor used proxyjacking attacks by installing proxyware in addition to using ransomware attacks and coin mining to generate profits. Proxyware is a program that shares a part of the Internet bandwidth that is currently available on a system to others. Users who install the program are usually paid with a certain amount of cash in exchange for providing the bandwidth. If the threat actor secretly installs proxyware to the infected system without the user’s consent, the infected system involuntarily has its bandwidth stolen and the profit is redirected to the threat actor. This is similar to cryptojacking attacks, but CoinMiners are installed instead of proxyware to mine cryptocurrencies with the infected system’s resources. Figure 13. Proxyware downloaded from an address related to the Mimo miner 5. NHAS Reverse Shell In addition, reverse shell malware that uses the same address as the Mimo miner’s download address as the C&C server was found. The reverse shell used in the attack is a tool named reverse_ssh developed by “NHAS” using Go. It is available on GitHub and uses the SSH protocol to communicate with the C&C server [7] . Figure 14. The reverse shell’s GitHub page The NHAS reverse shell is a reverse shell as stated in its name. Compared to other backdoor and RAT types, it only provides basic commands such as executing commands, file handling, and port forwarding. However, having this installed means the threat actor can generate profit simply by installing CoinMiners, proxyware, or ransomware on the infected system. In addition, control over the infected system can be stolen for additional tasks. 6. Conclusion The Mimo miner threat actor who was first discovered in early 2022 is still installing malware by exploiting vulnerabilities such as Log4Shell (CVE-2021-44228), WSO2’s remote code execution vulnerability (CVE-2022-29464), Atlassian Confluence server’s vulnerability (CVE-2022-26134), printer management program PaperCut’s remote code execution vulnerability (CVE-2023–27350), and Apache ActiveMQ’s vulnerability (CVE-2023-46604). Patches for all of these vulnerabilities have been released already, but because the threat actor is targeting poorly managed systems, attacks are still continuing. System administrators must check if the services in use are vulnerable versions and apply the latest patches to prevent known vulnerabilities from being exploited. They should also use security programs such as firewalls for servers accessible from outside to restrict access by attackers. Finally, caution must be practiced by updating V3 to the latest version to block malware infection in advance. File Detection – Downloader/BAT.CoinMiner.SC195961 (2024.01.11.02) – Downloader/BAT.CoinMiner.SC195959 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195960 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195962 (2024.01.11.02) – Unwanted/Win32.NSSM.R353938 (2020.10.27.00) – Trojan/Win32.RL_Miner.R363967 (2021.01.23.01) – Win-Trojan/Miner3.Exp (2020.01.23.00) – Data/JSON.Miner (2022.05.11.03) – Data/JSON.Miner (2021.12.12.00) – Downloader/BAT.CoinMiner.SC195966 (2024.01.11.02) – Downloader/BAT.CoinMiner.SC195964 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195965 (2024.01.11.02) – CoinMiner/BAT.Xmrig.SC195963 (2024.01.11.02) – Downloader/BAT.Agent (2024.01.11.02) – Malware/Win32.Generic.C4280792 (2020.12.28.01) – Unwanted/Win.Peer2Profit.C5572495 (2024.01.11.02) – Backdoor/Win.ReverseShell.C5572514 (2024.01.11.03) – Downloader/XML.Generic (2024.01.12.00) Behavior Detection – Execution/MDP.Powershell.M1185 – Connection/MDP.Event.M2367 MD5 1136efb1a46d1f2d508162387f30dc4d 3edcde37dcecb1b5a70b727ea36521de 52cef8752f2c0f9a5383d2aecbdccc6f 5d32f0eee7adf20e0766d5481a1953a5 5e0f18dfe16f274d34716d011e0a3f39 URL http[:]//102[.]130[.]112[.]157/7za[.]exe http[:]//102[.]130[.]112[.]157/dom-6[.]zip http[:]//102[.]130[.]112[.]157/dom[.]zip http[:]//102[.]130[.]112[.]157/kill[.]bat http[:]//102[.]130[.]112[.]157/ln[.]bat Gain access to related IOCs and detailed analysis by subscribing to AhnLab TIP . For subscription details, click the banner below.

ASEC Log4Shell 脆弱性攻撃でコインマイナーをインストールする 8220 Gang 攻撃グループ 2023-04-21

원문 보기

AhnLab Security Emergency response Center(ASEC)では、最近 8220 Gang 攻撃グループが VMware Horizon サーバーの Log4Shell 脆弱性を利用してコインマイナーマルウェアをインストールしていることを確認した。攻撃対象として確認されたシステムの中には、韓国国内のエネルギー関連企業も存在し、脆弱性に対するパッチが適用されていないシステムを運営しているため、多くの攻撃者のターゲットとなっている。 Log4Shell(CVE-2021-44228)は Java ベースのロギングユーティリティである Log4j の脆弱性であり、リモート先の Java オブジェクトのアドレスをログメッセージに含ませ Log4j を使用するサーバーに転送すると、サーバーから Java オブジェクトを実行できるリモートコード実行の脆弱性である。 1. 8220 Gang 攻撃グループ 8220 Gang 攻撃グループは主に脆弱な Windows や Linux システムを攻撃対象とする攻撃グループであり、2017年頃から活動していることが確認されている。 [1] 脆弱なシステムが確認された場合、最終的にコインマイナーマルウェアをインストールするのが特徴である。 8220 Gang 攻撃グループは韓国国外だけでなく、国内のシステムも攻撃対象としている。以前 ASEC では、脆弱な国内のシステムをターゲットに Atlassian Confluence サーバーの脆弱性である CVE-2022-26134 を悪用し、コインマイナーをインストールした攻撃事例を公開したことがある。 脆弱な Atlassian Confluence サーバーをターゲットにした攻撃事例 CVE-2022-26134 の脆弱性攻撃が成功した場合、以下のような Powershell のコマンドで、追加の Powershell スクリプトをダウンロードして実行し、最終的に XMRig コインマイナーをインストールしていた。 Figure 1. 当社のログで確認された Powershell コマンド 最近、Fortinet では、8220 Gang 攻撃グループが Oracle Weblogic サーバーの脆弱性を利用して ScrubCrypt をインストールした攻撃事例を公開したことがある。 [2] ScrubCrypt は .NET で開発された Crypter であり、追加のマルウェアをインストールできる機能を提供するマルウェアである。 Fortinet で紹介された攻撃事例は当社の AhnLab Smart Defense(ASD)ログでも確認されており、攻撃プロセスでインストールされた ScrubCrypt は最終的に 8220 Gang の攻撃目標である XMRig コインマイナーをインストールする。 Figure 2. Oracle WebLogic 脆弱性攻撃によって実行された PowerShell コマンドログ ASECでは、最近 8220 Gang 攻撃グループが Oracle Weblogic サーバーの脆弱性以外に Log4Shell 脆弱性を利用して ScrubCrypt マルウェアをダウンロードした履歴を確認した。ScrubCrypt を通じて最終的にインストールされるマルウェアは、以前と同様に XMRig コインマイナーである。 2. Log4Shell 攻撃ログ Log4Shell は2021年12月に公開されてから様々な攻撃者によって使用されており、最近も、脆弱性に対するパッチが適用されていないシステムをターゲットとした、韓国国内外で行われている攻撃に使用されている。 ASECでは2022年に、Lazarus グループがこの脆弱性を悪用して NukeSped マルウェアを配布した攻撃事例を公開したことがある。攻撃者は、セキュリティパッチが適用されていない VMware Horizon 製品に log4j 脆弱性を使用していた。 [3] VMware Horizon 製品は仮想化デスクトップソリューションとして、企業がリモート勤務ソリューションとクラウドインフラの運用のために使用する製品である。 Log4Shell の脆弱性を悪用する Lazarus グループ (NukeSped) ASECでは最近、脆弱な ws_tomcatservice.exe プロセスがコインマイナーマルウェアをインストールするログを確認した。この攻撃プロセスを通じて最終的にインストールされるマルウェアは XMRig コインマイナーであり、8220 Gang 攻撃グループが使用するマルウェアであることが確認された。具体的なパケットは確認されていないが、VMware Horizon の ws_tomcatservice.exe プロセスによって PowerShell コマンドが実行された攻撃のログと既知の脆弱性を利用し、パッチが適用されていないシステムを攻撃する 8220 Gang 攻撃グループの特性上、既存の Log4Shell 脆弱性が攻撃に使用されたものと推定される。 Figure 3. ws_tomcatservice.exe プロセスにより実行された PowerShell Figure 4. 当社 ASD インフラで確認された Powershell コマンドログ 3. ScrubCypt、XMRig CoinMiner 解析 Figure 5. マルウェアのプロセスツリー Log4Shell 脆弱性攻撃を通してダウンロードおよび実行される PowerShell スクリプトは、Fortinet ブログで紹介されたように「bypass.ps1」という名前を持つ。内部に含まれたマルウェアは異なるが、名前だけではなく、ルーティンもほぼ同じである。 Figure 6. bypass.ps1 PowerShell スクリプト 「bypass.ps1」は難読化された PowerShell スクリプトであり、復号化すると以下のようなコードが確認できる。最初のラインは AMSI を回避するルーティンであり、その後は内部に含まれた実際のマルウェアを復号化し、「%TEMP%PhotoShop-Setup-2545.exe」パスに生成して実行する。 Figure 7. 復号化された PowerShell ルーティン 「PhotoShop-Setup-2545.exe」は .NET ダウンローダーマルウェアであり、以下のアドレスからエンコードされたデータをダウンロードしたあと復号化し、RegAsm.exe にインジェクションする。 ダウンロードアドレス: hxxp://77.91.84[.]42/Whkpws.png Figure 8. .NET ダウンローダーマルウェア RegAsm プロセスにインジェクションされて実行されるマルウェアは難読化されているが、Fortinet が紹介した ScrubCrypt のルーティンと類似している点を見ると、ScrubCrypt マルウェアであると推定される。攻撃に使用された ScrubCrypt は以下のように3つの C&C アドレスと4つのポート番号(58001、58002、58003、58004)を持っている。 Figure 9. ScrubCrypt(RegAsm.exe)の C&C アドレス 179.43.155[.]202 su-95.letmaker[.]top su95.bpdeliver[.]ru ScrubCrypt(RegAsm.exe)の C&C アドレス ScrubCypt は C&C サーバーに接続し、追加コマンドをダウンロードする。現在の解析環境では XMRig コインマイナーをインストールするコマンドが確認できる。 Figure 10. XMRig コインマイナーをインストールするPowershell コマンド ダウンロードされて実行される「deliver1.exex」はインジェクターマルウェアで、内部リソースにエンコードされて保存されているもう一方の ScrubCrypt を MSBuild.exe にインジェクションする。この ScrubCrypt は以下のように2つの C&C アドレスと4つのポート番号(9090、9091、9092、8444)を持っている。 Figure 11. ScrubCrypt(MSBuild.exe)の C&C アドレス 179.43.155[.]202 su95.bpdeliver[.]ru ScrubCrypt(MSBuild.exe)の C&C アドレス Figure 12. Fiddler で確認されたマルウェアのダウンロードログ ScrubCrypt はレジストリにマイニングプールアドレスとウォレットアドレス、コインマイナーペイロードのダウンロードアドレス、インジェクション対象プロセスが含まれた XMRig 実行時に使用する設定データを書き込み、ダウンロード済みのエンコードされたデータファイルである「plugin_3.dll」、「plugin_4.dll」を書き込む。 Figure 13. レジストリに保存された設定データとエンコードされたファイル 「Plugin_4.dll」はエンコードされた .NET マルウェアであり、復号化してメモリ上で動作する。「Plugin_4.dll」の機能は以下のようにエンコードされた XMRig である「plugin_3.dll」を復号化し、設定データに指定された正常なプロセス AddInProcess.exe にインジェクションしたあと、コマンドラインと共に実行させる。 Figure 14. XMRig マイナーインジェクション時の設定データ Mining Pool アドレス :174.138.19[.]0:8080 ウォレットアドレス: “46E9UkTFqALXNh2mSbA7WGDoa2i6h4WVgUgPVdT9ZdtweLRvAhWmbvuY1dhEmfjHbsavKXo3eGf5ZRb4qJzFXLVHGYH4moQ” パスワード:“ x” 攻撃者のモネロコインウォレットアドレスは過去に公開した Atlassian Confluence サーバーの脆弱性攻撃で使用されたアドレスと同じであり、最近公開された Fortinet の Oracle Weblogic サーバーの脆弱性攻撃事例とも同じである。8220 Gang 攻撃グループは以前から同じウォレットアドレスを使用しているのが特徴である。 4. 結論 8220 Gang として知られている攻撃グループは脆弱性がパッチされていないシステムを対象に、モネロコインを採掘する XMRig コインマイナーをインストールしている。過去には、脆弱な Atlassian Confluence サーバーをターゲットとした攻撃が確認されており、最近では VMware Horizon サーバーの Log4Shell 脆弱性を利用している。管理者は、現在使用している VMware Horizon サーバーが脆弱なバージョンであるかをチェックし、最新バージョンにパッチを適用して、既知の脆弱性による攻撃を防がなければならない。 また、外部に開放されていてアクセスが可能なサーバーに関してはファイアウォールのようなセキュリティ製品を利用し、外部の攻撃者からのアクセスを統制しなければならない。最後に、V3 を最新バージョンにアップデートしてマルウェアへの感染を事前に遮断できるように注意を払わなければならない。 ファイル検知 – Downloader/PowerShell.Generic (2023.04.17.02) – Downloader/PowerShell.Generic (2023.04.17.02) – Downloader/Win.Agent.R572121 (2023.04.16.01) – CoinMiner/Win.XMRig.C5411888 (2023.04.16.01) ビヘイビア検知 – Execution/MDP.Powershell.M2514 IOC MD5 – d63be89106d40f7b22e5c66de6ea5d65 : Oracle Weblogic Exploit PowerShell Downloader (bypass.ps1) – 2748c76e21f7daa0d41419725af8a134 : Log4Shell PowerShell Downloader (bypass.ps1) – 851d4ab539030d2ccaea220f8ca35e10 : Dotnet Downloader (PhotoShop-Setup-2545.exe) – bd0312d048419353d57068f5514240dc : ScrubCrypt for CoinMiner (deliver1.exe) ダウンロード – hxxp://163.123.142[.]210/bypass.ps1 : Oracle Weblogic Exploit PowerShell Downloader – hxxp://77.91.84[.]42/bypass.ps1 : Log4Shell PowerShell Downloader – hxxp://77.91.84[.]42/Whkpws.png : Dotnet Downloader – hxxp://77.91.84[.]42/deliver1.exe : ScrubCrypt for CoinMiner – hxxp://77.91.84[.]42/plugin_3.dll : Encoded XMRig – hxxp://77.91.84[.]42/plugin_4.dll : Encoded Loader C&C – 179.43.155[.]202 : ScrubCrypt – su-95.letmaker[.]top : ScrubCrypt – su95.bpdeliver[.]ru : ScrubCrypt – 174.138.19[.]0:8080 : XMRig Mining Pool 関連 IOC および詳細な解析情報は、AhnLab の次世代脅威インテリジェンスプラットフォーム「AhnLab TIP」サブスクリプションサービスを通して確認できる。

ASEC 8220 Gang Uses Log4Shell Vulnerability to Install CoinMiner 2023-04-17

원문 보기

Ahnlab Security Emergency response Center (ASEC) has recently confirmed that the 8220 Gang attack group is using the Log4Shell vulnerability to install CoinMiner in VMware Horizon servers. Among the systems targeted for the attack, there were Korean energy-related companies with unpatched and vulnerable systems, hence being preyed upon by multiple attackers. Log4Shell (CVE-2021-44228) is both a remote code execution vulnerability and the Java-based logging utility Log4j vulnerability that can remotely execute a Java object in servers that use Log4j by including the remote Java object address in the log message and sending it. 1. 8220 Gang Attack Group 8220 Gang is an attack group that targets vulnerable Windows / Linux systems. Their activities have been observed since 2017. [1] The group has a tendency to install CoinMiner if it finds vulnerable systems. The group targets not only global systems but also Korean ones. ASEC has introduced a case where the attack group abused the Atlassian Confluence server vulnerability CVE-2022-26134 to attack Korean systems and install CoinMiner. Cases of Attacks Targeting Vulnerable Atlassian Confluence Servers If the CVE-2022-26134 vulnerability attack succeeds, the following PowerShell command downloads and executes additional PowerShell scripts and ultimately installs XMRig CoinMiner. Fortinet recently revealed a case where 8220 Gang installed ScrubCrypt by exploiting Oracle Weblogic server vulnerabilities. [2] ScrubCrypt is a Crypter developed as .NET and provides a feature to install additional malware. AhnLab was able to identify the attack case introduced in Fortinet through the AhnLab Smart Defense (ASD) logs. ScrubCrypt installed during the attack process ultimately installs XMRig CoinMiner, which is the final attack goal of 8220 Gang. ASEC confirmed that the 8220 Gang group has recently been using Oracle Weblogic vulnerabilities as well as Log4Shell vulnerabilities to download ScrubCrypt. The malware ultimately installed through ScrubCrypt is XMRig CoinMiner, which is identical to previous cases. 2. Log4Shell Attack Log Ever since its reveal in December 2021, Log4Shell has been used by many attackers. Until recently, it was employed in attacks targeting global and Korean systems that were not patched and vulnerable to attacks. ASEC has revealed attack cases where the Lazarus group used the vulnerability to spread NukeSped in 2022. The attackers used the log4j vulnerability on VMware Horizon products that were not applied with the security patch. [3] VMware Horizons are virtual desktop solutions, used mainly by companies for remote working solutions and cloud infrastructure operations. Lazarus Group Exploiting Log4Shell Vulnerability (NukeSped) ASEC has confirmed a log where the recently vulnerable ws_tomcatservice.exe process installed the CoinMiner malware.  The final malware installed through this attack process was XMRig CoinMiner, which is the malware used by 8220 Gang. The detailed packet could not be identified, but judging from the attack log where the PowerShell command was executed by VMware Horizon’s ws_tomcatservice.exe process and the 8220 Gang’s tendency to attack unpatched systems using known vulnerabilities, it is likely that the Log4Shell vulnerability mentioned earlier was used for the attack. 3. Analysis of ScrubCrypt and XMRig CoinMiner As mentioned in the Fortinet blog shown above, the PowerShell script downloaded and executed by a Log4Shell Vulnerability attack is named “bypass.ps1”. The malware included inside is different, but the name and routine are mostly identical. “bypass.ps1” is an obfuscated PowerShell script. You can find the following script by decoding it. The first line is a routine that bypasses AMSI. The script then creates and executes the internally-included malware in the “%TEMP%PhotoShop-Setup-2545.exe” path after decoding it. “PhotoShop-Setup-2545.exe” is a .NET downloader malware that downloads and decodes encoded data from the following address and injects it in RegAsm.exe. Download URL : hxxp://77.91.84[.]42/Whkpws.png The malware injected in the RegAsm process and executed is obfuscated, but judging from the similarities to the ScrubCrypt routine introduced in the Fortinet post, it is probably a ScrubCrypt malware type. The ScrubCrypt used for the attack has 3 C&C URLs and 4 port numbers (58001, 58002, 58003, and 58004). 179.43.155[.]202 su-95.letmaker[.]top su95.bpdeliver[.]ru C&C URLs of ScrubCrypt (RegAsm.exe) ScrubCrypt connects to the C&C server and downloads additional commands. A command to install XMRig CoinMiner has been confirmed in the current analysis environment. “deliver1.exex” is an injector malware that is downloaded and executed. It injects a different ScrubCrypt encoded and saved within the internal resources in MSBuild.exe. This ScrubCrypt type has 2 C&C URLs and 4 port numbers (9090, 9091, 9092, and 8444). 179.43.155[.]202 su95.bpdeliver[.]ru C&C URLs of ScrubCrypt (MSBuild.exe) ScrubCrypt adds the following values to the registry: settings data used when executing XMRig (including the injection target process, mining pool address and wallet address, CoinMiner payload download URL), and encoded data files “plugin_3.dll” and “plugin_4.dll”. “plugin_4.dll” is an encoded .NET malware that operates in the memory after being decoded. Its function is to decode “plugin_3.dll” which is the encoded XMRig. It then injects “plugin_3.dll” into the normal process AddInProcess.exe designated in the settings data and executes it with the command line. Mining Pool URL : 174.138.19[.]0:8080 Wallet Address : “46E9UkTFqALXNh2mSbA7WGDoa2i6h4WVgUgPVdT9ZdtweLRvAhWmbvuY1dhEmfjHbsavKXo3eGf5ZRb4qJzFXLVHGYH4moQ” Password : “x” The attacker’s Monero wallet address is identical to the address in the previously revealed Atlassian Confluence server vulnerability attack. It is also identical to the recent Oracle Weblogic server vulnerability attack case posted by Fortinet. The 8220 Gang attack group has consistently been using an identical wallet address. 4. Conclusion The attack group known as 8220 Gang installs XMRig CoinMiner to mine Monero coins in vulnerable systems that are not patched. There have been cases where the group targeted vulnerable Atlassian Confluence servers. Recently, it has been using the Log4Shell vulnerabilities in VMware Horizon servers. Administrators must check if their current VMware servers are susceptible and apply the latest patches to prevent vulnerability attacks. They should also use security programs such as firewalls for servers accessible from outside to restrict access by attackers. Finally, caution must be practiced by updating V3 to the latest version to block malware infection in advance. File Detection – Downloader/PowerShell.Generic (2023.04.17.02) – Downloader/PowerShell.Generic (2023.04.17.02) – Downloader/Win.Agent.R572121 (2023.04.16.01) – CoinMiner/Win.XMRig.C5411888 (2023.04.16.01) Behavior Detection – Execution/MDP.Powershell.M2514 MD5 2748c76e21f7daa0d41419725af8a134 851d4ab539030d2ccaea220f8ca35e10 bd0312d048419353d57068f5514240dc d63be89106d40f7b22e5c66de6ea5d65 URL http[:]//163[.]123[.]142[.]210/bypass[.]ps1 http[:]//174[.]138[.]19[.]0[:]8080/ http[:]//77[.]91[.]84[.]42/Whkpws[.]png http[:]//77[.]91[.]84[.]42/bypass[.]ps1 http[:]//77[.]91[.]84[.]42/deliver1[.]exe FQDN su-95[.]letmaker[.]top su95[.]bpdeliver[.]ru IP 179[.]43[.]155[.]202 Gain access to related IOCs and detailed analysis by subscribing to AhnLab TIP . For subscription details, click the banner below.

ASEC 脆弱な Atlassian Confluence サーバーをターゲットにした攻撃事例 2022-07-25

원문 보기

ASEC 分析チームは、脆弱なシステムをターゲットにした攻撃をモニタリングしている。本記事では、パッチされていない脆弱な Atlassian Confluence サーバーをターゲットにした攻撃事例を紹介する。 Atlassian 社の Confluence (コンフルエンス)は、代表的な協業型プラットフォームで、世界中の様々な企業が導入している。Confluence は Web ベースのプラットフォームで、プロジェクトの管理およびコラボレーションのようなサービスを、実質的に Confluence サーバー(もしくは Confluence データセンター)を通して提供している。多くの企業で導入されている有名なソリューションであるため、以前から継続的に脆弱な Confluence サーバーおよびデータセンターをターゲットにした脆弱性が発見されており、パッチが適用されていないシステムが攻撃対象になっている。 代表的な攻撃事例は CVE-2021-26084 と CVE-2022-26134 である。これらはリモートコード実行(RCE)における脆弱性であり、攻撃者は外部に公開されたシステムのうち、まだバージョンをアップデートしていない脆弱なシステムをターゲットに攻撃している。もし攻撃に成功した場合、Web シェルをインストールしたり、マルウェアをインストールしたりして、そのシステムに対する制御権を獲得することができる。 攻撃者はスキャニングを通して脆弱なシステムを確認することができ、それ以外にも SHODAN のようなインターネットに接続されているサーバーを探すことのできる検索エンジンを利用することもある。 [図1] SHODAN にて確認できる韓国国内の脆弱なサーバー(Confluence バージョン : 7.14.1 と 6.15.6) 今回は、Atlassian Confluence サーバーの脆弱性を利用してインストールされるコインマイナーマルウェアと同時に、攻撃者が制御権を維持するためにインストールした Web シェルマルウェアなどの様々な攻撃事例を取り扱う。 Godzilla WebShell 攻撃事例 Web シェル(WebShell)とは、Webサーバーにアップロードされ、ファイルの検索やシステムシェルコマンド等を実行できるようにするファイルである。攻撃対象のシステムに Web シェルがインストールされると、攻撃者は持続的に感染システムを制御することができる。CVE-2022-26134 脆弱性を発見した Volexity 社のブログによると、攻撃者は脆弱な Confluence サーバーに対する脆弱性攻撃を行った後、これを維持するために Web シェルをインストールすることが分かっている。実際に当社の ASD ログを見ても、パッチが適用されていない脆弱な Atlassian Confluence サーバー環境において、様々な Web シェルが生成されていることが確認できる。最近の攻撃に使用される Web シェルの大半は以下のような Godzilla JSP Web シェルである。 [図2] 攻撃に使用された Godzilla JSP Web シェル 上記の JSP スクリプトの「pass」項目は、以下の図で攻撃者が指定した「Password」を意味しており、Web シェルの通信プロセスにおいて引数として使用される。「xc」項目は、攻撃者が指定する「Key」文字列に対する MD5 ハッシュ値(具体的には前半16文字)であり、パケットの暗号化/復号化を行う際の AES キーとして使用される。 [図3] Godzilla Web シェル生成画面 参考に、GodZilla はクラスローダーの方法を利用しているが、これによって攻撃者が Web シェルに感染した Java 環境に不正なペイロードを送信することができる。これは上記の図で指定した AES Key 値で暗号化されたデータであり、Web シェルはこのデータを復号化し、攻撃者の命令を受けて不正な振る舞いを行うことができる不正な Java のクラスをロードする。 [図4] Godzilla 通信の例 ここまでのプロセスに成功すると、攻撃者は以下のようなパネルで感染システムの情報を獲得したり、悪意のある命令を送信したりすることができる。 [図5] Godzilla Web シェルに命令を伝達することができる C&C パネル このような Godzilla Web シェルは多くの脆弱な Atlassian Confluence サーバーで確認されており、一つのシステムに多数の Godzilla Web シェルが確認されることもある。以下は Atlassian Confluence 脆弱性によって生成されたと推測される Web シェルがインストールされたパスのリストである。 %ProgramFiles%\atlassian\confluence\confluence\504page.jsp %ProgramFiles%\atlassian\confluence\confluence\about\500page.jsp %ProgramFiles%\atlassian\confluence\confluence\havefun.jsp %ProgramFiles%\atlassian\confluence\confluence\includes\js\amd\shim\empty.jsp %ProgramFiles%\atlassian\confluence\confluence\umamgu.jsp %ProgramFiles%\atlassian\confluence\testant.jsp %ProgramFiles%\atlassian\confluence\vmgjglsg.jsp %SystemDrive%\atlassian\confluence\confluence\504page.jsp %SystemDrive%\atlassian\confluence\confluence\about\about.jsp %SystemDrive%\atlassian\confluence\confluence\havefun.jsp %SystemDrive%\atlassian\confluence\confluence\pages\includes\classlog.jsp %SystemDrive%\atlassian\confluence\confluence\script.jsp %SystemDrive%\atlassian\confluence\wtoojcaj.jsp d:\atlassian\confluence\confluence\504page.jsp d:\atlassian\confluence\confluence\aa.vbs d:\atlassian\confluence\confluence\have.txt d:\atlassian\confluence\confluence\jspath.jsp d:\atlassian\confluence\confluence\template\aui\submiti.jsp e:\atlassian\confluence\confluence\includes\js\amd\shim\empty.jsp e:\atlassian\confluence\confluence\script.jsp e:\atlassian\confluence\havefun.jsp e:\atlassian\confluence\yvjlqmmr.jsp [表1] 様々な企業の脆弱なシステムにおいて確認された Web シェルのインストールパス 8220 Gang マイナーの配布事例 「 8220 gang 」グループは CVE-2022-26134 の脆弱性を利用し、Windows および Linux ベースの脆弱なサーバーをターゲットに攻撃を展開しているグループである。脆弱性攻撃に成功した場合、最終的にはモネロコインマイナー(XMRig)をインストールするが、最近では韓国国外だけでなく、国内ユーザーをターゲットにした攻撃も行われていることが確認された。 2017年から攻撃が確認されている「8220 gang」グループは、最近では XMRig マイニングを行う際にウォレットアドレス [1] 「46E9UkTFqALXNh2mSbA7WGDoa2i6h4WVgUgPVdT9ZdtweLRvAhWmbvuY1dhEmfjHbsavKXo3eGf5ZRb4qJzFXLVHGYH4moQ」を使用していることが分かっている。 CVE-2022-26134 の脆弱性攻撃に成功した場合、まず以下のような Powershell の命令で、追加の Powershell スクリプトをダウンロードして実行する。 [図6] 当社のログで確認された Powershell コマンド このスクリプトはダウンローダーとしても機能するが、特定のアドレスでは「ps1-6.exe」をマルウェアをインストールする。 [図7] Powershell の命令でダウンロードする lol.ps1 スクリプト 「ps1-6.exe」は、以下のようなアドレスから追加のペイロードをメモリ上にダウンロードし、動的にロードする。このようなプロセスでロードされるペイロードは、正常なプログラムである「InstallUtil.exe」にプロセスハロウイング(Process Hollowing)を実行するインジェクターである。 [図8] PowerShell スクリプトによってダウンロードされる ps1-6.exe InstallUtil.exe にインジェクションされて動作するペイロードも、ダウンロードおよびインジェクション機能を担っている。最終的にペイロードは 185.157.160[.]214:8080 からダウンロードされ、ここまでのプロセスが終了すると正常なプロセスである「AddInProcess.exe」に XMRig コインマイナーをインジェクションする。 [図9] 最終的なプロセスツリー(AddInProcess.exe が Miner) 参考にマイニングプールアドレスおよびウォレットアドレスのような、マイニングに必要な設定情報は、インジェクター(InstallUtil.exe)が「AddInProcress.exe」を実行させる際に、以下の[図10]のように引数で渡されている。 [図10] XMRig が動作する正常なプロセス(AddInProcress.exe)の引数情報 Mining Pool アドレス : 「51.79.175[.]139:8080」 ウォレットアドレス : 「46E9UkTFqALXNh2mSbA7WGDoa2i6h4WVgUgPVdT9ZdtweLRvAhWmbvuY1dhEmfjHbsavKXo3eGf5ZRb4qJzFXLVHGYH4moQ」 パスワード : 「x」 z0Miner の攻撃事例 z0miner は様々な脆弱性を利用して拡散しているコインマイナー型マルウェアであり、代表的なものには CVE-2021-26084 脆弱性 [2] [3] がある。以下は、脆弱な Atlassian Confluence サーバー環境で PowerShell によって z0miner がインストールされるところを示した当社 ASD ログである。 [図11] z0miner のインストールログ Wi.txt は PowerShell スクリプトであり、最初に既知のマイナーを削除するが、登録されているタスクスケジューラや実行中のプロセスのコマンドライン、ポート番号、さらにはプロセス名をベースとして検索をかけ、結果によってはそれらを強制終了させる。 [図12] z0miner のインストールスクリプト その後、以下のようなアドレスから XMRig マイナーをインストールする。マイニングプールおよびウォレットアドレスのような設定データは config.json に指定されており、XMRig は %TEMP% パスに javae.exe という名前でインストールされて動作する。 [図13] 競争マイナーマルウェアの照会および強制終了 Mining Pool アドレス : 「pool.supportxmr[.]com:80」 ウォレットアドレス : 「44Lu9jhKUuTVcSwGL1jLU6MKyFVNewBdL5mT13fjxLhFTSa5i6E5hMrAv1SmH16NYvc51GY6RnvQSKM4CDFFRov68aRFgYi」 パスワード : 「x」 Hezb コインマイナーの攻撃事例 2022年6月初めには、脆弱な Atlassian Confluence サーバーをターゲットに Hezb コインマイナーをインストールする試みが確認された。Hezb は最近、CVE-2022-26134 脆弱性によって配布されているコインマイナー型マルウェアである。 [4] 以下は Tomcat プロセスによって実行される PowerShell が Hezb マイナーをインストールするログであり、kill.bat は Hezb 攻撃に使用される最初のバッチマルウェアである。 [図14] Hezb マイナーをインストールするする試み kill.bat は Windows Defender のリアルタイムスキャンを無効化し、実際に Hezb をインストールする mad.bat をダウンロードして実行する機能を担っている。 [図15] 攻撃に使用された kill.bat ファイル mad.bat は実際のコインマイナーをインストールするマルウェアで、NSSM(dsm.exe)を利用して XMRig(dom.exe)をサービスに登録して感染システムでマイニングを行う。 [図16] サービスに登録されて動作している XMRig マイナー Mining Pool アドレス : 「gulf.moneroocean[.]stream:10001」 ウォレットアドレス : 「46HmQz11t8uN84P8xgThrQXSYm434VC7hhNR8be4QrGtM1Wa4cDH2GkJ2NNXZ6Dr4bYg6phNjHKYJ1QfpZRBFYW5V6qnRJN」 パスワード : 「dom.[コンピューター名]」 参考に、Hezb ダウンロードページにアクセスすると、この前後で照会しているマルウェアを確認できる。 [図17] Hezb のダウンロードページ 攻撃者は最近、Atlassian Confluence サーバーをターゲットにコインマイナーおよび Web シェルのようなマルウェアをインストールしている。システム管理者は、使用している Confluence バージョンが脆弱なバージョン(Confluence 7.15.0 – 7.18.0 もしくは Confluence 6.0.0 – Confluence 7.14.2)であるかを確認し、最新バージョンにパッチを適用して、既知の脆弱性による攻撃を防がなければならない。また、外部に開放されているサーバーの場合、二重認証を使用し、セキュリティ製品を利用して、部外者からのアクセスを制限する必要がある。 Atlassian の公式パッチ適用方法 : https://confluence.atlassian.com/doc/confluence-security-advisory-2022-06-02-1130377146.html AhnLab V3 製品では、当該タイプに対して以下の通り検知している。 [ファイル検知] – CoinMiner/PowerShell.Agent (2022.07.14.02) – Downloader/PS.Miner (2022.07.15.00) – Trojan/Win.Generic.C5154950 (2022.06.02.02) – Downloader/Win.MSIL.R504742 (2022.07.15.00) – Trojan/BAT.Agent (2022.07.14.01) – CoinMiner/BAT.Generic (2022.07.14.00) – Unwanted/Win32.NSSM.R353938 (2020.10.27.00) – Win-Trojan/Miner3.Exp (2019.12.11.01) – Trojan/Win64.XMR-Miner.R226842 (2019.12.11.01) – WebShell/JSP.Generic.S1538 (2021.06.15.03) – WebShell/JSP.Godzilla.S1719 (2022.01.10.02) – WebShell/JSP.Antsword.S1720 (2022.04.15.03) [ビヘイビア検知] – Execution/MDP.Powershell.M1185 [IOC] MD5 8220 Gang – 51ac2e4df1978c3fadaf3654f0f91462 (lol.ps1) – dbda412cf6bf74af449ecb0b3bac7aa8 (ps1-6.exe) – 8e211d1701e0e16cd30a414f5e5a384c (「InstallUtil.exe」で実行されるペイロード) – af0b85c176c7c32f0e9585b7eeaa6629 (「AddInProcress」で実行される XMRig) z0miner – 95b1e4700488855a86caeed05e9d69ac (wi.txt) – eecae73b7b0e1f5994f0b2135bf3aeb6 (wi.txt) – 9dc451c7ddd841cdbed35018000bfd34 (clean.bat) – d268585f581dbf9cc3b0c31b26a21abb (XMRig) Hezb – cb160e725249e2c0534eb01ec3d8e049 (kill.bat) – f7da4506e638185af1f1b2fe30a2e9d2 (mad.bat) – 1136efb1a46d1f2d508162387f30dc4d (dsm.exe – NSSM) – 3edcde37dcecb1b5a70b727ea36521de (dom.exe – XMRig) – 7ef97450e84211f9f35d45e1e6ae1481 (dom.exe – XMRig) WebShell – 975135edeab93b0da209e6d3d1be31ee (Godzilla) – 37aed4e14b31dbd3a6a58c6e952b9847 (Godzilla) – 1614943098a96caa5316fa46af91b20d (Godzilla) – c03ec827d634899fdb2b275dad39c0aa (Godzilla) – 9592237d299256d6abb0701b17bb7002 (Godzilla) – f1595fced1a5f9b59046f28a16b04825 (Godzilla) – e0421b2205153aaa910e8b3b6edee13f (Godzilla) – ba6e65718963046baa260a71f0bbfffc (Godzilla) – f30c109fd80b66e862f1c41d05a115c9 (Godzilla) – 1f2a56fd54f302857846e8901232c03a (AntSword) Download アドレス 8220 Gang – hxxp://89.34.27[.]167/lol.ps1 – hxxp://95.142.47[.]77/ps1-6.exe – hxxp://95.142.47[.]77/ps1-6_Jweozaou.jpg – 185.157.160[.]214:8080 – 51.79.175[.]139:8080 z0miner – hxxp://27.1.1[.]34:8080/docs/s/wi.txt – hxxp://27.1.1[.]34:8080/docs/xmrig.exe – hxxp://27.1.1[.]34:8080/docs/s/config.json – hxxp://27.1.1[.]34:8080/examples/clean.bat Hezb – hxxp://202.28.229[.]174/win/mad.bat – hxxp://202.28.229[.]174/win/kill.bat – hxxp://202.28.229[.]174/win/dom.zip – hxxp://202.28.229[.]174/win/dom-6.zip 関連 IOC および詳細な解析情報は、AhnLab の次世代脅威インテリジェンスプラットフォーム「AhnLab TIP」サブスクリプションサービスを通して確認できる。

ASEC Cases of Attacks Targeting Vulnerable Atlassian Confluence Servers 2022-07-15

원문 보기

The ASEC analysis team has been monitoring attacks that are targeting vulnerable systems. This post will discuss cases of attacks targeting vulnerable Atlassian Confluence Servers that are not patched. Atlassian’s Confluence is a major collaboration platform used by many companies across the globe. Being a web-based platform, services such as managing projects and collaboration are mainly provided by Confluence Servers (or Confluence Data Centers). As it is a solution used by many companies, many vulnerabilities targeting vulnerable Confluence Servers and Data Centers have been continuously discovered, with attackers targeting systems that are not patched. The major attack cases are CVE-2021-26084 and CVE-2022-26134. They are remote code execution vulnerabilities used by attackers to target vulnerable systems that are not updated. If the attack succeeds, an attacker can install WebShell or malware to gain control of the infected system. Attackers can check vulnerable systems through scanning, and they can also use search engines that can search servers connected to the Internet such as Shodan . The post will list various attack cases such as CoinMiners installed by exploiting Atlassian Confluence Server vulnerabilities and WebShells installed to maintain persistence by the attackers. Godzilla WebShell Attack Case WebShell is a file that is uploaded to a web server and runs file navigation or system shell commands. Once it is installed in a system, an attacker can control the infected system while maintaining persistence. According to the Volexity blog on a discovery of CVE-2022-26134 vulnerability, the attacker installed a WebShell on a vulnerable Confluence Server to maintain persistence after a vulnerability attack. AhnLab’s ASD log also shows how multiple WebShells are being created in vulnerable Atlassian Confluence Server environments. Most of the WebShells used for the recent attacks are Godzilla JSP WebShells as shown below. The “pass” from the JSP script shown above indicates “Password” that the attacker designated from Figure 3, used as an argument for the WebShell communication process. The “xc” is the MD5 hash value (first 16 characters) of the “Key” string designated by the attacker. It is used as an AES key during encrypting and decrypting packets. Godzilla uses the dynamic class loading method. To do so, the attacker sends a malicious payload to the Java environment infected with a WebShell. It is the data encrypted with the AES key value designated in Figure 2. The WebShell decrypts the data to load a malicious Java class that can perform malicious behaviors by receiving commands from the attacker. If the above procedure succeeds, the attacker can obtain the information of the infected system or send malicious commands from the panel shown below. The Godzilla WebShell type mentioned above can be found in multiple vulnerable Atlassian Confluence Servers, with a single system possibly containing a number of Godzilla WebShells. The following is a list of paths where WebShells presumably created from Atlassian Confluence vulnerabilities are installed. %ProgramFiles%\atlassian\confluence\confluence\504page.jsp %ProgramFiles%\atlassian\confluence\confluence\about\500page.jsp %ProgramFiles%\atlassian\confluence\confluence\havefun.jsp %ProgramFiles%\atlassian\confluence\confluence\includes\js\amd\shim\empty.jsp %ProgramFiles%\atlassian\confluence\confluence\umamgu.jsp %ProgramFiles%\atlassian\confluence\testant.jsp %ProgramFiles%\atlassian\confluence\vmgjglsg.jsp %SystemDrive%\atlassian\confluence\confluence\504page.jsp %SystemDrive%\atlassian\confluence\confluence\about\about.jsp %SystemDrive%\atlassian\confluence\confluence\havefun.jsp %SystemDrive%\atlassian\confluence\confluence\pages\includes\classlog.jsp %SystemDrive%\atlassian\confluence\confluence\script.jsp %SystemDrive%\atlassian\confluence\wtoojcaj.jsp d:\atlassian\confluence\confluence\504page.jsp d:\atlassian\confluence\confluence\aa.vbs d:\atlassian\confluence\confluence\have.txt d:\atlassian\confluence\confluence\jspath.jsp d:\atlassian\confluence\confluence\template\aui\submiti.jsp e:\atlassian\confluence\confluence\includes\js\amd\shim\empty.jsp e:\atlassian\confluence\confluence\script.jsp e:\atlassian\confluence\havefun.jsp e:\atlassian\confluence\yvjlqmmr.jsp Table 1. WebShell installation path found in vulnerable systems of various companies 8220 Gang Miner Distribution Case ‘ 8220 Gang ‘ is an attack group targeting vulnerable Windows and Linux-based servers using the CVE-2022-26134 vulnerability. If the vulnerability attack succeeds, the group ultimately installs Monero CoinMiner (XMRig). It was recently discovered that the group is also targeting Korean servers. This group has been active since 2017 and is recently known to use the wallet address [1] “46E9UkTFqALXNh2mSbA7WGDoa2i6h4WVgUgPVdT9ZdtweLRvAhWmbvuY1dhEmfjHbsavKXo3eGf5ZRb4qJzFXLVHGYH4moQ” for mining XMRig. If the CVE-2022-26134 vulnerability attack succeds, additional powershell scripts are downloaded and executed with the following powershell command. The script also acts as a downloader, installing the ‘ps1-6.exe’ malware from a certain URL. ‘ps1-6.exe’ downloads additional payloads into the memory from the URL below and dynamically loads them. The payloads loaded through the process becomes an injector that performs process hollowing to the normal process ‘InstallUtil.exe’. The payload injected into InstallUtil.exe also performs downloading and injection. The ultimate payload is downloaded from 185.157.160[.]214:8080. After then, XMRig CoinMiner is injected into the normal process ‘AddInProcess.exe’. Settings information needed for mining such as the mining pool address and the wallet address is run as an argument when the injector (InstallUtil.exe) runs ‘AddInProcress.exe’ as in Figure 10. Mining Pool Address: “51.79.175[.]139:8080” Wallet Address: “46E9UkTFqALXNh2mSbA7WGDoa2i6h4WVgUgPVdT9ZdtweLRvAhWmbvuY1dhEmfjHbsavKXo3eGf5ZRb4qJzFXLVHGYH4moQ” Password: “x” z0Miner Attack Case z0miner is a CoinMiner distributed using various vulnerabilities such as CVE-2021-26084 [2] [3] . The Figure 11 shows AhnLab’s ASD log of z0miner being installed through powershell in a vulnerable Atlassian Confluence Server. wi.txt is a powershell script that removes previously known Miners. It forcibly terminates them by searching based on programs registered to Task Scheduler, the command lines of currently running processes, port numbers in use, and process names. It then installs XMRig Miner from the URL shown below. The settings data such as mining pool and the wallet address are saved in config.json. XMRig operates under the name of javae.exe in the %TEMP% path. Mining Pool Address: “pool.supportxmr[.]com:80” Wallet Address: “44Lu9jhKUuTVcSwGL1jLU6MKyFVNewBdL5mT13fjxLhFTSa5i6E5hMrAv1SmH16NYvc51GY6RnvQSKM4CDFFRov68aRFgYi” Password: “x” Hezb CoinMiner Attack Case An attempt to install Hezb CoinMiner on vulnerable Atlassian Confluence Servers was discovered in early June of 2022. Hezb is a CoinMiner recently distributed through the CVE-2022-26134 vulnerability. [4] The figure below shows a log of powershell run by the Tomcat process installing Hezb. kill.bat is the initial batch malware used for Hezb attacks. kill.bat disables real-time scan of Windows Defender and downloads and runs mad.bat that installs actual Hezb. mad.bat is a malware that installs actual CoinMiner. It uses NSSM (dsm.exe) to register XMRig (dom.exe) as a service and perform mining in the infected system. Mining Pool Address: “gulf.moneroocean[.]stream:10001” Wallet Address: “46HmQz11t8uN84P8xgThrQXSYm434VC7hhNR8be4QrGtM1Wa4cDH2GkJ2NNXZ6Dr4bYg6phNjHKYJ1QfpZRBFYW5V6qnRJN” Password: “dom.[Computer Name]” Accessing the download webpage for Hezb shows the list of malware strains mentioned above. Attackers are recently targeting vulnerable Atlassian Confluence Servers to install malware such as CoinMiner and WebShells. System administrators should check if Confluence currently under use has a vulnerable version (Confluence 7.15.0 – 7.18.0 or Confluence 6.0.0 – Confluence 7.14.2), and update the server to the latest version to prevent attacks using previously known vulnerabilities. For public servers, it is also necessary to go through a 2-step verification and control external access via security products. How to apply the official patch for Atlassian: https://confluence.atlassian.com/doc/confluence-security-advisory-2022-06-02-1130377146.html AhnLab’s anti-malware software, V3, detects and blocks the malware using the following aliases: [File Detection] – CoinMiner/PowerShell.Agent (2022.07.14.02) – Downloader/PS.Miner (2022.07.15.00) – Trojan/Win.Generic.C5154950 (2022.06.02.02) – Downloader/Win.MSIL.R504742 (2022.07.15.00) – Trojan/BAT.Agent (2022.07.14.01) – CoinMiner/BAT.Generic (2022.07.14.00) – Unwanted/Win32.NSSM.R353938 (2020.10.27.00) – Win-Trojan/Miner3.Exp (2019.12.11.01) – Trojan/Win64.XMR-Miner.R226842 (2019.12.11.01) – WebShell/JSP.Generic.S1538 (2021.06.15.03) – WebShell/JSP.Godzilla.S1719 (2022.01.10.02) – WebShell/JSP.Antsword.S1720 (2022.04.15.03) [Behavior Detection] – Execution/MDP.Powershell.M1185 MD5 1136efb1a46d1f2d508162387f30dc4d 1614943098a96caa5316fa46af91b20d 1f2a56fd54f302857846e8901232c03a 37aed4e14b31dbd3a6a58c6e952b9847 3edcde37dcecb1b5a70b727ea36521de URL http[:]//185[.]157[.]160[.]214[:]8080/ http[:]//202[.]28[.]229[.]174/win/dom-6[.]zip http[:]//202[.]28[.]229[.]174/win/dom[.]zip http[:]//202[.]28[.]229[.]174/win/kill[.]bat http[:]//202[.]28[.]229[.]174/win/mad[.]bat Gain access to related IOCs and detailed analysis by subscribing to AhnLab TIP . For subscription details, click the banner below.

자동 추천 장비와 근거 참고용

분류 체계(취약점 종류 CWE → 공격 유형 CAPEC → 공격 기법 ATT&CK) 매핑으로 계산한 후보입니다. 범위가 넓어 관련이 적은 장비가 섞입니다. 해당 장비가 이 공격을 탐지한다고 확인한 것은 아니며, 위의 '살펴볼 장비' 와 단계별 판정에는 쓰지 않습니다.

장비방법근거 경로
침입방지시스템 IPS cweCWE-917 (직접 매핑)
웹 방화벽 WAF cweCWE-917 (직접 매핑)

취약점 종류 CWE

영향받는 제품 CPE · 14건
제조사제품영향받는 버전표준 표기CPE
atlassianconfluence_data_center 1.3 이상 7.4.17 미만 cpe:2.3:a:atlassian:confluence_data_center:*:*:*:*:*:*:*:*
atlassianconfluence_data_center 7.13.0 이상 7.13.7 미만 cpe:2.3:a:atlassian:confluence_data_center:*:*:*:*:*:*:*:*
atlassianconfluence_data_center 7.14.0 이상 7.14.3 미만 cpe:2.3:a:atlassian:confluence_data_center:*:*:*:*:*:*:*:*
atlassianconfluence_data_center 7.15.0 이상 7.15.2 미만 cpe:2.3:a:atlassian:confluence_data_center:*:*:*:*:*:*:*:*
atlassianconfluence_data_center 7.16.0 이상 7.16.4 미만 cpe:2.3:a:atlassian:confluence_data_center:*:*:*:*:*:*:*:*
atlassianconfluence_data_center 7.17.0 이상 7.17.4 미만 cpe:2.3:a:atlassian:confluence_data_center:*:*:*:*:*:*:*:*
atlassianconfluence_data_center cpe:2.3:a:atlassian:confluence_data_center:7.18.0:*:*:*:*:*:*:*
atlassianconfluence_server 1.3 이상 7.4.17 미만 cpe:2.3:a:atlassian:confluence_server:*:*:*:*:*:*:*:*
atlassianconfluence_server 7.13.0 이상 7.13.7 미만 cpe:2.3:a:atlassian:confluence_server:*:*:*:*:*:*:*:*
atlassianconfluence_server 7.14.0 이상 7.14.3 미만 cpe:2.3:a:atlassian:confluence_server:*:*:*:*:*:*:*:*
atlassianconfluence_server 7.15.0 이상 7.15.2 미만 cpe:2.3:a:atlassian:confluence_server:*:*:*:*:*:*:*:*
atlassianconfluence_server 7.16.0 이상 7.16.4 미만 cpe:2.3:a:atlassian:confluence_server:*:*:*:*:*:*:*:*
atlassianconfluence_server 7.17.0 이상 7.17.4 미만 cpe:2.3:a:atlassian:confluence_server:*:*:*:*:*:*:*:*
atlassianconfluence_server cpe:2.3:a:atlassian:confluence_server:7.18.0:*:*:*:*:*:*:*
참고 링크 13건
용어 설명 CVE · CVSS · EPSS · KEV · NVD …
CVE 취약점 번호
공개된 보안 취약점마다 붙는 국제 고유 번호입니다. 예: CVE-2021-44228(Log4j). 가운데 숫자는 번호를 받은 해입니다.
CVSS 위험도 점수
취약점이 얼마나 위험한지 0~10점으로 매긴 국제 표준 점수입니다. 심각 9.0 이상 · 높음 7.0~8.9 · 중간 4.0~6.9 · 낮음 0.1~3.9. 공격이 얼마나 쉬운지와 피해 크기로 정하며, 실제로 공격받고 있는지는 반영하지 않습니다.
EPSS 악용 가능성
앞으로 30일 안에 실제 공격에 쓰일 확률을 추정한 값(0~100%)입니다. 국제 보안 단체 FIRST 가 매일 계산합니다. 높을수록 먼저 조치하세요.
KEV 실제 악용 확인
미국 사이버보안청(CISA)이 실제 공격에 쓰인 것을 확인한 취약점만 모은 목록입니다. 여기에 있으면 가장 먼저 조치할 대상입니다. '랜섬웨어' 표시는 랜섬웨어 공격에 쓰인 것으로 알려진 것입니다.
공격 코드 공개된 PoC
NVD 참고 링크 중 '공격 코드(Exploit)' 표시가 붙은 것이 있다는 뜻입니다. 누구나 공격을 시도해 볼 수 있으므로 서두르는 게 좋지만, 실제 악용이 확인된 것(KEV)과는 다릅니다.
NVD 미국 취약점 DB
미국 국립표준기술연구소(NIST)가 운영하는 취약점 데이터베이스입니다. CVE 마다 설명·CVSS 점수·영향받는 제품·취약점 종류를 붙입니다. 이 사이트 설명의 원문 출처입니다.
우선순위 이 사이트의 참고 점수
CVSS·KEV·랜섬웨어·EPSS·ASEC 언급·공격 코드 공개를 합쳐 계산한 점수입니다. 높을수록 먼저 살펴보세요. 공식 점수가 아닙니다.
ASEC 안랩 분석 글
안랩 보안대응센터 블로그입니다. 'ASEC 3' 은 분석 글에 그 CVE 번호가 3번 나왔다는 뜻이며, 국내에서 악용이 확인됐다는 뜻은 아닙니다.
CWE 취약점 종류
취약점 종류의 분류 번호입니다. 예: CWE-89 SQL 인젝션, CWE-79 크로스 사이트 스크립팅.
CPE 영향받는 제품
취약점이 있는 제품과 버전을 적는 표준 표기입니다. 예: apache:tomcat 9.0.0~9.0.80.
KB Microsoft 업데이트 번호
Microsoft 가 업데이트마다 붙이는 번호입니다. 예: KB5068791. '수정된 버전' 은 업데이트 후의 빌드 번호로, 이보다 낮으면 업데이트가 필요합니다.
시나리오 · 번역
'시나리오' 는 단계별 판정 초안이 있다는 표시입니다(없다고 안전한 것은 아닙니다). '(번역)' 은 Claude 로 기계 번역한 설명입니다.