Giter Club home page Giter Club logo

rpa-bot-pentesting-cheat-sheet's Introduction

RPA Bot Pentesting / Ethical Hacking Cheat Sheet

This Cheat Sheet is focused on UiPath provider and Windows Server system OS

What is RPA (Robotic Process Automation)?

Robotic Process Automation or Robot Process Automation (RPA) is a type of technology that aims to replace the human being, using multiple and different programming languages, frameworks, RPA defined resources by each provider (Orchestrator, etc.), and interaction or integration with other technologies.

How test the securiy of an RPA Bot?

RPA Bots usually are complex development products, so, you need knowledge and experience about:

  • API Interfaces
  • Web Apps
  • Debugging or inspection of binary files
  • Different system OS
  • Cloud Platforms
  • Manual Source Code Review (XML, Go, SQL, Python, Java and many other languages)
  • Please, take the security course of UiPath: https://academy.uipath.com/learningpath/uipath-security
  • I recommend experience in security research... Pay attention to 0-day bugs and registered CVEs!
  • Experience in other pentesting categories. An RPA Bot can replace a lot of human activities.
  • Develop and deployment of RPA Bots, of course, is a plus!

References about RPA Pentesting

Nowadays, there are no public references about RPA Pentesting in general. This Cheat Sheet is based in my professional experience as pentester.

However, you can read more about some type of specific attacks based on UiPath:

Basic tools

Some tools to capture traffic and interactions of a basic RPA Bot:

Common bugs you can find

  • 0-day vulnerabilities
  • Identification of registered CVEs
  • API security issues
  • Web based bugs
  • DLL Injection attacks
  • Tampering or package modification
  • Critical security misconfigurations
  • Of course, all categories of OWASP Top 10

Pentesting Scope

The context of your pentesting is very important; please, don't test resources out of your technical and executive scope!

Only if you have a pre-defined wide scope or whitebox testing, you should test:

  1. UiPath Orchestrator and their configs
  2. Databases of the RPA Bot architecture and flowchart
  3. File .nupkg corresponding to the latest version of the development RPA Bot
  4. I recommend access to the RPA Bot development repository
  5. I recomment user or admin access to the Windows Server system OS based architecture
  6. All integrations and interactions of the RPA Bot with other technologies (API interfaces, web apps, binary files, etc.)

Time to play!

Please, be patient and read all this steps before to make an RPA Bot pentesting process:

  1. Take a general review of the RPA Bot architecture and their deployment using the guidelines of the security course of UiPath
  2. If you want a more visual security review, make an assessment or some type of threat model
  3. Make pentesting of UiPath Orchestrator in an independent way, using Burp Suite to save a project file
  4. Please, consider the following UiPath flow deployment to make tampering or package modification testing: UiPath Studio => UiPath Orchestrator and UiPath Orchestrator => triggering RPA Bot
  5. Register the hash integrity of your .nupkg file and unzip it. Make a deep manual source code review
  6. Config and setup all the basic tools to capture the traffic and interactions of your RPA Bot on Windows Server based OS
  7. Trigger the RPA Bot from UiPath Orchestrator or UiPath Studio until it's done their pre-defined flow end, capture all traffic and interactions, and save a backup or project file by each tool
  8. Inspect all your backups or project files; identify and exploit all possible vulnerabilities in an independent way
  9. Trigger again your RPA Bot and now dynamically, try to exploit all your registered bugs (UiPath Orchestrator, package attacks, manual source code review, etc.)
  10. Test at the same way, all components of the RPA Bot architecture
  11. Repeat and try to pwn your RPA Bot!

rpa-bot-pentesting-cheat-sheet's People

Contributors

joshuaprovoste avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.