Blog 2017

32 posts

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

December (4)

Freeing robot vacuums from the manufacturer’s cloud

Dennis Giese and DanielAW examine connected robot vacuums, expose their data collection and internal Linux systems and show ways to run your own IoT cloud. A household appliance becomes a privacy risk as soon as its sensors are tied to someone else’s infrastructure.

Keeper sues journalist over vulnerability report

At the end of 2017 the maker of the Keeper password manager sued journalist Dan Goodin and the outlet Ars Technica over a report on a security vulnerability. Goodin had cited Google researcher Tavis Ormandy, whose report stated that any website could steal any password through Keeper's browser extension. Keeper accused the report of false and misleading statements.

OAuth2 for Gmail on Linux and ESP8266

Hackaday explains token-based Gmail login so that scripts and microcontrollers can send email without a stored account password. Gmail documents its OAuth2 interface.

November (3)

October (2)

Replacing error-prone firmware with Linux

Ron Minnich and colleagues show how LinuxBoot replaces large UEFI components with an auditable Linux kernel and simple user space tools. LinuxBoot grew out of Google's NERF work.

KRACK: WPA2 becomes vulnerable

On 16 October 2017 Mathy Vanhoef of KU Leuven published the Key Reinstallation Attacks, KRACK for short, against the four-way handshake of WPA2. An attacker within radio range can make victims reinstall an already used key and thus read and partly manipulate encrypted traffic. The weakness lay in the standard itself, so practically all Wi-Fi devices were affected, most severely Linux and Android from version 6.0.

September (1)

August (4)

ShadowPad: espionage backdoor uncovered in admin tools for Unix and Linux servers

In 2017 Kaspersky discovered the “ShadowPad” backdoor, which for 17 days was hidden in admin tools such as Xshell, Xmanager and Xftp from the Korean vendor NetSarang. The trojanised DLL was signed with valid NetSarang certificates and distributed via the regular update channel to banks, pharmaceutical and energy companies. The malicious code consisted of encrypted modules that only became active after a signal from the command server.

Dangerous SSH commands: critical security hole in GitLab

In 2017 GitLab contained a critical hole (CVE-2017-12426) through which attackers could execute commands on the server when importing a repository by URL. An option flag injected into the URL caused the rest of the address to be interpreted as a command. Versions 7.9.0 to 9.4.3 were affected; Recurity Labs had previously found similar bugs in Git, Mercurial and other version control systems.

Linux 4.13: kernel handles TLS encryption itself

In 2017 Linux 4.13 was able to take over the encryption and decryption of a TLS connection itself for the first time. This was meant to improve performance and open up new uses. The complex connection setup, however, is still handled by libraries such as OpenSSL in user space.

July (2)

How Linux tracing systems fit together

Julia Evans sorts strace, perf, ftrace, kprobes and BPF by which events they observe and what overhead they cause. Linux has several tracing subsystems that emerged independently.

RFC 8200: The IPv6 base standard

In July 2017, Stephen Deering and Robert Hinden revised the IPv6 specification in RFC 8200, raising it to Internet Standard. The document replaces RFC 2460 from 1998 and incorporates almost twenty years of operational experience and security fixes. The architecture with a fixed 40-byte header, extension headers and fragmentation only by the source remains unchanged.

June (2)

A 20-year-old Linux kernel bug

Robert O’Callahan describes how rr exposed a decades-old kernel edge case and how reproducible execution made the root cause analysis possible. The bug had been in the Linux kernel for about twenty years.

May (2)

Linux Inside: how the kernel works

0xAX uses the real Linux source code to walk through the boot process, memory management, interrupts, system calls and synchronisation. Linux Inside is freely available on GitBook and GitHub.

DirectAccess breaks DNSSEC

In May 2017 Lutz Donnerhacke checks in the lab how Microsoft's remote access technology DirectAccess copes with a DNSSEC-signed zone. Responses arrive via DirectAccess without signatures, and as soon as the client has to validate via group policy, resolution fails. Even a genuine AAAA record that needs no rewriting by DNS64 no longer reaches the client.

April (2)

Maker boards need free and current kernels

In 2017 Felix von Leitner found that many inexpensive ARM hobby computers similar to the Raspberry Pi cannot run a standard kernel. The userland is usually Debian, but the kernel is an old vendor version with known holes. Readers recommended Armbian, Arch Linux ARM, Fedora ARM and the BeagleBone Black as a way out, where mainline kernels are available.

March (3)

Building a PC case yourself with simple tools

In 2017 DIY Perks showed how to build an attractive PC case from scratch using cheap materials and simple hand tools. Templates for the panels are available free as a PDF, as SVG files for CNC machines, and the case is also sold as a kit. The finished computer uses, among other things, a fanless power supply.

Building a NAS box yourself

After a RAID upgrade, Alexander Schreiber had five disks left over and built a NAS box from them, as the Chemnitz Linux Days 2017 heard. Instead of spending a few hundred euros on an empty ready-made device, it was built from a drive cage, a small ARM board, a port multiplier, a laptop power supply and parts from the DIY store. The talk then turned to using it with NFS, iSCSI, AoE, encryption and automatic backups.

February (1)

January (6)

Making CAA records available in the DNS zone editor

In January 2017 Manuel Schmitt reports that manitu's DNS zone editor now also supports the CAA record type, following many requests. With CAA, a domain holder specifies in DNS which certificate authorities may issue certificates for the domain. In March 2017 the CA/Browser Forum decided that certificate authorities must check CAA from September 2017 onwards.

BSI warns of security hole in 60 Netgear models

In January 2017 the BSI warned of a hole in around 60 Netgear router models through which attackers could read out the password of the web interface. It could be exploited if password recovery was disabled and the attacker was on the same network or remote management was active. The BSI rated the risk at level 5 without clearly explaining what that means.

Kernel maintainers need a manifesto to work

At linux.conf.au 2017, Intel developer Daniel Vetter proposed a manifesto for kernel maintainers because maintainers are increasingly overloaded. A single maintainer does not scale, and the kernel lacks people responsible for many areas of code. Vetter drew on experience as a maintainer in the Linux graphics stack.

Who was Anna-Senpai? The trail behind Mirai

In what was then the longest post on the blog, Brian Krebs shows how forum profiles, chats, source code and business relationships linked the Mirai author Anna-Senpai to Paras Jha. The trail runs through a market in which the same young people sold DDoS protection for Minecraft servers while attacking with botnets. In December 2017, Paras Jha, Josiah White and Dalton Norman pleaded guilty in a US federal court.

Free firmware for the Raspberry Pi boots the Linux kernel

In January 2017 a free bootcode firmware for the Raspberry Pi was able to boot the Linux kernel directly for the first time. On the Pi, hard-wired code loads the proprietary Broadcom firmware onto the graphics unit, which then initialises the hardware. The free alternative was created mainly by reverse engineering, but still had gaps in USB, eMMC and power and clock management.