Better HN
topnewbestaskshowjobs
Log inSign up

problems

3,239 karma · joined Oct 3, 2016 (10y ago) · 1,374 submissions

Submissions

comment 9y ago · link · parent

The attitude is simple - don't give your code, and especially don't give access to your devops repositories to 3rd party companies who simply don't need it.

If a security vulnerability happens on the public Fogzbugs instance, we'd be bitten by it badly in this sort of situation. In our setup, we protect against that by exposing the JIRA webserver and git servers only inside of our private network.

It's not about perfect security, but it does greatly reduce the attack surface when the server isn't even accessible via the internet. I can't prevent anyone who wants to from signing up for the free trial of Fogzbugs and exploiting their publicly running system - even logged-in-only exploits are possible in such a case.

Not to mention the issues with downtime on these cloud providers. My provider has had 1 sizeable, noticeable outage in the last 5 years. It spanned about 20 minutes. Look at a big, popular cloud service like GitHub - they've had several in the past year alone, spanning hours at times.

I find these sorts of compromises where I'm offering my code and server configurations to a 3rd party company (where basically any admin there is free to read it, or anyone who can compromise their admins) to be rather poor. I'd rather keep the blame within my own company and be in control of our data fully rather than having to worry about whether Fogzbugs operations follows proper security precautions, I only have to worry about whether we do.

Call it paranoid if you want, but I think it's a more than reasonable precaution to not just throw your data around to anyone who asks for it. Especially data which could lead to compromise of servers and customer information. I value my customer's information much more than I value any gains from some easy to use cloud service.

comment 9y ago · link · parent

If you're willing to talk publicly, what's the pricing like for a very small, self-hosted group? I'm talking 3 normal users, might scale up to 5 or so.

We're probably too small to be worth your time, but JIRA is offering $10/yr for up to 10 users, $10 more if you want the JIRA Agile features too.

comment 9y ago · link · parent

Fogbugz seems to really be pushing their cloud stuff though, so I basically ruled it out instantly when I was researching options - it's unacceptable to have to host our code and tracker off-premises on hardware we don't control. Whereas even a small team can run JIRA or GitLab on their own hardware for a very reasonable price.

comment 9y ago · link · parent

Yeah, I agree. I've worked with many alternatives but JIRA shines compared to the competition, especially at managing agile workflows.

comment 9y ago · link · parent

> does prevent out certain attacks.

No, it doesn't. If I have filesystem access in the sense you're talking I can just replace the application's executable with a malicious or modified one for example, which will allow me to steal your password still.

Correct me if I'm wrong here and there is some exploit class which might allow reading of but not writing to private application data and executables? I certainly haven't seen one and this would be the only scenario in which what you're saying has an impact.

As for the theft scenario - you could just as easily prevent the theft risk by setting a password on your device which would protect it at the platform level - where it should be. It'd also prevent other private data leaks which I'd say are higher risk than your router password which is useful only on your internal network, like your SMS messages, email accounts, authenticator tokens, etc. None of which I might add ask for passwords, dumping Google Authenticator tokens is as simple as running a SELECT on the sqlite database, they're not encrypted at all.

comment 9y ago · link · parent

> they'll need to install a keylogger or brute force your master password

Not true, they can simply dump the RAM on your browser while your passwords are decrypted, which is probably the case when you run their malware anyways. It's a completely pointless half measure to encrypt those passwords. Worst case they have to patch it or hook it with something like Frida to do it next launch cycle. Keyloggers just ain't targetted and automated enough for me at least, but it's fairly trivial to just grab what you need from memory and run.

In fact according to this bug, the master password is stored in cleartext in RAM when your firefox is logged in so a simple string search on a memory dump could potentially do the job for someone without even the smallest RE capability:

https://bugzilla.mozilla.org/show_bug.cgi?id=539608

If you have the RE capability to do one, it's not really any more than is required to do the other. It's not another hurdle. Just doing it at runtime instead of purely on disk.

comment 9y ago · link · parent

> First, I'm not aware of any tech giants who store passwords in the clear.

Mozilla, Microsoft and Google all effectively do this in their browsers. Don't believe me? Run the nirsoft webbrowserpassview. With just the files in your profile directory someone can dump your passwords. Sure, they're not "in the clear" but in practice it's just as bad if not worse. The number of accounts stolen with things like istealer is ridiculous. You can literally grab someone's entire lifetime of accounts in a fraction of a second.

I'd argue this isn't something a good developer would even attempt as it provides little more than a false sense of security to users. Good developers should be safe to absolutely refuse half measures like this as I do.

comment 9y ago · link · parent

