JP2018018542A - Improper email determination device and program - Google Patents

Improper email determination device and program Download PDF

Info

Publication number
JP2018018542A
JP2018018542A JP2017204212A JP2017204212A JP2018018542A JP 2018018542 A JP2018018542 A JP 2018018542A JP 2017204212 A JP2017204212 A JP 2017204212A JP 2017204212 A JP2017204212 A JP 2017204212A JP 2018018542 A JP2018018542 A JP 2018018542A
Authority
JP
Japan
Prior art keywords
mail
history
determination
received
destination
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.)
Granted
Application number
JP2017204212A
Other languages
Japanese (ja)
Other versions
JP6480541B2 (en
Inventor
孝広 彦坂
Takahiro Hikosaka
孝広 彦坂
亮太 竹本
Ryota Takemoto
亮太 竹本
光貴 小倉
Mitsutaka Ogura
光貴 小倉
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.)
NTT TechnoCross Corp
Original Assignee
NTT TechnoCross 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 NTT TechnoCross Corp filed Critical NTT TechnoCross Corp
Priority to JP2017204212A priority Critical patent/JP6480541B2/en
Publication of JP2018018542A publication Critical patent/JP2018018542A/en
Application granted granted Critical
Publication of JP6480541B2 publication Critical patent/JP6480541B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To determine whether a received email is improper or not by only checking at a reception side without providing a special mechanism at a transmission side or a relay network.SOLUTION: An improper email determination device includes: improper email determination means for referring to a history database that stores a transmission history, i.e. a history of emails transmitted to the outside and a reception history, i.e. a history of emails received from the outside, and determining whether a received email is an improper email or not by using either the transmission history or the reception history, or both transmission history and reception history; and improper email control means for carrying out a process corresponding to determination of the received email being an improper email if the improper email determination means determines that the received email is an improper email.SELECTED DRAWING: Figure 13

Description

本発明は、受信したメールが不正なメールかどうかを判定する技術に関連するものである。   The present invention relates to a technique for determining whether a received mail is an illegal mail.

現在、通信ネットワークを介してメールによる情報の送受信が一般に行われている。メールの利用が普及するのに伴い、メールは各種業務での情報交換手段として活用され、メールにより重要な機密情報がネットワークを経由して授受されるケースも増加している。   Currently, transmission / reception of information by mail is generally performed via a communication network. Along with the widespread use of e-mails, e-mails are used as information exchange means in various businesses, and cases in which important confidential information is exchanged via e-mails via networks are increasing.

そのような観点から、送信先メールアドレスの設定誤り等の不適切なメールの送信を防止するための技術として、例えば特許文献1には、送信するメールの安全性解析・評価を行って安全にメールの送信を行うための技術が記載されている。   From such a point of view, as a technique for preventing inappropriate mail transmission such as a setting error of a destination mail address, for example, Patent Document 1 discloses a safety analysis / evaluation of a mail to be sent safely. A technique for sending mail is described.

一方、近年、発信者のなりすましによる不正な攻撃メールも増加している。そのような観点で、例えば特許文献2には、受信メールに対し、鍵を用いて正当な発信者から送られてきたメールであるかどうかを検証する技術が記載されている。   On the other hand, in recent years, fraudulent attack emails due to spoofing of senders are also increasing. From such a viewpoint, for example, Patent Document 2 describes a technique for verifying whether a received mail is a mail sent from a legitimate sender using a key.

特開2010−198379号公報JP 2010-198379 A 特開2005−142719号公報JP 2005-142719 A

しかし、受信したメールが、不正なメールかどうかを検証する技術に関し、例えば特許文献2に記載された技術では、送信側等で鍵を生成して付与するなど、特別な仕組みが必要であり、実現が容易でなく、一般的ではない。   However, regarding the technology for verifying whether or not the received email is an unauthorized email, for example, the technology described in Patent Document 2 requires a special mechanism such as generating and assigning a key on the transmission side, etc. Not easy to implement and uncommon.

近年、様々なテクニックを使用した攻撃メールが増加していることから、より簡易に実現できる不正メールの判定手法が求められている。   In recent years, attack mail using various techniques has increased, and therefore, there is a need for a method for determining fraudulent mail that can be realized more easily.

本発明は上記の点に鑑みてなされたものであり、送信側や中継ネットワークにおいて、特別な仕組みを備えることなく、受信側でのチェックのみで受信メールが不正か否かの判定を的確に行うことを可能とした技術を提供することを目的とする。   The present invention has been made in view of the above points, and it is possible to accurately determine whether a received mail is illegal or not by only checking on the receiving side without providing a special mechanism on the transmitting side or the relay network. The purpose is to provide a technology that makes this possible.

本発明の一実施形態によれば、外部から受信した受信メールが不正メールか否かを判定する不正メール判定装置であって、
外部へ送信されたメールの履歴である送信履歴と、外部から受信したメールの履歴である受信履歴とを格納する履歴データベースを参照し、前記送信履歴と前記受信履歴のうちのいずれか、又は前記送信履歴と前記受信履歴の両方を用いて前記受信メールが不正メールか否かを判定する不正メール判定手段と、
前記不正メール判定手段により、前記受信メールが不正メールであると判定された場合に、当該受信メールが不正メールであると判定されたことに応じた処理を実行する不正メール制御手段と
を備えることを特徴とする不正メール判定装置が提供される。
According to one embodiment of the present invention, there is an unauthorized mail determination device that determines whether or not a received mail received from the outside is an unauthorized mail,
Reference is made to a history database that stores a transmission history that is a history of mail sent to the outside and a reception history that is a history of mail received from the outside, and either one of the transmission history and the reception history, or the A fraudulent mail determination means for determining whether or not the received mail is a fraudulent mail using both the transmission history and the reception history;
When the received mail is determined to be invalid by the unauthorized mail determination means, the unauthorized mail control means for executing processing according to the determination that the received mail is determined to be illegal A fraudulent mail determination device characterized by the above is provided.

本発明の一実施形態によれば、送信側や中継ネットワークにおいて、特別な仕組みを備えることなく、受信側でのチェックのみで受信メールが不正か否かの判定を的確に行うことを可能とした技術を提供することが可能となる。   According to an embodiment of the present invention, it is possible to accurately determine whether a received mail is illegal or not only by checking on the receiving side without providing a special mechanism on the transmitting side or the relay network. Technology can be provided.

本発明の実施の形態に係るシステム構成例を示す図である。It is a figure which shows the system configuration example which concerns on embodiment of this invention. 不正メール判定装置10の機能構成図である。2 is a functional configuration diagram of an unauthorized mail determination device 10. FIG. 第1の方式におけるアドレス情報の格納処理を示すシーケンス図である。It is a sequence diagram which shows the storage process of the address information in a 1st system. 外部向送信メール宛先履歴テーブルの例を示す図である。It is a figure which shows the example of an outgoing mail destination log | history table. 不正メール判定の処理の全体の流れを示すシーケンス図である。It is a sequence diagram which shows the flow of the whole process of unauthorized mail determination. 確認画面の例を示す図である。It is a figure which shows the example of a confirmation screen. 外部の端末aから社内の端末に送信されるメール1〜4のヘッダのアドレス情報の例を示す図である。It is a figure which shows the example of the address information of the header of the mails 1-4 transmitted from the external terminal a to a company terminal. 第1の方式における不正メール判定処理を示すフローチャートである。It is a flowchart which shows the unauthorized mail determination process in a 1st system. 第2の方式におけるアドレス情報の格納処理を示すシーケンス図である。It is a sequence diagram which shows the storage process of the address information in a 2nd system. 外部受信メール宛先履歴テーブルの例を示す図である。It is a figure which shows the example of an external received mail destination log | history table. 外部の端末aから社内の端末に送信されるメール1〜4のエンベロップのアドレス情報の例を示す図である。It is a figure which shows the example of the address information of the envelope of the mails 1-4 transmitted from the external terminal a to a company terminal. 第2の方式における不正メール判定処理を示すフローチャートである。It is a flowchart which shows the unauthorized mail determination process in a 2nd system. アドレス毎判定情報設定テーブルの例を示す図である。It is a figure which shows the example of the determination information setting table for every address.

以下、図面を参照して本発明の実施の形態を説明する。なお、以下で説明する実施の形態は一例に過ぎず、本発明が適用される実施の形態は、以下の実施の形態に限られるわけではない。例えば、本実施の形態では、ある会社に着目し、社内から外部(社外)に送られるメール、及び外部から社内に送られるメールを対象としているが、本発明はこのような形態に限られるわけではない。例えば、個人のメールの送受信にも本発明を適用することは可能である。また、本実施の形態では、メール転送のプロトコルとしてSMTPを使用しているが、本発明を適用できるメールのプロトコルはSMTPに限られるわけではない。   Embodiments of the present invention will be described below with reference to the drawings. The embodiment described below is only an example, and the embodiment to which the present invention is applied is not limited to the following embodiment. For example, in the present embodiment, focusing on a certain company, mail sent from the inside to outside (outside) and mail sent from outside to inside the company are targeted. However, the present invention is not limited to such a form. is not. For example, the present invention can be applied to transmission / reception of personal mail. In this embodiment, SMTP is used as the mail transfer protocol. However, the mail protocol to which the present invention can be applied is not limited to SMTP.

(システムの全体構成)
図1に、本発明の実施の形態に係るシステム構成例を示す。図1に示すように、本実施の形態におけるシステムにおいては、ある会社の社内に不正メール判定装置10と宛先履歴DB(データベース)サーバ20が備えられる。本実施の形態では、不正メール判定装置10は社内メールサーバの機能を含んでいるものとする。ただし、不正メール判定装置10と社内メールサーバが別装置であってもよい。また、不正メール判定装置10と宛先履歴DBサーバ20が1つの装置であってもよい。
(Overall system configuration)
FIG. 1 shows a system configuration example according to an embodiment of the present invention. As shown in FIG. 1, in the system according to the present embodiment, a fraudulent mail determination device 10 and a destination history DB (database) server 20 are provided in a company. In the present embodiment, it is assumed that the fraudulent mail determination device 10 includes a function of an in-house mail server. However, the unauthorized mail determination device 10 and the in-house mail server may be separate devices. Further, the unauthorized mail determination device 10 and the destination history DB server 20 may be one device.

図1には、外部(他の会社等)のメールサーバの例として外部メールサーバ30が示されている。また、図1には、例として、社内メールサーバに接続される社内の端末A、端末B、端末Cが示され、外部メールサーバ30に接続される端末a、端末b、端末cが示されている。   FIG. 1 shows an external mail server 30 as an example of an external (other company, etc.) mail server. FIG. 1 shows, as an example, in-house terminals A, B, and C connected to the in-house mail server, and shows terminals a, b, and c connected to the external mail server 30. ing.

本実施の形態では、説明を分かり易くするために、端末A、端末B、端末C、端末a、端末b、端末cのユーザをそれぞれユーザA、ユーザB、ユーザC、ユーザa、ユーザb、ユーザcとし、メールアドレスをA、B、C、a、b、cとする。   In this embodiment, in order to make the explanation easy to understand, the users of terminal A, terminal B, terminal C, terminal a, terminal b, and terminal c are respectively user A, user B, user C, user a, user b, Assume that the user is c, and the mail addresses are A, B, C, a, b, and c.

