Skip to content
RCE Write-up Beginner

VAPT Report on SMB Exploitation in Windows 10 Finance Endpoint

A Windows 10 finance endpoint exposed SMBv1 and was unpatched against CVE-2017-0144 (EternalBlue). An attacker could exploit this to gain a remote shell and unauthorised access to sensitive system data.

Aditya Bhatt Follow

Published on infosecwriteups.com

Aditya Bhatt

Aditya Bhatt, 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

Root cause

Likely the SMBv1 service was left enabled and the system was missing Microsoft's security patch for CVE-2017-0144.

Impact

An attacker could gain a remote shell and unauthorised access to sensitive system data; the text does not mention any defence that blocked the exploit.

What the attacker needed

Network access to port 445; target runs unpatched SMBv1

The fix

The system should be patched for CVE-2017-0144, SMBv1 disabled, and port 445 blocked on public interfaces.

How it was found

  1. Discover the host with Nmap ping scan.
  2. Scan port 445 with service detection.
  3. Run a Nessus scan to identify CVE-2017-0144.
  4. Use the Metasploit scanner module to confirm the vulnerability.
  5. Run the EternalBlue exploit module with a reverse shell payload.
  6. Obtain a remote shell on the target.

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.

SMB is a file-sharing protocol used by Windows. The EternalBlue flaw lets an attacker send specially crafted network messages to take control of an unpatched machine. Here, the tester used a known exploit tool to open a remote command shell on the target.

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 Aditya Bhatt

View all

25 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.