sábado, 27 de maio de 2023

Vsftpd Backdoor - Ekoparty Prectf - Amn3S1A Team

It's a 32bits elf binary of some version of vsftpd, where it have been added a backdoor, they don't specify is an authentication backdoor, a special command or other stuff.

I started looking for something weird on the authentication routines, but I didn't found anything significant in a brief period of time, so I decided to do a bindiff, that was the key for locating the backdoor quickly. I do a quick diff of the strings with the command "strings bin | sort -u" and "vimdiff" and noticed that the backdoored binary has the symbol "execl" which is weird because is a call for executing elfs, don't needed for a ftp service, and weird that the compiled binary doesn't has that symbol.





Looking the xrefs of "execl" on IDA I found that code that is a clear backdoor, it create a socket, bind a port and duplicate the stdin, stdout and stderr to the socket and use the execl:



There are one xrefs to this function, the function that decides when trigger that is that kind of systems equations decision:


The backdoor was not on the authentication, it was a special command to trigger the backdoor, which is obfuscated on that systems equation, it was no needed to use a z3 equation solver because is a simple one and I did it by hand.



The equation:
cmd[0] = 69
cmd[1] = 78
cmd[1] + cmd[2] = 154
cmd[2] + cmd[3] = 202
cmd[3] + cmd[4] = 241
cmd[4] + cmd[5] = 233
cmd[5] + cmd[6] = 217
cmd[6] + cmd[7] = 218
cmd[7] + cmd[8] = 228
cmd[8] + cmd[9] = 212
cmd[9] + cmd[10] = 195
cmd[10] + cmd[11] = 195
cmd[11] + cmd[12] = 201
cmd[12] + cmd[13] = 207
cmd[13] + cmd[14] = 203
cmd[14] + cmd[15] = 215
cmd[15] + cmd[16] = 235
cmd[16] + cmd[17] = 242

The solution:
cmd[0] = 69
cmd[1] = 75
cmd[2] = 79
cmd[3] = 123
cmd[4] = 118
cmd[5] = 115
cmd[6] = 102
cmd[7] = 116
cmd[8] = 112
cmd[9] = 100
cmd[10] = 95
cmd[11] = 100
cmd[12] = 101
cmd[13] = 106
cmd[14] = 97                    
cmd[15] = 118
cmd[16] = 117
cmd[17] = 125


The flag:
EKO{vsftpd_dejavu}

The binary:
https://ctf.ekoparty.org/static/pre-ekoparty/backdoor