本実施の形態では、不正メール判定装置10が、社内から外部に送信されるメールのアドレス情報、及び/又は、外部から社内に送信されるメールのアドレス情報を宛先履歴として宛先履歴DBサーバ20に格納する。そして、不正メール判定装置10が、当該履歴に基づいて、外部から受信したメールが不正メールか否かを判定する。なお、本実施の形態において、「不正メール」とは、例えば、受信者が受信することを望まないメール、受信者が受信すべきでないメール、受信者にとって関係のないメール等である。   In the present embodiment, the fraudulent mail determination device 10 uses the address information of mail transmitted from the company to the outside and / or the address information of mail transmitted from the outside to the company as the destination history to the destination history DB server 20. Store. Then, the fraudulent mail determination device 10 determines whether the mail received from the outside is a fraudulent mail based on the history. In the present embodiment, “illegal mail” is, for example, mail that the receiver does not want to receive, mail that the receiver should not receive, mail that is not related to the receiver, and the like.

本実施の形態では、不正メールである可能性があるか否かを判定し、不正メールである可能性がある場合に受信者に確認させることとしている。ただし、不正メール判定装置10の処理上は、"不正メールである可能性がある"ことを、"不正メールである"と表現している。また、本実施の形態では、メールのヘッダにおけるTo、Ccのいずれも「宛先」として扱うこととしている。   In the present embodiment, it is determined whether or not there is a possibility of being an illegal mail, and when there is a possibility of being an illegal mail, the recipient is confirmed. However, in the processing of the fraudulent mail determination device 10, “possibly fraudulent mail” is expressed as “illegal mail”. In this embodiment, both To and Cc in the mail header are treated as “destination”.

本実施の形態では、以下の観点で、外部から受信したメールが、不正メールか否かの判定を行っている。   In this embodiment, from the following viewpoint, it is determined whether or not an email received from the outside is an unauthorized email.

業務でのメールのやりとりでメールの返信を行う場合、返信者は、受信したメールの送信元に加えて、Cc:も含めて全員に返信することが多い。つまり、送信メールのヘッダにおける送信元(From:)及び宛先(To:、Cc:)のアドレス群と同じアドレス群が、受信メールのヘッダに付されていることが多い。例えば、Aからb宛にaとCをCc:に入れて送信したメールのヘッダにはA(From)、b(To)、a、C(Cc)のアドレスが付される。そして、このメールをbが受信し、全員へ返信する場合、この返信メールのヘッダには、例えば、b(From)、A(To)、a、C(Cc)のアドレスが付される。   When replying to a mail by exchanging mail in business, the respondent often replies to all persons including Cc: in addition to the sender of the received mail. That is, the same address group as the sender (From :) and destination (To :, Cc :) addresses in the header of the outgoing mail is often attached to the header of the incoming mail. For example, the addresses of A (From), b (To), a, and C (Cc) are attached to the header of a mail transmitted from A to b with a and C in Cc :. When b receives this mail and replies to all, for example, addresses of b (From), A (To), a, and C (Cc) are added to the header of the reply mail.

そこで、本実施の形態では、後述する第1の方式において、社内の端末から外部に送信されるメールのアドレス情報を宛先履歴として宛先履歴DBサーバ20に格納しておき、外部からメールを受信した場合に、当該メールのアドレス情報と上記宛先履歴とを比較して、当該アドレス情報と一致する又は近い履歴があるか否かで不正メールかどうかを判定している。   Therefore, in this embodiment, in the first method to be described later, the address information of the mail transmitted from the in-house terminal is stored in the destination history DB server 20 as the destination history, and the mail is received from the outside. In this case, the address information of the mail is compared with the destination history, and it is determined whether or not the mail is illegal based on whether there is a history that matches or is close to the address information.

他方、外部の特定のユーザが社内に向けて送信するメールの宛先は、送信の度に異なることは少なく、例えば、いつでも同じ宛先か、もしくは、宛先となる部署毎に同じ複数の宛先の集合となる場合が多い。そこで、本実施の形態では、後述する第2の方式において、外部から社内に向けて送信されるメールのアドレス情報を宛先履歴として宛先履歴DBサーバ20に格納しておき、外部からメールを受信した場合に、当該メールのアドレス情報と上記宛先履歴とを比較して、当該アドレス情報と一致する又は近い履歴があるか否かで不正メールかどうかを判定している。   On the other hand, e-mail destinations sent by specific external users to the company are unlikely to differ every time they are sent, for example, the same destination at any time, or a set of the same plurality of destinations for each department that is the destination There are many cases. Therefore, in this embodiment, in the second method to be described later, address information of mail transmitted from the outside to the company is stored in the destination history DB server 20 as the destination history, and the mail is received from the outside. In this case, the address information of the mail is compared with the destination history, and it is determined whether or not the mail is illegal based on whether there is a history that matches or is close to the address information.

図2に、本実施の形態における不正メール判定装置10の機能構成図を示す。図2に示すように、本実施の形態の不正メール判定装置10は、メール転送処理部11、アドレス情報格納処理部12、不正メール判定処理部13、及び不正メール通知制御部14を備える。   FIG. 2 is a functional configuration diagram of the unauthorized mail determination device 10 according to the present embodiment. As illustrated in FIG. 2, the unauthorized mail determination device 10 according to the present embodiment includes a mail transfer processing unit 11, an address information storage processing unit 12, an unauthorized mail determination processing unit 13, and an unauthorized mail notification control unit 14.

メール転送処理部11は、社内メールサーバに相当する機能部であり、SMTPのプロトコルに従ったメールの転送・配信処理等を行う。アドレス情報格納処理部12は、メール転送処理部11により送受信されるメールのアドレス情報を宛先履歴DBサーバ20に格納する機能部である。後述するように、第1の方式では、メールメッセージのヘッダのアドレス情報を格納し、第2の方式では、エンベロップのアドレス情報を格納するが、これらは一例に過ぎない。   The mail transfer processing unit 11 is a functional unit corresponding to an in-house mail server, and performs mail transfer / delivery processing according to the SMTP protocol. The address information storage processing unit 12 is a functional unit that stores, in the destination history DB server 20, address information of mail transmitted / received by the mail transfer processing unit 11. As will be described later, in the first method, the address information of the header of the mail message is stored, and in the second method, the address information of the envelope is stored, but these are only examples.

不正メール判定処理部13は、外部から受信したメールのアドレス情報と、宛先履歴DBサーバ20に格納された送信元毎の宛先履歴とに基づいて、外部から受信したメールが不正メールか否かを判定する機能部である。不正メール通知制御部14は、不正メール判定処理部13により受信メールが不正メールであると判定された場合に、不正メールの可能性のあるメールが届いたことを宛先の端末に通知するとともに、確認画面を当該端末に表示させ、確認結果に基づくメール配信制御を行う機能部である。なお、このように不正メールであると判定された場合に、宛先の端末に通知する制御は一例に過ぎず、後述するように、不正メール通知制御部14は、受信メールが不正メールであると判定された場合に不正メールを破棄する制御や、端末からの受信メール有無確認要求に基づいて、不正メール表示を含む受信メールリストを通知する制御等を行うことも可能である。   The fraudulent mail determination processing unit 13 determines whether the mail received from the outside is a fraudulent mail based on the address information of the mail received from the outside and the destination history for each transmission source stored in the destination history DB server 20. It is a function part to determine. The fraudulent mail notification control unit 14 notifies the destination terminal that a mail that may be a fraudulent mail has arrived when the fraudulent mail determination processing unit 13 determines that the received mail is a fraudulent mail. It is a functional unit that displays a confirmation screen on the terminal and performs mail delivery control based on the confirmation result. Note that the control for notifying the destination terminal when it is determined to be an unauthorized mail is merely an example, and as described later, the unauthorized mail notification control unit 14 determines that the received mail is an unauthorized mail. It is also possible to perform control such as discarding unauthorized mail when it is determined, or notifying a received mail list including unauthorized mail display based on a received mail presence / absence confirmation request from the terminal.

本実施の形態に係る不正メール判定装置10は、コンピュータに、本実施の形態で説明する処理内容を記述したプログラムを実行させることにより実現可能である。すなわち、不正メール判定装置10における各機能部は、コンピュータに内蔵されるCPUやメモリ、ハードディスク等のハードウェア資源を用いて、各部で実施される処理に対応するプログラムを実行することによって実現することが可能である。上記プログラムは、コンピュータが読み取り可能な記録媒体(可搬メモリ等)に記録して、保存したり、配布したりすることが可能である。また、上記プログラムをインターネットや電子メール等、ネットワークを通して提供することも可能である。   The fraudulent mail determination apparatus 10 according to the present embodiment can be realized by causing a computer to execute a program describing the processing contents described in the present embodiment. That is, each function unit in the unauthorized mail determination device 10 is realized by executing a program corresponding to a process executed by each unit using hardware resources such as a CPU, a memory, and a hard disk built in the computer. Is possible. The above-mentioned program can be recorded on a computer-readable recording medium (portable memory or the like), stored, or distributed. It is also possible to provide the program through a network such as the Internet or electronic mail.

本実施の形態は、アドレス情報格納処理部12、不正メール判定処理部13、及び不正メール通知制御部14に対応するプログラムを、社内メールサーバ上で実行させることで不正メール判定装置10とすることを想定しているが、アドレス情報格納処理部12、不正メール判定処理部13、及び不正メール通知制御部14に対応するプログラムを端末(クライアント)で実行させることにより、端末側で不正メール判定処理を行ってもよい。   In the present embodiment, the illegal mail determination device 10 is configured by causing a program corresponding to the address information storage processing unit 12, the illegal mail determination processing unit 13, and the illegal mail notification control unit 14 to be executed on an in-house mail server. However, the terminal (client) executes a program corresponding to the address information storage processing unit 12, the fraudulent mail determination processing unit 13, and the fraudulent mail notification control unit 14, so that the fraudulent mail determination process is performed on the terminal side. May be performed.

上記のように、不正メールの判定処理には、2種類(第1の方式、第2の方式)あり、以下、第1の方式と第2の方式についてより詳細に説明する。   As described above, there are two types of fraudulent mail determination processing (first method and second method). Hereinafter, the first method and the second method will be described in more detail.

(第1の方式:社内からの送信メールの履歴に基づく不正メール判定)
<アドレス情報格納処理>
図3を参照して、第1の方式におけるアドレス情報の格納処理について説明する。図3は、社内の端末Aからメールが送信される例を示している。前述したとおり、第1の方式では、社内からの送信メールに対し、社外から返信を行う際に、全員へ返信を行うことが多いという点に着目していることから、これに関する宛先情報を送信元情報とともに格納するために、メールメッセージのヘッダのFromフィールド、Toフィールド、Ccフィールドのアドレス情報を取得し、格納することとしている。
(First method: Judgment of fraudulent mail based on the history of outgoing mail from the company)
<Address information storage processing>
With reference to FIG. 3, the address information storage processing in the first method will be described. FIG. 3 shows an example in which a mail is transmitted from the terminal A in the company. As described above, the first method focuses on the fact that when sending a reply from outside the company, it is often the case that a reply is sent to everyone. In order to store the original information together with the original information, the address information of the From field, To field, and Cc field of the header of the mail message is acquired and stored.

