Trend Micro Security

HackTool.PS1.ADRecon.A

2021年5月7日
 解析者: Mohammed Malubay   

 別名:

HackTool:PowerShell/ADRecon!MSR(MICROSOFT);

 プラットフォーム:

Windows

 危険度:
 ダメージ度:
 感染力:
 感染確認数:
 情報漏えい:


  • マルウェアタイプ: ハッキングツール
  • 破壊活動の有無: なし
  • 暗号化: なし
  • 感染報告の有無: はい

  概要

感染経路 インターネットからのダウンロード, 他のマルウェアからの作成

プログラムは、他のマルウェアに作成されるか、悪意あるWebサイトからユーザが誤ってダウンロードすることによりコンピュータに侵入します。


  詳細

ファイルサイズ 543,137 bytes
タイプ PS1
メモリ常駐 なし
発見日 2021年3月30日
ペイロード ファイルの作成, 情報収集

侵入方法

プログラムは、他のマルウェアに作成されるか、悪意あるWebサイトからユーザが誤ってダウンロードすることによりコンピュータに侵入します。

インストール

プログラムは、以下のフォルダを追加します。

  • {string used in -GenExcel parameter} → if folder does not exist
  • {string used in -OutputDir parameter} → if folder does not exist
  • {Current Working Location}\ADRecon-Report-{Date in YYMMDDhhmmss} → if -OutputDir parameter was not triggered

作成活動

プログラムは、以下のファイルを作成します。

  • {Current Working Location}\ADRecon-Console-Log.txt → if -Log parameter is enabled
  • {Directory}\CSV-Files\{module name}.csv
  • {Directory}\XML-Files\{module name}.xml
  • {Directory}\JSON-Files\{module name}.json
  • {Directory}\HTML-Files\{module name}.html
  • {Directory}\GPO-Report.html
  • {Directory}\GPO-Report.xml
  • {Directory}\{domain name}-ADRecon-Report.xlsx
    • Where {Directory} can be either:
      • {String used in -OutputDir parameter}
      • {Current Working Location}\ADRecon-Report-{Date in YYMMDDhhmmss}

情報漏えい

プログラムは、以下の情報を収集します。

  • Forest
  • Domain
  • Trusts
  • Sites
  • Subnets
  • Schema History
  • Default and Fine Grained Password Policy (if implemented)
  • Domain Controllers, SMB versions, whether SMB Signing is supported and FSMO roles
  • Users and their attributes
  • Service Principal Names (SPNs)
  • Groups, memberships and changes
  • Organizational Units (OUs)
  • GroupPolicy objects and gPLink details
  • DNS Zones and Records
  • Printers
  • Computers and their attributes
  • PasswordAttributes (Experimental)
  • LAPS passwords (if implemented)
  • BitLocker Recovery Keys (if implemented)
  • ACLs (DACLs and SACLs) for the Domain, OUs, Root Containers, GPO, Users, Computers and Groups objects (not included in the default collection method)
  • GPOReport (requires RSAT)
  • Kerberoast (not included in the default collection method)
  • Domain accounts used for service accounts (requires privileged account and not included in the default collection method)

その他

プログラムは、以下を実行します。

  • Reads the following files if -GenExcel {path} is provided in parameter:
    • {string used in -GenExcel parameter}\CSV-Files\AboutADRecon.csv
    • {string used in -GenExcel parameter}\CSV-Files\Forest.csv
    • {string used in -GenExcel parameter}\CSV-Files\Domain.csv
    • {string used in -GenExcel parameter}\CSV-Files\Subnets.csv
    • {string used in -GenExcel parameter}\CSV-Files\Sites.csv
    • {string used in -GenExcel parameter}\CSV-Files\SchemaHistory.csv
    • {string used in -GenExcel parameter}\CSV-Files\FineGrainedPasswordPolicy.csv
    • {string used in -GenExcel parameter}\CSV-Files\DefaultPasswordPolicy.csv
    • {string used in -GenExcel parameter}\CSV-Files\DomainControllers.csv
    • {string used in -GenExcel parameter}\CSV-Files\GroupChanges.csv
    • {string used in -GenExcel parameter}\CSV-Files\DACLs.csv
    • {string used in -GenExcel parameter}\CSV-Files\SACLs.csv
    • {string used in -GenExcel parameter}\CSV-Files\GPOs.csv
    • {string used in -GenExcel parameter}\CSV-Files\gPLinks.csv
    • {string used in -GenExcel parameter}\CSV-Files\DNSNodes.csv
    • {string used in -GenExcel parameter}\CSV-Files\DNSZones.csv
    • {string used in -GenExcel parameter}\CSV-Files\Printers.csv
    • {string used in -GenExcel parameter}\CSV-Files\BitLockerRecoveryKeys.csv
    • {string used in -GenExcel parameter}\CSV-Files\LAPS.csv
    • {string used in -GenExcel parameter}\CSV-Files\ComputerSPNs.csv
    • {string used in -GenExcel parameter}\CSV-Files\Computers.csv
    • {string used in -GenExcel parameter}\CSV-Files\OUs.csv
    • {string used in -GenExcel parameter}\CSV-Files\Groups.csv
    • {string used in -GenExcel parameter}\CSV-Files\GroupMembers.csv
    • {string used in -GenExcel parameter}\CSV-Files\UserSPNs.csv
    • {string used in -GenExcel parameter}\CSV-Files\Users.csv

