Selasa, 30 Mei 2023

Thousand Ways To Backdoor A Windows Domain (Forest)

When the Kerberos elevation of privilege (CVE-2014-6324 / MS14-068) vulnerability has been made public, the remediation paragraph of the following blog post made some waves:
http://blogs.technet.com/b/srd/archive/2014/11/18/additional-information-about-cve-2014-6324.aspx

"The only way a domain compromise can be remediated with a high level of certainty is a complete rebuild of the domain."

Personally, I agree with this, but .... But whether this is the real solution, I'm not sure. And the same applies to compromised computers. When it has been identified that malware was able to run on the computer (e.g. scheduled scan found the malware), there is no easy way to determine with 100% certainty that there is no rootkit on the computer. Thus rebuilding the computer might be a good thing to consider. For paranoids, use new hardware ;)

But rebuilding a single workstation and rebuilding a whole domain is not on the same complexity level. Rebuilding a domain can take weeks or months (or years, which will never happen, as the business will close before that).

There are countless documented methods to backdoor a computer, but I have never seen a post where someone collects all the methods to backdoor a domain. In the following, I will refer to domain admin, but in reality, I mean Domain Admins, Enterprise Admins, and Schema Admins.


Ways to backdoor a domain

So here you go, an incomplete list to backdoor a domain:

  • Create a new domain admin user. Easy to do, easy to detect, easy to remediate
  • Dump password hashes. The attacker can either crack those or just pass-the-hash. Since KB2871997, pass-the-hash might be trickier (https://technet.microsoft.com/library/security/2871997), but not impossible. Easy to do, hard to detect, hard to remediate - just think about service user passwords. And during remediation, consider all passwords compromised, even strong ones.
  • Logon scripts - modify the logon scripts and add something malicious in it. Almost anything detailed in this post can be added :D
  • Use an already available account, and add domain admin privileges to that. Reset its password. Mess with current group memberships - e.g. http://www.exploit-db.com/papers/17167/
  • Backdoor any workstation where domain admins login. While remediating workstations, don't forget to clean the roaming profile. The type of backdoor can use different forms: malware, local admin, password (hidden admin with 500 RID), sticky keys, etc.
  • Backdoor any domain controller server. For advanced attacks, see Skeleton keys 
  • Backdoor files on network shares which are commonly used by domain admins by adding malware to commonly used executables - Backdoor factory
  • Change ownership/permissions on AD partitions - if you have particular details on how to do this specifically, please comment
  • Create a new domain user. Hide admin privileges with SID history. Easy to do, hard to detect, easy to remediate - check Mimikatz experimental for addsid
  • Golden tickets - easy to do, hard to detect, medium remediation
  • Silver tickets - easy to do, hard to detect, medium/hard remediation
  • Backdoor workstations/servers via group policy
    • HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\ CurrentVersion\ RunOnce,
    • scheduled tasks (run task 2 years later),
    • sticky-keys with debug
  • Backdoor patch management tool, see slides here
[Update 2017.01.10]


Other tricks

The following list does not fit in the previous "instant admin" tips, but still, it can make the attackers life easier if their primary foothold has been disabled:

  • Backdoor recent backups - and when the backdoor is needed, destroy the files, so the files will be restored from the backdoored backup
  • Backdoor the Exchange server - get a copy of emails
  • Backdoor workstation/server golden image
  • Change permission of logon scripts to allow modification later
  • Place malicious symlinks to file shares, collect hashes via SMB auth tries on specified IP address, grab password hashes later
  • Backdoor remote admin management e.g. HP iLO - e.g. create new user or steal current password
  • Backdoor files e.g. on shares to use in SMB relay
  • Backdoor source code of in-house-developed software
  • Use any type of sniffed or reused passwords in new attacks, e.g. network admin, firewall admin, VPN admin, AV admin, etc.
  • Change the content of the proxy pac file (change browser configuration if necessary), including special exception(s) for a chosen domain(s)  to use proxy on malicious IP. Redirect the traffic, enforce authentication, grab password hashes, ???, profit.
  • Create high privileged users in applications running with high privileges, e.g. MSSQL, Tomcat, and own the machine, impersonate users, grab their credentials, etc. The typical pentest path made easy.
  • Remove patches from servers, change patch policy not to install those patches.
  • Steal Windows root/intermediate CA keys
  • Weaken AD security by changing group policy (e.g. re-enabling LM-hashes)
Update [2015-09-27]: I found this great presentation from Jakob Heidelberg. It mentions (at least) the following techniques, it is worth to check these:
  • Microsoft Local Administrator Password Solution
  • Enroll virtual smart card certificates for domain admins

Forensics

If you have been chosen to remediate a network where attackers gained domain admin privileges, well, you have a lot of things to look for :)

