Better HN
topnewbestaskshowjobs
Log inSign up

CiPHPerCoder

6,663 karma · joined Feb 25, 2016 (10y ago) · 1,775 submissions

My name is Scott. I do a lot of open source security research, and cryptography.

Previously AWS Cryptography (2019 - 2023).

Unless otherwise stated, my opinions are my own and do not reflect my employer.

https://scottarc.blog/about/

Submissions

comment 10y ago · link · parent

> I think Wordpress gets a lot of flak from all of the custom code/plugins while the WP core has been pretty secure in recent years in fixing 0-days?

I don't entirely agree or disagree. It's a nuanced topic.

The WordPress core team sat on a Unicode-based SQL injection flaw for years, after it was known to their team, then tried to sneak the fix in under the guise of Emoji support.

https://kraft.im/2015/05/how-emoji-saved-your-sites-hide/

Part of fixing 0-days is minimizing the feedback loop from "bug known" to "bug fixed". The other part is minimizing the feedback loop from "bug fixed" to "fix deployed".

To their credit, they at least try to solve the latter problem.

To their detriment, if you compromise their update server, you've got RCE on just over 25% of the websites on the Internet. (Among other things, their update hooks use unserialize(), which allows for some fun exploitation techniques.)

With Airship, root access to our update server doesn't let you forge updates. You'll need an airgapped Ed25519 signing key, and then you still have a catch-22 to resolve:

  A. Announce your presence to the network (untargeted attack)
  B. Find another way to hack every other Airship just so you can perform a silent,
     targeted attack against a single Airship.
This catch-22 makes exploiting a pilfered signing key unattractive to nation states, who generally want their activities to be covert.

comment 10y ago · link · parent

> This page says CSP is managed "through a web interface", which worries me a bit.

Administrators can update a JSON file that is used by CSP-Builder to generate the Content-Security-Policy headers. We wanted to normalize this browser securtiy feature and make it user friendly for users to manage these headers.

comment 10y ago · link · parent

> Never again worry about zero-days.

Before anyone asks, the point of this statement isn't "We'll never have a security hole."

It's "the time-scale that the patch will be released and applied is less than one hour, not multiple days".

An alternative way of putting it might be: Zero hours are the new zero days.

1414.

CMS Airship - Simply Secure Content Management(paragonie.com ↗)

14 points · by CiPHPerCoder · 10y ago · 24 comments

1415.

CMS Airship – Simply Secure Content Management(paragonie.com ↗)

2 points · by CiPHPerCoder · 10y ago · discuss

1416.

Show HN: CMS Airship – Simple and Secure CMS(github.com ↗)

1 points · by CiPHPerCoder · 10y ago · discuss

1417.

CMS Airship – Simply Secure Content Management(appsec.solutions ↗)

1 points · by CiPHPerCoder · 10y ago · discuss

1418.

Crypto-Misnomers: “Zero Knowledge” Considered Self-Descriptive(paragonie.com ↗)

1 points · by CiPHPerCoder · 10y ago · discuss

comment 10y ago · link · parent

Rather, it takes the first 80 bits of a SHA1 hash of a 1024-bit RSA public key, then converts it to base32.

Obviously, collisions aren't obscenely expensive.

comment 10y ago · link · parent

I've attended security conferences in the past two years wherein representatives of companies that claim to see 80+ percent of all Internet traffic in their threat intel offerings who were presenting about Android malware reverse engineering used short IDs in their slide deck and business cards.

When I mentioned Evil32 to them, they looked at a loss.

https://evil32.com

If this is news to you, don't feel bad. Many infosec conference speakers don't do this right either, and those are the sorts of people you'd expect to get this right.

1421.

Forbes: This Guy Let Me Control His Hacked Wheelchair with an Xbox Gamepad(forbes.com ↗)

1 points · by CiPHPerCoder · 10y ago · discuss

1422.

Crypto-Misnomers: “Zero Knowledge” Considered Self-Descriptive(paragonie.com ↗)

2 points · by CiPHPerCoder · 10y ago · discuss

comment 10y ago · link · parent

I'm completely new to marketing; my background is in application security and cryptography.

One of the open source projects I developed is a CMS that aims to offer superior security than the alternatives (Wordpress, Joomla, Drupal).

