vuln-intel취약점 정보 통합 DB

← 목록

CVE-2020-0968

위험도 높음 실제 악용 (KEV) 랜섬웨어 악용 ASEC 언급 12건

우선순위 이 사이트의 참고 점수
15.00
위험도 CVSS 3.1 · 0~10점
7.5
악용 가능성 EPSS · 30일 안에 공격에 쓰일 확률
33.5%
공개일 NVD
2020-04-15

설명 NVD 원문

인터넷 익스플로러(Internet Explorer)에서 스크립팅 엔진이 메모리상의 객체를 처리하는 방식에 원격 코드 실행(RCE) 취약점이 존재한다. 이 취약점은 '스크립팅 엔진 메모리 손상 취약점(Scripting Engine Memory Corruption Vulnerability)'이라고도 한다. 이 CVE ID는 CVE-2020-0970과 다른 취약점이다.

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

영어 원문

A remote code execution vulnerability exists in the way that the scripting engine handles objects in memory in Internet Explorer, aka 'Scripting Engine Memory Corruption Vulnerability'. This CVE ID is unique from CVE-2020-0970.

위험도 세부 항목 CVSS 3.1

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

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

조치 방법 41행

출처플랫폼·제품방식패키지수정된 버전권고문RHSA 등내용
KISA MS 4월 보안 위협에 따른 정기 보안 업데이트 권고패치(업데이트) KISA-35338 o 영향 받는 소프트웨어를 이용하는 경우 마이크로소프트사의 보안 패치 적용
Microsoft 조치 (KB 업데이트) 40행
출처플랫폼·제품방식패키지수정된 버전권고문RHSA 등내용
Microsoft Internet Explorer 11 on Windows 10 for 32-bit Systems패치(업데이트)KB4550930 KB4550930 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 for x64-based Systems패치(업데이트)KB4550930 KB4550930 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1607 for 32-bit Systems패치(업데이트)KB4550929 KB4550929 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1607 for x64-based Systems패치(업데이트)KB4550929 KB4550929 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1709 for 32-bit Systems패치(업데이트)KB4550927 KB4550927 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1709 for ARM64-based Systems패치(업데이트)KB4550927 KB4550927 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1709 for x64-based Systems패치(업데이트)KB4550927 KB4550927 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1803 for 32-bit Systems패치(업데이트)KB4550922 KB4550922 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1803 for ARM64-based Systems패치(업데이트)KB4550922 KB4550922 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1803 for x64-based Systems패치(업데이트)KB4550922 KB4550922 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1809 for 32-bit Systems패치(업데이트)KB4549949 KB4549949 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1809 for ARM64-based Systems패치(업데이트)KB4549949 KB4549949 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1809 for x64-based Systems패치(업데이트)KB4549949 KB4549949 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1903 for 32-bit Systems패치(업데이트)KB4549951 KB4549951 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1903 for ARM64-based Systems패치(업데이트)KB4549951 KB4549951 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1903 for x64-based Systems패치(업데이트)KB4549951 KB4549951 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1909 for 32-bit Systems패치(업데이트)KB4549951 KB4549951 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1909 for ARM64-based Systems패치(업데이트)KB4549951 KB4549951 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 10 Version 1909 for x64-based Systems패치(업데이트)KB4549951 KB4549951 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 7 for 32-bit Systems Service Pack 1패치(업데이트)KB4550905 KB4550905 IE Cumulative · 재시작 필요
Microsoft Internet Explorer 11 on Windows 7 for 32-bit Systems Service Pack 1패치(업데이트)KB4550964 KB4550964 월간 롤업 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 7 for x64-based Systems Service Pack 1패치(업데이트)KB4550905 KB4550905 IE Cumulative · 재시작 필요
Microsoft Internet Explorer 11 on Windows 7 for x64-based Systems Service Pack 1패치(업데이트)KB4550964 KB4550964 월간 롤업 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 8.1 for 32-bit systems패치(업데이트)KB4550905 KB4550905 IE Cumulative · 재시작 필요
Microsoft Internet Explorer 11 on Windows 8.1 for 32-bit systems패치(업데이트)KB4550961 KB4550961 월간 롤업 · 재시작 필요
Microsoft Internet Explorer 11 on Windows 8.1 for x64-based systems패치(업데이트)KB4550905 KB4550905 IE Cumulative · 재시작 필요
Microsoft Internet Explorer 11 on Windows 8.1 for x64-based systems패치(업데이트)KB4550961 KB4550961 월간 롤업 · 재시작 필요
Microsoft Internet Explorer 11 on Windows RT 8.1패치(업데이트)KB4550961 KB4550961 월간 롤업 · 재시작 필요
Microsoft Internet Explorer 11 on Windows Server 2008 R2 for x64-based Systems Service Pack 1패치(업데이트)KB4550905 KB4550905 IE Cumulative · 재시작 필요
Microsoft Internet Explorer 11 on Windows Server 2008 R2 for x64-based Systems Service Pack 1패치(업데이트)KB4550964 KB4550964 월간 롤업 · 재시작 필요
Microsoft Internet Explorer 11 on Windows Server 2012패치(업데이트)KB4550905 KB4550905 IE Cumulative · 재시작 필요
Microsoft Internet Explorer 11 on Windows Server 2012패치(업데이트)KB4550917 KB4550917 월간 롤업 · 재시작 필요
Microsoft Internet Explorer 11 on Windows Server 2012 R2패치(업데이트)KB4550905 KB4550905 IE Cumulative · 재시작 필요
Microsoft Internet Explorer 11 on Windows Server 2012 R2패치(업데이트)KB4550961 KB4550961 월간 롤업 · 재시작 필요
Microsoft Internet Explorer 11 on Windows Server 2016패치(업데이트)KB4550929 KB4550929 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 11 on Windows Server 2019패치(업데이트)KB4549949 KB4549949 보안 업데이트 · 재시작 필요
Microsoft Internet Explorer 9 on Windows Server 2008 for 32-bit Systems Service Pack 2패치(업데이트)KB4550905 KB4550905 IE Cumulative · 재시작 필요
Microsoft Internet Explorer 9 on Windows Server 2008 for 32-bit Systems Service Pack 2패치(업데이트)KB4550951 KB4550951 월간 롤업 · 재시작 필요
Microsoft Internet Explorer 9 on Windows Server 2008 for x64-based Systems Service Pack 2패치(업데이트)KB4550905 KB4550905 IE Cumulative · 재시작 필요
Microsoft Internet Explorer 9 on Windows Server 2008 for x64-based Systems Service Pack 2패치(업데이트)KB4550951 KB4550951 월간 롤업 · 재시작 필요

CISA 조치 권고 KEV

제조사 안내에 따라 업데이트를 적용하세요.

영어 원문

Apply updates per vendor instructions.

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

살펴볼 장비 초안

공격 대상: PC 프로그램. '이 장비에서 살펴볼 취약점' 이라는 분류이며, 장비가 탐지한다는 확인이 아닙니다.

장비 보기정도분류 이유
사용자 PC (EDR·메일)주사용자 행동이 필요한 메모리 결함 (문서·웹페이지 열기 등)

단계별 판정 예시 환경

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

출처별 내용 14건

CISA KEV Microsoft Internet Explorer Scripting Engine Memory Corruption Vulnerability 2021-11-03

원문 보기

Apply updates per vendor instructions.

KISA MS 4월 보안 위협에 따른 정기 보안 업데이트 권고 2020-04-16

원문 보기

