Attacks and brute force · 攻撃とブルートフォース
How attackers get in
- Beyond malware, attackers use direct attacks. The exam lists several:
- Brute-force attack — trying every possible password until one works.
- Hacking — gaining access without permission, often through a weakness.
アタッカーの侵入経路
- マルウェア以外に、アタッカーは直接攻撃を行います。試験では以下のものが挙げられています:
- ブルートフォース攻撃 — 有効なパスワードが見つかるまであり得るすべての組み合わせを試すこと。
- ハッキング — 許可なくアクセスを得る行為で、多くの場合、脆弱性を突いて行われます。
Attacks on the network
- Data interception — "listening in" on data as it travels, to steal it (a packet sniffer).
- Denial of Service (DoS) — flooding a server with so many requests that it cannot serve real users.
- A DDoS does this from thousands of machines at once, so it is hard to block.
ネットワークに対する攻撃
- データ傍受 — 通信中のデータを「聞き取る」(パケットスナイファーなど)ことで盗む行為。
- サービス妨害 (DoS) — サーバーに過剰なリクエストを送り込み、正常なユーザーへのサービス提供を不可能にする。
- DDoS はこれを多数のマシンから同時に実行するため、ブロックすることが困難です。
Why short passwords fail
- A 4-digit PIN has only 10,000 combinations. A computer tries millions per second.
- Below, brute-force a PIN by trying every value — then notice how a longer password would have far more combinations.
短いパスワードが失敗する理由
- 4桁のPINには10,000通りしか組み合わせがありません。コンピュータは秒間に何百万通り試します。
- 以下でPINの全てのパターンを試してブルートフォース攻撃を行ってください。その後、より長いパスワードであればはるかに多くの組み合わせがあることに気づいてください。
The lesson
- Each extra character multiplies the number of guesses needed.
- That is why length is the single most powerful thing about a password — more on that soon.
Covers: IGCSE 5.3 (brute-force, hacking, interception, DDoS).
教訓
- 追加される文字ごとに、試行回数の倍率が増えます。
- そのため、長さこそがパスワードにおいて最も強力な要素なのです—詳細は後ほど説明します。
対象科目: IGCSE 5.3 (ブルートフォース、ハッキング、傍受、DDoS).
Common mistakes
- A brute-force attack tries every combination — a longer password makes it far slower.
- Rate-limiting and account lockouts help defend against it.
よくあるミス
- ブルートフォース攻撃は全ての組み合わせを試しますが、長いパスワードならはるかに時間がかかります。
- レート制限やアカウントロックアウトは、これに対する防御手段となります。
A 4-digit PIN has only 10000 possibilities — a computer can try them all in an instant. Loop through range(10000) and print the value that equals the secret, then stop. · 4桁のPINには10000通りの組み合わせしかないため、コンピュータは瞬時にすべて試すことができる。range(10000)からprintまでループして、secretと等しい値を探したら停止する。
Click Run to see the output here. · 実行ボタンをクリックして出力を確認してください。
See why length wins. A lowercase-letters password has 26 ** length combinations. Print the number of combinations for length 4, then for length 8 — watch it explode. · length(長さ)が勝つ理由を確認する。小文字のみで構成されるパスワードには26 ** length通りの組み合わせがある。lengthが4の場合の組み合わせ数を出力し、次にlengthが8の場合の組み合わせ数を出力して、爆発的に増える様子を見よう。
Click Run to see the output here. · 実行ボタンをクリックして出力を確認してください。