Blog 2023

43 posts

Projects, Linux, networks, systems, finds and internet standards from 2023.

December (5)

Recovering files encrypted by Black Basta

Tobias Mueller analyses the Black Basta encryptor and uses a faulty reuse of the keystream to recover files with a known-plaintext attack. Ransomware can undermine strong primitives itself through faulty use.

US water utilities compromised via default password 1111

At the end of 2023 attackers attributed by US authorities to Iran broke into at least eleven facilities in the USA, including six local water utilities, a pharmacy, an aquatics centre and a brewery. Some of the affected Unitronics controllers were openly connected to the internet and protected with the default password 1111. Anne Neuberger, deputy national security adviser at the White House, stressed that fixing such basic flaws costs no money.

Mixtral and mixture of experts

Mixtral activates only part of its experts per token and combines high model capacity with limited computation. The article explains the architecture, usage and open availability. Mixtral uses eight experts and activates two of them per token.

November (6)

Examining the Linux kernel safely with QEMU and GDB

On Hackaday, Al Williams presents the Python script easylkb by deepseagirl, which downloads, configures, builds and boots a Linux kernel in QEMU. It also creates a Debian image and opens SSH and a GDB interface on the local machine. This makes it possible to examine a kernel without putting the working system at risk.

How the Linux scheduler deals with many cores

On Hackaday, Maya Posch puts into context a blog's claim that the Linux scheduler has been accidentally limited to eight cores for fifteen years. In fact the kernel only limits the factor by which the length of time slices grows with the number of CPUs, and has done so deliberately since 2009. Linux still uses any number of cores; the limit only affects how finely it switches between tasks.

Comparing RoBERTa, Llama 2 and Mistral with LoRA

The article compares three model families on classifying disaster tweets with LoRA. It shows that a larger generative model is not automatically the best or most economical classification solution. The study uses the Disaster Tweets data set.

October (3)

Running Gradio entirely in the browser

Gradio-Lite runs Python and Gradio directly in the browser via WebAssembly. Small ML demos therefore need no backend server of their own and process data locally. Demos can be served as static files.

Critical Confluence vulnerability exploited before the patch

At the beginning of October 2023, Atlassian released an update for a critical vulnerability in Confluence with the maximum rating of CVSS 10. According to Microsoft, Chinese attackers had already been exploiting it since mid-September. Felix von Leitner mocked Atlassian’s vulnerability management page, which presents vulnerabilities as an unavoidable part of software development and relies mainly on scans and a bug bounty programme.

When DevOps becomes the bottleneck

In “2023 DevOps is terrible”, Matteo Bianchi describes how DevOps turned from a cultural approach into an overloaded role buried under tickets for Kubernetes, networking, permissions and cloud accounts. The text sees platform engineering as the way out: an internal developer platform through which teams can use building blocks themselves. The provocative conclusion is that DevOps is not terrible at all but is evolving.

September (3)

An overview of quantisation methods in Transformers

The article compares integrated methods such as bitsandbytes, GPTQ and AWQ in terms of memory, hardware and deployment path. It helps to understand quantisation as a trade-off rather than a single switch. Transformers supports several quantisation backends through their own configurations.

Linux network parameters in context

Leandro Moreira maps Linux network parameters to their positions in the receive, queueing and TCP path. /proc/net/softnet_stat shows drops and exhausted poll budgets, among other things.

August (5)

Security holes: patches protect Cisco firewalls and switches

In August 2023 Cisco closed several holes in firewalls and switches. Rated high were an SNMP hole in Firepower 4100 and 9300 through which authenticated attackers could trigger restarts, an IS-IS hole in Nexus 3000 and 9000 without authentication, and a DoS hole in NX-OS. Further medium holes affected, among others, the Application Policy Infrastructure Controller.

Making LLMs lighter with AutoGPTQ

The AutoGPTQ integration quantises already trained language models to a few bits and integrates them directly into Transformers. This considerably lowers the memory requirement for local inference. GPTQ typically quantises weights to four bits after training.

Linux v0.01 read from the inside

Seiya Nuta reads Linux 0.01 close to the source and explains the boot process, memory management, processes and system calls. Linux 0.01 appeared in 1991 for 32-bit x86 systems.

Print management solution: security holes endanger PaperCut servers

In August 2023 PaperCut closed two high-rated holes in its print management software. Via CVE-2023-3486, attackers could upload files without logging in and fill up the hard disk; via CVE-2023-39143 they could view and modify files, and according to Horizon3 even execute code. The Windows hole required the External Device Integration function, which was active by default in PaperCut NG Commercial and MF.

Return of compulsory routers? Dispute over the network termination point for fibre

