SlideShare ist ein Scribd-Unternehmen logo
1 von 38
@bigendiansmalls@bigendiansmalls
Learning mainframe
hacking
@bigendiansmalls@bigendiansmalls
The puzzle
• Learn how to mainframe
– Architecture
– Language
– Vernacular
• Make it easier for others
• Build and Port Tools
• Get the word out
@bigendiansmalls@bigendiansmalls
/ME
• Enjoys RE, ASM, Learning, Not taking no
for an answer
• Relative n00b to MF haxoring
• Loves a good puzzle
• Really excited about continuing to teach
ppl bout Gibsons
• Here on behalf of myself, not employer
IN HONOR OF HACKERS 20YR
ANNIVERSARY, I BRING YOU:
@bigendiansmalls@bigendiansmalls
5 stages of learning
mainframe
1. DENIAL
@bigendiansmalls@bigendiansmalls
DENIAL
• Most secure platform
– If configured correctly **
• Antiquated tech – on it’s way out
• Can’t be exploited by traditional
means
• A quick review:
@bigendiansmalls@bigendiansmalls
obsolescence
• Not.
• Google it.
• That’s enough
@bigendiansmalls@bigendiansmalls
Antiquated
• Ha!
• Possible 100% uptime, protection
against data loss
• 5.5ghz 6 core ooo CISC
– 100+ cores / TB’s of RAM
– Nearly limitless storage etc etc
@bigendiansmalls@bigendiansmalls
Trad’L hax no apply
• Things like buffer overflows?
• RCE?
@bigendiansmalls@bigendiansmalls
Gut check
@bigendiansmalls@bigendiansmalls
@bigendiansmalls@bigendiansmalls
Trad’L hax no apply
• Well ……
@bigendiansmalls@bigendiansmalls
5 stages of learning
mainframe
1. DENIAL
2. ANGER
@bigendiansmalls@bigendiansmalls
ANGER
• This is a complicated system
• People help
– Pay for it = good
– Search for it = lulz
• Manuals: thorough. Really
thorough
@bigendiansmalls@bigendiansmalls
People un-help
@bigendiansmalls@bigendiansmalls
@bigendiansmalls@bigendiansmalls
Doco help overload
• Manuals with IP in the title:
– 16 Manuals in
– 59.39 MB of PDF files
– 13,384 Pages
– Which one? Let’s read the titles:
@bigendiansmalls@bigendiansmalls
• IPv6 Network and Application Design Guide
• IP Diagnosis Guide
• (IP) New Function Summary
• IP Configuration Guide
• IP Configuration Reference
• IP Programmer's Guide and Reference
• IP User's Guide and Commands
• IP System Administrator's Commands
• IP Sockets Application Programming Interface
Guide and Reference
• IP CICS Sockets Guide
• IP IMS Sockets Guide
• IP Network Print Facility
• IP Messages Volume 1 (EZA)
• IP Messages Volume 2 (EZB, EZD)
• IP Messages Volume 3 (EZY)
• IP Messages Volume 4 (EZZ, SNM)
@bigendiansmalls@bigendiansmalls
5 stages of learning
mainframe
1. DENIAL
2. ANGER
3. BARGAINING
@bigendiansmalls@bigendiansmalls
BARGAINING
I Solemnly swear I will never, ever
complain about a buggy Makefile, if
you just let me please get this
simple SSHD server set up on a
mainframe before I die.
@bigendiansmalls@bigendiansmalls
5 stages of learning
mainframe
1. DENIAL
2. ANGER
3. BARGAINING
4. DEPRESSION
@bigendiansmalls@bigendiansmalls
Depression v1.0
• And also:
– Protocol droids - existing mainframe
workforce
– No tribal knowledge - Lack of
Howto's and FAQs
– Documentation Overload
@bigendiansmalls@bigendiansmalls
DEPRESSION v2.0
• Up against:
– Vernacular – Words you have never
heard or different meanings.
– Tools - designed for developing,
testing, and delivering complex
workable production systems
– No public disclosure
@bigendiansmalls@bigendiansmalls
@bigendiansmalls@bigendiansmalls
5 stages of learning
mainframe
1. DENIAL
2. ANGER
3. BARGAINING
4. DEPRESSION
5. ACCEPTANCE
@bigendiansmalls@bigendiansmalls
ACCEPTANCE
• Writing code with only 2 manuals,
instead of 7.
• Help others get involved.
• Creating tools that others can use
• Still want to test / secure – but no
access or months to read
manuals? How about ….
@bigendiansmalls@bigendiansmalls
@bigendiansmalls@bigendiansmalls
metasploit
• What’s in thus far
– Basic payloads (3 kinds, 2 flavors)
• Bind / reverse shell w & w/o encoders
– Built-in Command Shell w/decoder
– Core files for translation, platform &
architecture definition
@bigendiansmalls@bigendiansmalls
Bind shell - enc
• ~1300 bytes (large!)
• Encoder included
• Can use any client to
connect, including std.
MSF Command Shell
@bigendiansmalls@bigendiansmalls
@bigendiansmalls@bigendiansmalls
Rev shell - noenc
• ~300 bytes (small for z)
• No encoder
• Must use client which
does translation (MSF now
includes!)
@bigendiansmalls@bigendiansmalls
@bigendiansmalls@bigendiansmalls
Post / Other
• With fundamentals in place
• Can do custom POST functions
• Direct command execution
– With screens
@bigendiansmalls@bigendiansmalls
@bigendiansmalls@bigendiansmalls
3270 WIP
• Early preview of native 3270
module in MSF
• Used to echo screens, enter raw
commands use valid credentials
for POST exploitation
@bigendiansmalls@bigendiansmalls
@bigendiansmalls@bigendiansmalls
What’s next
• GCC, GNU UTILS
• Debug framework is on the radare
• Further additions to MSF
– Customized Meterpreter
– JCL Creator
– Full TN3270 emulation
• File transfer / Command execution
• Moar training & teaching
@bigendiansmalls@bigendiansmalls
THANKS! CONTACT NFO
IBM
SoF – Graphics, moral support
Others in the community
http://www.bigendiansmalls.com
@bigendiansmalls
mainframe@bigendiansmalls
@bigendiansmalls@bigendiansmalls