Read more
  1. Hack Tools
  2. Hacker Tools Free Download
  3. Hack Rom Tools
  4. Pentest Tools For Mac
  5. Pentest Tools List
  6. Termux Hacking Tools 2019
  7. Hacker Tools Hardware
  8. Pentest Tools Nmap
  9. Hacking Tools For Games
  10. Hacking Tools For Kali Linux
  11. Easy Hack Tools
  12. Computer Hacker
  13. Hacking Tools For Kali Linux
  14. Hacker Tool Kit
  15. Hacker Tools For Ios
  16. Hack Tool Apk
  17. Black Hat Hacker Tools
  18. Best Pentesting Tools 2018
  19. Hack Tools For Mac
  20. Hacking Tools And Software
  21. Ethical Hacker Tools
  22. Pentest Tools List
  23. Pentest Tools Download
  24. World No 1 Hacker Software
  25. Hackers Toolbox
  26. Ethical Hacker Tools
  27. Pentest Tools For Mac
  28. Hacker Tools Linux
  29. Ethical Hacker Tools
  30. Hack Tools Online
  31. Hacker Tools Free Download
  32. Kik Hack Tools
  33. Hack Tools For Games
  34. Hacker Tools Github
  35. Hack Tools Github
  36. New Hacker Tools
  37. Hacker Tools Hardware
  38. Kik Hack Tools
  39. Hacking Tools For Mac
  40. Hacking Tools For Windows Free Download
  41. Pentest Tools Free
  42. Hacker Techniques Tools And Incident Handling
  43. Pentest Tools Bluekeep
  44. Kik Hack Tools
  45. What Are Hacking Tools
  46. Pentest Tools List
  47. Termux Hacking Tools 2019
  48. Hacker Tools For Ios
  49. Hackrf Tools
  50. Hacking Tools Online
  51. Hacker Tools Apk Download
  52. Hack Tools
  53. Pentest Tools Nmap
  54. Hacker Tools Hardware
  55. Hacks And Tools
  56. Hacking Tools For Mac
  57. Hacking Tools Online
  58. New Hack Tools
  59. Hak5 Tools
  60. Pentest Tools Find Subdomains
  61. Hacking Tools And Software
  62. Wifi Hacker Tools For Windows
  63. Pentest Tools Download
  64. Hack App
  65. Pentest Tools Android
  66. Hackers Toolbox
  67. Hacker Search Tools
  68. Hacker Hardware Tools
  69. Ethical Hacker Tools
  70. Hack Tools Online
  71. Hacker Tools Github
  72. World No 1 Hacker Software
  73. Free Pentest Tools For Windows
  74. Hack Tools 2019
  75. How To Hack
  76. Hak5 Tools
  77. Pentest Tools Apk
  78. Usb Pentest Tools
  79. Hack Tools For Pc
  80. Pentest Tools Subdomain
  81. Hacking Tools For Windows 7
  82. Hack Tool Apk
  83. Free Pentest Tools For Windows
  84. Hacking Tools For Games
  85. Hack Tools For Windows
  86. Hacking Tools Pc
  87. Hacking Tools 2019
  88. Usb Pentest Tools
  89. Hacking Tools For Mac
  90. Pentest Tools Online
  91. Hack Tools Github
  92. Hacking Tools Download
  93. Hacking Tools Windows
  94. Pentest Automation Tools
  95. Hacker Tools 2020
  96. Pentest Tools Framework
  97. Hack Tool Apk
  98. Hacker Tools Mac
  99. Pentest Tools Android
  100. Pentest Tools Windows
  101. Hacker Tools List
  102. Pentest Tools Tcp Port Scanner
  103. Pentest Tools Github
  104. Computer Hacker
  105. Pentest Tools For Mac
  106. Hacker Tools Linux
  107. Pentest Tools Find Subdomains
  108. Wifi Hacker Tools For Windows
  109. Pentest Tools Find Subdomains
  110. Hacking Tools For Games
  111. Hacker Security Tools
  112. Pentest Tools
  113. Hacking Tools Online
  114. Hacker Tools Mac
  115. Hacker Techniques Tools And Incident Handling
  116. Pentest Tools Nmap
  117. Hacker Search Tools
  118. Pentest Box Tools Download
  119. Bluetooth Hacking Tools Kali
  120. Hacking Tools Github
  121. Hack Tools
  122. Hacking Tools For Windows
  123. Android Hack Tools Github
  124. Hacker Tools For Pc
  125. Tools Used For Hacking
  126. Hacking Tools Online
  127. Beginner Hacker Tools
  128. Hacks And Tools
  129. Hack Tools For Games
  130. Game Hacking
  131. Usb Pentest Tools
  132. Termux Hacking Tools 2019
  133. Hack Tools For Pc
  134. How To Hack
  135. Hackrf Tools
  136. Hacker Tools 2020
  137. Hackers Toolbox
  138. Hacking Apps
  139. Best Hacking Tools 2020
  140. Hacking Tools For Mac
  141. Hacking Tools For Beginners
  142. Hack Tools Online
  143. Nsa Hack Tools Download
  144. Hacker Techniques Tools And Incident Handling
  145. Hacking Tools For Beginners
  146. Hacker Hardware Tools
  147. Hack Tools Mac
  148. Hacking App
  149. Pentest Tools Open Source
  150. Hacker Tools
  151. Pentest Tools Port Scanner

