[2024年04月]更新のCompTIA PT0-002日本語公式認定ガイドPDF
試験PT0-002日本語 CompTIA PenTest+ Certification (PT0-002日本語版)
質問 # 153
侵入テスターは、組織のソース コード管理ソリューション内のアクセス キーを明らかにします。この問題に最もよく対処するのは次のうちどれですか? (2つ選んでください。)
- A. ソースコード管理システムでの多要素認証の構成
- B. ソースコード管理システムにロールベースのアクセス制御を実装する
- C. 開発者がソース コード管理システムにパスワードを含めないようにするトリガーを作成する
- D. ソース コード管理システム内のすべての項目に対して秘密管理ソリューションを設定する
- E. ソース コード管理システムにコードをコミットするための安全なソフトウェア開発ライフ サイクル プロセスの開発
- F. ソリューションを活用して、ソース コード管理システムで他の同様のインスタンスをスキャンする
正解:D、E
解説:
Explanation
Access keys are credentials that allow users to authenticate and authorize requests to a source code management (SCM) system, such as GitLab or AWS. Access keys should be kept secret and not exposed in plain text within the source code, as this can compromise the security and integrity of the SCM system and its data.
Some possible options for addressing the issue of access keys within an organization's SCM solution are:
Setting up a secret management solution for all items in the SCM system: This is a tool or service that securely stores, manages, and distributes secrets such as access keys, passwords, tokens, certificates, etc. A secret management solution can help prevent secrets from being exposed in plain text within the source code or configuration files3456.
Developing a secure software development life cycle (SDLC) process for committing code to the SCM system: This is a framework or methodology that defines how software is developed, tested, deployed, and maintained. A secure SDLC process can help ensure that best practices for security are followed throughout the software development process, such as code reviews, static analysis tools, vulnerability scanning tools, etc. A secure SDLC process can help detect and prevent access keys from being included in the source code before they are committed to the SCM system1
質問 # 154
セキュリティ評価を行っているペネトレーション テスターは、重大な脆弱性がサイバー犯罪者によって積極的に悪用されていることを発見しました。テスターが次に行うべきことは次のうちどれですか?
- A. 適切な証拠を収集し、最終レポートに追加します
- B. 主な連絡先に連絡する
- C. 攻撃者を倒してみてください
- D. 法執行機関にすぐに電話する
正解:B
質問 # 155
次の文書のうち、侵入テスターの特定の活動、成果物、およびスケジュールを説明しているものはどれですか?
- A. SOW
- B. MSA
- C. NDA
- D. MOU
正解:A
解説:
Explanation
As mentioned in question 1, the SOW describes the specific activities, deliverables, and schedules for a penetration tester. The other documents are not relevant for this purpose. An NDA is a non-disclosure agreement that protects the confidentiality of the client's information. An MSA is a master service agreement that defines the general terms and conditions of a business relationship. An MOU is a memorandum of understanding that expresses a common intention or agreement between parties.
質問 # 156
侵入テスターは、範囲内にある企業の Web アプリケーション内の脆弱性を探しています。侵入テスターはログイン ページを検出し、次の文字列をフィールドに入力します。
1;SELECT ユーザー名、パスワード FROM ユーザー;
侵入テスターが使用しているインジェクション攻撃は次のうちどれですか?
- A. エラーベース
- B. ブール SQL
- C. ブラインド SQL
- D. 積み重ねられたクエリ
正解:D
解説:
Explanation
The penetration tester is using a type of injection attack called stacked queries, which means appending multiple SQL statements separated by semicolons in a single input field. This can allow the penetration tester to execute arbitrary SQL commands on the database server, such as selecting username and password from users table.
質問 # 157
侵入テスターが会社のオフィスビルに侵入し、その会社がシュレッダーサービスを行っていないことを発見しました。ペネトレーションテスターは次の攻撃のうちどれを試すべきでしょうか?
- A. ゴミ箱ダイビング
- B. 共連れ
- C. ショルダーサーフィン
- D. フィッシング
正解:A
解説:
The penetration tester should try dumpster diving next, which is an attack that involves searching through trash bins or dumpsters for discarded documents or items that may contain sensitive or useful information.
Dumpster diving can reveal information such as passwords, account numbers, credit card numbers, invoices, receipts, memos, contracts, or employee records. The penetration tester can use this information to gain access to systems or networks, impersonate users or employees, or perform social engineering attacks. The other options are not likely attacks that the penetration tester should try next based on the discovery that the company does not have a shredding service. Phishing is an attack that involves sending fraudulent emails that appear to be from legitimate sources to trick users into revealing their credentials or clicking on malicious links or attachments. Shoulder surfing is an attack that involves observing or spying on users while they enter their credentials or perform other tasks on their devices. Tailgating is an attack that involves following authorized personnel into a restricted area without proper authorization or identification.
質問 # 158
侵入テスト レポートをクライアントに送信する最も安全な方法は次のうちどれですか?
- A. オンラインストレージシステム上でペネトレーションテストレポートを送信します。
- B. HTTPS 接続を使用して Web メール経由でペネトレーション テスト レポートを送信します。
- C. 侵入テストレポートをクライアントの公開鍵で暗号化し、電子メールで送信します。
- D. 侵入テスト レポートをパスワードで保護された ZIP ファイルに入れて送信します。
正解:C
解説:
This is the most secure method for sending the penetration test report to the client because it ensures that only the client can decrypt and read the report using their private key. Encrypting the report with the client's public key prevents anyone else from accessing the report, even if they intercept or compromise the email. The other methods are not as secure because they rely on weaker or no encryption, or they expose the report to third-party services that may not be trustworthy or compliant.
質問 # 159
侵入テスターは次のコマンドを実行します。
curl -I -http2 https://www.comptia.org
テスターが受け取る可能性が最も高いのは、次の出力の断片のうちどれですか?
- A. オプション A
- B. オプション B
- C. オプション D
- D. オプション C
正解:A
質問 # 160
侵入テスト中に CentOS コンピューターが悪用されました。最初の偵察中に、侵入テスターはポート 25 が内部の Sendmail サーバーで開いていることを発見しました。ステルス性を保つために、テスターは攻撃マシンから次のコマンドを実行しました。
次のうち、標的のネットワークにさらに侵入するために使用するのに最適なコマンドはどれですか?
- A. ssh 127.0.0.1 5555
- B. ssh 10.10.1.2
- C. nc 10.10.1.2
- D. nc 127.0.0.1 5555
正解:D
質問 # 161
侵入テスターは、公開されている Web サーバーのグループに対して評価を行っており、Web サーバーの 1 つから多数の TCP リセットが返されていることに気付きました。評価中に TCP リセットが発生する可能性が最も高いのは、次のうちどれですか?
- A. Web サーバーはロード バランサーの背後にあります。
- B. Web サーバーのローカル アンチウイルスが接続を拒否しています。
- C. Web サーバーは WAF を使用しています。
- D. Web サーバーが要求をリダイレクトしています。
正解:C
解説:
Explanation
A Web Application Firewall (WAF) is designed to monitor, filter or block traffic to a web application. A WAF will monitor incoming and outgoing traffic from a web application and is often used to protect web servers from attacks such as SQL Injection, Cross-Site Scripting (XSS), and other forms of attacks. If a WAF detects an attack, it will often reset the TCP connection, causing the connection to be terminated. As a result, a penetration tester may see TCP resets when a WAF is present. Therefore, the most likely reason for the TCP resets returning from the web server is that the web server is using a WAF.
質問 # 162
特定のネットワーク インフラストラクチャ製品に対するペイロードを取得するための最適なリソースは次のうちどれですか?
- A. Exploit-DB
- B. メタスプロイト
- C. 初段
- D. 網膜
正解:A
解説:
Explanation
"Exploit Database (ExploitDB) is a repository of exploits for the purpose of public security, and it explains what can be found on the database. The ExploitDB is a very useful resource for identifying possible weaknesses in your network and for staying up to date on current attacks occurring in other networks" Exploit-DB is a website that collects and archives exploits for various software and hardware products, including network infrastructure devices. Exploit-DB allows users to search for exploits by product name, vendor, type, platform, CVE number, or date. Exploit-DB is a useful resource for obtaining payloads against specific network infrastructure products. Metasploit is a framework that contains many exploits and payloads, but it is not a resource for obtaining them. Shodan is a search engine that scans the internet for devices and services, but it does not provide exploits or payloads. Retina is a vulnerability scanner that identifies weaknesses in network devices, but it does not provide exploits or payloads.
質問 # 163
ペネトレーション テスターは Web サーバーにアクセスし、システム ARP テーブル内の多数のデバイスに気づきます。Web サーバーをスキャンすると、テスターはデバイスの多くがユーザー ...ch を修復の推奨事項に含める必要があると判断します。
- A. スクリーンされたサブネット内の Web サーバー
- B. Web サーバーへの適切なアクセスに関するトレーニング プログラム
- C. Web サーバー用のパッチ管理プログラム。
- D. ワークステーションにエンドポイント保護を実装します。
正解:D
解説:
The penetration tester should recommend implementing endpoint protection on the workstations, which is a security measure that involves installing software or hardware on devices that connect to a network to protect them from threats such as malware, ransomware, phishing, or unauthorized access. Endpoint protection can include antivirus software, firewalls, encryption tools, VPNs, or device management systems. Endpoint protection can help prevent user workstations from being compromised by attackers who have gained access to the web server or other devices on the network. The other options are not valid recommendations for remediation based on the discovery that many of the devices are user workstations. Changing passwords that were created before this code update is not relevant to this issue, as it refers to a different scenario involving password hashing and salting. Keeping hashes created by both methods for compatibility is not relevant to this issue, as it refers to a different scenario involving password hashing and salting. Moving the web server in a screened subnet is not relevant to this issue, as it refers to a different scenario involving network segmentation and isolation.
質問 # 164
ペネトレーション テスターが Linux Web サーバーでリバース シェルを開き、root への権限昇格に成功しました。
エンゲージメント中に、テスターは、別のユーザーが root として頻繁にログインして作業タスクを実行していることに気付きました。
このユーザーの作業の中断を避けるために、侵入テスターがテスト中にこのサーバーでルートレベルの永続性を維持するための最良のオプションは次のうちどれですか?
- A. root ユーザーのパスワードを変更し、テスト後に元に戻します。
- B. ID 0 の新しいユーザーを /etc/passwd ファイルに追加します。
- C. リバース シェルを真の TTY 端末にアップグレードします。
- D. Web シェルを Web サイトのルートに追加します。
正解:B
解説:
Explanation
The best option for the penetration tester to maintain root-level persistence on this server during the test is to add a new user with ID 0 to the /etc/passwd file. This will allow the penetration tester to use the same user account as the other user, but with root privileges, meaning that it won't disrupt the other user's work. This can be done by adding a new line with the username and the numerical user ID 0 to the /etc/passwd file. For example, if the username for the other user is "johndoe", the line to add would be "johndoe:x:0:0:John Doe:/root:/bin/bash". After the user is added, the penetration tester can use the "su" command to switch to the new user and gain root privileges.
質問 # 165
ある企業は最近、ソフトウェア開発アーキテクチャを VM からコンテナに移行しました。同社はペネトレーションテスターに、新しいコンテナがDDoS攻撃に対して正しく構成されているかどうかを判断するよう依頼した。
テスターは次のうちどれを最初に実行する必要がありますか?
- A. ハイパーバイザーに対する脆弱性チェックを実行します。
- B. セキュリティ トークンが簡単に入手できるかどうかを判断します。
- C. 開いているポートのコンテナをスキャンします。
- D. 暗号化設定の強度をテストします。
正解:C
解説:
Explanation
The first step that a tester should perform to determine if the new containers are configured correctly against a DDoS attack is to scan the containers for open ports. Open ports are entry points for network communication and can expose services or applications that may be vulnerable to DDoS attacks. Scanning the containers for open ports can help the tester identify which services or applications are running on the containers, and which ones may need to be secured or disabled to prevent DDoS attacks. Scanning the containers for open ports can also help the tester discover any unauthorized or malicious services or applications that may have been installed on the containers by previous attackers or compromised containers. Scanning the containers for open ports can be done by using tools such as Nmap, which can perform network scanning and enumeration by sending packets to hosts and analyzing their responses1. The other options are not the first steps that a tester should perform to determine if the new containers are configured correctly against a DDoS attack. Testing the strength of the encryption settings is not relevant to DDoS attacks, as encryption does not prevent or mitigate DDoS attacks, but rather protects data confidentiality and integrity. Determining if security tokens are easily available is not relevant to DDoS attacks, as security tokens are used for authentication and authorization, not for preventing or mitigating DDoS attacks. Performing a vulnerability check against the hypervisor is not relevant to DDoS attacks, as the hypervisor is not directly exposed to network traffic, but rather manages the virtual machines or containers that run on it.
質問 # 166
クライアントのクラウドおよびオンプレミス環境の評価中に、ペネトレーション テスターは....プレミスの資格情報を使用してクラウド環境内のストレージ オブジェクトの所有権を取得できました。テスターがアクセスできた理由を最もよく説明しているものは次のうちどれですか?
- A. 環境間のキーの管理ミス
- B. プロバイダーでの LaaS 障害
- C. パブリック ドメインにリストされているコンテナ
- D. コンテナのフェデレーション構成が間違っています
正解:D
解説:
The best explanation for why the tester was able to gain access to the storage object within the cloud environment using the on-premises credentials is federation misconfiguration of the container. Federation is a process that allows users to access multiple systems or services with a single set of credentials, by using a trusted third-party service that authenticates and authorizes the users. Federation can enable seamless integration between cloud and on-premises environments, but it can also introduce security risks if not configured properly. Federation misconfiguration of the container can allow an attacker to access the storage object with the on-premises credentials, if the container trusts the on-premises identity provider without verifying its identity or scope. The other options are not valid explanations for why the tester was able to gain access to the storage object within the cloud environment using the on-premises credentials. Key mismanagement between the environments is not relevant to this issue, as it refers to a different scenario involving encryption keys or access keys that are used to protect or access data or resources in cloud or on-premises environments. IaaS failure at the provider is not relevant to this issue, as it refers to a different scenario involving infrastructure as a service (IaaS), which is a cloud service model that provides virtualized computing resources over the internet. Container listed in the public domain is not relevant to this issue, as it refers to a different scenario involving container visibility or accessibility from public networks or users.
質問 # 167
侵入テスターは、特権ユーザーのパスワードが 30 の異なる Linux システムで同じである可能性があるという兆候を発見しました。テスト担当者がパスワードを使用できるシステムの数を特定するのに役立つツールは次のうちどれですか?
- A. カインとアベル
- B. ヒドラ
- C. メデューサ
- D. ジョン・ザ・リッパー
正解:C
解説:
Both Hydra and Medusa can be used for that same purpose:
THC Hydra is a brute-force cracking tool for remote authentication services. It supports many protocols, including telnet, FTP, LDAP, SSH, SNMP, and others.
Medusa is a Parallel, Modular and Speedy method for brute-force which issued for remote authentication. Following are the applications and protocols like modular design, Thread based parallel testing and flexible user input and protocols are AFP, CVS, FTP, HTTP, IMAP etc.
質問 # 168
......
無料PT0-002日本語試験問題集試験点数を伸ばそう:https://jp.fast2test.com/PT0-002J-premium-file.html