Weitere ähnliche Inhalte

Was ist angesagt?

Attack All the Layers - What's Working in Penetration Testing
Attack All the Layers - What's Working in Penetration TestingAttack All the Layers - What's Working in Penetration Testing
Attack All the Layers - What's Working in Penetration Testing
NetSPI
 

Was ist angesagt? (20)

[HES2013] Virtually secure, analysis to remote root 0day on an industry leadi...
[HES2013] Virtually secure, analysis to remote root 0day on an industry leadi...[HES2013] Virtually secure, analysis to remote root 0day on an industry leadi...
[HES2013] Virtually secure, analysis to remote root 0day on an industry leadi...
 
Laverna vs etherpad
Laverna vs etherpadLaverna vs etherpad
Laverna vs etherpad
 
Secure360 - Extracting Password from Windows
Secure360 - Extracting Password from WindowsSecure360 - Extracting Password from Windows
Secure360 - Extracting Password from Windows
 
Anatomy of a Cloud Hack
Anatomy of a Cloud HackAnatomy of a Cloud Hack
Anatomy of a Cloud Hack
 
Outlook and Exchange for the bad guys
Outlook and Exchange for the bad guysOutlook and Exchange for the bad guys
Outlook and Exchange for the bad guys
 
Reinventing anon email
Reinventing anon emailReinventing anon email
Reinventing anon email
 
Docker Security
Docker SecurityDocker Security
Docker Security
 
Obfuscating The Empire
Obfuscating The EmpireObfuscating The Empire
Obfuscating The Empire
 
CNIT 124: Ch 9: Password Attacks
CNIT 124: Ch 9: Password AttacksCNIT 124: Ch 9: Password Attacks
CNIT 124: Ch 9: Password Attacks
 
XFLTReat: a new dimension in tunnelling
XFLTReat:  a new dimension in tunnellingXFLTReat:  a new dimension in tunnelling
XFLTReat: a new dimension in tunnelling
 
Attack All the Layers - What's Working in Penetration Testing
Attack All the Layers - What's Working in Penetration TestingAttack All the Layers - What's Working in Penetration Testing
Attack All the Layers - What's Working in Penetration Testing
 
Sticky Keys to the Kingdom
Sticky Keys to the KingdomSticky Keys to the Kingdom
Sticky Keys to the Kingdom
 
Dock ir incident response in a containerized, immutable, continually deploy...
Dock ir   incident response in a containerized, immutable, continually deploy...Dock ir   incident response in a containerized, immutable, continually deploy...
Dock ir incident response in a containerized, immutable, continually deploy...
 
Attack All the Layers: What's Working during Pentests (OWASP NYC)
Attack All the Layers: What's Working during Pentests (OWASP NYC)Attack All the Layers: What's Working during Pentests (OWASP NYC)
Attack All the Layers: What's Working during Pentests (OWASP NYC)
 
NoSQL, no security?
NoSQL, no security?NoSQL, no security?
NoSQL, no security?
 
Re-thinking Performance tuning with HTTP2
Re-thinking Performance tuning with HTTP2Re-thinking Performance tuning with HTTP2
Re-thinking Performance tuning with HTTP2
 
Introduction to ethereum_public
Introduction to ethereum_publicIntroduction to ethereum_public
Introduction to ethereum_public
 
InSpec Workshop DevSecCon 2017
InSpec Workshop DevSecCon 2017InSpec Workshop DevSecCon 2017
InSpec Workshop DevSecCon 2017
 