I can recommend two tools which can help you during your investigation:

Lessons learned

But guess what, not all of these problems are solved by rebuilding the AD. One has to rebuild all the computers from scratch as well. Which seems quite impossible. When someone is creating a new AD, it is impossible not to migrate some configuration/data/files from the old domain. And whenever this happens, there is a risk that the new AD will be backdoored as well.

Ok, we are doomed, but what can we do? I recommend proper log analysis, analyze trends, and detect strange patterns in your network. Better spend money on these, than on the domain rebuild. And when you find something, do a proper incident response. And good luck!

Ps: Thanks to Andrew, EQ, and Tileo for adding new ideas to this post.

Check out the host backdooring post as well! :)

Related posts


Readmore »»

How To Switch From 32-Bit Windows 10 To 64-Bit Windows 10

Microsoft offers Windows 10 as a free upgrade for computers running a genuine copy of Windows 7 or Windows 8.1. Also, similar to previous releases, the operating system is available on different editions and two versions: 32-bit and 64-bit.While upgrading from Windows 10 Home to Windows 10 Pro is not free, what many people are unfamiliar with is that Microsoft won't ask for more money to upgrade from a 32-bit to a 64-bit version.
However, the upgrade path only allows moving from a qualifying version to its equivalent edition on the same architecture. This limit means that if your PC is running a 32-bit version of Windows 8.1, after the upgrade you'll be stuck with the 32-bit version of Windows 10 — even if your computer's processor can handle the 64-bit version. The only solution is to make a clean installation of the operating system and reconfigure all your apps and settings.
iemhacker-how-to-switch-from-32-bit-windows-to 64bit
In this Windows 10 guide, we'll walk you through the steps to verify whether your computer in fact includes support for a 64-bit version and we'll guide you through the upgrade process to Windows 10 (x64).

Make sure Windows 10 64-bit is compatible with your PC

A 64-bit version of Windows can only be installed on computers with capable hardware. As such, the first thing you need to do is to determine whether your computer has a 64-bit processor.
You can easily get this information from the Settings app.
  1. Use the Windows key + I keyboard shortcut to open the Settings app.
  2. Click System.
  3. Click About.
  4. Under System type, you will see two pieces of information: if it says 32-bit operating system, x64-based processor, then it means that your PC is running a 32-bit version of Windows 10 on a 64-bit processor. If it says 32-bit operating system, x86-based processor, then your computer doesn't support Windows 10 (64-bit).

Make Sure Your Processor is 64-bit Capable

First thing's first. Before even thinking of upgrading to 64-bit Windows, you'll need to confirm that the CPU in your computer is 64-bit capable. To do so, head to Settings > System > About. On the right-hand side of the window, look for the "System type" entry.

You'll see one of three things here:

  • 64-bit operating system, x64-based processor. Your CPU does support 64-bit and you already have the 64-bit version of Windows installed.
  • 32-bit operating system, x86-based processor. Your CPU does not support 64-bit and you have the 32-bit version of Windows installed.
  • 32-bit operating system, x64-based processor. Your CPU supports 64-bit, but you have the 32-bit version of Windows installed.
