<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Forensic%3A_nmap_mysql-brute.nse_attack_%28en%29</id>
	<title>Forensic: nmap mysql-brute.nse attack (en) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Forensic%3A_nmap_mysql-brute.nse_attack_%28en%29"/>
	<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Forensic:_nmap_mysql-brute.nse_attack_(en)&amp;action=history"/>
	<updated>2026-05-05T03:43:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.4</generator>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=Forensic:_nmap_mysql-brute.nse_attack_(en)&amp;diff=71303&amp;oldid=prev</id>
		<title>Onnowpurbo: /* Understanding mysql-brute.nse Attacks */</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Forensic:_nmap_mysql-brute.nse_attack_(en)&amp;diff=71303&amp;oldid=prev"/>
		<updated>2024-12-04T12:29:01Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Understanding mysql-brute.nse Attacks&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:29, 4 December 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot; &gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 17:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Example Nmap Commands:'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;'''Example Nmap Commands:'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; wget https://svn.nmap.org/nmap/scripts/mysql-brute.nse&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  nmap -sC -sV --script mysql-brute.nse -p 3306 &amp;lt;target_ip&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  nmap -sC -sV --script mysql-brute.nse -p 3306 &amp;lt;target_ip&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  nmap --script=mysql-brute &amp;lt;target&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  nmap --script=mysql-brute &amp;lt;target&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Nmap &lt;/del&gt;-sT -p3306 --script mysql-brute.nse --script-args userdb=/root/user.txt --script-trace 192.168.0.100&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;nmap &lt;/ins&gt;-sT -p3306 --script mysql-brute.nse --script-args userdb=/root/user.txt --script-trace 192.168.0.100&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Nmap &lt;/del&gt;-sT -p3306 --script mysql-brute.nse --script-args userdb=/root/user.txt,passdb=/root/pass.txt --script-trace 192.168.0.100&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;nmap &lt;/ins&gt;-sT -p3306 --script mysql-brute.nse --script-args userdb=/root/user.txt,passdb=/root/pass.txt --script-trace 192.168.0.100&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* `-sC`: Performs default scanning.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* `-sC`: Performs default scanning.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
	<entry>
		<id>https://onnocenter.or.id/wiki/index.php?title=Forensic:_nmap_mysql-brute.nse_attack_(en)&amp;diff=70947&amp;oldid=prev</id>
		<title>Onnowpurbo: Created page with &quot;Sure! Here’s the translation to English:  ==Understanding mysql-brute.nse Attacks==  '''What is mysql-brute.nse?'''  * It is an Nmap script specifically designed to perform...&quot;</title>
		<link rel="alternate" type="text/html" href="https://onnocenter.or.id/wiki/index.php?title=Forensic:_nmap_mysql-brute.nse_attack_(en)&amp;diff=70947&amp;oldid=prev"/>
		<updated>2024-10-19T02:47:18Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Sure! Here’s the translation to English:  ==Understanding mysql-brute.nse Attacks==  &amp;#039;&amp;#039;&amp;#039;What is mysql-brute.nse?&amp;#039;&amp;#039;&amp;#039;  * It is an Nmap script specifically designed to perform...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Sure! Here’s the translation to English:&lt;br /&gt;
&lt;br /&gt;
==Understanding mysql-brute.nse Attacks==&lt;br /&gt;
&lt;br /&gt;
'''What is mysql-brute.nse?'''&lt;br /&gt;
&lt;br /&gt;
* It is an Nmap script specifically designed to perform brute-force attacks on MySQL servers.&lt;br /&gt;
* A brute-force attack is a systematic attempt to guess passwords by trying all possible character combinations.&lt;br /&gt;
* In the context of MySQL, the target is typically the root password or other users with access to the database.&lt;br /&gt;
&lt;br /&gt;
'''How Does This Attack Work?'''&lt;br /&gt;
&lt;br /&gt;
# '''Target Identification:''' The attack starts by identifying vulnerable MySQL servers.&lt;br /&gt;
# '''Password List:''' The script then tries various password combinations from a predefined or randomly generated list.&lt;br /&gt;
# '''Authentication:''' Each password combination is tested to authenticate access to the database.&lt;br /&gt;
# '''Success:''' If the correct combination is found, the attacker successfully gains access to the database.&lt;br /&gt;
&lt;br /&gt;
'''Example Nmap Commands:'''&lt;br /&gt;
&lt;br /&gt;
 nmap -sC -sV --script mysql-brute.nse -p 3306 &amp;lt;target_ip&amp;gt;&lt;br /&gt;
 nmap --script=mysql-brute &amp;lt;target&amp;gt;&lt;br /&gt;
 Nmap -sT -p3306 --script mysql-brute.nse --script-args userdb=/root/user.txt --script-trace 192.168.0.100&lt;br /&gt;
 Nmap -sT -p3306 --script mysql-brute.nse --script-args userdb=/root/user.txt,passdb=/root/pass.txt --script-trace 192.168.0.100&lt;br /&gt;
