SlideShare a Scribd company logo
Automating API Pen Testing
using Fuzzapi
just another tool?
About us
Abhijeth Dugginapeddi
@abhijeth
Application Security
Likes training, spreading awareness
Got some bugs in Google/FB/Yahoo/Microsoft etc
Among top 5 bug hunters on Synack
Srinivas Rao Kotipalli
@srini0x00
Security Engineer
Author, Speaker, Trainer
Blogs at androidpentesting.com
Author of “Hacking Android”
Lalith Rallabhandi
@lalithr95
Developer Intern
Blogger, Coder, Security Enthusiast
Does bounties when free and found bugs
With Microsoft/Google/FB/Badoo etc
Only @abhijeth @srini0x00 and @lalithr95 are
responsible for whatever is on the slides
Nobody else is responsible for anything else we
say
Next 45 minutes
-Why
-What
-How
Source giphy
Source
http://vignette2.wikia.nocookie.net/garfield/images/4/43/Garfield_the_Cat.png/revision/latest?cb=2015050
8141623
Source reddit
On a serious note
• What is fuzzAPI
• How to use fuzzAPI
• Need for automating Pen Testing APIs
• Developer vs Pen tester use cases
• Continuous Integration
• Spread the smile ☺
#fuzzAPI
• Open Source REST API Fuzzer
• Test for vulnerabilities while writing your code
• Helps Pen testers to fasten their testing
• Covers most top attacks on APIs
• Built in Ruby on Rails
Rest API Penetration Testing
Authorization Authentication
Input validations Others ☺
Common
checks
#welovebugs
This is Twitter
Source: @wesecureapp
Source: @wesecureappSource: @wesecureapp
Facebook ☺
Credits: www.pranavhivarekar.in
Interesting?
Can you automate such attacks?
May be!!
But why do you want to automate?
People don’t have time
Source: giphy
• There are companies/teams who deploy code
to production >10 times every day
• Developers can do basic testing
• Penetration testers can save a lot of time
• Penetration testers can work on logical stuff
• Easier to fix vulnerabilities sooner than later
Continuous Integration
Source memegenerator
No
But a part of it can be automated.
Cool stuff about Fuzzapi
Access Control Violation
XXE
Other regular vulns like
XSS/SQLi.. etc
Privilege Escalation
Rate limiting
Not so cool stuff!!
Demo
Source memegenerator
#if demo doesn’t work
#if demo doesn’t work
#if demo doesn’t work
How stuff works
API_Fuzzer – Ruby gem Fuzzapi -- Rails application
#fuzzapi API_fuzzer gem
Code walk through
Fuzzapi approach for XXE
• XxeCheck performs a call with
payload to internal server
• If status: OK – fuzzapi
confirms XXE
Fuzzapi sample approach for Privilege Escalation
Fuzzapi sample approach for Rate limiting
• Fuzzapi sends multiple sample requests and waits for timeout/error
• Failure in limiting requests allows to perform this check
Docker :D :D m/
Continuous integration --Rails !!!
• Identify test requests
• Use API_Fuzzer module with
test request
• Run scans
Developer’s eye Security Engineer’s eye
Work with developers to
help them configure stuff
Add more checks ☺
Use it while doing security
testing
Train developers to
understand/fix vulns
Having scrum meetings about
findings/fixes
Customizing fuzzapi according
to organization’s requirement
Add more checks ☺
Testing APIs while writing
code
Automated API pentesting using fuzzapi
Roadmap for fuzzapi/us
Add more checks
Write more blogs
Make more tutorial videos
Write more tools
Repeat
Oh yea btw :D Don’t you want links to download?
API_Fuzzer gem: https://github.com/lalithr95/API-fuzzer
fuzzapi: https://github.com/lalithr95/Fuzzapi
For queries/concerns/feedback/rant:
Twitter:
@abhijeth
@lalithr95
@srini0x00
It’s 2016 and if you still don’t know about bug
bounties/responsible disclosures, you should say hi to these guys
@Bugcrowd @synack @Hacker0x01
Thanks ☺
and all the security folks for contributing to the open source community 

More Related Content

What's hot (20)

PDF
The Secret Life of a Bug Bounty Hunter – Frans Rosén @ Security Fest 2016
Frans Rosén
 
PPTX
SSRF For Bug Bounties
OWASP Nagpur
 
PDF
Getting started with Android pentesting
Minali Arora
 
