HackTool.Python.Impacket.SVC
HackTool:Python/Impacket!MTB (MICROSOFT)
Windows


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

感染報告の有無 :
はい
概要
プログラムは、他のマルウェアに作成されるか、悪意あるWebサイトからユーザが誤ってダウンロードすることによりコンピュータに侵入します。
プログラムは、ワーム活動の機能を備えていません。
プログラムは、バックドア活動の機能を備えていません。
プログラムは、情報収集する機能を備えていません。
詳細
侵入方法
プログラムは、他のマルウェアに作成されるか、悪意あるWebサイトからユーザが誤ってダウンロードすることによりコンピュータに侵入します。
感染活動
プログラムは、ワーム活動の機能を備えていません。
バックドア活動
プログラムは、バックドア活動の機能を備えていません。
ルートキット機能
プログラムは、ルートキット機能を備えていません。
情報漏えい
プログラムは、情報収集する機能を備えていません。
その他
プログラムは、以下を実行します。
- Operates as a core lateral movement helper library within the open-source Impacket framework, utilized by tools such as psexec and smbrelayx to deploy and manage remote Win32 services over SMB and MSRPC.
- Validates whether the active SMB session is authenticated as a Guest account; if so, aborts execution to prevent access denial.
- Scans enumerated network shares to identify a writable share (prioritizing ADMIN$ or root administrative shares like C$) by attempting to create and remove temporary directory objects.
- Uploads the designated binary payload (exeFile) to the identified writable share via SMB write operations (copy_file).
- Calls hROpenSCManagerW to open the target machine's Service Control Manager with administrative privileges.
- Queries whether a service with the target name already exists via hROpenServiceW; if found, removes it via hRDeleteService to prevent conflicts.
- Creates a new demand-start Win32 service via hRCreateServiceW (dwStartType=SERVICE_DEMAND_START), configuring the service binary path to %systemroot%\
(if ADMIN$ was selected) or \ \ \ . - Starts the registered service using hRStartServiceW, triggering execution of the payload with NT AUTHORITY\SYSTEM privileges.
- Implements an automated uninstall() method that connects to the Service Control Manager, issues hRControlService(SERVICE_CONTROL_STOP) to halt the service process, deletes the service definition via hRDeleteService, and deletes the uploaded binary from the remote share via deleteFile.
- Connects to the MSRPC Server Service (srvsvc) interface using hNetrShareEnum (Level 1) to enumerate all shared network resources on the remote host.
- Binds to the MSRPC Service Control Manager (svcctl) interface over the named pipe \pipe\svcctl.
マルウェアは、以下のパラメータを受け取ります。
- SMBObject {Object} → used to specify an active authenticated SMB or SMB3 connection object
- binary_service_name {String} → used to define the remote executable file name (defaults to a randomized 8-character alphanumeric string appended with '.exe')
- exeFile {String / Binary Stream} → used to designate the local executable binary payload or file-like object to upload and execute on the target host
- serviceName {String} → used to designate the target Windows service name (defaults to a randomized 4-character alphanumeric string)
マルウェアは、脆弱性を利用した感染活動を行いません。
対応方法
手順 1
Windows 7、Windows 8、Windows 8.1、および Windows 10 のユーザは、コンピュータからマルウェアもしくはアドウェア等を完全に削除するために、ウイルス検索の実行前には必ず「システムの復元」を無効にしてください。
手順 2
最新のバージョン(エンジン、パターンファイル)を導入したウイルス対策製品を用い、ウイルス検索を実行してください。「HackTool.Python.Impacket.SVC」と検出したファイルはすべて削除してください。 検出されたファイルが、弊社ウイルス対策製品により既に駆除、隔離またはファイル削除の処理が実行された場合、ウイルスの処理は完了しており、他の削除手順は特にありません。
ご利用はいかがでしたか? アンケートにご協力ください