How Do I Get Started With Bug Bounty ?

How do I get started with bug bounty hunting? How do I improve my skills?



These are some simple steps that every bug bounty hunter can use to get started and improve their skills:

Learn to make it; then break it!
A major chunk of the hacker's mindset consists of wanting to learn more. In order to really exploit issues and discover further potential vulnerabilities, hackers are encouraged to learn to build what they are targeting. By doing this, there is a greater likelihood that hacker will understand the component being targeted and where most issues appear. For example, when people ask me how to take over a sub-domain, I make sure they understand the Domain Name System (DNS) first and let them set up their own website to play around attempting to "claim" that domain.

Read books. Lots of books.
One way to get better is by reading fellow hunters' and hackers' write-ups. Follow /r/netsec and Twitter for fantastic write-ups ranging from a variety of security-related topics that will not only motivate you but help you improve. For a list of good books to read, please refer to "What books should I read?".

Join discussions and ask questions.
As you may be aware, the information security community is full of interesting discussions ranging from breaches to surveillance, and further. The bug bounty community consists of hunters, security analysts, and platform staff helping one and another get better at what they do. There are two very popular bug bounty forums: Bug Bounty Forum and Bug Bounty World.

Participate in open source projects; learn to code.
Go to https://github.com/explore or https://gitlab.com/explore/projects and pick a project to contribute to. By doing so you will improve your general coding and communication skills. On top of that, read https://learnpythonthehardway.org/ and https://linuxjourney.com/.

Help others. If you can teach it, you have mastered it.
Once you discover something new and believe others would benefit from learning about your discovery, publish a write-up about it. Not only will you help others, you will learn to really master the topic because you can actually explain it properly.

Smile when you get feedback and use it to your advantage.
The bug bounty community is full of people wanting to help others so do not be surprised if someone gives you some constructive feedback about your work. Learn from your mistakes and in doing so use it to your advantage. I have a little physical notebook where I keep track of the little things that I learnt during the day and the feedback that people gave me.


Learn to approach a target.
The first step when approaching a target is always going to be reconnaissance — preliminary gathering of information about the target. If the target is a web application, start by browsing around like a normal user and get to know the website's purpose. Then you can start enumerating endpoints such as sub-domains, ports and web paths.

A woodsman was once asked, "What would you do if you had just five minutes to chop down a tree?" He answered, "I would spend the first two and a half minutes sharpening my axe."
As you progress, you will start to notice patterns and find yourself refining your hunting methodology. You will probably also start automating a lot of the repetitive tasks.

More articles
  1. Hacker Tools 2019
  2. Pentest Tools Open Source
  3. Pentest Tools Kali Linux
  4. Hacking Tools For Kali Linux
  5. Hacker Tools
  6. Hack App
  7. Pentest Tools List
  8. Hack Tools Download
  9. Hackrf Tools
  10. Pentest Tools Review
  11. Hacker Tools For Ios
  12. Hacking Tools For Kali Linux
  13. What Is Hacking Tools
  14. Pentest Tools Alternative
  15. Pentest Tools Android
  16. Hack App
  17. Hack Tools 2019
  18. Pentest Tools For Android
  19. Hacker Tools Free Download
  20. Termux Hacking Tools 2019
  21. Hacking Tools
  22. Pentest Tools Url Fuzzer
  23. Hack Tools Online
  24. Hack Tools Mac
  25. Usb Pentest Tools
  26. Hacker Tools Free
  27. What Is Hacking Tools
  28. Hack Tools Mac
  29. Pentest Tools Website Vulnerability
  30. Install Pentest Tools Ubuntu
  31. Hacker Tools For Pc
  32. Termux Hacking Tools 2019
  33. Pentest Tools Find Subdomains
  34. Tools 4 Hack
  35. Pentest Tools Apk
  36. Pentest Tools Android
  37. Wifi Hacker Tools For Windows
  38. Hacking Tools Software
  39. Black Hat Hacker Tools
  40. Hacking Tools Hardware
  41. Hacker Tools For Ios
  42. Hacker Tools Software
  43. Pentest Tools Find Subdomains
  44. Hacking Tools Usb
  45. Hacker Tools List
  46. Hacker Tools Github
  47. Hackers Toolbox
  48. Pentest Tools For Mac
  49. Hacking Tools Mac
  50. Pentest Tools For Ubuntu
  51. Hacking Tools And Software
  52. Hack Tools Online
  53. Hacker Tools Mac
  54. Hacking Tools Github
  55. Ethical Hacker Tools
  56. Hacking Tools 2020
  57. Nsa Hack Tools
  58. Hack Tools Pc
  59. Tools For Hacker
  60. Pentest Tools List
  61. Hack Rom Tools
  62. Hacking Tools Mac
  63. Hacking Tools Github
  64. Hack App
  65. Wifi Hacker Tools For Windows
  66. How To Make Hacking Tools
  67. Hacker Tool Kit
  68. Hacker Tools Apk Download
  69. Nsa Hack Tools Download
  70. Hack Tools Online

