[2025年03月18日]PT0-002日本語試験ブレーン問題集で学習注釈と理論 [Q73-Q94]

Share

[2025年03月18日]PT0-002日本語試験ブレーン問題集で学習注釈と理論

合格させるCompTIA PT0-002日本語テスト練習テスト問題試験問題集

質問 # 73
ペネトレーション テスターは共有を列挙し、次の出力を受け取ります。

ペネトレーションテスターが次に列挙すべきものは次のうちどれですか?

  • A. ホーム
  • B. 開発者
  • C. メモ
  • D. print$

正解:B

解説:
The output displayed is typical of what one might see when using a tool like smbclient or enum4linux to list shared directories on a system that uses the SMB (Server Message Block) protocol. Here's a brief overview of the shared resources that have been found:
1.print$ - This share is generally used for printer drivers.
2.home - Could be a user's home directory, usually requires authentication.
3.dev - Suggests a development environment, possibly containing code, scripts, or tools that could be useful for further penetration.
4.notes - This has read and write permissions and could contain information such as user notes or documentation.
While all these shares could potentially provide valuable information, the dev share stands out for several reasons:
*Development Environment: As it seems to be a development share, it may contain scripts, tools, or code repositories which could be less secure than production environments and possibly contain sensitive information such as hardcoded credentials, configuration files, or backup files.
*Standard Names: Shares like print$ and home are common and are likely to be properly secured or to contain less sensitive information.
*Writable Share: The notes share is also interesting because it has read and write permissions, which could be exploited to upload malicious files or modify existing ones. However, the potential for finding exploitable material or sensitive information might be higher with the dev share.
In penetration testing, the goal is to find the path of least resistance that provides the highest potential for deeper access or sensitive information discovery. The dev share represents a target that could yield such information or further avenues for exploitation, making it the next logical step for enumeration.


質問 # 74
侵入テスターは、ワイヤレス セキュリティを確認するために契約されています。テスターは、ターゲットのエンタープライズ WiFi の構成を模倣する悪意のあるワイヤレス AP を展開しました。侵入テスターは、近くのワイヤレス ステーションを強制的に悪意のある AP に接続させようとしています。テスターが次に取るべきステップはどれですか?

  • A. 動的周波数選択チャネル内でブロードキャストするように悪意のある AP を設定します。
  • B. 2.4GHz と 5GHz のすべてのチャネルでジャミングを実行します。
  • C. 悪意のある AP の構成を変更して、事前共有キーを使用しないようにします。
  • D. 認証解除フレームをステーションに送信します。

正解:D

解説:
https://steemit.com/informatica/@jordiurbina1/tutorial-hacking-wi-fi-wireless-networks-with-wifislax The penetration tester should send deauthentication frames to the stations to force them to disconnect from their current access point and reconnect to another one, which may be the malicious AP deployed by the tester. Deauthentication frames are part of the 802.11 protocol and are used to terminate an existing wireless association between a station and an access point. However, they can also be spoofed by an attacker to disrupt or hijack wireless connections. The other options are not effective or relevant for this purpose. Performing jamming on all 2.4GHz and 5GHz channels would interfere with all wireless signals in the area, which may cause unwanted attention or legal issues. Setting the malicious AP to broadcast within dynamic frequency selection channels would not help, as these channels are used to avoid interference with radar systems and are not commonly used by wireless stations or access points. Modifying the malicious AP configuration to not use a pre-shared key would not help, as it would make it less likely for wireless stations to connect to it if they are configured to use encryption.


質問 # 75
評価中に、侵入テスターは Responder を使用してパスワード ダイジェストのリストを取得します。侵入テスターが次に使用する可能性が高いツールは次のどれですか。

  • A. ヒドラ
  • B. セルWL
  • C. メデューサ
  • D. ハッシュキャット

正解:D

解説:
When a penetration tester obtains a list of password digests using Responder, the next logical step is to attempt to crack these password hashes to retrieve the plaintext passwords. Hashcat is one of the most widely used tools for this purpose. It is a high-performance password recovery tool that supports a wide range of hashing algorithms and can utilize the power of GPU acceleration to significantly speed up the cracking process.
Hashcat is preferred over tools like Hydra, CeWL, and Medusa in this context because it is specifically designed for cracking password hashes rather than brute-forcing login credentials (Hydra, Medusa) or generating custom wordlists (CeWL).
Reference:
Hashcat official website: Hashcat
Usage examples in various penetration testing reports, including those involving password cracking and hash manipulation.


