Linchakin

BackupOperatorToDA - From An Account Member Of The Group Backup Operators To Domain Admin Without RDP Or WinRM On The Domain Controller

 May 01, 2022     No comments   

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:

  1. Using the user RON member of the Backup Operators group on another server than the DC
  2. I dump and export the SAM database on the remote share
  3. Then I read the SAM file with secretdump
  4. 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:

  1. RegConnectRegistryA : Establishes a connection to a predefined registry key on another computer.
  2. RegOpenKeyExA : Opens the specified registry key
  3. RegSaveKeyA : Saves the specified key and all of its subkeys and values to a new file

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 :

Adblock test (Why?)


You may be interested in:
>> Is a Chromebook worth replacing a Windows laptop?
>> Find out in detail the outstanding features of Google Pixel 4a
>> Top 7 best earbuds you should not miss

Related Posts:
>> Recognizing 12 Basic Body Shapes To Choose Better Clothes
>>Ranking the 10 most used smart technology devices
>> Top 5+ Best E-readers: Compact & Convenient Pen
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook

Related Posts:

  • Scrummage - The Ultimate OSINT And Threat Hunting Framework VERSION 3.6 Code efficiency enhancements and bug fixes for plugins, and improved logging. Significant UI/UX enhancements. Organisation specific sett… Read More
  • Intel launches new Apple-bashing ad, and it's a disaster (again)ByDaniel Piper Someone isn't handling the break-up well. Oh, Intel. The computer processor company clearly still hasn't processed (sorry) Apple's decision to pack up and move on (by which we mean start prod… Read More
  • NordVPN 6.39.6.0 Crack With Keygen 2022 DownloadNordVPN 2021 Crack + Keygen {Linux/Win/Mac} Premium NordVPN 6.39.6.0 Crack Latest Version APK is a virtual private network service provider by which… Read More
  • Smersh - A Pentest Oriented Collaborative Tool Used To Track The Progress Of Your Company'S Missions Smersh is a pentest oriented collaborative tool used to track the progress of your company's missions and generate rapport. Preview front (Angular):… Read More
  • Rumoured iPhone 14 feature could make it Apple's most pro smartphone yetByAmelia Bamsey NewsWatch this space.We know what you're thinking – the iPhone 13 hasn't even been out for two weeks, are Creative Bloq really already talking about the iPhone 14? Well, b… Read More
Newer Post Older Post Home

0 Comments:

Post a Comment


Copyright © 2025 Linchakin | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates