I recently found the time to sit down with Claude Code [1] from Anthropic to get a better understanding of why friends and colleagues were so enthusiastic about AI-assisted coding. Claude Code is an agentic coding tool that, according to the vendor, "runs in a terminal/IDE, understands the full codebase and can act autonomously toward a goal." In other words, we have already moved far from just chatting to AI; instead we have given it agency to act on our behalf.
Chris Binnie
As seen in:
Linux.com,
EIN News,
Techopedia,
DealNews,
Linux Magazine,
Admin Magazine,
Architecture and Governance Magazine
Covers:
All things cyber security and Linux.
Cybersecurity consultant, author & writer.
Articles by Chris Binnie
Safe at Home " Linux Magazine
Cloud-based Large Language Models (LLMs) pose a number of problems for the user. For one thing, you might accidentally share sensitive data that you didn't mean to share. You might also have high latency issues or discover that token limits restrict your productivity. Cloud-based services could also limit your ability to choose which models to work with.
Secret Surfer " Linux Magazine
We are often told that we should be concerned about the snooping activities of governments and commercial organizations. A number of open source tools can provide users with enhanced privacy, and I recently came across a useful candidate: a clever Linux distribution called Whonix [1].
Leaky Container " Linux Magazine
I recently became intrigued by a specific vulnerability affecting containers in Docker and pods in Kubernetes. The vulnerability, discovered in 2024, was quickly patched but considered just about as serious as vulnerabilities get. It was allocated the Common Vulnerabilities and Exposures (CVE) number CVE-2024-21626, and it received a severity score of 8.6 out of a possible 10 – very close to the 9.0 rating that would have marked it as critical.
Web Attack " Linux Magazine
Pause for a moment and consider all the applications that are powering today's online services, and then step back to consider the attack surface that each one of them presents. In this article, I will look at how a security bug in an online application might allow an attacker to gain full access to the underlying Linux server running it. The prize, in this case, is that the attacker will acquire root access to the server.
Why Cloud Native Security Is More Complex Than You Think
By Chris Binnie Each week it seems that we are informed that our data has been exposed to the internet by another household name. In part this is because serving customers via applications that are run in the cloud is exceptionally difficult to do in a secure manner. It is not just a case of securing the network perimeter any longer, instead the dynamic nature of modern applications means there are multiple attack surfaces to secure.
Architecture & Governance Magazine
By Chris Binnie Each week it seems that we are informed that our data has been exposed to the internet by another household name. In part this is because serving customers via applications that are […]
Cybersecurity Expert Chris Binnie Calls for Smarter Cloud Defense Amid Credential Leak Panic
Exponential Interactive, Inc d/b/a VDX.tv Cookie duration: 90 (days). Data collected and processed: IP addresses, Device identifiers, Probabilistic identifiers, Browsing and interaction data, Non-precise location data, Users’ profiles, Privacy choices more Cookie duration resets each session. View details | Storage details | Privacy policy Consent Cookie duration: 30 (days).
Looking for Cracks » Linux Magazine
Enumerating resources with feroxbuster and ffuf © Photo by Linda Robert on Unsplash Author(s): A cyberattack unfolds in stages. The enumeration phase is when the attacker looks for holes in the target system. Tools like feroxbuster and ffuf bring the power of automation to the search. If you have ever looked at how cyberattacks unfold in detail, you know that a typical cyberattack has a few distinct phases.
Web Heist " Linux Magazine
Web browsers have become so ubiquitous that they are installed on almost every Internet-connected device with a user interface. Because of this popularity, browsers are a very attractive target for attackers. A 2023 article on the Dark Reading website [1] discusses a study by Spin.AI. The study analyzed around 300,000 browser extensions for several browsers that use Chromium under the bonnet, such as Google Chrome and Microsoft Edge.
Nothing Here " Linux Magazine
Steganography is the art of passing secret information. Kapersky puts it this way: "Steganography is the practice of concealing information within another message or physical object to avoid detection. Steganography can be used to hide virtually any type of digital content, including text, image, video, or audio content. That hidden data is then extracted at its destination" [1]. This secretive process, which apparently dates back to ancient Greece, appears to have been named much later.
Footprints " Linux Magazine
Digital Forensics and Incident Response (DFIR) is the art of studying a potentially compromised system to understand the blast radius of an attack. In this article I will look at some of the DFIR steps a security analyst might take following an incident. I will also simulate a couple of attacks and then go through how an analyst might respond after a monitoring system raises an alarm about a potential attack.
Kernel Trouble " Linux Magazine
The multitudinous varieties of attacks that can affect OSs are hard to keep up with, but recently I wanted to test some Linux kernel exploits to keep up with my interest in ethical hacking. Such attacks often occur once access has been gained to a system. They are sometimes used in order to achieve privilege escalation – in other words, to boost a non-root user's privileges to the level of the root user in order to gain full control of the system.
Tight Ship " Linux Magazine
Practical tools for locking down your Linux portable Author(s): Linux is quite secure compared to the alternatives, but you'll need a few additional steps if you really want to lock it down. We'll introduce you to some practical tools for antivirus protection, firewall configuration, and sandboxing. It occurred to me recently that the laptop I devote to my personal use did not have the same add-on protections I routinely expect from systems I use at work. In one sense, this is understandable.
Brute Force " Linux Magazine
One particular Linux service needs no introduction: Secure Shell (SSH) is synonymous with logging into remote Linux devices of all varieties. You can use SSH to log into a Raspberry Pi, a mail server, a web server, or even embedded Linux devices such as those running Internet of Things (IoT) applications. SSH emerged in the 1990s, when it became clear that the unencrypted Telnet was not suitable for communication on the open Internet.
Stolen Credentials » Linux Magazine
The good citizens of the Internet are frequently reminded that their passwords should contain a sufficiently complex combination of alphanumeric and special characters and, of course, meet or exceed a minimum length. Confusingly, the precise criteria for both is entirely dependent on which online service you use.
Masquerade " Linux Magazine
© Lead Image © Laureen-Quillet, fotolia.com Author(s): To stop an attacker, you need to think like an attacker, and to think like an attacker, you need to learn the tools for the trade. HiddenEye helps you simulate a phishing attack.
Hunting and Gathering » Linux Magazine
Home » Issues » 2024 » 279 » Passive Reconna... Researching a target with passive reconnaissance tools © Photo by Goh Rhy Yan on Unsplash Author(s): Cyberattacks often start with preliminary research on network assets and the people who use them. We'll show you some of the tools attackers use to get information. When sizing up potential targets, attackers try to get as much information as possible without raising any alarms.
Keyboard Eavesdropping » Linux Magazine
With all the discussion about the application of artificial intelligence (AI) in cybersecurity, we are reminded that criminals are paying close attention to AI's advances. New functionality identified by British researchers [1] involves training a deep learning model to listen in on the acoustic sounds made by keyboards when a user is typing. The model then records the audio from the typing and determines what was typed.
Word Alert " Linux Magazine
When software becomes uber-popular, attackers spend much more time trying to find security holes. WordPress [1], an extremely popular content management system (CMS), is built on the PHP [2] language. WordPress also hooks into a relatively small database back end, such as MariaDB. I always advise very large commercial organizations to avoid using WordPress due to the constant battle of patching and checking for security issues, even when using some of the excellent automation which is now provided.
Mutillidae II " ADMIN Magazine
There are few better ways to learn about offensive security than by using intentionally vulnerable applications. One such application that has stood out in a crowd for many years and has seen some notable version upgrades over the last few months is Mutillidae II [1], now available to practice ethical hacking.
Secret Chain " Linux Magazine
Anonymity with ProxyChains © Lead Image © viesinsh, 123RF.com Author(s): If you want to stay anonymous on the web, you don't need the Tor browser or a Tor-based distro like Tails. ProxyChains obscures your presence through proxies – with or without Tor on the back end. A number of scenarios lead to a need for online anonymity. You might wish to remain anonymous while working as a journalist in a war-torn country, for example, or when acting as a whistleblower.
Local Job " Linux Magazine
When trying to break into a web server, ethical hackers often alter some of the variables that are present in a website's URLs. This type of attack can fall into a number of different categories. Some attacks concern the manipulation of files that a server has access to. The definition of directory traversal, as it suggests, is allowing an attacker to traverse a filesystem and then read files (that they shouldn't have access to).
Shape Shifter " Linux Magazine
One important aspect of ethical hacking is privilege escalation, which is often abbreviated as PrivEsc or LPE (and sometimes called Local Privilege Escalation). PrivEsc is when one user illegitimately becomes another. An attacker might try to become another user on a system or the superuser. The escalation techniques I have learned while studying offensive security have been a real eye opener.
Press Alert " Linux Magazine
According to the WordPress website, a staggering 42 percent of the World Wide Web runs on WordPress software. It is not difficult to see why the huge number of WordPress websites around the world is a major draw for attackers. Discovering a WordPress bug allows the attacker to repeat the process hundreds of times. In some cases, they can even automate the process for a rinse-and-repeat attack which could be a real danger for millions of website owners.
Shell Game " Linux Magazine
Recently, I've thoroughly enjoyed brushing up my offensive security skills. I've worked in the defensive security field for longer than I care to remember, and gaining more insight into how attackers perceive the world has really opened my eyes. My background is two-and-half decades of Linux and securing containers over the last seven years or so. An area that always piques my interest is Linux-based local privilege escalation.
Cloud Native Security eBook
more Novels: The Time Machine The War of the Worlds The Invisible Man The Island of Doctor Moreau The Sleeper Awakes A Modern Utopia The Wheels of Chance The First Men in the Moon The Food of the Gods and How It Came to Earth In the Days of the Comet Ann Veronica Short Stories: Tales of Space and Time The Red Room The Diamond Maker Æpyornis Island The Chronic Argonauts The Flowering of the Strange Orchid The Remarkable Case of Davidson's Eyes The History of Mr Polly The World Set Free
Run a Second Linux Desktop with QEMU and KVM
Sometimes a bit of testing saves the day if you can do it on a disposable Linux machine of some sort. That testing could include installing new software that might be a little invasive, installing lots of hidden, tiny files that would clog up your desktop machine, or maybe trying out unstable software that is not fully released, meaning that your desktop machine might not boot up post-installation.
Too Much Spam? 5 Technologies Designed to Block It
Millions of emails are sent every day - work email, newsletters, messages from friends. But bubbling just under the surface of all that welcome communication is a massive volume of unsolicited email, what we often refer to as spam. These emails are often harmless, albeit annoying, but some are sinister, sent by criminal gangs hoping to ensnare the user and exhort money. And the system that distributes spam is a lot bigger and more systematic than you might think.
Conference Call " Linux Magazine
Author(s): Chris Binnie If you are looking for an alternative to commercial videoconferencing platforms, Jitsi offers an open source solution that lets you build and deploy online videoconferences. Halfway through a phone conversation amid the doom and gloom of the global pandemic, someone complained about commercial online videoconferencing services creaking at the seams due to the massive increase in demand. This led me to think about open source video conferencing options.
Kibana and Kubernetes " ADMIN Magazine
By Chris Binnie Set up an Elastic Stack quickly and easily with Helm to visualize Kubernetes data. The other day I faced a scenario, wherein I wanted to output logs to Elastic Stack (previously called ELK Stack) for visualization through dashboards. Elastic Stack comprises three software components: Elasticsearch, Logstash, and Kibana. When combined, they offer advanced logging, alerting, and searching [1].
Dynamic Bash Prompts to Customize the Command Line
GNU/Linux users—and technically sophisticated users on other operating systems—spend a lot of time in the command-line interpreter. After each command, a little string called a prompt is displayed to signal that they can enter a new command. This prompt is, by default, a simple dollar sign or something else with minimal information. But the prompt is a very rich interface, particularly in the Bash shell provided as the default in GNU/Linux.
Beginner’s Guide to FreeBSD
If you’re interested in trying a new operating system or looking at expanding your open source horizons, it’s time to try FreeBSD. This free Unix-like operating system (OS), which was created in 1993, is descended from Research Unix via the Berkeley Software Distribution (BSD), also known as “Berkeley Unix.” FreeBSD Is Not Linux Although FreeBSD does bear some similarities to Linux, it’s not, in fact, a Linux distribution.
Tips for Teaching Yourself Kubernetes
Kubernetes and cloud-native technology seem to be everywhere these days. If the underlying concepts and tools that gave rise to the Kubernetes juggernaut are unfamiliar to you, however, don’t worry. Plenty of resources are available for beginners, and the beginning is the best place to start. In the skills article, we will provide links to articles, tutorials, videos, and other resources that will help you get up to speed and ready to experiment, participate, and learn more.
7 Steps to Get Started with Git
So, you've decided you’d like to contribute to an open source project – that’s awesome! To make that happen, you’re probably going to need to use a tool called Git. Git can be difficult to wrap your head around the first few times you use it, so this article will break down each step you’ll need to take to complete your first contribution.
2 Simple Steps for Securing Your Linux Desktop
When you first connect a freshly installed desktop machine to the Internet, there are several important things to bear in mind. Two obvious considerations of securing a desktop machine include frequently running package updates and configuring a few firewall rules to help keep the bad guys out.
OpenShift " ADMIN Magazine
By Chris Binnie If you were looking to place a bet on a piece of software that would still be popular in a few years time, you couldn't go far wrong by choosing Kubernetes [1]. Following the public explosion of interest in containers – courtesy of Docker over the past five years or so – the tool of choice to organize, scale, and add resilience to those containers has been firmly voted as Kubernetes.
Container Origins " ADMIN Magazine
By Chris Binnie Containers have changed the way software releases occur in modern DevOps environments. The portability they offer is exceptional, and the consistency (being able to package units of functionality together) between development and production environments is invaluable for operational predictability and, ultimately, uptime.
On Time " Linux Magazine
Author(s): Chris Binnie The chrony implementation of the network time protocol provides an alternative to the familiar NTP daemon. Keeping your computer's clock set correctly is important; otherwise, a number of bad things can happen. For example, on a server, the logs can become inaccurate and confusing (and therefore insecure and ineffective). Also, when all files on your server or your desktop are modified or accessed, the time is noted.
Linux Server Hardening Using Idempotency with Ansible: Part 3
In the previous articles, we introduced idempotency as a way to approach your server’s security posture and looked at some specific Ansible examples, including the kernel, system accounts, and IPtables. In this final article of the series, we’ll look at a few more server-hardening examples and talk a little more about how the idempotency playbook might be used.
Linux Server Hardening Using Idempotency with Ansible: Part 2
In the first part of this series, we introduced something called idempotency, which can provide the ongoing improvements to your server estate’s security posture. In this article, we’ll get a little more hands-on with a look at some specific Ansible examples. Shopping List You will need some Ansible experience before being able to make use of the information that follows.
Linux Server Hardening Using Idempotency with Ansible: Part 1
I think it’s safe to say that the need to frequently update the packages on our machines has been firmly drilled into us. To ensure the use of latest features and also keep security bugs to a minimum, skilled engineers and even desktop users are well-versed in the need to update their software. Hardware, software and SaaS (Software as a Service) vendors have also firmly embedded the word “firewall” into our vocabulary for both domestic and industrial uses to protect our computers.
Decreasing Vulnerabilities Seen in Red Hat Linux
As usual there's been a flurry of activity in the cloud and DevOps security space recently. In case you missed it, a particularly painful flaw was found in Red Hat Enterprise Linux's DHCP (Dynamic Host Configuration Protocol) service not long ago. The bug specifically affects RHEL 6 and 7 (and derivative OS, Fedora 28, apparently). The CVE folks allocated the following ID to it in case you want to look it up: CVE-2018-1111.
Finding Files with mlocate: Part 3
In the previous articles in this short series, we introduced the mlocate (or just locate) command, and then discussed some ways the updatedb tool can be used to help you find that one particular file in a thousand. You are probably also aware of xargs as well as the find command.
Finding Files with mlocate: Part 2
In the previous article, we discussed some ways to find a specific file out of the thousands that may be present on your filesystems and introduced the locate tool for the job. Here we explain how the important updatedb tool can help. Incidentally, you might get a little perplexed if trying to look up the manuals for updatedb and the locate command.
Finding Files with mlocate
It’s not uncommon for a sysadmin to have to find needles buried deep inside haystacks. On a busy machine, there can be files in their hundreds of thousands present on your filesystems. What do you do when you need to make sure one particular configuration file is up to date, but you can’t remember where it is located? If you’ve used Unix-type machines for a while, then you’ve almost certainly come across the find command before. It is unquestionably exceptionally sophisticated and highly functional.
Secure Your Container Data With Ephemeral Docker Volumes
What with all the furor around containers and orchestrators, it can be easy to lose sight of some of their highly useful features. The portability and extensible nature of containers is a modern convenience to be cherished, but from my professional perspective it's sometimes all too easy to get carried away and pay less attention to security. There's a lesser-known feature in the venerable Docker that I like using from a security perspective, which I'll take a quick look at now.
Redirecting Network Traffic: Part 2
In the previous article, I looked at how to use the clever redir utility to listen out for inbound traffic on a particular port on a host and then forward that traffic onward somewhere else. Here, I’ll briefly describe some other approaches to manipulating traffic that may suit your needs. You can, of course, use the mighty IPtables (the kernel-based firewall, Netfilter) to alter how your traffic is manipulated as it arrives at your server.
Using Redir to Alter Network Traffic: Part 1
There are times when, despite your best efforts, you have little choice but to put a quick workaround in place. Reconfiguring network-border firewalls or moving services between machines is simply not an option because the network’s topology is long established and definitely shouldn’t be messed about with. Picture the scene. You’ve lost an inbound mail server due to some unusual issue with the application which will probably take more than the few minutes you have to fix.
Hardening Docker Hosts with User Namespaces
Securing your Docker containers and the hosts upon which they run is key to sustaining reliable and available services. From my professional DevSecOps perspective, securing the containers and the orchestrators (e.g., OpenShift, Docker Swarm, and Kubernetes) is usually far from easy. This is primarily because the goal posts change frequently thanks to the technology evolving at such a rapid pace.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Chris
Contact Chris, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack