HNHacker News
TopNewBestAskShowJobs

jamieweb

689 karma · joined March 3, 2018

Security Engineer

Email me: blog [at] (my HN username) [dot] net

Read my stuff: https://jamieweb.net/blog

My projects: https://jamieweb.net/projects

[ my public key: https://keybase.io/jamieweb; my proof: https://keybase.io/jamieweb/sigs/3Z1Yj4UoT3Wh1aHF-usg2CGzRzZriqrT-vGRsS5A5FM ]

submissionscomments
jamieweb··on Ubuntu 20.04 LTS (Focal Fossa)
I was specifically talking about the default, trusted Ubuntu Apt repositories, not custom PPAs which are of course inherently untrusted.

> You install it, at worst it will cryptomine that is it.

If that happens then I have no choice but to assume a full system compromise and nuke my machine. It's not a risk I'm willing to take, as there's essentially no way to definitively prove that that's all the malicious Snap was doing.

> Oh and you can remove it completely with all traces unlike deb equivalents.

Snap sandboxing is rarely utilised in a meaningful way, and the permissions for a particular app are controlled by the author by default. In most cases there's nothing explicitly preventing a malicious Snap from gaining persistence even after it is removed.

In other words, Snap sandboxing is in no way comparable to a 'proper' solution like a well-configured Firejail or a VM.

jamieweb··on Ubuntu 20.04 LTS (Focal Fossa)
What do you mean? I'm assuming that this is a Snap Store feature?

My concern is really more about the command-line, as that's how I (and probably most technical users) install packages.

jamieweb··on Ubuntu 20.04 LTS (Focal Fossa)
> The only 'con' is the pushing of Snap packages. It looks like deb files only can be installed via the terminal.

My main concern with Snap is security.

Using the default Ubuntu Apt repositories, I can `apt install` pretty much anything I want and it's almost guaranteed to not be malicious/dangerous, as only trusted/well-established developers can get their package into the Apt repos.

However, with Snap, everybody in the world can publish any old rubbish in the Snap Store, including packages that typosquat the names of others.

Snap's current 'protections' for this are mainly reactionary rather than preventative, which is far from satisfactory [1].

For me, the absolute key selling point of Linux over Windows/Mac is the secure-by-default and natively integrated package management. Pushing Snaps as the main package management method goes too close to the Windows way of just downloading random EXEs from the internet.

I personally would like to see Apt remain as the default system package manager for all common/well-known software, with Snap existing purely as a 'community' repository for software that is known to be untrusted/unknown.

[1] https://forum.snapcraft.io/t/is-there-any-protection-against...

jamieweb··on Ubuntu 20.04 LTS (Focal Fossa)
But certain packages are migrating to Snap-only, e.g. Chromium.

I understand why they're doing this (primarily to save on build times), but the way they've gone about it (using a transitional Apt package that just installs the Snap) is messy and inconsistent.

If I type `apt install` then I want an Apt package. Under no circumstances should this install a Snap.

jamieweb··on Ubuntu 20.04 LTS (Focal Fossa)
You're right regarding the sandboxing. Snaps use 'plugs' to add sandbox exceptions that can be configured by the package author and enabled at install time, e.g. to allow access to your home area or the network.

Even if the sandboxing may technically prevent the package escalating to root or whatever, this is a fairly moot point on a personal computer as everything valuable is probably in your home area.

jamieweb··on Ask HN: What are some great resources to practice SQL?
Sqlectron [1] is a great open-source GUI SQL client that allows you to see what you're doing in real-time, which helps massively with practising.

You can also use it to validate what you've done using other tools. E.g. if you write some PHP or Python to interact with a database, you can open it in Sqlectron to double-check for yourself that it worked correctly.

[1] https://sqlectron.github.io/

jamieweb··on Ask HN: What is your vision for the best high tech government experience?
* Improved access to the democratic process, e.g. allowing testimonials in formats other than attending a town hall in-person

* Improved version control and auditability of all Government documents - the authoritative source of all bills/legislation should be a markdown file in a public Git repository with each contributor accurately recorded, rather than a hard-to-find PDF on an obscure website

* Mandatory open-sourcing of code that is funded by taxpayers, in-line with what https://publiccode.eu are campaigning for

* Competitive salaries for technical IT staff - the IT requirements of Governments are so complex and diverse, yet they have the lowest-paid IT staff working on them

jamieweb··on Ask HN: Looking for someone to help create a trusted CA
Other commenters have already covered the political/financial difficulties of this, so I won't mention those.

However, the journey of CertSimple may be marginally relevant to what you're proposing.

They were a small CA focusing entirely on the easy issuance of Extended Validation certs.

Disregarding the fact that EV never actually had any proven value (except for some code signing use cases), they did have a nice little business.

As far as I know it was a one-person company at first, and they were able to piggyback off the infrastructure of an existing CA. I can't remember whether it was an intermediate cert or simply reselling.

I was going to link to them but they seem to have shut down or been absorbed into another company.

jamieweb··on BGP and RPKI
They most likely didn't actually 'turn on' RPKI, but just began filtering the test range that Cloudflare are using.

This will allow them to pass Cloudflare's test page, without actually validating and rejecting invalid routes or even necessarily signing their own.

jamieweb··on Is BGP Safe Yet?
For those who don't have their own Autonomous System, but want to play with RPKI validation, you can join DN42 [1] and validate routes there.

Netravnen kindly provides a route export compatible with GoRTR and Routinator [2], which has been working nicely for me.

[1] https://dn42.us

[2] https://github.com/netravnen/dn42-roa-export

jamieweb··on Now I understand why almost no one uses encrypted email
I remember reading about Individual Validation (IV) certificates, which I believe were similar to Extended Validation (EV) certificates, but for individuals.

I don't think they ever really took off (or even existed), and there isn't anything in the Baseline Requirements / EV Guidelines as far as I know.

Nowadays they seem to be a bit of a myth, as there is very little evidence of them online except for use in code signing.

jamieweb··on Ask HN: How would you download a browser without a browser?
Some devices that claim not to have a browser do actually have a browser, as it is used solely for Wi-Fi captive portals.

I seem to remember that the Nintendo Switch has one of these 'hidden' browsers.

jamieweb··on Ask HN: How often do you change your master password?
Is this because of habit or is there a particular attack scenario that you're trying to mitigate?

If you're using a local password manager app such as KeePassXC, the password is almost a moot point as an attacker would need access to the password vault file. If they have this level of access to your system already, they could easily keylog your password or just dump the unlocked vault from memory. Changing the password also wouldn't really help as a previous version of the vault file could still be unlocked with the old password.

If you're using a cloud-based password manager such as 1Password, you're better sticking with a long, secure master password, rather than trying to remember a new one each month. As long as the password is unique and your local system is trusted, other security controls such as 2FA and account lockout should mitigate any concerns.

There are a few edge-case scenarios where changing your master password monthly may help:

* You reuse the password on other services (which you probably aren't as that's exactly what the password manager is for)

* You log on to your password manager using shared/untrusted devices

* Your local system was compromised sometime during the month, but then somehow isn't any more

jamieweb··on Ask HN: Programs that wasted you 100 hours?
The new web-based Outlook 365 is a lot better, but still quite buggy and massively lacking compared to Fastmail.
jamieweb··on Analyzing HN readers' personal blogs
It would also be interesting to analyse the domain name registrars and DNS hosting providers used.

Based on my experience with the HN crowd, I'd predict that Gandi + Cloudflare would be a common one, with NameCheap closely behind.

jamieweb··on COBOL programmers answer call
https://publiccode.eu/
jamieweb··on Ask HN: Why do registrars force you to use their nameservers first?
For 'consumer' registrars, it's probably because 95% of their customers are small non-tech businesses who just want a website and don't know what DNS is, etc.

Nowadays, name server changes for well-maintained TLDs usually propagate within an hour or so based on my experience.

jamieweb··on Open-Source Virtual Background
This is exactly how it worked in Photo Booth on OS X over 10 years ago. It was good enough for short clips, but not reliable for long sessions.

Random example clip: https://youtu.be/T5uqB1Kqukw

jamieweb··on IDA Home is coming
Another +1 for Cutter from me, it's absolutely brilliant.

$365 per year is still prohibitive for most hobbyist/home use. I was hoping it'd be $100 one-off, or $60 per major release + 2 years of updates, or something like that.

That should allow them to regain some popularity with hobbyists, whilst still making the bulk of their money from the BigCorps paying $$$ for a commercial license.

jamieweb··on Tell HN: Toilet paper, hand sanitizer, and now web cams
Why would you want a video feed anyway? If you're just having a talking meeting, I don't really need to see your face, and also don't want you to see mine.

Edit: Maybe I'm antisocial, but I have talking meetings all of the time with people I know well, but never feel the need for video.

jamieweb··on An alternative to using Google Analytics on your website
For those interested, my own solution to this was to use AWStats with an anonymization script [1].

It provides high-level analytics such as unique visitors, referring sites and most viewed pages, without having to store any personal data such as IP addresses, and it's 100% server-side.

IP addresses are compared against a Bloom filter in order to count unique visitors, without actually permanently storing them.

[1] https://gitlab.com/jamieweb/web-server-log-anonymizer-bloom-...

jamieweb··on Show HN: Wikipedia over DNS
Would it be possible to support returning a larger excerpt of the article within a single TXT record?

You should be able to get up to 64 KiB (minus a few bytes for headers, etc) within a TXT record. The lookup will have to use TCP though.

jamieweb··on Ask HN: Is accepting a phone call a threat vector?
I think what you're asking about is security threats such as RCE, information disclosure, etc, rather than threat vectors based on social engineering.

Modern mobile phones do send/receive call data in a digital format (albeit over an analogue transmission medium), so there is theoretically the potential for deserialisation vulnerabilities, buffer overflows, etc.

I'm not an expert in mobile telephony protocols, however my current understanding is that RCE/crashing a mobile device just by calling it using a standard phone line is extremely unlikely, but not impossible.

However, for desktop phone equipment (think office IP phones), the attack surface is significantly larger and there have been numerous proven attacks and against them, but these (almost always) require access to the phone via an IP network, rather than a traditional phone line.

Other 'calling' apps such as WhatsApp or Skype are a completely different question, as you've already noted.

If you're not a high-value target, I'd say that it's not a risk to be concerned about individually. Just keep your phone patched and follow other general best-practises.

In the event that a major vulnerability via phone call was discovered, it would most likely either be used in targeted attacks against high value individuals, or it'd be used in large scale 'annoyances', e.g. by teenagers pranking their friends.

As for your actual question, the repeated scam calls were most likely a broken automation system (as @lima said), or just a nasty scammer that really wanted you to answer.

As a side note, this article [1] by Google Project Zero goes into quite some detail about the fully remote/unattended attack vectors present on an iPhone. Though not directly related to your question, it's a very interesting read.

[1] https://googleprojectzero.blogspot.com/2019/08/the-fully-rem...

jamieweb··on Ask HN: What do you self-host?
Good job for using MTA-STS. :)
jamieweb··on Ask HN: Is having a unique handle for profile pages a problem?
Have a look at OnioNS (Onion Name System). It's a method for allowing users to claim unique names while limiting the effects of squatting, as it takes continuous computational power to retain a name.

