<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: 0xad</title><link>https://news.ycombinator.com/user?id=0xad</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 29 Aug 2026 09:54:50 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=0xad" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by 0xad in "Visualizing Binary Files"]]></title><description><![CDATA[
<p>Binvisio from cortesi and cantordust from domas being already mentioned, I’m surprised I haven’t seen this yet: <a href="https://lcamtuf.coredump.cx/newtcp/" rel="nofollow">https://lcamtuf.coredump.cx/newtcp/</a></p>
]]></description><pubDate>Wed, 26 Aug 2026 07:00:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=49445028</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=49445028</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49445028</guid></item><item><title><![CDATA[New comment by 0xad in "Show HN: Comparing stock returns after cyber incidents"]]></title><description><![CDATA[
<p>Yes, but (always <i>but</i>!) we also need to take into account what we're aiming at, which is an impact on stock performance. So the company needs to be (1) listed on a stock exchange and (2) have a significant <i>publicly disclosed</i> incident. And it turns out that such cases aren't as common as one might think. :)<p>As a side note, one can learn a lot from Verizon's DBIR. People familiar with it might even recognize my inspiration.</p>
]]></description><pubDate>Mon, 27 Jul 2026 09:48:14 +0000</pubDate><link>https://news.ycombinator.com/item?id=49067212</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=49067212</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49067212</guid></item><item><title><![CDATA[Show HN: Comparing stock returns after cyber incidents]]></title><description><![CDATA[
<p>Article URL: <a href="https://incidentimpact.com/">https://incidentimpact.com/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=49066265">https://news.ycombinator.com/item?id=49066265</a></p>
<p>Points: 5</p>
<p># Comments: 3</p>
]]></description><pubDate>Mon, 27 Jul 2026 07:42:04 +0000</pubDate><link>https://incidentimpact.com/</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=49066265</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49066265</guid></item><item><title><![CDATA[New comment by 0xad in "Write plain text files"]]></title><description><![CDATA[
<p>If you don't see the difference between proprietatory format like docx and you argue that just because I add double-asterisk with a word in-between then suddenly it's not plain-text file (since it's markdown markup at this point) then yeah, this conversation is over.</p>
]]></description><pubDate>Thu, 03 Mar 2022 08:56:10 +0000</pubDate><link>https://news.ycombinator.com/item?id=30538747</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=30538747</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30538747</guid></item><item><title><![CDATA[New comment by 0xad in "Write plain text files"]]></title><description><![CDATA[
<p>I think it does.<p>By <i>transforming</i> file Foo.docx into file Bar.b64 you get a plain-text file (Bar.b64) but Foo.docx still isn't plain-text. That's actually how email attachments work (transforming any file into b64 plain-text file), so I think your counter-argument is pointless.</p>
]]></description><pubDate>Thu, 03 Mar 2022 08:49:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=30538700</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=30538700</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30538700</guid></item><item><title><![CDATA[New comment by 0xad in "Write plain text files"]]></title><description><![CDATA[
<p>No.<p>Open up a word document (.docx) in hex editor (head -80 foo.docx | xxd) and you'll see it's not a plain file on a binary level. Now do the same with any python, php, html, and js files and you'll see that they're plain files.<p>That's the difference that Derek is talking about.</p>
]]></description><pubDate>Wed, 02 Mar 2022 09:57:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=30525630</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=30525630</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30525630</guid></item><item><title><![CDATA[New comment by 0xad in "PHP is worth learning and using"]]></title><description><![CDATA[
<p>Here's one: If you want your operations to be as easy as they can be (LAMP), go with PHP.</p>
]]></description><pubDate>Thu, 18 Nov 2021 09:15:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=29263591</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=29263591</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29263591</guid></item><item><title><![CDATA[New comment by 0xad in "64-Bit Linux Return-Oriented Programming"]]></title><description><![CDATA[
<p>By original do you mean Hovav's? Then no, it's 2008.<p>But I'd argue that Borrowed Code Chunks exploitation technique paper by stealth from 2005 is the original. But maybe I'm just too old.</p>
]]></description><pubDate>Wed, 24 Mar 2021 10:53:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=26565597</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=26565597</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=26565597</guid></item><item><title><![CDATA[New comment by 0xad in "Open source security tools list"]]></title><description><![CDATA[
<p>You can use grammarinator or any other of myriad grammar fuzzers BUT I'd start with radamsa and its string-related flags. Radamsa is _awesome_, you run it on an input and you get mutated output. Works both for binary files and text fles (such as grammars).</p>
]]></description><pubDate>Tue, 17 Nov 2020 12:09:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=25122805</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=25122805</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25122805</guid></item><item><title><![CDATA[New comment by 0xad in "What will happen when you commit secrets to a public Git repo?"]]></title><description><![CDATA[
<p>OP here. I'm planning to do so, however it will require more work (better description of the problem, wider description of viable solutions, additional case studies). Most probably it will land on Medium and Dev.to.</p>
]]></description><pubDate>Sun, 08 Nov 2020 09:08:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=25024290</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=25024290</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25024290</guid></item><item><title><![CDATA[New comment by 0xad in "What will happen when you commit secrets to a public Git repo?"]]></title><description><![CDATA[
<p>Yes you will, but only because GitHub already recognised this class of problems and came up with their own solution [1]. Bear in mind that it works only for vendors that integrated, so while it's true for AWS it might not be for your FOO API.<p>I giggled at meme.<p>[1] <a href="https://developer.github.com/partnerships/secret-scanning/" rel="nofollow">https://developer.github.com/partnerships/secret-scanning/</a></p>
]]></description><pubDate>Sun, 08 Nov 2020 06:34:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=25023609</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=25023609</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25023609</guid></item><item><title><![CDATA[New comment by 0xad in "What will happen when you commit secrets to a public Git repo?"]]></title><description><![CDATA[
<p>Hey, OP here. I agree that a blog post would be more readable. In this particular case I just didn't expect that it will catch fire. If I would then I would spend more time on the form. I won't make that mistake again (i.e. in the future I will use a blog post as main driver of such twitter thread).</p>
]]></description><pubDate>Sat, 07 Nov 2020 11:12:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=25014435</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=25014435</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25014435</guid></item><item><title><![CDATA[New comment by 0xad in "What will happen when you commit secrets to a public Git repo?"]]></title><description><![CDATA[
<p>Cool! Thanks for explanation.</p>
]]></description><pubDate>Sat, 07 Nov 2020 11:09:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=25014424</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=25014424</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25014424</guid></item><item><title><![CDATA[New comment by 0xad in "What will happen when you commit secrets to a public Git repo?"]]></title><description><![CDATA[
<p>Greetings fellow Hackers! OP here. I see that my experiment got some traction which means more awareness should be spread about this class of bugs.<p>For starters I recommend reading "How Bad Can It Git" [1] and "Detecting and Mitigating Secret-Key Leaks inSource Code Repositories" [2] papers.<p>After that you can read "How I made $10K in bug bounties from GitHub secret leaks" [3] and some notable reports on HackerOne Hacktivity [4] [5] and [6]. This last one is interesting - leaking secrets is not only about code repository! Actually it's about entire toolset used for software development, hence secret scanning could (should?) be performed for other places such as CICD logs or even Slack messages [7].<p>Anyhow, back to code repositories. GitHub and GitLab both recognized secrets as a problem, so they came up with solutions. If you use GitHub you can easily integrate GitGuardian [8] into your workflow ($$$) but even if you don't GitHub provides you with Secret Scanning feature [9] (both are mentioned within the Twitter and HN threads). If you use GitLab you have a Secret Detection feature [10] at your disposal BUT in order to use it you need to setup Auto DevOps (that's why in my experiment GitLab didn't alert me - I just pushed commits to my public repo but didn't setup anything).<p>Apart from built-in solutions provided by GitHub and GitLab, one can use tooling of their own choice. For this I'd recommend two types of solutions: proactive and reactive. For proactive security, as mentioned in the Twitter thread, you can use Talisman [11] as pre-commit hook. For reactive security you can use GitLeaks [12] (used by GitLab) or similar tools - there are many of them but one stands out, namely truffleHog [13] which can sniff each and every commit across all branches (also used by GitLab).<p>What if you already commited a secret into the public repository? Start with revoking and continue with this tutorial [14]<p>gl, hf.<p>[1] <a href="https://www.ndss-symposium.org/ndss-paper/how-bad-can-it-git-characterizing-secret-leakage-in-public-github-repositories/" rel="nofollow">https://www.ndss-symposium.org/ndss-paper/how-bad-can-it-git...</a>
[2] <a href="https://people.eecs.berkeley.edu/~rohanpadhye/files/key_leaks-msr15.pdf" rel="nofollow">https://people.eecs.berkeley.edu/~rohanpadhye/files/key_leak...</a>
[3] <a href="https://tillsongalloway.com/finding-sensitive-information-on-github/index.html" rel="nofollow">https://tillsongalloway.com/finding-sensitive-information-on...</a>
[4] <a href="https://hackerone.com/reports/716292" rel="nofollow">https://hackerone.com/reports/716292</a>
[5] <a href="https://hackerone.com/reports/396467" rel="nofollow">https://hackerone.com/reports/396467</a>
[6] <a href="https://hackerone.com/reports/496937" rel="nofollow">https://hackerone.com/reports/496937</a>
[7] <a href="https://github.com/PaperMtn/slack-watchman" rel="nofollow">https://github.com/PaperMtn/slack-watchman</a>
[8] <a href="https://www.gitguardian.com/" rel="nofollow">https://www.gitguardian.com/</a>
[9] <a href="https://developer.github.com/partnerships/secret-scanning/" rel="nofollow">https://developer.github.com/partnerships/secret-scanning/</a>
[10] <a href="https://docs.gitlab.com/ee/user/application_security/sast/#secret-detection" rel="nofollow">https://docs.gitlab.com/ee/user/application_security/sast/#s...</a>
[11] <a href="https://github.com/thoughtworks/talisman" rel="nofollow">https://github.com/thoughtworks/talisman</a>
[12] <a href="https://github.com/zricethezav/gitleaks" rel="nofollow">https://github.com/zricethezav/gitleaks</a>
[13] <a href="https://github.com/dxa4481/truffleHog" rel="nofollow">https://github.com/dxa4481/truffleHog</a>
[14] <a href="https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/removing-sensitive-data-from-a-repository" rel="nofollow">https://docs.github.com/en/free-pro-team@latest/github/authe...</a></p>
]]></description><pubDate>Sat, 07 Nov 2020 11:06:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=25014411</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=25014411</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25014411</guid></item><item><title><![CDATA[New comment by 0xad in "What will happen when you commit secrets to a public Git repo?"]]></title><description><![CDATA[
<p>Awesome, thanks for the background information!</p>
]]></description><pubDate>Sat, 07 Nov 2020 08:44:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=25013876</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=25013876</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25013876</guid></item><item><title><![CDATA[New comment by 0xad in "What will happen when you commit secrets to a public Git repo?"]]></title><description><![CDATA[
<p>You mean adversaries? No. For token generation I used <a href="https://canarytokens.org/" rel="nofollow">https://canarytokens.org/</a> so the only information I got was abou triggering the token, but not the context in which it was triggered.<p>BTW. GitHub (apart from GitGuardian) also has Secret Scanning feature [1] that basically allows the provider to act on the leaked secret. Amazon is integrated and it should invalidate and inform the owner but this also went to Thinkst, not me, so I don't know if it was actually invalidated and alerted.<p>[1] <a href="https://developer.github.com/partnerships/secret-scanning/" rel="nofollow">https://developer.github.com/partnerships/secret-scanning/</a></p>
]]></description><pubDate>Sat, 07 Nov 2020 08:33:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=25013839</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=25013839</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25013839</guid></item><item><title><![CDATA[New comment by 0xad in "What will happen when you commit secrets to a public Git repo?"]]></title><description><![CDATA[
<p>Thanks!</p>
]]></description><pubDate>Sat, 07 Nov 2020 08:14:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=25013780</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=25013780</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25013780</guid></item><item><title><![CDATA[What will happen when you commit secrets to a public Git repo?]]></title><description><![CDATA[
<p>Article URL: <a href="https://twitter.com/andrzejdyjak/status/1324360905237372929">https://twitter.com/andrzejdyjak/status/1324360905237372929</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=25013756">https://news.ycombinator.com/item?id=25013756</a></p>
<p>Points: 133</p>
<p># Comments: 64</p>
]]></description><pubDate>Sat, 07 Nov 2020 08:06:53 +0000</pubDate><link>https://twitter.com/andrzejdyjak/status/1324360905237372929</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=25013756</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=25013756</guid></item><item><title><![CDATA[New comment by 0xad in "Fuzzing the .NET JIT Compiler"]]></title><description><![CDATA[
<p>What AFL needs is _instrumentation_ and of course the easiest way is to get that at compilation step, <i>however</i> you are not constrained by anything to get that part via other means. Check <a href="https://github.com/ivanfratric/winafl" rel="nofollow">https://github.com/ivanfratric/winafl</a> that uses DynamoRIO.<p>So, to answer your question -- it wouldn't be easy but it can be done.</p>
]]></description><pubDate>Wed, 29 Aug 2018 07:07:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=17866298</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=17866298</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=17866298</guid></item><item><title><![CDATA[New comment by 0xad in "Fuzzing the .NET JIT Compiler"]]></title><description><![CDATA[
<p>Great article. Kudos.<p>On a side node, my old project <a href="https://github.com/dyjakan/interpreter-bugs" rel="nofollow">https://github.com/dyjakan/interpreter-bugs</a> along with short presentation I did on WarCon 2017 <a href="https://github.com/dyjakan/conference-talks/blob/master/2017-WarCon-Interpreters-Under-Pressure.pdf" rel="nofollow">https://github.com/dyjakan/conference-talks/blob/master/2017...</a> (references might be interesting for others).</p>
]]></description><pubDate>Wed, 29 Aug 2018 07:03:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=17866283</link><dc:creator>0xad</dc:creator><comments>https://news.ycombinator.com/item?id=17866283</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=17866283</guid></item></channel></rss>