&lt;br /&gt;
* `-sC`: Performs default scanning.&lt;br /&gt;
* `-sV`: Determines service version.&lt;br /&gt;
* `--script mysql-brute.nse`: Runs the mysql-brute.nse script.&lt;br /&gt;
* `-p 3306`: Targets port 3306 (the default MySQL port).&lt;br /&gt;
* `&amp;lt;target_ip&amp;gt;`: Replace with the target IP address.&lt;br /&gt;
&lt;br /&gt;
==Example Attack and Impact==&lt;br /&gt;
&lt;br /&gt;
* '''Scenario:''' An attacker wants to gain access to a company’s database to steal customer data.&lt;br /&gt;
* '''Action:''' The attacker runs the above Nmap command using a list of commonly used passwords.&lt;br /&gt;
* '''Impact:'''&lt;br /&gt;
** '''Data Theft:''' The attacker can access and steal sensitive data such as customer personal information, financial data, or business secrets.&lt;br /&gt;
** '''Data Destruction:''' The attacker can modify, delete, or corrupt data in the database.&lt;br /&gt;
** '''Server Takeover:''' In some cases, the attacker can exploit access to the database to gain access to the entire server.&lt;br /&gt;
&lt;br /&gt;
==Forensics of mysql-brute.nse Attacks==&lt;br /&gt;
&lt;br /&gt;
'''Forensic Objectives:'''&lt;br /&gt;
&lt;br /&gt;
* '''Attack Identification:''' Determine whether the system has been targeted by a MySQL brute-force attack.&lt;br /&gt;
* '''Trace Analysis:''' Collect and analyze digital evidence to identify the attacker and methods used.&lt;br /&gt;
* '''System Recovery:''' Restore the system to a secure state and prevent similar attacks in the future.&lt;br /&gt;
&lt;br /&gt;
'''Forensic Steps:'''&lt;br /&gt;
&lt;br /&gt;
1. '''Collect Evidence:'''&lt;br /&gt;
* '''Server Logs:''' Check MySQL server logs, operating system logs, and firewall logs for suspicious activities, such as repeated failed login attempts.&lt;br /&gt;
* '''Configuration Files:''' Inspect MySQL configuration files for unusual changes.&lt;br /&gt;
* '''Database:''' Create a copy of the database for further analysis.&lt;br /&gt;
2. '''Analyze Evidence:'''&lt;br /&gt;
* '''Failed Login Attempts:''' Identify patterns in failed login attempts.&lt;br /&gt;
* '''Configuration Changes:''' Look for unauthorized changes in configuration files.&lt;br /&gt;
* '''Unusual Activity:''' Look for activities that deviate from normal usage patterns.&lt;br /&gt;
3. '''Identify the Attacker:'''&lt;br /&gt;
* '''IP Address:''' Trace the source IP address of the attack.&lt;br /&gt;
* '''Attack Methods:''' Identify the tools and techniques used by the attacker.&lt;br /&gt;
4. '''Reconstruct the Attack:'''&lt;br /&gt;
* '''Sequence of Events:''' Reconstruct the sequence of events during the attack.&lt;br /&gt;
* '''Motivation:''' Determine the motivation behind the attack.&lt;br /&gt;
&lt;br /&gt;
==Forensic Tools:==&lt;br /&gt;
&lt;br /&gt;
* '''Nmap:''' For scanning vulnerabilities and searching for attack evidence.&lt;br /&gt;
* '''SQLyog:''' To check the database for unusual changes.&lt;br /&gt;
* '''File System Forensic Tools:''' For analyzing system files.&lt;br /&gt;
* '''Log Analysis Tools:''' For analyzing server logs.&lt;br /&gt;
&lt;br /&gt;
==Prevention:==&lt;br /&gt;
&lt;br /&gt;
* '''Strong Passwords:''' Use strong and unique passwords for MySQL accounts.&lt;br /&gt;
* '''Access Restrictions:''' Limit database access to authorized users only.&lt;br /&gt;
* '''Firewall:''' Configure firewalls to block unauthorized traffic to the MySQL port.&lt;br /&gt;
* '''Monitoring:''' Regularly monitor server logs to detect suspicious activities.&lt;br /&gt;
* '''Updates:''' Keep the operating system and MySQL software up to date with the latest security patches.&lt;br /&gt;
&lt;br /&gt;
==Conclusion==&lt;br /&gt;
&lt;br /&gt;
The mysql-brute.nse attack poses a serious threat to MySQL system security. By understanding the attack mechanisms and appropriate forensic measures, you can enhance your ability to detect, respond to, and prevent such attacks.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' This information is general and may need to be adjusted to specific situations. Always consult with information security experts for more precise advice.&lt;br /&gt;
&lt;br /&gt;
==Interesting Links==&lt;br /&gt;
&lt;br /&gt;
* [[Forensic: IT]]&lt;/div&gt;</summary>
		<author><name>Onnowpurbo</name></author>
	</entry>
</feed>