なお、本明細書において、「メールメッセージ」は、ヘッダとメール本文からなる。また、メールメッセージを送受信するためのコマンド(送信元を示すMAIL From、宛先を示すRCPT To等)を「エンベロップ」と呼ぶ。また、特に断らない限り、「メール」は「メールメッセージ」と「エンベロップ」を含む。また、MAIL FromをエンベロップFrom、RCPT ToをエンベロップToと呼ぶ場合がある。   In this specification, the “mail message” includes a header and a mail text. A command for transmitting / receiving a mail message (such as MAIL From indicating a transmission source, RCPT To indicating a destination) is referred to as “envelope”. Unless otherwise specified, “mail” includes “mail message” and “envelope”. Further, MAIL From may be referred to as an envelope From and RCPT To may be referred to as an envelope To.

図3のステップ101で、不正メール判定装置10におけるメール転送処理部11が、端末Aから送信されたメールを受信する。アドレス情報格納処理部12は、メール転送処理部11の中のバッファにあるメールメッセージのヘッダからFrom、To、Ccのアドレス情報を取得し、それを宛先履歴DBサーバ20に送信する(ステップ102)。宛先履歴DBサーバ20は、アドレス情報を格納する(ステップ103)。メール転送処理部11は、メールの転送処理を行う(ステップ104)。図3には、一例として、送信されたメールメッセージのヘッダがFrom:A、To:a、Cc:b,c,Bであり、これらの情報を宛先履歴DBサーバ20に格納することが示されている。   In step 101 of FIG. 3, the mail transfer processing unit 11 in the fraudulent mail determination device 10 receives the mail transmitted from the terminal A. The address information storage processing unit 12 acquires the From, To, and Cc address information from the header of the mail message in the buffer in the mail transfer processing unit 11, and transmits it to the destination history DB server 20 (step 102). . The destination history DB server 20 stores address information (step 103). The mail transfer processing unit 11 performs mail transfer processing (step 104). As an example, FIG. 3 shows that the header of the transmitted mail message is From: A, To: a, Cc: b, c, B, and that these pieces of information are stored in the destination history DB server 20. ing.

図3に示す処理は、メールが社内の端末から送信される度に行われる。ただし、本実施の形態では、会社の外部から受信したメールが不正か否かを判定するので、ヘッダの宛先(To又はCc)に外部アドレスが含まれる送信メールについて図3に示す処理を行って、アドレス情報を格納する。   The process shown in FIG. 3 is performed every time an email is transmitted from an in-house terminal. However, in the present embodiment, since it is determined whether or not the mail received from outside the company is illegal, the processing shown in FIG. 3 is performed for the outgoing mail including the external address in the header destination (To or Cc). Store address information.

図4に、第1の方式において宛先履歴DBサーバ20に格納されるテーブル(外部向送信メール宛先履歴テーブル)の例を示す。図4の例では、送信元(Fromフィールドのアドレス)、宛先(To、Ccフィールドのアドレス)のアドレス情報(レコード)が、パターン番号とともに格納されている。当該アドレス情報を「パターン」と呼ぶ場合がある。   FIG. 4 shows an example of a table (external outgoing mail destination history table) stored in the destination history DB server 20 in the first method. In the example of FIG. 4, address information (record) of a transmission source (From field address) and destination (To, Cc field address) is stored together with a pattern number. The address information may be referred to as a “pattern”.

なお、外部へ送信されるメールのアドレス情報を格納する際に、既に同じアドレス情報が格納されている場合は、新たなレコードに記録することとしてもよいし、パターン毎に件数の欄を設けておき、件数をインクリメントする(1増加させる)こととしてもよい。このように件数の欄を設けることで、パターン毎のメールの数を容易に把握できる。   In addition, when storing the address information of the mail sent to the outside, if the same address information is already stored, it may be recorded in a new record, and a column for the number of cases is provided for each pattern. Alternatively, the number of cases may be incremented (increased by 1). Thus, by providing the column of the number of cases, the number of mails for each pattern can be easily grasped.

また、アドレス情報毎に1レコードに格納し、同じパターンには同じパターン番号を付し、更に、アドレス情報を格納した時刻(日時)を格納してもよい。時刻を格納することで、パターンの古さを把握でき、古いパターンについては判定対象外とするといった制御を行うことができる。   Further, each address information may be stored in one record, the same pattern may be given the same pattern number, and the time (date and time) at which the address information is stored may be stored. By storing the time, it is possible to grasp the age of the pattern, and to perform control such that the old pattern is excluded from the determination target.

<不正メール判定処理>
まず、不正メール判定の処理の全体の流れについて、図5のシーケンス図を参照して説明する。処理の全体の流れについては第2の方式も同様である。図5には、例としてエンベロップFrom、エンベロップTo、及びヘッダのFrom、To、Ccフィールドのアドレスが示されている。これらのアドレスに示されているように、図5は、外部のaから社内のA、B、及び外部のb,cに向けてメールが送信される例を示している。
<Illegal mail judgment processing>
First, the overall flow of unauthorized mail determination processing will be described with reference to the sequence diagram of FIG. The second method is the same for the overall flow of processing. FIG. 5 shows, as an example, the envelope From, the envelope To, and the addresses of the From, To, and Cc fields of the header. As shown in these addresses, FIG. 5 shows an example in which mail is transmitted from outside a to A and B inside the company and outside b and c.

外部の端末aから、メールが送信される(ステップ201)。メールは外部メールサーバ30から不正メール判定装置10のメール転送処理部11に送信される(ステップ202)。不正メール判定装置10における不正メール判定処理部13は、メール転送処理部11のバッファ(記憶装置)の中のメールから送信元アドレスと宛先アドレスを取得し、当該アドレス情報と、宛先履歴DBサーバ20における宛先履歴とを比較することで、受信したメールが不正メールか否かを判定する(ステップ203〜205)。この判定は、メールの社内の宛先毎に行われる。図5の例では、宛先であるAとBについて判定が行われている。従って、同じメールでも、ある宛先にとって不正ではなく、別の宛先にとって不正であることがある。   A mail is transmitted from the external terminal a (step 201). The mail is transmitted from the external mail server 30 to the mail transfer processing unit 11 of the unauthorized mail determination device 10 (step 202). The fraudulent mail determination processing unit 13 in the fraudulent mail determination device 10 acquires the transmission source address and the destination address from the mail in the buffer (storage device) of the mail transfer processing unit 11, the address information, and the destination history DB server 20. It is determined whether or not the received mail is an illegal mail by comparing with the destination history at (steps 203 to 205). This determination is made for each in-house mail address. In the example of FIG. 5, the determination is made for destinations A and B. Therefore, even the same mail may be illegal for another destination but not for another destination.

不正メール判定処理部13は、ある宛先(図5の例ではB)について、受信メールが不正メールでないと判定した場合、その旨をメール転送処理部11に通知し、メール転送処理部11は当該宛先(B)にメールを転送する(ステップ206)。   When it is determined that the received mail is not an illegal mail for a certain destination (B in the example of FIG. 5), the unauthorized mail determination processing section 13 notifies the mail transfer processing section 11 to that effect, and the mail transfer processing section 11 The mail is transferred to the destination (B) (step 206).

不正メール判定処理部13が、ある宛先(図5の例ではA)について、受信メールが不正メールであると判定した場合、不正メール通知制御部14は、不正メール通知を当該宛先(本例では端末A)に送信する(ステップ207)。不正メール通知は、メール転送処理部11からメールで送信してもよいし、他の手段で送信してもよい。また、不正メール通知には、宛先の端末において確認画面を表示するための確認画面情報(例:URL)が含まれている。   If the unauthorized mail determination processing unit 13 determines that the received mail is an unauthorized mail for a certain destination (A in the example of FIG. 5), the unauthorized mail notification control unit 14 sends the unauthorized mail notification to the destination (in this example). To terminal A) (step 207). The unauthorized mail notification may be transmitted by mail from the mail transfer processing unit 11 or may be transmitted by other means. The unauthorized mail notification includes confirmation screen information (for example, URL) for displaying a confirmation screen on the destination terminal.

不正メール通知を受信した端末Aは、例えばURLをクリックすることで確認画面を表示する(ステップ208)。確認画面の一例を図6に示す。図6に示すように、確認画面には、不正メールと判定された理由(本実施の形態では、「いつもと異なる宛先の組み合わせです。)、通知の受信者が対応を選択するためのボタン(「削除する」、「受信する」、「後で確認する」等)が表示されている。   The terminal A that has received the unauthorized mail notification displays a confirmation screen by clicking, for example, a URL (step 208). An example of the confirmation screen is shown in FIG. As shown in FIG. 6, the confirmation screen includes a button for selecting a response (whether it is a combination of destinations that is different from the usual reason) that is determined to be fraudulent mail (in this embodiment, a combination of addresses different from usual). "Delete", "Receive", "Confirm later", etc.) are displayed.

不正メール通知制御部14が、端末Aから受信OK(例:「受信する」が選択された場合)を受信すると(ステップ209)、不正メール通知制御部14は受信OKである旨をメール転送処理部11に通知し、通知を受けたメール転送処理部11は、メールの転送を行う(ステップ210)。もしも不正メール通知制御部14が、端末Aから受信NG(例:「削除する」が選択された場合)を受信した場合には、不正メール通知制御部14は受信NGである旨をメール転送処理部210に通知し、通知を受けたメール転送処理部11は、メールの破棄を行う。   When the unauthorized mail notification control unit 14 receives a reception OK (eg, when “Receive” is selected) from the terminal A (step 209), the unauthorized mail notification control unit 14 determines that the reception is OK. The mail transfer processing unit 11 notified to the unit 11 receives the notification and transfers the mail (step 210). If the unauthorized mail notification control unit 14 receives a received NG from the terminal A (eg, when “delete” is selected), the unauthorized mail notification control unit 14 performs a mail transfer process indicating that the received message is a received NG. The mail transfer processing unit 11 that has notified the unit 210 and received the notification discards the mail.

上記の例では、不正メール判定処理部13が受信メールを不正メールと判定した場合に、不正メール判定装置10(メールサーバ)から受信者の端末に通知を行うこととしているが、このような制御は一例に過ぎない。   In the above example, when the unauthorized mail determination processing unit 13 determines that the received mail is an unauthorized mail, the unauthorized mail determination device 10 (mail server) notifies the recipient's terminal. Is just an example.

例えば、不正メール判定装置10から端末への通知を行わず、受信者(端末)側で定期的に不正メール判定装置10における受信メール有無を確認し、不正メール対象をチェックして確認画面を表示するようにしてもよい。   For example, without receiving notification from the unauthorized mail determination device 10 to the terminal, the receiver (terminal) periodically checks whether there is received mail in the unauthorized mail determination device 10 and checks the target of the unauthorized mail and displays a confirmation screen. You may make it do.

