ITEASY

닫기

추천 검색어
# 클라우드
# VPN
# 무료서비스
# 호스팅
# 이벤트
닫기정보보호 관리체계 인증(ISMS)

MS Exchange Server 취약점 임시 조치 방안 권고

2021. 03. 08

□ 개요
o Microsoft Exchange Server 취약점에 대한 즉각적인 보안 업데이트가 불가능한 상황인 경우 아래의 해결 방안에 따라 조치 권고
 
□ IIS Re-Write Rule 적용(CVE-2021-26855 예방)
 
o CVE-2021-26855에서 사용되는 https 요청을 필터링, Exchange Server가 업그레이드 된 후에는 제거되므로 보안 패치가 적용이 안된 경우에는 업그레이드 후 재적용 필요
 
o Powershell 스크립트를 이용해 MSI 파일을 적용(아래 예시 참조)
※ URL Re-Write모듈(https://www.iis.net/downloads/microsoft/url-rewrite)과 BackendCookieMitigation.ps1(https://github.com/microsoft/CSS-Exchange/tree/main/Security) 파일 필요
 
.BackendCookieMitigation.ps1 –FullPathToMSI “FullLocalPathToMSI” - WebSiteNames
“Default Web Site” -Verbose
 
o IIS Re-Write 모듈을 설치하지 않고 IIS Re-Write Rule을 생성하는 경우의 Powershell 명령 예시
 
.BackendCookieMitigation.ps1 –WebSiteNames “Default Web Site” -Verbose
 
o 변경 사항을 되돌리려는 경우
 
.BackendCookieMitigation.ps1 –WebSiteNames “Default Web Site” -RollBackMitigation -Verbose
 
o Re-Write Rule 상태 확인
- C:inetpubwwwrootweb.config 혹은 Default Web Site의 IIS UI에서 Re-Write Rule 확인
path
URL-re-write
Edit-Inbound-rule
conditions

□ UM 서비스 비활성화(CVE-2021-26857 예방)
 
o Exchange 관리 쉘(shell)을 이용, 아래 명령 실행
 
Set-ServerComponentState –Component UMCallRouter –Identity “ComputerName” -
Requester Maintenance –State Inactive
Stop-Service MSExchangeUM
Set-Service MSExchangeUM –StartupType Disabled
Stop-Service MSExchangeUMCR
Set-Service MSExchangeUMCR –StartupType Disabled
 
o Exchange 관리 쉘(shell)을 이용, UM 서비스 상태 확인
 
Get-Service MSExchangeUM
Get-Service MSExchangeUMCR
Get-ServerComponentState –Identity “ComputerName” -Component UMCallRouter | fl
validation

□ ECP Application Pool 비활성화(CVE-2021-27065 예방)
 
o Exchange 관리 쉘(shell)을 이용, 아래 명령 실행
 
Set-ServerComponentState –Component EcpProxy –Identity “ComputerName” -
Requester Maintenance –State Inactive
Import-module WebAdministration
$AppPoolName = “MSExchangeECPAppPool”
$AppPool = Get – Item IIS:AppPools$AppPoolName
$AppPool.startMode = “OnDemand”
$AppPool | Set-Item – Verbose
Stop-WebAppPool –Name $AppPoolName
 
o ECP Application Pool 상태 확인
- IIS에서 App Pool이 정지되었는지 확인, 아래 명령 실행으로 정지 가능
※ Get-WebAppPoolState –Name “MSExchangeECPAppPool”
ApplicationPools
GetWebPoolState

- Server Component State EcpProxy가 Inactive 상태인지 확인
※ Get-ServerComponentState –Component EcpProxy –Identity “ComputerName” | fl
GetServerComponentState

- Exchange Server의 https://127.0.0.1/ecp에 접속하여 서비스 중지 확인
ServiceUnavailable

□ OAB(Offline Address Books) Application Pool 비활성화(CVE-2021-26858 예방)
 
o Exchange 관리 쉘(shell)을 이용, 아래 명령 실행
 
Set-ServerComponentState –Component OabProxy –Identity “ComputerName” -
Requester Maintenance –State Inactive
Import-module WebAdministration
$AppPoolName = “MSExchangeOABAppPool”
$AppPool = Get – Item IIS:AppPools$AppPoolName
$AppPool.startMode = “OnDemand”
$AppPool | Set – Item –Verbose
Stop-WebAppPool –Name MSExchangeOABAppPool
 
o OAB Application Pool 상태 확인
- IIS App Pool이 정지 되었는지 확인, 아래 명령 실행을 확인 가능
※ Get-WebAppPoolState –Name “MSExchangeOABAppPool”
ApplicationPools2
Get-WebAppPoolState2

- Server Component State OabProxy가 Inactive 상태인지 확인
※ Get-ServerComponentState –Component OabProxy –Identity “ComputerName” | fl
Get-ServerComponentState


[참고사이트]
- https://www.microsoft.com/security/blog/2021/03/02/hafnium-targeting-exchange-servers/
- https://msrc-blog.microsoft.com/2021/03/05/microsoft-exchange-server-vulnerabilities-mitigations-march-2021/

 


□ 작성 : 침해사고분석단 취약점분석팀
이전 글 MS Exchange Server 취약점 보안 점검 권고

2021. 03. 08

다음 글 MS 3월 보안 위협에 따른 정기 보안 업데이트 권고

2021. 03. 10

목록

무엇이든 물어보세요

아이티이지 전문가가 궁금하신 점을 쉽고 빠르게 해결해 드리겠습니다.

고객센터 1600-8324
내선번호
  • 내선 1 서버 / IDC

  • 내선 2 클라우드

  • 내선 3 관리대행 / ITO

  • 내선 4 도메인

  • 내선 5 보안 서비스 문의

  • 내선 6 문자 / 카카오비즈메시지

  • 내선 7 Microsoft365

  • 내선 8 마케팅/서비스 제휴

  • 내선 9 홈페이지 제작

  • 내선 0 기타서비스

  • 내선 11 긴급 장애

휴일 긴급 연락처010-3124-8320

평일 9:00~18:00 (IDC 긴급 장애처리 24시간 운영)

FAX 02-6264-8321

문의하기