File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ Here is a short description of the next 20 command codes and purpose :
47
47
| "\x3a\xe5" | [ GetFileTimeStamp] ( #GetFileTimeStamp ) | $filename |
48
48
| "\xd3\xb1" | [ WbemCreateProcess] ( #WbemCreateProcess ) | $CommandLine |
49
49
| "\x3e\xf8" | [ listdir2] ( #listdir2 ) | $dir_path |
50
- | "\xb9\xe4" | [ GetDelegationToken] ( #GetDelegationToken ) | $TargetName |
50
+ | "\xb9\xe4" | [ GetDelegationToken] ( #GetDelegationToken ) | $TargetNames |
51
51
| "\x3a\xb9" | [ ping] ( #ping ) | $host |
52
52
| "\x9c\xda" | [ GetCredentialsFromUiPrompt] ( #GetCredentialsFromUiPrompt ) | $CaptionText |
53
53
| "\xe4\xcd" | [ GetThreadsInfo] ( #GetThreadsInfo ) | $pid |
@@ -905,10 +905,14 @@ function listdir2($dir_path)
905
905
This function could be part of a Kerberos Relay Attack, i'll update accordingly after a more in-depth static analysis
906
906
907
907
``` php
908
- // GetDelegationToken("ldap/MYDC.mylab.local");
909
- function GetDelegationToken($TargetName)
908
+
909
+ The parameter can be a signle target or a space-separated list of targets
910
+
911
+ // ex: GetDelegationToken("ldap/MYDC.mylab.local");
912
+ // ex: GetDelegationToken("ldap/MYDC1.mylab.local ldap/MYDC2.mylab.local ldap/MYDC3.mylab.local");
913
+ function GetDelegationToken($TargetNames)
910
914
{
911
- $cmd_id = "\xb9\xe4 $TargetName ";
915
+ $cmd_id = "\xb9\xe4 $TargetNames ";
912
916
$cmd_id_b64 = base64_encode($cmd_id);
913
917
914
918
return $cmd_id_b64;
You can’t perform that action at this time.
0 commit comments