https://paragonie.com/blog/2016/05/keyggdrasil-continuum-cry...

What are some of the worst/most common sins that I'm committing here from a marketer's perspective, if any? (The common ones being mostly of interest to the discussion here.)

comment 10y ago · link · parent

Hmm, I wonder if there'd be any value in a monthly whoishiring-esque thread for open source projects?

comment 10y ago · link · parent

I manually go to https://eprint.iacr.org/eprint-bin/search.pl?last=7&title=1 on Friday evenings and read anything of interest over the weekend.

comment 10y ago · link · parent

Delighted, but not surprised, to see Caddy on this list. An excellent choice, to be sure.

comment 10y ago · link · parent

> the reason #AllLivesMatter is offensive is not because all lives DONT matter

I'm not sure I agree with that wording. To be clear:

  * No lives matter outside the narrow scope of humanity.
    The universe is an uncaring void. In the context of the
    universe, no lives matter.
  
  * Within the context of human society, all lives should
    matter. Fairness requires a certain amount of equality
    and equity.

1428.

Be wary of one-time-pads and other crypto unicorns (2015)(freedom-to-tinker.com ↗)

3 points · by CiPHPerCoder · 10y ago · 1 comment

comment 10y ago · link · parent

This is a great idea, especially for TAILS users.

I've long been concerned about updating a TAILS image to get the latest security updates and leaking forensically-useful data. By using hidden services for apt-get updates, everything is over Tor, so this becomes less harmful.

comment 10y ago · link · parent

EDIT: I found more info. They're using RNCryptor.

Hopefully not the C++ bindings! https://github.com/RNCryptor/RNCryptor-cpp/issues/2

comment 10y ago · link · parent

> Security : how do you guarantee that a client peer is not tinkering with the code it distributes further?

You could make a system involving digital signatures (EdDSA), but then "how do you trust which public key?" type questions mean this doesn't improve much.

comment 10y ago · link · parent

I can't speak towards the efficacy of his staff, but that testimonial is generally true of any engagement with most security teams.

comment 10y ago · link · parent

  > There are four types of content that can earn you retweets:
  > 
  > 1. Indignant
  > 2. Insulting / Harassing
  > 3. Cute / Funny
  > 4. Insightful / Intelligent
...

  > Of these four kinds of content, two are inherently violent, 
  > and the other two have the potential for violence (mean jokes, condescension).
Today I learned that sharing an intelligent/insightful comment is potentially violent enough to be worth commenting on.

I guess I'll just make dumb and obvious statements from now on, since I value peace.

comment 10y ago · link · parent

> or Mitnick Security

Please no. Not Mitnick.

I'd rather funnel clients towards my competitors than Kevin Mitnick.

He's a skilled social engineer, and his greatest social engineering success was manipulating the media into believing he speaks for hackers in general.

He is not a programmer, his opinions on cryptography aren't insighful, etc. His only skill is deception.

comment 10y ago · link · parent

> There's not much insightful advice to be given

Except some semblance of an idea of where to find a security expert. Even if it's a slight remix of "where to find ryanlol", that's plenty more insight and guidance. :)

(It probably seems obvious to you, but most people don't know where to find one.)

comment 10y ago · link · parent

This isn't the most insightful or actionable comment, but it is the correct solution for both the short term problem and many long term problems.

comment 10y ago · link · parent

> where would be a good place to source security experts?

There's no universal good answer for this.

I spend a lot of time on ##crypto (irc.freenode.net), and a lot of smart folks hang out there. Some are very well connected to other security experts in their own isolated communities.

However, there are undoubtedly silos of security expertise that remain untapped if you rely on just IRC.

You could also find folks who talk about security here on HN and follow their Twitter accounts (if public).

You could try "[development stack] security expert" in a Google search, as a last resort. (My company's currently at the bottom of the first page for PHP, although that's likely only true because of our filter bubble.)

A diverse approach is probably most likely to succeed here.

1438.

How to Secure a PHP Application in 2016(paragonie.com ↗)

3 points · by CiPHPerCoder · 10y ago · discuss

1439.

On the Design and Implementation of a Stealth Backdoor for Web Applications(paragonie.com ↗)

1 points · by CiPHPerCoder · 10y ago · discuss

1
474849
60