<?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" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[OWASP Chennai - Medium]]></title>
        <description><![CDATA[OWASP Chennai was founded in Jan, 2009. For the past 11 years, the Chennai Chapter has conducted numerous Meetups, Webinars and Conferences. All these conferences are open meets where everyone can join and share their knowledge in Cyber Security - Medium]]></description>
        <link>https://medium.com/owasp-chennai?source=rss----60d0ba61e661---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>OWASP Chennai - Medium</title>
            <link>https://medium.com/owasp-chennai?source=rss----60d0ba61e661---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 13:40:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/owasp-chennai" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building Word-lists for Red Teamers]]></title>
            <link>https://medium.com/owasp-chennai/building-word-lists-for-red-teamers-a8ba2d79ee3?source=rss----60d0ba61e661---4</link>
            <guid isPermaLink="false">https://medium.com/p/a8ba2d79ee3</guid>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[bug-bounty]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[red-team]]></category>
            <dc:creator><![CDATA[Venkatraman K]]></dc:creator>
            <pubDate>Mon, 14 Dec 2020 20:28:16 GMT</pubDate>
            <atom:updated>2020-12-14T20:28:15.938Z</atom:updated>
            <content:encoded><![CDATA[<p>This blog would basically give you an insight of building word-list that can be used for password spraying or cracking the captured hashes in your assessment or CTFs.</p><blockquote><strong><em>Categories:</em></strong><em><br>1. Constructing Word-list through regular expressions<br>2. Constructing Word-list from a Website<br>3. Constructing Word-list for Human-Specific Targets<br>4. Constructing Word-list from Keyboard Walks</em></blockquote><h4><strong>Constructing Word-list through regular expressions</strong></h4><p>We are going to see the regular expressions that can be used to generate the passwords which are used in mostly in organization. We have used a python tool called as <a href="https://pypi.org/project/exrex/"><strong><em>Exrex</em></strong></a><strong><em>: </em></strong>Command line tool and python module that generates all — or random — matching strings to a given regular expression and more.</p><pre><strong>Installation:</strong><br>pip install exrex<br><strong>Help:</strong><br>exrex --help</pre><p>Generally employees at organization set the passwords that follows a pattern ‘current month followed by year or current season followed by the year’ ie. December2020 or Winter2020. We have noticed that many organization still use these password patterns and some don’t even change these passwords regularly.</p><pre><strong>Seasons:</strong><br>exrex &quot;((W|w)inter|(S|s)ummer|(F|f)all|(A|a)utumn|(S|s)pring)20(16|17|18|19|20)&quot;<br><strong>Months:</strong><br>exrex &quot;((J|j)anuary|(F|f)ebruary|(M|m)arch|(A|a)pril|(M|m)ay|(J|j)une|(J|j)uly|(A|a)ugust|(S|s)eptember|(O|o)ctober|(N|n)ovember|(D|d)ecember)20(16|17|18|19|20)&quot;</pre><p>Sometimes password would be set in a combination of special characters of the Organization followed by the corresponding year. Consider a organization named evil corporation. We are trying to generate all the possible combinations for that involves the upper case, lowercase and some special characters of the company name and the corresponding year.</p><pre><strong>Organization Name:</strong> evilcorp<br>Evilcorp2020<br>EvILC0rp@2020<br><strong>Regular Expression:</strong><br>exrex &quot;((E|e)(V|v)(I|i|1)(L|l|1)(c|C)(O|0|o)(r|R)(P|p))(@|)20(17|18|19|20)&quot;</pre><h4>Constructing Word-list from a Web-Application</h4><p>We will see a tool called as <a href="https://tools.kali.org/password-attacks/cewl"><strong>CeWL </strong></a>which can be used during assessments/ CTFs where you have a webpage with login end point and a about page where employees bio are given. <br><strong>CeWL </strong>is a tool that spiders a web site and collects words from it. It is a pretty mature tool written in Ruby. It returns a large list of words that will be usefull for red teamers. This generates the wordlist which are company-specific like product names, internal organization names, employee names etc.</p><pre><strong>Installation:</strong><br>apt install cewl<br><strong>Help:</strong><br>cewl --help<br><strong>Usage:<br></strong>cewl -d 2 -m 5 -w docswords.txt <a href="https://example.com/">https://example.com</a></pre><p>Scans to a depth of 2 (-d 2) and use a minimum word length of 5 (-m 5), save the words to a file (-w docswords.txt) with the target as <a href="https://example.com/">https://example.com</a></p><h4><strong>Constructing Word-list Human-Specific Targets</strong></h4><p>We know hacking the people is the plays a effective role in Red Team Engagement, Employees of the organization can be a easy target for the initial foothold of getting into the organization. People tend to set weak passwords that matches their personal interest and personal information. We have used a tool called as <a href="https://github.com/Mebus/cupp"><strong>CUPP</strong></a>. <br><strong>CUPP </strong>is Common User Passwords Profiler, is a python tool which generates password list based on the inputs we give to the interactive questions that narrow down for a specific human. A weak password might be very short or only use alphanumberic characters, making decryption simple. A weak password can also be one that is easily guessed by someone profiling the user, such as a birthday, nickname, address, name of a pet or relative, or a common word such as God, love, money or password.</p><pre><strong>Installation:</strong><br>git clone <a href="https://github.com/Mebus/cupp.git">https://github.com/Mebus/cupp.git</a><br>cd cupp<br><strong>Help:</strong><br>python3 cupp.py -h<br><strong>Usage:<br></strong>python3 cupp.py -i</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/688/1*N98ejb4oclk4ZXCdR5dfhg.png" /><figcaption>Sample Usage</figcaption></figure><h4>Constructing Word-list from Keyboard Walks</h4><p><strong>Keyboard walks</strong> refers to a word-list which are made up of adjacent keys on the keyboard like 12345678, or 1qazxsw2. Starting with the letter “z”, we move North West, hitting the “a”,”q”, and “1” keys. We then move East a row, hitting the number “2”, and then move South East back down the keyboard hitting the “w” key and stopping on “s”. This would create the password, “zaq12ws”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/304/1*7jCeMPB3C5ThLNFrm7QoRw.png" /></figure><p>We will use a tool called as <a href="https://github.com/hashcat/kwprocessor"><strong>kwpprocessor</strong></a></p><pre><strong>Installation:</strong><br>git clone <a href="https://github.com/hashcat/kwprocessor.git">https://github.com/hashcat/kwprocessor.git</a><br>cd kwprocessor<br>make</pre><p>The Keymaps folder contains the keyboard layout for multiple languages and the routes folder has 7 pre-configured keymap walks or routes that can be used to generate word-list.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6FnsgaGSp5bkl5LQA1o2Mw.png" /></figure><p>To create a simple kwp wordlist, we will use the English keymap and the 2–10 max 3 directional change route file. This can be accomplished by running the command below:</p><pre>./kwp basechars/full.base keymaps/en.keymap routes/2-to-10-max-3-direction-changes.route</pre><p>This causes kwp to create multiple keymap walk combinations, of 2–10 characters with a maximum of 3 direction changes.</p><blockquote>Note:<br>Narrow down the word-list has much as you can and use this to brute-force the login end points which wont be possibly trigger an alert in the organization. Be careful with rate limiting, some time you may end-up locking the account. Despite you can utilize this to crack the password hashes</blockquote><p><strong>References:</strong></p><ol><li><a href="https://www.hackingarticles.in/comprehensive-guide-on-cewl-tool/">https://www.hackingarticles.in/comprehensive-guide-on-cewl-tool/</a></li><li><a href="https://traviswhitney.com/2018/08/16/kwprocessor-and-princeprocessor/">https://traviswhitney.com/2018/08/16/kwprocessor-and-princeprocessor/</a></li><li><a href="https://cyberarms.wordpress.com/2018/02/13/creating-hashcat-keymap-walking-password-wordlists/">https://cyberarms.wordpress.com/2018/02/13/creating-hashcat-keymap-walking-password-wordlists/</a></li><li><a href="https://www.hackingarticles.in/comprehensive-guide-on-cupp-a-wordlist-generating-tool/">https://www.hackingarticles.in/comprehensive-guide-on-cupp-a-wordlist-generating-tool/</a></li></ol><p>Let us know if we have missed any word-list creation here that you have used and found helpful in your Assessments or CTFs, we would be happy to add that too !</p><p>Join our <a href="https://discord.gg/amrF9bNCH3">discord server</a> to interact, learn and contribute. Check out our mini-blogs on <a href="https://www.instagram.com/owasp_chennai/">Instagram</a> and <a href="https://twitter.com/owasp_chennai">twitter</a>. Wanna contribute to the community, reach out to us on discord, twitter etc.</p><p>Happy Red Teaming!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a8ba2d79ee3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/owasp-chennai/building-word-lists-for-red-teamers-a8ba2d79ee3">Building Word-lists for Red Teamers</a> was originally published in <a href="https://medium.com/owasp-chennai">OWASP Chennai</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>