If you see the first entry on your system, you don't really need this article. If you see the second entry, you won't be able to install the 64-bit version of Windows on your system at all. But if you see the last entry on your system—"32-bit operating system, x64-based processor"—then you're in luck. This means you're using a 32-bit version of Windows 10 but your CPU can run a 64-bit version, so if you see it, it's time to move on to the next section.
Make Sure Your PC's Hardware Has 64-bit Drivers Available
Even if your processor is 64-bit compatible, you might want to consider whether your computer's hardware will work properly with a 64-bit version of Windows. 64-bit versions of Windows require 64-bit hardware drivers, and the 32-bit versions you're using on your current Windows 10 system won't work.
Modern hardware should certainly offer 64-bit drivers, but very old hardware may no longer be supported and the manufacturer may have never offered 64-bit drivers. To check for this, you can visit the manufacturer's driver download web pages for your hardware and see if 64-bit drivers are available. You shouldn't necessarily need to download these from the manufacturer's website, though. They are likely included with Windows 10 or automatically will be downloaded from Windows Update. But old hardware—for example, a particularly ancient printer—simply may not offer 64-bit drivers.

Upgrade by Performing a Clean Install

You'll need to perform a clean install to get to the 64-bit version of Windows 10 from the 32-bit one. Unfortunately, there's no direct upgrade path.
Warning: Back up your important files before continuing and also make sure you have what you need to reinstall your programs. This process will wipe your whole hard disk, including Windows, installed programs, and personal files.
First, if you haven't upgraded to Windows 10 yet, you'll need to use the upgrade tool to upgrade. You'll get the 32-bit version of Windows 10 if you were previously using a 32-bit version of Windows 7 or 8.1. But the upgrade process will give your PC a Windows 10 license. After upgrading, be sure to check that your current 32-bit version of Windows 10 is activated under Settings > Update & security > Activation.
Once you're using an activated version of the 32-bit Windows 10, download the Windows 10 media creation tool from Microsoft. If you're using the 32-bit version of Windows 10 at the moment, you'll have to download and run the 32-bit tool.
When you run the tool, select "Create installation media for another PC" and use the tool to create a USB drive or burn a disc with Windows 10. As you click through the wizard, you'll be asked whether you want to create 32-bit or 64-bit installation media. Select the "64-bit (x64)" architecture.
Next, restart your computer (you did back everything up, right?) and boot from the installation media. Install the 64-bit Windows 10, selecting "Custom install" and overwriting your current version of Windows. When you're asked to insert a product key, skip the process and continue. You'll have to skip two of these prompts in total. After you reach the desktop, Windows 10 will automatically check in with Microsoft and activate itself. You'll now be running the 64-bit edition of Windows on your PC.
If you want to go back to the 32-bit version of Windows, you'll need to download the media creation tool—the 64-bit version, if you're running the 64-bit version of Windows 10—and use it to create 32-bit installation media. Boot from that installation media and do another clean install—this time installing the 32-bit version over the 64-bit version.

Final Words :

Finally, you are aware of the way through which you could be able to switch from the 32-bit windows to 64-bit windows really easily. There will be no difference in the functions or the working of the windows yet the only change that you will get is the more advanced architecture that is compatible with numerous high-end apps. If you are thinking to switch your windows to the 64-bit version then make sure you first check for your hardware compatibility. Hopefully, you would have liked the information of this post, please share this post with others if you really liked it. Provide us your valuable views regarding this post through using the comments section below. At last nevertheless thanks for reading this post!

