6,663 karma · joined Feb 25, 2016 (10y ago) · 1,775 submissions
Previously AWS Cryptography (2019 - 2023).
Unless otherwise stated, my opinions are my own and do not reflect my employer.
https://scottarc.blog/about/
comment 10y ago · link · parent
If you base your "security talent" hiring decisions the same way you approach "contract customer service representative decisions, you'll end up with very pleasant people who don't know jack shit about security. Which would explain a lot of the results we're seeing. So you might be right.
If anyone is reading this thread and wants their software to be actually secure-- no sugar-coating or letting bad decisions happen-- get in touch. :)
> The people working on code.gov and all of the repositories are truly doing something great. Code has been in the federal government for at least 60 years, probably longer - and this is the first time something like code.gov has been produced. It's an amazing effort, and it's surely not easy to effect change like this at the federal level.
For once, we are in agreement.
> Next time, a simple "Hey, did you guys know about CVE-2015-2171? You may have some vulnerabilities." is all that's needed.
OK, why didn't you do that then?
It's so easy to tell others what to do, when you have no skin in the game. What will you do next time?
- Tell the other person what to do.
- Do it yourself, because it clearly matters to you.
> We need to encourage and support these efforts, not shit all over them.> In short, don't be an ass... please.
I won't be an ass if and only if folks aren't making demands of how I spend my leisure time.
comment 10y ago · link · parent
He taught an offensive computer security course at FSU and published all of the video lectures online. It starts with low-level stuff (memory corruption bugs) and ends with the easy stuff (Kali Linux).
If anyone is looking to learn, this is a great place to start.
1263.
Show HN: Offensive Computer Security (Open Course, Video Lectures)(cs.fsu.edu ↗)
9 points · by CiPHPerCoder · 10y ago · 1 comment
comment 10y ago · link · parent
Except this isn't "some joe random developer", this is software created by and for the US government, which is featured on code.gov.
I'd expect them to take security seriously and apply all upstream security patches immediately, not sit on them for years after they've been resolved.
Anything but that is sheer negligence. What else hasn't been updated which contains vulnerabilities that do affect them?
> The initial issue was he came here and ranted about it, instead of pointing it out to the projects.
That's what joepie91 was trying to explain to you.
> Eventually he "gave in" and reported it to a single project, but took this holier-than-thou tone and was aggressive the entire time. That's ridiculous.
Would you rather I do that or not report it to them at all? Choose only one. If I'm going to do it, I'm not going to do it your way. You can if you want.
Personally, I'd rather not report bugs at all. Until you've reported vulnerabilities to two or three dozen different projects, this might not mean much, but: It burns you out to keep reporting the same flaws to different projects.
Having developers respond to security risks with an air of entitlement just turns up the heat on the burn-out engine.
The first response to my comment here was
You should send in a pull request, or file a bug report in the repo.
Pay attention to the order of operations here. The "should" is immediately associated with a large amount of unpaid work, with an alternative that would also be a large amount of unpaid work disguised as a hypothetically smaller amount of effort. But as others have stated: It's not.> It's not surprising CiPHPerCoder got the reaction he did - it is, however, surprising he decided to do all this under his company's name.
Even if I had remembered to switch Github accounts, people would still associate it with my employer anyway. Kind of a moot point, really.
I gave you what you asked for. Next time, maybe don't tell people what they should do? It's rude to bark orders like that, and it won't get the result you want.
comment 10y ago · link · parent
I know plenty of heterosexual men who would see this as a license to have unprotected sex with as many women as possible and never be burdened by the responsibility of a child.
I'm not saying I agree with this attitude (furthest from it, actually), but "you'll never have kids" probably won't come to them as a negative.
(I'm not hetero, for what it's worth.)
comment 10y ago · link · parent
Generally. But on the other hand, no, this isn't a monoculture, where everyone wants the same exact thing.
> Discussion and review, particularly with the people who are most familiar with the project (the maintainers) is what makes software better, not worse.
Tell that to vim: https://github.com/vim/vim/issues/638
Tell that to node.js: https://github.com/nodejs/node/issues/5798
Tell that to WordPress: https://core.trac.wordpress.org/ticket/21022 https://core.trac.wordpress.org/ticket/25052 etc.
Despite all of the time that industry experts have contributed towards identifying and discussing security problems, these projects have severe inertia in the security realm.
How much more time do you want us to carve out of our lives for projects that won't fix their problems?
> If you're not willing to do that then why comment on issues you find in open source projects at all, other than to stroke your own ego?
I don't like the way this is framed. It's a hidden false dichotomy.
1268.
A collection of the weirdest and funniest bug bounty reports out there(bugbounty.fail ↗)
2 points · by CiPHPerCoder · 10y ago · discuss
comment 10y ago · link · parent
https://github.com/USEPA/E-Enterprise-Portal/search?utf8=%E2...
Looks like the US Government is oblivious to the risk of PHP Object Injection.
https://paragonie.com/blog/2016/04/securely-implementing-de-...
It looks like they're publishing code that, in particular, is vulnerable to CVE-2015-2171.
https://github.com/samilliken/openDCIM/blob/d3e137294179e392...
comment 10y ago · link · parent
I know many who would see that as a blessing though: License to have as much unprotected sex as they want without the unfortunate side-effect of an unwanted pregnancy. And they get paid for the experiment in the first place too? Win-win, they would argue.
comment 10y ago · link · parent
> AES CBC instead of ECB or (gasp) Triple DES
What? This entire vein of conversation is nothing but miscommunication.
These are two choices a developer should use:
* crypto_secretbox() and crypto_secretbox_open()
from NaCl or libsodium
* rm -rf code/ && shutdown
Yes, a privileged few are actually capable of cobbling together a secure cryptosystem out of AES, HMAC, SHA2-family hash functions, and maybe Ed25519 and X25519 if they have a sane implementation available. The general public should just use whatever AEAD mode they're provided and not build their own disaster.> * I would never use 3DES.
Good.
> * I am aware of that, just TLDRing. SHA-256 is my cup of tea.
SHA-384 is mine.
https://blog.skullsecurity.org/2012/everything-you-need-to-k...
Except for passwords. You don't use simple hash functions for passwords.
> * Did I say they were a MAC? I would use CBC HMAC + SHA-256 for that.
I'm assuming you meant AES-CBC + HMAC-SHA-256 here, in an encrypt-then-authenticate mode.
By "assuming" I of course meant "hoping".
> * No idea, since I'm not an expert at AES.
AES expertise isn't the issue here. Composing a secure cryptography protocol out of standard implementations is a rare skill set among software engineers.
1274.
Automatic Security Updates for Developers(paragonie.com ↗)
2 points · by CiPHPerCoder · 10y ago · discuss
comment 10y ago · link · parent
https://tonyarcieri.com/on-the-dangers-of-a-blockchain-monoc...
1278.
Automatic Security Updates for PHP Developers(paragonie.com ↗)
1 points · by CiPHPerCoder · 10y ago · discuss
1279.
Automatic Security Updates for Developers(paragonie.com ↗)
1 points · by CiPHPerCoder · 10y ago · discuss
comment 10y ago · link · parent
To see how Airship differs from other CMS platforms, consult this comparison chart of out-of-the-box security features: https://paragonie.com/project/airship
We'll be releasing version 1.4.0 soon, then shifting gears towards a version 2 (with a minimum PHP version of 7.1) later this month. This means backwards incompatible changes are on the table for discussion.
Although our team has a lot of great security talent, we're not UI/UX experts. We're doing the best we can, but we almost certainly need help in this area first and foremost.
https://github.com/paragonie/airship/blob/master/.github/CON...
CMS Airship is GPL3 licensed, although we offer commercial licenses (under terms equivalent to the MIT license).
Any revenue we receive from commercial license agreements will inevitably be funneled into hiring talented developers to improve the areas we're weak in and make Airship better.
comment 10y ago · link · parent
But I would agree that, where the attitude does exist, it needs to be changed.
Less rock stars, more janitors/mechanics.
comment 10y ago · link · parent
Let's set blame aside for now. What caused this botnet?
- The tendency of IoT/smart-device vendors to eschew engineering discipline
- The tendency of _all_ companies to eschew security as an optional extra
rather than the cost of admittance to the marketplace
- The historical tendency of big companies /not/ being burned to the
ground after a massive hack makes security a lower priority to
many businesses
- The lack of a secure automatic update infrastructure (which also led to a
recall), for which the vendor could have mitigated the vulnerabilities used
- General ignorance about the risks associated with default/weak/hard-coded
security credentials (e.g. passwords)
Now let's look at each line item and discuss possible solutions: + Regulation could help here. Require third party security assessments on
IoT/smart devices to be sold? It's not the most elegant solution, but it
would be a vast improvement over the current state of affairs.
+ This is a cultural problem that makes application security painful in
every business vertical. It takes a lot of one-on-one communication to
resolve. Seeing large companies lose their shirts over security negligence
might change the conversation.
+ This is a huge problem for all software. (See link below.)
+ Education.
Regarding secure automatic updates: https://paragonie.com/blog/2016/10/guide-automatic-security-...Now let's circle back to blame. What is the security industry responsible for? In my view:
- Failure to communicate with other industries and professions,
such as electrical engineering.
- Failure to communicate with developers in general.
- Failure to educate people outside the industry of our own
conventional wisdom.
- Failure to learn the challenges that others are trying to overcome
so security can be on the same team rather than yet another obstacle.
Through the blog posts on my company's website and a concerted effort to clean up Stack Overflow, I've been trying to educate PHP developers about better security practices for the past couple of years. It pays forward in spades. The rest of the security industry could do a lot of good if they did the same for their own respective communities.The only problem with doing that is: There's no effective and ethical way to monetize it. I make more money from helping e-commerce sites recover from being hacked by easily preventable mistakes than I ever have from making the software that powers 30% of the Internet more secure. https://paragonie.com/blog/2015/12/year-2015-in-review
Solving the core problems is good for society, but society doesn't reward this behavior.
The security industry is broken because society is broken.
comment 10y ago · link · parent
Benefit how exactly?
By becoming another mindless conformist whitehat who never exercises full disclosure when a vendor isn't taking security seriously (but oh man will they ever pay lip-service to the idea of taking security seriously)?
That's what a lot of the comments in this thread would have him do, anyway.
I think the best benefit he could get from reading the comments here is the realization that so much of the tech industry knee-jerk-defends software vendors without realizing the importance of diverse vulnerability disclosure practices. Then when someone gets particularly nasty with him, he can shrug it off as just a particularly-vocal entitled developer who has probably never found a security vulnerability before, and proceed with following the established P0 policies.
But he probably already knows/realizes this.
But ultimately, I think the comments here would be a waste of time that could better be spent on things that matter far more than the egos of most HN commenters. Myself especially.
1284.
Automatic Security Updates for Developers(paragonie.com ↗)
2 points · by CiPHPerCoder · 10y ago · discuss
comment 10y ago · link · parent
n.b. https://adamcaudill.com/2015/11/19/responsible-disclosure-is...
comment 10y ago · link · parent
"Another altcoin."
"I wouldn't weigh the odds that this specific system really lasting
more than 4 years out especially high."
ZCash isn't just another fly-by-night cryptocurrency scam. It's a serious engineering effort that was carefully undertaken by some very well-known cryptography and security experts. Matthew Green
Daira Hopwood
Taylor Hornby
Ian Meiers
Zooko Wilcox-O'hearn
Every one of the names in the preceding list is or was involved in the ZCash project to some capacity. Every one of those names stands alone on their own merits.Ask your cryptography expert friends what they think about ZCash. Yes, the one who are always yakking about side-channel cryptanalysis and which character device to use for generating random numbers. If you don't have any such friends, go to ##crypto on Freenode and say "Hi". It's all uphill form there.
Saying the equivalent of "Monero is better" is little better than trolling. Let Monero stand on its own merits; being negative and hostile accomplishes nothing.
Saying the equivalent of "Sigh! Another doomed altcoin" is needlessly pessimistic. ZCash represents what every other altcoin should have been doing all along:
- It uses a real proof-of-work function.
- It offers actual anonymity (an improvement over BitCoin).
- It uses an entropy source that won't fail open (like so many BitCoin apps did).
- It was designed and implemented by a team of academic cryptographers
and industry experts on secure cryptography implementations.
- The team took their time bringing a solid implementation to market.
- Every design decision was documented and discussed openly.
If you have technical concerns about the protocol design or implementation, please don't feel discouraged in sharing them. It's the dismissive attitude that's bothering me.