Skip to content
RCE Write-up Beginner

Exploiting an IPv6 Remote Code Execution Vulnerability: A Practic

A lab exercise exploited the MS17-010 SMBv1 flaw on an unpatched Windows Server 2008 R2 host using the EternalBlue Metasploit module, gaining SYSTEM-level access. The author then used a custom Python script to run commands remotely on the compromised machine.

Praveera Arosh Follow

Published on medium.com

In this article, I’ll walk through a hands-on lab where I explored how a Remote Code Execution (RCE) vulnerability can be exploited in an IPv6-enabled environment. The exercise was carried out in a fully controlled setup, with the goal of understanding real-world attack techniques and strengthening defensive awareness.

Praveera Arosh, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely an unpatched SMBv1 service on the target, vulnerable to the publicly known MS17-010 flaw.

Impact

An attacker could completely compromise an unpatched Windows host and run arbitrary commands with the highest privileges.

What the attacker needed

Target runs unpatched SMBv1; network access to SMB port; Metasploit installed

The fix

The text says regular patching and disabling SMBv1 are essential steps to prevent such attacks.

How it was found

  1. Scan the network with Nmap to find active hosts and open ports.
  2. Identify exposed SMB services and check for known vulnerabilities.
  3. Confirm the target is likely vulnerable to MS17-010.
  4. Configure and launch the EternalBlue module in Metasploit against the target.
  5. Gain SYSTEM-level access and open a shell.
  6. Use a custom Python script to execute commands remotely on the compromised system.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

This is a walkthrough of a known Windows file-sharing bug called MS17-010. An attacker can send specially crafted network messages to an unpatched machine and take full control of it. The author practised this in a safe lab, not on a real target.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.