vuln-intel취약점 정보 통합 DB

← 목록

CVE-2025-45737

위험도 중간 공격 코드 공개 ASEC 언급 3건

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

설명 NVD 원문

An issue in NetEase (Hangzhou) Network Co., Ltd NeacSafe64 Driver before v1.0.0.8 allows attackers to escalate privileges via sending crafted IOCTL commands to the NeacSafe64.sys component.

위험도 세부 항목 CVSS 3.1

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

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

조치 방법 0행

수집된 조치 정보가 없습니다. 조치가 필요 없다는 뜻은 아닙니다.

살펴볼 장비 초안

분류 대상이 아닙니다 (지금은 KEV 만 분류합니다). 안전하다는 뜻이 아닙니다.

단계별 판정 예시 환경

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

출처별 내용 3건

ASEC BYOVD를 통한 국내 보안 제품 무력화 시도: 정상 AI 도구로 위장한 악성코드 유포 주의 2026-11-23

원문 보기

개요 최근 AhnLab SEcurity intelligence Center(ASEC)는 정상 AI 도구로 위장한 악성코드에서 BYOVD(Bring Your Own Vulnerable Driver)를 통한 국내 보안 솔루션 무력화 시도를 확인했다. 악성코드는 정상 AI 도구 배포 페이지로 위장한 사이트를 통해 유포된다. 해당 사이트가 한국어로 구성되어 있고, 무력화 대상 제품이 모두 국내 제품이라는 점에서 본 사례는 국내 사용자를 겨냥한 공격으로 판단된다. 공격자는 취약한 드라이버인 NeacSafe64.sys를 설치한 뒤 이를 악용해 악성 커널 드라이버를 로드했다. 로드된 악성 드라이버는 IOCTL을 전달받아 국내 보안 제품의 구성 모듈 및 드라이버의 메모리를 패치해 탐지와 치료 기능에 대한 무력화를 시도한다. NeacSafe64.sys의 취약점과 공개 PoC NeacSafe64.sys는 중국 게임사 NeatEase의 정상 서명된 안티치트 드라이버로, 버전 1.0.0.8 이전에서 권한 상승 취약점(CVE-2025-45737)이 존재하는 것으로 알려져 있다. CVE-2025-45737의 공개된 PoC는 NeacSafe64.sys의 취약한 opcode를 통해 임의의 커널 메모리 읽기, 쓰기가 가능함을 보여준다. 공개 PoC : https://github.com/za233/NeacController/tree/main 분석 결과 위 PoC와 공격자의 구현이 상당 부분 동일했으며, 공격자는 HalDisPatchTable 변조 기법 등을 추가로 이용해 악성 드라이버를 로드했다. 비교 항목 공개 PoC 공격자 취약 드라이버 MD5 DCC288FAFAD0BF3B505C4B44791D423D 동일 통신 포트 \OWNeacSafePort 동일 연결 구조체 Magic, 버전, 32바이트 키 동일 커널 읽기·쓰기 opcode 14, 70 동일 패킷 변환 encode_payload() 알고리즘 및 상수 동일 NonPagedPool 버퍼 활용 방식 간단한 쉘코드 실행 ExAllocatePoolWithTag 를 호출하여 악성 커널 드라이버를 로드할 커널 메모리 확보 [표 1] 공개 PoC와 공격자 비교 1. 유포 구조 및 최초 실행 확인된 위장 도메인은 다음과 같다. 해당 도메인을 공식 사이트로 소개한 블로그도 확인되어 주의가 필요하다. ollama-ko[.]com [그림 1] ollama-ko[.]com [그림 2] ollama-ko[.]com (2) 위장 사이트에서 다운받은 Windows용 설치 파일 내부에는 MSI 패키지인 data.cab이 포함되어 있으며, 해당 MSI의 InstallExecuteSequence에는 가상 환경이 아닌 경우에만 MSI 내부에 포함된 NVIDIA_Control.exe를 실행하도록 정의되어 있다. [그림 3] Windows용 설치 파일 (OllamaSetup.zip) 내부 [그림 4] InstallExecuteSequence Setup.exe 실행 시 ollama 공식 주소 (ollama.com) 로부터 Ollama 구성 요소를 설치·실행한다. 따라서 사용자 입장에서는 정상 설치 프로그램이 동작하는 것처럼 보이며, 악성 행위를 인지하기 어렵다. [그림 5] Ollama가 정상적으로 실행되는 모습 가상 환경이 아닐 경우 실행되는 NVIDIA_Control.exe는 NTFS ADS 경로에 악성 DLL을 은닉하여 후속 행위를 수행한다. ADS 영역의 DLL은 NeacSafe64.sys를 이용한 BYOVD 기법으로 악성 드라이버를 로드한다. 로드된 악성 드라이버인 WinWyvern은 C2로부터 수신하는 페이로드를 실행하거나, 메모리 패치를 통해 보안 제품 무력화를 시도하는 등의 기능이 존재한다. [그림 6] 전체 실행 흐름도 2. 취약 드라이버 (NeacSafe64.sys) 설치 NVIDIA_Control.exe는 내장된 NeacSafe64.sys 드라이버를 시스템 디렉터리에 기록한 후 서비스로 등록하고, 미니필터 드라이버로 동작할 수 있도록 레지스트리 환경을 구성한 뒤 서비스를 시작한다. 레지스트리 구성 값은 공개 PoC의 NeacDriver/NeacSafe64.inf 에 정의된 내용과 거의 동일하다. [그림 7] NVIDIA_Control.exe의 NeacSafe64.sys 설치 및 시작 흐름 2.1 NeacSafe64.sys 설치 및 서비스 등록 NVIDIA_Control.exe 실행 시 내장된 NeacSafe64.sys를 시스템 디렉터리에 기록한 뒤, 서비스로 등록한다. 공개 PoC의 서비스 시작 유형은 수동 시작인 반면, 공격자는 자동 시작으로 설정했다. [그림 8] NeacSafe64.sys를 시스템 경로에 복원 [그림 9] NeacSafe64 서비스 생성 또는 재구성 구분 값 파일명 NeacSafe64.sys MD5 DCC288FAFAD0BF3B505C4B44791D423D 파일 경로 C:\Windows\System32\neacsafe64.sys 서비스명 NeacSafe64 서비스 유형 파일 시스템 드라이버 시작 유형 자동 시작 [표 2] NeacSafe64 서비스 등록 2.2 NeacSafe64 미니필터 레지스트리 구성 서비스 등록에 이어 NeacSafe64가 파일 시스템 미니필터로 동작할 수 있도록 레지스트리 값을 설정한다. 레지스트리 값 데이터 endOnService FltMgr Description NeacSafe64 mini-filter driver Group FSFilter Activity Monitor SupportedFeatures 3 Tag 3 DefaultInstance NeacSafe64 Instance Instances\Neacsafe64 Instance\Altitude 370020 Instances\Neacsafe64 Instance\Flags 0 [표 3] NeacSafe64 미니필터 레지스트리 구성 2.3 서비스 시작 환경 구성이 완료되면 StartServiceW를 호출해 NeacSafe64 서비스를 시작한다. 3. BYOVD를 통한 악성 커널 드라이버 로드 NeacSafe64.sys가 미니필터 서비스로 동작할 수 있는 환경이 구성되면, ADS 영역에 기록된 DLL이 NeacSafe64의 opcode를 이용해 악성 드라이버를 로드하고 후속 공격을 수행한다. 3.1 미니필터 통신 포트 연결 ADS DLL은 FilterConnectCommunicationPort를 호출해 NeacSafe64가 제공하는 아래의 Filter Manager 미니필터 통신 포트에 연결한다. \OWNeacSafePort 포트 연결 시 매직 값, 버전, 32바이트의 키로 구성된 40바이트의 구조체를 전달하는데, 이는 공개 PoC의 NEAC_FILTER_CONNECT 구조체와 동일하다. [그림 10] NVIDIA_Control.exe와 공개 PoC 비교 필드 값 Magic 0x4655434B (FUCK) Version 8 Key FuckKeenFuckKeenFuckKeenFuckKeen [표 4] NeacSafe64 포트 연결 시 전달되는 구조체 3.2 NeacSafe64.sys의 opcode 처리기 악용 포트 연결 후 FilterSendMessage로 opcode가 포함된 메시지를 전송한다. 공격자가 사용한 주요 opcode와 그 기능은 다음과 같다. opcode 기능 12 SSDT 항목의 런타임 주소를 반환 14 임의의 커널 메모리 읽기 70 임의의 커널 메모리 쓰기 [표 5] NeacSafe64 취약점 관련 주요 opcode NeacSafe64의 opcode 14, 70 메시지 처리기는 전달 받은 커널 주소와 길이를 충분히 검증하지 않아, 임의의 커널 메모리 읽기 및 쓰기에 사용할 수 있다. opcode 12는 SSDT 관련 커널 주소 정보를 반환하는 기능으로, 응답에 포함된 NtWaintForSingleObject의 런타임 주소에서 ntoskrnl.exe의 export RVA를 빼 현재 커널 베이스를 계산하기 위해 사용되었다. 3.3 악성 드라이버 복원 및 로드 ADS DLL에는 악성 커널 드라이버인 WinWyvern 드라이버가 내장되어 있다. ADS DLL은 해당 이미지의 PE 헤더를 확인 후, NeacSafe64 내부의 NonPagedPool 버퍼 주소를 획득한다. 공개 PoC는 해당 버퍼에 간단한 쉘코드를 기록해 커널 코드 실행 가능 여부를 확인하는데 사용했다. 공격자는 이 버퍼에 ExAllocatePoolWithTag 를 호출해 WinWyvern을 로드할 커널 메모리를 확보하는 쉘코드를 기록했다. 메모리 확보 후 바로 드라이버를 로드하지 않고, 드라이버 이미지가 커널 메모리에 배치되었을 때의 형태로 섹션을 재구성하고, import 테이블 처리까지 완료한다. 이후 opcode 70을 이용해 전체 WinWyvern 이미지를 확보한 커널 메모리에 기록한다. [그림 11] WinWyvern PE 복원 및 커널 메모리에 기록 3.4 HalDispatchTable과 NtQueryIntervalProfile을 이용한 실행 트리거 커널 메모리에 드라이버 이미지를 기록하는 것만으로는 드라이버가 실행되지 않는다. 정상적인 상황에서는 Windows 커널이 DriverEntry를 호출하지만, 수동 매핑 방식에서는 직접 DriverEntry를 호출해야 한다. 공격자는 이를 위해 HalDispatchTable의 특정 엔트리를 일시적으로 WinWyvern의 엔트리포인트 주소로 변경한 후 NtQueryIntervalProfile을 호출한다. 이는 잘 알려진 커널 익스플로잇 기법으로, Windows 커널 내부의 함수 포인터 테이블인 HalDispatchTable의 엔트리를 원하는 코드 주소로 바꾼 뒤, 해당 엔트리를 참조하는 시스템 호출을 유도해 임의의 커널 코드를 실행하는 방식이다. [그림 12] HalDispatchTable 기반 WinWyvern EP 실행 4. 악성 커널 드라이버의 국내 보안 제품 무력화 WinWyvern이 성공적으로 실행되면 ADS DLL은 보안 제품의 설치 여부와 실행 상태를 확인 후 IOCTL을 전달한다. WinWyvern 드라이버는 \\.\WinWyvern 장치를 통해 IOCTL을 수신하고, 보안 제품의 프로세스를 단순히 종료하는 대신 메모리 패치를 통한 무력화를 시도한다. 패치 대상은 모두 국내 백신사 제품의 프로세스, 모듈, 드라이버다. WinWyvern은 각 패치 대상의 메모리에서 특정 바이트 패턴을 찾고, 일치하는 위치의 바이트를 교체하는 방식으로 패치를 시도한다. 분석 결과, 백신 제품의 파일 탐지 및 차단 관련 기능이 정상적으로 동작하지 않도록 패치를 시도한다. 무력화에 성공할 경우 후속 악성코드에 대한 탐지 및 치료가 정상적으로 수행되지 않을 수 있다. 특히 WinWyvern 드라이버에는 C2로부터 받은 후속 PE 페이로드를 실행하는 기능도 존재하여, 단일 악성코드 실행 뿐만 아니라 추가 페이로드 실행과 후속 공격의 성공 가능성을 높인다.  패치 대상이 모두 국내 보안 제품이며, 각 제품의 프로세스, 모듈, 드라이버를 대상으로 한 패치 로직이 포함된 점은 공격자가 국내 보안 환경을 고려해 악성코드를 구성했음을 시사한다. 안랩 대응 현황 최신 버전의 안랩 V3(Lite) 제품은 본 사례의 악성코드가 시도하는 메모리 패치의 영향을 받지 않으며, 악성코드 실행 이후에도 공격 체인의 관련 구성 요소를 탐지하고 치료할 수 있다. MD5 경로 (파일명) 진단명 09a0a4256980457c23663278b40e4c51 NVIDIA_Control.exe Dropper/Win.Generic.C5944769 5da8a73f76fc7f621c9f77af4512a1f3 C:\Windows\System32:msedge.exe Packed/Win.Generic.C5943261 dcc288fafad0bf3b505c4b44791d423d C:\Windows\System32\neacsafe64.sys Exploit/Win.VulnDriver.C5948013 62bdb2cd59af038dcddfc8f24fdd40aa Winwyvern 드라이버 Trojan/Win.Agent.C5944757 MD5 09a0a4256980457c23663278b40e4c51 5da8a73f76fc7f621c9f77af4512a1f3 62bdb2cd59af038dcddfc8f24fdd40aa dcc288fafad0bf3b505c4b44791d423d URL http[:]//ollama-ko[.]com/ AhnLab TIP 를 구독하시면 연관 IOC 및 상세 분석 정보를 추가적으로 확인하실 수 있습니다. 자세한 내용은 아래 배너를 클릭하여 확인해보세요.