□ 4월 보안업데이트 개요(총 10종) o 등급 : 긴급(Critical) 7종, 중요(Important) 3종 o 발표일 : 2020.04.16.(목) o 업데이트 내용 업데이트 내용 - 제품군, 중요도, 영향, KB번호의 정보를 제공 제품군 중요도 영향 KB번호 Windows 10 v1909, v1903, v1809, v1803, v1709, Edge 긴급 원격 코드 실행 4549949 등 6개 Windows Server 2019, Windows Server 2016, Server Core 설치(2019, 2016, v1909, v1903, v1803) 긴급 원격 코드 실행 4549949 등 4개 Windows 8.1, Windows Server 2012 R2, Windows Server 2012 긴급 원격 코드 실행 4550917 등 4개 Internet Explorer 긴급 원격 코드 실행 4549949 등 10개 Microsoft Office 관련 소프트웨어 중요 원격 코드 실행 2553306 등 40개 Microsoft SharePoint 관련 소프트웨어 긴급 원격 코드 실행 4011581 등 12개 Microsoft Dynamics 관련 소프트웨어 긴급 원격 코드 실행 4549673 등 2개 Visual Studio 중요 권한상승 4540102 ChakraCore 긴급 원격 코드 실행 - 윈도우 디펜더 중요 권한상승 - o 참고사이트 - 한글 : https://portal.msrc.microsoft.com/ko-kr/security-guidance - 영문 : https://portal.msrc.microsoft.com/en-us/security-guidance 1. Windows 10 v1909, v1903, v1809, v1803, v1709, Edge 보안 업데이트 □ 설명 o 공격자가 특수하게 제작된 악성 응용 프로그램을 실행할 경우, 원격코드실행을 허용하는 취약점 o 관련취약점 : - 원격코드실행 취약점(CVE-2020-0687, CVE-2020-0889, CVE-2020-0907, CVE-2020-0910, CVE-2020-0938, CVE-2020-0948, CVE-2020-0949, CVE-2020-0950, CVE-2020-0953, CVE-2020-0959, CVE-2020-0960, CVE-2020-0964, CVE-2020-0965, CVE-2020-0969, CVE-2020-0969, CVE-2020-0970, CVE-2020-0970, CVE-2020-0988, CVE-2020-0992, CVE-2020-0994, CVE-2020-0995, CVE-2020-0999, CVE-2020-1008, CVE-2020-1020) - 권한상승 취약점(CVE-2020-0784, CVE-2020-0888, CVE-2020-0913, CVE-2020-0917, CVE-2020-0918, CVE-2020-0934, CVE-2020-0936, CVE-2020-0940, CVE-2020-0942, CVE-2020-0944, CVE-2020-0956, CVE-2020-0958, CVE-2020-0983, CVE-2020-0985, CVE-2020-0996, CVE-2020-1000, CVE-2020-1001, CVE-2020-1003, CVE-2020-1004, CVE-2020-1006, CVE-2020-1009, CVE-2020-1011, CVE-2020-1014, CVE-2020-1015, CVE-2020-1017, CVE-2020-1027, CVE-2020-1029, CVE-2020-1094) - 서비스거부 취약점(CVE-2020-0794, CVE-2020-0993) - 정보노출 취약점(CVE-2020-0699, CVE-2020-0821, CVE-2020-0937, CVE-2020-0939, CVE-2020-0945, CVE-2020-0946, CVE-2020-0947, CVE-2020-0952, CVE-2020-0955, CVE-2020-0962, CVE-2020-0982, CVE-2020-0987, CVE-2020-1005, CVE-2020-1007, CVE-2020-1016) - 보안 기능 우회(CVE-2020-0981) o 영향 : 원격코드실행 o 중요도 : 긴급 o 관련 KB번호 - 4549949, 4549951, 4550922, 4550927, 4550929, 4550930 □ 해결책 o 영향 받는 소프트웨어를 이용하는 경우 마이크로소프트사의 보안 패치 적용 2. Windows Server 2019, Windows Server 2016, Server Core 설치(2019, 2016, v1909, v1903, v1803) 보안 업데이트 □ 설명 o 공격자가 특수하게 제작된 악성 응용 프로그램을 실행할 경우, 원격코드실행을 허용하는 취약점 o 관련취약점 : - 원격코드실행 취약점(CVE-2020-0687, CVE-2020-0889, CVE-2020-0907, CVE-2020-0910, CVE-2020-0938, CVE-2020-0948, CVE-2020-0949, CVE-2020-0950, CVE-2020-0953, CVE-2020-0959, CVE-2020-0960, CVE-2020-0964, CVE-2020-0965, CVE-2020-0988, CVE-2020-0992, CVE-2020-0994, CVE-2020-0995, CVE-2020-0999, CVE-2020-1008, CVE-2020-1020) - 권한상승 취약점(CVE-2020-0784, CVE-2020-0888, CVE-2020-0913, CVE-2020-0917, CVE-2020-0918, CVE-2020-0934, CVE-2020-0936, CVE-2020-0940, CVE-2020-0942, CVE-2020-0944, CVE-2020-0956, CVE-2020-0958, CVE-2020-0983, CVE-2020-0985, CVE-2020-0996, CVE-2020-1000, CVE-2020-1001, CVE-2020-1003, CVE-2020-1004, CVE-2020-1006, CVE-2020-1009, CVE-2020-1011, CVE-2020-1014, CVE-2020-1015, CVE-2020-1017, CVE-2020-1027, CVE-2020-1029, CVE-2020-1094) - 서비스거부 취약점(CVE-2020-0794, CVE-2020-0993) - 정보노출 취약점(CVE-2020-0699, CVE-2020-0821, CVE-2020-0937, CVE-2020-0939, CVE-2020-0945, CVE-2020-0946, CVE-2020-0947, CVE-2020-0952, CVE-2020-0955, CVE-2020-0962, CVE-2020-0982, CVE-2020-0987, CVE-2020-1005, CVE-2020-1007, CVE-2020-1016) - 보안 기능 우회(CVE-2020-0981) o 영향 : 원격코드실행 o 중요도 : 긴급 o 관련 KB번호 - 4549949, 4549951, 4550922, 4550929 □ 해결책 o 영향 받는 소프트웨어를 이용하는 경우 마이크로소프트사의 보안 패치 적용 3. Windows 8.1, Windows Server 2012 R2, Windows Server 2012 보안 업데이트 □ 설명 o 공격자가 특수하게 제작된 악성 응용 프로그램을 실행할 경우, 원격코드실행을 허용하는 취약점 o 관련취약점 : - 원격코드실행 취약점(CVE-2020-0687, CVE-2020-0889, CVE-2020-0907, CVE-2020-0938, CVE-2020-0953, CVE-2020-0959, CVE-2020-0960, CVE-2020-0964, CVE-2020-0965, CVE-2020-0988, CVE-2020-0992, CVE-2020-0994, CVE-2020-0995, CVE-2020-0999, CVE-2020-1008, CVE-2020-1020) - 권한상승 취약점(CVE-2020-0936, CVE-2020-0956, CVE-2020-0958, CVE-2020-1000, CVE-2020-1003, CVE-2020-1004, CVE-2020-1009, CVE-2020-1011, CVE-2020-1014, CVE-2020-1015, CVE-2020-1027, CVE-2020-1094) - 서비스 거부 취약점(CVE-2020-0993) - 정보노출 취약점(CVE-2020-0821, CVE-2020-0945, CVE-2020-0946, CVE-2020-0952, CVE-2020-0955, CVE-2020-0962, CVE-2020-0982, CVE-2020-0987, CVE-2020-1005, CVE-2020-1007, CVE-2020-1016) o 영향 : 원격코드실행 o 중요도 : 긴급 o 관련 KB번호 - 4550917, 4550961, 4550970, 4550971 □ 해결책 o 영향 받는 소프트웨어를 이용하는 경우 마이크로소프트사의 보안 패치 적용 4. Internet Explorer 보안 업데이트 □ 설명 o 공격자가 특수하게 제작된 악성 응용 프로그램을 실행할 경우, 원격코드실행을 허용하는 취약점 o 관련취약점 : - 원격코드실행 취약점(CVE-2020-0895, CVE-2020-0966, CVE-2020-0967, CVE-2020-0968) o 영향 : 원격코드실행 o 중요도 : 긴급 o 관련 KB번호 - 4549949, 4549951, 4550905, 4550917, 4550922, 4550927, 4550929, 4550930, 4550961, 4550964 □ 해결책 o 영향 받는 소프트웨어를 이용하는 경우 마이크로소프트사의 보안 패치 적용 5. Microsoft Office 관련 소프트웨어 보안 업데이트 □ 설명 o 공격자가 특수하게 제작된 악성 응용 프로그램을 실행할 경우, 원격코드실행을 허용하는 취약점 o 관련취약점 : - 원격코드실행 취약점(CVE-2020-0760, CVE-2020-0906, CVE-2020-0931, CVE-2020-0961, CVE-2020-0979, CVE-2020-0980, CVE-2020-0991) - 스푸핑 취약점(CVE-2020-0954) o 영향 : 원격코드실행 o 중요도 : 중요 o 관련 KB번호 - 2553306, 3128012, 3203462, 4011104, 4032216, 4462153, 4462210, 4462225, 4464527, 4464544, 4475609, 4484117, 4484125, 4484126, 4484132, 4484167, 4484214, 4484226, 4484229, 4484235, 4484238, 4484244, 4484246, 4484258, 4484260, 4484266, 4484269, 4484273, 4484274, 4484281, 4484283, 4484284, 4484285, 4484287, 4484290, 4484294, 4484295, 4484296, 4484300, 4484319 □ 해결책 o 영향 받는 소프트웨어를 이용하는 경우 마이크로소프트사의 보안 패치 적용 6. Microsoft SharePoint 관련 소프트웨어 보안 업데이트 □ 설명 o 공격자가 특수하게 제작된 악성 응용 프로그램을 실행할 경우 발생하는 원격코드 취약점 o 관련취약점 : - 원격코드실행 취약점(CVE-2020-0920, CVE-2020-0929, CVE-2020-0931, CVE-2020-0932, CVE-2020-0971, CVE-2020-0974, CVE-2020-0980) - 스푸핑 취약점(CVE-2020-0923, CVE-2020-0924, CVE-2020-0925, CVE-2020-0926, CVE-2020-0927, CVE-2020-0930, CVE-2020-0933, CVE-2020-0954, CVE-2020-0972, CVE-2020-0973, CVE-2020-0975, CVE-2020-0976, CVE-2020-0977, CVE-2020-0978) o 영향 : 원격코드실행 o 중요도 : 긴급 o 관련 KB번호 - 4011581, 4011584, 4484291, 4484292, 4484293, 4484298, 4484299, 4484301, 4484307, 4484308, 4484321, 4484322 □ 해결책 o 영향 받는 소프트웨어를 이용하는 경우 마이크로소프트사의 보안 패치 적용 7. Microsoft Dynamics 관련 소프트웨어 보안 업데이트 □ 설명 o 공격자가 특수하게 제작된 악성 응용 프로그램을 실행할 경우 발생하는 원격코드 취약점 o 관련취약점 : - 원격코드실행 취약점(CVE-2020-1022) - 정보노출 취약점(CVE-2020-1018) o 영향 : 원격코드실행 o 중요도 : 긴급 o 관련 KB번호 - 4549673, 4549674 □ 해결책 o 영향 받는 소프트웨어를 이용하는 경우 마이크로소프트사의 보안 패치 적용 8. Visual Studio 보안 업데이트 □ 설명 o 공격자가 특수하게 제작된 악성 응용 프로그램을 실행할 경우, 권한상승을 허용하는 취약점 o 관련취약점 : - 권한상승 취약점(CVE-2020-0899, 0900) - 보안 기능 우회(CVE-2020-1026) o 영향 : 권한상승 o 중요도 : 중요 o 관련 KB번호 - 4540102 □ 해결책 o 영향 받는 소프트웨어를 이용하는 경우 마이크로소프트사의 보안 패치 적용 9. ChakraCore 보안 업데이트 □ 설명 o 공격자가 특수하게 제작된 악성 응용 프로그램을 실행할 경우, 원격코드를 허용하는 취약점 o 관련취약점 : - 원격코드실행 취약점(CVE-2020-0969, 0970) o 영향 : 원격코드실행 o 중요도 : 긴급 □ 해결책 o 영향 받는 소프트웨어를 이용하는 경우 마이크로소프트사의 보안 패치 적용 10. 윈도우 디펜더 보안 업데이트 □ 설명 o 공격자가 특수하게 제작된 악성 응용 프로그램을 실행할 경우 발생하는 권한상승 취약점 o 관련취약점 : - 권한상승 취약점(CVE-2020-1002) o 영향 : 권한상승 o 중요도 : 중요 □ 해결책 o 영향 받는 소프트웨어를 이용하는 경우 마이크로소프트사의 보안 패치 적용

