Skip to content
RCE Write-up Intermediate

Exploit Eternal Blue ms17 010 For Windows Xp With Custom Payload

The article describes exploiting the MS17-010 SMB vulnerability on Windows XP to achieve remote code execution. An attacker can send a crafted payload to a vulnerable SMB service and obtain a SYSTEM shell.

Nol White Hat Follow

Published on infosecwriteups.com

This article shows you how to exploit the MS17–010 vulnerability on Windows XP .

Nol White Hat, on infosecwriteups.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

Impact

An attacker could execute arbitrary code with SYSTEM privileges on a vulnerable Windows XP machine.

What the attacker needed

Target runs Windows XP or 2000; Target is vulnerable to MS17-010; Attacker has network access to SMB port 445; Attacker runs Kali Linux

How it was found

  1. Install Impacket and its dependencies in a Python 2 virtual environment.
  2. Scan the target with nmap SMB scripts to confirm MS17-010 vulnerability.
  3. Create and compile a Windows executable payload that runs a netcat reverse shell.
  4. Start an SMB server to host files and a netcat listener on port 8080.
  5. Run the MS17-010 exploit script against the target with the payload file.
  6. Catch the reverse shell connection on the netcat listener.

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 well-known Windows flaw called MS17-010, which lets an attacker run commands on an unpatched machine over the network file-sharing service (SMB). The author shows how to build a small program that connects back to the attacker, then uses a public exploit to deliver it and get a command prompt with the highest privileges.

What is RCE?

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

More by Nol White Hat

View all

8 more disclosed reports, best first.

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.