VOOZH about

URL: https://thenewstack.io/how-developers-can-thwart-bad-actors/

⇱ How Developers Can Thwart Bad Actors - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2022-04-14 09:20:25
How Developers Can Thwart Bad Actors
contributed,sponsor-lacework,sponsored,sponsored-post-contributed,
Security / Software Development

How Developers Can Thwart Bad Actors

Developers can outsmart attackers with best practices, controls on CI/CD pipelines and using pre-approved checks and balances to secure code.
Apr 14th, 2022 9:20am by Sowmya Karmali
👁 Featued image for: How Developers Can Thwart Bad Actors
Feature image via Pixabay.
Lacework sponsored this post.

The cloud brings a host of new opportunities for developers, but also opportunities for attackers to introduce new threats.

To protect businesses from these threats, it’s crucial for developers to understand what attackers look for and why it is easier than ever for them to access your sensitive data.

Lacework’s newest edition of its quarterly cloud threat report, which highlights threats within the public cloud, revealed the new and most popular avenues cybercriminals are using to take advantage of businesses.

We’re breaking down what these trends are, why they’re gaining traction and how to protect against them.

Cryptocurrency Mining Tools Used to Steal Data 

Sowmya Karmali
Sowmya is a director of product management at Lacework. She has more than 20 years of experience building software platforms at scale, applying data-driven design and visual storytelling, and growing stellar teams worldwide. Sowmya has held product leadership roles at companies including Crowdstrike, Harman International, Cloudera and Microsoft.

The cryptocurrency mining tool XMRig is the tool most commonly installed. Attackers have numerous applications to choose from but usually go after the ones that will have the biggest payoff. Attackers use tools to help them exfiltrate data or escalate privileges to help them get this information. It is easy for attackers to exploit information in the cloud because they can take advantage of so many different configurations and settings. If cloud users make even a small error on one of their configurations, it can be vulnerable to attack.

While security analysts usually are the ones who detect a security incident, they need to pass it along to DevOps teams to fix the issue. Developers want to move fast, check code and then quickly navigate to developing the next feature in a long backlog. The last thing they want is to be alerted to a security incident after the application is in production and then have to backtrack to figure out where it occurred and how to fix it.

This is why it’s essential for DevOps to implement security controls in CI/CD pipelines to prevent deploying vulnerabilities in the first place. We recommend enabling two-factor authentication and implementing signed commits in revision control software to prevent credential hacking. It’s also helpful to use a software bill of materials to inventory and track the use of software in your environment.

Images Are the New Gateways for Attacks 

Attackers compromise exposed Docker sockets by deploying malicious container images and hosting malicious images in public repositories. Attackers also are good at hiding malware, so developers often don’t realize that there is something malicious in their container image.

To prevent this, it’s important for developers to use only approved images in their code. Teams can perform inline scanning, preapprove their images and put them in a registry before deployment to assess their container images for vulnerabilities. This provides developers with a safe set of images to use and prevents them from accidentally downloading malicious images from the internet.

Detecting Post-Exploitation Activity Is Just as Important 

Lacework observed many exploit payloads shortly after Log4j’s critical remote code execution flaw disclosure. Shortly after the flaw was discovered, most successful exploitation attempts were benign; however, the number from malicious sources grew as time went on. This is because attackers improved their payloads and continued to adapt their exploitation methods to stay ahead of signature-based detections that most security products use.

In this case, an effective method for developers to defend themselves and their systems is to implement canary tokens. Canary tokens are resources — such as directories, files or accounts — that alert an administrator when someone accesses them. Developers can pair canary tokens with cloud native tools and customize them to send alerts when certain resources are accessed. This is a best practice to quickly notify the appropriate person about post-compromise activity in an environment.

Cloud Services Present Opportunities for Hackers Too

The number of cloud providers keeps growing with new offerings from platforms, software and storage solutions that enable companies to easily innovate, regardless of their size or location.

This makes it easy for developers to create new applications and re-architect old ones. In the past, developers needed to acquire databases or web server licenses before they could begin creating applications, which was time- and cost-consuming.

Lacework is the data-driven cloud security company. It’s the only company to deliver end-to-end visibility and automated insight into risk across multicloud environments so organizations of all shapes and sizes can innovate with speed and safety.
Learn More
The latest from Lacework

Docker and Kubernetes have simplified the development process, so developers can now write new applications and deploy them in multiple places at scale. As a result, more companies are starting in the cloud or moving to the cloud, which levels the playing field for newcomers. This is why we’re seeing so many new cloud native businesses — for example, FinTech companies, which use technology to improve or automate financial services.

The cloud has a unique shared-responsibility approach to security. Companies must secure their services and platforms; however, each individual user is responsible for protecting their content and data. Because of this shared-responsibility approach and the new ease and speed of cloud innovation, security often takes a back seat and this presents new opportunities for bad actors.

Understanding What Attackers Want Is Key 

Attackers are constantly finding new ways to exploit your systems, but developers can outsmart them by implementing best practices, establishing controls on CI/CD pipelines, scanning images and conducting preapproved checks and balances to secure code. For a more comprehensive look at how to protect your systems, see Lacework’s Cloud Threat Report.

Lacework is the data-driven cloud security company. It’s the only company to deliver end-to-end visibility and automated insight into risk across multicloud environments so organizations of all shapes and sizes can innovate with speed and safety.
Learn More
The latest from Lacework
TRENDING STORIES
Sowmya is a director of product management at Lacework. She has more than 20 years of experience building software platforms at scale, applying data-driven design and visual storytelling, and growing stellar teams worldwide. Sowmya has held product leadership roles at...
Read more from Sowmya Karmali
Lacework sponsored this post.
SHARE THIS STORY
TRENDING STORIES
TNS owner Insight Partners is an investor in: Pragma, Docker.
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.