PPTX
Waf bypassing Techniques
Avinash Thapa
 
PDF
Pentesting like a grandmaster BSides London 2013
Abraham Aranguren
 
PDF
Hacking Adobe Experience Manager sites
Mikhail Egorov
 
PDF
Pentesting RESTful webservices
Mohammed A. Imran
 
PDF
Bug Bounty Hunter Methodology - Nullcon 2016
bugcrowd
 
PPTX
Deep understanding on Cross-Site Scripting and SQL Injection
Vishal Kumar
 
PDF
Bug Bounty - Hackers Job
Arbin Godar
 
PPTX
Bounty Craft: Bug bounty reports how do they work, @sushihack presents at Nu...
HackerOne
 
PDF
A Hacker's perspective on AEM applications security
Mikhail Egorov
 
PDF
Android Security & Penetration Testing
Subho Halder
 
PPTX
Attacking thru HTTP Host header
Sergey Belov
 
PPTX
Password Attack
Sina Manavi
 
PPTX
Android Application Penetration Testing - Mohammed Adam
Mohammed Adam
 
PDF
OWASP Poland Day 2018 - Frans Rosen - Attacking modern web technologies
OWASP
 
PPTX
Hacking and securing ios applications
Satish b
 
PPTX
MobSF: Mobile Security Testing (Android/IoS)
Agile Testing Alliance
 
PDF
Offzone | Another waf bypass
Дмитрий Бумов
 
The Secret Life of a Bug Bounty Hunter – Frans Rosén @ Security Fest 2016
Frans Rosén
 
SSRF For Bug Bounties
OWASP Nagpur
 
Getting started with Android pentesting
Minali Arora
 
Waf bypassing Techniques
Avinash Thapa
 
Pentesting like a grandmaster BSides London 2013
Abraham Aranguren
 
Hacking Adobe Experience Manager sites
Mikhail Egorov
 
Pentesting RESTful webservices
Mohammed A. Imran
 
Bug Bounty Hunter Methodology - Nullcon 2016
bugcrowd
 
Deep understanding on Cross-Site Scripting and SQL Injection
Vishal Kumar
 
Bug Bounty - Hackers Job
Arbin Godar
 
Bounty Craft: Bug bounty reports how do they work, @sushihack presents at Nu...
HackerOne
 
A Hacker's perspective on AEM applications security
Mikhail Egorov
 
Android Security & Penetration Testing
Subho Halder
 
Attacking thru HTTP Host header
Sergey Belov
 
Password Attack
Sina Manavi
 
Android Application Penetration Testing - Mohammed Adam
Mohammed Adam
 
OWASP Poland Day 2018 - Frans Rosen - Attacking modern web technologies
OWASP
 
Hacking and securing ios applications
Satish b
 
MobSF: Mobile Security Testing (Android/IoS)
Agile Testing Alliance
 
Offzone | Another waf bypass
Дмитрий Бумов
 

Viewers also liked (20)

PDF
Pentesting RESTful WebServices v1.0
n|u - The Open Security Community
 
PDF
Securty Testing For RESTful Applications
Source Conference
 
PPTX
Syntribos API Security Test Automation
Matthew Valdes
 
PDF
API Testing
Bikash Sharma
 
PPTX
REST API testing with SpecFlow
Aiste Stikliute
 
PPTX
Api testing
Keshav Kashyap
 
ODP
pwnd.sh
Chandrapal Badshah
 
PPTX
06 application security fundamentals - part 2 - security mechanisms - sessi...
appsec
 
PDF
Attack chaining for web exploitation #c0c0n2015
Abhijeth D
 
PDF
API TEST
copremesis
 
PDF
API TEST
copremesis
 
PPTX
How to do well in Bug bounty programs. Presentation at @nullhyd by Abhijeth
Abhijeth D
 
PDF
Automation testing API in Java
Wix.com
 
PPT
Automation framework
ITeLearn
 
KEY
Bug Bounty Programs For The Web
Michael Coates
 
PDF
WSO2 Test Automation Framework : Approach and Adoption
WSO2
 
