Popping a shell on a mainframe, is that even possible
summary
Mainframes reachable on the Internet (~500 found by scans) often expose TN3270 and a CICS middleware stack; this work demonstrates an automated exploit chain (tool: kicksbound) that enumerates CMT/CSI transactions, flips file attributes, reads VSAM/KDS records, and abuses the spool/JES or transient data queues to inject GCL/REXX payloads yielding reverse TSO or POSIX shells. ~30% of targets allow spool/TDQ execution; post-exploit steps include an APF-library kernel-mode loader (assembly) that flips privilege bits on z/OS to obtain special/OMVS root-equivalent access.
AI-written summary · about
chapters (10)
- 0:00Introduction to mainframes
- 4:44What is CICS and why it matters
- 10:10How CICS applications work
- 13:18Exploring CICS with CMT
- 18:56Reading files via CSI
- 21:03Beyond file access: executing code
- 24:13Automating shell access with Kicks Pound
- 28:24Bypassing CSI restrictions
- 30:16Privilege escalation on z/OS
- 34:55Q&A and closing remarks
