Home
Softono
RPA-Bot-Pentesting-Cheat-Sheet

RPA-Bot-Pentesting-Cheat-Sheet

Open source
12
Stars
4
Forks
0
Issues
1
Watchers
4 years
Last Commit

About RPA-Bot-Pentesting-Cheat-Sheet

Practical RPA pentesting cheat sheet focused on UiPath and Windows Server environments, covering architecture review, Orchestrator assessment, package tampering, traffic interception, source code analysis, and security misconfiguration testing.

Platforms

Web Self-hosted Windows

Links

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!