ASEC 영어·일본어 등 다른 언어 글 2건
ASEC BYOVD による韓国のセキュリティ製品の無力化の試み:正規の AI ツールを装ったマルウェアの拡散に注意 2026-12-03

원문 보기

概要 最近、AhnLab SEcurity intelligence Center (ASEC) は、正規の AI ツールを装ったマルウェアにおいて、BYOVD (Bring Your Own Vulnerable Driver) による韓国のセキュリティソリューションの無力化の試みを確認した。 マルウェアは、正規の AI ツールの配布ページを装った Web サイトを通じて拡散される。当該サイトが韓国語で構成されており、無力化の対象となる製品がすべて韓国製品であることから、本事例は韓国のユーザーを狙った攻撃であると判断される。攻撃者は、脆弱なドライバーである NeacSafe64.sys をインストールした後、これを悪用して悪意のあるカーネルドライバーをロードした。ロードされた悪意のあるドライバーは IOCTL を受信し、韓国のセキュリティ製品を構成するモジュールおよびドライバーのメモリにパッチを適用することで、検知・駆除機能の無力化を試みる。 NeacSafe64.sys の脆弱性と公開 PoC NeacSafe64.sys は、中国のゲーム会社 NetEase による正規の署名付きアンチチートドライバーであり、バージョン1.0.0.8より前のバージョンには権限昇格の脆弱性 (CVE-2025-45737) が存在することが知られている。CVE-2025-45737 の公開 PoC では、NeacSafe64.sys の脆弱な opcode を通じて任意のカーネルメモリの読み取りおよび書き込みが可能であることが示されている。 公開 PoC : https://github.com/za233/NeacController/tree/main 分析の結果、上記の PoC と攻撃者による実装は多くの部分で一致しており、攻撃者は HalDispatchTable の改変手法などを追加で利用し、悪意のあるドライバーをロードしていた。 比較項目 公開 PoC 攻撃者 脆弱なドライバーの MD5 DCC288FAFAD0BF3B505C4B44791D423D 同一 通信ポート \OWNeacSafePort 同一 接続用構造体 Magic、バージョン、32バイトのキー 同一 カーネルの読み取り・書き込み opcode 14、70 同一 パケット変換 encode_payload() アルゴリズムおよび定数が同一 NonPagedPool バッファの活用方法 簡単なシェルコードの実行 ExAllocatePoolWithTag を呼び出し、悪意のあるカーネルドライバーをロードするためのカーネルメモリを確保 [表1] 公開 PoC と攻撃者の実装の比較 1. 拡散の仕組みと初期実行 確認された偽装ドメインは以下のとおりである。当該ドメインを公式サイトとして紹介しているブログも確認されているため、注意が必要である。 ollama-ko[.]com [図 1] ollama-ko[.]com [図 2] ollama-ko[.]com (2) 偽装サイトからダウンロードした Windows 用インストールファイルには、MSI パッケージである data.cab が含まれている。当該 MSI の InstallExecuteSequence には、仮想環境ではない場合にのみ、MSI 内部に含まれる NVIDIA_Control.exe を実行するよう定義されている。 [図3] Windows 用インストールファイル (OllamaSetup.zip) の内部 [図4] InstallExecuteSequence Setup.exe を実行すると、Ollama の公式サイト (ollama.com) から Ollama のコンポーネントがインストール・実行される。そのため、ユーザーからは正規のインストールプログラムが動作しているように見え、悪意のある動作を認識することは困難である。 [図5] Ollama が正常に実行されている様子 仮想環境ではない場合に実行される NVIDIA_Control.exe は、NTFS の代替データストリーム (ADS) のパスに悪意のある DLL を隠蔽し、後続の処理を実行する。ADS 領域に格納された DLL は、NeacSafe64.sys を利用した BYOVD 手法によって悪意のあるドライバーをロードする。ロードされた悪意のあるドライバーである WinWyvern には、C&C サーバーから受信したペイロードを実行する機能や、メモリへのパッチ適用によってセキュリティ製品の無力化を試みる機能などが備わっている。 [図6] 全体の実行フロー 2. 脆弱なドライバー (NeacSafe64.sys) のインストール NVIDIA_Control.exe は、内部に格納された NeacSafe64.sys ドライバーをシステムディレクトリに書き込んだ後、サービスとして登録する。続いて、ミニフィルタードライバーとして動作できるようにレジストリ環境を構成し、サービスを開始する。レジストリの設定値は、公開 PoC の NeacDriver/NeacSafe64.inf に定義されている内容とほぼ同一である。 [図7] NVIDIA_Control.exe による NeacSafe64.sys のインストールおよび開始フロー 2.1 NeacSafe64.sys のインストールおよびサービス登録 NVIDIA_Control.exe の実行時に、内部に格納された NeacSafe64.sys をシステムディレクトリに書き込んだ後、サービスとして登録する。 公開 PoC ではサービスのスタートアップの種類が手動に設定されている一方、攻撃者は自動に設定している。 [図8] NeacSafe64.sys をシステムパスに復元 [図9] NeacSafe64 サービスの作成または再構成 項目 値 ファイル名 NeacSafe64.sys MD5 DCC288FAFAD0BF3B505C4B44791D423D ファイルパス C:\Windows\System32\neacsafe64.sys サービス名 NeacSafe64 サービスの種類 ファイルシステムドライバー スタートアップの種類 自動 [表2] NeacSafe64 のサービス登録 2.2 NeacSafe64 ミニフィルターのレジストリ構成 サービス登録に続き、NeacSafe64 がファイルシステムミニフィルターとして動作できるようにレジストリ値を設定する。 レジストリ値 データ endOnService FltMgr Description NeacSafe64 mini-filter driver Group FSFilter Activity Monitor SupportedFeatures 3 Tag 3 DefaultInstance NeacSafe64 Instance Instances\Neacsafe64 Instance\Altitude 370020 Instances\Neacsafe64 Instance\Flags 0 [表3] NeacSafe64 ミニフィルターのレジストリ構成 2.3 サービスの開始 環境の構成が完了すると、StartServiceW を呼び出して NeacSafe64 サービスを開始する。 3. BYOVD による悪意のあるカーネルドライバーのロード NeacSafe64.sys がミニフィルターサービスとして動作できる環境が構成されると、ADS 領域に書き込まれた DLL が NeacSafe64 の opcode を利用して悪意のあるドライバーをロードし、後続の攻撃を実行する。 3.1 ミニフィルター通信ポートへの接続 ADS 領域の DLL は、FilterConnectCommunicationPort を呼び出し、NeacSafe64 が提供する以下の Filter Manager のミニフィルター通信ポートに接続する。 \OWNeacSafePort ポートへの接続時には、マジック値、バージョン、32バイトのキーで構成された40バイトの構造体を渡す。これは、公開 PoC の NEAC_FILTER_CONNECT 構造体と同一である。 [図10] NVIDIA_Control.exe と公開 PoC の比較 フィールド 値 Magic 0x4655434B (FUCK) Version 8 Key FuckKeenFuckKeenFuckKeenFuckKeen [表4] NeacSafe64 のポート接続時に渡される構造体 3.2 NeacSafe64.sys の opcode ハンドラーの悪用 ポートへの接続後、FilterSendMessage を使用して opcode を含むメッセージを送信する。攻撃者が使用した主な opcode とその機能は以下のとおりである。 opcode 機能 12 SSDT エントリのランタイムアドレスを返す 14 任意のカーネルメモリの読み取り 70 任意のカーネルメモリへの書き込み [表5] NeacSafe64 の脆弱性に関連する主な opcode NeacSafe64 の opcode 14 および 70 のメッセージハンドラーは、受け取ったカーネルアドレスと長さを十分に検証しないため、任意のカーネルメモリの読み取りおよび書き込みに利用することができる。 opcode 12 は、SSDT に関連するカーネルアドレス情報を返す機能であり、応答に含まれる NtWaitForSingleObject のランタイムアドレスから ntoskrnl.exe のエクスポート RVA を差し引き、現在のカーネルベースアドレスを算出するために使用された。 3.3 悪意のあるドライバーの復元およびロード ADS 領域の DLL には、悪意のあるカーネルドライバーである WinWyvern が内蔵されている。ADS 領域の DLL は、当該イメージの PE ヘッダーを確認した後、NeacSafe64 内部の NonPagedPool バッファのアドレスを取得する。 公開 PoC では、当該バッファに簡単なシェルコードを書き込み、カーネルコードの実行可否を確認するために使用していた。一方、攻撃者は、このバッファに ExAllocatePoolWithTag を呼び出して WinWyvern をロードするためのカーネルメモリを確保するシェルコードを書き込んだ。メモリを確保した後、直ちにドライバーをロードするのではなく、ドライバーイメージがカーネルメモリに配置された際の形式に合わせてセクションを再構成し、インポートテーブルの処理まで完了させる。その後、opcode 70 を利用して WinWyvern イメージ全体を確保したカーネルメモリに書き込む。 [図11] WinWyvern の PE イメージの復元およびカーネルメモリへの書き込み 3.4 HalDispatchTable と NtQueryIntervalProfile を利用した実行トリガー カーネルメモリにドライバーイメージを書き込むだけでは、ドライバーは実行されない。通常、Windows カーネルが DriverEntry を呼び出すが、手動マッピング方式では DriverEntry を直接呼び出す必要がある。 攻撃者はそのために、HalDispatchTable の特定のエントリを一時的に WinWyvern のエントリポイントアドレスに変更した後、NtQueryIntervalProfile を呼び出す。これは広く知られているカーネルエクスプロイト手法であり、Windows カーネル内部の関数ポインターテーブルである HalDispatchTable のエントリを任意のコードアドレスに変更した後、当該エントリを参照するシステムコールを誘発することで、任意のカーネルコードを実行する方式である。 [図12] HalDispatchTable を利用した WinWyvern のエントリポイント (EP) の実行 4. 悪意のあるカーネルドライバーによる韓国のセキュリティ製品の無力化 WinWyvern の実行に成功すると、ADS 領域の DLL はセキュリティ製品のインストール有無および実行状態を確認した後、IOCTL を送信する。WinWyvern ドライバーは、\\.\WinWyvern デバイスを通じて IOCTL を受信し、セキュリティ製品のプロセスを単に終了させるのではなく、メモリへのパッチ適用による無力化を試みる。 パッチの適用対象は、すべて韓国のウイルス対策ソフトウェアベンダーの製品に関連するプロセス、モジュール、ドライバーである。WinWyvern は、各パッチ適用対象のメモリ内から特定のバイトパターンを検索し、一致する箇所のバイトを置き換える方式でパッチの適用を試みる。分析の結果、ウイルス対策製品のファイル検知および遮断に関連する機能が正常に動作しないように、パッチの適用を試みることが確認された。 無力化に成功した場合、後続のマルウェアに対する検知および駆除が正常に行われなくなる可能性がある。特に、WinWyvern ドライバーには、C&C サーバーから受信した後続の PE ペイロードを実行する機能も備わっているため、単一のマルウェアの実行にとどまらず、追加のペイロードの実行や後続の攻撃が成功する可能性を高める。 パッチの適用対象がすべて韓国のセキュリティ製品であり、各製品のプロセス、モジュール、ドライバーを対象としたパッチ適用ロジックが含まれていることは、攻撃者が韓国のセキュリティ環境を考慮してマルウェアを構成したことを示唆している。 アンラボの対応状況 最新バージョンのアンラボ V3 (Lite) 製品は、本事例のマルウェアが試みるメモリへのパッチ適用による影響を受けず、マルウェアの実行後も攻撃チェーンを構成する関連コンポーネントを検知・駆除することが可能である。 MD5 パス (ファイル名) 診断名 09a0a4256980457c23663278b40e4c51 NVIDIA_Control.exe Dropper/Win.Generic.C5944769 5da8a73f76fc7f621c9f77af4512a1f3 C:\Windows\System32:msedge.exe Packed/Win.Generic.C5943261 dcc288fafad0bf3b505c4b44791d423d C:\Windows\System32\neacsafe64.sys Exploit/Win.VulnDriver.C5948013 62bdb2cd59af038dcddfc8f24fdd40aa Winwyvern ドライバー Trojan/Win.Agent.C5944757 MD5 09a0a4256980457c23663278b40e4c51 5da8a73f76fc7f621c9f77af4512a1f3 62bdb2cd59af038dcddfc8f24fdd40aa dcc288fafad0bf3b505c4b44791d423d URL http[:]//ollama-ko[.]com/ 関連 IOC および詳細な解析情報は、AhnLab の次世代脅威インテリジェンスプラットフォーム 「 AhnLab TIP 」 サブスクリプションサービスを通して確認できる。