Continue reading


  1. Hacker Tools Linux
  2. Hacking App
  3. Wifi Hacker Tools For Windows
  4. New Hack Tools
  5. Hacker Tools For Pc
  6. Pentest Tools Nmap
  7. Hacking Tools For Games
  8. Hacking Tools And Software
  9. Hacker
  10. Hack Tools Mac
  11. Hack Tools Github
  12. Hack Tools
  13. How To Install Pentest Tools In Ubuntu
  14. Hacker Tools For Ios
  15. Pentest Tools Framework
  16. Hacker Tools
  17. Hacking Tools Pc
  18. Growth Hacker Tools
  19. Hacker Tools 2020
  20. Hacking Tools Hardware
  21. Pentest Tools Bluekeep
  22. Hacking Tools Software
  23. Best Hacking Tools 2019
  24. Install Pentest Tools Ubuntu
  25. Pentest Tools Website Vulnerability
  26. Hacking Tools Github
  27. Hack Tools Online
  28. Pentest Automation Tools
  29. Hacking Tools Usb
  30. Pentest Tools Port Scanner
  31. Hack Tool Apk No Root
  32. Pentest Box Tools Download
  33. Hacking Tools Mac
  34. Hacking Tools Download
  35. Best Hacking Tools 2019
  36. Hack Tools
  37. Hacking Tools For Mac
  38. Tools Used For Hacking
  39. Hack Tools For Mac
  40. Hacker Tool Kit
  41. Nsa Hack Tools
  42. Pentest Tools Website
  43. Pentest Tools For Windows
  44. Hacker Tools Hardware
  45. Pentest Tools Open Source
  46. Hack And Tools
  47. Pentest Tools Find Subdomains
  48. Hacking Tools For Beginners
  49. Hacker Tools For Windows
  50. Hacker Tools
  51. Pentest Tools Apk
  52. Github Hacking Tools
  53. Hack Tools Mac
  54. Hacking Tools 2020
  55. Ethical Hacker Tools
  56. Hacking Tools For Windows
  57. Pentest Box Tools Download
  58. World No 1 Hacker Software
  59. Hacker Hardware Tools
  60. Hacker Hardware Tools
  61. Pentest Tools For Ubuntu
  62. Pentest Tools Open Source
  63. Hacker Hardware Tools
  64. Best Hacking Tools 2020
  65. Hacker Tools For Pc
  66. Hacking Tools Name
  67. Hack Tool Apk
  68. Hacking Apps
  69. Hacking Tools
  70. Hack Tool Apk
  71. Hack App
  72. Pentest Tools Tcp Port Scanner
  73. Pentest Tools Alternative
  74. What Is Hacking Tools
  75. Hacker Tools Free
  76. Bluetooth Hacking Tools Kali
  77. Free Pentest Tools For Windows
  78. Hacking App
  79. Pentest Tools Apk
  80. Nsa Hack Tools Download
  81. Pentest Tools Framework
  82. Github Hacking Tools
  83. Hack Apps
  84. Pentest Tools Linux
  85. Pentest Tools For Ubuntu
  86. Hackrf Tools
  87. Hack Apps
  88. Ethical Hacker Tools
  89. Wifi Hacker Tools For Windows
  90. Nsa Hack Tools Download
  91. Hack Tools For Windows
  92. Pentest Tools Open Source
  93. Hacking Tools Kit
  94. Hacker Tool Kit
  95. Hack Tool Apk No Root
  96. Easy Hack Tools
  97. Tools Used For Hacking
  98. Hacker Security Tools
  99. Ethical Hacker Tools
  100. Hack And Tools
  101. Easy Hack Tools
  102. Hacking Tools Software
  103. Pentest Tools Download
  104. Hack Tools For Games
  105. Hack Apps
  106. Pentest Tools Linux
  107. Best Hacking Tools 2020
  108. Hack Tool Apk
  109. Hacking Tools Pc
  110. Pentest Tools Nmap
  111. Hak5 Tools
  112. Hacking Tools 2020
  113. Nsa Hack Tools Download
  114. Hack And Tools
  115. Pentest Tools Kali Linux
  116. Hack Tools For Windows

Readmore »»

Hackerhubb.blogspot.com

Hackerhubb.blogspot.com

Related links


Readmore »»

Senin, 29 Mei 2023

What Is Cybersecurity And Thier types?Which Skills Required To Become A Top Cybersecurity Expert ?

What is cyber security in hacking?

The term cyber security  refers to the technologies  and processes designed  to  defend computer system, software, networks & user data from unauthorized access, also from threats distributed through the internet by cybercriminals,terrorist groups of hacker.

Main types of cybersecurity are
Critical infrastructure security
Application security
Network Security 
Cloud Security 
Internet of things security.
These are the main types of cybersecurity used by cybersecurity expert to any organisation for safe and protect thier data from hack by a hacker.

Top Skills Required to become Cybersecurity Expert-

Problem Solving Skills
Communication Skill
Technical Strength & Aptitude
Desire to learn
Attention to Detail 
Knowledge of security across various platforms
Knowledge of Hacking
Fundamental Computer Forensic Skill.
These skills are essential for become a cybersecurity expert. 
Cyber cell and IT cell these are the department  in our india which provide cybersecurity and looks into the matters related to cyber crimes to stop the crime because in this digitilization world cyber crime increasing day by day so our government of india also takes the immediate action to prevent the cybercrimes with the help of these departments and also arrest the victim and file a complain against him/her with the help of cyberlaw in our constitution.


