4,235 karma · joined Sep 10, 2015 (11y ago) · 1,525 submissions
comment 11y ago · link · parent
All they need is for a policeman to physically seize a device while it is unlocked.
Or even while it is locked with encryption keys stored in memory, and some custom tech to read the RAM from a running device.
I'd wager that people with sufficient physical security to prevent this are very rare, and it works against any sort of device that doesn't have a dead man's switch.
comment 11y ago · link · parent
As a consequence, it seems that if you use Ada's GC, you might as well use Java instead, and if you don't you might as well use C++ instead, which along with its unattractively verbose and not C-like syntax is probably why Ada is not very popular despite having been around for 30 years.
comment 11y ago · link · parent
That is, if anyone finds a bug impacting safety in the ECU code, the manufacturer has to pay $1 million to them.
If any employee shows they release obfuscated source code, or the binary is not compiled from that source code, they get $100 million reward paid by the company and criminal charges are filed against those responsible.
comment 11y ago · link · parent
For decades, it has been known that C and C++ are bad languages due to their unsafety, and the use of C/C++ is probably the top cause of bugs and security holes in software; however, switching required giving up performance or features.
Now that finally a solution to this problem has become available after so much time, it's natural that people are enthusiastic about it.
comment 11y ago · link · parent
The API works on top of TLS, which already includes cryptographic authentication of all data (usually via SHA-1/2 HMAC or AES-GCM).
The hash would be computed at the client right after reading from disk and right before TLS enryption, and since they seem to terminate TLS at the storage server it would be computed right after TLS decryption and right before storage, so it doesn't seem to provide any gain.
I think they should just remove it, or at least make it optional.
comment 11y ago · link · parent
Eventually it could make sense for Backblaze to partner with someone like DigitalOcean or Linode and offer low cost bulk storage and low cost virtualization colocated in the same datacenter: these services seem to be a perfect complement for each other.
comment 11y ago · link · parent
The real question is whether the spctl tool displays "Apple" in case of a valid (relative to generic CAs) certificate issued to "Apple". Hopefully that's not the case.
Another risk is a specifically designed executable capable of compromising spctl.
comment 11y ago · link · parent
Basically, the customer subscribes to the service and gets discounted meals at the cost of not being able to choose the restaurant himself.
Restaurants can use the service whenever they expect to have empty tables, allowing to still profit for them, but with a reduced profit margin.
I'm not sure if it works for restaurants in particular, but it should work for businesses that cannot easily change supply levels, aren't selling something that is completely a commodity and ideally where varying suppliers is enjoyable for customers.
comment 11y ago · link · parent
Partitions and datacenter failures only determine whether the system is up or not, and thus its availability properties.
comment 11y ago · link · parent
You can just consider that as a failure of the whole datacenter.
The ninjas could just as well chop all the external network connections, which would result in actual datacenter failure (from a client/service PoV), so it shouldn't increase the rate that much.
comment 11y ago · link · parent
The real tradeoff is much simpler: if you want a consistent system, it will be slower and more expensive.
Regarding availability in a consistent system, as long as more than half of the servers are working and connected with each other, they will be able to elect a leader and function in a consistent way (using the Raft protocol for instance). Now as long as a client can connect to at least 1/k of the servers in the majority it can just keep trying connecting to random servers until it finds a reachable one in the functioning majority in time proportional to k.
For systems within a single datacenter, redundant networking makes partitions almost impossible, and having enough hosts makes losing more than half almost impossible, so the only failure mode is losing the whole datacenter. For systems distributed among multiple datacenters, availability is almost guaranteed unless a global catastrophe causes a global Internet partition (such as Eurasia and America no longer being connected).
The only issues, again, are that it's more expensive because you need more nodes and redundant networking and that it's slower because nodes have to communicate among each other before commits can be confirmed, especially if that needs to be done across datacenters. In particular, write throughput does not necessarily scale with more nodes in a consistent system, since all writes could modify the same value (after reading it) and that's not parallelizable in the general case.
comment 11y ago · link · parent
Has anyone in the team switched to using it for all their browsing? If not, when do you plan to start?
Anyway, thanks for working on this! Servo is one of the most important software projects, since it will hopefully give us a secure or at least securable browser, and maybe give a chance for Mozilla, the most trustable browser maker, to get the #1 market share spot.
comment 11y ago · link · parent
The practical advice they give is in the form of obvious generalities ("setup your firewalls", "update your OS") without any concrete details on how to best do that or even a discussion on which attacks are prevented and which aren't
Threat model discussions, advice on choosing which threats you can realistically defend against, theoretical principles and talk about possible attacks also seem to be non-existent.
comment 11y ago · link · parent
This also only really works for software specifically designed for this mode.
EDIT: it can actually be mostly secure if the client public key is sent before locking and then the encryption is done by the server: the attacker would only learn the number and timing of new messages and their size (assuming an ad-hoc protocol and very carefully implemented software).
It's also sort of possible to do it with generic software by simply dumping HTTPS TCP traffic to disk and decoding it once the system is unlocked (although it allows a MITM to fill up your disk unless the ciphersuite allows authentication with a key that doesn't allow decryption).
comment 11y ago · link · parent
Even a very generous 100 engineer team paid at 300k/year for 3 years only costs 100 millions.
If no one is looking into it, it's reasonable to assume that whoever is supposed to look into it is the one who stole the money.
comment 11y ago · link · parent
Also there is a 15 bytes instruction length limit that would have to be extended if 64-bit immediates were allowed on all instructions.
comment 11y ago · link · parent
This means you should browse the web, read e-mail and read any Office/PDF/whatever files sent to you in a virtual machine that doesn't have access to anything more than strictly needed.
The reason is that most desktop software and OS kernels are not written with total security against NSA-like adversaries in mind, and as a result often have exploits that completely compromise the system. While they can still provide reasonable security against random attackers, they cannot provide any significant security against organizations (such as intelligence agencies) who can offer millions of dollars for exclusive access to unpatched exploits and MITM any connection.
You can install Qubes [https://www.qubes-os.org] if you want a system that makes it more convenient and secure to use virtual machines this way (and you trust its authors to not have backdoored it).
Furthermore, you should only install software from official sources and when you install software, you should make sure to check its digital signature or hash (from a separate virtual machine, since the one you are browsing with is potentially compromised as discussed above)
If you don't already have a trusted signing key stored on your machine, you should download the file itself or something guaranteeing its integrity if available (signing key, HTTPS certificate, file hash) from multiple Internet connections, such as a residential ISP, mobile ISP and multiple instances of Tor and make sure the downloaded data is the same. This is very likely to foil a targeted attack specifically designed to give a special trojaned version of the file or a replaced signing key under the attacker's control.
Of course it's impossible to defend against the original authors of the software being malicious or compromised themselves, or against an attack designed to give everyone maliciously altered software when you don't have a trusted key/certificate, but those are more likely to be discovered. Even if the downloaded software is malicious, if you are separating software by virtual machine as described above, the damage will be limited to the virtual machine the software runs in.
There are a lot of other things to consider, such as defending from physically targeted attacks (e.g. someone breaking in your home and installing a keylogger) if you are not anonymous and keeping your anonymity if you are.
comment 11y ago · link · parent
It seems natural that picking the best performer and the best song writer would give a better result than having the same person do it all.
It's a bit like complaining that in a videogame, the programming, game design and graphics are often done by different people.
comment 11y ago · link · parent
The reality is that almost nobody uses it that way, it's not tested for that and due to the huge API surface area the chance of some kind of exploit is so large that it cannot be secured even if it people tried.
The only reason "root" exists currently is to make it less likely to accidentally change or destroy the operating system.
There is no way to provide a multi-user experience on a physically accessible system (cannot defend against physical attacks), and the way to provide it on a remotely accessible system is to assign a virtual machine to each user.
comment 11y ago · link · parent
This means that someone sending a PGP signed e-mail saying "I audited that the source code of GNU Foo with hash 0xdeadbeef... is free of backdoors" is violating GNU Foo's copyrights unless he releases his private keys.
This is obviously a very undesirable outcome, and so it's resonable to hope that hashing does not create derivative works, and thus signing doesn't either.
Including the scripts to install in the "preferred form" also seems very problematic because then you might also be forced to include a full copy of the hard drive of your development machine since that's an even more "preferred form" under that theory.
This is also a very undesirable outcome, so it's again reasonable to hope that "preferred form" does not necessarily include things that were absent in the original work and that aren't essential for reproducing the binary derived work itself.
comment 11y ago · link · parent
Of course, the fact that he's asked for a password while being already logged in on Gmail is also suspicious, but less so since other sites do that.
comment 11y ago · link · parent
2. CFO enters his Google credentials on a random website
3. CEO takes CFO e-mail as valid without checking for the existence and verifying a PGP signature
4. CEO sends Bitcoin for an existing customer to a new address he got by e-mail rather than to the established one
On the positive side, the CEO eventually sought confirmation from the customer.