HNHacker News
TopNewBestAskShowJobs

pquerna

2,885 karma · joined August 28, 2009

Now: ConductorOne CTO & Co-Founder https://www.conductorone.com/

formerly: ScaleFT CTO (acquired by Okta), cloudkick dude, rackspace racker. (yc w09, acquired dec 2010 by rackspace)

apache httpd hacker.

blog thing: https://paul.querna.org/

submissionscomments
pquerna··on Timestral: Mistral's time-series foundation models
Timestral is not free - it has a "Modified" MIT, which requires you to buy from Mistral if your global business makes more than $20m a month.

Calling it "Modified" MIT is just misleading.

pquerna··on SAML: A fractal of bad design
When we started C1.ai - 2020 - as someone who worked previously at Okta - I made a decision to only implement OIDC. (see article for all of the reasons). We were worried in the first 2 years, that some big enterprise would force us to implement SAML.

But it turns out, all the major IDPs support OIDC now. It's a non-issue.

pquerna··on Intel's retreat is unlike anything it's done before in Oregon
it's happening?

"Ex-Intel executives raise $21.5 million for RISC-V chip startup":

https://www.aheadcomputing.com/

I believe the founding team is all in Oregon - and mostly all ex-Intel.

pquerna··on Amazon tripled prices for the basic tier of their auth service Cognito
okta is not "active-active" in a multi-region sense, they run in a single active AWS single Region per-tenant. You can pay extra to have a faster failover in a region level failure scenario:

https://support.okta.com/help/s/article/overview-of-enhanced...

pquerna··on Okta – Username Above 52 Characters Security Advisory
per <https://trust.okta.com/security-advisories/okta-ad-ldap-dele...>

2024-07-23 - Vulnerability introduced as part of a standard Okta release

This issue is not an "okta is old" issue. this was new code written in 2024 that used a password hashing function from 1999 as a cache key.

pquerna··on Ruby-SAML pwned by XML signature wrapping attacks
Our app <https://www.okta.com/integrations/conductorone/> is in the Okta OIN ("marketplace") using OIDC? So not sure what you mean by that?
pquerna··on CockroachDB license change
This is an Eclipse foundation project, not an Apache Software Foundation (ASF) project?

it's all volunteers/open source, but this isn't an ASF project.

pquerna··on Instead of “auth”, we should say “permissions” and “login”
What about "access controls" for the AuthZ side, instead of Permissions?

Wondering HNs collective wisdom on this-- at work we've been using Access Controls on our homepage for awhile- https://www.conductorone.com/ - to the people outside the IAM-geek space does this make more sense?

pquerna··on Show HN: Goralim - a rate limiting pkg for Go to handle distributed workloads
For this general pattern implemented in Golang, check out redis_rate: https://github.com/ductone/redis_rate

This fork also implements Redis Client Pipelining to check multiple limits at the same time, and Concurrency Limits.

pquerna··on Pwned Certificates on the Fediverse
The API for Let's Encrypt to do this requires possession of the private key, which pwned keys doesn't always have. Sometimes they just have an "attestation" of compromise:

https://pwnedkeys.com/submit.html

Which if you had an standardized representation of that attestation, maybe CAs could consume that instead.

But, the author of pwnedkeys thought of that, and started an RFC for exactly that:

https://github.com/pwnedkeys/key-compromise-attestation-rfc/...

But it seems dead right now.

pquerna··on OpenTelemetry in 2023
You can also just, Log the spans as they are being created to stderr/stdout -- I've done this on a previous project with this approach of "spans first".

It made it debuggable via output if needed, but the primary consumption became span oriented.

pquerna··on We updated our RSA SSH host key
Yeah, but... shouldn't Github of rotated their keys over the last decade?

I mean it seems like its clearly a key that wasn't in an HSM.. and over the lifetime, hundreds? Thousands of Github employees could of accessed it?

pquerna··on We updated our RSA SSH host key
Would it of been possible for Github to use Host-key rotation instead of hard breaking it?

https://lwn.net/Articles/637156/

I'm honestly not familiar with anyone actually using host-key rotation?

pquerna··on Launch HN: EdgeBit (YC W23) – live software vulnerability analysis
congrats on the launch!