More articles
  1. Beginner Hacker Tools
  2. What Is Hacking Tools
  3. Hacking Tools For Games
  4. Hacking Tools For Games
  5. Hacking Tools Software
  6. Pentest Tools Kali Linux
  7. Nsa Hack Tools
  8. World No 1 Hacker Software
  9. What Are Hacking Tools
  10. Pentest Tools Tcp Port Scanner
  11. Hacking Apps
  12. Pentest Tools Framework
  13. Hack Tools For Mac
  14. Hack Tools
  15. Hacking Tools Free Download
  16. Hacking Tools Name
  17. Hacker Tools For Windows
  18. New Hack Tools
  19. Hacker Tools Hardware
  20. Hacker Tools
  21. Top Pentest Tools
  22. How To Hack
  23. Hacker Tools For Windows
  24. New Hacker Tools
  25. Hacking Tools Windows
  26. Pentest Tools Website Vulnerability
  27. Black Hat Hacker Tools
  28. Hacker Tools Hardware
  29. Hacker Security Tools
  30. Hack Tools 2019
  31. Hack Tools For Windows
  32. Hacking Tools Download
  33. Pentest Tools Alternative
  34. Kik Hack Tools
  35. Pentest Recon Tools
  36. Pentest Tools Kali Linux
  37. Hacking App
  38. Hack Tools Pc
  39. Pentest Box Tools Download
  40. Hacking Tools For Kali Linux
  41. How To Install Pentest Tools In Ubuntu
  42. Hacking Tools 2019
  43. Hacker
  44. Hacker Tools Hardware
  45. Hacking Tools Download
  46. Hack Tool Apk
  47. Hacking Tools Windows 10
  48. New Hack Tools
  49. Hack Website Online Tool
  50. Hacking Tools For Windows Free Download
  51. Hacker Tools Online
  52. Hack Tools Mac
  53. Pentest Tools Android
  54. Pentest Tools Download
  55. Hak5 Tools
  56. Hacking Tools
  57. Computer Hacker
  58. How To Install Pentest Tools In Ubuntu
  59. Hack Rom Tools
  60. Pentest Tools Tcp Port Scanner
  61. Usb Pentest Tools
  62. Nsa Hack Tools
  63. Growth Hacker Tools
  64. Hacking Tools For Beginners
  65. Hack App
  66. Hack Tools For Windows
  67. Hacking Tools For Windows 7
  68. New Hacker Tools
  69. Hack Tools Github
  70. Hack Rom Tools
  71. Hack Tools
  72. Hack Tools Online
  73. Pentest Tools Open Source
  74. Hack Apps
  75. Hacker
  76. Pentest Tools For Android
  77. Hacker Tools For Mac
  78. Hacks And Tools
  79. Pentest Automation Tools
  80. Pentest Tools Subdomain
  81. Top Pentest Tools
  82. Pentest Tools Website Vulnerability
  83. Hackers Toolbox
  84. Physical Pentest Tools
  85. Best Hacking Tools 2019
  86. Hacker Tools
  87. Pentest Tools Website
  88. Hacker Tools Windows
  89. Pentest Tools
  90. Hacking Tools 2020
  91. Hack Tools 2019
  92. Hack Tools Mac
  93. Hacking Tools For Mac
  94. Hacking Tools And Software
  95. Pentest Tools For Ubuntu
  96. Hacking Tools Windows
  97. Hacking Tools For Windows Free Download
  98. Hacking Tools Free Download
  99. Pentest Tools Download
  100. Github Hacking Tools
  101. Pentest Tools Online
  102. World No 1 Hacker Software
  103. Top Pentest Tools
  104. Pentest Tools Kali Linux
  105. Tools 4 Hack
  106. Pentest Tools Kali Linux
  107. Pentest Recon Tools
  108. Hacker Tools Mac
  109. Hacking App
  110. Pentest Tools For Windows
  111. Hack Tools For Pc
  112. Hacker Tools Windows
  113. Hacker

Readmore »»