SlideShare una empresa de Scribd logo
1 de 18
Web ApplicationSecurity Payloads Andrés Riancho – Lucas Apa Ekoparty 2010 http://www.bonsai-sec.com/
lucas@bonsai-sec.com$ whoami Consultant@ BonsaiInformation Security PenetrationTesting y VulnerabilityResearch Web Application Security enthusiast
andres@bonsai-sec.com$ whoami Founder@ BonsaiInformation Security Director of Web Security @ Rapid7 Programmer(python!) Open SourceEvangelist Deepknowledge in networking, design and IPS evasion. Project leader: open sourcew3af
w3af w3af is a Web ApplicationAttack and AuditFramework Open Sourcetool(GPLv2.0) todetect and exploitWeb vulnerabilities. Pluginbasedarchitecture, easely extensible. Developmentstarted late 2006 on my spare time, and growingtillpresent, moment in whichwehavemultiplecontributors round theglobe and a full time developeronour office.
Actual Situation ExploitationframeworkslikeMetasploitprovidesmainly “payloads” to use speciallyonthebest case, in otherwords, whenthereiscontrol ontheexecutionflow. (“exploitforbuffer overflow”). Web applicationsallowsus, dependingonthevulnerability, tointeractwiththesystem in a particular way: Local fileread Filewrite SQL Commandsexecution OS Commandsexecution Tillnow, Whichsteps of post-exploitation can wemake in anautomatizedway in anenvironmentwherewecan´texecute OS systemcommands?
Actual Situation Additionally, Web vulnerabilities are mutating every time faster making their post exploitation leading to have no starting or final objective defined. Manydifferentautomatizedtools are focusing in the particular, in exploiting a vulnerabilityemphasizingonthehow.  Notdefinedwhichinformationisgoingtobecompromised. Thevulnerabilities expires orchanges.
Web Application Security Payloads
Small pieces of coderunning in w3af afterexploitingoneor more knownvulnerabilities.  Everypayloadisindependent of thediscoveredvulnerabilities. Bythemeanstheexploitexports “SystemCalls”, that are thenusedbypayloads: Design
Design Payloads are in general 100 lines of codethat uses somesystemcalls, likeforexample“running_vm”:
~53Payloadsdeveloped
Demo #1:“users”
Sinergy between payloads
Demo #2:Sinergy between payloads: “users_config_files”
Demo #3:Integration with w3af:“get_source_code”
Conclusions and pendingwork Conceptualizethis idea as anstandar in automatizedpost-explotación over Web Applications. Develop more payloadsforWindows environments.  Research about syscall hooking and remote syscall delivery by Web Applications Payloads. SyscallHierachyPriority: whenexists more thanonesyscall, whichonewe use tocommunicatewiththeremotesystem? Faster? More privileged? Contributewiththe global communitydiscovering new attacktechniquesthroughminimalistic post-exploitationapproaches, expandingtheinformationtheygather.
¿Doubts?¿Questions?
Thankyou!

Más contenido relacionado

Destacado

Rhealth Indigenous Health Workshop
Rhealth Indigenous Health WorkshopRhealth Indigenous Health Workshop
Rhealth Indigenous Health WorkshopTwoCents Group
 
エコーワークス【a-blogcms in KANAZAWA】
エコーワークス【a-blogcms in KANAZAWA】エコーワークス【a-blogcms in KANAZAWA】
エコーワークス【a-blogcms in KANAZAWA】Akira Nozaki
 
Facebook for Business - BoQ
Facebook for Business - BoQFacebook for Business - BoQ
Facebook for Business - BoQTwoCents Group
 
I miss my best friends !
I miss my best friends !I miss my best friends !
I miss my best friends !miistyxoxo
 
Gems para colocar seus testes no trilho
Gems para colocar seus testes no trilho Gems para colocar seus testes no trilho
Gems para colocar seus testes no trilho Webgoal
 
Facebook Pages, Places & Deals: An Overview
Facebook Pages, Places & Deals: An OverviewFacebook Pages, Places & Deals: An Overview
Facebook Pages, Places & Deals: An OverviewTwoCents Group
 

Destacado (7)

