Close Menu
Tech Nova Mindset – Empower Innovation and Forward Thinking

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    The Biggest Pro-AI Super PAC Network Didn’t Really Impact the Midterms

    November 5, 2026

    What’s next for US energy policy after the midterm elections?

    November 5, 2026

    The Blue Wave Has Tech Bros Scrambling for Data Centers in Space

    November 5, 2026
    Facebook X (Twitter) Instagram
    Trending
    • The Biggest Pro-AI Super PAC Network Didn’t Really Impact the Midterms
    • What’s next for US energy policy after the midterm elections?
    • The Blue Wave Has Tech Bros Scrambling for Data Centers in Space
    • Roundtables: Inside the Quest for Cognitive Immortality
    • Microsoft’s Medical AI Is Over Twice as Good Diagnosing Diseases as Doctors
    • Google Is Forcing AI Overviews in Classrooms. Schools Are Searching for a Way Out
    • Texas was the new epicenter of the AI data center buildout. That might be kaput.
    • UK Officials Said AI Would Add £400 Billion to the Economy. That Figure Mainly Came From Google
    Tech Nova Mindset – Empower Innovation and Forward Thinking
    • Home
    • Gadgets
    • Reviews
    • Tech News
    • Future Tech
    • AI & Robotics
    • How-To Guides
    • More
      • Cybersecurity
      • Startups & Innovation
    Tech Nova Mindset – Empower Innovation and Forward Thinking
    Home»Cybersecurity»Hackers compromise NGINX servers to redirect user traffic
    Cybersecurity

    Hackers compromise NGINX servers to redirect user traffic

    kirklandc008@gmail.comBy kirklandc008@gmail.comFebruary 5, 2026No Comments3 Mins Read
    Facebook Twitter Pinterest LinkedIn Tumblr Email
    Hackers compromise NGINX servers to redirect user traffic
    Share
    Facebook Twitter LinkedIn Pinterest Email

    A threat actor is compromising NGINX servers in a campaign that hijacks user traffic and reroutes it through the attacker’s backend infrastructure.

    NGINX is open-source software for web traffic management. It intermediates connections between users and servers and is employed for web serving, load balancing, caching, and reverse proxying.

    The malicious campaign, discovered by researchers at DataDog Security Labs, targets NGINX installations and Baota hosting management panels used by sites with Asian top-level domains (.in, .id, .pe, .bd, and .th) and government and educational sites (.edu and .gov).

    Attackers modify existing NGINX configuration files by injecting malicious ‘location’ blocks that capture incoming requests on attacker-selected URL paths.

    They then rewrite them to include the full original URL, and forward traffic via the ‘proxy_pass’ directive to attacker-controlled domains.

    The abused directive is normally used for load balancing, allowing NGINX to reroute requests through alternative backend server groups to improve performance or reliability; hence, its abuse does not trigger any security alerts.

    Request headers such as ‘Host,’ ‘X-Real-IP,’ ‘User-Agent,’ and ‘Referer’ are preserved to make the traffic appear legitimate.

    The attack uses a scripted multi-stage toolkit to perform the NGINX configuration injections. The toolkit operates in five stages:

    • Stage 1 – zx.sh: Acts as the initial controller script, responsible for downloading and executing the remaining stages. It includes a fallback mechanism that sends raw HTTP requests over TCP if curl or wget are unavailable.
    • Stage 2 – bt.sh: Targets NGINX configuration files managed by the Baota panel. It dynamically selects injection templates based on the server_name value, safely overwrites the configuration, and reloads NGINX to avoid service downtime.
    • Stage 3 – 4zdh.sh: Enumerates common NGINX configuration locations such as sites-enabled, conf.d, and sites-available. It uses parsing tools like csplit and awk to prevent configuration corruption, detects prior injections via hashing and a global mapping file, and validates changes using nginx -t before reloading.
    • Stage 4 – zdh.sh: Uses a narrower targeting approach focused mainly on /etc/nginx/sites-enabled, with emphasis on .in and .id domains. It follows the same configuration testing and reload process, with a forced restart (pkill) used as a fallback.
    • Stage 5 – ok.sh: Scans compromised NGINX configurations to build a map of hijacked domains, injection templates, and proxy targets. The collected data is then exfiltrated to a command-and-control (C2) server at 158.94.210[.]227.

    Overview of the hijacking attack
    Source: Datadog

    These attacks are hard to detect because they do not exploit an NGINX vulnerability; instead, they hide malicious instructions in its configuration files, which are rarely scrutinized.

    Also, user traffic still reaches the intended destination, often directly, so the passing through attacker infrastructure is unlikely to be noticed unless specific monitoring is performed.

    Modern IT infrastructure moves faster than manual workflows can handle.

    In this new Tines guide, learn how your team can reduce hidden manual delays, improve reliability through automated response, and build and scale intelligent workflows on top of tools you already use.

    Get the guide

    compromise hackers NGINX redirect servers traffic user
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    kirklandc008@gmail.com
    • Website

    Related Posts

    AI Guardrails Aren’t Stopping Criminal Hackers

    October 23, 2026

    Hackers Exploited the PHP Vulnerabilities Days Before They Were Patched

    October 22, 2026

    Eliminating traffic deaths | MIT Technology Review

    October 21, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Nothing CEO says phone prices are going to keep going up

    June 12, 20267 Views

    The best VPN routers of 2026: Expert tested and reviewed

    June 14, 20263 Views

    Google DeepMind Plans to Track AGI Progress With These 10 Traits of General Intelligence

    March 21, 20263 Views
    Stay In Touch
    • Facebook
    • YouTube
    • TikTok
    • WhatsApp
    • Twitter
    • Instagram
    Latest Reviews

    Subscribe to Updates

    Get the latest tech news from FooBar about tech, design and biz.

    Recent Posts
    • The Biggest Pro-AI Super PAC Network Didn’t Really Impact the Midterms
    • What’s next for US energy policy after the midterm elections?
    • The Blue Wave Has Tech Bros Scrambling for Data Centers in Space
    • Roundtables: Inside the Quest for Cognitive Immortality
    • Microsoft’s Medical AI Is Over Twice as Good Diagnosing Diseases as Doctors

    The Biggest Pro-AI Super PAC Network Didn’t Really Impact the Midterms

    November 5, 2026

    What’s next for US energy policy after the midterm elections?

    November 5, 2026

    The Blue Wave Has Tech Bros Scrambling for Data Centers in Space

    November 5, 2026

    Roundtables: Inside the Quest for Cognitive Immortality

    November 5, 2026
    Facebook X (Twitter) Instagram Pinterest
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms and Conditions
    • Disclaimer
    © 2026 TechNovaMindset. Designed by By Pro.

    Type above and press Enter to search. Press Esc to cancel.