> For the complete documentation index, see [llms.txt](https://docs.tibero.com/technical-guides/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tibero.com/technical-guides/topics/security/security-audit-configuration.md).

# 데이터베이스 보안 감사 설정

티베로 DB 보안 감사 설정에 대한 위험 분석, 위험 영향, 해결 방안을 설명합니다.

## 일반 계정의 System Catalog 접근 제한 <a href="#id-1.1" id="id-1.1"></a>

### **위험 분석**

일반 계정으로 데이터베이스의 관리 및 통계 등의 Meta 데이터를 가지고 있는 System Catalog에 접근하여 데이터베이스의 정보를 획득할 수 있습니다.

### **위험 영향**

데이터베이스의 System Catalog 정보 유출 가능성이 있습니다.&#x20;

### **해결 방안**

데이터베이스의 Meta 데이터를 가지고 있는 System Catalog는 소수의 데이터베이스 관리자만 사용할 수 있도록 설정합니다.

#### **Public으로부터 권한을 제거하는 방법**

```
REVOKE <privilege> ON <system catalog object> FROM PUBLIC;
```

###

## 네트워크 액세스 제한 <a href="#id-1.1" id="id-1.1"></a>

### **위험 분석**

원격 서버로부터 DBMS 정보가 노출될 수있습니다.

### **위험 영향**

인가되지 않은 IP 주소 사용자에게 정보 유출 가능성이 있습니다.&#x20;

### **해결 방안**

$TB\_SID.tip 파일에 아래의 항목들을 정의하여 접근 허용 및 접근 제한 IP 주소를 지정합니다.

```
LSNR_INVITED_IP
LSNR_DENIED_IP
LSNR_INVITED_IP_FILE
LSNR_DENIED_IP_FILE
```

다음은 LSNR\_INVITED\_IP 항목의 등록 예제  입니다.

```
LSNR_INVITED_IP="192.168.20.0/24;192.168.10.101"
```

위와 같이 등록하면 $TB\_HOME/instance/$TB\_SID/log/lsnr/trace\_list.log 파일에 다음과 같이 등록됩니다.

```
*** listener started and got into main loop ***
[INVITED-IP] 192.168.20.0 / 255.255.255.0
[INVITED-IP] 192.168.10.101 / 255.255.255.255
```

다음은 LSNR\_INVITED\_IP\_FILE 항목의 등록 예제 입니다.

```
LSNR_INVITED_IP_FILE="/home/tibero/tibero7/invited.list"
```

위와 같이 등록한 후 LSNR\_INVITED\_IP\_FILE 항목에 등록한 파일(invited.list)에 허용할 IP 주소 List를 작성합니다.&#x20;

```
# WAS_JEUS
192.168.22.20
192.168.44.10
### END OF FILE ###
```

###

## DB Link 암호화 설정 점검 <a href="#id-1.1" id="id-1.1"></a>

### **위험 분석**

DB Link는 클라이언트 또는 현재의 데이터베이스에서 네트워크 상의 다른 데이터베이스에 접속하기 위한 접속설정을 정의하는 Tibero 객체입니다.&#x20;

클라이언트와 데이터베이스 간의 DB Link가 암호화되지 않으면 원격 서버에 접근할 경우 패스워드와 같은 중요 정보가 노출될 수 있습니다.

### **위험 영향**

악의가 있는 사용자가 스니핑 등의 네트워크 공격을 통해 패스워드를 노출할 가능성이 있습니다.&#x20;

### **해결 방안**

Tibero는 DB Link를 설정할 때 원격 서버의 패스워드가 암호화되므로 해당사항이 없습니다.

###

## Audit Trail 기록 설정 <a href="#id-1.1" id="id-1.1"></a>

### **위험 분석**

감사를 수행할 수 있게 설정하여 사용자에 의한 문장, 권한, 객체에 대해 감사를 수행할 수 있습니다. 침해 사고 및 장애가 발생할 때 감사 자료를 이용하여 정확한 분석을 할 수 있습니다.

### **위험 영향**

침해 사고 또는 장애 발생의 경우 원인 파악이 어렵습니다.&#x20;

### **해결 방안**

감사를 활성화하기 위하여 TIP 파일에 'AUDIT\_TRAIL'의 값을 { NONE | DB | DB\_EXTENDED | OS } 중에서 하나 선택합니다.

다음은 $TB\_HOME/config/$TB\_SID.tip 파일의 설정 예제 입니다.

```
#AUDIT Setting
AUDIT_TRAIL=OS
AUDIT_SYS_OPERATIONS=Y
AUDIT_FILE_DEST=/tibero/tbdata/audit/
```

### &#x20;<a href="#id-5" id="id-5"></a>

## Audit 로그 파일 접근 제한 <a href="#id-1.1" id="id-1.1"></a>

### **위험 분석**

감사 로그를 다른 사용자가 읽기, 쓰기 할 수 있는 경우 서버의 중요 정보가 노출될 위험성이 있습니다.

### **위험 영향**

비인가 사용자에 의한 파일의 변조 및 노출이 가능합니다.&#x20;

### **해결 방안**

AUDIT\_FILE\_DEST에 설정된 경로의 디렉터리 권한을 750 또는 700 이하로 설정합니다.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.tibero.com/technical-guides/topics/security/security-audit-configuration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
