Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3797308B2 - Packet log recording device - Google Patents
[go: Go Back, main page]

JP3797308B2 - Packet log recording device - Google Patents

Packet log recording device Download PDF

Info

Publication number
JP3797308B2
JP3797308B2 JP2002285643A JP2002285643A JP3797308B2 JP 3797308 B2 JP3797308 B2 JP 3797308B2 JP 2002285643 A JP2002285643 A JP 2002285643A JP 2002285643 A JP2002285643 A JP 2002285643A JP 3797308 B2 JP3797308 B2 JP 3797308B2
Authority
JP
Japan
Prior art keywords
packet
log recording
recorded
storage means
recording device
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
Application number
JP2002285643A
Other languages
Japanese (ja)
Other versions
JP2004128544A (en
Inventor
浩志 星野
孝祥 清水
貴志 田中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP2002285643A priority Critical patent/JP3797308B2/en
Publication of JP2004128544A publication Critical patent/JP2004128544A/en
Application granted granted Critical
Publication of JP3797308B2 publication Critical patent/JP3797308B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、ネットワークを伝播するパケットを記録してパケットの伝播経路を追跡するパケット経路追跡システムで用いられるパケットログ記録装置に関し、特に記録された情報とその情報の確からしさを併せて提示することが可能なパケットログ記録装置に関する。
【0002】
【従来の技術】
従来のネットワークを伝播するパケットを記録してパケットの伝播経路を追跡するパケット経路追跡システムで用いられるパケットログ記録装置に関連する先行技術文献としては次のようなものがある。
【0003】
【特許文献1】
特開平10−164064号公報
【0004】
従来のインターネット上ではパケットを連続してターゲットに送信して当該ターゲットの提供するサービスを停止等させるDoS攻撃(Denial of Service attack:サービス停止攻撃:以下、単にDoSと呼ぶ。)が問題になっている。
【0005】
特に、複数地点から一斉に一つのターゲットに対してDoS攻撃を行うDDoS(Distributed DoS:分散型DoS:以下、単にDDoSと呼ぶ。)が大きな問題になっている。
【0006】
このため、このようなDDoS攻撃等を防止するため、不正なパケットの発信源を特定するパケット経路追跡システムが考案されている。
【0007】
図4はこのような従来のパケット経路追跡システムの一例を示す構成ブロック図である。図4において1は攻撃者(アタッカー)が操作する端末、2はDDoS攻撃等のターゲットとなるサーバ、3及び4はISP(Internet Service Provider:インターネットサービス提供業者:以下、単にISPと呼ぶ。)、5,6,7及び8はルータ、9,10及び11は伝播するパケットの情報を記録するパケットログ記録装置である。
【0008】
端末1はルータ5を介してISP3に接続され、ISP3はルータ6及びルータ7を介してISP4に接続される。また、サーバ2はルータ8を介してISP4に接続される。
【0009】
さらに、端末1とルータ5との間の回線にはパケットログ記録装置9が接続され、ルータ6とルータ7との間の回線にはパケットログ記録装置10が接続され、サーバ2とルータ8との間の回線にはパケットログ記録装置11が接続される。
【0010】
ここで、図4に示す従来のパケット経路追跡システムの動作を図5及び図6を用いて説明する。図5は攻撃者(アタッカー)の攻撃経路を示す説明図、図6はパケットの記録状況を説明する説明図である。
【0011】
図5中”AT01”に示すように攻撃者(アタッカー)は端末1からISP3及びISP4を介してターゲットであるサーバ2に対してDoS攻撃等を行う。
【0012】
一方、パケットログ記録装置9,10及び11は接続された回線を伝播するパケットを取得して記憶手段に順次記録して行く。
【0013】
例えば、図6中”LG11”、”LG12”及び”LG13”に示すようにパケットログ記録装置9,10及び11はDoS攻撃のために伝播する不正なパケットを取得して記憶手段に順次記録する。
【0014】
そして、DoS攻撃等を受けたサーバ2が受信した不正なパケットと、パケットログ記録装置9,10及び11にそれぞれ記録されたパケットを比較して当該不正なパケットが伝播した経路を特定する。
【0015】
例えば、図5に示すDoS攻撃等に用いられた不正なパケットはパケットログ記録装置9,10及び11に記録されているので図5中”AT01”に示すような不正なパケットの伝播経路を特定することが可能になる。
【0016】
但し、監視している回線に伝播するパケットの全ての情報を順次記録するために、記憶手段には膨大な記憶容量が必要になるため、効率良くパケットの情報を保持する方法が考案されている。
【0017】
図7はこのようなパケットログ記録装置の具体例を示す構成ブロック図であり、12は演算制御手段、13は記憶手段である。
【0018】
観測点である回線からの入力は演算制御手段12に接続され、演算制御手段12の出力は記憶手段13に接続される。
【0019】
ここで、図7に示すパケットログ記録装置の動作を図8を用いて説明する。図8は取得したパケットの記録方法を説明する説明図である。
【0020】
図7中”LG21”に示すように観測点である回線から入力されたパケットは演算制御手段12に取り込まれ、IP(Internet Protocol)パケットの中で伝播中に不変である部分等を抽出する。
【0021】
そして、演算制御手段12は抽出された情報をハッシュ関数を用いてハッシュ値に変換し、このハッシュ値を記憶手段13のアドレスとみなして、該当するアドレスにビットを立てる等してある特定のパケットが伝播したことを記録する。
【0022】
ここで、ハッシュ関数とは、原文から固定長の疑似乱数(ハッシュ値)を生成する関数であって、このハッシュ関数は不可逆な一方向関数を含むために生成されたハッシュ値から元の原文を再現することはできない。また、同じハッシュ値となる異なるデータを作成することは極めて困難である。
【0023】
例えば、演算制御手段12が、図8中”PI31”に示すような取得したパケットから抽出された伝播中に不変である部分にハッシュ関数を適用して、図8中”HV31”に示すようなハッシュ値(例えば、XXXXH:16ビットの16進数表現)を得られた場合を想定する。
【0024】
この場合、演算制御手段12は得られたハッシュ値(XXXXH)を記憶手段13のアドレスとみなして、”XXXXH”のアドレスに図8中”WD31”に示すようにデータを書き込む。
【0025】
例えば、データの書込み方法としては”00000000B(8ビットデータ)”から”00000001B”等(ビットを立てる)に変更することによってある特定のパケットが伝播したことを記録する。
【0026】
そして、DoS攻撃等を受けたサーバが受信した不正なパケットに前記ハッシュ関数を適用して得られたハッシュ値に対応する記憶手段13のアドレスにビットが立っていれば不正なパケットがパケットログ記録装置が接続された回線を伝播したことになる。
【0027】
この結果、図7に示すパケットログ記録装置ではパケットの情報を全て記憶手段に記録するのではなく、パケットの一部分にハッシュ関数を適用して得られたハッシュ値に対応する記憶手段のアドレスに記録する(ビットを立てる)ことにより、記憶手段の記憶容量は小さくて良く、効率良くパケットの情報を保持することが可能である。
【0028】
【発明が解決しようとする課題】
しかし、図7に示すパケットログ記録装置では、IPパケットの中で伝播中に不変である部分等を抽出してハッシュ関数を用いてハッシュ値に変換し、このハッシュ値を記憶手段のアドレスとみなしてデータの書き込み行っているが、全く異なるIPパケットであってもたまたま変換されたハッシュ値が一致してしまう可能性が僅かながら存在する。
【0029】
このため、DoS攻撃等を受けたサーバが受信した不正なパケットに前記ハッシュ関数を適用して得られたハッシュ値に対応する記憶手段13のアドレスにビットが立っていても、当該不正なパケットではない可能性も否定できず、また、当該不正なパケットであるか否かを判断することもできないと言った問題点があった。
従って本発明が解決しようとする課題は、記録された情報とその情報の確からしさを併せて提示することが可能なパケットログ記録装置を実現することにある。
【0030】
【課題を解決するための手段】
このような課題を達成するために、本発明のうち請求項1記載の発明は、
ネットワークの複数の観測点を伝播するパケットを記録するパケットログ記録装置において、
前記パケットの情報を記録する第1の記憶手段と、前記第1の記憶手段の埋まり率を記録する第2の記憶手段と、複数の前記観測点の一を伝播するパケットを取り込み伝播中に不変である部分を抽出してハッシュ関数を適用し、得られたハッシュ値を前記第1の記憶手段のアドレスとみなしてこのアドレスの特定のビットにデータを書き込むと共に前記第1の記憶手段のデータの前記埋まり率を取得して前記第2の記憶手段に記録する演算制御手段とを備えたことにより、検索したパケットがログ記録装置に記録されたパケットと同一である確率を得ることが可能になる。
【0031】
請求項2記載の発明は、
ネットワークの複数の観測点を伝播するパケットを記録するパケットログ記録装置において、
前記パケットの情報及び埋まり率をログ記録領域及び埋まり率記録領域にそれぞれ記録する記憶手段と、複数の前記観測点の一を伝播するパケットを取り込み伝播中に不変である部分を抽出してハッシュ関数を適用し、得られたハッシュ値を前記ログ記録領域のアドレスとみなしてこのアドレスの特定のビットにデータを書き込むと共に前記ログ記録領域のデータの前記埋まり率を取得して前記埋まり率記録領域に記録する演算制御手段とを備えたことにより、検索したパケットがログ記録装置に記録されたパケットと同一である確率を得ることが可能になる。
【0032】
請求項3記載の発明は、
請求項1記載の発明であるパケットログ記録装置において、
前記演算制御手段が、
前記埋まり率から正解確率を演算して前記第2の記憶手段に記録することにより、検索
したパケットがログ記録装置に記録されたパケットと同一である確率を得ることが可能になる。
【0033】
請求項4記載の発明は、
請求項1記載の発明であるパケットログ記録装置において、
前記演算制御手段が、
前記ハッシュ値が既に記録されているハッシュ値と同一であった回数を取得して前記第2の記憶手段に記録することにより、一連の攻撃パケットと考えられるものを同時に検索する場合により的確な判断材料になる。
【0034】
請求項5記載の発明は、
請求項1記載の発明であるパケットログ記録装置において、
前記演算制御手段が、
最後に特定の前記ハッシュ値に対応するアドレスにデータを記録した時刻を取得して前記第2の記憶手段に記録することにより、一連の攻撃パケットと考えられるものを同時に検索する場合により的確な判断材料になる。
【0035】
請求項6記載の発明は、
請求項1記載の発明であるパケットログ記録装置において、
前記演算制御手段が、
最後に特定のハッシュ値が既に記録されているハッシュ値と同一であった時刻を取得して前記第2の記憶手段に記録することにより、一連の攻撃パケットと考えられるものを同時に検索する場合により的確な判断材料になる。
【0036】
請求項7記載の発明は、
請求項1記載の発明であるパケットログ記録装置において、
前記演算制御手段が、
最近記録したハッシュ値と記録時刻を過去に遡って複数個取得して前記第2の記憶手段に記録することにより、一連の攻撃パケットと考えられるものを同時に検索する場合により的確な判断材料になる。
【0037】
請求項8記載の発明は、
請求項1記載の発明であるパケットログ記録装置において、
前記演算制御手段が、
前記第1の記憶手段を複数の領域に分割して管理することにより、検索したパケットがログ記録装置に記録されたパケットと同一である確率を得ることが可能になる。
請求項9記載の発明は、
請求項2記載の発明であるパケットログ記録装置において、
前記演算制御手段が、
最近記録したハッシュ値と記録時刻を過去に遡って複数個取得して前記埋まり率記録領域に記録することにより、一連の攻撃パケットと考えられるものを同時に検索する場合により的確な判断材料になる。
請求項10記載の発明は、
前記演算制御手段が、
前記ログ記録領域を複数の領域に分割して管理することにより、検索したパケットがログ記録装置に記録されたパケットと同一である確率を得ることが可能になる。
【0038】
【発明の実施の形態】
以下本発明を図面を用いて詳細に説明する。図1は本発明に係るパケット経路追跡システムのログ記録装置の一実施例を示す構成ブロック図である。
【0039】
図1において13は図7と同一符号を付してあり、12aは演算制御手段、14は埋まり率を記録するための記憶手段である。観測点である回線からの入力は演算制御手段12aに接続され、演算制御手段12aの出力は記憶手段13及び14にそれぞれ接続される。
【0040】
ここで、図1に示す実施例の動作を図2及び図3を用いて説明する。図2は演算制御手段12aの動作を説明するフロー図、図3は記憶手段13の状況の一例を示す説明図である。
【0041】
全く異なるIPパケットであってもたまたま変換されたハッシュ値が一致してしまう確率はログを記録する記憶手段13にデータが埋まってゆくほど高くなるため、記憶手段13におけるデータの埋まり率をハッシュ値がたまたま一致してしまう確率として求めて記憶手段に記録させる。
【0042】
すなわち、図2中”S001”において演算制御手段12aは記憶手段13の状況を検索して記憶手段13に記録されているデータの数を取得する。
【0043】
例えば、図3に示す記憶手段13の状況から、図3中”SD01”,”SD02”,”SD03”,”SD04”,”SD05”,”SD06”及び”SD07”に示すアドレス部分にデータが書き込まれているのでそのデータ数を取得する。
【0044】
そして、図2中”S002”において演算制御手段12aは取得した記憶手段13に記録されているデータの数を記憶手段13の最大記録数で除算し、図2中”S003”において除算結果を埋まり率として記憶手段14に記録する。
【0045】
すなわち、DoS攻撃等を受けたサーバが受信した不正なパケットに前記ハッシュ関数を適用して得られたハッシュ値に対応する記憶手段13のアドレスにビットが立っている場合、記憶手段14に記録されている埋まり率を参照することにより、ハッシュ値がたまたま一致してしまう確率を得ることが可能になる。
【0046】
この結果、演算制御手段12aがログを記録する記憶手段13のデータの埋まり率を取得して記録することにより、ハッシュ値がたまたま一致してしまう確率を得ることが可能になり、検索したパケットがログ記録装置に記録されたパケットと同一である確率を得ることが可能になる。
【0047】
なお、図1に示す実施例では説明の簡単のためにパケットのログを記録する記憶手段13と、埋まり率を記録する記憶手段14をそれぞれ別個に記載しているが、勿論、1つの記憶手段をログ記録領域及び埋まり率記録領域と言った2つの領域に分割して用いても構わない。
【0048】
また、埋まり率を”A”とした場合、演算制御手段12aで”(1−A)×100[%]”等の演算をして、これを正解確率として記憶手段14に記録しても構わない。
【0049】
また、演算制御手段12aがハッシュ値が一致した回数を取得して記憶手段14に記録しても構わない。
【0050】
また、演算制御手段12aが最後に特定のハッシュ値(アドレス)にデータを記録した時刻及び最後に特定のハッシュ値が一致した時刻を取得して記憶手段14に記録しても構わない。
【0051】
また、演算制御手段12aが最近ハッシュ値が一致したハッシュ値を過去に遡って複数個(例えば、過去10個分)取得して記憶手段14に記録しても構わない。
【0052】
この場合、”ハッシュ値が一致した回数”、”最後に特定のハッシュ値(アドレス)にデータを記録した時刻”、”最後に特定のハッシュ値が一致した時刻”及び”最近ハッシュ値が一致したハッシュ値を過去に遡って複数個”等を記録することにより、より正確な記録時刻が得られる等、一連の攻撃パケットと考えられるものを同時に検索する場合により的確な判断材料になる。
【0053】
また、演算制御手段12aが記憶手段13を複数の領域に分割して管理しても構わない。例えば、演算制御手段12aが各領域毎に”ハッシュ値が一致した回数”、”最後に特定のハッシュ値(アドレス)にデータを記録した時刻”、”最後に特定のハッシュ値が一致した時刻”及び”最近ハッシュ値が一致したハッシュ値を過去に遡って複数個”等を取得して記憶手段14に記録しても構わない。
【0054】
また、図2に示す説明に際しては演算制御手段12aは記憶手段13の状況を検索している旨記載しているが、記憶手段13に新たに記録する回数を予めカウントしておいて、当該カウント値を参照しても構わない。
【0055】
【発明の効果】
以上説明したことから明らかなように、本発明によれば次のような効果がある。
請求項1,2,3,8及び請求項10の発明によれば、演算制御手段がログを記録する記憶手段のデータの埋まり率を取得して記録することにより、ハッシュ値がたまたま一致してしまう確率を得ることが可能になり、検索したパケットがログ記録装置に記録されたパケットと同一である確率を得ることが可能になる。
【0056】
また、請求項4,5,6,7及び請求項9の発明によれば、演算制御手段が、”ハッシュ値が一致した回数”、”最後に特定のハッシュ値(アドレス)にデータを記録した時刻”、”最後に特定のハッシュ値が一致した時刻”及び”最近ハッシュ値が一致したハッシュ値を過去に遡って複数個”等を記録することにより、一連の攻撃パケットと考えられるものを同時に検索する場合により的確な判断材料になる。
【図面の簡単な説明】
【図1】本発明に係るパケット経路追跡システムのログ記録装置の一実施例を示す構成ブロック図である。
【図2】演算制御手段の動作を説明するフロー図である。
【図3】記憶手段の状況の一例を示す説明図である。
【図4】従来のパケット経路追跡システムの一例を示す構成ブロック図である。
【図5】攻撃者(アタッカー)の攻撃経路を示す説明図である。
【図6】パケットの記録状況を説明する説明図である。
【図7】パケットログ記録装置の具体例を示す構成ブロック図である。
【図8】取得したパケットの記録方法を説明する説明図である。
【符号の説明】
1 端末
2 サーバ
3,4 ISP
5,6,7,8 ルータ
9,10,11 パケットログ記録装置
12,12a 演算制御手段
13,14 記憶手段
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a packet log recording device used in a packet path tracking system that records a packet propagating through a network and tracks a packet propagation path, and particularly presents recorded information and the accuracy of the information. The present invention relates to a packet log recording apparatus capable of
[0002]
[Prior art]
Prior art documents related to a packet log recording device used in a packet path tracking system that records a packet propagating through a conventional network and tracks a packet propagation path include the following.
[0003]
[Patent Document 1]
JP-A-10-164064 [0004]
On the conventional Internet, a DoS attack (Denial of Service attack: hereinafter simply referred to as DoS) is a problem in which packets are continuously transmitted to a target to stop a service provided by the target. Yes.
[0005]
In particular, DDoS (Distributed DoS: hereinafter simply referred to as DDoS), which performs DoS attacks on a single target simultaneously from a plurality of points, is a big problem.
[0006]
For this reason, in order to prevent such a DDoS attack or the like, a packet path tracking system that identifies the source of an illegal packet has been devised.
[0007]
FIG. 4 is a block diagram showing an example of such a conventional packet path tracking system. In FIG. 4, 1 is a terminal operated by an attacker (attacker), 2 is a target server for DDoS attacks and the like, 3 and 4 are ISPs (Internet Service Providers: hereinafter simply referred to as ISPs), Reference numerals 5, 6, 7 and 8 denote routers. Reference numerals 9, 10 and 11 denote packet log recording devices for recording information of packets to propagate.
[0008]
The terminal 1 is connected to the ISP 3 via the router 5, and the ISP 3 is connected to the ISP 4 via the router 6 and the router 7. The server 2 is connected to the ISP 4 via the router 8.
[0009]
Further, a packet log recording device 9 is connected to the line between the terminal 1 and the router 5, a packet log recording device 10 is connected to the line between the router 6 and the router 7, and the server 2 and the router 8 The packet log recording device 11 is connected to the line between the two.
[0010]
Here, the operation of the conventional packet path tracking system shown in FIG. 4 will be described with reference to FIGS. FIG. 5 is an explanatory diagram showing an attack path of an attacker (attacker), and FIG. 6 is an explanatory diagram explaining a packet recording state.
[0011]
As shown by “AT01” in FIG. 5, an attacker (attacker) performs a DoS attack or the like from the terminal 1 to the target server 2 via the ISP 3 and ISP 4.
[0012]
On the other hand, the packet log recording devices 9, 10 and 11 acquire packets propagating through the connected lines and sequentially record them in the storage means.
[0013]
For example, as shown by “LG11”, “LG12”, and “LG13” in FIG. 6, the packet log recording devices 9, 10, and 11 acquire illegal packets that propagate due to a DoS attack and sequentially record them in the storage means. .
[0014]
Then, the illegal packet received by the server 2 subjected to the DoS attack or the like is compared with the packets recorded in the packet log recording devices 9, 10, and 11, respectively, and the path through which the illegal packet propagated is specified.
[0015]
For example, since the illegal packet used in the DoS attack shown in FIG. 5 is recorded in the packet log recording devices 9, 10 and 11, the propagation path of the illegal packet as indicated by “AT01” in FIG. 5 is specified. It becomes possible to do.
[0016]
However, in order to sequentially record all information of packets propagated to the monitored line, the storage means requires a huge storage capacity, and therefore a method for efficiently holding packet information has been devised. .
[0017]
FIG. 7 is a block diagram showing a specific example of such a packet log recording apparatus. Reference numeral 12 denotes an arithmetic control unit, and 13 denotes a storage unit.
[0018]
The input from the line that is the observation point is connected to the calculation control means 12, and the output of the calculation control means 12 is connected to the storage means 13.
[0019]
Here, the operation of the packet log recording apparatus shown in FIG. 7 will be described with reference to FIG. FIG. 8 is an explanatory diagram for explaining a method of recording the acquired packet.
[0020]
As shown by “LG21” in FIG. 7, a packet input from a line as an observation point is taken into the arithmetic control means 12, and a portion that is invariant during propagation is extracted from an IP (Internet Protocol) packet.
[0021]
Then, the arithmetic control means 12 converts the extracted information into a hash value using a hash function, regards this hash value as the address of the storage means 13, and sets a specific packet such as setting a bit at the corresponding address. Records that has been propagated.
[0022]
Here, the hash function is a function that generates a fixed-length pseudo-random number (hash value) from the original text, and since this hash function includes an irreversible one-way function, the original text is generated from the generated hash value. It cannot be reproduced. Also, it is extremely difficult to create different data with the same hash value.
[0023]
For example, the arithmetic control unit 12 applies a hash function to a portion that is invariant during propagation extracted from the acquired packet as indicated by “PI31” in FIG. 8, and as indicated by “HV31” in FIG. Assume that a hash value (for example, XXXXH: 16-bit hexadecimal representation) is obtained.
[0024]
In this case, the arithmetic control unit 12 regards the obtained hash value (XXXXH) as the address of the storage unit 13 and writes data to the address “XXXXH” as indicated by “WD31” in FIG.
[0025]
For example, it is recorded that a specific packet has been propagated by changing the data writing method from “00000000B (8-bit data)” to “00000001B” or the like (setting a bit).
[0026]
If a bit is set in the address of the storage means 13 corresponding to the hash value obtained by applying the hash function to an illegal packet received by a server that has received a DoS attack or the like, the illegal packet is recorded in the packet log. This means that the device has propagated through the connected line.
[0027]
As a result, the packet log recording apparatus shown in FIG. 7 does not record all the packet information in the storage means, but records it at the address of the storage means corresponding to the hash value obtained by applying the hash function to a part of the packet. By doing (setting a bit), the storage capacity of the storage means may be small, and packet information can be efficiently held.
[0028]
[Problems to be solved by the invention]
However, the packet log recording apparatus shown in FIG. 7 extracts a portion that is invariant during propagation in the IP packet, converts it into a hash value using a hash function, and regards this hash value as the address of the storage means. However, there is a slight possibility that the converted hash values will coincide even with completely different IP packets.
[0029]
For this reason, even if a bit is set in the address of the storage means 13 corresponding to the hash value obtained by applying the hash function to an illegal packet received by a server that has received a DoS attack or the like, There is a problem that it is impossible to deny the possibility that there is no packet, and it is impossible to determine whether the packet is an illegal packet.
Therefore, the problem to be solved by the present invention is to realize a packet log recording apparatus capable of presenting recorded information and the certainty of the information together.
[0030]
[Means for Solving the Problems]
In order to achieve such a problem, the invention according to claim 1 of the present invention is:
In a packet log recording device that records packets propagating through multiple observation points of the network,
A first storage means for recording the packet information; a second storage means for recording the filling rate of the first storage means; and a packet that propagates through one of the plurality of observation points is captured and unchanged during propagation. Is extracted, the hash function is applied, the obtained hash value is regarded as the address of the first storage means, data is written to a specific bit of this address, and the data of the first storage means By providing the calculation control means for acquiring the filling rate and recording it in the second storage means, it is possible to obtain a probability that the retrieved packet is the same as the packet recorded in the log recording device. .
[0031]
The invention according to claim 2
In a packet log recording device that records packets propagating through multiple observation points of the network,
Storage means for recording the packet information and filling rate in a log recording area and a filling rate recording area respectively, and a hash function by extracting a packet that propagates through one of the plurality of observation points and extracting an invariant part during propagation And the obtained hash value is regarded as the address of the log recording area, and data is written to a specific bit of the address, and the filling rate of the data in the log recording area is acquired and stored in the filling rate recording area. By providing the operation control means for recording, it is possible to obtain a probability that the retrieved packet is the same as the packet recorded in the log recording device.
[0032]
The invention described in claim 3
In the packet log recording device according to claim 1,
The arithmetic control means is
By calculating the correct probability from the filling rate and recording it in the second storage means, it is possible to obtain the probability that the retrieved packet is the same as the packet recorded in the log recording device.
[0033]
The invention according to claim 4
In the packet log recording device according to claim 1,
The arithmetic control means is
By obtaining the number of times that the hash value is the same as the already recorded hash value and recording it in the second storage means, it is possible to make a more accurate judgment when simultaneously searching for a series of attack packets. Become a material.
[0034]
The invention according to claim 5
In the packet log recording device according to claim 1,
The arithmetic control means is
Finally, the time when data was recorded at the address corresponding to the specific hash value is acquired and recorded in the second storage means, so that a more accurate judgment can be made when simultaneously searching for a series of attack packets. Become a material.
[0035]
The invention described in claim 6
In the packet log recording device according to claim 1,
The arithmetic control means is
Finally, by acquiring the time when the specific hash value was the same as the already recorded hash value and recording it in the second storage means, it is possible to simultaneously search for a series of possible attack packets. It becomes an accurate judgment material.
[0036]
The invention described in claim 7
In the packet log recording device according to claim 1,
The arithmetic control means is
By acquiring a plurality of recently recorded hash values and recording times retroactively and recording them in the second storage means, it becomes a more accurate judgment material when simultaneously searching for a series of possible attack packets. .
[0037]
The invention described in claim 8
In the packet log recording device according to claim 1,
The arithmetic control means is
By dividing and managing the first storage means into a plurality of areas, it is possible to obtain a probability that the retrieved packet is the same as the packet recorded in the log recording device.
The invention according to claim 9
In the packet log recording device according to claim 2,
The arithmetic control means is
By obtaining a plurality of recently recorded hash values and recording times retroactively and recording them in the filling rate recording area, it becomes a more accurate judgment material when simultaneously searching for a series of attack packets.
The invention according to claim 10 is:
The arithmetic control means is
By dividing and managing the log recording area into a plurality of areas, it is possible to obtain a probability that the retrieved packet is the same as the packet recorded in the log recording apparatus.
[0038]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment of a log recording device of a packet path tracking system according to the present invention.
[0039]
In FIG. 1, 13 is assigned the same reference numeral as in FIG. 7, 12a is a calculation control means, and 14 is a storage means for recording the filling rate. The input from the line as the observation point is connected to the calculation control means 12a, and the output of the calculation control means 12a is connected to the storage means 13 and 14, respectively.
[0040]
The operation of the embodiment shown in FIG. 1 will be described with reference to FIGS. FIG. 2 is a flowchart for explaining the operation of the arithmetic control means 12a. FIG. 3 is an explanatory view showing an example of the situation of the storage means 13.
[0041]
Since the probability that the converted hash values coincide even if they are completely different IP packets becomes higher as the data is buried in the storage means 13 for recording the log, the data filling rate in the storage means 13 is determined by the hash value. Is obtained as the probability of coincidence happening and recorded in the storage means.
[0042]
That is, in “S001” in FIG. 2, the arithmetic control unit 12 a searches the status of the storage unit 13 and acquires the number of data recorded in the storage unit 13.
[0043]
For example, from the situation of the storage means 13 shown in FIG. 3, data is stored in the address portions shown in “SD01”, “SD02”, “SD03”, “SD04”, “SD05”, “SD06”, and “SD07” in FIG. Since it is written, the number of data is obtained.
[0044]
Then, in “S002” in FIG. 2, the arithmetic control unit 12a divides the acquired number of data recorded in the storage unit 13 by the maximum recording number of the storage unit 13, and fills the division result in “S003” in FIG. The rate is recorded in the storage means 14.
[0045]
That is, when a bit is set in the address of the storage unit 13 corresponding to the hash value obtained by applying the hash function to an illegal packet received by a server that has received a DoS attack or the like, the bit is recorded in the storage unit 14 By referring to the filling rate, it is possible to obtain the probability that the hash values will coincide.
[0046]
As a result, the calculation control unit 12a acquires and records the data filling rate of the storage unit 13 that records the log, thereby obtaining a probability that the hash values coincide with each other. It is possible to obtain a probability that it is the same as the packet recorded in the log recording device.
[0047]
In the embodiment shown in FIG. 1, the storage means 13 for recording the packet log and the storage means 14 for recording the filling rate are described separately for the sake of simplicity. Of course, one storage means is provided. May be divided into two areas such as a log recording area and a filling rate recording area.
[0048]
Further, when the filling rate is “A”, the calculation control means 12a may calculate “(1−A) × 100 [%]” or the like and record it in the storage means 14 as the correct answer probability. Absent.
[0049]
Further, the arithmetic control unit 12a may acquire the number of times the hash values match and record them in the storage unit 14.
[0050]
Alternatively, the time when the arithmetic control unit 12a last recorded data at a specific hash value (address) and the last time when the specific hash value matched may be acquired and recorded in the storage unit 14.
[0051]
Further, the arithmetic control unit 12a may acquire a plurality of hash values (for example, the past ten) that have recently matched hash values and record them in the storage unit 14.
[0052]
In this case, “the number of times the hash value matched”, “the time when data was last recorded at a specific hash value (address)”, “the time when the specific hash value last matched”, and “the latest hash value matched By recording a plurality of hash values retroactively in the past, a more accurate recording time can be obtained. For example, a more accurate determination time can be obtained when simultaneously searching for a series of attack packets.
[0053]
The arithmetic control unit 12a may manage the storage unit 13 by dividing it into a plurality of areas. For example, the arithmetic control means 12a “has the number of times the hash value is matched” for each area, “the time when data is finally recorded at a specific hash value (address)”, and “the time when the specific hash value finally matches” In addition, “a plurality of hash values whose hash values have been matched recently” may be acquired and recorded in the storage unit 14.
[0054]
In the description shown in FIG. 2, it is described that the arithmetic control means 12a is searching for the status of the storage means 13, but the number of times of new recording in the storage means 13 is counted in advance, and the count You may refer to the value.
[0055]
【The invention's effect】
As is apparent from the above description, the present invention has the following effects.
According to the first, second, third, eighth and tenth aspects of the present invention, the calculation control means acquires and records the data filling rate of the storage means for recording the log so that the hash values coincide with each other. It is possible to obtain the probability that the retrieved packet is the same as the packet recorded in the log recording device.
[0056]
According to the inventions of claims 4, 5, 6, 7 and 9, the operation control means records the data to the “number of times the hash values match” and “the last hash value (address)”. By recording “time”, “the time when a specific hash value was last matched” and “a plurality of hash values with the most recent hash value that were matched” in the past, what could be considered as a series of attack packets at the same time It becomes a more accurate judgment material when searching.
[Brief description of the drawings]
FIG. 1 is a configuration block diagram showing an embodiment of a log recording device of a packet path tracking system according to the present invention.
FIG. 2 is a flowchart for explaining the operation of an arithmetic control unit.
FIG. 3 is an explanatory diagram showing an example of the status of storage means.
FIG. 4 is a configuration block diagram showing an example of a conventional packet path tracking system.
FIG. 5 is an explanatory diagram showing an attack path of an attacker (attacker).
FIG. 6 is an explanatory diagram for explaining a packet recording state;
FIG. 7 is a configuration block diagram showing a specific example of a packet log recording apparatus.
FIG. 8 is an explanatory diagram illustrating a method for recording acquired packets.
[Explanation of symbols]
1 Terminal 2 Server 3, 4 ISP
5, 6, 7, 8 Router 9, 10, 11 Packet log recording device 12, 12a Arithmetic control means 13, 14 Storage means

Claims (10)

ネットワークの複数の観測点を伝播するパケットを記録するパケットログ記録装置において、
前記パケットの情報を記録する第1の記憶手段と、
前記第1の記憶手段の埋まり率を記録する第2の記憶手段と、
複数の前記観測点の一を伝播するパケットを取り込み伝播中に不変である部分を抽出してハッシュ関数を適用し、得られたハッシュ値を前記第1の記憶手段のアドレスとみなしてこのアドレスの特定のビットにデータを書き込むと共に前記第1の記憶手段のデータの前記埋まり率を取得して前記第2の記憶手段に記録する演算制御手段と
を備えたことを特徴とするパケットログ記録装置。
In a packet log recording device that records packets propagating through multiple observation points of the network,
First storage means for recording information of the packet;
Second storage means for recording the filling rate of the first storage means;
A packet propagating through one of the observation points is taken in, a portion that is invariant during propagation is extracted, a hash function is applied, and the obtained hash value is regarded as the address of the first storage means, A packet log recording apparatus comprising: an operation control unit that writes data to a specific bit and acquires the filling rate of the data in the first storage unit and records the data in the second storage unit.
ネットワークの複数の観測点を伝播するパケットを記録するパケットログ記録装置において、
前記パケットの情報及び埋まり率をログ記録領域及び埋まり率記録領域にそれぞれ記録する記憶手段と、
複数の前記観測点の一を伝播するパケットを取り込み伝播中に不変である部分を抽出してハッシュ関数を適用し、得られたハッシュ値を前記ログ記録領域のアドレスとみなしてこのアドレスの特定のビットにデータを書き込むと共に前記ログ記録領域のデータの前記埋まり率を取得して前記埋まり率記録領域に記録する演算制御手段と
を備えたことを特徴とするパケットログ記録装置。
In a packet log recording device that records packets propagating through multiple observation points of the network,
Storage means for recording the packet information and the filling rate in a log recording area and a filling rate recording area, respectively;
A packet propagating through one of the observation points is taken, a portion that is invariant during propagation is extracted and a hash function is applied, and the obtained hash value is regarded as the address of the log recording area and a specific address of this address A packet log recording apparatus comprising: an operation control unit that writes data in bits and acquires the filling rate of data in the log recording area and records the data in the filling rate recording area.
前記演算制御手段が、
前記埋まり率から正解確率を演算して前記第2の記憶手段に記録することを特徴とする
請求項1記載のパケットログ記録装置。
The arithmetic control means is
A correct probability is calculated from the filling rate and recorded in the second storage means.
The packet log recording device according to claim 1.
前記演算制御手段が、
前記ハッシュ値が既に記録されているハッシュ値と同一であった回数を取得して前記第2の記憶手段に記録することを特徴とする
請求項1記載のパケットログ記録装置。
The arithmetic control means is
The number of times that the hash value is identical to the hash value already recorded is acquired and recorded in the second storage means
The packet log recording device according to claim 1.
前記演算制御手段が、
最後に特定の前記ハッシュ値に対応するアドレスにデータを記録した時刻を取得して前記第2の記憶手段に記録することを特徴とする
請求項1記載のパケットログ記録装置。
The arithmetic control means is
Finally, the time when the data was recorded at the address corresponding to the specific hash value is acquired and recorded in the second storage means.
The packet log recording device according to claim 1.
前記演算制御手段が、
最後に特定のハッシュ値が既に記録されているハッシュ値と同一であった時刻を取得して前記第2の記憶手段に記録することを特徴とする
請求項1記載のパケットログ記録装置。
The arithmetic control means is
Finally, the time when the specific hash value is the same as the already recorded hash value is acquired and recorded in the second storage means
The packet log recording device according to claim 1.
前記演算制御手段が、
最近記録したハッシュ値と記録時刻を過去に遡って複数個取得して前記第2の記憶手段に記録することを特徴とする
請求項1記載のパケットログ記録装置。
The arithmetic control means is
A plurality of recently recorded hash values and recording times are acquired retroactively and recorded in the second storage means.
The packet log recording device according to claim 1.
前記演算制御手段が、
前記第1の記憶手段を複数の領域に分割して管理することを特徴とする
請求項1記載のパケットログ記録装置。
The arithmetic control means is
The first storage unit is divided into a plurality of areas for management.
The packet log recording device according to claim 1.
前記演算制御手段が、The arithmetic control means is
最近記録したハッシュ値と記録時刻を過去に遡って複数個取得して前記埋まり率記録領域に記録することを特徴とする  A plurality of recently recorded hash values and recording times are acquired retroactively and recorded in the filling rate recording area.
請求項2記載のパケットログ記録装置。The packet log recording device according to claim 2.
前記演算制御手段が、The arithmetic control means is
前記ログ記録領域を複数の領域に分割して管理することを特徴とする  The log recording area is divided into a plurality of areas and managed.
請求項2記載のパケットログ記録装置。The packet log recording device according to claim 2.
JP2002285643A 2002-09-30 2002-09-30 Packet log recording device Expired - Fee Related JP3797308B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002285643A JP3797308B2 (en) 2002-09-30 2002-09-30 Packet log recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002285643A JP3797308B2 (en) 2002-09-30 2002-09-30 Packet log recording device

Publications (2)

Publication Number Publication Date
JP2004128544A JP2004128544A (en) 2004-04-22
JP3797308B2 true JP3797308B2 (en) 2006-07-19

Family

ID=32278890

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002285643A Expired - Fee Related JP3797308B2 (en) 2002-09-30 2002-09-30 Packet log recording device

Country Status (1)

Country Link
JP (1) JP3797308B2 (en)

Also Published As

Publication number Publication date
JP2004128544A (en) 2004-04-22

Similar Documents

Publication Publication Date Title
JP3448254B2 (en) Access chain tracking system, network system, method, and recording medium
US8260910B2 (en) Method and apparatus for monitoring a data stream to detect a pattern of data elements using bloom filters
CN110313147B (en) Data processing method, device and system
US20210360013A1 (en) Detection method for malicious domain name in domain name system and detection device
CN110324295A (en) A kind of defence method and device of domain name system extensive aggression
CN113382011A (en) Method for preventing replay attack by API interface
US20180270197A1 (en) Intrusion prevention
Satam et al. Dns-ids: Securing dns in the cloud era
Alston et al. Neutralizing interest flooding attacks in named data networks using cryptographic route tokens
KR20170054215A (en) Method for connection fingerprint generation and traceback based on netflow
JP3797308B2 (en) Packet log recording device
KR101081433B1 (en) Backtracking Method of Attack Packet in IP6-based Network and Its Recording Media
CN111988421A (en) Method and system for recording DDoS attack log abstract based on block chain
JP3750803B2 (en) Packet log recording device
US20060085861A1 (en) Tracing slaves from reflectors with deterministic packet marking
JP3826399B2 (en) Packet log recording device
JP7221170B2 (en) Attribute information generation device, attribute identification device, attribute information generation method, and attribute identification method
WO2024027079A1 (en) Domain-name reflection attack detection method and apparatus, and electronic device and storage medium
CN116633665A (en) Hybrid attack source tracing method and system for address spoofing
JP4235907B2 (en) Worm propagation monitoring system
Su et al. Privacy preserving IP traceback
CN108900543A (en) The method and apparatus of managing firewall rule
JP3832412B2 (en) Packet path tracking system
JP3889701B2 (en) Packet path tracking system
CN116094841B (en) Behavior identification method and device in encrypted channel and electronic equipment

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040316

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050909

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051004

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051128

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20060328

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060410

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110428

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees