Better HN
topnewbestaskshowjobs
Log inSign up

capt_hotpants

5 karma · joined Nov 11, 2015 (11y ago) · 14 submissions

Submissions

comment 1w ago · link · parent

Soo...

I did a 20-year stint in IT security (quit when my company was bought by a capital fond that wanted us to still do all the things but preferred not to pay wages.)

I still don't feel qualified to guess what happened here - since I know next to nothing about this incident.

But darn it, it's not like we have anything else to do...

So here's my wild (emphasis) guess.

a) Lots of organisations have an "allow any" hole in their firewall for ike+ipsec, usually for reasons like "that protocol seems complicated, firewalling it would be complicated", more or less.

b) There used to be botnets that could pacify routers with modified GRE datagrams, specifically the "Mirai" botnet, operating from hijacked webcams (doesn't exist anymore afaik).

c) New botnets have surely emerged, and improved on the capabilities, maybe building on the publicized source code.

d) Just to give a random example, the "Proxynvader" botnet hijacks TV sticks; assessments vary but some experts say a quarter million, some say up to 8 million devices, each capable of delivering 0.1 Gbps into a volumetric attack.

I think it wouldn't be far-fetched to imagine one of those botnets grew the capability to spoof fx. ipsec datagrams, and that someone out there decided it would be fun if Microsoft's server parks started spending more time on fragment reassembly and decryption and less time doing whatever Microsoft thinks those servers should be doing. And then began blasting them with traffic on fx. 4500/udp.

(So in this example, traffic is routed around the normal ingress path through load balancers, tls offload, etc. for those servers, hitting them directly on a public IP via a permissive firewall rule instead.)

I think my odds of being correct are about 1% :-), since little is publicly known yet (and I personally know much much less than that.)

I enjoy reading the other theories here; some very interesting ones!

Haven't given much thought to motivation, could be anything. (I guess having an impact on the equity price means there's theoretically a profit to be made though.)

(... tldr: "ddos maybe?" ...)

comment 6y ago · link · parent

Any thoughts on keeping accurate RTC time on these things at sites with poor internet connectivity, weird latency or restrictions on outbound NTP?

I'm thinking a nice addition would be a small module to plug on top of the 40-pin GPIO connector with a GPS receiver in it and an antenna attached. The attached node could run NTP and pull accurate time from satellites. Throw in 3 of the modules, and NTP can use quorum to keep the time accurate even if one GPS module fails.

comment 6y ago · link · parent

Out of curiosity, does the firmware in the Compute Module allow for PXE boot?

Would be a neat way to handle corruptions of the SD / eMMC. Flick the power off through the Turing Pi's I2C, have one of the other nodes act as a PXE server, flick the power on again to the affected node, and have it pull in a tiny kernel and init-script through PXE that flashes the SD / eMMC with an image from the PXE node.

comment 6y ago · link · parent

That's really nice. There are high-end products out there with redundant backplanes (dual or triple) and redundant PSUs (2 or more). To match that level of redundancy it seems you would need 4x Turing Pi, to be able to survive a simultaneous failure of 1x arbitrary PSU and failure of 1x arbitrary backplane (ie. the integrated RTL8370 GigE switch).

The 2x external GigE ports on the Turing Pi helps a lot, in that each cluster can connect simultaneously to 2 external GigE switches, in case one of those things fails.

Could be an interesting exercise to set up and get it all working, in particular K3s + dynamic routing might be a fun challenge.

comment 8y ago · link · parent

Holy moly!

Maybe now we can finally have the bug fixed where Thunderbird displays random stuff from the email body in the Inbox tree's From and Date fields (instead of the proper envelope sender and MTA timestamp from the Return-Path and final Received headers).

I hope they hire a full-time Firefox developer next. I'm going to upgrade to Quantum (currently my apt-get is holding Firefox 54) as soon as accidentally hitting CTRL-Q instead of CTRL-W on Linux doesn't activate a magical Linux-only hotkey that blows up the whole Firefox browser and looses all of your web-related work.