この場合、例えば、不正メール判定装置10の不正メール通知制御部14は、受信者の端末から定期的に送信される受信メール確認要求に応じて、受信メールが不正メールかどうかの判定結果の表示を含む受信メールリストを作成し、当該リストを受信者の端末に送信する機能を備える。受信者は、端末に表示された受信メールリスト画面を確認し、不正メールの表示(印)がある場合に、それをクリックする(あるいはチェックする)等の操作を行うことで、確認画面を不正メール通知制御部14に要求する。要求を受けた不正メール通知制御部14は、該当の不正メールに関する確認画面情報を端末に送信する。確認画面情報を受信した端末には、図6に示したような確認画面が表示される。その後の制御内容は前述した制御と同様である。   In this case, for example, the fraudulent mail notification control unit 14 of the fraudulent mail determination device 10 displays a determination result as to whether the received mail is a fraudulent mail in response to a received mail confirmation request periodically transmitted from the recipient's terminal. A function is provided for creating a received mail list including and transmitting the list to the recipient's terminal. The recipient checks the received mail list screen displayed on the terminal, and if there is an illegal mail display (mark), clicks (or checks) it, and the confirmation screen is fraudulent. Request to the mail notification control unit 14. Upon receiving the request, the unauthorized mail notification control unit 14 transmits confirmation screen information regarding the corresponding unauthorized mail to the terminal. A confirmation screen as shown in FIG. 6 is displayed on the terminal that has received the confirmation screen information. Subsequent control contents are the same as those described above.

また、端末が不正メール確認要求を定期的に不正メール判定装置10に送信するようにして、不正メール通知制御部14が、端末から不正メール確認要求を受信したときに、不正メールの有無を確認し、不正メールがある場合に当該不正メールに関する確認画面情報を端末に送信することとしてもよい。   In addition, the terminal periodically transmits an unauthorized mail confirmation request to the unauthorized mail determination device 10, and when the unauthorized mail notification control unit 14 receives the unauthorized mail confirmation request from the terminal, the presence of the unauthorized mail is confirmed. When there is an unauthorized mail, confirmation screen information related to the unauthorized mail may be transmitted to the terminal.

また、不正メール通知制御部14は、不正メール判定処理部13がある宛先についての受信メールを不正メールと判定した時点で、当該宛先に対する受信メールを破棄する制御を行ってもよい。   In addition, the unauthorized mail notification control unit 14 may perform control to discard the received mail for the destination when the received mail for the destination with the unauthorized mail determination processing unit 13 is determined to be an unauthorized mail.

外部の端末aから社内の端末に送信されるメール1〜4のヘッダのアドレス情報の一例を図7に示す。図7に示す例を用いて、外部の端末aから社内の端末に送信されるメールについての不正メール判定処理の詳細を図8のフローチャートを参照して説明する。   An example of the address information of the headers of the mails 1 to 4 transmitted from the external terminal a to the in-house terminal is shown in FIG. Details of the fraudulent mail determination process for mail transmitted from the external terminal a to the in-house terminal will be described with reference to the flowchart of FIG. 8 using the example shown in FIG.

不正メール判定装置10の不正メール判定処理部13は、外部から受信したメールメッセージのヘッダから送信元アドレス、宛先アドレスを抽出する(ステップ301)。例えば、図7のメール1の場合、送信元アドレスとしてaが抽出され、宛先アドレスとしてA、B、C、a、b、cが抽出される。本例では、宛先アドレスとして抽出された社内のアドレス毎に比較判定を行うので、A、B、Cのそれぞれについて、以下の判定処理を行う。   The fraudulent mail determination processing unit 13 of the fraudulent mail determination apparatus 10 extracts the transmission source address and the destination address from the header of the mail message received from the outside (step 301). For example, in the case of the mail 1 in FIG. 7, a is extracted as a transmission source address, and A, B, C, a, b, and c are extracted as destination addresses. In this example, since the comparison determination is performed for each internal address extracted as the destination address, the following determination processing is performed for each of A, B, and C.

まず、宛先アドレスAについての処理を行う。不正メール判定処理部13は、図4に示した外部向送信メール宛先履歴テーブルから、判定対象メールの宛先アドレスAを送信元とし、送信元アドレスaを宛先とする履歴を抽出する(ステップ302)。図4の例では、パターン1、2、3が抽出される。なお、本例では、ステップ302において、履歴が抽出されない場合、不正であると判定される。   First, processing for the destination address A is performed. The fraudulent mail determination processing unit 13 extracts a history having the destination address A of the determination target mail as the transmission source and the transmission source address a as the destination from the outgoing transmission mail destination history table shown in FIG. 4 (step 302). . In the example of FIG. 4, patterns 1, 2, and 3 are extracted. In this example, if no history is extracted in step 302, it is determined to be illegal.

そして、不正メール判定処理部13は、ステップ302で抽出された履歴の各パターンと、判定対象メールのアドレスとの比較を行い、不正かどうかを判定する(ステップ303)。例えば、判定対象メールにおける送信元アドレス(本例のa)と着目宛先アドレス(本例の現段階ではA)を除いた宛先アドレス群と完全に一致する宛先アドレス群を持つパターンがステップ302で抽出されたパターンの中にある場合に正常であり、完全に一致するパターンがない場合に不正であると判定することができる。例えば、判定対象メールがメール1の場合、送信元:a、宛先:A、B、C、a、b、cであり、送信元aと宛先Aを除いた宛先アドレス群B、C、a、b、cは、図4のテーブルのパターン1の宛先アドレス群と完全に一致するので、正常であると判定される。また、例えば、メール3は、送信元:a、宛先:A、B、C、Eであり、宛先アドレス群B、C、Eと完全に一致する宛先アドレス群を持つパターンは存在しないからメール3は不正であると判定される。   Then, the fraudulent mail determination processing unit 13 compares each pattern of the history extracted in step 302 with the address of the determination target mail to determine whether it is fraudulent (step 303). For example, in step 302, a pattern having a destination address group that completely matches the destination address group excluding the transmission source address (a in this example) and the target destination address (A at this stage in this example) in the determination target mail is extracted. It can be determined that the pattern is normal if it is within the specified pattern, and is invalid if there is no completely matching pattern. For example, if the determination target mail is mail 1, the sender is a, the destination is A, B, C, a, b, c, and the destination address group B, C, a, Since b and c completely coincide with the destination address group of pattern 1 in the table of FIG. 4, it is determined to be normal. Further, for example, the mail 3 is a transmission source: a, a destination: A, B, C, E, and there is no pattern having a destination address group that completely matches the destination address group B, C, E. Is determined to be illegal.

上記のように完全に一致するか否かでなく、各パターンとの間で類似度を計算し、最大となる類似度の大きさによって、不正メールかどうかを判定してもよい。類似度としては、例えば、集合要素の類似度の評価を行うためのTanimoto係数を利用することができる。Tanimoto係数Tは以下の式で表される。   The degree of similarity may be calculated between each pattern and whether or not it is a fraudulent mail based on the maximum degree of similarity, instead of whether or not they completely match as described above. As the similarity, for example, a Tanimoto coefficient for evaluating the similarity of the set elements can be used. The Tanimoto coefficient T is expressed by the following equation.

T=Nc/(Na+Nb−Nc)
上記の式において、Naは集合aの要素数であり、Nbは集合bの要素数であり、Ncは、集合aと集合bの共通集合c(積集合)の要素数である。Tanimoto係数は0.0〜1.0の間の数として表され、1.0は完全に一致する集合を表し、類似度が下がるにつれ値は小さくなり、0.0で全く一致のない集合を表す。
T = Nc / (Na + Nb-Nc)
In the above formula, Na is the number of elements in the set a, Nb is the number of elements in the set b, and Nc is the number of elements in the common set c (product set) of the sets a and b. The Tanimoto coefficient is expressed as a number between 0.0 and 1.0, where 1.0 represents a perfectly matched set, the value decreases as the degree of similarity decreases, and a set with no match at 0.0. Represent.

本例では、テーブルのパターンにおけるアドレスの要素の集合を集合a、判定対象メールにおけるアドレス情報の要素の集合を集合bとする。この場合、パターン1の集合の要素はA、a、b、c、B、CでありNa=6である。メール1のアドレス情報の集合の要素は、aを1つと数え、a、A、B、C、b、cでありNb=6である。cは、A、a、b、c、B、Cであり、Nc=6である。よって、T=1となる。   In this example, a set of address elements in the table pattern is set a, and a set of address information elements in the determination target mail is set b. In this case, the elements of the set of pattern 1 are A, a, b, c, B, C, and Na = 6. The element of the set of address information of the mail 1 is a, A, B, C, b, c, and Nb = 6, where a is counted as one. c is A, a, b, c, B, C, and Nc = 6. Therefore, T = 1.

また、例えば、パターン3の集合の要素はA、a、EでありNa=3であり、メール3のアドレス情報の集合の要素は、a、A、B、C、EでありNb=5であり、cは、A、a、Eであり、Nc=3である。よって、パターン3とメール3との間では、T=3/5=0.6である。また、メール4のアドレス情報の集合の要素はa、Aであり、Nb=2であり、cは、a、Aであり、Nc=2である。よって、パターン3とメール4との間では、T=2/3≒0.66である。   Further, for example, the elements of the set of pattern 3 are A, a, E and Na = 3, and the elements of the address information set of mail 3 are a, A, B, C, E and Nb = 5 Yes, c is A, a, E, and Nc = 3. Therefore, T = 3/5 = 0.6 between the pattern 3 and the mail 3. The elements of the set of address information of the mail 4 are a and A, Nb = 2, and c is a, A and Nc = 2. Therefore, T = 2 / 3≈0.66 between the pattern 3 and the mail 4.

不正メール判定処理部13は、上記のTを、判定対象メールのアドレス情報と、ステップ302で抽出された各パターンとの間で計算し、最大となるTが所定の閾値以上であれば不正でないと判定し、最大のTが所定の閾値未満であれば不正であると判定する。なお、所定の閾値が1である場合、完全一致のときにのみ不正でないと判定される。   The unauthorized mail determination processing unit 13 calculates the above T between the address information of the determination target mail and each pattern extracted in step 302. If the maximum T is equal to or greater than a predetermined threshold, the unauthorized mail determination processing unit 13 is not unauthorized. If the maximum T is less than a predetermined threshold, it is determined to be illegal. When the predetermined threshold value is 1, it is determined that it is not illegal only when it is a perfect match.

上記の例では、アドレスの要素の全部を集合に入れているが、ステップ302でパターンを抽出した時点で一致が確認されているaとAを、パターンのアドレス群及び判定対象メールのアドレス群から除いたアドレス群で評価を行ってもよい。   In the above example, all the elements of the address are included in the set. However, a and A, which are confirmed to match when the pattern is extracted in step 302, are obtained from the pattern address group and the determination target mail address group. The evaluation may be performed with the excluded address group.