three questions / thoughts:

1) Your post mentions "Ranking", and while do the most impactful work first is great, the method I have most often used is when dealing with Vuln-overload is to "Reclassify". That is Common Vulnerability Scoring System (CVSS) (super flawed as it is) has let reporters check the box for "remotely exploitable" therefore its a 8.0 HIGH vulnerability -- but I think your product could let me reclassify the vuln to a medium/low - maybe a built in CVSS score editor?

2) One other thing there should also be a built-in concept of "accepting the risk" -- and ideally a concrete report of what was previously "accepted", and if that package gets used in new ways?

3) I'm curious what you think about market segmentation in this space? Specifically the sub-200? person companies seem to be using alot of the "all in one" Compliance platforms (eg, Vanta, Drata, etc). Vanta for example does have a vuln management + SLA tracking dashboard + ticketing tools.

pquerna··on Announcing Baton, an Open Source Toolkit for Auditing Infrastructure User Access
Its cool to see the automation the kubernetes team stuff does against Github -- but has it been expanded to other resources, eg AWS or some other SaaS used?

Other thought I had, is there any concept of expiration of permissions?

Something I ran into when I used to do more Apache Software Foundation work was that, we had thousands of committers with shell access -- but 94% never used it. Are any of the things protected by this privileged? eg, a release private key?

pquerna··on Show HN: GitHub Org Audit Tool
thank you -- can't edit it anymore, but paul.querna (spelled my own name wrong)
pquerna··on Show HN: GitHub Org Audit Tool
i've also been working on a similar tool -- working towards open sourcing it too. would you be interested in taking a look? paul.quenra at conductorone com
pquerna··on Making an SSH client the hard way
This is how Okta's Advanced Server Access works: https://www.okta.com/products/advanced-server-access/
pquerna··on Systemd service sandboxing and security hardening (2020)
hello.

i added support for httpd to support systemd socket activation in 2013: https://svn.apache.org/viewvc?view=revision&revision=1511033

httpd can start as non-root, assuming other configurations like the access / error logs are writable by the non-root user.

pquerna··on Ephemeral Postgres Databases
At a $previous_job I basically also did what the post is describing.

The "best" thing we did was actually using a "template database": https://www.postgresql.org/docs/14/manage-ag-templatedbs.htm...

We would start a Postgres Process. We would create a new database, run all of our migrations and basic data bring up. Then we would create a new Database per Test Suite, using the one we just ran migrations as the Template.

This meant the initial bring up was a few seconds, but then each test suite would get a new database in a dozen milliseconds (IIRC).

pquerna··on Former Netflix Executive Convicted of Receiving Bribes and Kickbacks
> In June 2012, he became an advisor and received options for shares in the company Sumo Logic, Inc. The next month, Kail authorized and signed on behalf of Netflix a vendor agreement between Netflix and Sumo Logic.

Few months later:

https://techcrunch.com/2012/11/28/log-data-management-and-an...

> Less than a year after the company’s public launch, Sumo Logic has closed a number of large-scale enterprise client deals including Netflix

No repercussions for Sumo Logic at this point - they IPO'ed in September 2020 -- https://finance.yahoo.com/quote/SUMO

pquerna··on OpenSSH 8.6 Released
there are ongoing changes to allow ed25519, eg, see: https://csrc.nist.gov/publications/detail/fips/186/5/draft
pquerna··on Know, Prevent, Fix: A framework for vulnerabilities in open source
There are some mundane, and totally fine goals in here.

But midway through, there is some really broad and overreaching concepts.

When the goal is "No Unilateral Changes to Critical Software", this implies that there is "one" way to run an open source community. I'm not saying its a bad idea, its just that its weird for Google to "mandate" it just because a project is popular and therefore critical.

And then there is the big one, "Authentication for Participants in Critical Software" -- ie, you can't be anonymous to contribute to an open source project.

pquerna··on QEMU should move from C to Rust
1) You return SUSPENDED instead of OK from your handler. See also http://svn.apache.org/viewvc?view=revision&revision=1593860

2) You can control all response filters at the byte level with an Output Filter.