ASEC V3 행위 진단을 통한 취약점 JAVA 스크립트(CVE-2021-26411) 탐지 (Magniber) 2021-06-22

원문 보기

파일리스(Fileless) 형태로 동작하는 매그니베르(Magniber) 랜섬웨어는 CVE-2021-26411 취약점 JAVA 스크립트를 사용하여 IE 브라우져를 통해 활발하게 유포되고 있다. 매그니베르 랜섬웨어는 내부 코드 흐름 또한 빠르게 변화하고 있으며, 여전히 국내 피해사례가 많은 랜섬웨어이다. 매그니베르 랜섬웨어는 IE 취약점( CVE-2021-26411)을 통해 유포 중임으로 IE 사용자의 경우 보안패치가 필수적으로 요구된다. 현재 V3 제품은 ‘행위 진단‘ 기능으로 최신 메그니베르 랜섬웨어의 탐지/차단이 가능하다. [그림 1]은 최신 매그니베르 랜섬웨어의 감염 과정이다. 매그니베르 랜섬웨어는 IE 브라우저 취약점을 통한 감염으로 (별도의 파일생성 없이)파일리스 형태로 동작하며, 인젝션(Injection)을 통한 파일리스 형태로 동작한다. 따라서 랜섬웨어 행위를 수행하는 주체는 감염 시스템의 다수의 정상 프로세스이다. 간략하게 [그림 1]의 (1)번~(4)번 과정을 통해 동작하며, 노란색으로 표시된 프로세스가 랜섬웨어 행위를 수행하는 프로세스들로 사용자 PC에 존재하는 정상 프로세스이다. [그림 1] 매그니베르 랜섬웨어 감염 과정 도식화 근래의 매그니베르 랜섬웨어는 [그림 1]과 같은 구조를 보이고 있지만, [그림 2]와 같이 내부의 쉘코드 패턴 및 악성코드 주입 방식에서 지속적으로 변화를 보이고 있다. [그림 2] 매그니베르 Exploit Kit 변화과정 타임라인 타임라인을 살펴보면 올해 초까지 CVE-2020-0968 취약점을 사용해왔던 매그니베르 EK는 2021년 3월 15일 공개된 CVE-2021-26411 POC 코드를 바탕으로 취약점을 새롭게 변경하였다. 주의! 매그니베르(Magniber) 랜섬웨어 CVE-2021-26411 취약점으로 국내 유포 중 – ASEC BLOG 매그니베르(Magniber) 랜섬웨어 유포자는 V3의 진단을 회피하기 위해 지속적으로 진화해왔다. ASEC블로그를 지속적으로 구독해온 구독자라면 안랩과 매그니베르 랜섬웨어 제작자와의 쫓고 쫓기는 긴 역사에 대해선 익히 알고 있을 것이다. 매그니베르 유포자는 안랩 창립기념일(3/15)로 휴일인 날을 노려 그 동안 사용해왔던 취약점(CVE-2020-0968) 대신 CVE-2021-26411 취약점으로 긴급 변경하였다. ASEC 분석팀은 이러한 탐지 우회 시도를 빠르게 인지하기 위해 자동 대응 및 수집 시스템을 구축 운영 중이며, 해당 … 공격자는 새로운 취약점으로 변경한 후 V3의 행위 및 메모리 탐지 우회를 위해 쉘코드 난독화 및 인젝션 대상 변경 등 다양한 방식으로 진단 우회를 시도해왔으나 현재 V3 최신 엔진에서는 해당 취약점에 대해 행위 및 메모리 탐지가 가능해졌다. 쉘코드 변화 과정과 인젝션 대상 변화에 대해 간략히 살펴보면 4/22일 공격자는 쉘코드 난독화를 통해 4/15일 엔진에 배포된 V3 메모리 탐지 우회를 시도하였다. V3 메모리 진단을 통한 취약점(CVE-2021-26411) 탐지 (Magniber) – ASEC BLOG 파일리스(Fileless) 형태로 동작하는 매그니베르(Magniber) 랜섬웨어는 2021년 3월 기존 CVE-2020-0968 취약점 대신 CVE-2021-26411 취약점을 사용하는 스크립트로 변경되었다. 매그니베르(Magniber) 랜섬웨어는 여전히 국내 피해사례가 많은 상황이며, IE 취약점( CVE-2021-26411)을 통해 유포 중임으로 IE 사용자의 경우 보안패치가 필수적으로 요구된다. V3 제품에 탑재된 ‘프로세스 메모리 진단’ 기능으로 최신 메그니베르(Magniber)의 탐지/차단이 가능하다. 매그니베르 랜섬웨어는… [그림 3] 쉘코드 변화 (기존 -> 난독화) 이후 5/4일에는 인젝션 대상이 기존 32bit 프로세스에서 64bit 프로세스로 변경됨에 따라 64bit 환경의 사용자는 기존 보다 더 많은 정상 프로세스에 매그니베르 코드가 인젝션된다. (32bit 사용자는 32bit 프로세스 대상 인젝션) [그림 4] 32bit 프로세스 검증 루틴 (32bit 프로세스에 매그니베르 코드 인젝션) [그림 5] 64bit 프로세스 검증 루틴 (64bit 프로세스에 매그니베르 코드 인젝션) 위 동영상처럼 최신 V3 엔진에서는 사용자가 취약한 웹페이지 방문 시 CVE-2021-26411 취약점 스크립트의 비정상적인 행위에 대해 탐지한다. 해당 행위 탐지 기능은 2021년 06월 18일 기준 V3를 사용하는 모든 고객에게 배포되어 랜섬웨어가 사용자의 문서를 암호화 하기전에 사전 탐지 및 차단할 수 있다. 그러나 랜섬웨어 감염에 가장 중요한 예방은 최신 보안 업데이트를 유지하는 것이다. 따라서 사용자는 최신 보안 업데이트를 생활화하고 신뢰되지 않은 사이트 방문은 자제해야 한다. [행위 진단] – Exploit/MDP.Magniber.M3773 (2021.06.18.00) [메모리 진단] – Ransomware/Win.Magniber.XM101 (2021.06.10.02) [MS 보안 업데이트] – https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-26411

ASEC V3 메모리 진단을 통한 취약점(CVE-2021-26411) 탐지 (Magniber) 2021-04-15

원문 보기

파일리스(Fileless) 형태로 동작하는 매그니베르(Magniber) 랜섬웨어는 2021년 3월 기존 CVE-2020-0968 취약점 대신 CVE-2021-26411 취약점을 사용하는 스크립트로 변경되었다. 매그니베르(Magniber) 랜섬웨어는 여전히 국내 피해사례가 많은 상황이며, IE 취약점( CVE-2021-26411)을 통해 유포 중임으로 IE 사용자의 경우 보안패치가 필수적으로 요구된다. V3 제품에 탑재된 ‘프로세스 메모리 진단‘ 기능으로 최신 메그니베르(Magniber)의 탐지/차단이 가능하다. 매그니베르 랜섬웨어는 IE 브라우저 취약점을 통한 감염으로 (별도의 파일생성 없이)파일리스 형태로 동작하며, 인젝션(Injection)을 통한 파일리스 형태로 동작한다.  따라서 랜섬웨어 행위를 수행하는 주체가 감염 시스템의 다수의 정상 프로세스들이다. 아래의 그림은 매그니베르 랜섬웨어의 동작과정을 나타낸다. 간략하게 (1)번~(4)번 과정을 통해 동작하며, 노란색으로 표시된 프로세스가 랜섬웨어 행위를 수행하는 프로세스들로 모두 정상 프로세스임을 알 수 있다. V3 제품에는 ‘프로세스 메모리 진단‘ 기능이 포함되어 있으며, 실시간으로 프로세스 메모리 영역 중 악의적인 부분을 탐지하여 치료하는 기능을 수행 하며 (4) 단계의 랜섬웨어에 의해 수행되는 정상 프로세스에 악의적인 코드 인젝션 과정을 실시간으로 진단/치료하여 랜섬웨어 감염을 차단할 수 있다. (진단 치료 대상이 정상 프로세스로 사용자의 정상 프로세스가 종료될 수 있다.) V3 제품의 프로세스 메모리 진단 기능 V3 제품에 적용된 실시간 ‘프로세스 메모리 진단’을 활성화 하면, 아래와 같이 파일리스 형태의 매그니베르 랜섬웨어가 차단된다. V3 제품 프로세스 메모리 진단 화면 아래 영상은 V3 차단 기능 중 프로세스 메모리 진단 기능을 이용한 매그니베르(Magniber) 랜섬웨어 차단 영상이다. [V3제품에 의한 매그니베르 랜섬웨어 행위탐지 차단영상] / OS : Windows 10 64bit [V3제품에 의한 매그니베르 랜섬웨어 행위탐지 차단영상] / OS : Windows 7 32bit [V3 진단명] 행위탐지 진단명 : Ransom/MDP.Magniber.M3431 프로세스 메모리 진단명 (엔진버전) : Ransomware/Win.Magniber.XM101 (2021.04.16.00) Ransomware/Win.Magniber.XM102 (2021.04.16.00) Ransomware/Win.Magniber.XM103 (2021.04.16.00) Ransomware/Win.Magniber.XM104 (2021.04.16.00)

