여기에서는 Vaccine Agent 활성화 및 비활성화 절차와 서비스 사용법을 설명합니다.
백신 서버와 통신하려면 보안 그룹에 아래 내용을 추가합니다.
| 방향 | 포트 | 리전 | CIDR |
|---|---|---|---|
| Egress | 5465, 5645, 8803, 8804, 8807, 8809, 8810 | 한국(판교), 한국(평촌) | 114.110.145.157/32 or {SG IP} |
서비스 게이트웨이를 이용하면 NHN Cloud 내부에서 클라이언트와 Vaccine 서버가 통신할 때 외부 인터넷을 경유하지 않고, 내부 네트워크로 통신할 수 있습니다. Vaccine 서비스 게이트웨이를 연동하는 방법은 아래와 같습니다.
제품명, Instance OS, Service Gateway IP 주소에 따라 백신 설치 스크립트를 불러옵니다.

1. 설치 스크립트를 복사하려면 클립보드로 복사를 클릭합니다.
2. 설치 대상 인스턴스 터미널에 접속합니다.
3. 관리자 권한으로 Agent 스크립트를 생성하고 실행합니다.
[rocky@vaccine-test ~]$ cd ~
[rocky@vaccine-test ~]$ vi agent.sh
[rocky@vaccine-test ~]$ chmod 744 agent.sh
[rocky@vaccine-test ~]$ ./agent.sh
####### DownloadUrl :https://114.110.145.157:5645/web/agent/4/test-lin-setup.tar.gz #######
####### filePath : /root/test-lin-setup.tar.gz #######
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 34.0M 100 34.0M 0 0 2041k 0 0:00:17 0:00:17 --:--:-- 2037k
File Download Complete
ahnagent-install.sh
ahnagent-install.sh.ahc
eal.tar
ahnagent-install.conf
Valid IP 114.110.145.157
Start the installation for ahnagent
Succeed to extract "eal.tar" archive
Check Linux ID and version ...
-> OS ID and version : ROCKY_9
OS Description : Rocky Linux 9.5 (Blue Onyx)
"ROCKY_9" is supported
[INFO] get to install path: /usr/local/ahnlab/cppagent
The installed agent will be removed when installing a new agent
"Before uninstall ahnagent, Start the uninstallation for mgmt products"
[INFO] get to install path: /usr/local/ahnlab/cppagent
skip uninstallation of mgmt products
"Start to uninstall agent from SystemD"
"Complete to uninstall agent from SystemD"
"Complete the uninstallation for ahnagent package"
[INFO] get to install path: /usr/local/ahnlab/cppagent
Install ahnagent package ...
Succeed to install ahnagent package to /usr/local/ahnlab/cppagent
force server ip: 114.110.145.157
appkey: P9tZYRpWDZBBTU3h
user name: 9b273bb9-edb4-42f1-b11b-4d1befcde97b
Created symlink /etc/systemd/system/multi-user.target.wants/cppagent.service → /usr/lib/systemd/system/cppagent.service.
Succeed to enable ahnagent
Succeed to start ahnagent
"Complete the installation for ahnagent package"
[rocky@vaccine-test ~]$
1. 콘솔 스크립트를 복사합니다.
2. 설치 대상 인스턴스 터미널에 접속합니다.
3. 관리자 권한으로 Agent 스크립트를 생성하고 실행합니다.
C:\Users\administrator>powershell -file C:\Users\administrator\Desktop\agent.ps1
PowerShell Major Version : 5.1
DownloadType : System.Net.Object.WebClient Download, DownloadUrl : https://114.110.145.157:5645/web/agent/3/test-win-setup.exeFile Install : C:\Users\ADMINI~1\AppData\Local\Temp\2\test-win-setup.exe /F "114.110.145.157" /A "P9tZYRpWDZBBTU3h" /U "da9b75db-269e-48ad-ba93-99949303c256"
File Install Complete!!
C:\Users\administrator>
새로고침을 클릭하면 현황 목록에 설치된 Agent 정보가 표시됩니다. Agent 설치 후 자동으로 활성화됩니다.

사용 종료를 클릭하여 백신 사용을 중지합니다.
[root@vaccine-test ~]# systemctl status cppagent
● cppagent.service - "AhnLab Security Agent Linux Service"
Loaded: loaded (/usr/lib/systemd/system/cppagent.service; enabled; vendor preset: di>
Active: active (running) since Thu 2026-02-05 14:53:03 KST; 17min ago
Main PID: 19486 (ahnagent)
Tasks: 9 (limit: 48701)
Memory: 6.2M
CGroup: /system.slice/cppagent.service
└─19486 /usr/local/ahnlab/cppagent/bin/ahnagent
C:\Users\administrator>sc query CPPAgentSvc
SERVICE_NAME: CPPAgentSvc
종류 : 10 WIN32_OWN_PROCESS
상태 : 4 RUNNING
(NOT_STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
검사점 : 0x0
WAIT_HINT : 0x0
1. 특정 파일 및 폴더 예외 처리 2. Agent 설치 실패 문의 3. 백신 이벤트 탐지 관련 문의 4. 정상 파일 오진 신고 및 복원 관련 문의 5. 백신으로 인한 인스턴스 오동작 조치 및 원인 분석 관련 문의
1. 문의 방법: 고객지원 > 문의하기 2. 대응 시간: 평일 09:00~18:00