3) Hooks already exist for this: https://ci.apache.org/projects/httpd/trunk/doxygen/group__ho...

4) No. Bucket Brigades is the API for this. It's an efficient linked-list of future-data. It's a good API IMO, just needs some understanding, and because its in C, its full of macros (there are more alternatives to making it cleaner if we weren't using C)

pquerna··on QEMU should move from C to Rust
in a hilarious turn of events (to me at least), I was one of the primary developers of the event mpm.
pquerna··on QEMU should move from C to Rust
Hello.

I'm not a QEMU developer. I used to be pretty active in Apache HTTPD, APR and related projects. They are large user space code bases written in C - with, overall, a relatively OK security record.

I think Apache should be on a path to be rewritten in Rust. Here's why...

Every new line of C has a chance of a remotely exploitable vulnerability. No matter the precautions taken, no matter the developer who writes it. HTTPD has a long history, precautions like memory pools from APR and uses "safe" string functions, but it still has issues.

Apache's core C code doesn't change much, so yes, many remotely exploitable memory corruption bugs have been fixed over 20+ years, but new code, new code still has bugs. And they can be bad.

Look at the recent known vulnerabilities in httpd: https://httpd.apache.org/security/vulnerabilities_24.html

Vulns that are largely fixed by Rust are concentrated areas like HTTP/2 support and the Proxy - areas under active development. Vulns around logical errors are still there, and more widespread, but largely have a lower impact.

So, I emphasize with QEMU developers. I'm in the same boat. I have a full time job, and that job is not to work on Apache HTTPD. It would take a full time job to incrementally adopt Rust. The outcome would be in 24+ months, no more remote memory corruption bugs. Is it worth it to fund this? Can you put a price tag on this for the dozens of "core infrastructure" software projects written in C?

pquerna··on Twilio: Someone broke into our AWS S3 silo, added 'non-malicious' code to JS SDK
Yes! Subresource Integrity is the exact counter-measure to this kind of attack:

https://developer.mozilla.org/en-US/docs/Web/Security/Subres...

However, on Twilio's documentation site, they do not include the integrity attribute in their examples: https://www.twilio.com/docs/taskrouter/js-sdk/workspace/task...

pquerna··on Zero-day in Sign in with Apple
This allowed you to forge an attestation of user identity from Apple for any App that was setup to consume it. Apple is acting as an IdP for its consumer ecosystem. It's definitely their problem.

Third-party applications really have no recourse but to trust the signed JWT. That is just how OAuth2/OIDC works.

User impersonation against an IdP is a serious security issue. 100k is cheap.

The bug was basically on the IdP's "consent screen". Instead of using the email from the active logged in account, it allowed the attack to POST in any email they wanted.

Obviously not having the bug would be great. Apple could do "more", and layer on more things on top of OAuth, like a proof of key extension (DPoP) on the flow: https://tools.ietf.org/html/draft-fett-oauth-dpop-04

But if you have a bug like this, where you can edit your claims arbitrarily inside the IdP, extra security layers kinda don't matter.

pquerna··on Remote access to production infrastructure (death to the VPN)
Many of our customers use SSH jumpboxes - its a natively supported feature of Okta Advanced Server Access / ScaleFT.

From a post awhile back about using Bastions with ScaleFT:

> One of our values at ScaleFT is to do our best to support our users where they are, with the decisions and tools they’ve already selected. This means treating SSH bastions as an SSH feature, parameterizing and centralizing the associated configurations, and seamlessly integrating it into our users’ daily workflows.

https://www.scaleft.com/blog/bastion-hopping-with-ssh-and-sc...

So, if you want to layer on top VPNs, or SSH Jump Boxes, we try to let you. We also try to make parts of the chain better whenever we can.

(disclaimer, I'm ScaleFT co-founder)

pquerna··on Show HN: Managing SSH Access to AWS EC2 Instances Using SSM
(disclaimer, I was a founder of ScaleFT - acquired by Okta)

This is exactly why many customers use Okta's Advanced Server Access: https://www.okta.com/products/advanced-server-access/

It does certificates as a credentialing mechanism, but also full separate accounts, lifecycle management of accounts and sudo files.

Page 1 of 12Next →