
SAM直接操作とRIDハイジャックを介して、標準的なユーザー管理APIとイベントログ記録をバイパスし、ステルス的な永続化のために管理者権限を持つ不可視のWindowsアカウントを作成します。

自分だけが知っているWindowsアカウントを作成するシンプルなプログラムです :)
net userやWindows OSのユーザー管理アプリケーション(例:netapi32::netuseradd)を使わずに不可視のローカルアカウントを作成管理者権限を持つ不可視のマシンアカウントを作成し、その作成を報告する厄介なWindowsイベントロガーを呼び出さずに済みます!
Black Hat USA 2022: Suborner: A Windows Bribery for Invisible Persistenceで公開
@inproceedings{10.1145/3689934.3690839,
author = {Castro, Sebasti\'{a}n R. and C\'{a}rdenas, Alvaro A.},
title = {Ghost in the SAM: Stealthy, Robust, and Privileged Persistence through Invisible Accounts},
year = {2024},
isbn = {9798400712302},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
url = {https://doi.org/10.1145/3689934.3690839},
doi = {10.1145/3689934.3690839},
pages = {59–72},
numpages = {14},
}
git clone https://github.com/r4wd3r/Suborner/最新のリリースをダウンロードしてpwn!
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
88
.d88888b. S U B O R N E R
d88P 88"88b
Y88b.88 The Invisible Account Forger
"Y88888b. by @r4wd3r
88"88b v1.0.1
Y88b 88.88P
"Y88888P" https://r4wsec.com
88
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Description:
A stealthy tool to create invisible accounts on Windows systems.
Parameters:
USERNAME: Username for the new suborner account. Default = <HOSTNAME>$
Syntax: /username:[string]
PASSWORD: Password for the new suborner account. Default = Password.1
Syntax: /password:[string]
RID: RID for the new suborner account. Default = Next RID available
Syntax: /rid:[decimal int]
RIDHIJACK: RID of the account to impersonate. Default = 500 (Administrator)
Syntax: /ridhijack:[decimal int]
TEMPLATE: RID of the account to use as template for the new account creation. Default = 500 (Administrator)
Syntax: /template:[decimal int]
MACHINEACCOUNT: Forge as machine account for extra stealthiness. Default = yes
Syntax: /machineaccount:[yes/no]
DEBUG: Enable debug mode for verbose logging. Default = disabled
Syntax: /debug
この攻撃は、以下の素晴らしい研究がなければ実現しませんでした:
ハック 地球を買収(Suborn)しよう!