<?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 Tom Sparks on Medium]]></title>
        <description><![CDATA[Stories by Tom Sparks on Medium]]></description>
        <link>https://medium.com/@tomsparks?source=rss-bb1c540f405------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xccm_qhuhR5vuF2g.</url>
            <title>Stories by Tom Sparks on Medium</title>
            <link>https://medium.com/@tomsparks?source=rss-bb1c540f405------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 13:55:55 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tomsparks/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[What can we learn from the arrest of Telegram’s CEO?]]></title>
            <link>https://medium.com/@tomsparks/what-can-we-learn-from-the-arrest-of-telegrams-ceo-5983dd5f7357?source=rss-bb1c540f405------2</link>
            <guid isPermaLink="false">https://medium.com/p/5983dd5f7357</guid>
            <category><![CDATA[uk]]></category>
            <category><![CDATA[telegram]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[france]]></category>
            <category><![CDATA[usa]]></category>
            <dc:creator><![CDATA[Tom Sparks]]></dc:creator>
            <pubDate>Sun, 25 Aug 2024 21:16:34 GMT</pubDate>
            <atom:updated>2024-08-26T01:09:52.154Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*oFrADppn5UbWqUmM27wT-g.jpeg" /><figcaption>Telegram CEO, Pavel Durov</figcaption></figure><p>Many of you may have heard that Pavel Durov, the CEO of Telegram, was recently arrested by the French police. In my opinion, the reasons for his arrest are weak, as Telegram itself is not responsible for the content that its users create and share. This situation highlights a significant issue for companies operating within the EU and similar jurisdictions: if a state actor decides to target you, your options for recourse become severely limited.</p><p>At its core, Telegram is just a messaging app with features that allow users to join chat groups and share content. The question arises, what’s wrong with that? The primary issue lies in the false sense of security that Telegram, and similar platforms, offer by claiming to be encrypted. Is it safe to post sensitive information on such platforms? Absolutely not. Telegram groups are inherently insecure because anyone in the group can see and attribute your posts to you. This is not an issue unique to Telegram but applies to most group messaging software.</p><h4>What Can I do about it?</h4><p>If you use any group chatting software, the weakest link is usually the other participants and their devices. Many high-profile “leaks” in recent years have occurred because someone’s personal computer was compromised or the individual was coerced into giving up access.</p><p>Most mobile phones today feature biometric methods of unlocking, such as facial recognition. This means that criminals or law enforcement can simply point your phone at your face to gain access. If you’re concerned about law enforcement in the U.S., note that it’s generally illegal for officers to compel you to unlock your phone using biometrics. For criminal threats, consider switching back to a passcode for added security.</p><h4>Actions to Consider</h4><p>Given the arrest of Telegram’s CEO in France, it’s crucial to exert any influence you can on the government to advocate for privacy rights. Platforms should not be held responsible for the content they host. Similar issues are emerging in the UK, where restrictions on speech are tightening. The fear is that such overreach could eventually extend to the U.S., where some political leaders have already shown contempt for freedoms such as speech, assembly, and due process. Collective action is necessary to oppose government overreach.</p><p>Links</p><ul><li><a href="https://www.nbcnews.com/news/world/telegram-messaging-app-ceo-durov-arrested-france-rcna168114">https://www.nbcnews.com/news/world/telegram-messaging-app-ceo-durov-arrested-france-rcna168114</a></li><li>NYT Article — <a href="https://archive.ph/ubO81">https://archive.ph/ubO81</a></li><li><a href="https://arstechnica.com/security/2024/08/shocker-french-make-surprise-arrest-of-telegram-founder-at-paris-airport/">https://arstechnica.com/security/2024/08/shocker-french-make-surprise-arrest-of-telegram-founder-at-paris-airport/</a></li><li>Forbes Article by Zak Doffman — <a href="https://archive.ph/4Munu">https://archive.ph/4Munu</a></li><li><a href="https://news.yahoo.com/news/telegram-ceo-arrest-absolutely-ridiculous-164541058.html">https://news.yahoo.com/news/telegram-ceo-arrest-absolutely-ridiculous-164541058.html</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5983dd5f7357" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is 5G dangerous?]]></title>
            <link>https://medium.com/@tomsparks/is-5g-dangerous-405a19e9ea88?source=rss-bb1c540f405------2</link>
            <guid isPermaLink="false">https://medium.com/p/405a19e9ea88</guid>
            <category><![CDATA[radiation]]></category>
            <category><![CDATA[5g]]></category>
            <category><![CDATA[fake-news]]></category>
            <dc:creator><![CDATA[Tom Sparks]]></dc:creator>
            <pubDate>Wed, 10 Jul 2019 22:40:55 GMT</pubDate>
            <atom:updated>2019-07-11T04:30:51.905Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been asked this question a bunch, usually by people who don’t understand what it is, so I’m going to write a quick article about it.</p><p><strong>What is radiation?</strong></p><p>Radiation comes in a couple forms, namely ionizing and non-ionizing radiation. I won’t copypasta from a physics textbook but basically ionizing radiation is the dangerous one. Gamma radiation is one example, and its fairly dangerous but you won’t really find much of it out there (outside of reactors/etc). Beta radiation is a bit safer, you can find radioactive sources in watches (I love mine BTW) and its generally not a problem. RF radiation is non-ionizing, therefore its not harmful.</p><p><strong>Radio Waves, How do they work?</strong></p><p>Again, I don’t want to copypasta from a textbook but radio waves (aka RF) are non-ionizing and therefore are generally harmless. I say generally because the bulk of the RF in our lives comes from man-made equipment, and if you’re grounded when you touch a radio thats emitting 1KW of RF, you might get a burn. Watch this video and you’ll get an idea.<br><a href="https://www.youtube.com/watch?v=iiirMEdiJQI">https://www.youtube.com/watch?v=iiirMEdiJQI</a></p><p><strong>So what is 5G?</strong></p><p>5G RF is made up of a few different bands, but since its all sub-terahertz, its non-ionizing and perfectly safe.</p><p><strong>So is 5G safe?</strong></p><p>Yes, and anyone who tries to tell you otherwise is fearmongering. Don’t buy into the fake news. In addition, The American Cancer Society and National Cancer institute says “its fine”<br>(<a href="https://www.cancer.org/cancer/cancer-causes/radiation-exposure/cellular-phones.html">https://www.cancer.org/cancer/cancer-causes/radiation-exposure/cellular-phones.html</a>).<br>Also the FCC has some information which also says “its fine” (<a href="https://www.fcc.gov/general/radio-frequency-safety-0">https://www.fcc.gov/general/radio-frequency-safety-0</a>)</p><p><strong>So is 5G dangerous?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/455/1*jmYD6UXkJxc4amRzQld0qA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=405a19e9ea88" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What you need to know about the DockerHub penetration]]></title>
            <link>https://medium.com/@tomsparks/what-you-need-to-know-about-the-dockerhub-penetration-3b9e5fe7a493?source=rss-bb1c540f405------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b9e5fe7a493</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Tom Sparks]]></dc:creator>
            <pubDate>Mon, 29 Apr 2019 16:47:34 GMT</pubDate>
            <atom:updated>2019-04-29T17:28:37.900Z</atom:updated>
            <content:encoded><![CDATA[<p>This week I’m going to write about DockerHub and hopefully that’ll be a bit less controversial because they’ve released a fair amount of information and also hopefully people didn’t store important stuff in what is essentially public cloud. (<a href="https://success.docker.com/article/docker-hub-user-notification">link to official announcement — https://success.docker.com/article/docker-hub-user-notification</a>)</p><p><strong>What is Docker Hub?</strong></p><p>DockerHub is a self described “container content library and ecosystem”, basically what that means is people store their container builds there for everyone to find. If you want a container for something, chances are its there. Chances are if you store your production containers there, other people maybe can find them too if they know where to look. What might be in those containers you ask? I’m going to assume secrets, and by secrets I mean usernames, passwords, API Keys and stuff like that. All too often they’re afterthoughts and this is why your passwords end up on giant public lists.</p><p><strong>What should I do?</strong></p><p>Before I go down the road with whats messed up, what you need to do is change ALL of your passwords and pull all of your old images off Docker Hub and rebuild then redeploy them (or just delete and undeploy them). You should also cycle all source control tokens and do a check to see if any of your GitHub/Bitbucket data has been changed. Any secret that you may have included in a container image should be considered compromised. This means AWS, Azure, GCP, BitBucket, GitHub, SendGrid, Gmail, Travis, CircleCI, etc. If you’re an end user, you’re basically out of luck and you’re going to have to have faith that your vendor is doing all of this behind the scenes.</p><p><strong>Why should I care?</strong></p><p>The short answer is you should care if ANY company you have data with uses Docker Hub, your data could be compromised right now and possibly weeks prior. The scope of things is pretty broad -&gt; “Data includes usernames and hashed passwords for a small percentage of these users, as well as GitHub and Bitbucket tokens for Docker autobuilds.” which is a lot of stuff. Unless you use a HIDS for your containers, you should assume any container that was on DockerHub to be compromised. Yes, that’s a broad statement, but we have no true way of telling what the intruder did and we have no real idea what “brief” means in the context of Docker telling you about the timeline of this event. Docker is a “real” company so I don’t think they’re going to BS you about what happened but I also don’t know if they have the resources to ensure that every customer image is as it was originally submitted. If you read the release it says they have additional protections on Docker Official releases, I suspect most customers don’t have that level of protection.</p><p><strong>How pwned am I?</strong></p><p>Frankly I don’t know and unless you have someone designated to handle breaches in your organization you won’t know either. If you handle financial data, you should probably do some work to validate what you’ve got deployed. If you’re a forum or social media website, you might get defaced or have some stupid posts appear (here’s a funny one — <a href="https://www.facebook.com/glen.danzig.35">https://www.facebook.com/glen.danzig.35</a>) or just have nothing happen because you weren’t interesting. If you’ve got a personal project I suspect nothing will happen to you unless you’re Satoshi. Either way change your passwords and tokens because there’s no real way to be sure and cycling passwords/tokens is way cheaper than being screwed over.</p><p><strong>How do I avoid this?</strong></p><p>There are a lot of ways but you probably won’t like most of them very much. If you have already guessed, I’m a fan of having a perimeter that most of the internet isn’t allowed into. It simplifies a lot and makes anomalies a lot easier to identify and track. If your app server doesn’t usually send a couple hundred MB to Outer Mongolia, its probably a bad sign. If your C level officer logs in from Balaklava when he’s clearly in the next room, you’ve got a problem unless you’re in the Crimean millitary. If you can’t have a perimeter, you should cryptographically sign everything and make sure there are never any keys/secrets to anything that you push out to a 3rd party vendor, ever. If you’ve got all of your docker or “cloud” stuff on-prem then you probably don’t need to worry as much, but if you’re like a lot of companies you’re hybrid or cloud first so you should batten down the hatches.</p><p>If you have questions or anything feel free to ping me!</p><p>Footnote: One of the biggest things I got from last week was that I was trying to tear down someone and frankly that’s not what I want to do. Security is not easy and the harder it is to have people buy in, the harder it is for the real work to get done. I want to cheer lead people to help them do the right thing and ultimately I want to help them. Best practices aren’t always obvious if you don’t have an infosec nerd around and frankly most of us are a bit salty so you might have a hard time with it.</p><p>📝 Read this story later in <a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=guest_post_read_later_text">Journal</a>.</p><p>🗞 Wake up every Sunday morning to the week’s most noteworthy Tech stories, opinions, and news waiting in your inbox: <a href="https://usejournal.com/newsletter/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=guest_post_text">Get the noteworthy newsletter &gt;</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b9e5fe7a493" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What can we learn from the matrix.org compromise?]]></title>
            <link>https://medium.com/@tomsparks/what-can-we-learn-from-the-matrix-org-compromise-c6ae06dcaab?source=rss-bb1c540f405------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6ae06dcaab</guid>
            <category><![CDATA[hacking]]></category>
            <category><![CDATA[infosec]]></category>
            <category><![CDATA[vpn]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Tom Sparks]]></dc:creator>
            <pubDate>Mon, 22 Apr 2019 20:46:46 GMT</pubDate>
            <atom:updated>2019-05-06T21:44:19.885Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oi5MZmwe1E9FeXmrJSA6Eg.jpeg" /><figcaption>Sound advice from the matrix.org hacker</figcaption></figure><p>On April 11th, matrix.org was announced <a href="https://matrix.org/blog/2019/04/11/we-have-discovered-and-addressed-a-security-breach-updated-2019-04-12/">(https://matrix.org/blog/2019/04/11/we-have-discovered-and-addressed-a-security-breach-updated-2019-04-12/</a>) as deeply compromised by an outside attacker. Matrix is self described as “An open network for secure, decentralized communication” so its pretty reasonable to ask why this happened. The TLDR is that even really smart people make mistakes, sometimes its hubris, but in this case it appears to be the lack of some security best practices. The other thing to note is that the attacker was undetected inside of Matrix’s systems for quite some time and developed a detailed understanding of their operations</p><p><strong>What happened?</strong></p><p>The attacker was nice enough to create GitHub reports for them so they could track and close the problems, it was recapped in this PR <a href="https://github.com/matrix-org/matrix.org/issues/371">(https://github.com/matrix-org/matrix.org/issues/371</a>) by one of the project members. To boil down what happened, outside ssh access was allowed by some poorly configured and vulnerable software. Once SSH access was obtained, the attacker was able to compromise some other pieces of their infrastructure and were then able to exploit that to get into pretty much everything.</p><p><strong>How you can avoid this kind of compromise</strong></p><p>There are a few key pieces that allowed this compromise to happen but I think the biggest problem was the lack of a properly secured perimeter. If Matrix had been using a VPN to protect their systems, this could not have happened. When you’re using internet facing systems your threat surface is basically all of the internet and using a VPN cuts that down to just your authorized users. Another big problem was their use of GitHub to store secrets and other potentially important pieces of data. This is a fairly common problem and one of the big reasons I tell people to get GitHub Enterprise or self-host GitLab and require VPN access to it. I again point to the fact that really smart people make boneheaded mistakes and the best way to protect your data is to reduce the cost of mistakes.</p><p>One of the more interesting pieces of this was how Ansible was used to keep the attacker in the system. The attacker had access to the config repo and knew about a bad sshd configuration. Frankly, one of the reasons that I dislike Ansible is that it requires users and interactive permissions on systems, something that people should be moving away from. I started using Salt (master+minion, no ssh) a couple years ago and it has a bit more advanced security model which basically eliminates that problem. Salt even has a new security product so you can configure/manage and secure your systems with Salt, pretty cool!</p><p>Two more important things to consider are that you should have good logging in place and you should use two factor authentication. These things are pretty easy now and TOTP (Time based One Time Password) is basically free. OpenLDAP is easy to setup with this and allows you to securely manage system user credentials without doing something terrible like linking it to your email system. If you want to use SaaS, take a look at FoxPass or if you’re vendor locked to Amazon check out their Directory Service. For logs my go-to choice right now is LogDNA. They’re super easy to integrate and very reasonably priced. They have an on-prem version too so you can scale up really easily.</p><p><strong>Security doesn’t have to be hard</strong></p><p>It really doesn’t, for the most part you just have to apply common sense. Hopefully this breakdown helps some people get a sense of what to avoid doing in the future. I’m going to try to blog more regularly about this issue and I’ll publish some more checklists and tools to make security easy.</p><p>Feel free to ping me if you have comments or questions.</p><figure><a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=tech&amp;utm_content=guest_post_image"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PYxBP_WV7LI6zc-zdUkNqQ.png" /></a></figure><p>📝 Read this story later in <a href="https://usejournal.com/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=tech&amp;utm_content=guest_post_read_later_text">Journal</a>.</p><p>👩‍💻 Wake up every Sunday morning to the week’s most noteworthy stories in Tech waiting in your inbox. <a href="https://usejournal.com/newsletter/noteworthy-in-tech/?utm_source=medium.com&amp;utm_medium=noteworthy_blog&amp;utm_campaign=tech&amp;utm_content=guest_post_text">Read the Noteworthy in Tech newsletter</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6ae06dcaab" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>