質問 # 76
Web アプリケーションと対話する Python スクリプトを作成する最も効率的な方法は次のうちどれですか?

  • A. リクエスト用のクラスを作成します。
  • B. リクエスト ライブラリをインポートします。
  • C. リクエスト用の関数を作成します。
  • D. cURL OS コマンドを使用します。

正解:B

解説:
The most efficient way to write a Python script that interacts with web applications is to import the requests library. The requests library is a Python HTTP library that simplifies making HTTP requests to web servers, which is essential for interacting with web applications. It allows you to easily send HTTP/1.1 requests, without the need for manually adding query strings to your URLs, or form-encode your POST data. Options A and B involve creating a class or function for requests, which could be more time-consuming and less efficient than using a well-established library like requests. Option D, using the cURL OS command, is less efficient in a Python script since it involves calling an external command rather than using a native Python library.


質問 # 77
侵入テスターは、エンゲージメントで使用する次のスクリプトを作成しました。

ただし、スクリプトを実行しようとすると、テスターは次のエラーを受け取ります。

エラーの理由は次のうちどれですか?

  • A. sys モジュールがインポートされませんでした。
  • B. argv 変数が定義されていません。
  • C. sys 変数が定義されていません。
  • D. argv モジュールはインポートされませんでした。

正解:A

解説:
Explanation
The sys module is a built-in module in Python that provides access to system-specific parameters and functions, such as command-line arguments, standard input/output, and exit status. The sys module must be imported before it can be used in a script, otherwise an error will occur. The script uses the sys.argv variable, which is a list that contains the command-line arguments passed to the script. However, the script does not import the sys module at the beginning, which causes the error "NameError: name 'sys' is not defined". To fix this error, the script should include the statement "import sys" at the top. The other options are not valid reasons for the error.


質問 # 78
ペネトレーション テスターが、最高経営責任者 (CEO) の社内の企業電子メールにアクセスできるようになりました。次の目的は、ネットワークにアクセスすることです。
次の方法のうち、最もうまくいく可能性が高いのはどれですか?

  • A. メール サーバーの権限を昇格させてルート アクセスを取得しようとします。
  • B. CEO のアカウントからメールを送信し、新しいアカウントを要求します。
  • C. S/MIME に使用する秘密鍵を CEO のアカウントから取得してみてください。
  • D. メール サーバーからドメイン コントローラーに横方向に移動します。

正解:A


質問 # 79
侵入テスターは次のコマンドを実行します。
curl -I -http2 https://www.comptia.org
テスターが受け取る可能性が最も高いのは、次の出力の断片のうちどれですか?

  • A. オプション C
  • B. オプション A
  • C. オプション D
  • D. オプション B

正解:B

解説:
Reference: https://research.securitum.com/http-2-protocol-it-is-faster-but-is-it-also-safer/


質問 # 80
あなたは、Web ブラウザーを介してクライアントの Web サイトをレビューするペネトレーション テスターです。
手順
Web サイトのすべてのコンポーネントをブラウザーで確認して、脆弱性が存在するかどうかを判断します。
証明書、ソース、または Cookie のいずれかから最も高い脆弱性のみを修正します。
いつでもシミュレーションを初期状態に戻したい場合は、[すべてリセット] ボタンをクリックしてください。






正解:

解説:

Explanation
Graphical user interface Description automatically generated


質問 # 81
侵入テスト中に CentOS コンピューターが悪用されました。最初の偵察中に、侵入テスターはポート 25 が内部の Sendmail サーバーで開いていることを発見しました。ステルス性を保つために、テスターは攻撃マシンから次のコマンドを実行しました。

次のうち、標的のネットワークにさらに侵入するために使用するのに最適なコマンドはどれですか?

  • A. ssh 127.0.0.1 5555
  • B. nc 10.10.1.2
  • C. ssh 10.10.1.2
  • D. nc 127.0.0.1 5555

正解:D