また、上記の例では、類似度としてTanimoto係数を用いているが、これは一例に過ぎず、類似度として他の値を用いてもよい。例えば、パターンと判定対象メールとで、一致するアドレスの個数の、判定対象メールにおけるアドレスの要素数に対する割合で類似度を表してもよい。   In the above example, the Tanimoto coefficient is used as the similarity, but this is only an example, and other values may be used as the similarity. For example, the similarity may be expressed by the ratio of the number of matching addresses to the number of elements of the address in the determination target mail in the pattern and the determination target mail.

図8のフローのステップ303において、不正であると判定された場合は図5のステップ207〜210に示したような不正時の処理を行い(ステップ304)、不正でないと判定された場合は、図5のステップ206で示すような正常時の処理を行う(ステップ305)。   If it is determined in step 303 of the flow of FIG. 8 that it is illegal, processing at the time of fraud as shown in steps 207 to 210 of FIG. 5 is performed (step 304). Normal processing as shown in step 206 of FIG. 5 is performed (step 305).

ステップ306において、不正メール判定処理部13は、社内の宛先アドレスの全てについて判定処理が終了したかどうかを確認し、終了していなければ、次の宛先アドレスについてステップ302からの処理を繰り返す。例えば、図7に示したメール1の場合であれば、Aの次に、Bについて同様の処理を行う。終了していれば該当の受信メールについての判定処理を終了する。   In step 306, the unauthorized mail determination processing unit 13 checks whether the determination processing has been completed for all of the in-house destination addresses, and if not, repeats the processing from step 302 for the next destination address. For example, in the case of the mail 1 shown in FIG. 7, the same processing is performed for B after A. If completed, the determination process for the corresponding received mail is terminated.

上記の例において、例えばユーザAは外部へのメール送信を頻繁に行うために、外部向送信メール宛先履歴テーブルにAを送信元とする宛先履歴が残る。   In the above example, for example, since user A frequently performs e-mail transmission to the outside, a destination history with A as the transmission source remains in the outgoing e-mail destination history table.

一方、社員がある宛先にメールを送信する際に、Cc:に上司(アドレスDとする)を必ず加えるが、上司自身はその宛先へのメール送信を行うことはないという場合がある。このような場合、外部向送信メール宛先履歴テーブルには、送信元をDとする履歴は残らない。従って、例えば、上司のアドレスDをCcに含むメールを外部から受信し、図8で説明した判定処理を行う場合、上記の処理のステップ302でパターンが抽出されないため、宛先Dについては当該メールは必ず不正と判定されることになる。このようなことを防ぐため、外部向送信メール宛先履歴テーブルにおける「送信元」を「宛先」と区別せずに評価を行うこととしてもよい。   On the other hand, when an employee sends a mail to a certain destination, a boss (address D) is always added to Cc :, but the boss himself may not send a mail to the destination. In such a case, no history with D as the transmission source remains in the outgoing outgoing mail destination history table. Therefore, for example, when a mail containing the boss's address D in Cc is received from the outside and the determination process described in FIG. 8 is performed, the pattern is not extracted in step 302 of the above process. It will always be judged as illegal. In order to prevent such a situation, the “sender” in the outgoing outgoing mail destination history table may be evaluated without distinguishing it from the “destination”.

具体的には、図8のフローのステップ302で、判定対象メールの送信元(From)のアドレスが、宛先として存在するパターンを外部向送信メール宛先履歴テーブルから抽出する。この場合、外部向送信メール宛先履歴テーブルにおける「送信元」のアドレスに関わらずに抽出が行われるため、上記の上司のように、該当宛先にメール送信を行わない場合でも、パターン抽出がされる。   Specifically, in step 302 of the flow of FIG. 8, a pattern in which the address of the determination target mail (From) exists as a destination is extracted from the outgoing outgoing mail destination history table. In this case, since the extraction is performed regardless of the “sender” address in the outgoing mail destination history table, the pattern is extracted even when the mail is not sent to the destination as in the above boss. .

そして、抽出された各パターンにおける「送信元」を「宛先」と見なして、一致判定、もしくは類似度判定を行う。例えば、メール1は、送信元:a、宛先:A、B、C、a、b、cであるから、これは図4のテーブルのパターン1と完全に一致するので、宛先A、B、Cのいずれにとっても正常であると判定される。   Then, “transmission source” in each extracted pattern is regarded as “destination”, and matching determination or similarity determination is performed. For example, since the mail 1 is a transmission source: a and a destination: A, B, C, a, b, c, this completely matches the pattern 1 in the table of FIG. It is determined that both are normal.

(第2の方式:外部からの受信メールの履歴に基づく不正メール判定)
次に、第2の方式として、外部からの受信メールの履歴に基づく不正メール判定について説明する。以下では、主に第1の方式と異なる点について説明する。
(Second method: fraudulent email judgment based on the history of incoming email from outside)
Next, as a second method, illegal mail determination based on the history of received mail from the outside will be described. In the following, differences from the first method will be mainly described.

<アドレス情報格納処理>
図9を参照して、第2の方式におけるアドレス情報の格納処理について説明する。図9は、外部の端末aからメールが送信される例を示している。前述したとおり、第2の方式では、外部の特定のユーザが社内に向けて送信するメールの宛先は、送信の度に異なることは少なく、例えば、いつでも同じ宛先か、もしくは、宛先となる部署毎に同じ複数の宛先の集合となる場合が多いという点に着目していることから、社内への宛先アドレス、及び送信元アドレスの情報を正確に取得して格納するために、送信元を示すエンベロップFrom(MAIL From)のアドレスと、宛先を示すエンベロップTo(RCPT To)のアドレスを取得し、格納することとしている。
<Address information storage processing>
With reference to FIG. 9, the address information storing process in the second method will be described. FIG. 9 shows an example in which a mail is transmitted from the external terminal a. As described above, in the second method, the destination of an email sent by a specific external user to the office is unlikely to differ every time it is sent. For example, the destination is always the same or every department that is the destination. In order to obtain and store information on the destination address and source address in the company accurately, an envelope indicating the source is often taken into account. The address of From (MAIL From) and the address of envelope To (RCPT To) indicating the destination are acquired and stored.

なお、社内メールサーバでもある不正メール判定装置10により取得されるRCPT Toのアドレスは、社内への宛先のアドレスのみを含む。   Note that the RCPT To address acquired by the unauthorized mail determination device 10 that is also an in-house mail server includes only the address of the destination in the company.

図9のステップ401においてメールが端末aから送信される。ステップ402で、不正メール判定装置10におけるメール転送処理部11が、端末aから送信されたメールを受信する。アドレス情報格納処理部12は、メール転送処理部11の中のバッファから当該メールのエンベロップの送信元アドレス(MAIL Fromのアドレス)、及び宛先アドレス(RCPT Toのアドレス)を取得し、それらを宛先履歴DBサーバ20に送信する(ステップ403)。宛先履歴DBサーバ20は、アドレス情報をテーブルとして格納する(ステップ404)。メール転送処理部11は、メールの転送処理を行う(ステップ405)。   In step 401 of FIG. 9, a mail is transmitted from the terminal a. In step 402, the mail transfer processing unit 11 in the unauthorized mail determination device 10 receives a mail transmitted from the terminal a. The address information storage processing unit 12 acquires the source address (MAIL From address) and destination address (RCPT To address) of the envelope of the mail from the buffer in the mail transfer processing unit 11, and stores them in the destination history. It transmits to the DB server 20 (step 403). The destination history DB server 20 stores the address information as a table (step 404). The mail transfer processing unit 11 performs mail transfer processing (step 405).

図9には、一例として、不正メール判定装置10が受信するメールのエンベロップが、MAIL From:a、RCPT To:A,Bであり、これらの情報を宛先履歴DBサーバ20に格納することが示されている。図9に示す処理が、メールが外部から社内の端末へ送信される度に行われる。   In FIG. 9, as an example, the envelopes of mail received by the unauthorized mail determination device 10 are MAIL From: a, RCPT To: A, B, and the information is stored in the destination history DB server 20. Has been. The process shown in FIG. 9 is performed each time an e-mail is transmitted from the outside to an in-house terminal.

図10に、第2の方式において宛先履歴DBサーバ20に格納される外部受信メール宛先履歴テーブルの例を示す。図10の例では、送信元(MAIL Fromのアドレス)、宛先(RCPT Toのアドレス)が、パターン番号とともに格納されている。なお、外部から受信するメールのアドレス情報を格納する際に、既に同じアドレス情報が格納されている場合は、新たなレコードに記録することとしてもよいし、パターン毎に件数の欄を設けておき、件数をインクリメントする(1増加させる)こととしてもよい。また、第1の方式と同様に、パターン毎に格納時刻を格納してもよい。   FIG. 10 shows an example of an externally received mail destination history table stored in the destination history DB server 20 in the second method. In the example of FIG. 10, a transmission source (MAIL From address) and a destination (RCPT To address) are stored together with a pattern number. When storing the address information of an email received from the outside, if the same address information is already stored, it may be recorded in a new record, and a number field is provided for each pattern. The number of cases may be incremented (increased by 1). Further, similarly to the first method, the storage time may be stored for each pattern.

<不正メール判定処理>
第2の方式における不正メール判定処理の全体の流れ、端末に表示される確認画面、確認制御等は第1の方式と同じであり、図5、図6を参照して説明したとおりである。
<Illegal mail judgment processing>
The overall flow of fraudulent mail determination processing in the second method, the confirmation screen displayed on the terminal, confirmation control, and the like are the same as those in the first method, as described with reference to FIGS.

図10に示した外部受信メール宛先履歴テーブルとの比較の対象となる、外部の端末aから社内の端末に送信されるメール1〜4のアドレス情報の例を図11に示す。図11に示すとおり、第2の方式では、エンベロップのアドレス情報(MAIL From、RCPT To)を比較に用いる。   FIG. 11 shows an example of address information of the mails 1 to 4 transmitted from the external terminal “a” to the in-house terminal, which is a comparison target with the externally received mail destination history table shown in FIG. As shown in FIG. 11, in the second method, envelope address information (MAIL From, RCPT To) is used for comparison.

第2の方式において、外部の端末aから社内の端末に送信されるメールについての不正メール判定処理を図12のフローチャートを参照して説明する。   In the second method, an illegal mail determination process for mail transmitted from an external terminal a to an in-house terminal will be described with reference to the flowchart of FIG.

不正メール判定装置10の不正メール判定処理部11は、外部から受信したメールのエンベロップから送信元アドレス、宛先アドレスを抽出する(ステップ501)。例えば、図11のメール1の場合、送信元アドレスとしてaが抽出され、宛先アドレスとしてA、B、C、Dが抽出される。本例では、宛先アドレスとして抽出された社内のアドレス毎に比較判定を行うので、A、B、C、Dのそれぞれについて、以下の判定処理を行う。   The fraudulent mail determination processing unit 11 of the fraudulent mail determination apparatus 10 extracts the transmission source address and the destination address from the envelope of the mail received from the outside (step 501). For example, in the case of the mail 1 in FIG. 11, a is extracted as the transmission source address, and A, B, C, and D are extracted as the destination addresses. In this example, since the comparison determination is performed for each in-house address extracted as the destination address, the following determination processing is performed for each of A, B, C, and D.