In 2023 network operators and consumer advocates disputed whether the freedom of choice of router, in force since 2016, also applies to GPON fibre connections. The associations Anga, Buglas, Breko, VKU and VATM applied to the Federal Network Agency to move the network termination point behind the operator’s fibre modem (ONT). Customers would then no longer be able to operate their own fibre router directly at the connection socket.

July (5)

A PC that is actually cooled in water

In 2023 DIY Perks took the term water cooling literally and sank a fully sealed PC in a pond with water at 17 degrees. The heat passes directly to the surrounding water, which serves as a huge, constantly cool heat reservoir. Components included an RTX 4090, Crucial T700 SSDs and water cooling parts from EK.

The open ecosystem for text generation

The overview classifies open language models, training libraries, inference servers and evaluation tools around the Hub. It makes clear that open LLMs need a chain of compatible components. Models and their associated artefacts are versioned via the Hub.

RFC 9420: Messaging Layer Security

In July 2023, Richard Barnes, Benjamin Beurdouche, Raphael Robert, Jon Millican, Emad Omara and Katriel Cohn-Gordon specified the Messaging Layer Security protocol in RFC 9420. MLS encrypts group chats end to end for groups from two to thousands of members, even when not everyone is online at the same time. A key tree ensures that key changes grow only logarithmically with group size.

June (2)

Booting Linux 293,000 times

Richard W. M. Jones finds a rare Linux boot regression through automated repetition and statistical Git bisecting. Jones booted Linux 292,612 times within 21 hours.

Analysing more than 50,000 Hub data sets with DuckDB

The article uses Parquet metadata and DuckDB to evaluate many Hub data sets directly with SQL. Large data sets do not have to be loaded completely onto your own machine for this. DuckDB can query Parquet files directly over HTTP.

May (2)

Safetensors after an independent security audit

Trail of Bits audited Safetensors as a format for storing tensors without executable deserialisation code. The results strengthened the move away from risky pickle-based weight files. Trail of Bits carried out an independent security audit of Safetensors.

April (2)

Training LLaMA with RLHF

StackLLaMA combines supervised fine-tuning, a reward model and PPO into a complete RLHF pipeline. The guide shows how PEFT and quantisation lower the hardware requirements. The pipeline first uses instruction data for supervised fine-tuning.

March (3)

Federated learning with Flower

The article trains transformers via Flower without bringing the participants’ raw data together centrally. Only local model updates are coordinated and aggregated. Flower coordinates federated training rounds between clients and server.

The road to Vulkan on Asahi Linux

Asahi Lina explains the new Apple GPU UAPI, explicit synchronisation and Rust extensions on the way to Vulkan. The driver already supported parallel GPU jobs from several applications.

Alpine Linux as a lean router

At the Chemnitz Linux Days 2023, Thomas Liske, head of the network operation centre at IBH IT-Service GmbH, showed why Alpine Linux is excellently suited to routers. Alpine is usually associated with container images, but IBH uses it to run routers ranging from simple stateful firewalls to BGP routers in the default-free zone. The talk described the migration from proprietary routers, the software components chosen and the resulting support for open source projects.

February (2)

Parameter-efficient fine-tuning with PEFT

PEFT bundles LoRA and related methods that train only a small number of additional parameters. This makes large base models adaptable on limited hardware. PEFT supports several parameter-efficient adaptation methods.

January (5)

Safer C arrays in the Linux kernel

Kees Cook describes converting fake flexible C arrays into unambiguous structures with checkable bounds. Real flexible array members use empty brackets at the end of the structure.

Adapting Stable Diffusion efficiently with LoRA

LoRA trains small additional matrices instead of all the weights of a diffusion model. This lowers memory requirements and produces compact adapters that can be distributed separately. LoRA freezes the original model weights.

Cisco warns of security holes it will not patch

In January 2023 Cisco warned of critical holes in the small business routers RV016, RV042, RV042G and RV082, but announced that it would not deliver any more updates. Manipulated HTTP requests to the web interface could bypass authentication and gain root access (CVE-2023-20025). As the devices had reached end of life, Cisco only pointed to blocking ports 443 and 60443, although proof-of-concept code already existed.

Security hole in SugarCRM servers actively exploited

In early 2023 attackers exploited a critical hole in SugarCRM (CVE-2023-22952) to take over servers and install malware. Authentication could be bypassed via the path /index.php/, after which a POST request uploaded a PNG file containing PHP code that was executed when called up later. By 11 January Censys found 354 compromised servers, just under twelve percent of all 3,059 reachable instances.

Linux developers ask for focus for touchpad support

Since April 2020, Linux users had been funding better touchpad gestures under Linux through a Gitclear donation campaign, implemented by Povilas Kanapickas. By early 2023 the core goals had been achieved: gestures worked in many Wayland and X servers, XWayland and in GTK and Qt. The team asked the community in a survey whether it should continue working on support in individual applications.