<?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[Stories by Cipheras on Medium]]></title>
        <description><![CDATA[Stories by Cipheras on Medium]]></description>
        <link>https://medium.com/@cipheras?source=rss-648cc365cf48------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*NdKLxlWq57LyCMfv3prw4A.jpeg</url>
            <title>Stories by Cipheras on Medium</title>
            <link>https://medium.com/@cipheras?source=rss-648cc365cf48------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 04:51:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@cipheras/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Walkthrough — WazirX Hack]]></title>
            <link>https://cipheras.medium.com/walkthrough-wazirx-hack-7220c4122e11?source=rss-648cc365cf48------2</link>
            <guid isPermaLink="false">https://medium.com/p/7220c4122e11</guid>
            <category><![CDATA[lazarus-group]]></category>
            <category><![CDATA[crytocurrency]]></category>
            <category><![CDATA[wazirx]]></category>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Cipheras]]></dc:creator>
            <pubDate>Sat, 20 Jul 2024 09:34:29 GMT</pubDate>
            <atom:updated>2024-07-20T09:34:29.580Z</atom:updated>
            <content:encoded><![CDATA[<h3>Walkthrough — WazirX Hack</h3><h4><strong>The Incident Unfolds</strong></h4><p>On 18th July 2024, reports surfaced regarding a breach in WazirX’s security and a hack. Details initially remained sketchy, but it soon became evident that there has been a hack and fund transfer of <strong>$234 Million</strong> digital assets.</p><p>As per report of Cyvers (a web3 cybersecurity company), WazirX had 50% of user funds in this hot wallet which was compromised.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*P9bF9r__vHnGsbf6nUyTzA.png" /><figcaption>Img: Cyvers Dashboard</figcaption></figure><h4>Breakdown of Hacked Assets</h4><blockquote>SHIB — $96.7 M</blockquote><blockquote>ETH — $52.6 M</blockquote><blockquote>MATIC — $11M</blockquote><blockquote>PEPE — $7.6M</blockquote><blockquote>USDT — $5.7M</blockquote><blockquote>FLOKI — $4.7M</blockquote><blockquote>OTHERS — $56.7 M</blockquote><h4>Addresses associated with the Hacker:</h4><blockquote>0x6EeDF92Fb92Dd68a270c3205e96DCCc527728066 0x04b21735E93Fa3f8df70e2Da89e6922616891a88 0x35febC10112302e0d69F35F42cCe85816f8745CA 0x90ca792206eD7Ee9bc9da0d0dF981FC5619F91Fd 0x361384e2761150170D349924A28d965f0Dd3F092</blockquote><h4>Bounty</h4><p>Arkham announced a bounty of 5000 ARKM token on Arkham Platform for anyone who will fulfil any of the below 3 conditions:</p><ol><li>Identifying a KYC centralized exchange deposit</li><li>Revealing the identity of the exploiter</li><li>Successful efforts to return funds</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_8d9NEiEpBFcbpkSPB6_Og.jpeg" /><figcaption>Img: Arkham Bounty</figcaption></figure><p>The bounty was claimed by <a href="https://medium.com/u/abc63bd6b00f">Investigations By ZachXBT</a> (X handle — @ZachXBT) by submitting a definitive proof of a KYC-linked deposit address used by the exploiter. The deposit address in found to be of Binance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*E4K4NVQHOUfMl8Yz8X8gWw.png" /><figcaption>Img: X Post</figcaption></figure><h3>TTP (Tactic, Techniques &amp; Procedures) Used by the Hackers</h3><p>The whole hack seems to be started 8 days ago from the day when funds were transferred.</p><h4><strong>Initial Access</strong></h4><p>Attacker somehow phished the malicious Smart Contract into WazirX’s actual deployment code. Waited till WazirX pushed this malicious smart contract to Ethereum Blockchain instead of their original smart contract. MultiSig wallets are upgraded from time to time by deploying the upgraded smart contracts onto the blockchain.</p><h4><strong>Privilege Escalation</strong></h4><p>Attacker used “data to delegate” call to delegate the permission to their own smart contract hosted on ETH blockchain. Now, they had permission to change the data in WazirX’s MultiSig wallet smart contract.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/731/1*5npKACUuHxxCzQnkUmXB0A.png" /><figcaption>Img: Tx of data to delegate call</figcaption></figure><h4><strong>Lateral Movement &amp; Credential Access</strong></h4><p>To test, the attacker sent SHIB worth of $10 and $29 USDT, and this was 8 days ago from the day of fund transfer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*RSrYN2barWNzAsvBVGceNw.png" /><figcaption>Img: Tx of SHIBA transfer</figcaption></figure><p>WazirX uses 6 keys for their MultiSig wallet, out of which at least 3 are needed to sign for successful transaction. By doing these above transactions, the attacker collected the sign.</p><h4><strong>Exfiltration</strong></h4><p>Now, the attacker has the permission to change the WazirX’s wallet smart contract and also have the sign. The attacker changed the code in the WazirX Wallet Smart Contract using the collected sign, because of which now there is no need of any sign for any transaction. The attacker transferred all funds on 18th July after getting the initial access 8 days ago.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*fHYVerm-tdCMn4L9RvNoBw.png" /><figcaption>Img: Txs of funds transfer</figcaption></figure><p>The entity behind this hack is found to be North Korea’s <em>Lazarus Group</em>. WazirX has released their preliminary report which can be found on the below link:</p><p><a href="https://wazirx.com/blog/preliminary-report-cyber-attack-on-wazirx-multisig-wallet/">Preliminary Report: Cyber Attack on WazirX Multisig Wallet — WazirX Blog</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/746/1*WSZi5WTguWhj5BeV8LfHSA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7220c4122e11" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Look at ChatGPT from a Hacker’s POV]]></title>
            <link>https://cipheras.medium.com/a-look-at-chatgpt-from-a-hackers-pov-15bfea991357?source=rss-648cc365cf48------2</link>
            <guid isPermaLink="false">https://medium.com/p/15bfea991357</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[hacker]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[hacking]]></category>
            <dc:creator><![CDATA[Cipheras]]></dc:creator>
            <pubDate>Wed, 07 Dec 2022 17:05:30 GMT</pubDate>
            <atom:updated>2022-12-07T17:17:23.922Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*JKbkfga0xDpO8WlZ" /><figcaption>Photo by <a href="https://unsplash.com/es/@ikukevk?utm_source=medium&amp;utm_medium=referral">Kevin Ku</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>What is ChatGPT?</h4><p>ChatGPT is a language model developed by OpenAI. It has been trained on a large dataset of conversational text and is designed to generate human-like responses to a wide range of topics. It was released on <em>30th Nov, 2022</em>. One of the key features of ChatGPT is its ability to generate coherent and engaging responses to open-ended questions. This makes it particularly useful for applications such as chatbots and virtual assistants, where the ability to maintain a natural conversation is essential. It has a memory to remember your old questions and its responses.</p><h4>A Cyber Security Professional’s POV</h4><p>As a hacker, looking at ChatGPT from a different perspective can be very interesting. This powerful language model developed by OpenAI has the ability to generate human-like responses to a wide range of topics, making it a valuable tool for anyone interested in natural language processing and conversational AI. But from a hacker’s point of view, ChatGPT also presents some potential vulnerabilities that could be exploited. For example, a hacker could potentially use ChatGPT to create a very convincing chatbot that could be used to scam people. The chatbot could engage in natural conversation with the victim, gathering sensitive information such as login credentials or financial information. Another potential use of ChatGPT by a hacker could be to generate spam messages or phishing emails that are designed to trick people into clicking on malicious links. Because ChatGPT is able to adapt to different writing styles and tones, it could be used to create spam messages that are tailored to the individual recipient, making them more convincing and harder to detect.</p><p>ChatGPT can assist cybersecurity professionals in <em>SIEM, IAM, DevSecOps, Data Privacy, SOC, VAPT, SAST/DAST, Malware Analysis</em>, etc.</p><h4>Interesting Potential Use-Cases</h4><p>It has been only a week of ChatGPT release at the time of writing this article and many curious people have already found interesting ways of using this AI. Let’s see some of them.</p><p><strong><em>1. Smart Contract code analysis / SAST:</em></strong></p><p>This one is my favorite that’s why I kept it on top. ChatGPT can find vulnerabilities in smart contracts. Imagine, integrating it with smart contract scanners before deploying the contract on the blockchain. It can save million of dollars for the Crypto industry lost because of the hacks. Blockchain automates a lot of things, so of course an automated AI based smart contract code analyzer is a good idea.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3y6-5VgSaJ-3St_OdfXqgQ.jpeg" /><figcaption>Source: Twitter</figcaption></figure><p><strong><em>2. Use-cases in Penetration Testing:</em></strong></p><p>There’s also something for you, Bug Bounty hunters. ChatGPT can generate quick payloads to use, while performing penetration testing. It can even recognize known vulnerabilities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/832/1*UyXZMwN2SACf6J2OeSIiUQ.png" /><figcaption>Source: Twitter</figcaption></figure><p>Wanna generate an exploit for a known attack like<em> log4shell</em>, here you go:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yq3CCzhSLpTEyLqImnvYDw.png" /><figcaption>log4shell exploit</figcaption></figure><p>It can even generate bug bounty report for you:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*3DErw7-g7U1K8y_U4Hb39Q.png" /><figcaption>Bug bounty report</figcaption></figure><p><strong><em>3. Automated Compliance and Auditing:</em></strong></p><p>One potential use case for ChatGPT in cybersecurity auditing is automated compliance checks. ChatGPT could be used to automatically check for compliance with cybersecurity regulations and standards, such as the <em>PCI DSS</em> or<em> HIPAA</em>. This could include checking for vulnerabilities in systems and networks, verifying the configuration of security controls, and ensuring that proper security procedures are being followed.</p><p>Another potential use case is generating reports on the state of the organization’s security posture. ChatGPT could be used to collect and analyze data from various sources, such as system logs and security assessments, to provide a comprehensive overview of the organization’s security posture. This could include details on threats, vulnerabilities, and incidents, as well as recommendations for improving security.</p><p><strong><em>4. Use-cases in DevSecOps / SOC:</em></strong></p><p>Create scripts using ChatGPT in language of your choice and integrate them with your deployed tools/platforms. It can be integrated with coding IDEs and help do secure coding. Some other examples include:</p><blockquote>Automated incident response: In the event of a security incident, chatGPT could be used to automatically respond to and triage the issue. This could include identifying the source of the incident, determining the potential impact, and providing guidance on next steps for addressing the issue.</blockquote><blockquote>Security compliance checks: chatGPT could be used to automatically check for compliance with security policies and regulations. This could include checking for vulnerabilities in code, verifying the configuration of security controls, and ensuring that proper security procedures are being followed.</blockquote><blockquote>Security training: chatGPT could be used to provide training to developers and other team members on security best practices. This could include interactive tutorials on topics such as secure coding, incident response, and compliance.</blockquote><blockquote>Real-time security monitoring: chatGPT could be used to monitor system logs and other data sources in real-time, alerting the DevSecOps team to potential security issues as they arise.</blockquote><p>Overall, ChatGPT has the potential to greatly improve the efficiency and effectiveness of the DevSecOps and SOC process by automating many of the tasks and responsibilities involved in maintaining secure and compliant systems.</p><p>Wanna create an EC2 instance with EvilGinx2 and do social engineering simulation in just few minutes. Here you go:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/755/1*xoQpkZekk9xBeX7o714NAQ.jpeg" /><figcaption>Python script</figcaption></figure><p><strong><em>5. Generating YARA rules:</em></strong></p><p>It can even create YARA rules for detecting patterns. Malware analysts take note.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vg3CK_8mUXSYmakP1tx1WA.png" /><figcaption>YARA rule for XSS detection</figcaption></figure><p><strong><em>6. Use-cases in SIEM:</em></strong></p><p>Wanna get free alerts from your Elasticsearch deployment, here you go. You can generate code/scripts according to your own deployment and SIEM tools.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1007/1*XaTWJUhH3Eo_-NGJIXQ7yw.png" /><figcaption>Python script for email alerts</figcaption></figure><p><strong><em>7. Red Teaming / Breach and Attack Simulations:</em></strong></p><p>There are no limits, there is something for everyone in the cybersecurity field. You can even create simple Malware and Ransomware for Red Teaming exercises and simulations. However, it only creates simple ones but imagine if it can create this much by itself, what it can do if ChatGPT’s assistance is taken in creating a full fledged malware. AV company’s headache is going to increase😄.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nWArhhnnkxzqxFBU3FovYw.png" /><figcaption>Sample malware</figcaption></figure><p><strong><em>8. Malware Analysis and Reverse Engineering:</em></strong></p><p>It can de-compile assembly codes and malwares. Yes you heard it right, it can help you in reverse engineering. You can even integrate it with IDA to directly analyze the de-compiled code. <a href="https://github.com/JusticeRage/Gepetto">Here</a> is the GitHub reference for it. It is very useful for malware analysts. It can recognize patterns and help understand codes quickly. It is like a very intelligent assistant for you which can increase your productivity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-augfMUgIAJTF4GwqyaPsg.png" /><figcaption>C code analysis</figcaption></figure><p><strong><em>9. Malware Obfuscation Research:</em></strong></p><p>ChatGPT can write simple codes in multiple languages for malwares and can even obfuscate it to a certain level with different techniques. It can help researchers to create shellcodes and understand advance obfuscation techniques which adversaries use in malwares. We can write code in one language and can get its equivalent in another in just few seconds using ChatGPT.</p><blockquote>One amazing thing about ChatGPT is that it has a memory and it can remember the responses. We can use this to improve the quality of code and techniques it can create.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S8KPcQxloDMv_mj9d0nISg.png" /><figcaption>Obfuscated reverse shell in GO</figcaption></figure><p>From signature recognition to behavior based detection we have come a long way in malware detection. Soon, we may see AI generated code snippets in malwares and it will take an AI to battle an AI.</p><p><strong><em>10. Solving and creating CTF challenges:</em></strong></p><p>Interestingly, not only can ChatGPT solve CTF challenges it can also create CTF challenges. Good for the college CTF challenge creators and PT trainers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/1*uukQ4WTesUD4yUq9BW5JAw.jpeg" /><figcaption>Source: Twitter</figcaption></figure><p><strong><em>11. Use as a VM simulator for Network Admins:</em></strong></p><p>Yes, it can be used as a VM simulator too. Check this blog for more:<br><a href="https://www.engraved.blog/building-a-virtual-machine-inside/">https://www.engraved.blog/building-a-virtual-machine-inside/</a></p><p><strong><em>12. Something for Game hackers too:</em></strong><br><a href="https://twitter.com/LiveOverflow">@LiveOverflow</a> tried Minecraft hack using ChatGPT. Checkout his video on <a href="https://t.co/7FOqxobCs5">YouTube</a>.</p><p><strong><em>13. Bonus use-case:</em></strong></p><p>It can also help you prepare for a cybersecurity job interview😉.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*lXxVWNW_lbM6ee4DyqBe3A.png" /><figcaption>Simulate interview</figcaption></figure><h4>Final Words</h4><p>The list goes on. People are still playing with ChatGPT to see what it can do and what are its limits. Till the time it gets full fledged AI, it is just an assistant for the work in our particular domains to save our time.<br>Overall, while ChatGPT is a powerful and versatile tool, it is important to be aware of its potential vulnerabilities and take steps to protect against them. As a hacker, it is important to always be on the lookout for potential vulnerabilities and to use your skills for good rather than for malicious purposes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15bfea991357" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Advance Automated Standalone Phishing Tool]]></title>
            <link>https://cipheras.medium.com/advance-automated-standalone-phishing-tool-17fd04b89969?source=rss-648cc365cf48------2</link>
            <guid isPermaLink="false">https://medium.com/p/17fd04b89969</guid>
            <category><![CDATA[2fa]]></category>
            <category><![CDATA[phisingtool]]></category>
            <category><![CDATA[2fa-bypass]]></category>
            <category><![CDATA[phishing]]></category>
            <category><![CDATA[bypass]]></category>
            <dc:creator><![CDATA[Cipheras]]></dc:creator>
            <pubDate>Tue, 11 May 2021 07:28:30 GMT</pubDate>
            <atom:updated>2021-05-11T07:55:46.358Z</atom:updated>
            <content:encoded><![CDATA[<p>Advanced phishing tool💥 used for session &amp; credential grabbing and bypassing 2FA using man-in-the-middle attack ☠️ with standalone reverse proxy server.</p><h4>CipherGinx</h4><blockquote><a href="https://github.com/cipheras/cipherginx">github.com/cipheras/cipherginx</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*hqbX6CHG_Yukve23DWyOyw.png" /><figcaption>screen.png</figcaption></figure><p>This tool is used for advanced phishing attacks using reverse proxy. It can also bypass <strong>2FA</strong> or <strong>2-factor authorization</strong>. Captured tokens will be written in the file token.txt on successful phish. Attacker can use this tool to phish victim with any website by creating a suitable configuration and using a signed <strong>SSL\TLS certificate</strong>(victim will see https connection). Author has already tested it with <strong>gmail, outlook &amp; icloud</strong>, however no orginal config has been uploaded here for security purposes. This tool is only to be used as a POC to understand advanced phishing and for <strong>Red Teaming</strong> purposes.</p><h4>Advantages over other similar tools:</h4><ul><li>This tool lets you modify anything in the website to be used for phishing.</li><li>Other tools have restriction like you can not replace <strong>response headers or request body</strong>, or you need to use third party tools along with them.</li><li>You can also block certain paths. Tool returns [200 ok] response to those paths without any body, to avoid any suspicion.</li><li>Supports <strong>regex</strong>.</li><li>Supports TCP connection over SSL/TLS. Use your own signed certificates.</li><li>Supports http1, http1.1 &amp; http2 connections.</li><li>Comparably smaller config files because of path based modification and fast to make.</li><li>You do not have to enter whole URL path in the config.py files. You can just enter part of URL path and tool will automatically match it.</li></ul><p>Benefit of these automated phishing tools is that you don’t have to create templates for every website you want to phish the target with. Normally, people think that if they see <strong>green tag &amp; https</strong> written on their URL it is safe to open that website but they don’t know that SSL/TLS certificates can be forged. You will still see https with green tag but that certificate will be not of the original site but of the site which you are opening and attackers mostly buy domains similar to the website to be used for phishing by using various trick. This is called <strong>homograph attack</strong> but that is the topic for another time. Point is, you won’t even notice a difference that whether you are opening a real website or a fake one. There are various methods to trick the victim into it. At current this tool only support one config to run at a time but in future this tool can be modified to be a framework rather than a tool.</p><p>For more information, issue, query or contact go to the github repo and read README.md</p><p>Thanks for reading!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=17fd04b89969" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Location Tracking Tool]]></title>
            <link>https://cipheras.medium.com/location-tracking-tool-3ed0cbe80617?source=rss-648cc365cf48------2</link>
            <guid isPermaLink="false">https://medium.com/p/3ed0cbe80617</guid>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[cybersecurity-tools]]></category>
            <category><![CDATA[location-tracking]]></category>
            <category><![CDATA[reconnaissance]]></category>
            <dc:creator><![CDATA[Cipheras]]></dc:creator>
            <pubDate>Sat, 01 May 2021 09:45:54 GMT</pubDate>
            <atom:updated>2021-05-05T18:20:04.012Z</atom:updated>
            <content:encoded><![CDATA[<p>A tool to locate people using social engineering. This tool is made in GoLang and use HTML templates for social engineering to gather information and location of the target. This tool is merely a POC of what attackers can do using these tech and should be used only for learning purposes. This tools can be very useful in reconnaissance.</p><h4>LOCTRACK</h4><p><a href="https://github.com/cipheras/loctrack">github.com/cipheras/loctrack</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*JFDIqswYQWISJDgRWvjstg.gif" /><figcaption>screen.gif</figcaption></figure><p>LocTrack use the javascript to gather all information about the target machine hidden in the template that the target is going to open. All information will be loaded as soon as target opens the link in their browser. Information like OS, RAM, GPU, CPU cores, Java enabled or not, etc will be automatically fetched. It works for every platform whether target opens that link in computer, android or iphone. Along with all these information it also send the targets IP and location to the attacker. Currently, this tool gets the target location using IP, GPS and cached location details. For getting GPS location, this tool required permission of the target, hence, comes social engineering to lure target into giving permission for the GPS access. This tools works best with smartphones because of the GPS hardware present in smartphones. There are various ways in which an attacker can lure target or trick into giving the permissions.</p><h4>Installation</h4><p>Either compile the code by yourself or use pre-compiled binaries available. There is a <strong><em>Make </em></strong>file available which contains these functionalities.</p><blockquote>Make build — to build the code</blockquote><blockquote>Make install — to build and install the tool system wide</blockquote><blockquote>Make clean — to clean temp files</blockquote><blockquote>Make uninstall — to uninstall the tool</blockquote><p>Simply typing <strong><em>sudo make</em></strong> on terminal in the tool’s directory and pressing enter will create a build, install the tool and clean temp files. All the above was for linux systems. For windows, you have to compile using GOLang inbuilt commands. This tool also supports colored texts in command prompt of windows.</p><h4>Usage</h4><p>Loctrack uses default SSL/TLS certs, SSH keys, tunnel and port which can be changed using command line arguments. To use your own certs, keys, put them in the respective folder with the same name. For your own SSH keys, you have to give permission 700 to the private key, else tunnel will not work.<br>This tool also gives option to run it on any port, use your own tunnel or use your custom subdomain names.</p><p>Loctrack generates a link with subdomain if it is given which can be opened anywhere since it uses reverse tunnel connection over SSL/TLS. Select any available template and the link generated will open it. As soon as target opens that link, all available information of their system will be shown on attackers console and if the target allows the permission pop-up then exact location will be shown with the google map’s link with exact latitude and longitude coordinates. Everything will be logged in the log.txt file.</p><p>In future, one more functionality can be added to this tool which will be very helpful in getting the exact location of the target. We can get a persons location by three means, IP address, GPS and telecommunication network. Currently this tool only implements two of the three.</p><p>For more information, issue, query or contact go to the github repo and read README.md</p><p>Thanks for reading!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3ed0cbe80617" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tool to pack files with binary in GoLang]]></title>
            <link>https://cipheras.medium.com/golang-files-packaging-tool-with-go-binary-c26dd2d74613?source=rss-648cc365cf48------2</link>
            <guid isPermaLink="false">https://medium.com/p/c26dd2d74613</guid>
            <category><![CDATA[cli-tool]]></category>
            <category><![CDATA[gopack]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[packaging]]></category>
            <category><![CDATA[go]]></category>
            <dc:creator><![CDATA[Cipheras]]></dc:creator>
            <pubDate>Thu, 29 Apr 2021 06:31:55 GMT</pubDate>
            <atom:updated>2021-04-29T16:09:48.027Z</atom:updated>
            <content:encoded><![CDATA[<p>A GO packager tool to pack templates/static files with the binary and extract it at the runtime.</p><p>GoPkgr is a tool which is used to pack static files, small images, text files, etc along with the binary. Since GoLang binary do not include static files along with them, this tool comes in handy while creating a CLI tool or creating a tool which requires HTML type files for the tool to work. Sometimes we also have to include keys, certs, etc, GoPkgr can pack all these files in structured format and extract them at the run time wherever you want. You can also delete those files after the tool exits i.e. use those files as temp files.</p><h4>GOPKGR</h4><p><a href="https://github.com/cipheras/gopkgr">github.com/cipheras/gopkgr</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*YdPWtatsasPmWUILwUXK7Q.gif" /><figcaption>gopkgr in action</figcaption></figure><h4>Installation</h4><p>Import this as a module and build with your project or compile from source. You can also download the binary and use them. Binary available for both platforms, linux and windows.</p><blockquote>For windows(v1.4.7):</blockquote><blockquote><a href="https://github.com/cipheras/gopkgr/releases/download/v1.4.7/gopkgr-win-x64.exe">https://github.com/cipheras/gopkgr/releases/download/v1.4.7/gopkgr-win-x64.exe</a></blockquote><blockquote>For linux(v1.4.7):</blockquote><blockquote><a href="https://github.com/cipheras/gopkgr/releases/download/v1.4.7/gopkgr-linux-x64">https://github.com/cipheras/gopkgr/releases/download/v1.4.7/gopkgr-linux-x64</a></blockquote><h4>Usage</h4><p>To use this tool, just put the compiled binary or run the GO program in the same directory, for example, if you want to pack <em>temp </em>folder ,then, put binary inside temp folder and execute it. It will automatically read directory and file structure and pack them in a formatted structure. When you unpack these files, these files and folders will be unpacked in the same structure. It can read sub folders and files inside sub folders, so you need not to worry about how deep the file is inside folders.<br>After execution this tool will create a <strong><em>pkg.go </em></strong>file. Keep this file with in your project while compiling. By default, the <em>package will be main </em>but you can change the package name according to your project needs in the pkg.go file.</p><p>To unpack, just call <em>unpkr(dir) method like,</em></p><blockquote>err := unpkr(dir)</blockquote><p><em>unpkr </em>method return an error if some error exists else it will return nil.<br><em>dir </em>is the name of the directory where the package will be unpacked.<br>Use “.” to unpack in the same directory.<br>To remove these files after the program exits, one can make use of<em><br>os.RemoveAll(“dir”)</em> method else the unpacked files will remain.</p><p>For more information, issue, query or contact go to the github repo and read README.md</p><p>Thanks for reading!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c26dd2d74613" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GoLang helper module for fast development of CLI tools]]></title>
            <link>https://cipheras.medium.com/go-helper-module-for-fast-development-of-cli-tools-99d397fd7971?source=rss-648cc365cf48------2</link>
            <guid isPermaLink="false">https://medium.com/p/99d397fd7971</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[tools]]></category>
            <category><![CDATA[cli]]></category>
            <category><![CDATA[helpers]]></category>
            <category><![CDATA[golang]]></category>
            <dc:creator><![CDATA[Cipheras]]></dc:creator>
            <pubDate>Thu, 29 Apr 2021 05:40:32 GMT</pubDate>
            <atom:updated>2021-04-29T06:38:32.896Z</atom:updated>
            <content:encoded><![CDATA[<p>So the story starts with development of a cyber security tool in GoLang. While I was trying to make that tool it clicked my mind to make a helper module so that when I make any tool I don’t have to write all these code again &amp; again and can focus mainly on the functionality of my tool.</p><h4>GOHELPER</h4><p><a href="https://github.com/cipheras/gohelper"><em>github.com/cipheras/gohelper</em></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*HDOhgw4x_UCGim8Ao5WnVw.gif" /><figcaption>Cprint example</figcaption></figure><p>A GO module to help in projects in generating formatted logs in log files and colored messages on the terminal.</p><h4>Installation</h4><p>Import the module in your project and do.</p><blockquote>go get github.com/cipheras/gohelper</blockquote><h4>Usage</h4><p><strong>gohelper</strong> basically has two features, creating formatted logs in a file and show formatted texts on console.To use gohelper, one just have to import the module. Best thing of this module is that you don’t have to rely on this modules log module, you can use original log module with it also.</p><p><strong>Available features:</strong></p><ul><li>Try(err, bool, msg) — for logging into file and also showing on terminal.</li><li>Cprint(mode, msg) — to print colored texts/info/messages on terminal.</li><li>Cwindows() — to also show these colored texts/info/messages on windows cmd.</li><li>Flog() — to use gohelper’s log instead of your own.</li></ul><p><strong>Cases:</strong></p><ul><li>Try(nil, bool, msg) — will log as <em>INFO</em> in the file.</li><li>Try(err, bool, msg) — if err==nil, will log the msg as <em>INFO. If err!=nil,</em> it will log the err &amp; msg as <em>ERROR</em> and also show <em>ERROR</em> msg on terminal.</li><li>Try(err, true, msg) — will exit if err!=nil &amp; log as <em>ERROR.</em></li><li>Try(err, false, msg) — will not exit &amp; if err!=nil, will log as <em>WARN</em>.</li><li>Try(err, bool) — will log but don’t show on terminal.</li></ul><p>In all the above cases, it will always log as <em>INFO, if err==nil.</em> If <em>msg</em> is given it will be shown on terminal, if not then it will be only logged.<br>In some cases, if there is no error to check and we still wanna log <em>ERROR</em>, we can use custom error using,</p><blockquote>Try(errors.New(“custom error”, bool))</blockquote><p>Try this module and in case of any query or issue, contact the author. For other uses and info read README.md</p><p>For more information, issue or contact go to the github repo.</p><p>Thanks for reading!!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99d397fd7971" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>