Platform Engineering Won’t Kill the DevOps Star - The New Stack
1_DevOps'ish
Light pollution: Huge fall in stars that can be seen with naked eye - BBC News
Google Calls In Help From Larry Page and Sergey Brin for A.I. Fight
A rival chatbot has shaken Google out of its routine, with the founders who left three years ago re-engaging and more than 20 A.I. projects in the works.
Google cuts 12,000 jobs in latest round of big tech layoffs
Google needs to focus on key areas like AI, says Sundar Pichai
There cost of not maintaining automation is high | The lights have been on at a Massachusetts school for over a year because no one can turn them off
Blame it on the pandemic and "supply chain problems," says the school district's assistant superintendent of finance.
U.S. FAA says 'unintentionally deleted files' prompted computer outage
The Federal Aviation Administration (FAA) said on Thursday a preliminary review found that contract personnel "unintentionally deleted files" disrupting a key computer system and prompting a nationwide groundstop on Jan. 11 that disrupted more than 11,000 flights.
cilium/hubble: Hubble - Network, Service & Security Observability for Kubernetes using eBPF
Blog: Consider All Microservices Vulnerable — And Monitor Their Behavior
Author:
David Hadas (IBM Research Labs)
This post warns Devops from a false sense of security. Following security best practices when developing and configuring microservices do not result in non-vulnerable microservices. The post shows that although all deployed microservices are vulnerable, there is much that can be done to ensure microservices are not exploited. It explains how analyzing the behavior of clients and services from a security standpoint, named here "Security-Behavior Analysis" , can protect the deployed vulnerable microservices. It points to Guard , an open source project offering security-behavior monitoring and control of Kubernetes microservices presumed vulnerable.
As cyber attacks continue to intensify in sophistication, organizations deploying cloud services continue to grow their cyber investments aiming to produce safe and non-vulnerable services. However, the year-by-year growth in cyber investments does not result in a parallel reduction in cyber incidents. Instead, the number of cyber incidents continues to grow annually. Evidently, organizations are doomed to fail in this struggle - no matter how much effort is made to detect and remove cyber weaknesses from deployed services, it seems offenders always have the upper hand.
Considering the current spread of offensive tools, sophistication of offensive players, and ever-growing cyber financial gains to offenders, any cyber strategy that relies on constructing a non-vulnerable, weakness-free service in 2023 is clearly too naïve. It seems the only viable strategy is to:
➥ Admit that your services are vulnerable!
In other words, consciously accept that you will never create completely invulnerable services. If your opponents find even a single weakness as an entry-point, you lose! Admitting that in spite of your best efforts, all your services are still vulnerable is an important first step. Next, this post discusses what you can do about it...
How to protect microservices from being exploited
Being vulnerable does not necessarily mean that your service will be exploited. Though your services are vulnerable in some ways unknown to you, offenders still need to identify these vulnerabilities and then exploit them. If offenders fail to exploit your service vulnerabilities, you win! In other words, having a vulnerability that can’t be exploited, represents a risk that can’t be realized.
Figure 1. An Offender gaining foothold in a vulnerable service
The above diagram shows an example in which the offender does not yet have a foothold in the service; that is, it is assumed that your service does not run code controlled by the offender on day 1. In our example the service has vulnerabilities in the API exposed to clients. To gain an initial foothold the offender uses a malicious client to try and exploit one of the service API vulnerabilities. The malicious client sends an exploit that triggers some unplanned behavior of the service.
More specifically, let’s assume the service is vulnerable to an SQL injection. The developer failed to sanitize the user input properly, thereby allowing clients to send values that would change the intended behavior. In our example, if a client sends a query string with key “username” and value of “tom or 1=1” , the client will receive the data of all users. Exploiting this vulnerability requires the client to send an irregular string as the value. Note that benign users will not be sending a string with spaces or with the equal sign character as a username, instead they will normally send legal usernames which for example may be defined as a short sequence of characters a-z. No legal username can trigger service unplanned behavior.
In this simple example, one can already identify several opportunities to detect and block an attempt to exploit the vulnerability (un)intentionally left behind by the developer, making the vulnerability unexploitable. First, the malicious client behavior differs from the behavior of benign clients, as it sends irregular requests. If such a change in behavior is detected and blocked, the exploit will never reach the service. Second, the service behavior in response to the exploit differs from the service behavior in response to a regular request. Such behavior may include making subsequent irregular calls to other services such as a data store, taking irregular time to respond, and/or responding to the malicious client with an irregular response (for example, containing much more data than normally sent in case of benign clients making regular requests). Service behavioral changes, if detected, will also allow blocking the exploit in different stages of the exploitation attempt.
More generally:
Monitoring the behavior of clients can help detect and block exploits against service API vulnerabilities. In fact, deploying efficient client behavior monitoring makes many vulnerabilities unexploitable and others very hard to achieve. To succeed, the offender needs to create an exploit undetectable from regular requests.
Monitoring the behavior of services can help detect services as they are being exploited regardless of the attack vector used. Efficient service behavior monitoring limits what an attacker may be able to achieve as the offender needs to ensure the service behavior is undetectable from regular service behavior.
Combining both approaches may add a protection layer to the deployed vulnerable services, drastically decreasing the probability for anyone to successfully exploit any of the deployed vulnerable services. Next, let us identify four use cases where you need to use security-behavior monitoring.
Use cases
One can identify the following four different stages in the life of any service from a security standpoint. In each stage, security-behavior monitoring is required to meet different challenges:
Service State
Use case
What do you need in order to cope with this use case?
Normal
No known vulnerabilities: The service owner is normally not aware of any known vulnerabilities in the service image or configuration. Yet, it is reasonable to assume that the service has weaknesses.
Provide generic protection against any unknown, zero-day, service vulnerabilities - Detect/block irregular patterns sent as part of incoming client requests that may be used as exploits.
Vulnerable
An applicable CVE is published: The service owner is required to release a new non-vulnerable revision of the service. Research shows that in practice this process of removing a known vulnerability may take many weeks to accomplish (2 months on average).
Add protection based on the CVE analysis - Detect/block incoming requests that include specific patterns that may be used to exploit the discovered vulnerability. Continue to offer services, although the service has a known vulnerability.
Exploitable
A known exploit is published: The service owner needs a way to filter incoming requests that contain the known exploit.
Add protection based on a known exploit signature - Detect/block incoming client requests that carry signatures identifying the exploit. Continue to offer services, although the presence of an exploit.
Misused
An offender misuses pods backing the service: The offender can follow an attack pattern enabling him/her to misuse pods. The service owner needs to restart any compromised pods while using non compromised pods to continue offering the service. Note that once a pod is restarted, the offender needs to repeat the attack pattern before he/she may again misuse it.
Identify and restart instances of the component that is being misused - At any given time, some backing pods may be compromised and misused, while others behave as designed. Detect/remove the misused pods while allowing other pods to continue servicing client requests.
Fortunately, microservice architecture is well suited to security-behavior monitoring as discussed next.
Security-Behavior of microservices versus monoliths
Kubernetes is often used to support workloads designed with microservice architecture. By design, microservices aim to follow the UNIX philosophy of "Do One Thing And Do It Well". Each microservice has a bounded context and a clear interface. In other words, you can expect the microservice clients to send relatively regular requests and the microservice to present a relatively regular behavior as a response to these requests. Consequently, a microservice architecture is an excellent candidate for security-behavior monitoring.
Figure 2. Microservices are well suited for security-behavior monitoring
The diagram above clarifies how dividing a monolithic service to a set of microservices improves our ability to perform security-behavior monitoring and control. In a monolithic service approach, different client requests are intertwined, resulting in a diminished ability to identify irregular client behaviors. Without prior knowledge, an observer of the intertwined client requests will find it hard to distinguish between types of requests and their related characteristics. Further, internal client requests are not exposed to the observer. Lastly, the aggregated behavior of the monolithic service is a compound of the many different internal behaviors of its components, making it hard to identify irregular service behavior.
In a microservice environment, each microservice is expected by design to offer a more well-defined service and serve better defined type of requests. This makes it easier for an observer to identify irregular client behavior and irregular service behavior. Further, a microservice design exposes the internal requests and internal services which offer more security-behavior data to identify irregularities by an observer. Overall, this makes the microservice design pattern better suited for security-behavior monitoring and control.
Security-Behavior monitoring on Kubernetes
Kubernetes deployments seeking to add Security-Behavior may use Guard , developed under th...
70% of drugs advertised on TV are of “low therapeutic value,” study finds
Ads often tout new, pricey drugs that are not much better than old, cheaper ones.
robusta-dev/kubernetes-chatgpt-bot: A ChatGPT bot for Kubernetes issues.
A ChatGPT bot for Kubernetes issues. Contribute to robusta-dev/kubernetes-chatgpt-bot development by creating an account on GitHub.
What is AWS Compute Optimizer? - AWS Compute Optimizer
(73) KBE Insider (E17) - Chris Short - YouTube
Supply chain security and compliance: Why software organizations should get out in front of requirements
Get out in front of software supply chain compliance requirements for a competitive advantage. Here's what your software organization needs to know.
Fedora 38 Change Approved To Mandate Quicker Reboots/Shutdowns
Last month a change proposal was filed for aiming to yield faster reboots and shutdowns of Fedora Linux by shortening the time window that services can block the shutdown process
Lots of Kubernetes point releases just dropped | kubernetes-announce - Google Groups
‘Passion economy’ platforms cut costs in tech downturn | Financial Times
News, analysis and comment from the Financial Times, the worldʼs leading global business publication
I analyzed 327 booths at re:Invent - here are the DevOps trends for 2023
AWS re:Invent is one of the premier events for cloud technology, and this year's conference featured over 190 booths showcasing the latest and greatest in cloud innovation. In this article, we will take a closer look at some of the standout technologies and trends that were on display at re:Invent, and explore how they are set to shape the future of the cloud. With this article I hope to democratize access to the cutting edge of our industry, more specifically: I hope technical folks who could n
PayPal accounts breached in large-scale credential stuffing attack
Following the LNK metadata trail
Week Ending January 15, 2023
Developer News
libvirt 9.0 Released For Latest Linux Virtualization API
Libvirt 9.0 was released on Monday as the newest version of this Linux Virtualization API
Ukraine says Russia is coordinating missile strikes, cyberattacks and information operations
Researchers associated with the Ukrainian government on Tuesday confirmed that Russia has coordinated kinetic strikes and cyberattacks to inflict damage on government offices, public service organizations, media companies and communication centers.
Rust concepts I wish I learned earlier
Firefox 109.0, See All New Features, Updates and Fixes
Git security vulnerabilities announced | The GitHub Blog
Bad news for consumerism: Everything’s good enough. – Cliffski's Blog
Microsoft to cut thousands of jobs across divisions - reports | Reuters
Multi-Environment GitOps for Kubernetes with ArgoCD, Crossplane, and Kyverno | Joe Creager
Self-Service Kubernetes Development with ArgoCD - YouTube
This Next-Generation Display Technology Is Going to Change the World
We've seen a new, top-secret prototype display technology that will soon be in TVs, phones and more.