質問 # 82
ペネトレーション テスターは SMB ネットワーク トラフィックをキャプチャし、ユーザーがファイル共有サーバーの名前を打ち間違えていることを発見します。これにより、ワークステーションはファイル共有サーバーの名前を解決しようとする要求を送信します。ペネトレーションテスターがこの状況を悪用する最善の方法は次のうちどれですか?

  • A. ワークステーションを侵害する悪意のあるファイルをホストします。
  • B. テスターの IP アドレスを使用してリクエストに応答し、認証資格情報を盗みます。
  • C. トラフィックを実際のファイル サーバーに中継し、通過時にドキュメントを盗みます。
  • D. 偽の IP アドレスを使用してブロードキャストに応答し、実際のファイル サーバーへのアクセスを拒否します。

正解:B

解説:
In the scenario where users are mistyping the name of a fileshare server, leading to broadcast requests, the most effective exploitation strategy would be for the penetration tester to respond to these requests with their own IP address (D) and set up a service to capture authentication credentials. This technique is known as a
"Man-in-the-Middle" (MitM) attack, where the attacker intercepts communication between two parties. In this case, the tester can exploit the misdirected requests to potentially capture sensitive information such as usernames and passwords.


質問 # 83
あるソフトウェア会社は、会社のソフトウェア開発プラクティスのセキュリティを評価するために、セキュリティ コンサルタントを雇いました。コンサルタントは、ソフトウェア バイナリでファジングを実行して偵察を開始することを選択します。次の脆弱性のうち、セキュリティ コンサルタントが特定する可能性が最も高いのはどれですか?

  • A. 文字列に格納された認証情報
  • B. バッファ オーバーフロー
  • C. 弱い認証スキーム
  • D. 最適化されていないリソース管理

正解:B

解説:
fuzzing introduces unexpected inputs into a system and watches to see if the system has any negative reactions to the inputs that indicate security, performance, or quality gaps or issues


質問 # 84
侵入テスターは、SSHD が実行されている Linux サーバーで実行するために活用できる CVE を特定したいと考えています。次のうち、このタスクをサポートするのに最も適しているのはどれですか?

  • A. ターゲットに対して -o、-p22、および -sC オプションを設定して nmap を実行します。
  • B. ターゲットに対して -sA オプションを設定して nmap を実行します。
  • C. ターゲットに対して -sV および -p22 オプションを設定して nmap を実行します。
  • D. ターゲットに対して --script vulners オプションを設定して nmap を実行します。

正解:D

解説:
Running nmap with the --script vulners option set against the target would best support the task of identifying CVEs that can be leveraged to gain execution on a Linux server that has an SSHD running, as it will use an NSE script that checks for vulnerabilities based on version information from various sources, such as CVE databases2. The --script option allows users to specify which NSE scripts to run during an Nmap scan.


質問 # 85
ペネトレーションテスターが 192.168.1.112 の評価を実施しています。次の出力があるとします。

ペネトレーションテスターが実行しているのは次のうちどれですか?

  • A. ブルートフォース
  • B. 資格情報のスタッフィング
  • C. ポートスキャン
  • D. DoS 攻撃

正解:A

解説:
The output shows multiple login attempts with different passwords for the same username "root" on the IP address 192.168.1.112. This is indicative of a brute force attack, where an attacker systematically tries various password combinations to gain unauthorized access. References: The Official CompTIA PenTest+ Study Guide (Exam PT0-002), Chapter 4: Conducting Passive Reconnaissance; The Official CompTIA PenTest+ Student Guide (Exam PT0-002), Lesson 4: Conducting Active Reconnaissance.


