<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Dump user's password to try to crack them]]></title><description><![CDATA[<p dir="auto">I would like to dump user's password's hashes to try to run the kind of <a href="https://en.wikipedia.org/wiki/John_the_Ripper" target="_blank" rel="noopener noreferrer nofollow ugc">Johny The Ripper</a> on them.</p>
<p dir="auto">Could you please, advice the easiest way to do that? Ideally - some command line for that purpose?</p>
]]></description><link>https://forum.cloudron.io/topic/9669/dump-user-s-password-to-try-to-crack-them</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Jul 2026 12:20:10 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/9669.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Jul 2023 10:29:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dump user's password to try to crack them on Mon, 06 Jan 2025 12:02:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/potemkin_ai" aria-label="Profile: potemkin_ai">@<bdi>potemkin_ai</bdi></a> said in <a href="/post/99326">Dump user's password to try to crack them</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Thank you! Would you mind helping with selecting proper resulting encryption, please?</p>
<p dir="auto">It'something at that page: <a href="https://hashcat.net/wiki/doku.php?id=example_hashes" target="_blank" rel="noopener noreferrer nofollow ugc">https://hashcat.net/wiki/doku.php?id=example_hashes</a> and I though it shall be 7300, but it isn't...</p>
<p dir="auto">P.S. Yeah, forcing some password complexity would be nice!</p>
</blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> , <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> , (or anyone else, actually) I offload the task from my radars for now, but as soon as you want me to run a brute-force attack of the algorithms you've chosen using modern GPU HW, please, let me know the function from hashcat to run.</p>
<p dir="auto">For my or any other reference, here are the steps to do:</p>
<pre><code class="language-bash">mysql -uroot -ppassword box -e "select username,password,salt from users;" &gt; users.list # note salt field - it's a must
</code></pre>
<p dir="auto">Use <code>hashcat -m $mode $password:$salt</code> then to try if it will be accepted.<br />
$mode to be taken from example hashes table above, better also verify if with <code>hashcat -m $mode --example-hash</code> - the later will show the hash structure expected by hashcat.</p>
<p dir="auto">Once appropriate mode found (hashcat starts checking the hashes) - this could be offloaded to GPU for a much faster checks and verification against various dictionaries, etc.</p>
<p dir="auto">I had to do some other password recovery task now and I was unpleasantly surprised with the speed of the brute force efficiency (with <code>john</code> just on modern CPU).</p>
<p dir="auto">Shall my time permit, I will return here some time in the future; otherwise would be glad to pick up this task once Cloudron's resulting hash will be matched with hashcat's one (or a new mode created).</p>
]]></description><link>https://forum.cloudron.io/post/99389</link><guid isPermaLink="true">https://forum.cloudron.io/post/99389</guid><dc:creator><![CDATA[potemkin_ai]]></dc:creator><pubDate>Mon, 06 Jan 2025 12:02:02 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Mon, 06 Jan 2025 11:45:01 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">Length &gt; Complexity. Always.</p>
</blockquote>
<p dir="auto">Yeah, that helps for the password to appear on monitors as a 3M sticks <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f917.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--hugging_face" style="height:23px;width:auto;vertical-align:middle" title="🤗" alt="🤗" /></p>
]]></description><link>https://forum.cloudron.io/post/99388</link><guid isPermaLink="true">https://forum.cloudron.io/post/99388</guid><dc:creator><![CDATA[potemkin_ai]]></dc:creator><pubDate>Mon, 06 Jan 2025 11:45:01 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Sun, 05 Jan 2025 11:43:58 GMT]]></title><description><![CDATA[<p dir="auto">Length &gt; Complexity. Always.<br />
Both is better.<br />
<a href="https://bitwarden.com/blog/how-long-should-my-password-be/" target="_blank" rel="noopener noreferrer nofollow ugc">https://bitwarden.com/blog/how-long-should-my-password-be/</a><br />
<a href="https://pages.nist.gov/800-63-3/sp800-63b.html#appA" target="_blank" rel="noopener noreferrer nofollow ugc">https://pages.nist.gov/800-63-3/sp800-63b.html#appA</a></p>
]]></description><link>https://forum.cloudron.io/post/99342</link><guid isPermaLink="true">https://forum.cloudron.io/post/99342</guid><dc:creator><![CDATA[necrevistonnezr]]></dc:creator><pubDate>Sun, 05 Jan 2025 11:43:58 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Sun, 05 Jan 2025 10:46:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fbartels" aria-label="Profile: fbartels">@<bdi>fbartels</bdi></a> said in <a href="/post/99325">Dump user's password to try to crack them</a>:</p>
<blockquote>
<p dir="auto">Edit: does Cloudron have some internal logic like complexity rules apart from the "Password must be at least 8 and at most 265 characters" check of the ui?</p>
</blockquote>
<p dir="auto"><a href="https://git.cloudron.io/platform/box/-/blob/master/src/users.js#L183" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/blob/master/src/users.js#L183</a> so we only have the length check. Some way for an admin to specify length and complexity would indeed be quite nice, but it would have to be a bit flexible, since we have seen various different requirements from users, depending on the environment where Cloudron operates in.</p>
]]></description><link>https://forum.cloudron.io/post/99338</link><guid isPermaLink="true">https://forum.cloudron.io/post/99338</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sun, 05 Jan 2025 10:46:05 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Sat, 04 Jan 2025 16:44:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> &amp; <a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> should have a podcast. SO much knowledge to share!</p>
]]></description><link>https://forum.cloudron.io/post/99329</link><guid isPermaLink="true">https://forum.cloudron.io/post/99329</guid><dc:creator><![CDATA[marcusquinn]]></dc:creator><pubDate>Sat, 04 Jan 2025 16:44:20 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Sat, 04 Jan 2025 13:17:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> Thank you! Would you mind helping with selecting proper resulting encryption, please?</p>
<p dir="auto">It'something at that page: <a href="https://hashcat.net/wiki/doku.php?id=example_hashes" target="_blank" rel="noopener noreferrer nofollow ugc">https://hashcat.net/wiki/doku.php?id=example_hashes</a> and I though it shall be 7300, but it isn't...</p>
<p dir="auto">P.S. Yeah, forcing some password complexity would be nice!</p>
]]></description><link>https://forum.cloudron.io/post/99326</link><guid isPermaLink="true">https://forum.cloudron.io/post/99326</guid><dc:creator><![CDATA[potemkin_ai]]></dc:creator><pubDate>Sat, 04 Jan 2025 13:17:40 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Sat, 04 Jan 2025 11:44:38 GMT]]></title><description><![CDATA[<p dir="auto">An interesting discussion and it confirms my expectation that Cloudron is following modern and good security practices.</p>
<p dir="auto">in case others are coming back to this discussion later, gitlab also offers permalinks to code files and lines, so that will always work: <a href="https://git.cloudron.io/platform/box/-/blob/e536c94028b3ce56f468011af8ca656abb78b37f/src/users.js#L800" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/blob/e536c94028b3ce56f468011af8ca656abb78b37f/src/users.js#L800</a> (only exception would be if this commit somehow gets completely removed from the repo).</p>
<blockquote>
<p dir="auto">The database is not exposed anywhere so setting a password as such does not add any extra security, which is why it is password to make that clear and avoid obfuscation.</p>
</blockquote>
<p dir="auto">You could switch to <a href="https://mariadb.com/kb/en/authentication-plugin-unix-socket/" target="_blank" rel="noopener noreferrer nofollow ugc">https://mariadb.com/kb/en/authentication-plugin-unix-socket/</a> to get rid of the password completely. this would also strengthen security further by limiting which local users have access.</p>
<p dir="auto">Edit: does Cloudron have some internal logic like complexity rules apart from the "Password must be at least 8 and at most 265 characters" check of the ui?</p>
]]></description><link>https://forum.cloudron.io/post/99325</link><guid isPermaLink="true">https://forum.cloudron.io/post/99325</guid><dc:creator><![CDATA[fbartels]]></dc:creator><pubDate>Sat, 04 Jan 2025 11:44:38 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Sat, 04 Jan 2025 09:25:41 GMT]]></title><description><![CDATA[<p dir="auto">The code link has changed I guess, so here we are now <a href="https://git.cloudron.io/platform/box/-/blob/master/src/users.js#L800" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/blob/master/src/users.js#L800</a></p>
]]></description><link>https://forum.cloudron.io/post/99320</link><guid isPermaLink="true">https://forum.cloudron.io/post/99320</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sat, 04 Jan 2025 09:25:41 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Fri, 03 Jan 2025 22:50:40 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> , I know, it's been a while, but I've got my hands on server with a GPU, so I wanted to run a brute force on the hashes I've got - could you please, help me to identify which of the algorithms are you using in Cloudron?</p>
<p dir="auto"><a href="https://hashcat.net/wiki/doku.php?id=example_hashes" target="_blank" rel="noopener noreferrer nofollow ugc">https://hashcat.net/wiki/doku.php?id=example_hashes</a></p>
<p dir="auto">My idea was that it's <code>IPMI2 RAKP HMAC-SHA1</code> (7300 mode) - but hashcat refuses to agree with me on that <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/99308</link><guid isPermaLink="true">https://forum.cloudron.io/post/99308</guid><dc:creator><![CDATA[potemkin_ai]]></dc:creator><pubDate>Fri, 03 Jan 2025 22:50:40 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Sat, 29 Jul 2023 07:17:24 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> , thank you! Yeah, I'm aware about the theory, I was wondering how it's done on Cloudron.</p>
<blockquote>
<p dir="auto">so this is not possible anymore</p>
</blockquote>
<p dir="auto">That's exactly what I would like to check <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
You know - people are always the weakest part of the chain...</p>
]]></description><link>https://forum.cloudron.io/post/71046</link><guid isPermaLink="true">https://forum.cloudron.io/post/71046</guid><dc:creator><![CDATA[potemkin_ai]]></dc:creator><pubDate>Sat, 29 Jul 2023 07:17:24 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Sat, 29 Jul 2023 02:48:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/potemkin_ai" aria-label="Profile: potemkin_ai">@<bdi>potemkin_ai</bdi></a> said in <a href="/post/71035">Dump user's password to try to crack them</a>:</p>
<blockquote>
<p dir="auto">Am I right that salt is a random piece of bytes that is stored somewhere (if so - where?) and password - is user's password?</p>
</blockquote>
<p dir="auto">Passwords are stored in databases as a one way hash i.e you can only verify if the password is correct but cannot obtain the original password. In very naive terms, if the password (in numbers) is 10+32, imagine storing just 42 in the database. You don't know if 42 came from 40+2 or 50-8 and so on. With this approach, you don't the original math but it's always possible to verify given raw password if the password is correct.</p>
<p dir="auto">Turns out it's possible to pre-compute this "42" offline. Basically, you take millions of raw passwords and hash them . Then, you can just compare against a leaked database very quickly (it's just a string compare). This is called a rainbow table. To prevent this, you create a "salt". Think of salt as a random number thrown into the hash computation. Say 10 is our salt, we would store 52. Now, an attacker has to create a table for &lt;rawpassword&gt;+&lt;hash&gt;. We are talking very very large numbers here, so this is not possible anymore.</p>
<p dir="auto">Initially, people started with a single salt for the whole application. These days, you have a unique salt per user. The <code>salt</code> you see above is the per user unique salt. It's a field in the same table. Hope that answers!</p>
]]></description><link>https://forum.cloudron.io/post/71037</link><guid isPermaLink="true">https://forum.cloudron.io/post/71037</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Sat, 29 Jul 2023 02:48:23 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Fri, 28 Jul 2023 22:15:22 GMT]]></title><description><![CDATA[<p dir="auto">Apologies, one more question:</p>
<pre><code>pbkdf2Async(password, salt, CRYPTO_ITERATIONS, CRYPTO_KEY_LENGTH, CRYPTO_DIGEST)
</code></pre>
<p dir="auto">Am I right that salt is a random piece of bytes that is stored somewhere (if so - where?) and password - is user's password?</p>
]]></description><link>https://forum.cloudron.io/post/71035</link><guid isPermaLink="true">https://forum.cloudron.io/post/71035</guid><dc:creator><![CDATA[potemkin_ai]]></dc:creator><pubDate>Fri, 28 Jul 2023 22:15:22 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Fri, 28 Jul 2023 17:23:00 GMT]]></title><description><![CDATA[<p dir="auto">Thanks! Code worth thousands words <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=af5271e93de" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/71026</link><guid isPermaLink="true">https://forum.cloudron.io/post/71026</guid><dc:creator><![CDATA[potemkin_ai]]></dc:creator><pubDate>Fri, 28 Jul 2023 17:23:00 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Fri, 28 Jul 2023 17:20:51 GMT]]></title><description><![CDATA[<p dir="auto">The settings are <a href="https://git.cloudron.io/cloudron/box/-/blob/master/src/users.js#L98" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/cloudron/box/-/blob/master/src/users.js#L98</a> so you can search through that file to see how passwords are handled internally.</p>
]]></description><link>https://forum.cloudron.io/post/71025</link><guid isPermaLink="true">https://forum.cloudron.io/post/71025</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Fri, 28 Jul 2023 17:20:51 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Fri, 28 Jul 2023 17:11:21 GMT]]></title><description><![CDATA[<p dir="auto"><code>mysql -uroot -ppassword box -e "select username,password from users;" &gt; users.list</code> - is a ready to use command, shall anyone be interested.</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> , <a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> , I know it might sound silly, but you would just save me quite some time - and what's the encryption standard in use?</p>
]]></description><link>https://forum.cloudron.io/post/71023</link><guid isPermaLink="true">https://forum.cloudron.io/post/71023</guid><dc:creator><![CDATA[potemkin_ai]]></dc:creator><pubDate>Fri, 28 Jul 2023 17:11:21 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Wed, 19 Jul 2023 14:06:22 GMT]]></title><description><![CDATA[<p dir="auto">The password is literally <code>password</code> here and the host is localhost. The database is not exposed anywhere so setting a password as such does not add any extra security, which is why it is <code>password</code> to make that clear and avoid obfuscation.</p>
]]></description><link>https://forum.cloudron.io/post/70519</link><guid isPermaLink="true">https://forum.cloudron.io/post/70519</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Wed, 19 Jul 2023 14:06:22 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Wed, 19 Jul 2023 13:51:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> thanks! And where do I get mysql password for that purpose? What is the IP to connect to?</p>
]]></description><link>https://forum.cloudron.io/post/70517</link><guid isPermaLink="true">https://forum.cloudron.io/post/70517</guid><dc:creator><![CDATA[potemkin_ai]]></dc:creator><pubDate>Wed, 19 Jul 2023 13:51:42 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Wed, 19 Jul 2023 13:50:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/murgero" aria-label="Profile: murgero">@<bdi>murgero</bdi></a> if I != know specific system insides, it != mean I don't have to do security audit.</p>
]]></description><link>https://forum.cloudron.io/post/70516</link><guid isPermaLink="true">https://forum.cloudron.io/post/70516</guid><dc:creator><![CDATA[potemkin_ai]]></dc:creator><pubDate>Wed, 19 Jul 2023 13:50:36 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Wed, 19 Jul 2023 12:35:14 GMT]]></title><description><![CDATA[<p dir="auto">I feel like if you don't know how to do this, you probably shouldn't do it.</p>
]]></description><link>https://forum.cloudron.io/post/70513</link><guid isPermaLink="true">https://forum.cloudron.io/post/70513</guid><dc:creator><![CDATA[murgero]]></dc:creator><pubDate>Wed, 19 Jul 2023 12:35:14 GMT</pubDate></item><item><title><![CDATA[Reply to Dump user's password to try to crack them on Wed, 19 Jul 2023 10:46:30 GMT]]></title><description><![CDATA[<p dir="auto">The mysql database has the hashes. <code>mysql -uroot -ppassword</code> (sic) . Then, in the <code>box</code> database you will have the <code>users</code> table with the info you need.</p>
]]></description><link>https://forum.cloudron.io/post/70510</link><guid isPermaLink="true">https://forum.cloudron.io/post/70510</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 19 Jul 2023 10:46:30 GMT</pubDate></item></channel></rss>