sexta-feira, 26 de maio de 2023

WHY WE DO HACKING?

Purpose of Hacking?
. Just for fun
.Show-off
.Steal important information 
.Damaging the system
.Hampering Privacy
.Money Extortion 
.System Security Testing
.To break policy compliance etc

Related word

System Hacking: Password Cracking Techniques And Types Of Passwords


This blog based on two major concepts:
  • Understand password-cracking techniques
  • Understand different types of passwords
  •  

The simplest way to crack the passwords

The first step is to access the system is that you should know how to crack the password of the target system. Passwords are the key element of information require to access the system, and users also selects passwords that are easy to guess such as mostly people has a passwords of their pet's name or room number etc to help them remember it. Because of this human factor, most password guessing is successful if some information is known about the target. Information gathering and reconnaissance can help give away information that will help a hacker guess a user's password.

Once a password is guessed or cracked, it can be the launching point for escalating privileges, executing applications, hiding files, and covering tracks. If guessing a password fails, then passwords may be cracked manually or with automated tools such as a dictionary or brute-force method.

Types of Passwords 

  • Only numbers
  • Only letters
  • Only special characters
  • Letters and numbers
  • Only letters and special characters 
  • Numbers, letters and special characters
A strong password is less susceptible to attack by a hacker. The following rules, proposed by the EC-Council, should be applied when you're creating a password, to protect it against attacks:
  • Must not contain any part of the user's account name
  • Must have a minimum of eight characters
  • Must contain characters from at least three of the following categories:
    • Non alphanumeric symbols ($,:"%@!#)
    • Numbers
    • Uppercase letters
    • Lowercase letters
A hacker may use different types of attacks in order to identify a password and gain further access to a system. The types of password attacks are as follows:

Passive Online

​Eavesdropping on network password exchanges. Passive online attacks
include sniffing, man-in-the-middle, and replay attacks. Moreover, a passive online attack is also known as sniffing the password on a wired or wireless network. A passive attack is not detectable to the end user. The password is captured during the authentication process and can then be compared against a dictionary file or word list. User account passwords are commonly hashed or encrypted when sent on the network to prevent unauthorized access and use. If the password is protected by encryption or hashing, special tools in the hacker's toolkit can be used to break the algorithm.

Another passive online attack is known as man-in-the-middle (MITM). In a MITM attack, the hacker intercepts the authentication request and forwards it to the server. By inserting a sniffer between the client and the server, the hacker is able to sniff both connections and capture passwords in the process.

A replay attack is also a passive online attack; it occurs when the hacker intercepts the password en route to the authentication server and then captures and resend the authentication packets for later authentication. In this manner, the hacker doesn't have to break the password or learn the password through MITM but rather captures the password and reuses the password-authentication packets later to authenticate as the client.

Active Online

Guessing the Administrator password. Active online attacks include auto-
mated password guessing. Moreover, The easiest way to gain administrator-level access to a system is to guess a simple password assuming the administrator used a simple password. Password guessing is an active online attack. It relies on the human factor involved in password creation and only works on weak
passwords.

Assuming that the NetBIOS TCP 139 port is open, the most effective method of breaking into a Windows NT or Windows 2000 system is password guessing. This is done by attempting to connect to an enumerated share ( IPC$ or C$ ) and trying a username and password combination. The most commonly used Administrator account and password combinations are words like Admin, Administrator, Sysadmin, or Password, or a null password.
A hacker may first try to connect to a default Admin$ , C$ , or C:\Windows share. To connect to the hidden C: drive share, for example, type the following command in the Run field (Start ➪ Run):

\\ip_address\c$

Automated programs can quickly generate dictionary files, word lists, or every possible combination of letters, numbers, and special characters and then attempt to log on using those credentials. Most systems prevent this type of attack by setting a maximum number of login attempts on a system before the account is locked.

In the following sections, we'll discuss how hackers can perform automated password guessing more closely, as well as countermeasures to such attacks.

Performing Automated Password Guessing

To speed up the guessing of a password, hackers use automated tools. An easy process for automating password guessing is to use the Windows shell commands based on the standard NET USE syntax. To create a simple automated password-guessing script, perform the following steps:
  1. Create a simple username and password file using Windows Notepad. Automated tools such as the Dictionary Generator are available to create this word list. Save the file on the C: drive as credentials.txt.
  2. Pipe this file using the FOR command: C:\> FOR /F "token=1, 2*" %i in (credentials.txt)
  3. Type net use \\targetIP\IPC$ %i /u: %j to use the credentials.txt file to attempt to log on to the target system's hidden share.

Offline Attacks

Offline attacks are performed from a location other than the actual computer where the passwords reside or were used. Offline attacks usually require physical access to the computer and copying the password file from the system onto removable media. The hacker then takes the file to another computer to perform the cracking. Several types of offline password attacks exist.

Types of Attack Characteristics Password Example
Dictionary attack Attempts to use passwords from a list of dictionary words Administrator
Hybrid attack Substitutes numbers of symbols for password characters Adm1n1strator
Brute-force attack Tries all possible combinations of letters, numbers, and special characters Ms!tr245@F5a

A dictionary attack is the simplest and quickest type of attack. It's used to identify a password that is an actual word, which can be found in a dictionary. Most commonly, the attack uses a dictionary file of possible words, which is hashed using the same algorithm used by the authentication process. Then, the hashed dictionary words are compared with hashed passwords as the user logs on, or with passwords stored in a file on the server. The dictionary attack works only if the password is an actual dictionary word; therefore, this type of attack has some limitations. It can't be used against strong passwords containing numbers or other symbols.

A hybrid attack is the next level of attack a hacker attempts if the password can't be found using a dictionary attack. The hybrid attack starts with a dictionary file and substitutes numbers and symbols for characters in the password. For example, many users add the number 1 to the end of their password to meet strong password requirements. A hybrid attack is designed to find those types of anomalies in passwords.

The most time-consuming type of attack is a brute-force attack, which tries every possible combination of uppercase and lowercase letters, numbers, and symbols. A brute-force attack is the slowest of the three types of attacks because of the many possible combinations of characters in the password. However, brute force is effective; given enough time and processing power, all passwords can eventually be identified.

Related posts


  1. Hacking Tools And Software
  2. Pentest Tools Framework
  3. Pentest Tools For Ubuntu
  4. Hacking Tools Github
  5. Pentest Tools Online
  6. Bluetooth Hacking Tools Kali
  7. Pentest Tools
  8. Growth Hacker Tools
  9. Best Pentesting Tools 2018
  10. Hacker Tools Apk Download
  11. Kik Hack Tools
  12. Pentest Tools Linux
  13. Hacking Tools Pc
  14. Hacking App
  15. Pentest Tools For Ubuntu
  16. Hacks And Tools
  17. Nsa Hack Tools
  18. Hacking Tools 2019
  19. Bluetooth Hacking Tools Kali
  20. Pentest Tools List
  21. Hacker Tools List
  22. Nsa Hacker Tools
  23. Pentest Recon Tools
  24. Hacker Tools Software
  25. Hacking Tools For Pc
  26. Pentest Tools Framework
  27. Game Hacking
  28. Hacking Tools 2020
  29. Hack Tools For Ubuntu
  30. Hacker Tools Apk Download
  31. Pentest Tools Tcp Port Scanner
  32. Pentest Tools Bluekeep
  33. Usb Pentest Tools
  34. Nsa Hack Tools Download
  35. Android Hack Tools Github
  36. Hacking Tools For Windows Free Download
  37. Github Hacking Tools
  38. Hacking Tools For Pc
  39. Nsa Hacker Tools
  40. Hack Website Online Tool
  41. Hack Tools Mac
  42. Bluetooth Hacking Tools Kali
  43. Hacking Tools Mac
  44. New Hack Tools
  45. Pentest Tools Nmap
  46. Hacker Tools Free Download
  47. New Hack Tools
  48. Hacker Tools Mac
  49. World No 1 Hacker Software
  50. Tools Used For Hacking
  51. Nsa Hack Tools Download
  52. Hack Tools For Pc
  53. Github Hacking Tools
  54. Tools For Hacker
  55. Hacking Tools
  56. Hacking Tools For Games
  57. Hack Tool Apk
  58. What Are Hacking Tools
  59. Hak5 Tools
  60. Hacking Tools Kit
  61. Pentest Tools List
  62. Hacking Tools 2020
  63. Hack Tools For Ubuntu
  64. Hack Tools For Games
  65. Hacking Tools Software
  66. Pentest Tools Download
  67. Hack Website Online Tool
  68. Wifi Hacker Tools For Windows
  69. Pentest Tools List
  70. Pentest Recon Tools
  71. Easy Hack Tools
  72. Hacker Tools 2019
  73. Pentest Tools Github
  74. Github Hacking Tools
  75. Pentest Tools Download
  76. Nsa Hack Tools
  77. Termux Hacking Tools 2019
  78. Pentest Tools Download
  79. Hacker Search Tools
  80. Pentest Tools Nmap
  81. Hacker Tools Free
  82. Pentest Recon Tools
  83. Hacker Tools For Pc
  84. Hacking Tools Hardware
  85. Pentest Tools List
  86. Hack Tools Online
  87. Hacker Tools 2019
  88. Hackrf Tools
  89. Hacking Tools Online
  90. Easy Hack Tools
  91. Pentest Tools Review
  92. Hacking App
  93. Hacker Tools Linux
  94. Hacker Tools Apk Download
  95. Hack Website Online Tool
  96. Nsa Hack Tools Download
  97. Hacker
  98. What Is Hacking Tools
  99. Hacking Tools 2019
  100. Hacker Tools
  101. Tools 4 Hack

quinta-feira, 25 de maio de 2023

OWASP Announcement

🕬  OWASP Announcement:


The OWASP Foundation has been chosen to be 1 of 50 Open Source Organizations to participate in the inaugural year of the Google Season of Docs program.

The goal of Season of Docs is to provide a framework for technical writers and open source projects to work together towards the common goal of improving an open source project's documentation. For technical writers who are new to open source, the program provides an opportunity to gain experience in contributing to open source projects. For technical writers who're already working in open source, the program provides a potentially new way of working together. Season of Docs also gives open source projects an opportunity to engage more of the technical writing community.

We would like to thank the OWASP members that donate their time and knowledge as administrators and mentors. It would not be possible if not for these individuals:
Spyros, Fabio, and Konstantinos 




Related articles