44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...
44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...
44CON 2014 - Pentesting NoSQL DB's Using NoSQL Exploitation Framework, Franci...
 
"Infrastructure Security Practice" by Wasis Adi Putranto (OLX Indonesia)
"Infrastructure Security Practice" by Wasis Adi Putranto (OLX Indonesia)"Infrastructure Security Practice" by Wasis Adi Putranto (OLX Indonesia)
"Infrastructure Security Practice" by Wasis Adi Putranto (OLX Indonesia)
 

Ähnlich wie Mainframe Hacking - Derbycon 5.0

Odessa .NET User Group - 10.11.2011 - Applied Code Generation
Odessa .NET User Group - 10.11.2011 - Applied Code Generation Odessa .NET User Group - 10.11.2011 - Applied Code Generation
Odessa .NET User Group - 10.11.2011 - Applied Code Generation
Dmytro Mindra
 
NetWork - 15.10.2011 - Applied code generation in .NET
NetWork - 15.10.2011 - Applied code generation in .NET NetWork - 15.10.2011 - Applied code generation in .NET
NetWork - 15.10.2011 - Applied code generation in .NET
Dmytro Mindra
 

Ähnlich wie Mainframe Hacking - Derbycon 5.0 (20)

Microservices, the lean way - Bruno Bossola - Codemotion Amsterdam 2016
Microservices, the lean way - Bruno Bossola - Codemotion Amsterdam 2016Microservices, the lean way - Bruno Bossola - Codemotion Amsterdam 2016
Microservices, the lean way - Bruno Bossola - Codemotion Amsterdam 2016
 
Microservices, the lean way
Microservices, the lean wayMicroservices, the lean way
Microservices, the lean way
 
Odessa .NET User Group - 10.11.2011 - Applied Code Generation
Odessa .NET User Group - 10.11.2011 - Applied Code Generation Odessa .NET User Group - 10.11.2011 - Applied Code Generation
Odessa .NET User Group - 10.11.2011 - Applied Code Generation
 
PostgreSQL worst practices, version FOSDEM PGDay 2017 by Ilya Kosmodemiansky
PostgreSQL worst practices, version FOSDEM PGDay 2017 by Ilya KosmodemianskyPostgreSQL worst practices, version FOSDEM PGDay 2017 by Ilya Kosmodemiansky
PostgreSQL worst practices, version FOSDEM PGDay 2017 by Ilya Kosmodemiansky
 
201811xx foredrag c_cpp
201811xx foredrag c_cpp201811xx foredrag c_cpp
201811xx foredrag c_cpp
 
IoT is Something to Figure Out
IoT is Something to Figure OutIoT is Something to Figure Out
IoT is Something to Figure Out
 
APIs in production - we built it, can we fix it?
APIs in production - we built it, can we fix it?APIs in production - we built it, can we fix it?
APIs in production - we built it, can we fix it?
 
7 (or so) deadly sins - PLMCE 2015
7 (or so) deadly sins - PLMCE 20157 (or so) deadly sins - PLMCE 2015
7 (or so) deadly sins - PLMCE 2015
 
NetWork - 15.10.2011 - Applied code generation in .NET
NetWork - 15.10.2011 - Applied code generation in .NET NetWork - 15.10.2011 - Applied code generation in .NET
NetWork - 15.10.2011 - Applied code generation in .NET
 
Running MongoDB in the Cloud
Running MongoDB in the CloudRunning MongoDB in the Cloud
Running MongoDB in the Cloud
 
Vulnerability, exploit to metasploit
Vulnerability, exploit to metasploitVulnerability, exploit to metasploit
Vulnerability, exploit to metasploit
 
SACon 2019 - Surviving in a Microservices Environment
SACon 2019 - Surviving in a Microservices EnvironmentSACon 2019 - Surviving in a Microservices Environment
SACon 2019 - Surviving in a Microservices Environment
 
An Introduction to MongoDB Compass
An Introduction to MongoDB CompassAn Introduction to MongoDB Compass
An Introduction to MongoDB Compass
 
Coder sans peur du changement avec la meme pas mal hexagonal architecture
Coder sans peur du changement avec la meme pas mal hexagonal architectureCoder sans peur du changement avec la meme pas mal hexagonal architecture
Coder sans peur du changement avec la meme pas mal hexagonal architecture
 
Trends in DNN compression
Trends in DNN compressionTrends in DNN compression
Trends in DNN compression
 
Introduction to multicore .ppt
Introduction to multicore .pptIntroduction to multicore .ppt
Introduction to multicore .ppt
 
Stackato v5
Stackato v5Stackato v5
Stackato v5
 
Practical DMD Scripting
Practical DMD Scripting Practical DMD Scripting
Practical DMD Scripting
 
Riak at Posterous
Riak at PosterousRiak at Posterous
Riak at Posterous
 
Stackato v6
Stackato v6Stackato v6
Stackato v6
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Mainframe Hacking - Derbycon 5.0