This probably isn't going to help with your web app, but it's an interesting part of the theory to understand.

jamieweb··on Ask HN: What are the gaps in current infrastructure software?
This is for organisations that either do not have skilled developers, or for organisations where the development team doesn't look after core infrastructure.

The target audience for this is traditional sysadmin roles and Windows technicians - in other words, people who are not used to non-GUI stuff.

jamieweb··on Ask HN: What are the gaps in current infrastructure software?
Proper version-controlled DNS that is usable by non-developers.

Existing solutions like DnsControl and OctoDNS are great for development/devops teams who are familiar with Git, CI/CD, editing files in-line with a specific syntax and creating a merge request.

However, these can often be foreign concepts to general sysadmins or Windows technicians.

What'd be great would be to have a nice web frontend that implements version control with Git, and uses DnsControl or OctoDNS as the DNS-editing backend, but completely abstracts this complexity away from the users.

A comparable problem would be that non-developers may find Git on the command-line challenging, but the GitHub/GitLab web GUIs make it easy. I want to be able to say: Non-developers find DnsControl and OctoDNS challenging, but [x open-source solution that doesn't exist yet] makes it easy.

jamieweb··on Ask HN: Who has the best personal website/blog?
NODE's is pretty nice: n-o-d-e.net
jamieweb··on Ask HN: How do you make yourself productive after a tiring day at work?
How long is your commute? If your commute is short and/or fast-paced (e.g. speed walk, bus/train that is on time), then you can often carry forward the productivity from work for a bit at home.

This often works for me, but as soon as I eat, I'll have to take a few hours break in the evening, then become productive again in the late evening.

jamieweb··on Ask HN: What are some fun projects to try out on a spare Linux file server?
Rosetta@Home - perform medical research using your spare CPU cycles.
← PreviousPage 3 of 8Next →