> Assuming attacker has root while the customer is logging in. But what if the attacker only has access to the file system (e.g. in the case of a stolen phone, or a broken jail/sandbox)? In that case, requiring a password/PIN to unlock the stored credentials does provide some protection to the user.

Has such a case ever occurred? I can't think of one. Of course, if you have filesystem access you can replace the application on disk, patch it to steal the password easily.

> Ultimately, the answer is very simple: if you can't store credentials securely, then don't store them at all!

Many users want it anyways, and it's secure enough that unless you have remote attacks or the security level of Windows desktops with people downloading executables and running them constantly, it's unlikely to be an issue.

It's a trade-off, of course, but I don't think that means it's an unreasonable one to make.

Of course, you should probably go ahead and tell this to browser vendors. Script kiddies are running around selling accounts because of how they store passwords - encrypted, but in a total half measure way. Personally, I don't think it's reasonable to hold D-Link liable for a trade-off that even the biggest companies in tech make all the time. And one which is much more costly in those cases too!

There's just no secure way to do this on today's computers, we must rely on the security of the platform here. If storing passwords in this way is a problem, it's a platform security issue or a user issue, not an application issue.

TPMs have the potential to solve this, but at some scary costs which may adversely impact security in other ways, like preventing reverse engineering.

comment 9y ago · link · parent

Were people who made things from lead and asbestos decades earlier held liable for not knowing they would be found bad decades later?

No (or at least, not to my knowledge), instead people just had to buy new things. Standards change. New security vulnerabilities are discovered. Liability doesn't stand in these cases.

If you can't possibly find every security vulnerability in your product, you shouldn't be held liable for the inability to do so. You have to disclaim that, as I'm sure D-Link does.

comment 9y ago · link · parent

Correct me if I'm wrong, but isn't #4 just encouraging security through obscurity? If I hacked someone's phone, I can read those credentials, whether that amounts to reading them off the device, sniffing the connection, injecting code into an app, etc. Not encrypting the credentials on the device is not a security offense as it's not a valid security mechanism. Go ask Mozilla, Google and Microsoft about how well their encrypted credential stores work against freely available NirSoft tools or actual malware like iStealer.

comment 9y ago · link · parent

Mostly not remotely exploitable or not easily, so they can probably get away fine. There's no giant Android botnet eating the internet.

comment 9y ago · link · parent

This is a ridiculous comparison - there are standards for these things, toys and buildings, provided by governments and insurance companies that you can simply meet and then disclaim almost all liability in the future. Nothing like this exists for security.

No one wants to insure your product is secure, even if they've fully audited it themselves - it's too easy to miss something and make a mistake, especially so in the C-centric world. Software security is a minefield much more so than standard building codes, child safety laws or meeting the best of standards insurance companies may request of those things.

The only alternative here is that we go all-in. Everyone who develops software is individually responsible for it, we all pay insurance for our ability to develop software. Because just about any piece of software can be a huge security liability.

Sounds like a scary world to me, one in which I would have never gotten involved in software development.

comment 9y ago · link · parent

Yes, you don't sign any agreement to see or click on ads. Clicking them is in no way fraudulent, just standard behavior.

comment 9y ago · link · parent

I assumed it would be under the user button where logout was, similar to Ubuntu I suppose. Ubuntu has this clever little gear combined with a power button to represent shutdown and setting very clearly visible on the desktop. And I knew the unix way, so I just went with it when it wasn't where I first thought. I didn't even realize you could click the Apple logo until after that happened I don't think, I had assumed it was just an application icon. Seems dumb now, but it was out of the way enough that I didn't think about even trying it.

comment 9y ago · link · parent

Coming from someone who's used Windows and Linux for years, but bought a Macbook a few years back when they were the only ones offering high DPI displays - personally I found the OSX UI really clunky - confusing file manager which seems to prefer keeping icons in the same physical place even if they overlap others, weird buried menuing system. I can't even figure out how to properly maximize a window, I find myself pressing every different combination of shift+click, ctrl+click, cmd+click, etc. It's very confusing and annoying for someone who's never used it before.

I couldn't even figure out how to shutdown via the GUI for the first few months of using the system and would always open a terminal and run a shutdown command until a friend caught me doing it and told me how.

So - in my experience, any decent desktop environment feels a lot better than OSX. Be it Unity, KDE or Windows. CLI is much better on Linux or FreeBSD than OSX, simply look to the clunky hack package management systems used on OSX.

Maybe I'm past the point now where learning is easy for me, or maybe I just wasn't interested in learning OSX that much. But with all the "oh the GUI is so amazing" reviews I sort of assumed it would Just Work.