マルウェアは、以下のパラメータを受け取ります。

  • -Method → Which method to use; ADWS (default), LDAP
  • -DomainController → Domain Controller IP Address or Domain FQDN.
  • -Credential → Domain Credentials.
  • -GenExcel → Path for ADRecon output folder containing the CSV files to generate the ADRecon-Report.xlsx.
  • -OutputDir → Path for ADRecon output folder to save the files and the ADRecon-Report.xlsx
  • -Collect → Which modules to run; Comma separated; e.g Forest,Domain (Default all except Kerberoast, DomainAccountsusedforServiceLogon)
  • Valid values include: Forest, Domain, Trusts, Sites, Subnets, SchemaHistory, PasswordPolicy, FineGrainedPasswordPolicy, DomainControllers, Users, UserSPNs, PasswordAttributes, Groups, GroupChanges, GroupMembers, OUs, GPOs, gPLinks, DNSZones, DNSRecords, Printers, Computers, ComputerSPNs, LAPS, BitLocker, ACLs, GPOReport, Kerberoast, DomainAccountsusedforServiceLogon.
  • -OutputType → e.g STDOUT,CSV,XML,JSON,HTML,Excel (Default STDOUT with -Collect parameter, else CSV and Excel).
  • Valid values include: STDOUT, CSV, XML, JSON, HTML, Excel, All (excludes STDOUT).
  • -DormantTimeSpan → Timespan for Dormant accounts. (Default 90 days)
  • -PassMaxAge → Maximum machine account password age. (Default 30 days)
  • -PageSize → The PageSize to set for the LDAP searcher object.
  • -Threads → The number of threads to use during processing objects. (Default 10)
  • -Log → Create ADRecon Log using Start-Transcript


  対応方法

対応検索エンジン: 9.800
SSAPI パターンバージョン: 2.407.00
SSAPI パターンリリース日: 2021年5月13日

手順 1

Windows 7、Windows 8、Windows 8.1、および Windows 10 のユーザは、コンピュータからマルウェアもしくはアドウェア等を完全に削除するために、ウイルス検索の実行前には必ず「システムの復元」を無効にしてください。

手順 2

このマルウェアもしくはアドウェア等の実行により、手順中に記載されたすべてのファイル、フォルダおよびレジストリキーや値がコンピュータにインストールされるとは限りません。インストールが不完全である場合の他、オペレーティングシステム(OS)の条件によりインストールがされない場合が考えられます。手順中に記載されたファイル/フォルダ/レジストリ情報が確認されない場合、該当の手順の操作は不要ですので、次の手順に進んでください。

手順 3

以下のファイルを検索し削除します。

[ 詳細 ]
コンポーネントファイルが隠しファイル属性に設定されている場合があります。[詳細設定オプション]をクリックし、[隠しファイルとフォルダの検索]のチェックボックスをオンにし、検索結果に隠しファイルとフォルダが含まれるようにしてください。
  • {Current Working Location}\ADRecon-Console-Log.txt
  • {Directory}\CSV-Files\{module name}.csv
  • {Directory}\XML-Files\{module name}.xml
  • {Directory}\JSON-Files\{module name}.json
  • {Directory}\HTML-Files\{module name}.html
  • {Directory}\GPO-Report.html
  • {Directory}\GPO-Report.xml
  • {Directory}\{domain name}-ADRecon-Report.xlsx
    • Where {Directory} can be either:
      • {String used in -OutputDir parameter}
      • {Current Working Location}\ADRecon-Report-{Date in YYMMDDhhmmss}

手順 4

以下のフォルダを検索し削除します。

[ 詳細 ]
註:このフォルダは、隠しフォルダとして設定されている場合があります。[詳細設定オプション]をクリックし、[隠しファイルとフォルダの検索]のチェックボックスをオンにし、検索結果に隠しファイルとフォルダが含まれるようにしてください。
  • {string used in -GenExcel parameter}
  • {string used in -OutputDir parameter}
  • {Current Working Location}\ADRecon-Report-{Date in YYMMDDhhmmss}

手順 5

最新のバージョン(エンジン、パターンファイル)を導入したウイルス対策製品を用い、ウイルス検索を実行してください。「HackTool.PS1.ADRecon.A」と検出したファイルはすべて削除してください。 検出されたファイルが、弊社ウイルス対策製品により既に駆除、隔離またはファイル削除の処理が実行された場合、ウイルスの処理は完了しており、他の削除手順は特にありません。


ご利用はいかがでしたか? アンケートにご協力ください