HNHacker News
TopNewBestAskShowJobs

NicolaiS

173 karma · joined June 15, 2016

submissionscomments
NicolaiS··on NPM Vulnerability Discussion on Twitter
The issue has been publicly known for years.

The more focus we can get the better - hopefully NPM will add MFA at some point...

NicolaiS··on How we secure Monzo's banking platform
That seems like a bad reason. With a good enough connection and `masscan` you can "scan the whole internet" (single port) in 5 min. Security through obscurity on IPv4 make no sense.
NicolaiS··on Explanation of Bitcoin’s Elliptic Curve Digital Signature Algorithm
Satoshi was maybe an above-average coder nor cryptographer, but not genius. Reminder: bitcoin v0.1 was made to run only on Windows, the code was fairly ugly and had a bunch of common crypto mistakes/weirdness [0].

Don't get me wrong, Satoshi was/is a genius, but not for his coding/cryptography skills.

[0] A good summary of vulns in bitcoind: https://en.bitcoin.it/wiki/Common_Vulnerabilities_and_Exposu...

NicolaiS··on New Log4j2 vulnerability
"Log4j2 versions 2.0-beta7 through 2.17.0 are vulnerable to a remote code execution attack if an attacker with permission to modify the logging configuration file can construct a malicious configuration"
NicolaiS··on Cryptographers unearth vulnerabilities in Telegram's encryption protocol

    that's all they found
Besides the trivial MITM in MTProto 1.0?

Telegram protocol defeated. Authors are going to modify crypto-algorithm: https://news.ycombinator.com/item?id=6948742

NicolaiS··on Stage 3 Proposal: Array.prototype.at
Indeed, and as others have stated it is really hard to allow `[-1]` without breaking old code.

Also: `[1, NaN, "hi"].indexOf(NaN)` is -1 but `.includes(NaN)` returns true as expected.

NicolaiS··on Cactus Comments: Matrix Spec Changes we're excited for
I'm super excited about Cactus Comments! I integrated it on my own static site in two lines of HTML/JS.

What I would love to see is an OAuth-like way of authenticating with my own homeserver, but I think work is in progress (MSC2964 / MSC2967?)

NicolaiS··on Prototype Pollution (2020)
Imagine you have a game with attacker controlled (x, y):

   var { x, y } = JSON.parse(input);
   board[x][y] = true;

   // ...

   if (user.admin) ...
If the attacker puts:

   {x: "__proto__", y: "admin"}
Then board["__proto__"] might be `object` and then object["admin"] = true

Now `<any object>.admin` is true !

NicolaiS··on 20% of requests for Wikimedia Commons are for one image of a flower
You can use the "Analyse APK" feature, but you probably rather want to use tools like jadx or apktool that provides fairly good decompilation.
NicolaiS··on Homebrew 3.0
That is incorrect. Brew will do random upgrades when running `brew install` unless you set the non-default `HOMEBREW_NO_AUTO_UPDATE=1` [1] so every now and then when you brew install something it will e.g. upgrade the python binary from 3.x => 3.(x+1) and break all virtualenvs using symlinks. Python is just one example, I've spend countless time fixing random broken packages due to the unpredictability of `brew install`.

[1] https://github.com/Homebrew/brew/issues/1670

NicolaiS··on Kazakhstan government is intercepting HTTPS traffic in its capital (again)
It is possible using a "Certification Authority Authorization" (CAA) DNS record to specify which CA is allowed to sign certs for your domain and using DNSSEC you get a separate channel of trust. However CAA (and DNSSEC) is rarely used, so most likely the MITM-part will just block lookups.
NicolaiS··on Linux Mint drops Ubuntu Snap packages
> distributing binaries on Linux is an enormous pain.

It doesn't have to. Packaging using FPM [0] allows many targets (deb, rpm, etc) and using ELF2deb [1] (shameless plug) allows packaging any files to a .deb with no effort.

[0] https://github.com/jordansissel/fpm

[1] https://github.com/NicolaiSoeborg/ELF2deb

NicolaiS··on Xiaomi Recording ‘Private’ Web and Phone Use
Google can turn Safetynet validation up or down w/o updating your Droid. Currently it is possible to bypass SafetyNet, but they did turn it up a notch lately, and if they require strong "Key Attention" then neither Magisk nor custom "rootless root" will work (and it will also mean that custom roms Will fail SafetyNet).

https://developer.android.com/training/articles/security-key...

NicolaiS··on Proxyman – native HTTP/HTTPS requests observation and manipulation app
`mitmproxy` is also a really nice tool for MITM'ing your connections.

It's free and open source, has a nice TUI, scripting in python, intercept and modify requests/responses, etc

https://mitmproxy.org/

NicolaiS··on FIDO2 security key company publishes results of internal security audit
You can see the version and update it using their (deprecated) website: https://update.solokeys.com/
NicolaiS··on Big ISPs aren’t happy about Google’s plans for encrypted DNS
Due to shared hosting you can't map every IP to a hostname, and encrypted SNI is a thing.
NicolaiS··on Security Update
No.
NicolaiS··on Hacker Steals $8.4M Worth of Ethereum from Veritaseum Platform
Some work is being done: http://vitalik.ca/general/2017/06/09/sales.html but tl;dr no perfect models for ICO's exists.
NicolaiS··on “Satoshi” Craig Wright's NChain Presentation at the Future of Bitcoin Conference
Craig Wright is NOT Satoshi.
NicolaiS··on Attempt to Reverse a $55 Million Ether Heist
The 't' vs 'T' has _nothing_ to do with checksums.

`Transfer` and `transfer` are two different functions, one creating an "event" (think a signal on the blockchain) and the other actually transfering tokens.

The true flaw lies in the reentrant attack on `.send()`

NicolaiS··on What Is a RCE (Race Condition Exploit) (used by WannaCry's Use of EternalBlue)
Race-condition exploit ? RCE is almost always an abbreviation for Remote Code Execution, lets keep it that way.
NicolaiS··on Password strength analysis based on countries
Not if they all was stored in cleartext from the beginning - which, unfortunately, a lot are.
NicolaiS··on ANTLR 4.6 Released
More detailed changelog: https://github.com/antlr/antlr4/releases/tag/4.6
← PreviousPage 2 of 2