まず、宛先アドレスAについての処理を行う。不正メール判定処理部13は、図10に示したテーブルから、判定対象メールの送信元アドレスaを送信元とし、宛先アドレスAを宛先として含むパターンを抽出する(ステップ502)。図10の例では、パターン1、2が抽出される。本例では、ステップ502において、履歴が抽出されない場合、不正であると判定される。   First, processing for the destination address A is performed. The unauthorized mail determination processing unit 13 extracts a pattern including the transmission source address a of the determination target mail as the transmission source and the destination address A as the destination from the table illustrated in FIG. 10 (Step 502). In the example of FIG. 10, patterns 1 and 2 are extracted. In this example, if no history is extracted in step 502, it is determined to be illegal.

そして、不正メール判定処理部13は、ステップ502で抽出されたパターンと、判定対象メールのアドレスとの比較を行い、不正かどうかを判定する。判定の基準は第1の方式と同様である。すなわち、例えば、判定対象メールにおける送信元アドレス(本例のa)と着目宛先アドレス(本例の現段階ではA)を除いた宛先アドレス群と完全に一致する宛先アドレス群を持つパターンがステップ502で抽出されたパターンの中にある場合に正常であり、完全に一致するパターンがない場合に不正であると判定することができる。例えば、メール1は、送信元:a、宛先:A、B、C、Dであり、アドレス群B、C、Dは、図10のテーブルのパターン1のアドレス群B、C、Dと完全に一致するので、正常であると判定される。また、例えば、メール3は、送信元:a、宛先:A、B、C、Eであり、アドレス群B、C、Eと完全に一致するアドレス群を持つパターンは存在しないからメール3は不正であると判定される。   Then, the fraudulent mail determination processing unit 13 compares the pattern extracted in step 502 with the address of the determination target mail to determine whether it is fraudulent. The criteria for determination are the same as in the first method. That is, for example, a pattern having a destination address group that completely matches the destination address group excluding the transmission source address (a in this example) and the target destination address (A in the present example in this example) in the determination target mail is step 502. It can be determined that the pattern is normal if it is included in the pattern extracted in step B, and is invalid if there is no pattern that completely matches. For example, the mail 1 is a transmission source: a and a destination: A, B, C, D, and the address groups B, C, D are completely the same as the address groups B, C, D of the pattern 1 in the table of FIG. Since they match, it is determined to be normal. Also, for example, mail 3 is sender: a, destinations: A, B, C, E, and mail 3 is illegal because there is no pattern having an address group that completely matches address groups B, C, E. It is determined that

上記のように完全に一致するか否かでなく、各パターンとの間で類似度を計算し、最大となる類似度の大きさによって、不正メールかどうかを判定してもよい。類似度としては、第1の方式と同様に、例えば、Tanimoto係数を利用することができる。   The degree of similarity may be calculated between each pattern and whether or not it is a fraudulent mail based on the maximum degree of similarity, instead of whether or not they completely match as described above. As the similarity, for example, a Tanimoto coefficient can be used as in the first method.

本例でも、パターンにおけるアドレスの要素の集合を集合a、判定対象メールにおけるアドレス情報の要素の集合を集合bとする。この場合、例えば、パターン1の集合の要素はa、A、B、C、DでありNa=5である。メール1のアドレス情報の集合の要素は、a、A、B、C、DでありNb=5である。cは、a、A、B、C、Dであり、Nc=5である。よって、T=1となる。   Also in this example, a set of address elements in the pattern is set a, and a set of address information elements in the determination target mail is set b. In this case, for example, the elements of the set of pattern 1 are a, A, B, C, and D, and Na = 5. The elements of the mail 1 address information set are a, A, B, C, and D, and Nb = 5. c is a, A, B, C, D, and Nc = 5. Therefore, T = 1.

また、例えば、パターン2の集合の要素はa、A、B、CでありNa=4であり、メール3のアドレス情報の集合の要素は、a、A、B、C、EでありNb=5であり、cは、a、A、B、Cであり、Nc=4である。よって、パターン2とメール3との間では、T=4/5=0.8である。   Also, for example, the elements of the set of pattern 2 are a, A, B, C and Na = 4, and the elements of the set of address information of mail 3 are a, A, B, C, E and Nb = 5, c is a, A, B, C and Nc = 4. Therefore, T = 4/5 = 0.8 between the pattern 2 and the mail 3.

不正メール判定処理部13は、上記のTを、判定対象メールのアドレス情報と、ステップ502で抽出された各パターンとの間で計算し、最大のTが所定の閾値以上であれば不正でないと判定し、最大のTが所定の閾値未満であれば不正であると判定する。   The unauthorized mail determination processing unit 13 calculates the above T between the address information of the determination target mail and each pattern extracted in step 502. If the maximum T is equal to or greater than a predetermined threshold, the unauthorized mail determination processing unit 13 is not unauthorized. If the maximum T is less than a predetermined threshold, it is determined to be illegal.

なお、上記の例では、アドレスの要素の全部を集合に入れているが、ステップ502でパターンを抽出した時点で一致が確認されているa、Aを除いたアドレスで評価を行ってもよい。   In the above example, all of the elements of the address are included in the set. However, the evaluation may be performed using addresses other than a and A, which are confirmed to match when the pattern is extracted in step 502.

また、上記の例では、類似度としてTanimoto係数を用いているが、これは一例に過ぎず、類似度として他の値を用いてもよい。例えば、パターンと判定対象メールとで、一致するアドレスの個数の、判定対象メールにおけるアドレスの要素数に対する割合で類似度を表してもよい。   In the above example, the Tanimoto coefficient is used as the similarity, but this is only an example, and other values may be used as the similarity. For example, the similarity may be expressed by the ratio of the number of matching addresses to the number of elements of the address in the determination target mail in the pattern and the determination target mail.

図12のフローのステップ503において、不正であると判定された場合は図5のステップ207〜210に示したような不正時の処理を行い(ステップ504)、不正でないと判定された場合は、図5のステップ206で示すような正常時の処理を行う(ステップ505)。   In step 503 of the flow of FIG. 12, if it is determined to be fraudulent, processing at the time of fraud as shown in steps 207 to 210 of FIG. 5 is performed (step 504). Normal processing as shown in step 206 in FIG. 5 is performed (step 505).

ステップ506において、不正メール判定処理部13は、宛先アドレスの全てについて判定処理が終了したかどうかを確認し(ステップ506)、終了していなければ、次の宛先アドレスについてステップ502からの処理を繰り返す。例えば、図11に示したメール1の場合であれば、Aの次に、Bについて同様の処理を行う。終了していれば該当の受信メールについての判定処理を終了する。   In step 506, the unauthorized mail determination processing unit 13 confirms whether the determination processing has been completed for all destination addresses (step 506), and if not, repeats the processing from step 502 for the next destination address. . For example, in the case of the mail 1 shown in FIG. 11, the same processing is performed for B after A. If completed, the determination process for the corresponding received mail is terminated.

(閾値の設定方法について)
前述したように、第1の方式と第2の方式における1つの判定手法として、Tanimoto係数を算出し、それを「所定の閾値」と比較することで不正メールかどうかを判定している。この閾値は、例えば、学習期間を設けることで求める。学習期間では、不正メール判定処理部13は、メールを受信する度に、対応する各テーブルに宛先履歴を蓄積するとともに、前述した判定処理と同様にして、各パターンとの間でTanimoto係数を算出し、Tanimoto係数をメモリ等の記憶手段に蓄積する。そして、Tanimoto係数の分布を調べ、Tanimoto係数の例えば中間値を閾値とし、閾値を超える値のうちの最頻値を「所定の閾値」として採用する。所定の閾値は、第1の方式と第2の方式のそれぞれについて求める。
(About threshold setting method)
As described above, as one determination method in the first method and the second method, a Tanimoto coefficient is calculated and compared with a “predetermined threshold value” to determine whether or not the mail is fraudulent. This threshold is obtained by providing a learning period, for example. During the learning period, every time an email is received, the fraudulent mail determination processing unit 13 accumulates the destination history in each corresponding table, and calculates the Tanimoto coefficient between each pattern in the same manner as the above-described determination processing. Then, the Tanimoto coefficient is stored in a storage means such as a memory. Then, the distribution of the Tanimoto coefficient is examined, for example, an intermediate value of the Tanimoto coefficient is set as a threshold value, and a mode value among values exceeding the threshold value is adopted as a “predetermined threshold value”. The predetermined threshold is obtained for each of the first method and the second method.

また、実際の運用の段階では、受信メールにおいて最大のTanimoto係数が所定の閾値よりも小さければ不正メールとして隔離されるが、当該隔離したメールについてもユーザにより受信が選択されれば、受信メールのアドレス情報を宛先履歴に追加する。また、メールを外部から受信する度に、Tanimoto係数が計算されるので、計算されるTanimoto係数と、これまでに計算したTanimoto係数を用いて上記のようにして所定の閾値を求め、所定の閾値を更新していく。所定の閾値の更新は、メールを受信する度に行ってもよいし、所定数のメールを受信する度に行うこととしてもよい。   Also, in the actual operation stage, if the maximum Tanimoto coefficient in the received mail is smaller than a predetermined threshold, it is quarantined as an illegal mail, but if the received mail is selected by the user, the received mail Add address information to the destination history. In addition, since the Tanimoto coefficient is calculated every time an email is received from the outside, the predetermined threshold is obtained as described above using the calculated Tanimoto coefficient and the Tanimoto coefficient calculated so far. Will be updated. The update of the predetermined threshold value may be performed every time a mail is received, or may be performed every time a predetermined number of mails are received.

(アドレス毎判定パターン設定について)
本実施の形態では、不正メール判定装置10には第1の方式と第2の方式の両方の判定を行う機能を備える。ただし、不正メール判定装置10が第1の方式と第2の方式のいずれか一方のみの機能を備えることとしてもよい。
(About judgment pattern setting for each address)
In the present embodiment, the fraudulent mail determination device 10 has a function of determining both the first method and the second method. However, the unauthorized mail determination device 10 may have a function of only one of the first method and the second method.

両方の機能を備える不正メール判定装置10は、外部からの受信メールの不正判定において、第1の方式の手法、第2の方式の手法のどちらか1つの判定のみを行うこととしてもよいし、両方の判定を行うこととしてもよい。両方の判定を行う場合、例えば、不正メール判定処理部13は、第1の方式での判定と、第2の方式での判定の両方で、判定対象メールが不正メールでないと判定した場合に判定対象メールが不正メールでないと判定し、いずれか一方で不正であると判定された場合に不正メールであると判定してもよいし、いずれか一方で不正でないと判定されれば、判定対象メールは不正でないと判定してもよい。   The fraudulent mail determination device 10 having both functions may perform only one of the first method and the second method in the fraud determination of received mail from the outside. Both determinations may be made. When performing both determinations, for example, the fraudulent mail determination processing unit 13 determines when the determination target mail is not a fraudulent mail in both the determination by the first method and the determination by the second method. If it is determined that the target email is not illegal and one of them is determined to be illegal, it may be determined that the target email is invalid. May be determined not to be illegal.