ASEC 주의! 매그니베르(Magniber) 랜섬웨어 IE 0-Day 취약점으로 국내 유포 중 2021-03-16

원문 보기

매그니베르(Magniber) 랜섬웨어 유포자는 V3의 진단을 회피하기 위해 지속적으로 진화해왔다. ASEC블로그를 지속적으로 구독해온 구독자라면 안랩과 매그니베르 랜섬웨어 제작자와의 쫓고 쫓기는 긴 역사에 대해선 익히 알고 있을 것이다. 매그니베르 유포자는 안랩 창립기념일(3/15)로 휴일인 날을 노려 그 동안 사용해왔던 취약점(CVE-2020-0968) 대신 CVE-2021-26411 취약점으로 긴급 변경하였다. ASEC 분석팀은 이러한 탐지 우회 시도를 빠르게 인지하기 위해 자동 대응 및 수집 시스템을 구축 운영 중이며, 해당 시스템을 통해 최신 CVE-2021-26411 취약점 스크립트로 변경한 것을 빠르게 포착할 수 있었다. 해당 취약점은 3월 9일 MS에서 보안패치 배포되었음으로 IE 사용자의 경우, 빠른 패치 적용이 필요하다. V3 사용자의 경우, 행위탐지 기능에 의해 이러한 파일리스(Fileless) 형태의 취약점 공격에 사전차단이 가능하다. https://msrc.microsoft.com/update-guide/en-us/vulnerability/CVE-2021-26411  참고- 과거 취약점 변경 포착: Magniber 랜섬웨어 유포 취약점 변경(CVE-2018-8174 -> CVE-2019-1367) – ASEC BLOG 매그니베르(Magniber) 랜섬웨어는 취약한 인터넷 익스플로러를 통한 웹페이지 접속만으로 랜섬웨어를 감염시키는 파일리스(Fileless) 형태의 악성코드이다. 국내에 많은 피해를 입히고 있는 대표적인 랜섬웨어로 ASEC 분석팀은 이러한 IE(Internet Explore) 취약점을 통해 유포되는 Magniber 랜섬웨어를 지속적으로 모니터링하고 있다. 그리고 2020년 2월 11일부터 유포에 사용하던 취약점이 CVE-2018-8174에서 CVE-2019-1367으로 새롭게 변경하여 국내에 유포 중임을 확인하였다. 아래 [그림 1… Magniber 랜섬웨어 유포 취약점 변경(CVE-2018-8174 -> CVE-2019-1367) Magniber 랜섬웨어 유포 취약점 변경(CVE-2019-1367 -> CVE-2020-0968) 및 행위 진단 우회 시도 – ASEC BLOG ASEC 분석팀은 올해 초 Magniber 제작자가 랜섬웨어를 유포하기 위해 사용하는 취약점을 변경한 것을 공개했었다. https://asec.ahnlab.com/ko/1288 Magniber 제작자가 유포에 사용하던 CVE-2019-1367취약점은 긴급 보안패치(Version 1903)로 인해 업데이트를 수행한 시스템은 2019년 9월 23일부터는 취약점이 동작하지 않았다. 이에 제작자는 최신 취약점을 변경(CVE-2020-0968)하여 감염 대상을 확장하였으며, 설상가상으로 Windows7의 경우 올해 1월 14일 기점으로 서비… %EB%A7%A4%EA%B7%B8%EB%8B%88%EB%B2%A0%EB%A5%B4(Magniber)%20%EB%9E%9C%EC%84%AC%EC%9B%A8%EC%96%B4%20%EC%9C%A0%ED%8F%AC%EC%9E%90%EB%8A%94%20V3%EC%9D%98%20%EC%A7%84%EB%8B%A8%EC%9D%84%20%ED%9A%8C%ED%94%BC%ED%95%98%EA%B8%B0%20%EC%9C%84%ED%95%B4%20%EC%A7%80%EC%86%8D%EC%A0%81%EC%9C%BC%EB%A1%9C%20%EC%A7%84%ED%99%94%ED%95%B4%EC%99%94%EB%8B%A4.%20 ASEC%EB%B8%94%EB%A1%9C%EA%B7%B8%EB%A5%BC%20%EC%A7%80%EC%86%8D%EC%A0%81%EC%9C%BC%EB%A1%9C%20%EA%B5%AC%EB%8F%85%ED%95%B4%EC%98%A8%20%EA%B5%AC%EB%8F%85%EC%9E%90%EB%9D%BC%EB%A9%B4%20%EC%95%88%EB%9E%A9%EA%B3%BC%20%EB%A7%A4%EA%B7%B8%EB%8B%88%EB%B2%A0%EB%A5%B4%20%EB%9E%9C%EC%84%AC%EC%9B%A8%EC%96%B4%EC%9D%98%20%EC%AB%93%EA%B3%A0%20%EC%AB%93%EA%B8%B0%EB%8A%94%20%EA%B8%B4%20%EC%97%AD%EC%82%AC%EC%97%90%20%EB%8C%80%ED%95%B4%EC%84%A0%20%EC%9D%B5%ED%9E%88%20%EC%95%8C%EA%B3%A0%20%EC%9E%88%EC%9D%84%20%EA%B2%83%EC%9D%B4%EB%8B%A4. ASEC%EB%B6%84%EC%84%9D%ED%8C%80%EC%9D%80%20%EC%9D%B4%EB%9F%AC%ED%95%9C%20%ED%83%90%EC%A7%80%20%EC%9A%B0%ED%9A%8C%20%EC%8B%9C%EB%8F%84%EB%A5%BC%20%EB%B9%A0%EB%A5%B4%EA%B2%8C%20%EC%9D%B8%EC%A7%80%ED%95%98%EA%B8%B0%20%EC%9C%84%ED%95%B4%20%EC%9E%90%EB%8F%99%20%EB%8C%80%EC%9D%91%20%EB%B0%8F%20%EC%88%98%EC%A7%91%20%EC%8B%9C%EC%8A%A4%ED%85%9C%EC%9D%84%20%EA%B5%AC%EC%B6%95%ED%95%98%EC%98%80%EC%9C%BC%EB%A9%B0,%20%EC%B0%BD%EB%A6%BD%EA%B8%B0%EB%85%90%EC%9D%BC%EB%A1%9C%20%ED%9C%B4%EC%9D%BC%EC%9D%B8%20%EC%95%88%EB%9E%A9%EC%9D%84%20%EA%B8%B0%ED%9A%8C%EB%A1%9C%20%EB%85%B8%EB%A0%B8%EC%A7%80%EB%A7%8C%20%ED%95%B4%EB%8B%B9%20%EC%8B%9C%EC%8A%A4%ED%85%9C%EC%9D%80%20%ED%83%90%EC%A7%80%EB%A5%BC%20%EC%9A%B0%ED%9A%8C%ED%95%98%EA%B8%B0%20%EC%9C%84%ED%95%B4%20%EC%A0%81%EC%9A%A9%ED%95%9C%20%EC%B5%9C%EC%8B%A0%200-day%20%EC%B7%A8%EC%95%BD%EC%A0%90%20%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8%EB%A1%9C%20%EB%B3%80%EA%B2%BD%ED%95%9C%20%EA%B2%83%EC%9D%84%20%EB%B0%94%EB%A1%9C%20%ED%8F%AC%EC%B0%A9%ED%95%98%EC%98%80%EB%8B%A4. %EF%81%AC%20%EC%B0%B8%EA%B3%A0-%20%EA%B3%BC%EA%B1%B0%20%EC%B7%A8%EC%95%BD%EC%A0%90%20%EB%B3%80%EA%B2%BD%20%ED%8F%AC%EC%B0%A9: Magniber%20%EB%9E%9C%EC%84%AC%EC%9B%A8%EC%96%B4%20%EC%9C%A0%ED%8F%AC%20%EC%B7%A8%EC%95%BD%EC%A0%90%20%EB%B3%80%EA%B2%BD(CVE-2018-8174%20->%20CVE-2019-1367) Magniber%20%EB%9E%9C%EC%84%AC%EC%9B%A8%EC%96%B4%20%EC%9C%A0%ED%8F%AC%20%EC%B7%A8%EC%95%BD%EC%A0%90%20%EB%B3%80%EA%B2%BD(CVE-2019-1367%20->%20CVE-2020-0968)%20%EB%B0%8F%20%ED%96%89%EC%9C%84%20%EC%A7%84%EB%8B%A8%20%EC%9A%B0%ED%9A%8C%20%EC%8B%9C%EB%8F%84)</p%3E%20%3C!–%20/wp:paragraph%20–%3E”>Magniber 랜섬웨어 유포 취약점 변경(CVE-2019-1367 -> CVE-2020-0968) 및 행위 진단 우회 시도) 변경된 최신 CVE-2021-26411 취약점은 구글과 마이크로소프트 및 여러 보안업에 종사하고 있는 연구원의 정보를 탈취 하기 위하여 북한에서 사용한 Internet Explore의 취약점 코드와 매우 유사한 부분이 많다.  참조 페이지 New campaign targeting security researchers(Google) ZINC attacks against security researchers(Microsoft) Hacking group also used an IE zero-day against security researchers(Lazarus 그룹 추정) Internet Explore 0-day 분석 상기 3건의 정보 탈취 시도는 모두 MHTML파일을 이용하여 codevexillium[.]org에 접속을 Internet Explore로 유도하였다(MHTML실행 기본 프로세스인 Internet Explore사용을 유도함) 해당 페이지(codevexillium[.]org)는 취약점을 갖고 있는 JS코드를 포함하고 있었으며 아래 수집된 매그니베르가 사용하는 코드와 매우 유사한 것을 알 수 있다. [codevexillium[.]org 수집 코드 유사 부분-1] *출처: https://enki.co.kr/blog/2021/02/04/ie_0day.html Internet Explore사용자는 매그니베르 공격에 매우 취약하다. 앞선 보안 연구자를 노린 공격에서도 Internet Explore사용을 유도하기 위해 MHTML파일로 유포한 정황을 보면 보안에 취약한 프로그램 사용은 지양해야 한다. 안랩은 위와 같은 공격을 행위기반탐지로 파일 암호화 수행하기 전에 차단하는 것을 알 수 있다. V3 행위 탐지 진단명 – Malware/MDP.Inject.M2906 – Malware/MDP.Inject.M3431 취약점 변경 전 후의 V3 행위탐지 진단명의 변화는 다음과 같다. 하루 평균 400~600건 사이의 차단 로그가 확인된 행위룰 M3379번이 3월 15일자에서는 129건으로 급격하게 감소하였고, 행위룰 M2906번이 545건으로 급증한 것을 알 수 있다. 매그니베르 제작자에 의해 새로운 취약점으로의 변경이 빠르게 진행될 수 있는 만큼 사용자 주의가 필요하다.