Eventually I just gave up, I had to get off it - the GUI was too annoying on OSX to use on a daily basis and I found myself always running my Bootcamp'd Windows. Last week I blew OSX away and replaced it with Ubuntu, it took a bit of hoop jumping to get all the hardware happy, but it works now and I'm never buying Apple again. As for better hardware - I'm probably buying Dell next time, they ship 4k displays now, better resolution than Apple and have better Linux support. Also, cheap accidental warranty and a better GPU at a lower price.

comment 9y ago · link · parent

Comey was in a bind. Internal leaks were happening - if word got out of more Clinton email investigations before he made it public, he'd have been screwed and when it leaked, he'd look very partisan.

If he were to publicly announce it as a major issue, he'd have looked partisan. Instead he tried to walk the middle ground by announcing it publicly and downplaying its significance. It was a challenging situation and it seems a fairly reasonable response to me. About as principled as he could be given the situation at hand.

comment 9y ago · link · parent

But Valve's current policy clearly seems sufficient to protect against this just fine - the Australian consumer protection law takes it ridiculously far, especially for a small development shop working on a product advertised as "early access".

comment 9y ago · link · parent

It still seems a bit ridiculous when it comes to games. Most games can be beaten in less than 7 days and excuses made to get a refund under such laws, especially with early access titles. What's a company to do in such circumstances?

It's important to keep a good balance between consumer protection and productive economy. I think the law is in the wrong here, not Valve in this case. As someone else has pointed out though, this may have been prior to Steam's refund policy being added.

comment 9y ago · link · parent

You can also use something like enet which allows for both reliable and non reliable channels.

comment 9y ago · link · parent

Sorry, that's not what I meant, I simply meant that their terms seem extremely good to me, so what exactly is the conflict with australian consumer law? Does it expect refunds to still be offered after a quite fair trial period on products labelled as "early access"? That is what seems against common sense to me.

comment 9y ago · link · parent

I'm not arguing that they didn't violate something legally, just that it seems stupid.

What exactly did they violate? It seems against common logic if they're within the bounds their own website offers here.

comment 9y ago · link · parent

Valve's refund policy is pretty amazing, <2 hours played and <14 days and you're good. Better than Google's even.

I've refunded games for being made in 2016 and not DPI scaling on 4k properly. Wonder if this guy did something ridiculous and then tried to refund it, it seems like Valve's reasons are conveniently edited out in this very one-sided post.

comment 9y ago · link · parent

... this code literally just scrapes images from recaptcha right now, and it barely does that.

If you want it broken, all you have to do is take these images and feed them through a captcha cracking service that uses humans and get them to input numbers for the corresponding squares. Works fairly well in my experience. And $1/1k you can't argue with.

comment 9y ago · link · parent

By putting the infohash in the URL your site is effectively equivalent to The Pirate Bay - you're distributing links to pirated content, the only important thing in a magnet link is the infohash, the rest can be obtained via DHT.

For example:

https://iknowwhatyoudownload.com/en/torrent/?infohash=81ac3d... -> magnet:?xt=urn:btih:81ac3df677afb84211d59443fbb65f5f584cfa1a

Paste into torrent client and download. You might want to doublehash that to avoid a potential legal threat.

comment 9y ago · link · parent

Yes, their stock Oxygen OS ROM is quite stable and you should be perfectly happy with it, there's a pretty good community around it even if CyanogenMod were to completely vanish too.

OnePlus has had some build quality issues when they were first setting up their supply line, but lately I've had very good luck with their devices. Great specs for cheap, like the Nexus line used to represent.

comment 9y ago · link · parent

Nothing about paranoid android was security oriented to my memory. They used to have some cool features like HOLO and dynamic DPI switching, but basically lost all of that as android versions came out and they didn't keep up.

comment 9y ago · link · parent

> Grass fed beef is higher quality than corn fed beef

So - can I taste the difference? In what way is it "higher quality"? Is it a difference I'm willing to pay for or one that isn't really worth it? I think we've settled with what we have because the quality improvement just isn't that much, if it's noticeable at all.

I've compared many organic and local products side by side with commodity variants and found little to no difference to my tastes, so I have to wonder - is it worth it at all? Certainly not to my cheap palate at least.

comment 9y ago · link · parent

It's incredibly trivial to get this kind of quality if you're willing to go out of your way and pay a relatively small premium to get it. Many local markets exist.

Personally, I don't find it to be worth it, I don't notice the "quality" as much as some people seem to and I'm not willing to pay even a small premium for it. You've picked a few particular things, some of which only appeal to a very small niche market - you might argue that people have learned out "quality" in their tastes, but that's an opinion, not a fact.

comment 9y ago · link · parent

His point was that crypto wasn't pleasant. In reality it's that x509 isn't pleasant.
1
383940
46