comment 10y ago · link · parent

I don't know a thing about AdSense, but I'm curious as to why the numbers depicted in the graph, while lower, shows a lot less random-looking fluctuations after the switch?

comment 10y ago · link · parent

Hint: the 2011 airbook is practically indistinguishable to the 2012 model. but the 2012 model has a cheaper SSD.

factory firmware on that SSD has a bug that causes it to permanently lock up / disappear from the bus, with the result that all data on it is lost. Apple will replace the SSD when it happens, but data will be gone.

If you're getting/using the 2012 model, I'd recommend getting a replacement SSD from OWC or Transcend before installing Linux.

The wifi is Broadcom and works poorly under Linux. Not so many crashes anymore, but frequent disconnects, horrible performance and quick loss of of signal when the ether is crowded or the laptop is a few meters away from AP.

The wifi card can be replaced, but AFAIK, the Apple-provided firmware will not allow the machine to boot if the PCI ID of the wifi card does not match the original broadcom one. I don't think coreboot runs on the airbook either.

comment 10y ago · link · parent

I like it a lot. But in no way is this a brand new idea as stated in the article.

One reason that I like it, is that I've been peddling the "half the earth should belong to nature" idea for a couple of years now. Not sure where I picked it up originally though. Probably an article linked from HN.

comment 11y ago · link · parent

If you read the fine print in bullet #8, you'll discover that there is, per default, no validation of the presented certificate at all.

Without proper certificate validation, the encryption step is cryptographically worthless. Anyone can MITM the traffic just by presenting a random certificate to the sender.

comment 11y ago · link · parent

Currently, this happens:

   if hostname != target {
      downstream.Write([]byte("452 Different domain, please reconnect and deliver separately.\r\n"))
      continue
   } else {
As a side-effect, email to the secondary domain is slightly delayed.

It is a full proxy, in the sense that it sees all of the traffic, so technically it could de-multiplex and spool to two different targets at the same time for the duration of the current email.. Hasn't been a noticeable problem so far. But it would be nice to add at a later point in time. If/when someone complains, probably.

comment 11y ago · link · parent

5) Slap a nice name on the feature-set, so products can advertise it. (An important step often forgotten by engineers ;-))

comment 11y ago · link · parent

Good point.

S/MIME might also have some dependencies on PKI that in some scenarios could make it unsuitable for high security scenarios?

comment 11y ago · link · parent

Good question!

For me personally, I'm not too worried about the NSA. But I do think it is quite silly that Gmail and Outlook has a little lock icon to indicate that security is ON, while the first thing that happens when you click Send is that your email is whizzed over half the internet in plaintext.

For organizations and corporations, I imagine they would very much like to be able to verify the identity of the receiving organization before delivering possibly sensitive email.

(The sender identity is already authenticated via DKIM.)

comment 11y ago · link · parent

A thousand times yes.

PGP and SMIME is perfectly fine for high security scenarios (whistleblowing and such), in other words for the 0.000001% use case.

For the 99.9% use case, all that regular folks need is for the sending MX to verify that the recipient MX owns the domain before delivery.

PGP and SMIME with their key-signing parties, government-owned PKI et cetera, is either wild overkill or so utterly complex that it defeats the purpose for the 99.9% use case.

---

That said, you are going to break some of my software with this.

Specifically a SMTP reverse proxy, that looks at the domain part of RCPT TO, and transparently forwards the SMTP connection to the correct customer's MX for processing.

It could easily be unbroken again - BUT that would require that Postfix get their software together and add SNI support to their TLS stack (like all? other MX software does).

---

Implementation proposal:

1) Use RCPT domain-part for the SNI hostname.

2) Always try SMTPS port before SMTP port. Always try STARTTLS before plaintext.

3) Actually verify the certificate, duh.

4) Support a new EHLO header that mimics Strict-Transport-Security exactly.