ASEC Magniber 랜섬웨어 유포 취약점 변경(CVE-2019-1367 -&gt; CVE-2020-0968) 및 행위 진단 우회 시도 2020-12-17

원문 보기

ASEC 분석팀은 올해 초 Magniber 제작자가 랜섬웨어를 유포하기 위해 사용하는 취약점을 변경한 것을 공개했었다. Magniber 랜섬웨어 유포 취약점 변경(CVE-2018-8174 -> CVE-2019-1367) – ASEC BLOG 매그니베르(Magniber) 랜섬웨어는 취약한 인터넷 익스플로러를 통한 웹페이지 접속만으로 랜섬웨어를 감염시키는 파일리스(Fileless) 형태의 악성코드이다. 국내에 많은 피해를 입히고 있는 대표적인 랜섬웨어로 ASEC 분석팀은 이러한 IE(Internet Explore) 취약점을 통해 유포되는 Magniber 랜섬웨어를 지속적으로 모니터링하고 있다. 그리고 2020년 2월 11일부터 유포에 사용하던 취약점이 CVE-2018-8174에서 CVE-2019-1367으로 새롭게 변경하여 국내에 유포 중임을 확인하였다. 아래 [그림 1… https://asec.ahnlab.com/ko/1288 Magniber 제작자가 유포에 사용하던 CVE-2019-1367취약점은 긴급 보안패치(Version 1903)로 인해 업데이트를 수행한 시스템은 2019년 9월 23일부터는 취약점이 동작하지 않았다. 이에 제작자는 최신 취약점을 변경(CVE-2020-0968)하여 감염 대상을 확장하였으며, 설상가상으로 Windows7의 경우 올해 1월 14일 기점으로 서비스가 종료되어 CVE-2020-0968 보안 패치(2020년 4월 15일 배포)를 적용할 수 없다. 아래는 이해를 돕기 위한 변경 전 코드(POC포함)와 변경 후 코드 비교다. [그림-1] CVE-2019-1367 POC 코드 [그림-2] 변경 전 Magniber 사용 취약점(CVE-2019-1367) 코드 [그림-3] CVE-2020-0968 취약점 UAF 코드 일부 [그림-4] 변경된 매그니베르 코드(주황 박스 [그림-3] POC코드 표시) POC코드와 유포되는 취약점 스크립트를 비교해보면 사용하는 변수명이 복잡해졌을 뿐 코드의 차이는 없는 것을 확인할 수 있다. 두가지 취약점 모두 jscript.dll의 UAF 취약점을 이용하는 점은 같지만, 정규표현식 객체 포인터가 유출되는 방식의 차이가 있다. 포인터가 유출되고 난 뒤의 과정은 기존의 CVE-2019-1367와 차이가 거의 없다. V3는 이러한 취약한 jscript.dll을 사용하는 두가지 취약점을 모두 행위 진단으로 탐지하고 있으며, 이 탐지 기능은 2020년 12월 17을 기점으로 V3사용 고객에게 모두 배포되었다. Magniber 제작자는 유포 스크립트의 취약점 변경만이 아니라 자사 행위 탐지 우회를 위하여 다양한 변형을 시도하고있다. 다음 표는 올해 초부터 제작자가 Magniber 랜섬웨어 인젝션을 위해 사용한 API 호출 시퀀스 변화 흐름이다. 날짜 인젝션을 위해 사용한 API 3/9 OpenProcess -> WriteProcessMemory -> SetThreadContext -> ResumeThread 4/10 ZwCreateSection -> ZwMapViewOfSection -> RtlMoveMemory -> ZwMapViewOfSection -> ZwUnMapViewOfSection -> ZwCreateThreadEx -> GetThreadContext -> SetThreadContext -> ZwResumeThread 4/29 ZwCreateSection -> ZwMapViewOfSection -> RtlMoveMemory -> ZwMapViewOfSection -> ZwCreateThreadEx 5/6 NtCreateSection -> NtMapViewOfSection -> RtlMoveMemory -> RtlCreateUserThread 5/7 OpenProcess -> VirtualAllocEx -> WriteProcessMemory -> NtCreateThreadEx -> GetThreadContext -> SetThreadContext -> NtResumeThread 5/19 NtCreateSection -> NtMapViewOfSection -> RtlMoveMemory -> NtMapViewOfSection -> NtCreateThreadEx -> GetThreadContext -> SetThreadContext -> NtResumeThread 6/9 OpenProcess -> DuplicateHandle -> VirtualAllocEx -> WriteProcessMemory -> RtlCreateUserThread 6/10 유포중단 (~6/25) 6/26~ 현재 NtCreateSection -> NtMapViewOfSection -> NtMapViewOfSection -> NtCreateThreadEx -> NtGetContextThread -> NtSetContextThread ->NtResumeThread 제작자는 6월 말부터 API 호출 시퀀스 변화를 주지 않았지만, 인젝션 API 호출 시 “Heaven’s Gate”(천국의 문)라는 기법을 적용하였다. Heaven’s Gate 기법이란 악성코드가 Anti-Virus의 유저 후킹을 우회하기 위해 사용하는 방식이다. 예를 들어 공격자는 Anti-Virus가 후킹하고 있는 특정 API를 우회하기 위해 정상적인 API Call을 거치지 않고, Call에 해당하는 SysCall 인덱스(Index)를 할당한 뒤 직접 KiFastSystemCall을 호출하는 경우 Heaven’s Gate의 공격 사례라고 할 수 있다. Magniber는 현재 InternetExplorer를 통해 유포중이며 대다수의 일반 사용자들은 x64 환경을 사용하고 있다. 아래 설명은 WOW64모드로 동작하는 InternetExplorer 32bit 프로세스에서 Magniber 쉘코드가 Heaven’s Gate 기법을 통해 NtOpenProcess API를 호출하는 과정이다. Magniber 쉘코드는 일반적인 방식으로 NtOpenProcess API를 호출하지 않고, SysCall 인덱스(0x23)를 직접 인자에 전달하여 fs:[C0] 영역(Reserved for Wow64)을 호출한다. 이처럼 WOW64환경의 32bit 프로세스가 fs:[C0] 영역을 호출할 경우 wow64cpu.dll의 X86SwitchTo64BitMode가 호출된다. 즉, Magniber 쉘코드는 Heaven’s Gate 기법을 통해 32bit 프로세스(Internet Explorer)에서 64bit API 를 직접 호출하여 일반적인 후킹을 통한 API 호출 탐지가 어렵다. [그림-5] Heaven’s Gate 동작 과정 [그림-6] NtOpenProcess SysCall 인덱스 V3는 취약점을 포함하여 자사 Fileless 탐지 모듈 TrueEyes를 이용하여 상기 기술한 Heven’s Gate기법을 탐지한다. 두가지 탐지 기능은 금일(2020년 12월 17일) 기준 V3사용 고객에게 모두 배포되어 현재 행위 엔진을 통해 Magniber가 사용자를 감염하기 위해 사용하는 취약점 및 우회하려고 시도한 인젝션 기법을 암호화 전 사전 탐지 및 차단할 수 있다. [행위 진단] – Malware/MDP.Exploit.M3036 – Malware/MDP.Exploit.M3417 – Malware/MDP.Exploit.M3431 [동영상-1] V3 미 설치 환경에서 Magniber 감염 [동영상-2] V3 설치 환경에서 Magniber 차단

ASEC 영어·일본어 등 다른 언어 글 8건
ASEC V3 ビヘイビア検知機能による脆弱性 JAVA スクリプト(CVE-2021-26411)の検出(Magniber) 2021-07-06

원문 보기

ファイルレス(Fileless)形式で動作するマグニバー(Magniber)ランサムウェアは、CVE-2021-26411 の脆弱性 JAVA スクリプトを使用し、IE ブラウザを通して活発に拡散している。Magniber ランサムウェアは内部コードのフローも急激に変化しており、依然として韓国国内の被害事例が多いランサムウェアである。Magniber ランサムウェアは IE の脆弱性(CVE-2021-26411)を利用して拡散しているため、IE ユーザーの場合はセキュリティパッチの適用が必須とされている。 現在 V3 製品は「ビヘイビア検知」機能により、最新の Magniber ランサムウェアの検知/遮断が可能である。 [図1]は最新の Magniber ランサムウェアの感染プロセスである。マグニバー(Magniber)ランサムウェアは IE ブラウザの脆弱性を利用した感染によって(別途でファイル生成を行わず)ファイルレス形式で動作し、インジェクション(Injection)を利用したファイルレス形式で実行される。したがって、ランサムウェア行為を実行する主体は、感染システムの多数の正常なプロセスである。 簡略的に、[図1]の(1)番~(4)番のプロセスで動作し、黄色で表示されたプロセスがランサムウェア行為を実行するプロセスであり、ユーザー PC に存在する正常なプロセスである。 [図1] Magniber ランサムウェアの感染プロセスの図式化 近年の Magniber ランサムウェアは[図1]のような構造を示すが、[図2]のように内部のシェルコードパターンおよびマルウェアの注入方式において変化を見せ続けている。 [図2] Magniber Exploit Kit 変化プロセスのタイムライン タイムラインを見ると、今年初めまで CVE-2020-0968 の脆弱性を使用していた Magniber EK は2021年3月15日に公開された CVE-2021-26411 POC コードを基にして、脆弱性を新しく変更した。 https://asec.ahnlab.com/jp/21222/ 攻撃者は、新たな脆弱性に変更したあと V3 のビヘイビアおよびメモリ検知を回避するためにシェルコードの難読化、およびインジェクション対象の変更等、様々な方式で診断の回避を試みてきたが、現在 V3 の最新エンジンではこの脆弱性に対して、ビヘイビアおよびメモリ検知が可能になった。 シェルコードの変化プロセスとインジェクション対象の変化について簡単に調べたところ、4月22日に攻撃者はシェルコードの難読化によって、4月15日のエンジンで配布された V3 メモリ検知の回避を試みていた。 https://asec.ahnlab.com/jp/22403/ [図3] シェルコードの変化 (従来 -> 難読化) 以降、5月4日にはインジェクション対象が従来の 32bit プロセスから 64bit プロセスへ変更されたことにより、64bit 環境のユーザーは従来よりも多くの正常なプロセスに Magniber コードがインジェクションされることになった。(32bit ユーザーは 32bit プロセスを対象にインジェクション) [図4] 32bit プロセスの検証ルーティン(32bit プロセスに Magniber コードをインジェクション) [図5] 64bit プロセスの検証ルーティン(64bit プロセスに Magniber コードをインジェクション) 上の動画のように、最新の V3 エンジンではユーザーが脆弱な Web ページにアクセスすると、CVE-2021-26411 の脆弱性スクリプトの異常な行為について検知を行う。 このビヘイビア検知機能は2021年6月18日基準で V3 を使用しているすべてのユーザーに配布され、ランサムウェアがユーザーのドキュメントを暗号化する前に事前検知および遮断することができる。しかし、ランサムウェアへの感染を予防する最も重要な方法は、セキュリティ更新プログラムを最新の状態に維持することである。従って、ユーザーはセキュリティ更新プログラムの最新化に日頃から注意し、信頼できないサイトへのアクセスは避けなければならない。 [ ビヘイビア検知 ] – Exploit/MDP.Magniber.M3773 (2021.06.18.00) [ メモリ 検知] – Ransomware/Win.Magniber.XM101 (2021.06.10.02) [ MS セキュリティ更新プログラム ] – https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-26411

ASEC Detection of JavaScript Vulnerability (CVE-2021-26411) via V3 Behavior Detection (Magniber) 2021-06-22

원문 보기

Attackers are using the CVE-2021-26411 JavaScript vulnerability to actively distribute fileless Magniber ransomware via IE browser. Its internal code flow is changing rapidly, and there are still numerous damage reports that involve Magniber ransomware in Korea. As it is being distributed via an IE vulnerability (CVE-2021-26411), it is absolutely crucial for IE users to apply the security patch. Currently, V3 products can detect and block the latest Magniber ransomware using the ‘Behavior Detection’ feature. Figure 1 shows the infection process of the latest Magniber ransomware. The ransomware infects via IE browser vulnerability and operates as a fileless malware via injection. It does not need to create a separate file. Hence, normal processes of the infected system are the ones that perform ransomware behavior. The operation flow is quite simple as shown in Figure 1. The processes marked with yellow shapes are the normal processes existing in the user PC that carry out ransomware activities. Figure 1. Infection flow diagram of Magniber Recent Magniber ransomware has the architecture shown in Figure 1, but the attacker is continuously changing the internal shellcode pattern and the malware injection method like shown in Figure 2. Figure 2. Timeline of Magniber Exploit Kit alterations The timeline shows that Magniber Exploit Kit, which had been using the CVE-2020-0968 vulnerability until earlier this year, shifted to a new vulnerability based on the revealed CVE-2021-26411 POC code on March 15, 2021. After changing into a new vulnerability, the attacker has been adopting various strategies to bypass V3’s behavior detection and memory scan, such as obfuscating shellcodes and changing injection targets. However, the current latest V3 engine can perform behavior detection and memory scan on the vulnerability. Let’s examine the changes in shellcodes and injection targets. The attacker obfuscated shellcodes on April 22 to bypass the V3 memory scan applied to the V3 engine on April 15. Figure 3. Changes in shellcodes (previous → obfuscated) Then, on May 4th, the attacker changed the injection targets from previous 32-bit processes to 64-bit processes, meaning that for users using 64-bit environment, the number of normal processes injected with Magniber has been increased. (32-bit users were targets of 32-bit process injection). Figure 4. 32-bit process verification routine (Inject Magniber code to 32-bit process) Figure 5. 64-bit process verification routine (Inject Magniber code to 64-bit process) As seen from the video, the latest V3 engine detects the abnormal behavior of the CVE-2021-26411 vulnerability script when the user visits a vulnerable web page. The behavior detection feature was distributed to all clients using V3 as of June 18, 2021, allowing V3 to detect and block ransomware in advance before it encrypts users’ documents. However, the most important prevention for ransomware infection is to maintain up-to-date security version. Hence, users should always apply the latest security updates and refrain from visiting untrusted sites. [Behavior Detection] – Exploit/MDP.Magniber.M3773 (2021.06.18.00) [Memory Scan] – Ransomware/Win.Magniber.XM101 (2021.06.10.02) [MS Security Update] – https://msrc.microsoft.com/update-guide/vulnerability/CVE-2021-26411

ASEC V3 プロセスメモリ検知機能による脆弱性(CVE-2021-26411)の検知(Magniber) 2021-04-23

원문 보기

ファイルレス(Fileless)形式で動作するマグニバー(Magniber)ランサムウェアは、2021年3月に従来の CVE-2020-0968 脆弱性の代わりに CVE-2021-26411 脆弱性を使用するスクリプトに変更された。マグニバー(Magniber)ランサムウェアは、いまだに韓国国内での被害事例が多い状況であり、IE の脆弱性(CVE-2021-26411)を利用して拡散しているため、IE ユーザーの場合はセキュリティパッチの適用が必須とされている。 V3 製品に搭載された「プロセスメモリ検知」機能により、最新のマグニバー(Magniber)を検知/遮断することが可能である。 マグニバー(Magniber)ランサムウェアは IE ブラウザの脆弱性を利用した感染によって(別途でファイル生成を行わず)ファイルレス形式で動作し、インジェクション(Injection)を利用したファイルレス形式で実行される。  したがって、ランサムウェア行為を実行する主体は、感染システムの多数の正常なプロセスである。 以下の図は、マグニバー(Magniber)ランサムウェアの動作プロセスを示している。簡略的に、(1)番~(4)番のプロセスで動作し、黄色で表示されたプロセスがランサムウェア行為を実行するプロセスであり、すべてが正常なプロセスであることがわかる。 V3 製品には「プロセスメモリ検知」機能が搭載されており、リアルタイムでのプロセスのメモリ領域のうち、悪意のある部分を検知して駆除する機能を実行し、(4)番の段階でランサムウェアにより実行される正常なプロセスに悪意のあるコードをインジェクションするプロセスをリアルタイムで検知/駆除し、ランサムウェアへの感染を遮断することができる。 (検知による駆除対象が正常なプロセスであるため、ユーザーの正常なプロセスが終了する場合がある。) V3 製品のプロセスメモリ診断機能 V3製品に適用されているリアルタイムの「プロセスメモリ検知」を有効にすると、ファイルレス形式のマグニバー(Magniber)ランサムウェアが遮断される。 以下の映像は、V3製品の遮断機能のうち「プロセスメモリ診断」機能を利用したマグニバー(Magniber)ランサムウェアの遮断映像である。 [V3製品によるマグニバー(Magniber)ランサムウェアの行為検知遮断映像] / OS : Windows 10 64bit [ V3製品による マグニバー(Magniber)ランサムウェアの行為検知遮断映像 ] / OS : Windows 7 32bit [V3 検知名 ] 行為検知時の診断名:Ransom/MDP.Magniber.M3431 プロセスのメモリ診断名(エンジンバージョン): Ransomware/Win.Magniber.XM101 (2021.04.16.00) Ransomware/Win.Magniber.XM102 (2021.04.16.00) Ransomware/Win.Magniber.XM103 (2021.04.16.00) Ransomware/Win.Magniber.XM104 (2021.04.16.00)

ASEC Detection of Vulnerability (CVE-2021-26411) via V3 Memory Scan (Magniber) 2021-04-15

원문 보기

Starting from March 2021, Magniber ransomware that operates in a fileless form has used the script that utilizes CVE-2021-26411 vulnerability instead of using CVE-2020-0968 vulnerability. There are still numerous damage reports that involve Magniber ransomware in Korea, and as the malware is being distributed via IE vulnerability (CVE-2021-26411), it is absolutely crucial for users of IE to apply the security patch. Detecting and blocking the latest Magniber is possible with V3’s ‘Process Memory Scan’ feature. Magniber ransomware infects via IE browser vulnerability, operates as a fileless malware via injection and it does not need to create a separate file.  Hence, normal processes of the infected system are the ones that perform ransomware behavior. The figure below shows the operation process of Magniber ransomware: It operates simply via process (1) – (4), and the process marked as yellow is the process that performs ransomware behavior. The running processes are all normal processes. V3 product contains ‘Process Memory Scan‘ feature which detects and repairs malicious areas of process memory area in real-time. The injection process that involves normal processes run by the ransomware in stage (4) is detected and blocked in real-time, preventing the ransomware infection. (As normal processes are also targets for remediation, the user’s normal processes may shut down.) V3 product’s Process Memory Scan feature Upon activating V3’s real-time ‘Process Memory Scan’ feature, fileless Magniber is blocked. The video below shows the blocking of Magniber ransomware using Process Memory Detection, which is one of the block features of V3. [V3 product initiating behavior detection & blocking Magniber ransomware] / OS: Windows 10 64bit [V3 product initiating behavior detection & blocking of Magniber ransomware] / OS: Windows 7 32bit [V3 Detection Alias] Behavior Detection Alias: Ransom/MDP.Magniber.M3431 Process Memory Detection Alias (Engine ver.): Ransomware/Win.Magniber.XM101 (2021.04.16.00) Ransomware/Win.Magniber.XM102 (2021.04.16.00) Ransomware/Win.Magniber.XM103 (2021.04.16.00) Ransomware/Win.Magniber.XM104 (2021.04.16.00)

ASEC 注意!マグニバー(Magniber)ランサムウェア CVE-2021-26411 の脆弱性により韓国国内で拡散中 2021-03-17

원문 보기

マグニバー(Magniber)ランサムウェアの攻撃者は、V3 の診断を回避するために進化を続けてきた。AhnLab ASEC ブログを講読してきた読者であれば、AhnLab とマグニバーランサムウェア製作者の間で繰り広げられている、追いつ追われつの長い歴史についてはよくご存知だろう。 マグニバーの配布者は、AhnLab の創立記念日(3/15)による休日を狙い、これまで使用してきた脆弱性(CVE-2020-0968)の代わりに、CVE-2021-26411脆弱性へと緊急変更した。AhnLab ASEC 分析チームは、このような検知回避の試みを素早く認知するための自動対応および収集システムを構築、運営しており、当該システムを通じて今回 CVE-2021-26411脆弱性スクリプトに変更されたことをすぐ捕捉することができた。この脆弱性は 3月9日に Microsoft からセキュリティパッチが配布されたため、Internet Explorer ユーザーはなるべく早くパッチを適用する必要がある。V3 ユーザーの場合、行為検知機能を通して、このようなファイルレス(Fileless)形態の脆弱性攻撃を事前に遮断することが可能 である。 https://msrc.microsoft.com/update-guide/en-us/vulnerability/CVE-2021-26411  参考 – 過去の脆弱性変更: Magniber ランサムウェア拡散における脆弱性の変更(CVE-2018-8174 -> CVE-2019-1367) Magniber ランサムウェア拡散における脆弱性の変更(CVE-2019-1367 -> CVE-2020-0968)および行為診断回避の実行) 変更された最新の CVE-2021-26411 脆弱性は、Google と Microsoft および複数のセキュリティ業界に従事している研究員の情報を奪取するために北朝鮮が使用した Internet Explorer の脆弱性コードと非常に類似している部分が多い。  参考ページ New campaign targeting security researchers(Google) ZINC attacks against security researchers(Microsoft) Hacking group also used an IE zero-day against security researchers(Lazarus グループ推定) Internet Explore の0-day 解析 上記の情報奪取の試みはすべて MHTML ファイルを利用して codevexillium[.]org への接続を Internet Explorer に接続するように誘導していた(MHTML 実行の基本プロセスである Internet Explorer の使用を誘導)。当該ページ(codevexillium[.]org)は、脆弱性を持っている JS コードを含んでおり、以下のように収集されたマグニバーが使用するコードと非常に類似していることがわかる。 [ 収集されたマグニバーの復号コードの一部 – 脆弱性誘導のためのオブジェクト宣言部分 ] [codevexillium[.]org の収集コードの類似部分-1 ] * 引用元 : https://enki.co.kr/blog/2021/02/04/ie_0day.html [ 収集されたマグニバーの復号コードの一部 – シェルコードのロード部分 ] [codevexillium[.]org の収集コードの類似部分-2 ] *引用元 : https://enki.co.kr/blog/2021/02/04/ie_0day.html Internet Explorer ユーザーはマグニバー攻撃に非常に脆弱である。セキュリティ研究者を狙った攻撃でも Internet Explorer の使用を誘導するために MHTML ファイルで配布している状況から鑑みても、セキュリティに脆弱なプログラムの使用は避けなければならない。 AhnLab V3では、上記のような攻撃について行為基盤検知機能を通して、ファイルの暗号化が実行される前に遮断している。 V3 行為検知の診断名 – Malware/MDP.Inject.M2906 – Malware/MDP.Inject.M3431 脆弱性変更前/後の V3 行為検知の診断名に対する変化は、以下の通りである。一日平均で400~600件の遮断ログが確認されていた行為ルール M3379番が、3月15日には129件と急激に減少し、行為ルール M2906番が、545件に急増していることがわかる。マグニバーの製作者による新しい脆弱性への変更が急速に行われているだけに、ユーザーの注意が必要である。 脆弱性変更前/後の行為検知の診断ルールの変化

ASEC Caution! Magniber Ransomware Being Distributed in Korea Using CVE-2021-26411 Vulnerability 2021-03-16

원문 보기

The distributor of Magniber ransomware has continued to evolve to avoid V3’s detection. It goes without saying that subscribers of ASEC Blog are well aware of the fact that AhnLab has been fighting the developers of Magniber ransomware for a long time, and that the history almost resembles a cat-and-mouse chase. This time, the distributor of Magniber waited for the anniversary day of AhnLab (March 15th), which is also a traditional holiday for AhnLab. On this day, the distributor swiftly changed the vulnerability to CVE-2021-26411, from the previously used vulnerability (CVE-2020-0968). ASEC analysis team has been configuring and operating automatic response and collection systems to swiftly detect an attempt to bypass detection such as this. Thanks to the systems, they swiftly detected the change to the latest CVE-2021-26411 vulnerability script. On March 9th, MS has distributed a security patch regarding this vulnerability, therefore the users using Internet Explorer should apply the patch as soon as possible. For the users who use V3, it can preemptively block such a fileless attack via behavior detection feature. https://msrc.microsoft.com/update-guide/en-us/vulnerability/CVE-2021-26411 In terms of its features, the latest modified CVE-2021-26411 vulnerability is strikingly similar to the vulnerability code of Internet Explorer that North Korea used to steal information of researchers working in security divisions of companies such as Google and Microsoft. l Reference websites New campaign targeting security researchers (Google) ZINC attacks against security researchers (Microsoft) Hacking group also used an IE zero-day against security researchers (Assumed to be Lazarus Group) Internet Explorer 0-day Analysis In all 3 mentioned attempts to steal information, the MHTML file was used to prompt access to codevexillium[.]org through Internet Explorer (prompting the use of Internet Explorer which is the default process for MHTML execution). The web page (codevexillium[.]org) included a JS code that has the vulnerability, and it is very similar to the code that the collected Magniber below uses. [Part of collected Magniber decryption code – Object declaration for luring user to vulnerability] [Part similar to codevexillium[.]org collection code -1] *Source: https://enki.co.kr/blog/2021/02/04/ie_0day.html [Part of collected Magniber decryption code – Shellcode load] [Part similar to codevexillium[.]org collection code -2] *Source: https://enki.co.kr/blog/2021/02/04/ie_0day.html Users of Internet Explorer are highly vulnerable to Magniber attacks. Seeing how the aforementioned attack against security researchers was distributed as MHTML file to prompt the use of Internet Explorer, users must refrain from using programs with weak security. AhnLab blocks the attack shown above using the behavior-based detection before the file encryption is performed. V3 Behavior Detection Aliases – Malware/MDP.Inject.M2906 – Malware/MDP.Inject.M3431 The shift in V3 behavior detection aliases after the change of vulnerability is as follows: Behavior rule M3379 previously detected an average of 400-600 block logs per day, but on March 15th, only 129 cases were found, which is a significant reduction compared to other days. For behavior rule M2906 on the other hand, the number increased exponentially to 545 cases. Given that the developer of Magniber can quickly switch the vulnerability to a new one, users must remain vigilant. Change of behavior detection rule before and after the change of vulnerability

ASEC Magniber Ransomware Changed Vulnerability (CVE-2019-1367 -&gt; CVE-2020-0968) and Attempted to Bypass Behavior Detection 2020-12-17

원문 보기

At the beginning of this year, ASEC analysis team published the change of vulnerability which is used by the developer of Magniber to distribute the ransomware. Since September 23, 2019, CVE-2019-1367 vulnerability, which the developer of Magniber used for distribution, stopped operating in the systems with emergency security patch (Version 1903) applied. In response, the developer changed the latest vulnerability to CVE-2020-0968, expanding the infection target range. On top of this occurrence, CVE-2020-0968 security patch (distributed on April 15, 2020) cannot be applied to Windows 7 as it is no longer supported as of January 14, 2020. For better understanding of the changes, see figures below which are the comparisons between the codes before the change (including POC) and the those after the change. Figure 1. POC code of CVE-2019-1367 Figure 2. Code of vulnerability (CVE-2019-1367) used for Magniber (before change) Figure 3. Part of UAF code of CVE-2020-0968 vulnerability Figure 4. Changed Magniber code (orange box displays POC code in Figure 3.) Upon comparing POC code and the vulnerability script that is being distributed, there are convolutions in variable names, but changes in the code are not found. The two vulnerabilities are similar in that they both use the UAF vulnerability of jscript.dll, but there is a difference in the method of how regular expression object pointer is leaked. The steps that follow after the pointer is leaked are not different from those of CVE-2019-1367. V3 detects these two vulnerabilities that use vulnerable jscript.dll via behavior-based detection, and this detection feature has been distributed to all users of V3 as of December 17, 2020. The developer of Magniber is not only attempting to change the vulnerability of the distribution script but also attempting to apply various changes to bypass behavior-based detection of V3. The table below shows the flow of changes for the API call sequence that the developer of Magniber used to inject Magniber ransomware. Date API Used for Injection March 9th OpenProcess -> WriteProcessMemory -> SetThreadContext -> ResumeThread April 10th ZwCreateSection -> ZwMapViewOfSection -> RtlMoveMemory -> ZwMapViewOfSection -> ZwUnMapViewOfSection -> ZwCreateThreadEx -> GetThreadContext -> SetThreadContext -> ZwResumeThread April 29th ZwCreateSection -> ZwMapViewOfSection -> RtlMoveMemory -> ZwMapViewOfSection -> ZwCreateThreadEx May 6th NtCreateSection -> NtMapViewOfSection -> RtlMoveMemory -> RtlCreateUserThread May 7th OpenProcess -> VirtualAllocEx -> WriteProcessMemory -> NtCreateThreadEx -> GetThreadContext -> SetThreadContext -> NtResumeThread May 19th NtCreateSection -> NtMapViewOfSection -> RtlMoveMemory -> NtMapViewOfSection -> NtCreateThreadEx -> GetThreadContext -> SetThreadContext -> NtResumeThread June 9th OpenProcess -> DuplicateHandle -> VirtualAllocEx -> WriteProcessMemory -> RtlCreateUserThread June 10th Distribution ceased (until June 25th) June 26th – present NtCreateSection -> NtMapViewOfSection -> NtMapViewOfSection -> NtCreateThreadEx -> NtGetContextThread -> NtSetContextThread ->NtResumeThread The developer did not change API call sequence since late June, but when calling injection API, they applied a technique called ‘Heaven’s Gate.’ The Heaven’s Gate technique is a method that malware uses to bypass user hooking of anti-malware software. For example, if the attacker allocates SysCall index which is Call, and calls KiFastSystemCall directly instead of proceeding through normal API Call to bypass a specific API that anti-malware software is hooking, this case can be seen as a Heaven’s Gate attack. Magniber is currently being distributed via Internet Explorer, and many normal users are using x64 environment. The steps Magniber shellcode takes to call NtOpenProcess API via Heaven’s Gate technique in Internet Explorer 32-bit process that runs with WOW64 mode are described below. Instead of calling NtOpenProcess API in a normal way, Magniber shellcode sends SysCall index (0x23) directly to argument and calls fs:[C0] area (Reserved for Wow64). When 32-bit process of WOW64 environment calls fs:[C0] area, X86SwitchTo64BitMode of wow64cpu.dll is called. Because Magniber shellcode uses Heaven’s Gate technique to call 64-bit API directly from the 32-bit process (Internet Explorer), it is difficult to detect API call via common hooking. Figure 5. Heaven’s Gate operation flow Figure 6. NtOpenProcess SysCall index V3 uses TrueEyes, Ahnlab’s in-house fileless detection module, to detect vulnerability as well as Heaven’s Gate. The two detection features are distributed to all V3 users as of today (December 17, 2020), and the vulnerability, as well as the injection technique Magniber uses to bypass hooking, can be pre-detected and blocked before encryption via V3’s behavior engine. [Behavior Detection] – Malware/MDP.Exploit.M3036 – Malware/MDP.Exploit.M3417 – Malware/MDP.Exploit.M3431 [Video-1] Magniber infection in an environment without V3 installation [Video-2] Magniber block in an environment with V3 installation

ASEC Magniberランサムウェア拡散における脆弱性の変更(CVE-2019-1367 → CVE-2020-0968)および行為診断回避の実行 2020-12-17

원문 보기

AhnLab ASEC 分析チームは今年の初め、Magniber の製作者がランサムウェアを拡散させるために使用する脆弱性を変更したことを公開した。 Magniber の製作者が拡散に使用していたCVE-2019-1367の脆弱性は、緊急セキュリティパッチ(Version 1903)でアップデートを行ったシステムについては2019年9月23日以降、脆弱性が動作しなかった。そこで製作者は最新の脆弱性に変更(CVE-2020-0968)して感染対象を拡張させた。さらに、Windows7の場合は今年1月14日時点でサポートが終了したため、CVE-2020-0968のセキュリティパッチ(2020年4月15日配布)が適用できない問題があった。以下は、理解の助けとなるための変更前のコード(POCを含む)と変更後のコードの比較である。 [図1] CVE-2019-1367 POC コード [図2] 変更前の Magniber が使用した脆弱性(CVE-2019-1367)のコード [図3] CVE-2020-0968脆弱性の UAF コードの一部 [図4] 変更された Magniber のコード(オレンジのボックスは [図3] の POC コードを表示) POC コードと拡散している脆弱性のスクリプトを比較すると、使用する変数名が複雑化しているだけで、実際のコードに違いはないことが確認できる。二つの脆弱性はどちらも jscript.dll の UAF 脆弱性を利用しているが、正規表現式のオブジェクトポインタの流出方式に違いがある。ポインタが流出した後のプロセスは従来のCVE-2019-1367とほとんど変わらない。V3 は、このような脆弱 jscript.dll を使用する二つの脆弱性を行為診断として検知しており、この検知機能は2020年12月17日を起点として V3 ユーザー全員に配布された。 Magniber 製作者は拡散スクリプトの脆弱性を変更するだけでなく、当社の行為検知を回避するために様々な変形を試みている。以下の表は、今年初めから製作者が Magniber ランサムウェアをインジェクションするために使用した API 呼び出しシーケンスの変化を表している。 日付 インジェクションのために使用した API 3/9 OpenProcess -> WriteProcessMemory -> SetThreadContext -> ResumeThread 4/10 ZwCreateSection -> ZwMapViewOfSection -> RtlMoveMemory -> ZwMapViewOfSection -> ZwUnMapViewOfSection -> ZwCreateThreadEx -> GetThreadContext -> SetThreadContext -> ZwResumeThread 4/29 ZwCreateSection -> ZwMapViewOfSection -> RtlMoveMemory -> ZwMapViewOfSection -> ZwCreateThreadEx 5/6 NtCreateSection -> NtMapViewOfSection -> RtlMoveMemory -> RtlCreateUserThread 5/7 OpenProcess -> VirtualAllocEx -> WriteProcessMemory -> NtCreateThreadEx -> GetThreadContext -> SetThreadContext -> NtResumeThread 5/19 NtCreateSection -> NtMapViewOfSection -> RtlMoveMemory -> NtMapViewOfSection -> NtCreateThreadEx -> GetThreadContext -> SetThreadContext -> NtResumeThread 6/9 OpenProcess -> DuplicateHandle -> VirtualAllocEx -> WriteProcessMemory -> RtlCreateUserThread 6/10 拡散中断 (~6/25) 6/26~ 現在 NtCreateSection -> NtMapViewOfSection -> NtMapViewOfSection -> NtCreateThreadEx -> NtGetContextThread -> NtSetContextThread ->NtResumeThread 製作者は6月末から API 呼び出しシーケンスに変化を加えていないが、インジェクション API の呼び出し時に「Heaven’s Gate」(ヘブンズゲート-天国の扉)という手法を適用している。Heaven’s Gate 手法とは、マルウェアが Anti-Virus のユーザーフッキングを回避するために使用する方式である。例えば、攻撃者は Anti-Virus がフッキングしている特定の API を回避するために正常な API Call を経由せずに、Call に該当する SysCall インデックス(Index)を割り当てたあと、直接 KiFastSystemCall を呼び出す場合が Heaven’s Gate の攻撃事例であると言える。 Magniber は現在、InternetExplorer を通じて拡散しており、大多数の一般ユーザーはx64環境を使用している。以下の説明は、WOW64 モードで動作する InternetExplorer 32bit プロセスにおいて Magniber シェルコードが Heaven’s Gate 手法を使用して NtOpenProcess API を呼び出すプロセスである。 Magniber シェルコードは、一般的な方式で NtOpenProcess API を呼び出さずに、直接 SysCall インデックス(0x23)を引数に渡して fs:[C0]領域(Reserved for Wow64) を呼び出す。このように WOW64 環境の 32bit プロセスが fs:[C0] 領域を呼び出す場合、wow64cpu.dll の X86SwitchTo64BitMode が呼び出される。すなわち、Magniber シェルコードは Heaven’s Gate 手法を使用して、32bit プロセス(Internet Explorer)で 64bit API を直接呼び出し、一般的なフッキングによる API 呼び出しの検知を困難にさせる。 [図5] Heaven’s Gate の動作プロセス [図6] NtOpenProcess SysCall インデックス V3 は、脆弱性を含めて当社の Fileless 検知モジュール、TrueEyes を利用して上記の Heaven’s Gate 手法を検知している。 二つの検知機能は、本日(2020年12月17日)を基準として V3 ユーザー全員に配布されている。現在では行為エンジンを通して、Magniber がユーザーを感染させるために使用する脆弱性および回避を試みたインジェクション手法を、暗号化前に事前検知および遮断が可能である。 [ 行為診断 ] – Malware/MDP.Exploit.M3036 – Malware/MDP.Exploit.M3417 – Malware/MDP.Exploit.M3431 [動画1] V3 未インストール環境での Magniber 感染 [動画2] V3 インストール環境での Magniber 遮断

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

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

장비방법근거 경로
엔드포인트 탐지·대응 EDR cweCWE-787 (직접 매핑)
침입방지시스템 IPS cweCWE-787 (직접 매핑)

취약점 종류 CWE

영향받는 제품 CPE · 2건
제조사제품영향받는 버전표준 표기CPE
microsoftinternet_explorer cpe:2.3:a:microsoft:internet_explorer:11:-:*:*:*:*:*:*
microsoftinternet_explorer cpe:2.3:a:microsoft:internet_explorer:9:*:*:*:*:*:*:*
참고 링크 3건
용어 설명 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 로 기계 번역한 설명입니다.