NIST IR 7970 日本語訳
英語タイトル : Taxonomic Rules for Password Policies: Translating the Informal to the Formal Language日本語タイトル : パスワードポリシーの分類規則:非形式言語から形式言語への翻訳
公開日 : 2013-12-09
原文URL : https://csrc.nist.gov/pubs/ir/7970/final
翻訳編集 : 自動生成(有志による非公式の日本語訳), 原文取得日 : 2026-10-31, 訳文 : 173 / 201 ブロック
[要約] NIST IR 7970 は、パスワードポリシーでユーザーに何が期待されているかを明示的に捉えるために開発された形式言語の文法と、標準的なパスワードポリシーの非形式言語による記述をその形式言語に翻訳する手順を示す報告書です。この取り組みは予備的なものであり、範囲内のトピックと範囲外のトピックを区別する基準を示したうえで、ポリシー文書にマークを付けて範囲内の記述を特定する手順を説明します。形式言語への翻訳では、パスワードの有効期間と失効、伝達と送信、作成と構成(長さ、文字集合、文字列集合)、記述と保管、認証失敗とロックアウトに関する規則を扱い、構文は Extended Backus-Naur Form(EBNF)記法で記述されます。範囲内の記述の特定から形式言語への翻訳までの例も示されています。
NISTIR 7970
NISTIR 7970
Taxonomic Rules for Password Policies: Translating the Informal to the Formal Language
パスワードポリシーの分類規則: 非形式言語から形式言語への翻訳
Kevin Killourhy
Yee-Yin Choong
Mary Theofanos
Kevin Killourhy
Yee-Yin Choong
Mary Theofanos
http://dx.doi.org/10.6028/NIST.IR.7970
http://dx.doi.org/10.6028/NIST.IR.7970
[NIST のロゴ。公的な標章のため、この非公式サイトには掲載していません。原本 PDF を参照してください。]
NISTIR 7970
NISTIR 7970
Taxonomic Rules for Password Policies: Translating the Informal to the Formal Language
パスワードポリシーの分類規則: 非形式言語から形式言語への翻訳
Kevin Killourhy
Yee-Yin Choong
Mary Theofanos
Information Access Division
Information Technology Laboratory
Kevin Killourhy
Yee-Yin Choong
Mary Theofanos
情報アクセス部門
情報技術研究所
http://dx.doi.org/10.6028/NIST.IR.7970
http://dx.doi.org/10.6028/NIST.IR.7970
December 2013
2013 年 12 月
U.S. Department of Commerce
Penny Pritzker, Secretary
米国商務省
Penny Pritzker 長官
National Institute of Standards and Technology
Patrick D. Gallagher, Under Secretary of Commerce for Standards and Technology and Director
National Institute of Standards and Technology
Patrick D. Gallagher、NIST 所長兼商務次官(標準・技術担当)
Table of Contents
目次
1 INTRODUCTION
1 はじめに
A password policy may seem formal in the sense that it is written in a legalistic language, giving the impression of a binding contract. However, such policies are informal in the logical sense that the policy statements are not written in a clear, unambiguous form. In password policy research at the National Institute of Standards and Technology, a formal language has been developed to explicitly capture what is expected of the user. This document presents that formal language grammar and the procedure that has been developed to translate the statements in the informal language of standard password policies to the formal language.1
パスワードポリシーは、法律文書のような言葉で書かれ、拘束力のある契約という印象を与えるという意味では、形式的に見えるかもしれません。しかし、そのようなポリシーは、ポリシーの記述が明確で曖昧さのない形で書かれていないという論理的な意味では、非形式的です。National Institute of Standards and Technology でのパスワードポリシーの研究では、ユーザーに何が期待されているかを明示的に捉えるための形式言語が開発されました。この文書は、その形式言語の文法と、標準的なパスワードポリシーの非形式言語による記述を形式言語に翻訳するために開発された手順を示します。1
This work is preliminary. As such, not all statements within every topic covered by any password policy are considered within scope. Instead, attention in this work is restricted to a subset of topics, acknowledging the remainder as presently beyond scope. The criteria used to differentiate between topics within and out of scope are given in Sec. 2. Further, the procedure for marking policy documents to identify within scope statements is described.
この取り組みは予備的なものです。そのため、あらゆるパスワードポリシーが扱うすべてのトピックの、すべての記述が適用範囲内とみなされるわけではありません。むしろ、この取り組みでは、注意をトピックの一部に限定し、残りは現時点では適用範囲外であると認めています。適用範囲内のトピックと範囲外のトピックを区別するために用いる基準は、第 2 節に示します。さらに、ポリシー文書にマークを付けて、範囲内の記述を特定する手順も説明します。
Once a statement is identified as within scope, the translation step prescribes that elements from the grammar are selected to construct one or more statements which capture the meaning of the informal statement regarding user behavior. A word-by-word translation is not performed. The grammar of the formal language is presented in Sec. 3, along with a description of the conventions used when translating ambiguous, informal statements into the formal language. The syntax of the formal language is in Extended Backus-Naur Form (EBNF)2 notation, which is frequently used in programming language specification.
記述が範囲内であると特定されると、翻訳の段階では、ユーザーの行動に関する非形式的な記述の意味を捉える 1 つ以上の記述を構成するために、文法の要素を選択することが定められています。逐語的な翻訳は行いません。形式言語の文法は第 3 節に示し、曖昧で非形式的な記述を形式言語に翻訳する際に用いる規則の説明を添えます。形式言語の構文は、プログラミング言語の仕様でよく使われる Extended Backus-Naur Form(EBNF)2記法で記述されます。
In Sec. 4, an example policy and its translation into the formal language is presented. A reader simply trying to understand the general concept of this translation process and not the details of the formal language branching, might want to review this section first. It should provide an overview of the process without the amount of grammar detail presented in Sec. 2 and Sec. 3.
第 4 節では、ポリシーの例と、その形式言語への翻訳を示します。この翻訳プロセスの一般的な概念だけを理解したい読者は、形式言語の分岐の詳細を知る必要がないため、まずこの節を確認するとよいでしょう。この節では、第 2 節と第 3 節にある文法の詳細を省いて、プロセスの概要を説明します。
2 IDENTIFYING WITHIN SCOPE STATEMENTS
2 範囲内の記述の特定
Upon initial perusal, many password policies make similar types of statements. Policies contain length and character set requirements, restrictions on how passwords are stored and whether they can be communicated, and warnings about consequences for a user who enters a password incorrectly too many times. While individual requirements, restrictions, and consequences may differ slightly, the impression is that all policies cover largely similar territory.
最初に目を通すと、多くのパスワードポリシーは同じような種類の記述をしています。ポリシーには、長さと文字集合の要件、パスワードをどのように保管するか、伝達してよいかどうかに関する制限、ユーザーがパスワードを何度も誤って入力した場合の結果に関する警告が含まれます。個々の要件、制限、結果は少しずつ異なる場合がありますが、どのポリシーも、おおむね似た領域を扱っているという印象を受けます。
However, upon closer examination, differences emerge in the topics covered by different policies. Some policies regulate applications’ and system administrators’ behavior as well as users’. Some policies discourage passwords entirely, recommending either a security token or long passphrases with dramatically different composition requirements. Some policies lay out multiple sub-policies, each pertaining to passwords for different kinds of accounts (e.g., shared, normal user, privileged user, or system accounts).
しかし、より詳しく調べると、ポリシーごとに扱うトピックの違いが現れます。一部のポリシーは、ユーザーだけでなく、アプリケーションやシステム管理者の行動も規制しています。一部のポリシーは、パスワードの使用を思いとどまらせ、セキュリティトークンか、構成要件が大きく異なる長いパスフレーズのいずれかを推奨しています。一部のポリシーは、それぞれ異なる種類のアカウント(たとえば、共有アカウント、通常のユーザーアカウント、特権ユーザーアカウント、システムアカウント)のパスワードに関する、複数のサブポリシーを規定しています。
2.1 WITHIN SCOPE TOPICS
2.1 範囲内のトピック
Rather than attempt to capture the full diversity of the topics covered in password policies, a subset of topics that commonly appear among many different policies are identified as within scope. Particular attention is paid to the subset that covers those topics which most closely specify user behavior. These expectations on user behavior are expressed as explicit statements about what a user must, must not, should, and should not do. The topics cover (1) creating a password, (2) communicating a password, (3) changing a password, (4) storing a password, and (5) failing to authenticate.
パスワードポリシーが扱うトピックの多様性をすべて捉えようとするのではなく、多くの異なるポリシーに共通して現れるトピックの一部を、範囲内として特定します。特に、ユーザーの行動を最も具体的に規定するトピックの一部に注意を払います。ユーザーの行動に対するこれらの期待は、ユーザーが何をしなければならないか、何をしてはならないか、何をすべきか、何をすべきではないかについての、明示的な記述として表されます。トピックは、(1) パスワードの作成、(2) パスワードの伝達、(3) パスワードの変更、(4) パスワードの保管、(5) 認証の失敗を対象とします。
Currently the focus is restricted to one account per policy: the general user account. When it is unclear which of multiple accounts corresponds to that of a general user, the least privileged, non-guest account is selected. All other account types are considered out of scope.
現在は、焦点をポリシーあたり 1 つのアカウント、すなわち一般ユーザーのアカウントに限定しています。複数のアカウントのうちどれが一般ユーザーのアカウントに該当するか不明確な場合は、最も権限が低く、ゲストではないアカウントを選択します。その他のアカウントの種類は、すべて範囲外とみなします。
2.2 OUT-OF-SCOPE TOPICS
2.2 範囲外のトピック
The following topics were judged to be presently beyond scope:
次のトピックは、現時点では適用範囲外と判断されました。
1.Passphrases, PINs, and Alternatives: Some policy writers use passphrase and password synonymously, while others define a passphrase to be longer than a password (e.g., 15 or more characters), created by assembling a sequence of words (not characters). This latter notion of a passphrase is certainly worth study, especially as several security experts have started to recommend them, but the focus of this research is restricted to passwords for now. Likewise, personal identification numbers (PINs) for personal digital assistants (e.g., Blackberries) are beyond scope. More generally, alternatives to passwords are not yet included in the formal language. For example, policy statements that explicitly discourage password use in favor of one time passwords or public keys. Such statements are ignored.
1.パスフレーズ、PIN、その代替手段: 一部のポリシー作成者は、パスフレーズとパスワードを同義に使いますが、他の作成者は、パスフレーズを、(文字ではなく)単語の並びを組み合わせて作成する、パスワードより長い(たとえば 15 文字以上の)ものと定義しています。後者のパスフレーズの考え方は、特に複数のセキュリティ専門家が推奨し始めていることから、確かに研究する価値がありますが、この研究の焦点は、当面はパスワードに限定されます。同様に、携帯情報端末(たとえば Blackberry)の個人識別番号(PIN)も適用範囲外です。より一般的には、パスワードの代替手段は、まだ形式言語に含まれていません。たとえば、パスワードの使用を避けるよう明示し、代わりにワンタイムパスワードまたは公開鍵を推奨するポリシーの記述です。そのような記述は無視されます。
2.Non-standard Accounts and Access: A single policy can regulate behavior for several different kinds of accounts. For instance, a policy might specify one length and lifetime for general users, a stricter length and lifetime for users with elevated privileges (e.g., those who handle personally identifying information), and require documented permission from management to maintain a group account with a shared password. All account types which do not correspond to the general user account are considered out of scope.
2.標準的でないアカウントとアクセス: 1 つのポリシーが、いくつかの異なる種類のアカウントに対する行動を規制する場合があります。たとえば、ポリシーが、一般ユーザーに対しては 1 つの長さと有効期間を規定し、昇格した権限を持つユーザー(たとえば、個人を特定できる情報を扱うユーザー)に対してはより厳格な長さと有効期間を規定し、共有パスワードを持つグループアカウントを維持するために、管理者による文書化された許可を求める場合があります。一般ユーザーのアカウントに該当しないすべてのアカウントの種類は、範囲外とみなされます。
3.Non-User Agents: A password policy might specify the behavior for many parties, not just the general user. For instance, system administrators might be required to change passwords or disable accounts when users are terminated or transferred to another group. Applications may be required to obscure passwords when they are typed rather than displaying them on the screen. While formalized password policy statements could have many applications, they were formulated to help us express the expectations and responsibilities placed on users. Consequently, regulations of the behavior of these non-user agents are beyond scope.
3.ユーザー以外のエージェント: パスワードポリシーは、一般ユーザーだけでなく、多くの関係者の行動を規定する場合があります。たとえば、システム管理者が、ユーザーが解雇されたり別のグループに異動したりしたときに、パスワードを変更したりアカウントを無効にしたりすることを求められる場合があります。アプリケーションが、パスワードを入力する際に、画面に表示するのではなく隠すことを求められる場合があります。形式化されたパスワードポリシーの記述には多くの用途があり得ますが、これらは、ユーザーに課される期待と責任を表現するのに役立つように作成されたものです。したがって、これらのユーザー以外のエージェントの行動の規制は、適用範囲外です。
4.Infrequent Topics: Some policy topics are considered infrequent, either in the sense that they are covered in very few policies, or they specify behavior which arises rarely. The consequences of forgotten passwords and expired accounts fall into this category. Many policies do not cover these topics explicitly so their study is postponed for future work. Likewise, initial password procedures are beyond scope (e.g., how new accounts are assigned passwords and when they must be changed). Statements about such procedures regulate behavior that is only relevant once per account, and they typically involve the activity of non-user agents, for example the rules pertaining to the default password for a new account.
4.まれなトピック: 一部のポリシーのトピックは、ごく少数のポリシーでしか扱われない、あるいは、まれにしか生じない行動を規定するという意味で、まれなものとみなされます。パスワードを忘れた場合の結果や、アカウントの期限切れがこの分類に当たります。多くのポリシーはこれらのトピックを明示的に扱っていないため、その研究は今後の課題に先送りされます。同様に、初期パスワードの手順も適用範囲外です(たとえば、新しいアカウントにどのようにパスワードが割り当てられ、いつ変更しなければならないか)。そのような手順に関する記述は、アカウントごとに一度しか関係しない行動を規制するものであり、通常は、新しいアカウントの既定のパスワードに関する規則のように、ユーザー以外のエージェントの活動を伴います。
5.Platitudes and Generic Advice: General tips and tricks for creating passwords are not translated into the formal language. Choosing a password that is easy to remember but hard to guess is easier said than done. Guidance about creating acronyms from phrases or converting letters to numbers may help users choose good passwords but they are suggestions not regulations. Only tips with explicit recommendations or prohibitions are translated (e.g., using mixed case letters or avoiding proper nouns).
5.決まり文句と一般的な助言: パスワードを作成するための一般的なヒントやコツは、形式言語に翻訳されません。覚えやすく推測されにくいパスワードを選ぶことは、口で言うほど簡単ではありません。フレーズから頭字語を作ったり、文字を数字に変換したりするというガイダンスは、ユーザーが適切なパスワードを選ぶのに役立つかもしれませんが、それらは規制ではなく提案です。明示的な推奨や禁止を伴うヒント(たとえば、大文字と小文字を混在させる、固有名詞を避ける)のみが翻訳されます。
The formal password policy language could be extended to express statements about these currently out-of-scope topics. To do so for the present work seemed premature. If the current work proves useful, such extensions might be warranted.
形式的なパスワードポリシー言語は、現時点で範囲外のこれらのトピックに関する記述を表現できるように拡張できる可能性があります。今回の取り組みでそうすることは時期尚早に思われました。今回の取り組みが有用であることが分かれば、そのような拡張が正当化されるかもしれません。
2.3 MARKING WITHIN SCOPE STATEMENTS
2.3 範囲内の記述へのマーク付け
To facilitate the translation process, the following supporting process is used. The translator examines the document to find sentences, bullets, or other spans of text judged to be within scope regulating users’ behavior when creating or managing passwords. Each such statement to be translated is identified and the translator inserts a parenthetical number in the document margin, starting at (1) and incrementing the number for each identified span of text. To make the identifiers stand out. In this document they are formatted as red text. These parenthetical indices are used to link translated statements back to statements in the source document.
翻訳プロセスを円滑にするため、次の補助プロセスを用います。翻訳者は文書を調べ、パスワードの作成または管理時のユーザーの行動を規制する範囲内の文、箇条書き、その他のテキスト範囲を見つけます。翻訳対象となる各記述を特定し、翻訳者は文書の余白に丸括弧付きの番号を挿入します。番号は (1) から始め、特定したテキスト範囲ごとに増やします。識別子を目立たせるため、この文書では番号を赤字で書式設定しています。これらの丸括弧付きの番号は、翻訳された記述を原文書の記述に結びつけるために用いられます。
3 TRANSLATING INTO THE FORMAL LANGUAGE
3 形式言語への翻訳
Having identified those policy statements that are within scope in Sec. 2, this section describes how these statements are translated into the formal password policy language.
第 2 節で範囲内のポリシーの記述を特定したうえで、この節では、これらの記述を形式的なパスワードポリシー言語にどのように翻訳するかを説明します。
As a formal language, there are absolute rules (called a grammar) regarding how policy statements must be phrased. In the same way that a misplaced word or punctuation mark might cause a syntax error in a programming language, an incorrectly phrased policy statement will violate the rules of the policy grammar. This grammar has been specified in a concise, unambiguous notation called Extended Backus-Naur Form (EBNF). The notation is commonly used to describe the syntax of programming languages. EBNF was adopted because tools exist to parse and automatically check the correctness of a document written with an EBNF-specified grammar.
形式言語として、ポリシーの記述をどのように表現しなければならないかについての絶対的な規則(文法と呼ばれる)があります。プログラミング言語で、語や句読点の位置が誤っていると構文エラーが生じるのと同様に、誤った表現のポリシーの記述は、ポリシー文法の規則に違反します。この文法は、Extended Backus-Naur Form(EBNF)と呼ばれる、簡潔で曖昧さのない記法で規定されています。この記法は、プログラミング言語の構文を記述するために一般的に使われています。EBNF で規定された文法を用いて書かれた文書の正しさを構文解析し、自動的に確認するツールが存在するため、EBNF が採用されました。
Throughout this section, the formal rules of the EBNF grammar are presented alongside descriptions of what the rules mean. Readers unfamiliar with EBNF notation should still find the syntax of the rules fairly intuitive. First, the overall structure of policies and statements is described. Then, each kind of statement is discussed.
この節の全体を通じて、EBNF 文法の形式的な規則を、その規則が何を意味するかの説明とともに示します。EBNF 記法に不慣れな読者でも、規則の構文はかなり直感的に理解できるはずです。最初に、ポリシーと記述の全体的な構造を説明します。次に、各種類の記述について論じます。
3.1 STRUCTURE OF A PASSWORD POLICY
3.1 パスワードポリシーの構造
Formally, a password policy is a collection of statements about behavior. This rule formally defines a policy to be a collection of one or more policy statements (policy_stmt’s). The parenthetical (s) denotes one or more policy statements. It is denoted by the following rule:
形式的には、パスワードポリシーは、行動に関する記述の集合です。この規則は、ポリシーを、1 つ以上のポリシー記述(policy_stmt)の集合として形式的に定義します。丸括弧の (s) は、1 つ以上のポリシー記述を表します。これは、次の規則で表されます。
1 policy: policy_stmt(s)
Each policy statement is decomposed into the following parts:
各ポリシー記述は、次の部分に分解されます。
1 policy_stmt: rule_idx "Users" modal_verb pwd_stmt ’.’
A policy statement is divided into a rule index (rule_idx), and a sentence with “Users” as the subject, a modal verb phrase (modal_verb), a statement about passwords (pwd_stmt), and a period (“.”) to terminate the sentence.
ポリシー記述は、規則インデックス(rule_idx)、「Users」を主語とする文、法助動詞句(modal_verb)、パスワードに関する記述(pwd_stmt)、文を終えるピリオド(「.」)に分けられます。
The rule index is defined by the following rule:
規則インデックスは、次の規則で定義されます。
1 rule_idx: /\d+\w*/ ":"
The index of the rule is intended to connect the formal policy statement with a location in the informal policy document for later reference. It is encoded as a number followed by zero or more letters and then a colon. The expression /\d+\w*/ is a UNIX-style regular expression denoting one or more digits followed by zero or more letters. For instance, “1:” and “2a:” are valid rule indices while “a2:” and “1” (with no colon) are not.
規則のインデックスは、形式的なポリシー記述を、後で参照できるよう非形式的なポリシー文書内の位置に結びつけることを意図しています。これは、数字の後に 0 個以上の文字が続き、その後にコロンが付く形で符号化されます。式 /\d+\w*/ は、1 つ以上の数字の後に 0 個以上の英字が続くことを表す UNIX 形式の正規表現です。たとえば、「1:」と「2a:」は有効な規則インデックスですが、「a2:」と「1」(コロンなし)は有効ではありません。
The numeric portion of the rule index is intended to correspond with the number marked (according to Sec. 2.3) next to the informal statement being translated. The alphabetic portion is intended to differentiate multiple formal statements that correspond to the same informal statement.
規則インデックスの数字の部分は、翻訳される非形式的な記述の横に(第 2.3 節に従って)付けられた番号に対応することを意図しています。英字の部分は、同じ非形式的な記述に対応する複数の形式的な記述を区別することを意図しています。
The substance of a policy statement is the sentence that follows the rule index. The subject of the sentence is “Users,” and the subject is followed by one of four modal verb phrases according to the following rule:
ポリシー記述の本体は、規則インデックスに続く文です。文の主語は「Users」であり、主語の後には、次の規則に従って、4 つの法助動詞句のいずれかが続きます。
1 modal_verb: "must not"
2 | "should not"
3 | "must"
4 | "should"
The rule uses a vertical bar (|) to denote a choice among four options. Each option has its standard meaning. For instance, a sentence beginning “Users must not” is prohibiting behavior, and a sentence beginning “Users should” is recommending behavior.
この規則は、縦棒(|)を用いて 4 つの選択肢からの選択を表します。各選択肢には、それぞれ標準的な意味があります。たとえば、「Users must not」で始まる文は行動を禁止しており、「Users should」で始まる文は行動を推奨しています。
Sometimes it can be tricky to determine whether an informally written policy is forbidding an activity (must not) or merely discouraging it (should not). When deciding, look for strong statements (e.g., “Never use a dictionary word”) as evidence of a requirement or prohibition. However, if such statements are wrapped in weaker wording (e.g., “Consider the following tips for creating a strong password:”), view the statement as a recommendation. Note that sometimes a policy will present tips for creating a strong password and later clarify that these tips must be followed. Careful reading is often required.
非形式的に書かれたポリシーが、ある行為を禁止しているのか(must not)、単にそれをすべきでないと勧告しているのか(should not)を判断するのが難しい場合があります。判断する際は、強い表現(たとえば、「Never use a dictionary word」)を、要件または禁止の根拠として探してください。ただし、そのような表現が、より弱い表現(たとえば、「Consider the following tips for creating a strong password:」)に包まれている場合は、その記述を推奨と見なしてください。ポリシーが、強力なパスワードを作成するためのヒントを示し、後でそれらのヒントに従わなければならないと明確にする場合があることに注意してください。注意深く読むことが必要になる場合が多くあります。
After the modal verb comes the verb phrase that explicitly defines the behavior regulated by the statement:
法助動詞の後には、その記述が規制する行動を明示的に定義する動詞句が続きます。
1 pwd_stmt: change_stmt
2 | commun_stmt
3 | create_stmt
4 | store_stmt
5 | failauth_stmt
As with modal verb, the vertical bars denote a choice. In this password statement, the choice is between five different topics: (1) changing a password, (2) communicating a password, (3) creating a password, (4) storing a password, and (5) failing to authenticate. Each of these five kinds of statements have different structures and are described in separate sections.
法助動詞の場合と同様に、縦棒は選択を表します。このパスワード記述では、選択は 5 つの異なるトピックの間で行われます。(1) パスワードの変更、(2) パスワードの伝達、(3) パスワードの作成、(4) パスワードの保管、(5) 認証の失敗です。これら 5 種類の記述は、それぞれ異なる構造を持ち、別々の節で説明します。
3.2 RULES ON PASSWORD LIFETIMES AND EXPIRY
3.2 パスワードの有効期間と失効に関する規則
Statements that regulate when users must change their password have the following form:
ユーザーがいつパスワードを変更しなければならないかを規制する記述は、次の形式です。
1 change_stmt: "change passwords" time_crit
2 | "change passwords" time_crit "if" event_name
The change statement (change_stmt) is either an absolute or a conditional statement. The absolute statement requires only a time criteria (time_crit) as defined by the following rule:
変更の記述(change_stmt)は、絶対的な記述か条件付きの記述のいずれかです。絶対的な記述は、次の規則で定義される時間基準(time_crit)のみで構成されます。
1 time_crit: "immediately"
2 | "before" day_name
In the password policies that were examined as part of this research, passwords must either be changed immediately or before a certain number of days have passed. The number of days must be specified according to the day_name rule:
この研究の一環として調べたパスワードポリシーでは、パスワードは、直ちに、または一定の日数が経過する前に変更しなければなりません。日数は、day_name 規則に従って指定しなければなりません。
1 day_name: /1 day/
2 | /\d+\s+days/
As an example of the use of the absolute change statement, if an informal policy stated, “Passwords must be changed every 90 days,”. It would be translated as follows:
絶対的な変更の記述の使用例として、非形式的なポリシーに「パスワードは 90 日ごとに変更しなければならない」と記載されているとします。これは次のように翻訳されます。
1: Users must change passwords before 90 days.
1: Users must change passwords before 90 days.
The conditional statement is used to express the fact that, if a certain event (event_name) takes place, the password must be changed according to a specified time criteria. The kinds of events described in password policies are captured by the following rule:
条件付きの記述は、ある事象(event_name)が発生した場合に、指定された時間基準に従ってパスワードを変更しなければならないという事実を表現するために用いられます。パスワードポリシーに記述されている事象の種類は、次の規則で捉えられます。
1 event_name: "compromised"
2 | "directed by management"
3 | "found non-compliant"
4 | "sent unencrypted"
5 | "shared"
An informal policy statement might not correspond exactly to one of these events, but the match should be close to one. For instance, an informal policy might state, “Passwords that have been compromised or are suspected of being compromised must be changed right away.” Such a statement would translate into the formal statement:
非形式的なポリシーの記述は、これらの事象のいずれかに正確に対応しない場合がありますが、いずれかに近いものにすべきです。たとえば、非形式的なポリシーに「侵害された、または侵害された疑いのあるパスワードは、直ちに変更しなければなりません」と記載されているとします。このような記述は、次の形式的な記述に翻訳されます。
2: Users must change passwords immediately if compromised.
2: Users must change passwords immediately if compromised.
3.3 RULES ON PASSWORD COMMUNICATION AND TRANSMISSION
3.3 パスワードの伝達と送信に関する規則
Statements concerning whether users talk about or transmit their passwords (e.g., over the Internet) are defined by the following rule:
ユーザーが自分のパスワードについて話すか、(たとえばインターネット経由で)送信するかに関する記述は、次の規則で定義されます。
1 commun_stmt: "communicate passwords" "to" person_name
2 | "communicate passwords" "by" media_name
3 | "communicate passwords" "except in an emergency"
In accordance with this rule, communications regulations take one of three forms. The first form governs to whom a user can communicate a password. Only two sets of people (person_name) appear in the password policies that were examined:
この規則に従い、パスワードの伝達に関する規則は 3 つの形式のいずれかをとります。第 1 の形式は、ユーザーが誰にパスワードを伝達できるかを規定します。調べたパスワードポリシーに現れた人々の集合(person_name)は、次の 2 つだけでした。
1 person_name: "a third party"
2 | "anyone"
For instance, an informal statement such as “Do not share your password with friends, family, secretaries, etc.” would be translated to the statement:
たとえば、「パスワードを友人、家族、秘書などと共有してはなりません」のような非形式的な記述は、次の記述に翻訳されます。
3: Users must not communicate passwords to anyone.
3: ユーザーは、誰にもパスワードを伝達してはなりません。
The second form governs the transmission medium (media_name) by which a user can or cannot communicate passwords:
第 2 の形式は、ユーザーがパスワードを伝達できる、またはできない伝送媒体(media_name)を規定します。
1 media_name: "any means"
2 | "any network without encryption"
3 | "any network"
4 | "email without encryption"
5 | "email"
6 | "mail without encryption"
7 | "mail accompanied by the user ID"
8 | "mail"
9 | "phone mail"
10 | "phone"
11 | "Internet or wide-area network without encryption"
12 | "Internet or wide-area network"
13 | "local-area network without encryption"
14 | "local-area network"
As in other cases, a translator may need to make a judgment about which of the choices is most appropriate in a given translation. For instance, the informal statement, “Passwords on the Internet must be encrypted in compliance with FIPS 140-2,” would be translated as follows:
他の場合と同様に、翻訳者は、ある翻訳においてどの選択肢が最も適切かを判断する必要がある場合があります。たとえば、非形式的な記述「インターネット上のパスワードは、FIPS 140-2に準拠して暗号化しなければなりません」は、次のように翻訳されます。
4: Users must not communicate passwords by Internet or wide-area network without encryption.
4: ユーザーは、暗号化せずにインターネットまたは広域ネットワークを介してパスワードを伝達してはなりません。
The third form exists as a special case. Several policies make an exception to an overall ban on communicating passwords in the event of an emergency or other extraordinary circumstances. Such exceptions are translated into the formal language as:
第 3 の形式は、特別な場合として存在します。いくつかのポリシーは、パスワードの伝達を全面的に禁止する一方で、緊急時やその他の例外的な状況では例外を認めています。このような例外は、形式言語では次のように翻訳されます。
5: Users must not communicate passwords except in an emergency.
5: ユーザーは、緊急時を除き、パスワードを伝達してはなりません。
3.4 RULES ON PASSWORD CREATION AND COMPOSITION
3.4 パスワードの作成と構成に関する規則
The majority of statements about passwords govern their length, the characters that must (and must not) appear, and other choices that are made when the user creates the password. Statements about password creation are defined by the following rule:
パスワードに関する記述の大半は、パスワードの長さ、含めなければならない(および含めてはならない)文字、ユーザーがパスワードを作成するときに行うその他の選択を定めます。パスワードの作成に関する記述は、次の規則で定義されます。
1 create_stmt: "create passwords" "with length" charlen_cmp
2 | "create passwords" /with a character in the first \d+ characters/
charset_crit
3 | "create passwords" "with a character" charset_crit
4 | "create passwords" /with \d+ or more characters/ charset_crit
5 | "create passwords" “with all characters" charset_crit
6 | "create passwords" "with an internal character" charset_crit
7 | "create passwords" "with a first or last character" charset_crit
8 | "create passwords" "with a substring" stringset_crit
9 | "create passwords" stringset_crit
These nine different kinds of password creation requirement basically fall into one of three classes: length (line 1), character set (lines 2–7), and string set (lines 8–9). Each class is considered separately.
これら 9 種類のパスワード作成要件は、基本的に、長さ(1 行目)、文字集合(2〜7 行目)、文字列集合(8〜9 行目)の 3 つの分類のいずれかに該当します。各分類は個別に検討します。
3.4.1 Rules on password length
3.4.1 パスワードの長さに関する規則
Formal statements about password length include the phrase “create passwords with length” followed by a character length comparison (charlen_cmp) defined with:
パスワードの長さに関する形式的な記述には、「create passwords with length」という句に続けて、次で定義される文字数の比較(charlen_cmp)が含まれます。
1 charlen_cmp: "greater than or equal to" char_length
The only comparison is an inequality, requiring a character length (char_length) defined:
唯一の比較は不等式であり、次のように定義される文字数(char_length)を要求します。
1 char_length: /\d+\s+characters/
Any number followed by spaces followed by the word “characters” is a valid length. Comparisons are expressed with inequalities of the single form “greater than or equal to” because all other forms of inequality and equality can be derived from it. This restriction prevents two different formal statements from expressing equivalent expectations about user behavior. For instance, the informal statement “Passwords must be between 8 and 20 characters” can only be translated as:
任意の数、その後に空白、その後に「characters」という語が続くものは、有効な長さです。比較は、「greater than or equal to」という単一の形式の不等式で表現されます。他のすべての形式の不等式と等式は、これから導くことができるためです。この制約により、2 つの異なる形式的な記述が、ユーザーの行動に対する同等の期待を表現することを防ぎます。たとえば、非形式的な記述「Passwords must be between 8 and 20 characters」は、次のようにしか翻訳できません。
6a: Users must create passwords with length greater than or equal to 8 characters.
6a: ユーザーは、長さが 8 文字以上のパスワードを作成しなければなりません。
6b: Users must not create passwords with length greater than or equal to 21 characters.
6b: ユーザーは、長さが 21 文字以上のパスワードを作成してはなりません。
Note that one informal statement may need to be translated as multiple formal statements. These different formal statements are denoted by assigning each one a different letter in the rule index (i.e., 6a and 6b).
1 つの非形式的な記述が、複数の形式的な記述に翻訳される必要がある場合があることに注意してください。これらの異なる形式的な記述は、規則インデックスにそれぞれ異なる英字を割り当てることで区別されます(すなわち、6a と 6b)。
3.4.2 Rules on password character sets
3.4.2 パスワードの文字集合に関する規則
Statements about password character sets regulate which characters are allowed (or recommended) at which positions within a password. The six different character set choices (lines 2–7 in the create_stmt definition) lay out six different sets of positions that are regulated. For instance, consider line 2 which regulates /a character in the first \d+ characters/, and again, the pattern \d+ means any number is valid. This choice would be used to capture a statement requiring that certain kinds of characters be in the first 7 positions in a password. Such statements appear in some policies.
パスワードの文字集合に関する記述は、パスワード内のどの位置でどの文字が許可される(または推奨される)かを定めます。create_stmt の定義の 2〜7 行目にある 6 種類の文字集合の選択肢は、規定対象となる位置の集合を 6 種類示しています。たとえば、2 行目は最初の \d+ 文字内の 1 文字を規定します。ここでも、パターン \d+ は任意の数が有効であることを意味します。この選択肢は、パスワードの最初の 7 つの位置に特定の種類の文字を含めることを要求する記述を表すために用いられます。このような記述は、一部のポリシーに現れます。
All six choices of creation statement which regulate character sets include a character set criteria (charset_crit) defined as follows:
文字集合を規制する作成記述の 6 つの選択肢はすべて、次のように定義される文字集合基準(charset_crit)を含みます。
1 charset_crit: "in the set of" charset_name
The only criteria concerns membership in a character set (charset_name), defined as:
唯一の基準は、次で定義される文字集合(charset_name)への所属に関するものです。
1 charset_name: basic_charset(s /,/)
All character sets that were examined were combinations of one or more basic types of character set (basic_charset), which are specified as a comma separated list. These basic character sets are:
調べたすべての文字集合は、カンマ区切りのリストとして指定される、1 つ以上の基本的な種類の文字集合(basic_charset)の組み合わせでした。これらの基本的な文字集合は次のとおりです。
1 basic_charset: "upper-case letters"
2 | "lower-case letters"
3 | "letters (unspec)"
4 | "numbers"
5 | /these special characters: .+ /
6 | "special characters (unspec)"
7 | "punctuation"
8 | "control or non-printable characters (unspec)"
9 | "whitespace"
10 | "all other characters (unspec)"
11 | "those not used in the previous password"
12 | "those used in the previous password"
The characters contained in each basic character sets are often evident. However, in some cases, where the actual set of characters is ambiguous the “(unspec)” tag is included in the name. The tag makes the underspecified nature of the character set explicit. Statements involving special characters are often underspecified, as in “special characters (e.g., , $, %).” Except for these examples, the characters in the set are not specified. In those cases where a full set of special characters is provided, the set can be captured using line 5 of the basic_charset rule. Note that the list of special characters must be separated on both sides by whitespace. For instance, the informal statement “Passwords must have one or more letters (upper or lower case), digits (which can’t be in the first or last position), and the following special characters: !@#$%^&*()” would be translated as
各基本文字集合に含まれる文字は、多くの場合、明らかです。しかし、実際の文字集合が曖昧な場合には、名前に「(unspec)」タグを含めます。このタグは、文字集合が十分に指定されていないことを明示します。特殊文字を含む記述は、「特殊文字(例:, $, %)」のように、多くの場合、十分に指定されていません。これらの例を除き、集合内の文字は指定されません。特殊文字の完全な集合が示されている場合には、basic_charset 規則の 5 行目を用いて、その集合を捉えることができます。特殊文字のリストは、両側を空白で区切らなければならないことに注意してください。たとえば、「パスワードには 1 つ以上の英字(大文字または小文字)と、先頭または末尾に置いてはならない数字、さらに次の特殊文字を含めなければなりません: !@#$%^&*()」という非形式的な記述は、次のように翻訳されます。
7a: Users must create passwords with a character in the set of upper-case letters, lower-case letters.
7a: ユーザーは、大文字の英字および小文字の英字の集合に属する文字を含むパスワードを作成しなければなりません。
7b: Users must create passwords with an internal character in the set of numbers.
7b: ユーザーは、数字の集合に属する内部文字を含むパスワードを作成しなければなりません。
7c: Users must create passwords with a character in the set of these special characters: !@#$%ˆ&*().
7c: ユーザーは、次の特殊文字の集合に属する文字を含むパスワードを作成しなければなりません: !@#$%ˆ&*().
Note that, by convention, when a character set includes multiple basic character sets separated by a comma, they are ordered as listed above (e.g., “upper-case letters” comes before “lower-case letters”).
慣例として、文字集合にカンマで区切られた複数の基本的な文字集合が含まれる場合は、上に挙げた順序で並べることに注意してください(たとえば、「upper-case letters」は「lower-case letters」の前に来ます)。
Regarding translations involving special characters, the terms “special character,” “symbol,” and “punctuation” are considered to be equivalent, except when punctuation is explicitly differentiated from other kinds of non-alphanumeric characters. In such cases, and only in such cases, is the punctuation character set used. For instance a requirement for “numbers, punctuation, or all other characters” would be translated as “numbers, punctuation, all other characters (unspec).”
特殊文字を含む翻訳に関しては、「special character」、「symbol」、「punctuation」という用語は、句読点が他の種類の英数字以外の文字と明示的に区別されている場合を除き、同等とみなされます。そのような場合に限り、punctuation の文字集合を用います。たとえば、「numbers, punctuation, or all other characters」という要件は、「numbers, punctuation, all other characters (unspec)」と翻訳されます。
3.4.3 Rules on password string sets
3.4.3 パスワードの文字列集合に関する規則
Some policies regulate not just characters in the password but whole sequences of characters (or strings). As in line 8 of the create_stmt rule, these statements can involve any substring of the whole password or, as in line 9, they can involve only the whole password. Both kinds of statements about sets of strings require a string set criteria (stringset_crit), defined as
一部のポリシーは、パスワード内の文字だけでなく、文字の並び全体(または文字列)も規制します。create_stmt 規則の 8 行目のように、これらの記述はパスワード全体の任意の部分文字列を対象とする場合があり、9 行目のように、パスワード全体のみを対象とする場合もあります。文字列の集合に関するどちらの種類の記述にも、次のように定義される文字列集合基準(stringset_crit)が必要です。
1 stringset_crit: "in the set of" stringset_name
2 | "equal to" string_name
Two kinds of criteria were found in the password policy review, equality and set membership. The equality choice requires a string name (string_name):
パスワードポリシーの調査では、等値判定と集合への所属という 2 種類の基準が見つかりました。等値判定の選択肢は、文字列名(string_name)を必要とします。
1 string_name: "the user ID"
2 | "their name"
Only two strings have been regulated, the user ID and the user’s name. For instance, the informal policy statement, “Do not include your user ID in your password” would be translated as
規制されている文字列は、ユーザー ID とユーザーの名前の 2 つだけでした。たとえば、非形式的なポリシーの記述「Do not include your user ID in your password」は、次のように翻訳されます。
8: Users must not create passwords with a substring equal to the user ID.
8: ユーザーは、ユーザー ID と等しい部分文字列を含むパスワードを作成してはなりません。
More commonly, set membership regulations are seen. These statements involve a set of strings (stringset_name) defined by the following rule:
より一般的に見られるのは、集合への所属に関する規制です。これらの記述は、次の規則で定義される文字列の集合(stringset_name)を含みます。
1 stringset_name: "addresses or other locations"
2 | "birthdays or other dates"
3 | "dictionary words" "followed by a number"
4 | "dictionary words" "in reverse"
5 | "dictionary words" "with numbers substituted for letters"
6 | "dictionary words" "preceded or followed by a number or special
character (unspec)"
7 | "dictionary words"
8 | "incremental changes to existing passwords (unspec)"
9 | "otherwise forbidden content" "concatenated"
10 | "otherwise forbidden content" "in reverse"
11 | "otherwise forbidden content" "preceded or followed by a number"
12 | "passwords" "to an outside system"
13 | "passwords" "to any other system"
14 | "proper nouns"
15 | "personally identifying information"
16 | "strings with" /a character repeated \d+ or more times
consecutively/
17 | "strings with" /a character repeated \d+ or more times/
18 | "strings with" /a run of \d+ or more consecutive characters in
sequence/
19 | "strings with" /at least \d+ unique characters/
20 | "strings with" /characters from \d+ of these \d+ sets:/
charset_name
21 | "strings with word or number patterns (unspec)"
22 | "their last" /\d+ passwords/
23 | "their last" /\d+ years of passwords/
24 | /those passwords used \d+ times in the last \d+ years/
25 | "vendor default passwords"
Many of the string sets are self-explanatory. Rather than splitting hairs, any prohibition against using names—family, pet, sports teams, or fantasy character—are grouped under the set of proper nouns. Likewise, different policies forbid words from different dictionaries, but the current grammar ignores such nuances and groups all such sets as dictionary words. For instance, the informal statement “Your password cannot be a word in English, Japanese, or Klingon, either forward or in reverse” would be translated as:
文字列集合の多くは、その意味が明らかです。細かな区別をするのではなく、家族、ペット、スポーツチーム、架空のキャラクターなどの名前の使用を禁じるものは、すべて固有名詞の集合にまとめられます。同様に、ポリシーによって禁止される単語は異なる辞書に由来しますが、現在の文法はそのような違いを無視し、これらの集合をすべて辞書の単語としてまとめます。たとえば、「パスワードには、英語、日本語、またはクリンゴン語の単語を、正順または逆順で含めてはなりません」という非形式的な記述は、次のように翻訳されます。
9a: Users must not create passwords in the set of dictionary words.
9a: ユーザーは、辞書の単語の集合に属するパスワードを作成してはなりません。
9b: Users must not create passwords in the set of dictionary words in reverse.
9b: ユーザーは、逆順にした辞書の単語の集合に属するパスワードを作成してはなりません。
These sets were found to satisfactorily capture the sets that appear in the password policies that were examined. In the future, as new policies are examined, this rule might need to be expanded to allow more choices.
これらの集合は、調べたパスワードポリシーに現れる集合を十分に捉えていることが分かりました。今後、新しいポリシーを調べるにつれて、より多くの選択肢を認めるよう、この規則を拡張する必要が生じるかもしれません。
3.5 RULES ON WRITING AND STORING PASSWORDS
3.5 パスワードの記述と保管に関する規則
Statements that regulate where and how users can store their passwords have the following form:
ユーザーがパスワードをどこに、どのように保管できるかを規制する記述は、次の形式です。
1 store_stmt: "store passwords" "in writing" loc_name
2 | "store passwords" "online" loc_name
Two kinds of storage are regulated: written and online. Both cases require a location name (loc_name) to explain the regulation. The location name is defined as follows:
規制される保管は、書き留めたものとオンラインのものの 2 種類です。どちらの場合も、規制を説明するために場所名(loc_name)が必要です。場所名は、次のように定義されます。
1 loc_name: "anywhere"
2 | "in a secure location"
3 | "in an insecure location"
4 | "in automated scripts"
5 | "in clear text or weakly encrypted"
6 | "in clear text in an insecure location"
7 | "on outside systems"
Some policies forbid writing a password anywhere, others forbid writing them in clear text, and still others forbid writing them in clear text and storing that clear text password in an insecure location. Each of these different regulations is expressed as a different location (loc_name).
パスワードをどこにも書くことを禁じるポリシーもあれば、平文で書くことを禁じるポリシーもあり、さらに、平文で書くことと、その平文のパスワードを安全でない場所に保管することを禁じるポリシーもあります。これらの異なる規制は、それぞれ異なる場所(loc_name)として表現されます。
Once again, a translator must decide which of the choices in the formal grammar most closely correspond to the informal statement. For instance, consider the statements “You should never write your password in a place where others might find them,” and “Passwords must be stored at a protection level no lower than that of the information protected by the password.” With the current grammar, these statements would be translated as follows:
ここでも、翻訳者は、形式文法のどの選択肢が非形式的な記述に最も近く対応するかを決定しなければなりません。たとえば、「You should never write your password in a place where others might find them,」と「Passwords must be stored at a protection level no lower than that of the information protected by the password.」という記述を考えてみます。現在の文法では、これらの記述は次のように翻訳されます。
10a: Users must not store passwords in writing in an insecure location.
10a: Users must not store passwords in writing in an insecure location.
10b: Users must not store passwords online in an insecure location.
10b: Users must not store passwords online in an insecure location.
Prohibitions on using “remember password” features of web browsers or other applications fall under the “in automated scripts” choice. The umbrella location “in clear text or weakly encrypted” is meant to include restrictions on “clear text” with no mention of weak encryption.
Web ブラウザーやその他のアプリケーションの「パスワードを記憶する」機能の使用の禁止は、「in automated scripts」の選択肢に該当します。包括的な場所である「in clear text or weakly encrypted」は、弱い暗号化に言及しない「平文」に関する制限を含むことを意図しています。
3.6 RULES ON FAILED AUTHENTICATIONS AND LOCKOUT
3.6 認証失敗とロックアウトに関する規則
Password lockout statements can be viewed from a user’s perspective as an expectation (i.e., a limit on the number of incorrect authentication attempts) and a consequence for failing to meet that expectation (e.g., lockout for 15 minutes). Statements relating to authentication failure are formally coded using the following grammar rule:
パスワードのロックアウトに関する記述は、ユーザーの視点からは、期待(すなわち、誤った認証試行の回数の上限)と、その期待を満たさなかった場合の結果(たとえば、15 分間のロックアウト)として捉えることができます。認証の失敗に関する記述は、次の文法規則を用いて形式的に符号化されます。
1 failauth_stmt: "fail to authenticate" rep_name "to avoid" lockout_name
They require a repetition name (rep name) which is defined as:
この記述は、次のように定義される繰り返し名(rep name)を必要とします。
1 rep_name: /\d+ times in a \d+ \w+ interval/
2 | /\d+ times/
The policies examined specify lockout either as a threshold number of incorrect logins (assumed consecutive) or a threshold number in a given time interval. The consequences of the lockout for the user (lockout_name) are defined as follows:
調べたポリシーでは、ロックアウトを、誤ったログインのしきい値回数(連続していると仮定)、または一定の時間間隔内におけるしきい値回数のいずれかとして規定しています。ユーザーに対するロックアウトの結果(lockout_name)は、次のように定義されます。
1 lockout_name: /administrative unlock or a \d+ \w+ lockout/
2 | "administrative unlock"
3 | "a lockout of unspecified duration"
4 | /a \d+ \w+ lockout/
The user is locked out of the account until either some time period (specified or not) has passed or a system administrator performs some action to unlock the account.
ユーザーは、一定の期間(指定されている場合もされていない場合もある)が経過するか、システム管理者がアカウントのロックを解除する何らかの操作を行うまで、アカウントからロックアウトされます。
For instance, if a policy states, “Lockout occurs after 3 attempts; Users must present their ID at the help desk to have their account unlocked and their password reset,” it would translate it as
たとえば、ポリシーに「3 回試行するとロックアウトされます。アカウントのロック解除とパスワードのリセットを受けるには、ユーザーはヘルプデスクで ID を提示しなければなりません」とある場合、次のように翻訳されます。
11: Users must not fail to authenticate 3 times to avoid administrative unlock.
11: Users must not fail to authenticate 3 times to avoid administrative unlock.
As with all the translation rules, some amount of careful reading and minor approximation may be necessary when rendering the ambiguities and vagaries of informal rules in an explicit and formal language.
すべての翻訳規則と同様に、非形式的な規則の曖昧さや漠然とした部分を、明示的で形式的な言語で表現する際には、ある程度の注意深い読み取りと、わずかな近似が必要になる場合があります。
4 EXAMPLE
4 例
To illustrate the process of translating an informal password policy into the formal policy language, an example is presented next. At each step, an explanation is given regarding the translation rationale.
非形式的なパスワードポリシーを形式的なポリシー言語に翻訳するプロセスを説明するため、次に例を示します。各段階で、翻訳の根拠についての説明を示します。
4.1 IDENTIFYING WITHIN SCOPE STATEMENTS
4.1 範囲内の記述の特定
The following policy was obtained from NASA’s Entry Descent Landing Repository (and modified slightly for the sake of example). It is not one of the policies in the corpus examined, but it has many of the same structures, making it illustrative.
次のポリシーは、NASA の Entry Descent Landing Repository から入手したものです(例示のためにわずかに変更しています)。これは、調べたコーパスにあるポリシーの一つではありませんが、同じ構造を多く持っているため、例として役立ちます。
1 Users shall adhere to the following password protections:
2 -Upon first login, the user account password shall be changed
3 (1) -Users shall not share account passwords
4 (2) -Passwords shall be between 8 and 31 characters in length, where
5 supported by the operating system
6 (3) -Passwords shall contain at least one character each from at
7 least three of the following sets of characters: uppercase letters,
8 lowercase letters, numbers, special characters, where supported by
the
9 operating system.
10 (4) -Passwords shall not be a dictionary word.
11 (5) -Passwords shall not be either wholly or predominantly composed
12 of the following: The user’s ID, owner’s name, birth date, Social
13 Security Number, family member or pet names, names spelled backwards,
14 or other personal information about the user.
15 (6) -Passwords shall not be the name of a vendor, product,
16 contractor, project, division, section or group.
17 (7) -Passwords shall not be repetitive or a keyboard pattern.
18 (8) -Passwords shall not be the name of an automobile, sports team,
19 athlete, or other popular cultural symbols.
20 (9) -Passwords shall not be any of the precluded categories with
21 numbers appended or prepended.
22 (10)-A user account for system access shall have used a minimum of 24
23 passwords before a password can be reused.
24 (11)Note that User account passwords will expire after 90 days. Two
25 notices will be sent via email to the user alerting them to the
26 upcoming expiration. If the password is allowed to expire, you
27 (12)must contact the EDLR Curator to enable the account. Passwords
28 shall not be reused before 2 years have elapsed.
The first step in translating this policy is to identify which statements are within scope, as discussed in Sec. 2. Line 1 does not concern a specific behavior and so is beyond scope. Line 2 concerns initial passwords which are beyond scope per the Infrequent Topics item in Sec. 2. Line 3 is the first specific within scope statement, concerning password communication (though there is some ambiguity as will be discussed below). Since it is within scope, it is marked with a (1) in the left margin. All of the remaining bullets in lines 4–23, are also within scope, so they are marked with an incrementing sequence of numbers in the margin. The first sentence in line 24 is within scope (a change requirement), while the second sentence that begins on that line is not (regulating application behavior). The sentence beginning on line 26 concerns the consequence of an expired password and is beyond scope (again as in Infrequent Topics). The final sentence, beginning on line 27, is within scope (concerning password creation). In total, 12 statements were judged to be within scope and marked. In the example policy above, the within scope statements have been enumerated in red, in the left margin, just as a translator would do when reading the PDF version of the policy.
このポリシーを翻訳する最初のステップは、第 2 節で論じたように、どの記述が範囲内であるかを特定することです。1 行目は特定の行動に関するものではないため、範囲外です。2 行目は初期パスワードに関するものであり、まれなトピックの項目(第 2 節)に従って範囲外です。3 行目は、パスワードの伝達に関する最初の具体的な範囲内の記述です(ただし、後述のように曖昧さがあります)。範囲内であるため、左余白に (1) と記されています。4~23 行目の箇条書きもすべて範囲内であるため、余白に連番が記されています。24 行目の最初の文は範囲内です(変更要件)が、その行で始まる2番目の文は範囲外です(アプリケーションの動作を規制するものです)。26 行目で始まる文は期限切れのパスワードの結果に関するものであり、範囲外です(ここでもまれなトピックの項目に従います)。27 行目で始まる最後の文は範囲内です(パスワードの作成に関するものです)。合計で、12 の記述が範囲内と判断され、印が付けられました。上記のポリシー例では、翻訳者がポリシーのPDF版を読む際に行うのと同じように、範囲内の記述が左余白に赤字で番号付けされています。
4.2 TRANSLATING INTO THE FORMAL LANGUAGE
4.2 形式言語への翻訳
Statement (1) states that users must not share passwords. Note an apparent ambiguity. Some translators might interpret this statement to mean that users should not tell others what their passwords are. Other translators might fairly interpret the statement to mean that users must not use the same password across multiple accounts. With no way to resolve this ambiguity with complete satisfaction, the former interpretation was chosen by the translator, and created the following translation:
記述 (1) は、ユーザーがパスワードを共有してはならないと述べています。一見したところ曖昧さがある点に注意してください。翻訳者によっては、この記述を、ユーザーは自分のパスワードが何であるかを他者に伝えるべきではない、という意味に解釈する場合があります。一方、別の翻訳者が、この記述を、ユーザーは複数のアカウントで同じパスワードを使用してはならない、という意味に妥当に解釈する場合もあります。この曖昧さを完全に納得できる形で解消する方法がないため、翻訳者は前者の解釈を選び、次の翻訳を作成しました。
1: Users must not communicate passwords to anyone.
1: Users must not communicate passwords to anyone.
Statement (2) regulates user behavior when creating passwords. Specifically, the statement sets a minimum and a maximum length. Note that the final clause concerns non-user agents (i.e., the operating system), so it is beyond scope. The resulting translation follows:
記述 (2) は、パスワードを作成する際のユーザーの行動を規制します。具体的には、この記述は最小の長さと最大の長さを定めています。最後の節は、ユーザー以外のエージェント(すなわちオペレーティングシステム)に関するものであるため、適用範囲外であることに注意してください。結果として得られる翻訳は次のとおりです。
2a: Users must create passwords with length greater than or equal to 8 characters.
2a: Users must create passwords with length greater than or equal to 8 characters.
2b: Users must not create passwords with length greater than or equal to 32 characters.
2b: Users must not create passwords with length greater than or equal to 32 characters.
Statement (3) is directly translated into another password creation requirement:
記述 (3) は、別のパスワード作成要件に直接翻訳されます。
3: Users must create passwords in the set of strings with characters from 3 of these 4 sets: upper-case letters, lower-case letters, numbers, special characters (unspec).
3: Users must create passwords in the set of strings with characters from 3 of these 4 sets: upper-case letters, lower-case letters, numbers, special characters (unspec).
Note that the character sets are listed in the same order they appear in the basic_charset definition. Since the set of special characters is not defined, the (unspec) tag is used.
文字集合は、basic_charset の定義に現れるのと同じ順序で列挙されていることに注意してください。特殊文字の集合は定義されていないため、(unspec) タグを使用しています。
Statement (4) is translated as:
記述 (4) は、次のように翻訳されます。
4: Users must not create passwords in the set of dictionary words.
4: Users must not create passwords in the set of dictionary words.
Statement (5) restricts the password content in a variety of ways, at a level of specificity not included in this formal language. For instance, “pet names” is not among the string sets. However, all the restrictions are part of the more general set of personally identifying information, and so the spirit of the statement can be translated as:
記述 (5) は、この形式言語に含まれない具体性の水準で、さまざまな方法でパスワードの内容を制限しています。たとえば、「pet names」は文字列集合に含まれていません。しかし、すべての制限は、より一般的な個人を特定できる情報の集合に含まれるため、記述の趣旨は次のように翻訳できます。
5: Users must not create passwords with a substring in the set of personally identifying information.
5: Users must not create passwords with a substring in the set of personally identifying information.
Note that the specifying phrase “not [...] predominantly composed of” is interpreted to mean “must not create passwords with a substring in the set of.”
「not [...] predominantly composed of」という限定する句は、「must not create passwords with a substring in the set of」という意味に解釈されることに注意してください。
Statement (6) also provides a level of specificity that is not captured in these rules. Since all of the forbidden things are proper nouns, the statement is translated as:
記述 (6) も、これらの規則では捉えられない具体性の水準を提供しています。禁止されているものはすべて固有名詞であるため、記述は次のように翻訳されます。
6: Users must not create passwords in the set of proper nouns.
6: Users must not create passwords in the set of proper nouns.
Statement (7) is directly translated as:
記述 (7) は、次のように直接翻訳されます。
7: Users must not create passwords in the set of strings with word or number patterns (unspec).
7: Users must not create passwords in the set of strings with word or number patterns (unspec).
Because there are many different kinds of patterns and repetitions and the statement does not unambiguously explain what patterns are disallowed, the (unspec) tag is used.
パターンや繰り返しには多くの種類があり、どのパターンが許されないのかを記述が明確に説明していないため、(unspec) タグを使用しています。
Statement (8) provides additional proper names which are forbidden, and so it is translated as a duplicate of statement 6:
記述 (8) は、禁止されている固有名詞を追加で示しているため、記述 6 の重複として翻訳されます。
8: Users must not create passwords in the set of proper nouns.
8: Users must not create passwords in the set of proper nouns.
By convention, duplicate rules may or may not be translated. If the duplicate statement was marked as within scope, the duplicate translation is created because every marked statement must have a corresponding translation. However, during markup, if the translator notices that a statement is repeated more than once, the translator has the option of not marking every instance; a choice that would be influenced by analysis objectives.
慣例として、重複する規則は翻訳される場合も、されない場合もあります。重複する記述が範囲内としてマークされている場合は、マークされたすべての記述には対応する翻訳が必要であるため、重複する翻訳が作成されます。ただし、マーク付けの際に、翻訳者が、ある記述が複数回繰り返されていることに気づいた場合、翻訳者はすべての出現箇所にマークを付けないことを選んでもかまいません。この選択は、分析の目的に左右されます。
Statement (9) can be directly translated as:
記述 (9) は、直接翻訳できます。
9: Users must not create passwords in the set of otherwise forbidden content preceded or followed by a number.
9: Users must not create passwords in the set of otherwise forbidden content preceded or followed by a number.
Statement (10) translates as:
記述 (10) は、次のように翻訳されます。
10: Users must not create passwords in the set of their last 24 passwords.
10: Users must not create passwords in the set of their last 24 passwords.
Statement (11) translates as:
記述 (11) は、次のように翻訳されます。
11: Users must change passwords before 90 days.
11: Users must change passwords before 90 days.
Statement (12) translates as:
記述 (12) は、次のように翻訳されます。
12: Users must not create passwords in the set of their last 2 years of passwords.
12: Users must not create passwords in the set of their last 2 years of passwords.
To understand how these translations conform to the rules of the formal grammar, it is suggested that new translators take each of the translated rules and develop a parse tree. Identify the modal_verb and the pwd_phrase; determine which kind of statement it is (e.g., create_stmt or change_stmt); subdivide those statements into their components (e.g., event_names and stringset_names). By checking that each formal statement complies with the grammar, one might develop an intuition about how to compose such statements.
これらの翻訳が形式文法の規則にどのように適合するかを理解するため、新しい翻訳者は、翻訳された各規則を取り上げて構文木を作成することを勧めます。modal_verb と pwd_phrase を特定し、それがどの種類の記述(たとえば create_stmt か change_stmt)であるかを判断してください。それらの記述を構成要素(たとえば event_names や stringset_names)に分割してください。各形式的な記述が文法に適合していることを確認することで、そのような記述をどのように構成するかについての直感を養えるかもしれません。
5 SUMMARY
5 まとめ
In this document, a formal grammar for password polices specifying the expectations for general users is described, as well as how to translate informal password policies into that formal language. The intent was to describe this translation process in such a way that a new translator might use the description to develop this skill. The first step is to read the policy, and to identify and mark statements which are within scope. The second step is to consider each of the marked statements and compose one or more statements written in the formal policy language that express the same expectation on user behavior. This second step is guided by the syntax of the language (i.e., which formal statements are permissible and which are not), and by a discussion of the considerations when statements are selected from among the set of permissible statements.
この文書では、一般ユーザーに対する期待を規定するパスワードポリシーの形式文法と、非形式的なパスワードポリシーをその形式言語に翻訳する方法を説明しました。その意図は、この翻訳プロセスを、新しい翻訳者がその説明を使ってこの技能を身につけられるような形で記述することでした。最初のステップは、ポリシーを読み、範囲内の記述を特定してマークを付けることです。2 番目のステップは、マークされた各記述を検討し、ユーザーの行動に対する同じ期待を表現する、形式的なポリシー言語で書かれた 1 つ以上の記述を構成することです。この 2 番目のステップは、言語の構文(すなわち、どの形式的な記述が許容され、どれが許容されないか)と、許容される記述の集合から記述を選択する際の考慮事項についての議論によって導かれます。