<?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 Ian Carroll on Medium]]></title>
        <description><![CDATA[Stories by Ian Carroll on Medium]]></description>
        <link>https://medium.com/@iancarroll?source=rss-52e8daa5c2f8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*5xLVqBrtoF7YwyidVZN4-g.png</url>
            <title>Stories by Ian Carroll on Medium</title>
            <link>https://medium.com/@iancarroll?source=rss-52e8daa5c2f8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 05:16:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iancarroll/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[Hacking Sony’s SIEA]]></title>
            <link>https://medium.com/@iancarroll/hacking-sonys-siea-for-fun-and-unreleased-games-af45492f86a7?source=rss-52e8daa5c2f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/af45492f86a7</guid>
            <dc:creator><![CDATA[Ian Carroll]]></dc:creator>
            <pubDate>Thu, 22 Jun 2017 13:41:04 GMT</pubDate>
            <atom:updated>2017-06-22T19:39:29.989Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<p><strong><em>This post has been largely removed in compliance with a notice received from Sony Interactive Entertainment.</em></strong></p><p>Multiple vulnerabilities were discovered in an SIEA internal system. They were responsibly disclosed and fixed.</p><h3>Timeline</h3><p>08/31/2016 (Me) — Notification of Issue A</p><p>09/01/2016 (Sony) — Assigned issue #1472749409</p><p>09/25/2016 (Me) — Request for update</p><p>09/27/2016 (Sony) — “Actively pursuing internal activities”</p><p>04/15/2017 (Me) — Notification of incomplete fix for Issue A, set disclosure deadline of July 14th</p><p>04/18/2017 (Sony) — Acknowledged, requested I “refrain from public disclosure”</p><p>04/18/2017 (Me) — Reaffirmed the 90-day deadline of July 14th</p><p>04/21/2017 (Sony) — Notification that fix will be out by end of May</p><p>04/29/2017 (Me) — Notification of Issue B</p><p>05/01/2017 (Sony) — “Investigating this submission to determine the best course of action”</p><p>05/03/2017 (Me) — Notification of Issue C</p><p>05/04/2017 (Sony) — Assigned #1493927870 to Issue B and #1493927871 to Issue C; “continuing to work” on Issue A</p><p>06/02/2017 (Me) — Notification that Issue A seems to be fixed</p><p>06/07/2017 (Sony) — All issues have been fixed</p><p>06/07/2017 (Me) — Notification that fix for Issue A is incomplete, sent draft post and new 90 day deadline</p><p>06/14/2017 (Sony) — “Investigating this submission to determine the best course of action”</p><p>06/21/2017 (Sony) — Issue A fully fixed</p><p>06/22/2017 (Sony) — Notice to remove this “posting” from public access</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af45492f86a7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bypassing authentication in Invision Power board with CVE-2016–2564]]></title>
            <link>https://medium.com/@iancarroll/bypassing-authentication-in-invision-power-board-with-cve-2016-2564-9a24ea3655f9?source=rss-52e8daa5c2f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a24ea3655f9</guid>
            <category><![CDATA[passwords]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[invision-power-board]]></category>
            <category><![CDATA[php]]></category>
            <dc:creator><![CDATA[Ian Carroll]]></dc:creator>
            <pubDate>Sun, 23 Apr 2017 05:21:01 GMT</pubDate>
            <atom:updated>2017-04-23T05:23:57.750Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
            <content:encoded><![CDATA[<h3>Summary</h3><p>I discovered a potential issue with how Invision Power Board generates its session cookies, which could lead to the compromise of user sessions or the cron key. It was reported and assigned CVE-2016–2564 on 02/25/2016, fixed on 2/26/2016, and the update with the fix was released on 3/21/2016 in version 4.1.9. As far as I am aware, it was present in all 4.0 releases and all releases prior to 4.1.9.</p><p>4.1.9 fixed a few other security issues reported by me in the suite, including:</p><ul><li>Timing-unsafe comparison of the cron key used in the web-exposed cron runner.</li><li>A type conversion issue when comparing MD5 hashes in the web-exposed cron runner, when the auto-generated cron key was a <a href="https://www.whitehatsec.com/blog/magic-hashes/">“magic hash”</a>.</li><li>It was impossible to re-generate the session cookie for a given user, even if the password was changed or all sessions were logged out of.</li><li>The generic encryption class uses `md5(sql_password . sql_database_name)` for deriving an AES key, as well as for the IPS Connect master key. <strong>This was not resolved.</strong></li></ul><h3>Exploitation</h3><p>Invision Power Board takes the MD5 hash of the result of uniqid() , and uses this for various random keys. Most critically, the session key used to identify a user from the cookie uses this method. As the documentation for uniqid() warns, “This function does not generate cryptographically secure values, and should not be used for cryptographic purposes.”</p><p>uniqid() is worse than the manual makes it out to be. An example return value is 58fc30c53db63 . Already, this is only &lt;7 bytes of entropy. But it becomes worse, because without the more_entropy flag set, PHP only uses the current time to generate the return value, as seen in the PHP source code:</p><pre>sec = (int) tv.tv_sec; <br>usec = (int) (tv.tv_usec % 0x100000);</pre><pre>if (more_entropy) {  <br>    uniqid = strpprintf(0, &quot;%s%08x%05x%.8F&quot;, prefix, sec, usec, php_combined_lcg() * 10);<br> } else {  <br>    uniqid = strpprintf(0, &quot;%s%08x%05x&quot;, prefix, sec, usec); <br>}</pre><p>The first four bytes are the current UNIX timestamp, and the last 20 bits are derived from the current time in microseconds.</p><p>This gives a bit less than 2²⁰, or one million, possible results per given second. If you are able to predict when a new session key is generated for a user, you can guess their key with a decent number of requests, depending on how accurate your guess is. On a popular forum, you may not even need to target a specific user, as the number of users logging in at one time may be large enough.</p><p>Someone with the ability to sniff the timing of encrypted traffic may be able to perform this attack with a much lower number of requests.</p><h3>Resolution</h3><p>Invision Power Board chose to simply flip the more_entropy flag. This is still dangerous, but much harder to exploit. As seen above, this utilizes PHP’s internal LCG, which is an insecure RNG, but many more guesses are required, and are likely remotely impractical.</p><p>A better resolution would be to use random_bytes(32) , and ship the <a href="https://github.com/paragonie/random_compat">permissively licensed polyfill</a> for it, written by <a href="https://twitter.com/CiPHPerCoder">Scott Arciszewski</a>. They did not provide a reason for choosing not to use this.</p><p>It is worth noting that something may have changed in terms of their resolution between March of 2016 and today, but since I have not paid $35 to renew my license, I am incapable of checking.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a24ea3655f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An objective test of the anti-spyware application SpyHunter]]></title>
            <link>https://medium.com/certly-inc/an-objective-test-of-the-anti-spyware-application-spyhunter-b7d49f673a2f?source=rss-52e8daa5c2f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7d49f673a2f</guid>
            <category><![CDATA[antivirus]]></category>
            <category><![CDATA[malware]]></category>
            <category><![CDATA[spyhunter]]></category>
            <dc:creator><![CDATA[Ian Carroll]]></dc:creator>
            <pubDate>Wed, 09 Mar 2016 18:50:10 GMT</pubDate>
            <atom:updated>2016-03-09T19:16:35.446Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nc-sa/4.0/</cc:license>
            <content:encoded><![CDATA[<p>Enigma Software Group has been initiating legal action against several entities who have hosted or created reviews that were critical of Enigma’s core product, SpyHunter. SpyHunter is, in the words of Enigma, a ‘malware security suite’. It allows you to scan for threats it detects for free and pay a bi-annual fee to remove them. Because they have claimed that other reviews were inaccurate, we will try to determine whether or not there is reason to discourage its use, backing up our conclusion with unbiased testing.</p><p><em>Full disclosure: I am a member of </em><a href="http://www.bleepingcomputer.com/forums/"><em>one of the sites</em></a><em> sued by Enigma Software Group.</em></p><p>An interesting fact about SpyHunter: it is not available on VirusTotal, nor it is tested by AV-Comparatives or VirusBTN (VB-100). Its landing page on Enigma’s website states that it is ‘certified by West Coast Labs’ Checkmark Certification System’, but we were unable to see the criteria for their certification. They are <a href="https://www.opswat.com/certified/products">listed</a> as a ‘bronze’ partner of OPSWAT, which requires that their program’s installer and uninstaller function, and that they detect at least 30% of the samples it is tested against. As you can see, there is very little information on its ability to detect malware.</p><p>We have retrieved ten samples of functioning malware that is flagged by almost every anti-virus or anti-malware program on VirusTotal; that is, they were all (at the time they were retrieved) flagged by 55 out of 56 of them. At the time we retrieved them, there were no samples detected by all 56. We downloaded ten viable samples and then ran them individually on a machine containing an edition of Windows 10 Enterprise with the free version of SpyHunter installed. We disabled Windows Defender. ‘System Guards’ were enabled and operating, as was ‘Advanced DNS Protection’. It used the ‘2016.03.03v01’ database version or higher and the ‘4.21.18.4608’ product version or higher. The settings were at their defaults. Other specifics of our setup would not be ideal for testing other elements of SpyHunter, like its performance, but it does not present any problems for now.</p><p>The samples were retrieved over plaintext HTTP and launched via Internet Explorer except where noted. We ran a scan via the SpyHunter interface after launching the sample.</p><h3>Conclusion</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hwoJAmftEIMXw-Rl8XFmyw.png" /><figcaption>SpyHunter presumably ensuring the hosts file has not been modified.</figcaption></figure><p>SpyHunter was unable to detect most of the samples we tested. It was only able to prevent one from launching and removed only two after a manual scan was run. It was never able to detect files that were saved to the filesystem. Additionally, we observed that one of its active protection components makes a very high number of QueryBasicInformationFile calls to a very small number of files likely intended to check if they have been modified, which is an odd way to detect changes on an operating system that supports filters. Regardless of their implementation, the ‘System Guards’ that claim to ‘block malicious processes from execution’ did not do their job.</p><p>We cannot tell whether or not SpyHunter has legitimately tried to put themselves on the same level as other anti-virus applications. Based on our observations, SpyHunter does not have a very sophisticated method of detecting malicious files, but they did manage to prevent one out of ten samples from starting. <em>We would not suggest its use based on these results.</em></p><h4>Unknown Execution Guard</h4><p>SpyHunter implements an ‘Unknown Execution Guard’, which presents the user with a dialog box asking if they want to execute a file when they attempt to do so. This feature is triggered almost every time you run an executable and operates via what we presume is a whitelist. So when Enigma’s lawyer said that an unrelated test showed SpyHunter ‘identifying’ all ten samples via the Unknown Execution Guard, we were wary.</p><blockquote>You conducted a simple test to determine whether SpyHunter 4 would locate and block access to 10 malware programs that you selected. SpyHunter 4 identified and warned you about each one. You state in your “review” that you would prefer that ESG had configured the “Allow” and “Block” buttons <strong>in its Unknown Execution Guard</strong> differently. — <a href="http://www.bleepingcomputer.com/legal/cease-desist-others/Innitial-Letter-redacted.pdf">Eric Prager, K&amp;L Gates</a></blockquote><p>Warning or alarm fatigue is a well understood problem in general where users frequently encounter a recoverable error or warning they should not click through. <a href="http://www.welivesecurity.com/2013/07/15/warning-fatigue-means-browser-users-ignore-up-to-70-of-security-alerts/">A study conducted by the University of Berkeley</a> showed that Google Chrome’s SSL error pages resulted in the user skipping them <strong>70% of the time</strong>. Today, Chrome’s error pages are more carefully designed and require multiple clicks to bypass. In the case of Unknown Execution Guard, it is simply not correct to state that SpyHunter ‘caught’ a malicious executable via Unknown Execution Guard because <strong>it did not identify the file as malware, </strong>nor was it a dialog that a user would think twice about ignoring. If you insist on counting Unknown Execution Guard’s warnings as legitimate detections, though, you might have problems with false positives. At one point, we were prompted twice in five minutes to allow legitimate Windows executables to run as part of an update, while our tenth sample did not trigger Unknown Execution Guard at all.</p><h3>Samples</h3><p>The following headings are the SHA-256 hash of the tested file. You can go to <a href="http://malware-spyhunter.s3.amazonaws.com/&lt;number&gt;.exe">http://malware-spyhunter.s3.amazonaws.com/&lt;number&gt;.exe</a> to download them; the number must be spelled out, like “aws.com/one.exe”.</p><p><strong>Total samples: </strong>10</p><p><strong>Functioning samples:</strong> 9</p><p><strong>Samples detected upon launch: </strong>1 (10%)</p><p><strong>Samples detected in a scan: </strong>2 (20%)</p><p><strong>Undetected files:</strong> 7 (70%)</p><h4><a href="https://www.virustotal.com/en/file/66eed11527c96881f866f951a704bc4a0fb60d87524a3bdee29326ac240ef04c/analysis/">66eed11527c96881f866f951a704bc4a0fb60d87524a3bdee29326ac240ef04c</a></h4><p>This sample executed successfully after SpyHunter asked if we wanted to run an ‘unknown object’. SpyHunter was unable to detect it in a scan.</p><p>This file was first discovered in 2009.</p><h4><a href="https://www.virustotal.com/en/file/eb203c7ef08bc9ff858e2f635e29ed80bab555f618131587717c9ad3cda31cb4/analysis/">eb203c7ef08bc9ff858e2f635e29ed80bab555f618131587717c9ad3cda31cb4</a></h4><p>This sample executed successfully after SpyHunter asked if we wanted to run an ‘unknown object’. A Windows dialog informed us the software may not have installed correctly, and we consented to installing it with compatibility settings enabled as an administrator. SpyHunter detected it in a scan.</p><p>This file was first discovered in 2009.</p><h4><a href="https://www.virustotal.com/en/file/14d5f845a887d9c7bdc94ae94f0860bd6486ef0f7a6826ea2a2aa04b25a6f474/analysis/">14d5f845a887d9c7bdc94ae94f0860bd6486ef0f7a6826ea2a2aa04b25a6f474</a></h4><p>This sample failed to properly execute (not due to SpyHunter) after it asked if we wanted to run an ‘unknown object’. SpyHunter was unable to detect the executable itself in a scan; the sample did not make any other changes to the system.</p><p>This file was first discovered in 2012.</p><h4><a href="https://www.virustotal.com/en/file/684a768ea2a3085a33b13a8a2ba738d2e37e0ecbaf421828515dc624cefa2e23/analysis/">684a768ea2a3085a33b13a8a2ba738d2e37e0ecbaf421828515dc624cefa2e23</a></h4><p>This sample was blocked by SpyHunter after its execution was attempted. However, we were able to save it to the filesystem without any warnings.</p><p>This file was first discovered in 2006.</p><h4><a href="https://www.virustotal.com/en/file/c4f5ed2b0e08b4def3b5b2ccafbac067d7dc7940e4d94e889b55ef376014930a/analysis/">c4f5ed2b0e08b4def3b5b2ccafbac067d7dc7940e4d94e889b55ef376014930a</a></h4><p>This sample executed successfully after SpyHunter asked if we wanted to run an ‘unknown object’. SpyHunter was unable to detect it in a scan.</p><p>This file was first discovered in 2009.</p><h4><a href="https://www.virustotal.com/en/file/11fd1ef035be316074253d10c9d0e19b9d5d3a3060b2803c3ae4741a649f23d6/analysis/">11fd1ef035be316074253d10c9d0e19b9d5d3a3060b2803c3ae4741a649f23d6</a></h4><p>This sample executed successfully after SpyHunter asked if we wanted to run an ‘unknown object’. SpyHunter was unable to detect it in a scan.</p><p>This file was first discovered in 2009.</p><h4><a href="https://www.virustotal.com/en/file/2b3c454d5a91e3f3011fcc6d442c2f1a6b122907996da5921660a1d6e55333ec/analysis/">2b3c454d5a91e3f3011fcc6d442c2f1a6b122907996da5921660a1d6e55333ec</a></h4><p>This sample executed successfully after SpyHunter asked if we wanted to run an ‘unknown object’ twice. UAC asked for confirmation of opening regedit, and a warning was presented about applying registry files. After accepting, the computer rebooted. SpyHunter was unable to detect it when it started scanning upon reboot; during this scan, it froze and then resumed when we tried to expand a registry key it marked safe.</p><p>This file was first discovered in 2013.</p><h4><a href="https://www.virustotal.com/en/file/1cee70eb10ee562a3f9613424df60df8a5c1f762b28ba6832fd11f2fbae3fbf8/analysis/">1cee70eb10ee562a3f9613424df60df8a5c1f762b28ba6832fd11f2fbae3fbf8</a></h4><p>This sample executed successfully after SpyHunter asked if we wanted to run an ‘unknown object’. SpyHunter was unable to detect it in a scan.</p><p>This file was first discovered in 2014.</p><h4><a href="https://www.virustotal.com/en/file/041a914d59f53dda7702fca4aafbb2a2e0ab42b630ddd5d8497a7c036d91e863/analysis/">041a914d59f53dda7702fca4aafbb2a2e0ab42b630ddd5d8497a7c036d91e863</a></h4><p>This sample executed successfully after SpyHunter asked if we wanted to run an ‘unknown object’ twice. UAC asked for confirmation of opening regedit, and a warning was presented about applying registry files. After accepting, the computer rebooted. SpyHunter was unable to detect it when it started scanning upon reboot.</p><p>This file was first discovered in 2013.</p><h4><a href="https://www.virustotal.com/en/file/e7f605c5820929d2ac13728fd85db22c3c2292107cd11120f168f735ca55a5c9/analysis/">e7f605c5820929d2ac13728fd85db22c3c2292107cd11120f168f735ca55a5c9</a></h4><p>This sample executed successfully (without confirmation being requested from SpyHunter). We were not entirely sure if the sample ran successfully the first time, so it was saved to the Downloads folder and ran it from there, which caused it to successfully execute. SpyHunter detected the sample in a scan.</p><p>This file was first discovered in 2006.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7d49f673a2f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/certly-inc/an-objective-test-of-the-anti-spyware-application-spyhunter-b7d49f673a2f">An objective test of the anti-spyware application SpyHunter</a> was originally published in <a href="https://medium.com/certly-inc">Certly, Inc.</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Replacing log.certly.io]]></title>
            <link>https://medium.com/certly-inc/replacing-log-certly-io-9a4f82b4ba55?source=rss-52e8daa5c2f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9a4f82b4ba55</guid>
            <category><![CDATA[tls]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[certificate-transparency]]></category>
            <dc:creator><![CDATA[Ian Carroll]]></dc:creator>
            <pubDate>Sun, 27 Dec 2015 20:09:13 GMT</pubDate>
            <atom:updated>2016-03-09T13:41:14.169Z</atom:updated>
            <cc:license>https://creativecommons.org/licenses/by-nd/4.0/</cc:license>
            <content:encoded><![CDATA[<p><strong>Update: log.certly.io has been migrated to new hardware as of March 9th, 2016 and as a result will not be shut down. We intend to modify log.certly.io’s accepted roots to the list below on March 31st.</strong></p><h4>Original Post</h4><p>Certly will be phasing out log.certly.io starting on January 1st, 2016. It will remain active and in compliance until March 15th, at which point we will return HTTP 410 on all submission endpoints. On March 29th, we will turn off access to log.certly.io. We may make available a snapshot of all logged certificates and signed tree heads around that time.</p><p>We expect that Chrome will trust all certificates issued with a log.certly.io SCT between now and March 15th, and will update this post with any necessary information as it becomes available.</p><p>We will be deploying a new Certificate Transparency log at ct.certly.io on or around January 1st, 2016, with a new set of root certificates and a new key. We expect the following root certificates to be in the new log’s approved submitter list, along with any testing/compliance roots.</p><ul><li>GlobalSign (R1)</li><li>GlobalSign (R2)</li><li>GlobalSign (R3)</li><li>GlobalSign (R4)</li><li>GlobalSign (R5)</li><li>GlobalSign (R6)</li><li>AddTrust External CA Root</li><li>UTN — DataCorp SGC</li><li>Izenpe.com (x3)</li><li>ISRG Root X1</li></ul><p>If your root is not listed here, you may contact ian@certly.io to discuss its addition.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9a4f82b4ba55" width="1" height="1" alt=""><hr><p><a href="https://medium.com/certly-inc/replacing-log-certly-io-9a4f82b4ba55">Replacing log.certly.io</a> was originally published in <a href="https://medium.com/certly-inc">Certly, Inc.</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bypassing Memory Requirements on GitHub Enterprise]]></title>
            <link>https://medium.com/ian-carroll/bypassing-memory-requirements-on-github-enterprise-4cca855f23d4?source=rss-52e8daa5c2f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cca855f23d4</guid>
            <category><![CDATA[github]]></category>
            <category><![CDATA[azure]]></category>
            <dc:creator><![CDATA[Ian Carroll]]></dc:creator>
            <pubDate>Fri, 25 Dec 2015 03:58:43 GMT</pubDate>
            <atom:updated>2015-12-25T03:58:43.403Z</atom:updated>
            <content:encoded><![CDATA[<p>I run a GitHub Enterprise instance at git.ian.sh for my private repositories and other things that I don’t want to put on GitHub. Unfortunately, GitHub Enterprise demands 14GB<strong> </strong>of RAM, which turns out to be fairly expensive along with its solid state disks on Azure. It turns out GHE only needs about 6 GB of RAM when used with one or two users, keeping the cost well under my Azure BizSpark credits. However, GHE will fail to start on Azure if you do not give it &gt;=14GB of RAM.</p><p>To bypass this check, simply run `sudo touch /etc/github/devmode`. The preflight script called by the ghe-storage service will detect this file and lower the amount of RAM it requires. I’m not sure what else, if anything, devmode enables, so proceed with caution. If you don’t want to enable devmode, you can edit /usr/local/share/enterprise/ghe-preflight-check to change the 14 in “:memory =&gt; [MEMORY + 2 * TOLERANCE, DEV_MODE ? 3 : 14, GB],” to 3.</p><p>This will also void any support you can obtain from GitHub, so make sure you know what you’re doing.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cca855f23d4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ian-carroll/bypassing-memory-requirements-on-github-enterprise-4cca855f23d4">Bypassing Memory Requirements on GitHub Enterprise</a> was originally published in <a href="https://medium.com/ian-carroll">Ian Carroll</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Surprisingly, “Cyber Crypto” is not secure.]]></title>
            <link>https://medium.com/ian-carroll/surprisingly-cyber-crypto-is-not-secure-c6d5b32b0f4c?source=rss-52e8daa5c2f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6d5b32b0f4c</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[cryptography]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Ian Carroll]]></dc:creator>
            <pubDate>Tue, 27 Oct 2015 23:09:55 GMT</pubDate>
            <atom:updated>2015-11-25T22:22:00.176Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://www.christosberetas.com/Downloads.html">Cyber Crypto</a> is a tool for encrypting files, and is advertised by its author on both social media and its website to provide “inviolable encryption”. The author <a href="https://twitter.com/c_beretas/status/652958712676622336">completely avoids</a> discussing the technical details of his application and is strongly opposed to reverse engineering, as you’ll see later on.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*NQ-q7oUk6WHfwz19y3qu7A.jpeg" /><figcaption>The program’s screenshot from one of its primary download locations, MajorGeeks.</figcaption></figure><p><em>Cyber Crypto</em> takes a password and file location as input before encrypting or decrypting the chosen file. It does its job quickly: it can detect an invalid password immediately after you press the “Decrypt” button. The outputted files are pure text, and we can establish that they are encoded with Base64.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yIpQVTFuHFbvddBDfEcd5A.png" /><figcaption>The test file provided to “crack”.</figcaption></figure><p>Now that we know it’s Base64, we can decode it and see what it contains. As it turns out, this program encodes the encrypted file twice. Now that we’re left with a Base64 string that makes no sense, we can at least reassure ourselves the encryption is not pure Base64.</p><p>When I was initially investigating this program, Michael Bailey posted the source code to its encryption and decryption routines as a comment on one of the author’s spam posts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/695/1*DUEDmQk5v4CDAeMPdp6n8A.png" /><figcaption>Wait a second…</figcaption></figure><p>The above code has too many errors to cover here, so we’ll keep it short. They’re using ECB, a block cipher that leaks repetitive plaintext (which files will often have). They’re also using <em>hardcoded keys</em>. When you “Load” an encrypted file into <em>Cyber Crypto</em>, it splits it into two parts: the password, and the file contents. The password is sequentially encrypted with four keys, all stored within the program’s source. The file is sequentially encrypted with nine keys, also available to anyone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/1*CvuqRQA3kkGDSHcBcb1AHw.png" /><figcaption>Cooking with ECB may have disastrous results. And putting your keys in plaintext.</figcaption></figure><p>Now that we know the password can be easily decrypted, we also know that the program has the password and must be comparing it. Indeed, after using the brilliant tool dotPeek, we’re able to see that it compares the inputted password to the decrypted one. dotPeek allows us to open and edit <em>Cyber Crypto</em> in Visual Studio. The one-line “fix” is to simply replace the “if (passwordA == passwordB)” with “if (true)” and re-build it. Now, passwords aren’t checked and the program will decrypt any file we give it, regardless of the password.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uQLID2WW0upxPhyxIys63w.jpeg" /><figcaption>The decrypted challenge file.</figcaption></figure><h3>Response</h3><p>There are two ways to respond to a security issue: ignore it, or fix it and push out an update. The author invented a third way by publicly critiquing comments about its cryptography and then calling me a “skid” for “illegally” reverse-engineering his program. Oh well, still got a blog post out of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/469/1*HFXN3zxsMFDCUjMBLDUG-g.png" /></figure><p>Christos authored this tool and another tool called “Pandora’s White Box”. Both advertise encryption functionality, and one of them uses hardcoded keys. I’m sure someone will eventually review the second one and determine it also uses this weak cryptography, given this tool was published after <em>Pandora’s White Box</em>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6d5b32b0f4c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ian-carroll/surprisingly-cyber-crypto-is-not-secure-c6d5b32b0f4c">Surprisingly, “Cyber Crypto” is not secure.</a> was originally published in <a href="https://medium.com/ian-carroll">Ian Carroll</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Certly Partners With Hackers@Berkeley To Issue Free Certificates To Student Hackathons]]></title>
            <link>https://medium.com/certly-inc/certly-partners-with-hackers-berkeley-to-issue-free-certificates-to-student-hackathons-522a8325700a?source=rss-52e8daa5c2f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/522a8325700a</guid>
            <category><![CDATA[hackathons]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Ian Carroll]]></dc:creator>
            <pubDate>Fri, 16 Oct 2015 00:16:18 GMT</pubDate>
            <atom:updated>2015-10-16T00:17:36.987Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>This post was originally posted off of Medium on September 23rd.</blockquote><p>Certly has announced a partnership with <a href="https://hackersatberkeley.com/">Hackers@Berkeley</a> to issue free publicly-trusted certificates to all student hackathons.</p><p>Most hackathon registration sites collect personal information over HTTP, potentially exposing sensitive data. A large majority of Major League Hacking <a href="https://mlh.io/seasons/f2015/events">hackathons</a> do not serve their enrollment pages via TLS, a protocol for encrypting web traffic. Additionally, some insecurely link to secure forms, presenting an opportunity for active attackers to substitute or strip TLS from the linked form. Providing hackathons with free certificates will help improve the security of both the hackathon and the participant.</p><p>To help avoid common configuration and security issues, Certly will offer implementation support to ensure TLS is configured correctly.</p><h4><strong>We encourage all student hackathons to </strong><a href="http://goo.gl/forms/BwT0gfWgPh"><strong>apply for a free certificate</strong></a><strong>.</strong></h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=522a8325700a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/certly-inc/certly-partners-with-hackers-berkeley-to-issue-free-certificates-to-student-hackathons-522a8325700a">Certly Partners With Hackers@Berkeley To Issue Free Certificates To Student Hackathons</a> was originally published in <a href="https://medium.com/certly-inc">Certly, Inc.</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>