ASEC Attempts to Compromise Domestic Security Products via BYOVD: Beware of Malware Distribution Using Legitimate AI Tools to Disguise It 2026-11-20

원문 보기

Overview Recently , the AhnLab SEcurity intelligence Center (ASEC) identified an attempt to bypass domestic security solutions using BYOVD (Bring Your Own Vulnerable Driver) in malware that disguises itself as legitimate AI tools . The malware is distributed via a website disguised as a legitimate AI tool distribution page. Given that the site is in Korean and the targeted products are all domestic solutions, this incident is assessed to be an attack specifically targeting users in Korea. The threat actor installed the vulnerable driver NeacSafe64.sys and then exploited it to load a malicious kernel driver. The loaded malicious driver receives IOCTLs and patches the memory of configuration modules and drivers in Korea-based security products, attempting to disable their detection and remediation capabilities. Vulnerability in NeacSafe64.sys and Public PoC NeacSafe64.sys is a legitimately signed anti-cheat driver from the Chinese game company NeatEase; it is known that a privilege escalation vulnerability (CVE-2025-45737) exists in versions prior to 1.0.0.8. The publicly released PoC for CVE-2025-45737 demonstrates that arbitrary kernel memory read and write operations are possible through a vulnerable opcode in NeacSafe64.sys. Public PoC: https://github.com/za233/NeacController/tree/main Analysis revealed that the threat actor’s implementation was largely identical to the PoC described above; the threat actor additionally utilized techniques such as HalDisPatchTable manipulation to load the malicious driver. Comparison Items Public PoC Threat actor Vulnerable Driver MD5 DCC288FAFAD0BF3B505C4B44791D423D Same Communication Port \OWNeacSafePort Same Connection Structure Magic, version, 32-byte key Same Kernel read/write Opcode 14, 70 Same Packet conversion Encode_payload() Algorithm and constants are the same NonPagedPool buffer exploitation method Simple shellcode execution Calling ExAllocatePoolWithTag to allocate kernel memory for loading a malicious kernel driver [Table 1] Comparison of the Public PoC and the threat actor 1. Distribution Structure and Initial Execution The identified disguised domains are as follows. A blog that presented these domains as official sites has also been identified, so caution is advised. Ollama-ko[.]Com [Figure 1] ollama-ko[.]Com [Figure 2] ollama-ko[.]Com (2) The Windows installation file downloaded from the disguised site contains an MSI package named `data.cab`. The `InstallExecuteSequence` of this MSI is configured to execute `NVIDIA_Control.exe`—which is embedded within the MSI—only if the system is not running in a virtual environment. [Figure 3] Contents of the Windows installation file (OllamaSetup.zip) [Figure 4] InstallExecuteSequence When Setup.exe is executed, it installs and runs Ollama components from the official Ollama website (ollama.com). Therefore, from the user’s perspective, it appears to be a legitimate installer, making it difficult to detect the malicious behavior. [Figure 5] Ollama running normally When executed outside a virtual environment, NVIDIA_Control.exe hides a malicious DLL in an NTFS ADS path to carry out subsequent actions. The DLL in the ADS area loads a malicious driver using the BYOVD technique via NeacSafe64.sys. The loaded malicious driver, WinWyvern, has capabilities such as executing payloads received from the C2 server and attempting to disable security products through memory patching. [Figure 6] Overall Execution Flowchart 2. Installation of the Vulnerable Driver (NeacSafe64.sys) NVIDIA_Control.exe writes the embedded NeacSafe64.sys driver to the system directory, registers it as a Service, configures the registry settings to allow it to operate as a minifilter driver, and then starts the Service. The registry configuration values are nearly identical to those defined in NeacDriver/NeacSafe64.inf from the publicly available PoC. [Figure 7] NVIDIA_Control.exe’s NeacSafe64.sys Installation and Startup Flow 2.1NeacSafe64.sys Installation and Service Registration When NVIDIA_Control.exe is executed, it writes the embedded NeacSafe64.sys to the system directory and then registers it as a Service. While the service startup type in the publicly released PoC is set to “Manual,” the threat actor configured it to “Automatic.” [Figure 8] Deploying NeacSafe64.sys to the system Path [Figure 9] Creation or reconfiguration of the NeacSafe64 Service Category Value File name NeacSafe64.sys MD5 DCC288FAFAD0BF3B505C4B44791D423D File Path C:\Windows\System32\neacsafe64.sys Service Name NeacSafe64 Service Type File System Driver Startup Type Automatic [Table 2] NeacSafe64 Service Registration 2.2 NeacSafe64 Minifilter Registry Configuration Following the service registration, configure the registry values so that NeacSafe64 can operate as a file system minifilter. Registry Values Data EndOnService FltMgr Description NeacSafe64 mini-filter driver Group FSFilter Activity Monitor Supported Features 3 Tag 3 Default Instance NeacSafe64 Instance Instances\Neacsafe64 Instance\Altitude 370020 Instances\Neacsafe64 Instance\Flags 0 [Table 3] NeacSafe64 Minifilter Registry Configuration 2.3 Starting the Service Once the environment configuration is complete, call StartServiceW to start the NeacSafe64 Service. 3. Loading a Malicious Kernel Driver Via BYOVD Once the environment is configured for NeacSafe64.sys to operate as a minifilter Service, the DLL written to the ADS area uses NeacSafe64’s opcode to load the malicious driver and carry out subsequent attacks. 3.1 Connecting to the Minifilter Communication Port The ADS DLL calls FilterConnectCommunicationPort to establish a Communication Connection to the following Filter Manager minifilter communication port provided by NeacSafe64: \OWNeacSafePort When connecting to the port, a 40-byte structure consisting of a magic number, version, and a 32-byte key is passed; this is identical to the NEAC_FILTER_CONNECT structure in the publicly available PoC. [Figure 10] Comparison of NVIDIA_Control.exe and the public PoC Field Value Magic 0X4655434B (FUCK) Version 8 Key FuckKeenFuckKeenFuckKeenFuckKeen [Table 4] Structure passed when connecting to the NeacSafe64 port 3.2 Exploiting the Opcode Handler in NeacSafe64.sys After establishing a port connection, a message containing an opcode is sent via FilterSendMessage. The main opcodes used by the threat actor and their functions are as follows. Opcode Function 12 Returns the runtime address of an SSDT entry 14 Read arbitrary kernel memory 70 Write to arbitrary kernel memory [Table 5] Key opcodes related to the NeacSafe64 vulnerability The message handlers for opcodes 14 and 70 in NeacSafe64 do not sufficiently validate the passed kernel address and length, allowing them to be exploited for arbitrary kernel memory reads and writes. Opcode 12 is a function that returns SSDT-related kernel address information; it was used to calculate the current kernel base by subtracting the export RVA of `ntoskrnl.exe` from the runtime address of `NtWaintForSingleObject` included in the response. 3.3 Malicious Driver Restoration and Loading The ADS DLL contains the WinWyvern driver, a malicious kernel driver. After verifying the PE header of the image, the ADS DLL obtains the address of the NonPagedPool buffer within NeacSafe64. The publicly released PoC used this buffer to write simple shellcode to verify whether kernel code execution was possible. The threat actor wrote shellcode to this buffer that calls `ExAllocatePoolWithTag` to allocate kernel memory for loading WinWyvern. Instead of loading the driver immediately after securing memory, the shellcode reorganizes the sections into the format the driver image would take when placed in kernel memory and completes the import table processing. It then uses opcode 70 to write the entire WinWyvern image to the secured kernel memory. [Figure 11] WinWyvern PE Restoration and Writing to Kernel Memory 3.4 Triggering Execution Using HalDispatchTable and NtQueryIntervalProfile Simply writing the driver image to kernel memory is not enough to execute the driver. Under normal circumstances, the Windows kernel calls `DriverEntry`, but with the manual mapping method, `DriverEntry` must be called directly. To achieve this, the threat actor temporarily changes a specific entry in the HalDispatchTable to the address of WinWyvern’s entry point and then calls NtQueryIntervalProfile. This is a well-known kernel exploitation technique: it involves changing an entry in the HalDispatchTable—a function pointer table within the Windows kernel—to the address of the desired code, and then inducing a system call that references that entry for arbitrary kernel code execution. [Figure 12] Execution of WinWyvern EP via HalDispatchTable 4. Malicious Kernel Driver Bypassing Security Products in Korea Once WinWyvern is successfully executed, the ADS DLL checks whether various security solutions are installed and running, and then sends an IOCTL. The WinWyvern driver receives the IOCTL through the \\.\WinWyvern device and attempts to disable the security solutions by searching for hard-coded patterns in the memory of specific modules or drivers of each security product and applying security patches. The target bytes and replacement bytes for each patch are hard-coded into the driver. AhnLab Response Overview The latest version of AhnLab V3 (Lite) is not affected by the memory patches attempted by the malware in this case and can detect and remove relevant components of the attack chain even after the malware has executed. MD5 Path (file name) Detection name 09A0a4256980457c23663278b40e4c51 NVIDIA_Control.exe Dropper/Win.Generic.C5944769 5Da8a73f76fc7f621c9f77af4512a1f3 C:\Windows\System32:msedge.exe Packed/Win.Generic.C5943261 Dcc288fafad0bf3b505c4b44791d423d C:\Windows\System32\neacsafe64.sys Exploit/Win.VulnDriver.C5948013 62Bdb2cd59af038dcddfc8f24fdd40aa Winwyvern Driver Trojan/Win.Agent.C5944757 MD5 09a0a4256980457c23663278b40e4c51 5da8a73f76fc7f621c9f77af4512a1f3 62bdb2cd59af038dcddfc8f24fdd40aa dcc288fafad0bf3b505c4b44791d423d Gain access to related IOCs and detailed analysis by subscribing to AhnLab TIP . For subscription details, click the banner below.

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

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

장비방법근거 경로
서버 접근제어 ACCESS attackCWE-269 > CAPEC-122 > T1548 > Logon Session Metadata
엔드포인트 탐지·대응 EDR attackCWE-269 > CAPEC-122 > T1548 > File Metadata
계정·인증 (AD·LDAP·SSO) IAM attackCWE-269 > CAPEC-122 > T1548 > Logon Session Metadata
서버 감사 로그 SYSAUDIT attackCWE-269 > CAPEC-122 > T1548 > File Metadata

취약점 종류 CWE

영향받는 제품 CPE · 1건
제조사제품영향받는 버전표준 표기CPE
neteaseneacsafe64 1.0.0.8 미만 cpe:2.3:a:netease:neacsafe64:*:*:*:*:*:*:*:*
참고 링크 1건
용어 설명 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 로 기계 번역한 설명입니다.