Rhealth Indigenous Health Workshop
Rhealth Indigenous Health WorkshopRhealth Indigenous Health Workshop
Rhealth Indigenous Health Workshop
 
エコーワークス【a-blogcms in KANAZAWA】
エコーワークス【a-blogcms in KANAZAWA】エコーワークス【a-blogcms in KANAZAWA】
エコーワークス【a-blogcms in KANAZAWA】
 
Flett Consulting
Flett ConsultingFlett Consulting
Flett Consulting
 
Facebook for Business - BoQ
Facebook for Business - BoQFacebook for Business - BoQ
Facebook for Business - BoQ
 
I miss my best friends !
I miss my best friends !I miss my best friends !
I miss my best friends !
 
Gems para colocar seus testes no trilho
Gems para colocar seus testes no trilho Gems para colocar seus testes no trilho
Gems para colocar seus testes no trilho
 
Facebook Pages, Places & Deals: An Overview
Facebook Pages, Places & Deals: An OverviewFacebook Pages, Places & Deals: An Overview
Facebook Pages, Places & Deals: An Overview
 

Último

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 productivityPrincipled Technologies
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
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 Scriptwesley chun
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
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 DevelopmentsTrustArc
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
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...Miguel Araújo
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
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 AutomationSafe Software
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 

Último (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
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
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
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
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
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
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...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
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
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 

ekoparty 2010 - Web Application Security Payloads

  • 1. Web ApplicationSecurity Payloads Andrés Riancho – Lucas Apa Ekoparty 2010 http://www.bonsai-sec.com/
  • 2. lucas@bonsai-sec.com$ whoami Consultant@ BonsaiInformation Security PenetrationTesting y VulnerabilityResearch Web Application Security enthusiast
  • 3. andres@bonsai-sec.com$ whoami Founder@ BonsaiInformation Security Director of Web Security @ Rapid7 Programmer(python!) Open SourceEvangelist Deepknowledge in networking, design and IPS evasion. Project leader: open sourcew3af
  • 4. w3af w3af is a Web ApplicationAttack and AuditFramework Open Sourcetool(GPLv2.0) todetect and exploitWeb vulnerabilities. Pluginbasedarchitecture, easely extensible. Developmentstarted late 2006 on my spare time, and growingtillpresent, moment in whichwehavemultiplecontributors round theglobe and a full time developeronour office.
  • 5.
  • 6. Actual Situation ExploitationframeworkslikeMetasploitprovidesmainly “payloads” to use speciallyonthebest case, in otherwords, whenthereiscontrol ontheexecutionflow. (“exploitforbuffer overflow”). Web applicationsallowsus, dependingonthevulnerability, tointeractwiththesystem in a particular way: Local fileread Filewrite SQL Commandsexecution OS Commandsexecution Tillnow, Whichsteps of post-exploitation can wemake in anautomatizedway in anenvironmentwherewecan´texecute OS systemcommands?
  • 7. Actual Situation Additionally, Web vulnerabilities are mutating every time faster making their post exploitation leading to have no starting or final objective defined. Manydifferentautomatizedtools are focusing in the particular, in exploiting a vulnerabilityemphasizingonthehow. Notdefinedwhichinformationisgoingtobecompromised. Thevulnerabilities expires orchanges.
  • 9. Small pieces of coderunning in w3af afterexploitingoneor more knownvulnerabilities. Everypayloadisindependent of thediscoveredvulnerabilities. Bythemeanstheexploitexports “SystemCalls”, that are thenusedbypayloads: Design
  • 10. Design Payloads are in general 100 lines of codethat uses somesystemcalls, likeforexample“running_vm”:
  • 14. Demo #2:Sinergy between payloads: “users_config_files”
  • 15. Demo #3:Integration with w3af:“get_source_code”
  • 16. Conclusions and pendingwork Conceptualizethis idea as anstandar in automatizedpost-explotación over Web Applications. Develop more payloadsforWindows environments. Research about syscall hooking and remote syscall delivery by Web Applications Payloads. SyscallHierachyPriority: whenexists more thanonesyscall, whichonewe use tocommunicatewiththeremotesystem? Faster? More privileged? Contributewiththe global communitydiscovering new attacktechniquesthroughminimalistic post-exploitationapproaches, expandingtheinformationtheygather.