質問 # 86
侵入テスターがクライアントの Web サイトを探索しています。テスターは curl コマンドを実行し、以下を取得します。
* 10.2.11.144 (::1) ポート 80 (#0) に接続
> GET /readmine.html HTTP/1.1
> ホスト: 10.2.11.144
> ユーザーエージェント: curl/7.67.0
> 受け入れる: */*
>
* バンドルをマルチユースをサポートしていないとマークする
< HTTP/1.1 200
< 日付: 2021 年 2 月 2 日 (火) 21:46:47 GMT
< サーバー: Apache/2.4.41 (Debian)
< コンテンツの長さ: 317
< コンテントタイプ: text/html; charset=iso-8859-1
<
<!DOCTYPE html>
<html lang="en">
<頭>
<meta name="viewport" content="width=デバイスの幅" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>WordPress › お読みください</title>
<link rel="stylesheet" href="wp-admin/css/install.css?ver=20100228" type="text/css" />
</head>
侵入テスターがこのサイトをさらに探索するために使用するのに最適なツールは次のうちどれですか?

  • A. WPスキャン
  • B. バープ スイート
  • C. OWASP ZAP
  • D. ダーバスター

正解:A

解説:
Explanation
WPScan is a tool that can be used to scan WordPress sites for vulnerabilities, such as outdated plugins, themes, or core files, misconfigured settings, weak passwords, or user enumeration. The curl command reveals that the site is running WordPress and has a readme.html file that may disclose the version number. Therefore, WPScan would be the best tool to use to explore this site further. Burp Suite is a tool that can be used to intercept and modify web requests and responses, but it does not specialize in WordPress scanning. DirBuster is a tool that can be used to brute-force directories and files on web servers, but it does not exploit WordPress vulnerabilities. OWASP ZAP is a tool that can be used to perform web application security testing, but it does not focus on WordPress scanning.


質問 # 87
セキュリティ アナリストは、/16 ネットワーク経由で SMB ポート 445 のスキャンを実行する必要があります。ステルスが問題ではなく、タスクが時間に敏感な場合、次のコマンドのうちどれが最適なオプションですか?

  • A. Nmap -sV --script=smb* 172.21.0.0/16
  • B. Nmap -s 445 -Pn -T5 172.21.0.0/16
  • C. Nmap -p 445 -n -T4 -open 172.21.0.0/16
  • D. Nmap -p 445 -max -sT 172.21.0.0/16

正解:C

解説:
Nmap is a tool that can perform network scanning and enumeration by sending packets to hosts and analyzing their responses. The command Nmap -p 445 -n -T4 -open 172.21.0.0/16 would scan for SMB port 445 over a
/16 network with the following options:
* -p 445 specifies the port number to scan.
* -n disables DNS resolution, which can speed up the scan by avoiding unnecessary queries.
* -T4 sets the timing template to aggressive, which increases the speed of the scan by sending packets faster and waiting less for responses.
* -open only shows hosts that have open ports, which can reduce the output and focus on relevant results.
The other commands are not optimal for scanning SMB port 445 over a /16 network when stealth is not a concern and the task is time sensitive.


質問 # 88
侵入テスターは、内部ネットワークの一部へのアクセスを取得し、別のネットワーク セグメントで悪用しようとしています。Scapy を使用して、テスターは次のコマンドを実行します。

次のうち、侵入テスターが達成しようとしていることを表しているのはどれですか?

  • A. 二重タグ攻撃
  • B. MAC スプーフィング
  • C. DNS キャッシュ ポイズニング
  • D. ARP ポイズニング

正解:A

解説:
https://scapy.readthedocs.io/en/latest/usage.html


質問 # 89
次の評価方法のうち、ICS 環境に害を及ぼす可能性が最も高いのはどれですか?

  • A. アクティブなスキャン
  • B. プロトコル リバース
  • C. パケット分析
  • D. Ping スイープ

正解:A

解説:
Active scanning is the process of sending probes or packets to a target system or network and analyzing the responses to gather information or identify vulnerabilities. Active scanning can be intrusive and disruptive, especially in an ICS environment, where availability and reliability are critical. Active scanning can cause unintended consequences, such as triggering alarms, shutting down devices, or affecting physical processes. Therefore, active scanning is the most likely to cause harm to an ICS environment among the given options. Reference:
* The Official CompTIA PenTest+ Study Guide (Exam PT0-002), Chapter 2: Conducting Passive Reconnaissance, page 72-73.
* The Official CompTIA PenTest+ Student Guide (Exam PT0-002) eBook1, Chapter 2: Conducting Passive Reconnaissance, page 2-20.
* Risk Assessment Standards for ICS Environments2, page 8.


質問 # 90
侵入テスターは最近、企業環境内のコア ネットワーク デバイスのセキュリティのレビューを完了しました。主な調査結果は次のとおりです。
* ネットワーク デバイスへの次の要求が傍受されました:
GET /ログイン HTTP/1.1
ホスト: 10.50.100.16
ユーザーエージェント: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Accept-Language: en-US,en;q=0.5 接続: キープアライブ 認証: 基本 WU9VUilOQU1FOnNlY3JldHBhc3N3b3jk
* ネットワーク管理インターフェイスは、実稼働ネットワークで利用できます。
* Nmap スキャンは以下を返しました:

次のうち、最終レポートの推奨セクションに追加するのに最適なものはどれですか? (2つ選んでください。)

  • A. 強化されたパスワードの複雑さの要件を適用します。
  • B. 管理用の帯域外ネットワークを作成します。
  • C. ネットワーク管理および制御インターフェースを排除します。
  • D. 認証のためのより良い方法を実装します。
  • E. HTTP/301 リダイレクト構成を無効にします。
  • F. SSH デーモンを無効にするかアップグレードします。

正解:B、D

解説:
The key findings indicate that the network device is vulnerable to several attacks, such as sniffing, brute-forcing, or exploiting the SSH daemon. To prevent these attacks, the best recommendations are to create an out-of-band network for management, which means a separate network that is not accessible from the production network, and to implement a better method for authentication, such as SSH keys or certificates.
The other options are not as effective or relevant.


質問 # 91
Nmap スキャンの結果は次のとおりです。

次のうち、このデバイスに関する最良の結論はどれですか?

  • A. このデバイスは、DNSSEC 検証前にパケットから DNS 名を抽出するために使用される方法にバター オーバーフローの脆弱性があるため、リモート コード実行に対して脆弱である可能性があります。
  • B. このデバイスは、TCP/443 経由でリクエストを転送するプロキシ サーバーである可能性が最も高いです。
  • C. このデバイスは、TCP/22 を介したトランザクションがハートビート拡張パケットを処理する方法が原因で、Heartbleed バグに対して脆弱である可能性があり、攻撃者がプロセス メモリから機密情報を取得できるようになります。
  • D. このデバイスは、インバンド管理サービスを備えたゲートウェイである可能性が最も高いです。

正解:D

解説:
The heart bleed bug is an open ssl bug which does not affect SSH Ref:
https://www.sos-berlin.com/en/news-heartbleed-bug-does-not-affect-jobscheduler-or-ssh


質問 # 92
セキュリティ評価中に、ペネトレーション テスターは、1000 から 2000 までの開いているポートをチェックするための単純な TCP ポート スキャナーを実装することを決定しました。次の Python スクリプトのどれがこのタスクを達成しますか?

  • A. for i in range(1000, 2001): s = socket(AF-INET, SOCK_DGRAM) conn = s.connect-ex((host_IP, i)) if (conn == 0): print(f'Port {i} OPEN') s.close ()
  • B. for i in range (1000, 2000): s = socket(SOCK_STREAM, AF_INET) conn = s.connect-ex((host-IP, i)) if (conn == 0): print (f'Port {i} OPEN') s.close()
  • C. for i in range(1000, 2001): s = socket(AF_INET, SOCK_STREAM)
    conn = s.connect_ex((host_IP, i))
    if (conn == 0):
    print(fPort {i} OPEN')
    s.close ()
  • D. for i in range(1001, 2000): s = socket(AF_INET, SOCK_STREAM) conn = s.connect-ex((host_IP, i)) if (conn == 0): print (f'Port {i} OPEN') s.close ()

正解:C

解説:
The correct Python script for implementing a simple TCP port scanner that checks for open ports from 1000 to 2000 is option A. This script uses a for loop to iterate through the range of ports, creates a socket object for each port using the socket.AF_INET address family (indicating IPv4) and socket.SOCK_STREAM socket type (indicating TCP), and attempts to connect to each port. If the connection attempt (connect_ex) returns 0, it indicates the port is open, and the script prints a message stating that the port is open before closing the socket. The other options contain syntax errors, use incorrect socket types, or have incorrect ranges that do not fully cover the specified ports.


質問 # 93
侵入テスターは、エンゲージメントで使用する資格情報を探すために .pcap ファイルを受け取りました。
テスターが .pcap ファイルを開いて読み取るために使用するツールは次のうちどれですか?

  • A. メタスプロイト
  • B. ネットキャット
  • C. ワイヤーシャーク
  • D. Nmap

正解:C


質問 # 94
......

厳密検証されたPT0-002日本語問題集と解答でPT0-002日本語問題集と正解付き:https://www.goshiken.com/CompTIA/PT0-002J-mondaishu.html