また、不正メール判定処理部13は、宛先となるユーザのメール送受信の特性に応じて、判定対象メールに対し、第1の方式で判定を行うか、第2の方式で判定を行うかを選択することとしてもよい。   Further, the fraudulent mail determination processing unit 13 selects whether the determination target mail is determined by the first method or the second method according to the mail transmission / reception characteristics of the destination user. It is good to do.

例えば、受信が多いユーザ(多くの部下のCcに必ず含まれる上司等)、送信が多いユーザ(営業担当者等)、受信専用アドレス(問合せ窓口)等によってメール送受信の特性が異なる。   For example, e-mail transmission / reception characteristics vary depending on users who receive a lot (such as superiors who are always included in many subordinates Cc), users who frequently send (such as sales representatives), and dedicated reception addresses (inquiries).

本実施の形態では、特性に応じて「判定パターン」を設定しておき、効果的な判定(判定処理時間短縮等)を行うこととしている。図13に、当該判定パターンを含む情報を記録したアドレス毎判定情報設定テーブルを示す。このテーブルは、不正メール判定装置10の記憶装置、もしくは外部のDBサーバ(例:宛先履歴DBサーバ20)に格納され、不正メール判定処理部13により、不正メール判定処理時に参照される。また、当該テーブルを用いる実施形態では、図4、図10に示した履歴テーブルの各々には、不正メール判定装置10(社内メールサーバ)により、外部との間の全ての送受信メールのアドレス情報と格納日時が記録される。   In the present embodiment, a “determination pattern” is set according to characteristics, and effective determination (decision processing time reduction, etc.) is performed. FIG. 13 shows a determination information setting table for each address in which information including the determination pattern is recorded. This table is stored in the storage device of the unauthorized mail determination device 10 or an external DB server (for example, the destination history DB server 20), and is referred to by the unauthorized mail determination processing unit 13 during the unauthorized mail determination processing. In the embodiment using the table, each of the history tables shown in FIG. 4 and FIG. 10 includes address information of all sent / received mails to / from the outside by the fraudulent mail determination device 10 (in-house mail server). The storage date is recorded.

図13の例では、例えば、アドレスAのユーザについては、当該アドレスA宛に外部からメールを受信したときに、第2の方式(外部からの受信履歴)を優先して使用する。「優先して使用」とは、例えば、第2の方式での判定が可能でない場合(パターン数が十分でない等)以外は第2の方式を用いることである。   In the example of FIG. 13, for example, for the user at the address A, when a mail is received from the outside addressed to the address A, the second method (external reception history) is preferentially used. “Use with priority” means, for example, that the second method is used except when the determination by the second method is not possible (for example, the number of patterns is not sufficient).

図13における「履歴一致期限判定」は、宛先履歴テーブルにおける所定の期日以内のパターンと一致した(又は類似度が閾値以上の)場合に正常と判定するものである。すなわち、判定対象メールと一致する最新のパターンが、古い時期(例:30日以前)に履歴テーブルに蓄積されたパターンである場合は不正メールと判定する。このような判定手法は、所定の期間だけ行われるプロジェクトについての判定を行う場合に有効である。   “History matching deadline determination” in FIG. 13 is determined to be normal when a pattern within a predetermined date in the destination history table matches (or the similarity is equal to or greater than a threshold). That is, when the latest pattern that matches the determination target mail is a pattern accumulated in the history table at an old time (e.g., before 30 days), it is determined as an illegal mail. Such a determination method is effective when determining a project that is performed only for a predetermined period.

「履歴一致件数判定」は、判定対象メールと一致した(又は類似度が閾値以上の)最新のパターンが、直近で送受信された所定件数以内のメールに基づくパターンでない場合は不正メールとして判定するものである。例えば、判定パターンが「受信履歴」(第2の方式)であり、「履歴一致件数判定」の件数が100件である場合、判定対象メールと一致した(又は類似度が閾値以上の)最新のパターンが、図10に示す外部受信メール宛先履歴テーブルにおける最新のメールによるパターンから過去100件以内のパターンである場合に不正でないと判定する。   “History match count determination” is determined as a fraudulent email if the latest pattern that matches the email to be judged (or whose similarity is equal to or greater than the threshold) is not a pattern based on emails within the predetermined number of messages sent and received most recently. It is. For example, when the determination pattern is “reception history” (second method) and the number of “history matching number determination” is 100, the latest matching with the determination target mail (or the similarity is equal to or greater than the threshold) If the pattern is within the last 100 patterns from the latest mail pattern in the externally received mail destination history table shown in FIG.

「パターン一致件数判定」は、判定対象メールと一致した(又は閾値以上の)パターンの件数を判定で考慮するものである。例えば、「パターン一致件数」が5件の場合、一致パターン4件以下の場合は不正メールと判定し、5件以上であれば不正メールでないと判定する。   “Pattern matching number determination” is to consider the number of patterns matching the determination target mail (or greater than or equal to a threshold) in the determination. For example, when the “number of pattern matches” is 5, when the number of matched patterns is 4 or less, it is determined as an unauthorized mail, and when it is 5 or more, it is determined as not an unauthorized mail.

以上、説明したように、本実施の形態では、メール送受信を行うユーザ(アドレス)のグループは、ある程度一致するという傾向があることに着目して、履歴として残っているグループ(パターン)と受信メールのアドレスのグループとの間の類似度を測り、受信メールの異質さを検知することとしている。このような手法を採用したことで、送信側や中継ネットワークにおいて、特別な仕組みを備えることなく、受信側でのチェックのみで受信メールが不正か否かの判定を的確に行うことが可能となる。   As described above, in this embodiment, paying attention to the fact that groups of users (addresses) that perform mail transmission / reception tend to match to some extent, groups (patterns) remaining as history and received mails Measures the degree of similarity between groups of addresses and detects the heterogeneity of received mail. By adopting such a method, it is possible to accurately determine whether the received mail is illegal or not only by checking on the receiving side without providing a special mechanism on the transmitting side or the relay network. .

なお、本実施の形態では、不正メール判定装置10の装置構成として図2に例を示したが、装置構成は図2に限られるわけではなく、本実施の形態で説明した不正メール判定処理を実施できる構成であればどのような構成でもよい。例えば、不正メール判定装置10を、外部から受信したメールが不正メールか否かを判定する不正メール判定装置であって、前記不正メール判定装置に接続される端末と外部との間で送受信された各メールの送信元アドレス及び宛先アドレスを履歴として格納する履歴データベースを参照し、外部から受信した受信メールの送信元アドレス及び宛先アドレスと、前記履歴データベースにおける各メールの送信元アドレス及び宛先アドレスとを比較することにより、前記受信メールが不正メールか否かを判定する不正メール判定手段と、前記不正メール判定手段により、前記受信メールが不正メールであると判定された場合に、当該受信メールの宛先の端末上に表示された確認画面への入力情報に応じて前記受信メールを前記端末に転送するか否かを決定する不正メール制御手段とを備える不正メール判定装置として構成してもよい。   In the present embodiment, the example of the device configuration of the unauthorized mail determination device 10 is shown in FIG. 2, but the device configuration is not limited to FIG. 2, and the unauthorized email determination process described in the present embodiment is performed. Any configuration is possible as long as it can be implemented. For example, the fraudulent mail determination device 10 is a fraudulent mail determination device that determines whether a mail received from the outside is a fraudulent mail, and is transmitted and received between a terminal connected to the fraudulent mail determination device and the outside. Referring to a history database that stores the source address and destination address of each mail as a history, the source address and destination address of received mail received from the outside, and the source address and destination address of each mail in the history database By comparing the illegal mail determination means for determining whether or not the received mail is illegal mail, and when the received mail is determined to be illegal mail by the illegal mail determination means, the destination of the received mail Whether the received mail is forwarded to the terminal according to the input information on the confirmation screen displayed on the terminal It may be configured as bad mail determination device and a fraudulent mail control means for determining.

例えば前記不正メール制御手段は、前記受信メールの宛先の端末に不正メール通知を送信することにより、又は、当該端末から受信する確認要求に基づいて、当該端末に確認画面情報を送信する。また、前記不正メール制御手段は、前記不正メール判定手段により、前記受信メールが不正メールであると判定された場合に、当該受信メールを破棄するようにしてもよい。   For example, the unauthorized mail control means transmits confirmation screen information to the terminal by transmitting an unauthorized mail notification to the terminal of the received mail or based on a confirmation request received from the terminal. Further, the unauthorized mail control means may discard the received mail when the unauthorized mail determination means determines that the received mail is an unauthorized mail.

前記不正メール判定装置は、端末から外部に向けて送信された各メールの送信元アドレス及び宛先アドレス、又は、外部から受信した各メールの送信元アドレス及び宛先アドレスを前記履歴データベースに格納するアドレス情報格納処理手段を備える。   The fraudulent mail determination device stores the source address and destination address of each mail transmitted from the terminal to the outside, or the address information for storing the source address and destination address of each mail received from the outside in the history database. Storage processing means is provided.

前記不正メール判定手段は、前記履歴データベースにおける送信元アドレス及び宛先アドレスからなるパターンの中に、前記受信メールの送信元アドレス及び宛先アドレスと一致するパターンが存在するか否かを判定することにより、前記受信メールが不正メールか否かを判定することができる。また、前記不正メール判定手段は、前記履歴データベースにおける送信元アドレス及び宛先アドレスからなる各パターンと、前記受信メールの送信元アドレス及び宛先アドレスとの間の類似度を算出し、最大の類似度が所定の閾値以上となるか否かを判定することにより、前記受信メールが不正メールか否かを判定することができる。   The fraudulent mail determination means determines whether there is a pattern that matches the transmission source address and the destination address of the received mail in the pattern consisting of the transmission source address and the destination address in the history database. It can be determined whether the received mail is an illegal mail. Further, the fraudulent mail determination means calculates a similarity between each pattern composed of a source address and a destination address in the history database and a source address and a destination address of the received mail, and the maximum similarity is calculated. By determining whether or not it is equal to or greater than a predetermined threshold, it is possible to determine whether or not the received mail is an unauthorized mail.

