mpgn/BackupOperatorToDA
소개
도메인 컨트롤러에서 RDP나 WinRM 없이 Backup Operators 그룹의 구성원 계정에서 Domain Admin으로
시스템 및 인프라측정된 스타 증가
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalFrom Backup Operator To Domain Admin
If you compromise an account member of the group Backup Operators you can become the Domain Admin without RDP or WinRM on the Domain Controller.
All credit from filip_dragovic with his inital POC ! I build this project because I wanted to have a more generic binary with parameters and also being able to export the SAM database on the remote share !
PS C:\Users\mpgn\POC> .\BackupOperatorToDA.exe -h
Backup Operator to Domain Admin (by @mpgn_x64)
This tool exist thanks to @filip_dragovic / https://github.com/Wh04m1001
Mandatory argument:
-t <TARGET> \\computer_name (ex: \\dc01.pouldard.wizard
-o <PATH> Where to store the sam / system / security files (can be UNC path)
Optional arguments:
-u <USER> Username
-p <PASSWORD> Password
-d <DOMAIN> Domain
-h help
Example:
- Using the user RON member of the Backup Operators group on another server than the DC
- I dump and export the SAM database on the remote share
- Then I read the SAM file with secretdump
- An I use the computer account fo the DC to dump the NTDS !

What's the magic ?
The code is really simple, there is only 3 steps:
RegConnectRegistryA: Establishes a connection to a predefined registry key on another computer.RegOpenKeyExA: Opens the specified registry keyRegSaveKeyA: Saves the specified key and all of its subkeys and values to a new file
Solution for Linux:
If you wanto to use impacket to exploit this : Dumping SAM and LSA Secrets - The Hacker Recipes
Blackfield from HackTheBox
This box was designed by aas_s3curity to exploit a user from the group "Backup Operators" to become domain admin and get the root flag. I search a little bit on the available writeups but all of them where using WinRM to exploit the "Backup Operators" group.
With this POC you don't need to have an access with WinRM or RPD :
관련 프로젝트 살펴보기
불러오는 중…