KR101473535B1 - Multi N―gram을 이용한 악성코드 분류 방법 - Google Patents
Multi N―gram을 이용한 악성코드 분류 방법 Download PDFInfo
- Publication number
- KR101473535B1 KR101473535B1 KR1020120156590A KR20120156590A KR101473535B1 KR 101473535 B1 KR101473535 B1 KR 101473535B1 KR 1020120156590 A KR1020120156590 A KR 1020120156590A KR 20120156590 A KR20120156590 A KR 20120156590A KR 101473535 B1 KR101473535 B1 KR 101473535B1
- Authority
- KR
- South Korea
- Prior art keywords
- gram
- malicious code
- extracting
- section
- signature
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 239000011159 matrix material Substances 0.000 claims abstract description 28
- 238000004458 analytical method Methods 0.000 claims description 18
- 238000000605 extraction Methods 0.000 claims description 4
- 239000000284 extract Substances 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 230000006835 compression Effects 0.000 description 6
- 238000007906 compression Methods 0.000 description 6
- 238000002474 experimental method Methods 0.000 description 6
- 230000006399 behavior Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 5
- 230000002155 anti-virotic effect Effects 0.000 description 4
- 238000007781 pre-processing Methods 0.000 description 4
- 230000003068 static effect Effects 0.000 description 4
- 238000003491 array Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008676 import Effects 0.000 description 2
- 239000008186 active pharmaceutical agent Substances 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000003247 decreasing effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- ZXQYGBMAQZUVMI-GCMPRSNUSA-N gamma-cyhalothrin Chemical compound CC1(C)[C@@H](\C=C(/Cl)C(F)(F)F)[C@H]1C(=O)O[C@H](C#N)C1=CC=CC(OC=2C=CC=CC=2)=C1 ZXQYGBMAQZUVMI-GCMPRSNUSA-N 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 238000005067 remediation Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
- G06F21/56—Computer malware detection or handling, e.g. anti-virus arrangements
- G06F21/562—Static detection
- G06F21/563—Static detection by source code analysis
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Virology (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
도 2는 본 발명의 일실시예에 있어서, 악성코드 분류 장치의 구조를 나타내는 도면이다.
도 3은 일반적인 실행파일의 구조를 나타내는 도면이다.
도 4는 본 발명의 일실시예에 있어서, 텍스트 섹션을 추출하는 과정을 설명하기 위한 도면이다.
도 5는 본 발명의 일실시예에 있어서, 멀티 N-gram 매트릭스를 나타내는 도면이다.
도 6은 본 발명의 일실시예에 있어서, 멀티 N-gram 매트릭스를 통한 유사도 계산 결과를 나타내는 그래프이다.
Claims (7)
- 악성코드를 분류하는 방법에 있어서,
악성코드 분류 장치가 실행파일에서 텍스트 섹션을 추출하는 단계;
멀티 N-gram 매트릭스(Multi N-gram Matrix)를 이용하여 상기 추출된 텍스트 섹션에서 시그니처를 추출하는 단계; 및
상기 추출한 시그니처를 분석하여 악성코드를 분류하는 단계
를 포함하고,
상기 시그니처를 추출하는 단계는,
상기 멀티 N-gram 매트릭스를 이용하여 한번의 추출에 복수개의 시그니처를 추출하는 단계인 것을 특징으로 하는 악성코드 분류 방법. - 제1항에 있어서,
상기 텍스트 섹션을 추출하는 단계는,
상기 실행파일의 섹션 별 엔트로피 값을 이용하여 상기 텍스트 섹션을 추출하는 단계인 것을 특징으로 하는 악성코드 분류 방법. - 제1항에 있어서,
상기 텍스트 섹션을 추출하는 단계 이후에,
상기 실행파일의 각 섹션을 구분하고 조정하기 위해 사용되는 값을 제거하는 단계를 더 포함하는 것을 특징으로 하는 악성코드 분류 방법. - 삭제
- 제1항에 있어서,
상기 멀티 N-gram 매트릭스는,
한번의 수행에 유니 그램(Uni-gram), 비 그램(Bi-gram) 및 트리 그램(Tri-gram)을 추출하는 것을 특징으로 하는 악성코드 분류 방법. - 제1항에 있어서,
상기 분류하는 단계는,
상기 추출한 시그니처와 기 저장된 악성코드들의 시그니처 간의 유사도를 비교함으로써 상기 악성코드를 분류하는 단계인 것을 특징으로 하는 악성코드 분류 방법. - 악성코드를 분류하는 장치에 있어서,
실행파일에서 텍스트 섹션을 추출하는 추출부; 및
멀티 N-gram 매트릭스(Multi N-gram Matrix)를 이용하여 상기 추출된 텍스트 섹션에서 시그니처를 추출하고 상기 추출한 시그니처를 분석하여 악성코드를 분류하는 분석부
를 포함하고,
상기 분석부는,
상기 멀티 N-gram 매트릭스를 이용하여 한번의 추출에 복수개의 시그니처를 추출하는 것
을 특징으로 하는 악성코드 분류 장치.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120156590A KR101473535B1 (ko) | 2012-12-28 | 2012-12-28 | Multi N―gram을 이용한 악성코드 분류 방법 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020120156590A KR101473535B1 (ko) | 2012-12-28 | 2012-12-28 | Multi N―gram을 이용한 악성코드 분류 방법 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20140087236A KR20140087236A (ko) | 2014-07-09 |
KR101473535B1 true KR101473535B1 (ko) | 2014-12-18 |
Family
ID=51736179
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020120156590A Expired - Fee Related KR101473535B1 (ko) | 2012-12-28 | 2012-12-28 | Multi N―gram을 이용한 악성코드 분류 방법 |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101473535B1 (ko) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019216502A1 (ko) * | 2018-05-09 | 2019-11-14 | 국방과학연구소 | 악성코드 데이터를 분류하는 장치 및 방법 |
KR20200005910A (ko) * | 2018-07-09 | 2020-01-17 | 한양대학교 산학협력단 | 악성 도메인을 판단하는 방법, 이를 이용하는 컴퓨팅 장치, 및 프로그램 |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101851233B1 (ko) * | 2018-02-13 | 2018-04-23 | (주)지란지교시큐리티 | 파일 내 포함된 악성 위협 탐지 장치 및 방법, 그 기록매체 |
KR102120200B1 (ko) * | 2019-12-27 | 2020-06-17 | 주식회사 와이햇에이아이 | 악성 코드 수집 방법 및 시스템 |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004348239A (ja) | 2003-05-20 | 2004-12-09 | Fujitsu Ltd | テキスト分類プログラム |
JP2007219620A (ja) | 2006-02-14 | 2007-08-30 | Fuji Xerox Co Ltd | テキスト検索装置、テキスト検索プログラム、及びテキスト検索方法 |
-
2012
- 2012-12-28 KR KR1020120156590A patent/KR101473535B1/ko not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004348239A (ja) | 2003-05-20 | 2004-12-09 | Fujitsu Ltd | テキスト分類プログラム |
JP2007219620A (ja) | 2006-02-14 | 2007-08-30 | Fuji Xerox Co Ltd | テキスト検索装置、テキスト検索プログラム、及びテキスト検索方法 |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019216502A1 (ko) * | 2018-05-09 | 2019-11-14 | 국방과학연구소 | 악성코드 데이터를 분류하는 장치 및 방법 |
KR20200005910A (ko) * | 2018-07-09 | 2020-01-17 | 한양대학교 산학협력단 | 악성 도메인을 판단하는 방법, 이를 이용하는 컴퓨팅 장치, 및 프로그램 |
KR102100393B1 (ko) | 2018-07-09 | 2020-04-13 | 한양대학교 산학협력단 | 악성 도메인을 판단하는 방법, 이를 이용하는 컴퓨팅 장치, 및 프로그램 |
Also Published As
Publication number | Publication date |
---|---|
KR20140087236A (ko) | 2014-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2722692C1 (ru) | Способ и система выявления вредоносных файлов в неизолированной среде | |
CN107844705B (zh) | 基于二进制代码特征的第三方组件漏洞检测方法 | |
WO2015101097A1 (zh) | 特征提取的方法及装置 | |
US9621571B2 (en) | Apparatus and method for searching for similar malicious code based on malicious code feature information | |
KR101162051B1 (ko) | 문자열 비교 기법을 이용한 악성코드 탐지 및 분류 시스템 및 그 방법 | |
RU2420791C1 (ru) | Метод отнесения ранее неизвестного файла к коллекции файлов в зависимости от степени схожести | |
US9454658B2 (en) | Malware detection using feature analysis | |
KR102317833B1 (ko) | 악성 코드 탐지 모델 학습 방법 및 이를 이용한 탐지 방법 | |
RU2728497C1 (ru) | Способ и система определения принадлежности программного обеспечения по его машинному коду | |
WO2018159010A1 (ja) | 選択装置、選択方法及び選択プログラム | |
RU2728498C1 (ru) | Способ и система определения принадлежности программного обеспечения по его исходному коду | |
CN113139189B (zh) | 一种挖矿恶意软件的识别方法、系统和存储介质 | |
CN113709134B (zh) | 一种基于N-gram和机器学习的恶意软件检测方法及系统 | |
Schofield et al. | Convolutional neural network for malware classification based on API call sequence | |
CN102592080A (zh) | flash恶意文件检测方法及装置 | |
KR101473535B1 (ko) | Multi N―gram을 이용한 악성코드 분류 방법 | |
US11947572B2 (en) | Method and system for clustering executable files | |
CN110399729B (zh) | 一种基于组件特征权重的二进制软件分析方法 | |
O'Kane et al. | N-gram density based malware detection | |
Toan et al. | Static feature selection for IoT malware detection | |
Bat-Erdene et al. | Dynamic classification of packing algorithms for inspecting executables using entropy analysis | |
KR20160100887A (ko) | 코드 블록 비교를 통한 악성 코드 탐지 방법 | |
KR102031592B1 (ko) | 악성코드를 탐지하기 위한 방법 및 장치 | |
KR20230062204A (ko) | 악성 코드 탐지 방법 및 그 장치 | |
Hang et al. | Malware detection method of android application based on simplification instructions |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20121228 |
|
PA0201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20131209 Patent event code: PE09021S01D |
|
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20140620 Patent event code: PE09021S01D |
|
PG1501 | Laying open of application | ||
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20141208 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20141210 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20141210 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
LAPS | Lapse due to unpaid annual fee | ||
PC1903 | Unpaid annual fee |
Termination category: Default of registration fee Termination date: 20180921 |