Burp Suite — Complete Guide
1. Introduction to Burp Suite
Burp Suite is a web application security testing platform developed by PortSwigger. It is widely used by ethical hackers, penetration testers, cybersecurity professionals, and bug bounty hunters to identify and investigate security vulnerabilities in websites and web applications.
Burp Suite works as an intermediary between a web browser and a web server. It allows security testers to intercept, inspect, modify, forward, and analyze HTTP and HTTPS requests and responses.
It is particularly useful for testing authentication, session management, access control, input validation, and API security.
Official website: https://portswigger.net/burp
2. What Is Burp Suite Used For?
Burp Suite is used to:
- Inspect HTTP and HTTPS traffic.
- Analyze website requests and server responses.
- Test login and authentication mechanisms.
- Investigate session management weaknesses.
- Identify potential SQL injection vulnerabilities.
- Test for Cross-Site Scripting (XSS).
- Investigate broken access control and IDOR.
- Test REST APIs and other web application endpoints.
- Examine cookies, headers, parameters, and request bodies.
- Automate selected security testing tasks.
- Document and validate potential vulnerabilities.
Burp Suite is a testing platform, not a guarantee that every vulnerability will be automatically detected.
3. How Does Burp Suite Work?
When a user visits a website, the browser sends an HTTP or HTTPS request to the server. The server processes the request and returns a response.
Burp Suite Proxy can sit between the browser and the server, allowing the tester to inspect the communication.
The basic workflow is:
- Open a website through a browser configured for Burp Suite.
- Capture the HTTP or HTTPS traffic.
- Inspect the request and response.
- Identify interesting parameters, headers, cookies, or endpoints.
- Send selected requests to tools such as Repeater.
- Modify and resend requests in an authorized testing environment.
- Compare responses and investigate potential vulnerabilities.
- Document confirmed findings and recommended fixes.
For HTTPS inspection, the testing browser must trust Burp's certificate authority. Burp does not automatically decrypt arbitrary HTTPS traffic from every application or device.
4. Main Components of Burp Suite
4.1 Proxy
Proxy is one of the most important Burp Suite features. It allows testers to intercept and inspect requests and responses between a browser and a web application.
Main functions:
- Intercept HTTP and HTTPS requests.
- View and modify request data.
- Forward or drop intercepted requests.
- Review HTTP history.
- Inspect cookies, headers, and parameters.
Example: Inspect the request generated when submitting a login form in a test application.
4.2 Repeater
Repeater allows testers to send an HTTP request repeatedly while changing selected values.
Main functions:
- Modify request parameters.
- Change headers and cookies.
- Resend requests manually.
- Compare server responses.
- Investigate suspected vulnerabilities.
Example: In an authorized lab, change a product identifier and examine whether the application enforces access controls correctly.
4.3 Intruder
Intruder automates customized HTTP requests by inserting payloads into selected positions.
Main functions:
- Define payload positions.
- Configure payload lists.
- Send multiple test requests.
- Compare response status codes, lengths, and content.
- Test input validation using controlled values.
Example: Test a predefined list of harmless input values against a parameter in your own application.
Intruder has limited functionality in Community Edition compared with Professional Edition. Use automation only within the authorized scope and at an appropriate request rate.
4.4 Target
Target helps testers understand the structure of a web application.
Main functions:
- Review discovered hosts and URLs.
- Explore the application site map.
- Define testing scope.
- Organize application endpoints.
- Identify areas requiring further investigation.
Example: Map the login, profile, search, and product pages of a training application.
4.5 Scanner
Burp Scanner is an automated vulnerability detection feature available in Burp Suite Professional.
Main functions:
- Crawl supported web applications.
- Audit requests for potential vulnerabilities.
- Identify possible security issues.
- Provide evidence and remediation information for detected issues.
Example: Scan an authorized staging application for common web security weaknesses.
Automated results should always be reviewed and validated. Community Edition does not include the Professional automated vulnerability scanner.
4.6 Decoder
Decoder helps encode and decode data in common formats.
Main functions:
- URL encoding and decoding.
- Base64 encoding and decoding.
- Hexadecimal conversions.
- Other supported data transformations.
Example: Decode a Base64 value found in a test request to understand its contents.
Encoding is not the same as encryption. Base64-encoded data is not automatically secure or confidential.
4.7 Comparer
Comparer compares two pieces of data and highlights differences.
Main functions:
- Compare HTTP responses.
- Compare request bodies.
- Identify differences between two responses.
- Support manual investigation of application behavior.
Example: Compare responses from two test accounts to investigate whether the application returns different information based on user permissions.
4.8 Sequencer
Sequencer analyzes samples of tokens and other values to assess their apparent randomness.
Main functions:
- Capture token samples.
- Analyze statistical patterns.
- Investigate the unpredictability of session tokens.
- Help evaluate certain token-generation mechanisms.
Example: Assess whether session tokens generated by a test application exhibit suspicious patterns.
Statistical analysis alone cannot prove that a token-generation mechanism is secure.
4.9 HTTP History and Logger
HTTP history records supported requests and responses captured through Burp. Logger helps review traffic generated by supported Burp tools and components.
Main functions:
- Review captured requests.
- Examine server responses.
- Trace application behavior.
- Identify endpoints used by different features.
- Investigate request sequences.
Example: Determine which API endpoint is called when a user updates their profile.
4.10 Inspector
Inspector provides a structured view of request and response data.
It helps testers inspect and edit items such as:
- Query parameters.
- Body parameters.
- Cookies.
- Headers.
- Other supported message components.
It can make complex HTTP messages easier to understand.
4.11 Collaborator
Burp Collaborator supports the investigation of vulnerabilities that produce out-of-band interactions, where an application may communicate with an external system during processing.
It can help investigate certain types of blind vulnerabilities, including some server-side request forgery and injection scenarios.
Use Collaborator only within the authorized testing scope and follow the applicable service and privacy requirements.
4.12 Extensions
Burp extensions add functionality to the platform. Extensions may provide additional testing features, integrations, or workflow improvements.
Extensions can be obtained through supported extension mechanisms, including the BApp Store.
Install extensions from sources you trust and review their permissions and behavior before using them.
5. Burp Suite Community Edition vs Professional
Community Edition
Community Edition is suitable for learning and manual web application testing.
It provides core capabilities such as:
- Proxy.
- HTTP history.
- Repeater.
- Decoder.
- Comparer.
- Manual request inspection.
Some capabilities, particularly Intruder, are limited compared with Professional Edition.
Professional Edition
Professional Edition is designed for more advanced web application security testing.
It adds capabilities such as:
- Automated vulnerability scanning.
- More advanced crawling and auditing.
- Full Intruder functionality.
- Saving and reopening full project files.
- Additional professional testing features.
Recommendation: Beginners should start with Community Edition and upgrade when they need the advanced features of Professional Edition.
For current edition details, visit:
6. Installing Burp Suite on Kali Linux
Burp Suite can be installed through Kali Linux's package manager.
Update the package list:
sudo apt update
Install Burp Suite:
sudo apt install burpsuite
Launch the application:
burpsuite
If the package is already installed, you can also open Burp Suite through the Applications menu.
For other operating systems and the official installers, visit:
https://portswigger.net/burp/communitydownload
Always use official downloads or trusted distribution repositories.
7. Getting Started with Burp Suite
Follow these steps to capture your first web request.
Step 1: Launch Burp Suite
Open Burp Suite and select the available temporary project or default configuration option.
Step 2: Open Proxy
Navigate to the Proxy section and locate the Intercept tab.
Intercept allows you to pause matching requests before they are forwarded to the destination.
Step 3: Open Burp's Browser
Use the Open browser option in Proxy.
Burp's built-in browser is configured to work with its proxy, which simplifies initial setup.
Step 4: Visit a Test Website
Open an application you own or an authorized training environment.
Step 5: Review HTTP History
Navigate to Proxy → HTTP history.
Review the requests and responses generated by the browser.
Step 6: Select a Request
Choose an interesting request, such as one generated by a search form or product page.
Step 7: Send It to Repeater
Use the context menu to send the request to Repeater.
Step 8: Test and Compare
Modify one value at a time, resend the request, and compare the responses.
Step 9: Record Your Findings
Document the affected endpoint, the observed behavior, the security impact, and possible remediation.
Troubleshooting tip: If a page stops loading, check whether a request is waiting in the Intercept tab. Forward or drop it as appropriate.
8. Understanding HTTP Requests and Responses
Burp Suite is most useful when you understand the HTTP messages it displays.
Example HTTP Request
GET /products?id=101 HTTP/1.1 Host: example.test Accept: application/json
Explanation:
GETis the HTTP method./products?id=101is the requested path and query parameter.HTTP/1.1identifies the HTTP protocol version.Hostidentifies the destination host.Acceptindicates the response format the client can accept.
Example HTTP Response
HTTP/1.1 200 OK Content-Type: application/json {"id":101,"name":"Keyboard"}
Explanation:
200 OKindicates that the request was successfully processed at the HTTP level.Content-Typeidentifies the response data format.- The JSON body contains the example product data.
A successful HTTP status code does not necessarily mean the application behaved securely.
9. Important HTTP Methods
GET
Retrieves a resource.
Example:
GET /products?id=101 HTTP/1.1
POST
Submits data or requests an operation.
Example:
POST /login HTTP/1.1 Content-Type: application/x-www-form-urlencoded username=testuser&password=example
PUT
Typically creates or replaces a resource at a specified URI, depending on the API design.
PATCH
Typically updates part of a resource.
DELETE
Requests the deletion of a resource.
The exact behavior of these methods depends on the application and server implementation.
10. Security Testing with Burp Suite
10.1 SQL Injection
SQL injection occurs when an application incorporates untrusted input into database queries unsafely.
Burp Suite can help testers modify input parameters and inspect responses while investigating potential SQL injection.
Prevention:
- Use parameterized queries.
- Avoid unsafe query construction.
- Apply appropriate input validation.
- Restrict database permissions.
10.2 Cross-Site Scripting (XSS)
XSS occurs when an application allows attacker-controlled content to execute as script in another user's browser.
Burp Suite can help inspect input handling, responses, and application behavior.
Prevention:
- Use context-appropriate output encoding.
- Sanitize HTML when appropriate.
- Apply a suitable Content Security Policy.
- Avoid unsafe DOM manipulation.
10.3 Broken Access Control
Broken access control occurs when users can perform actions or access resources beyond their permissions.
Burp Repeater can help compare responses from different authorized test accounts.
Prevention:
- Enforce authorization on the server.
- Check permissions for every sensitive operation.
- Avoid relying on client-side restrictions.
- Test access rules for different user roles.
10.4 IDOR
Insecure Direct Object Reference (IDOR) is a form of broken access control in which changing a resource reference may expose data or actions that the current user is not authorized to access.
Prevention:
- Check ownership and permissions on the server.
- Do not assume identifiers are secret.
- Test access using accounts with different permissions.
10.5 Authentication Weaknesses
Burp Suite can help analyze login flows, authentication responses, password reset behavior, and session handling.
Prevention:
- Use secure authentication mechanisms.
- Apply rate limits where appropriate.
- Protect password reset workflows.
- Use multi-factor authentication when appropriate.
- Avoid revealing unnecessary account information.
10.6 Session Management Weaknesses
Session-related issues may occur when session identifiers are exposed, predictable, or inadequately invalidated.
Burp Suite can help inspect cookies and session-related HTTP messages.
Prevention:
- Use secure session identifiers.
- Apply appropriate Secure, HttpOnly, and SameSite cookie attributes.
- Regenerate session identifiers when required.
- Invalidate sessions properly during logout and other security-sensitive events.
10.7 Cross-Site Request Forgery (CSRF)
CSRF occurs when a browser is tricked into sending an authenticated request that the user did not intend.
Burp Suite can help inspect state-changing requests and evaluate relevant protections.
Prevention:
- Use appropriate CSRF tokens.
- Apply suitable SameSite cookie settings.
- Validate request origin where appropriate.
- Require reauthentication for sensitive operations when necessary.
10.8 API Security Testing
Burp Suite is useful for investigating REST APIs and other HTTP-based interfaces.
Testers can inspect:
- API endpoints.
- Request methods.
- JSON parameters.
- Authentication headers.
- Response structures.
- Authorization checks.
- Input validation.
Prevention: Enforce server-side authorization, validate input, apply rate limits, and avoid exposing unnecessary data.
11. Practical Example: Testing Access Control with Repeater
Suppose you have permission to test a training application that exposes product records.
The application sends this request:
GET /product?id=101 HTTP/1.1 Host: example.test
Follow this workflow:
- Open the training application in Burp's browser.
- Visit the product page.
- Find the request in HTTP history.
- Send the request to Repeater.
- Send the original request and inspect the response.
- Change the product identifier to another test record that you are authorized to examine.
- Compare the response body and status code.
- Repeat with accounts that have different permissions, if the lab provides them.
- Determine whether the server enforces the intended authorization rules.
- Document any confirmed access control weakness.
If a user can access another user's private information without authorization, the application may have an IDOR vulnerability.
A changed response or a different status code alone is not proof of a security flaw.
12. Important Terms in Burp Suite
| Term | Meaning |
|---|---|
| Proxy | Intermediary used to inspect HTTP traffic |
| Intercept | Feature that pauses matching traffic |
| Request | Message sent by the client to the server |
| Response | Message returned by the server |
| Parameter | A value supplied to an application |
| Payload | Input used for testing a particular behavior |
| Endpoint | A URL or API route that handles a request |
| Cookie | Data stored by the browser and sent with applicable requests |
| Session | Mechanism used to maintain user state |
| Scope | The systems and URLs included in the authorized test |
| Repeater | Tool for modifying and resending requests |
| Intruder | Tool for automating customized requests |
| Scanner | Automated vulnerability detection feature in Professional Edition |
| False positive | A reported issue that is not actually a vulnerability |
| Remediation | A change that fixes or reduces a security weakness |
13. Advantages of Burp Suite
- Provides detailed visibility into HTTP traffic.
- Supports manual web application testing.
- Offers tools for inspecting and modifying requests.
- Helps investigate access control and authentication issues.
- Supports API security testing.
- Provides automation in supported editions.
- Integrates with extensions.
- Is widely used in web application penetration testing.
- Provides access to official learning resources and labs.
14. Limitations of Burp Suite
- Beginners need to understand HTTP and web application behavior.
- Community Edition has limitations compared with Professional Edition.
- Automated scans cannot guarantee complete vulnerability coverage.
- Some findings require careful manual validation.
- HTTPS inspection requires appropriate browser trust configuration.
- Large or complex applications can require substantial manual investigation.
- Testing production systems can cause disruption if performed carelessly.
15. Best Practices
- Test only applications you own or have explicit permission to assess.
- Define the testing scope before beginning.
- Start with passive inspection and controlled manual requests.
- Learn HTTP methods, headers, cookies, and parameters.
- Use Repeater to investigate one change at a time.
- Keep test traffic within authorized limits.
- Avoid collecting or exposing unnecessary personal information.
- Validate findings before reporting them.
- Record reproducible evidence and clear remediation steps.
- Keep Burp Suite and trusted extensions updated.
16. Recommended Learning Resources
PortSwigger Web Security Academy
Free interactive web security training with practical labs covering SQL injection, XSS, authentication, access control, and many other topics.
https://portswigger.net/web-security
Official Burp Suite Documentation
Documentation for installation, configuration, tools, and workflows.
https://portswigger.net/burp/documentation
OWASP Juice Shop
An intentionally vulnerable web application designed for security training.
https://owasp.org/www-project-juice-shop/
17. Recommended Learning Roadmap
Follow this order when learning Burp Suite:
- Understand HTTP and HTTPS.
- Learn HTTP methods, headers, cookies, and parameters.
- Configure Burp Proxy and review HTTP history.
- Practice request modification using Repeater.
- Learn authentication and session management testing.
- Study access control and IDOR.
- Practice SQL injection and XSS in training labs.
- Learn Intruder and controlled automation.
- Explore API security testing.
- Learn vulnerability reporting and remediation.
18. Frequently Asked Questions
Is Burp Suite free?
Yes. Burp Suite Community Edition is free. Professional Edition is a paid product with additional features.
Is Burp Suite used for ethical hacking?
Yes. It is widely used for authorized web application penetration testing, security research, and bug bounty assessments.
Can Burp Suite hack any website automatically?
No. Burp Suite is a testing platform. It provides tools for discovering and investigating potential vulnerabilities, but results depend on the application, configuration, testing method, and edition.
Is Burp Suite available on Kali Linux?
Yes. It can be installed through Kali's package manager or obtained through the official PortSwigger website.
What is the difference between Proxy and Repeater?
Proxy captures and inspects traffic between a browser and a server. Repeater lets a tester modify and resend selected requests repeatedly.
Should beginners learn Burp Suite?
Yes. It is a valuable tool for learning HTTP, understanding web application behavior, and developing practical web security testing skills.
Conclusion
Burp Suite is an important platform for web application penetration testing. Its Proxy and Repeater features are particularly useful for beginners because they help explain how browsers, web servers, and APIs communicate.
Start with Community Edition, practice in authorized training labs, learn the HTTP fundamentals, and gradually move toward authentication, access control, input validation, and advanced web security testing.