明細書には下記の事項が開示されている。
(第1項)
外部から受信したメールが不正メールか否かを判定する不正メール判定装置であって、
前記不正メール判定装置に接続される端末と外部との間で送受信された各メールの送信元アドレス及び宛先アドレスを履歴として格納する履歴データベースを参照し、外部から受信した受信メールの送信元アドレス及び宛先アドレスと、前記履歴データベースにおける各メールの送信元アドレス及び宛先アドレスとを比較することにより、前記受信メールが不正メールか否かを判定する不正メール判定手段と、
前記不正メール判定手段により、前記受信メールが不正メールであると判定された場合に、当該受信メールの宛先の端末上に表示された確認画面への入力情報に応じて前記受信メールを前記端末に転送するか否かを決定する不正メール制御手段と
を備えることを特徴とする不正メール判定装置。
(第2項)
外部から受信したメールが不正メールか否かを判定する不正メール判定装置であって、
前記不正メール判定装置に接続される端末と外部との間で送受信された各メールの送信元アドレス及び宛先アドレスを履歴として格納する履歴データベースを参照し、外部から受信した受信メールの送信元アドレス及び宛先アドレスと、前記履歴データベースにおける各メールの送信元アドレス及び宛先アドレスとを比較することにより、前記受信メールが不正メールか否かを判定する不正メール判定手段と、
前記不正メール判定手段により、前記受信メールが不正メールであると判定された場合に、当該受信メールを破棄する不正メール制御手段と
を備えることを特徴とする不正メール判定装置。
(第3項)
前記不正メール判定装置に接続される端末から外部に向けて送信された各メールの送信元アドレス及び宛先アドレス、又は、外部から受信した各メールの送信元アドレス及び宛先アドレスを前記履歴データベースに格納するアドレス情報格納処理手段
を更に備えることを特徴とする第1項又は第2項に記載の不正メール判定装置。
(第4項)
コンピュータを、第1項ないし第3項のうちいずれか1項に記載の不正メール判定装置における各手段として機能させるためのプログラム。
The following items are disclosed in the specification.
(Section 1)
A fraudulent mail determination device that determines whether an externally received mail is a fraudulent mail,
Refers to a history database that stores a source address and a destination address of each mail transmitted / received between a terminal connected to the unauthorized mail determination device and the outside as a history, a source address of a received mail received from the outside, and Illegal mail determination means for determining whether the received mail is an illegal mail by comparing a destination address with a source address and a destination address of each mail in the history database;
When the received mail is determined to be illegal mail by the illegal mail determination means, the received mail is sent to the terminal according to input information on a confirmation screen displayed on the destination terminal of the received mail. A fraudulent mail determination device comprising: fraudulent mail control means for determining whether to forward or not.
(Section 2)
A fraudulent mail determination device that determines whether an externally received mail is a fraudulent mail,
Refers to a history database that stores a source address and a destination address of each mail transmitted / received between a terminal connected to the unauthorized mail determination device and the outside as a history, a source address of a received mail received from the outside, and Illegal mail determination means for determining whether the received mail is an illegal mail by comparing a destination address with a source address and a destination address of each mail in the history database;
A fraudulent mail determination device comprising: a fraudulent mail control means for discarding the received mail when the fraudulent mail determination means determines that the received mail is a fraudulent mail.
(Section 3)
The source address and destination address of each mail transmitted from the terminal connected to the unauthorized mail determination device to the outside, or the source address and destination address of each mail received from the outside are stored in the history database. The fraudulent mail determination device according to item 1 or 2, further comprising address information storage processing means.
(Section 4)
A program for causing a computer to function as each means in the unauthorized mail determination device according to any one of Items 1 to 3.

本発明は、上記の実施の形態に限定されることなく、特許請求の範囲内において、種々変更・応用が可能である。   The present invention is not limited to the above-described embodiments, and various modifications and applications are possible within the scope of the claims.

10 不正メール判定装置
20 宛先履歴DBサーバ
30 外部メールサーバ
11 メール転送処理部
12 アドレス情報格納処理部
13 不正メール判定処理部
14 不正メール通知制御部
DESCRIPTION OF SYMBOLS 10 Unauthorized mail determination apparatus 20 Destination history DB server 30 External mail server 11 Mail transfer process part 12 Address information storage process part 13 Unauthorized mail determination process part 14 Unauthorized mail notification control part

Claims (4)

外部から受信した受信メールが不正メールか否かを判定する不正メール判定装置であって、
外部へ送信されたメールの履歴である送信履歴と、外部から受信したメールの履歴である受信履歴とを格納する履歴データベースを参照し、前記送信履歴と前記受信履歴のうちのいずれか、又は前記送信履歴と前記受信履歴の両方を用いて前記受信メールが不正メールか否かを判定する不正メール判定手段と、
前記不正メール判定手段により、前記受信メールが不正メールであると判定された場合に、当該受信メールが不正メールであると判定されたことに応じた処理を実行する不正メール制御手段と
を備えることを特徴とする不正メール判定装置。
A fraudulent mail determination device that determines whether a received mail received from outside is a fraudulent mail,
Reference is made to a history database that stores a transmission history that is a history of mail sent to the outside and a reception history that is a history of mail received from the outside, and either one of the transmission history and the reception history, or the A fraudulent mail determination means for determining whether or not the received mail is a fraudulent mail using both the transmission history and the reception history;
When the received mail is determined to be invalid by the unauthorized mail determination means, the unauthorized mail control means for executing processing according to the determination that the received mail is determined to be illegal A fraudulent mail determination device characterized by the above.
前記不正メール判定手段は、ユーザのメール送受信の特性に応じて、前記送信履歴と前記受信履歴を使い分けて前記判定を実行する
ことを特徴とする請求項1に記載の不正メール判定装置。
The fraudulent mail determination device according to claim 1, wherein the fraudulent mail determination unit performs the determination by using the transmission history and the reception history properly according to a mail transmission / reception characteristic of a user.
前記送信履歴は、メールのヘッダの情報であり、前記受信履歴は、メールのエンベロップの情報である
ことを特徴とする請求項1又は2に記載の不正メール判定装置。
The fraudulent mail determination device according to claim 1, wherein the transmission history is information on a header of a mail, and the reception history is information on an envelope of the mail.
コンピュータを、請求項1ないし3のうちいずれか1項に記載の不正メール判定装置における各手段として機能させるためのプログラム。   The program for functioning a computer as each means in the unauthorized mail determination apparatus of any one of Claims 1 thru | or 3.
JP2017204212A 2017-10-23 2017-10-23 Fraud mail determination device and program Active JP6480541B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017204212A JP6480541B2 (en) 2017-10-23 2017-10-23 Fraud mail determination device and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017204212A JP6480541B2 (en) 2017-10-23 2017-10-23 Fraud mail determination device and program

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013202893A Division JP6247490B2 (en) 2013-09-30 2013-09-30 Fraud mail determination device and program

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2019020376A Division JP6643511B2 (en) 2019-02-07 2019-02-07 Unauthorized mail judging device and program

Publications (2)

Publication Number Publication Date
JP2018018542A true JP2018018542A (en) 2018-02-01
JP6480541B2 JP6480541B2 (en) 2019-03-13

Family

ID=61081517

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017204212A Active JP6480541B2 (en) 2017-10-23 2017-10-23 Fraud mail determination device and program

Country Status (1)

Country Link
JP (1) JP6480541B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6485584B1 (en) * 2018-08-23 2019-03-20 株式会社ナカヨ Suspicious email detection method, suspicious email detection system, suspicious email detection device, and computer-readable program
US11444901B2 (en) 2018-05-22 2022-09-13 Mitsubishi Electric Corporation Device, method, and computer readable medium for identifying fraudulent email using function terms

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003178008A (en) * 2001-12-12 2003-06-27 Nec Corp E-mail system, mail server, and e-mail relay method
JP2004341911A (en) * 2003-05-16 2004-12-02 Sanyo Electric Co Ltd Communication equipment having function for automatically discriminating junk e-mail
JP2006287380A (en) * 2005-03-31 2006-10-19 Nec Corp Method of detecting e-mail virus and mail server
JP2007281702A (en) * 2006-04-04 2007-10-25 Box Solutions Corp Management/control method for electronic mail,
JP2008210203A (en) * 2007-02-27 2008-09-11 Digital Arts Inc Electronic mail processing method and system
JP2009037346A (en) * 2007-07-31 2009-02-19 Nextvision Co Ltd Unwanted e-mail exclusion system
JP2012243146A (en) * 2011-05-20 2012-12-10 Kddi Corp Electronic mail classification device, electronic mail classification method, and electronic mail classification program

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003178008A (en) * 2001-12-12 2003-06-27 Nec Corp E-mail system, mail server, and e-mail relay method
JP2004341911A (en) * 2003-05-16 2004-12-02 Sanyo Electric Co Ltd Communication equipment having function for automatically discriminating junk e-mail
JP2006287380A (en) * 2005-03-31 2006-10-19 Nec Corp Method of detecting e-mail virus and mail server
JP2007281702A (en) * 2006-04-04 2007-10-25 Box Solutions Corp Management/control method for electronic mail,
JP2008210203A (en) * 2007-02-27 2008-09-11 Digital Arts Inc Electronic mail processing method and system
JP2009037346A (en) * 2007-07-31 2009-02-19 Nextvision Co Ltd Unwanted e-mail exclusion system
JP2012243146A (en) * 2011-05-20 2012-12-10 Kddi Corp Electronic mail classification device, electronic mail classification method, and electronic mail classification program

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11444901B2 (en) 2018-05-22 2022-09-13 Mitsubishi Electric Corporation Device, method, and computer readable medium for identifying fraudulent email using function terms
JP6485584B1 (en) * 2018-08-23 2019-03-20 株式会社ナカヨ Suspicious email detection method, suspicious email detection system, suspicious email detection device, and computer-readable program
JP2020030700A (en) * 2018-08-23 2020-02-27 株式会社ナカヨ Method for detecting suspicious mail, suspicious mail detection system, suspicious mail detector, and computer-readable program

Also Published As

Publication number Publication date
JP6480541B2 (en) 2019-03-13

Similar Documents

Publication Publication Date Title
US9501746B2 (en) Systems and methods for electronic message analysis
US8892673B1 (en) Hybrid challenge-response
US8782781B2 (en) System for reclassification of electronic messages in a spam filtering system
US7950047B2 (en) Reporting on spoofed e-mail
EP2446411B1 (en) Real-time spam look-up system
US20050198159A1 (en) Method and system for categorizing and processing e-mails based upon information in the message header and SMTP session
KR20080058415A (en) Determining the reputation of a sender of communications
US20050091320A1 (en) Method and system for categorizing and processing e-mails
US20060031314A1 (en) Techniques for determining the reputation of a message sender
US20040064734A1 (en) Electronic message system
US20060168017A1 (en) Dynamic spam trap accounts
US20050091319A1 (en) Database for receiving, storing and compiling information about email messages
US8205264B1 (en) Method and system for automated evaluation of spam filters
WO2003100639A1 (en) System and method for message sender validation
AU2009299539B2 (en) Electronic communication control
US8381262B2 (en) Blocking of spoofed E-mail
JP6480541B2 (en) Fraud mail determination device and program
JP6247490B2 (en) Fraud mail determination device and program
JP6039378B2 (en) Unauthorized mail determination device, unauthorized mail determination method, and program
JP2006251882A (en) Unsolicited mail handling system, unsolicited mail handling method and program
JP6643511B2 (en) Unauthorized mail judging device and program
JPWO2005101770A1 (en) Spam mail processing apparatus and method
JP6316380B2 (en) Unauthorized mail determination device, unauthorized mail determination method, and program
JP2009037432A (en) Verification policy setting device, program, and verification policy management system
JP6614920B2 (en) Transmission control apparatus, transmission control method, and transmission control program

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180828

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180904

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181105

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: 20190108

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190207

R150 Certificate of patent or registration of utility model

Ref document number: 6480541

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250