PPTX
A2 - broken authentication and session management(OWASP thailand chapter Apri...
Noppadol Songsakaew
 
PPTX
RESTful API Automation with JavaScript
Jonathan LeBlanc
 
PPS
A perspective on web testing.ppt
sivaprasanth rentala
 
Pentesting RESTful WebServices v1.0
n|u - The Open Security Community
 
Securty Testing For RESTful Applications
Source Conference
 
Syntribos API Security Test Automation
Matthew Valdes
 
API Testing
Bikash Sharma
 
REST API testing with SpecFlow
Aiste Stikliute
 
Api testing
Keshav Kashyap
 
06 application security fundamentals - part 2 - security mechanisms - sessi...
appsec
 
Attack chaining for web exploitation #c0c0n2015
Abhijeth D
 
API TEST
copremesis
 
API TEST
copremesis
 
How to do well in Bug bounty programs. Presentation at @nullhyd by Abhijeth
Abhijeth D
 
Automation testing API in Java
Wix.com
 
Automation framework
ITeLearn
 
Bug Bounty Programs For The Web
Michael Coates
 
WSO2 Test Automation Framework : Approach and Adoption
WSO2
 
A2 - broken authentication and session management(OWASP thailand chapter Apri...
Noppadol Songsakaew
 
RESTful API Automation with JavaScript
Jonathan LeBlanc
 
A perspective on web testing.ppt
sivaprasanth rentala
 
Ad

Similar to Automated API pentesting using fuzzapi (20)

PPTX
Flavius olaru logicless ui prototyping with node js
Codecamp Romania
 
PDF
Well Crafted API Models – Key to Streamlining Workflows
Axway
 
PDF
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
Srijan Technologies
 
PDF
Developing Brilliant and Powerful APIs in Ruby & Python
SmartBear
 
PDF
AI assisted testing using postman and openAI.pdf
sivaganeshsivakumar1
 
PPTX
Testing API's: Tools & Tips & Tricks (Oh My!)
Ford Prior
 
PPTX
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
Peter Sabev
 
PDF
KrishnaToolComparisionPPT.pdf
QA or the Highway
 
PDF
Inside Story: Scratching the Black Box - API
Ravisuriya .
 
PDF
Espresso testing
vodqancr
 
PPTX
Manual JavaScript Analysis Is A Bug
Lewis Ardern
 
PDF
apidays LIVE Australia 2021 - Designing Embedded Platforms by Jeremy Glassenb...
apidays
 
PPTX
Selenium topic 1- Selenium Basic
ITProfessional Academy
 
PPTX
API Testing with Frisby and Mocha
Lyudmila Anisimova
 
PDF
Acceptance & Functional Testing with Codeception - SunshinePHP 2016
Joe Ferguson
 
PPTX
Api complete life cycle with api security
pqrs1234
 
PDF
Always up to date, testable and maintainable documentation with OpenAPI
GOG.com dev team
 
PDF
DevSecCon Asia 2017 - Abhay Bhargav: Building an Application Vulnerability To...
DevSecCon
 
PDF
Acceptance & Functional Testing with Codeception - Devspace 2015
Joe Ferguson
 
PPTX
Code Palousa presentation- "Giving Digital Eyes to your Synthetic Tests"
Christopher Hamm
 
Flavius olaru logicless ui prototyping with node js
Codecamp Romania
 
Well Crafted API Models – Key to Streamlining Workflows
Axway
 
[Srijan Wednesday Webinar] Mastering Mobile Test Automation with Appium
Srijan Technologies
 
Developing Brilliant and Powerful APIs in Ruby & Python
SmartBear
 
AI assisted testing using postman and openAI.pdf
sivaganeshsivakumar1
 
Testing API's: Tools & Tips & Tricks (Oh My!)
Ford Prior
 
10 Useful Testing Tools for Open Source Projects @ TuxCon 2015
Peter Sabev
 
KrishnaToolComparisionPPT.pdf
QA or the Highway
 
Inside Story: Scratching the Black Box - API
Ravisuriya .
 
Espresso testing
vodqancr
 
Manual JavaScript Analysis Is A Bug
Lewis Ardern
 
apidays LIVE Australia 2021 - Designing Embedded Platforms by Jeremy Glassenb...
apidays
 
Selenium topic 1- Selenium Basic
ITProfessional Academy
 
API Testing with Frisby and Mocha
Lyudmila Anisimova
 
Acceptance & Functional Testing with Codeception - SunshinePHP 2016
Joe Ferguson
 
Api complete life cycle with api security
pqrs1234
 
Always up to date, testable and maintainable documentation with OpenAPI
GOG.com dev team
 
DevSecCon Asia 2017 - Abhay Bhargav: Building an Application Vulnerability To...
DevSecCon
 
Acceptance & Functional Testing with Codeception - Devspace 2015
Joe Ferguson
 
Code Palousa presentation- "Giving Digital Eyes to your Synthetic Tests"
Christopher Hamm
 
Ad

Recently uploaded (20)

PPTX
原版一样(ISM毕业证书)德国多特蒙德国际管理学院毕业证多少钱
taqyed
 
PDF
B M Mostofa Kamal Al-Azad [Document & Localization Expert]
Mostofa Kamal Al-Azad
 
PPTX
The ARUBA Kind of new Proposal Umum .pptx
andiwarneri
 
PDF
BroadLink Cloud Service introduction.pdf
DevendraDwivdi1
 
PPT
Almos Entirely Correct Mixing with Apps to Voting
gapati2964
 
PPTX
Class_4_Limbgvchgchgchgchgchgcjhgchgcnked_Lists.pptx
test123n
 
PDF
web application development company in bangalore.pdf
https://dkpractice.co.in/seo.html tech
 
PDF
Beginning-Laravel-Build-Websites-with-Laravel-5.8-by-Sanjib-Sinha-z-lib.org.pdf
TagumLibuganonRiverB
 
PDF
I Want to join occult brotherhood for money ritual#((+2347089754903))
haragonoccult
 
PDF
Slides: Eco Economic Epochs for The World Game (s) pdf
Steven McGee
 
PPTX
My Mother At 66! (2).pptx00000000000000000000000000000
vedapattisiddharth
 
PPTX
Q1 English3 Week5 [email protected]
JenniferCawaling1
 
PPTX
Lesson 1.1 Career-Opportunities-in-Ict.pptx
lizelgumadlas1
 
PDF
The Convergence of Threat Behaviors Across Intrusions
Joe Slowik
 
PDF
ContextForge MCP Gateway - the missing proxy for AI Agents and Tools
Mihai Criveti
 
PDF
Materi tentang From Digital Economy to Fintech.pdf
Abdul Hakim
 
PPTX
BitRecover OST to PST Converter Software
antoniogosling01
 
PDF
Transmission Control Protocol (TCP) and Starlink
APNIC
 
PDF
03 Internal Analysis Strategik Manajemen.pdf
AhmadRifaldhi
 
PPTX
原版一样(ANU毕业证书)澳洲澳大利亚国立大学毕业证在线购买
Taqyea
 
原版一样(ISM毕业证书)德国多特蒙德国际管理学院毕业证多少钱
taqyed
 
B M Mostofa Kamal Al-Azad [Document & Localization Expert]
Mostofa Kamal Al-Azad
 
The ARUBA Kind of new Proposal Umum .pptx
andiwarneri
 
BroadLink Cloud Service introduction.pdf
DevendraDwivdi1
 
Almos Entirely Correct Mixing with Apps to Voting
gapati2964
 
Class_4_Limbgvchgchgchgchgchgcjhgchgcnked_Lists.pptx
test123n
 
web application development company in bangalore.pdf
https://dkpractice.co.in/seo.html tech
 
Beginning-Laravel-Build-Websites-with-Laravel-5.8-by-Sanjib-Sinha-z-lib.org.pdf
TagumLibuganonRiverB
 
I Want to join occult brotherhood for money ritual#((+2347089754903))
haragonoccult
 
Slides: Eco Economic Epochs for The World Game (s) pdf
Steven McGee
 
My Mother At 66! (2).pptx00000000000000000000000000000
vedapattisiddharth
 
Lesson 1.1 Career-Opportunities-in-Ict.pptx
lizelgumadlas1
 
The Convergence of Threat Behaviors Across Intrusions
Joe Slowik
 
ContextForge MCP Gateway - the missing proxy for AI Agents and Tools
Mihai Criveti
 
Materi tentang From Digital Economy to Fintech.pdf
Abdul Hakim
 
BitRecover OST to PST Converter Software
antoniogosling01
 
Transmission Control Protocol (TCP) and Starlink
APNIC
 
03 Internal Analysis Strategik Manajemen.pdf
AhmadRifaldhi
 
原版一样(ANU毕业证书)澳洲澳大利亚国立大学毕业证在线购买
Taqyea
 

Automated API pentesting using fuzzapi

Editor's Notes

  • #24: https://intland.com/wp-content/uploads/2014/09/blog-140923-dependencies-336x336.png