mirror of https://github.com/hak5/omg-payloads.git
commit
6c5ff9af27
|
@ -0,0 +1,79 @@
|
||||||
|
# Set Tor Bridge in Windows
|
||||||
|
|
||||||
|
Introducing the "Set Tor Bridge in Windows" payload a DuckyScript payload designed for O.MG. This versatile payload empowers users to manually configure Tor bridges, enabling the selection of any bridge of their choice. With the ease of customization, users can redefine their Tor experience by setting bridges in a way that suits their preferences. This payload not only provides flexibility but also enhances user control over their Tor network settings.
|
||||||
|
|
||||||
|
> In Tor, a "bridge" is a server used as an intermediary to help users connect to the Tor network more securely and bypass any restrictions or censorship on accessing Tor. Bridges are often employed when direct access to Tor is blocked or monitored by a firewall or censorship system.
|
||||||
|
>
|
||||||
|
> Essentially, when using a bridge, the initial connection is made through the bridge instead of through a standard Tor entry node. This makes it more challenging for censors to identify and block Tor traffic, as the traffic through the bridge appears like regular, non-Tor traffic.
|
||||||
|
>
|
||||||
|
> Bridges can be manually configured in the Tor client settings, allowing users to overcome restrictions and access the Tor network in situations where it might otherwise be prevented.
|
||||||
|
|
||||||
|
*Source: What is a bridge\[[1](#sources)]*
|
||||||
|
|
||||||
|
**Category**: Execution
|
||||||
|
|
||||||
|
## Index
|
||||||
|
|
||||||
|
- [Set Tor Bridge in Windows](#set-tor-bridge-in-windows)
|
||||||
|
- [Payload Description](#payload-description)
|
||||||
|
- [Note](#note)
|
||||||
|
- [Sources](#sources)
|
||||||
|
- [Credits](#credits)
|
||||||
|
|
||||||
|
## Payload Description
|
||||||
|
|
||||||
|
The following DuckyScript payload is designed to execute a series of commands using the TorBrowser. It requires Tor to be installed before running. Here's a description of the payload's behavior:
|
||||||
|
|
||||||
|
1. Opens the Start menu by pressing the GUI (Windows) key.
|
||||||
|
2. Types "TorBrowser" and presses Enter to launch the TorBrowser.
|
||||||
|
3. Executes a sequence of key presses to navigate in the browser:
|
||||||
|
|
||||||
|
a. Presses ALT
|
||||||
|
|
||||||
|
b. Then 2 times the Left Arrow to position yourself on the "Tools" item
|
||||||
|
|
||||||
|
c. Presses ENTER to open the menu
|
||||||
|
|
||||||
|
d. Up Arrow and ENTER to open the settings page
|
||||||
|
|
||||||
|
e. Write the contstant "Add a new Bridge" to search the bridge section
|
||||||
|
|
||||||
|
f. Now the ALT TAB command combination is repeated 12 times. It is seemingly counterintuitive to go backwards, but this strategy allows the use of this payload to be generalized in that it does not change whether other active bridges are already present.
|
||||||
|
|
||||||
|
h. Presses Enter to open the Manual Bridge area.
|
||||||
|
5. Moves the cursor to the text area (TAB).
|
||||||
|
6. Writes the contents of the variables #BRIDGE, #BRIDGE-N, multiple bridges can be entered.
|
||||||
|
7. Saves the new settings and closes
|
||||||
|
8. Closes the TorBrowser using the ALT F4 key combination.
|
||||||
|
|
||||||
|
## Note
|
||||||
|
|
||||||
|
- The payload is designed to run on a Windows system and requires Tor to be installed.
|
||||||
|
- The variable #BRIDGE is defined at the beginning of the payload to allow the user to specify their own bridge.
|
||||||
|
- Ensure that the key sequences are adapted to the specific version of the TorBrowser in use.
|
||||||
|
|
||||||
|
## Sources
|
||||||
|
|
||||||
|
1. What is a bridge? - https://support.torproject.org/censorship/censorship-7/
|
||||||
|
|
||||||
|
## Credits
|
||||||
|
|
||||||
|
<h2 align="center"> Aleff</h2>
|
||||||
|
<div align=center>
|
||||||
|
<table>
|
||||||
|
<tr>
|
||||||
|
<td align="center" width="96">
|
||||||
|
<a href="https://github.com/aleff-github">
|
||||||
|
<img src=https://github.com/aleff-github/aleff-github/blob/main/img/github.png?raw=true width="48" height="48" />
|
||||||
|
</a>
|
||||||
|
<br>Github
|
||||||
|
</td>
|
||||||
|
<td align="center" width="96">
|
||||||
|
<a href="https://www.linkedin.com/in/alessandro-greco-aka-aleff/">
|
||||||
|
<img src=https://github.com/aleff-github/aleff-github/blob/main/img/linkedin.png?raw=true width="48" height="48" />
|
||||||
|
</a>
|
||||||
|
<br>Linkedin
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
</div>
|
|
@ -0,0 +1,57 @@
|
||||||
|
REM ###################################
|
||||||
|
REM # |
|
||||||
|
REM # Title : Set Tor Bridge |
|
||||||
|
REM # Author : Aleff |
|
||||||
|
REM # Version : 1.0 |
|
||||||
|
REM # Category : Execution |
|
||||||
|
REM # Target : Windows 10/11 |
|
||||||
|
REM # |
|
||||||
|
REM ###################################
|
||||||
|
|
||||||
|
REM Requirements:
|
||||||
|
REM - Tor installed
|
||||||
|
|
||||||
|
REM Note:
|
||||||
|
REM - Payload tested using TorBrowser 13.0.8 based on Mozilla Firefoz 115.6.0esr ENG
|
||||||
|
|
||||||
|
REM Set your own bridge(s) here
|
||||||
|
DEFINE #BRIDGE example
|
||||||
|
DEFINE #BRIDGE-N example-n
|
||||||
|
|
||||||
|
DELAY 2000
|
||||||
|
GUI
|
||||||
|
DELAY 500
|
||||||
|
STRING tor browser
|
||||||
|
ENTER
|
||||||
|
DELAY 1000
|
||||||
|
|
||||||
|
ALT
|
||||||
|
|
||||||
|
REPEAT 2 LEFTARROW
|
||||||
|
|
||||||
|
ENTER
|
||||||
|
|
||||||
|
UPARROW
|
||||||
|
|
||||||
|
ENTER
|
||||||
|
|
||||||
|
DELAY 500
|
||||||
|
|
||||||
|
STRING Add a new Bridge
|
||||||
|
|
||||||
|
REPEAT 12 ALT TAB
|
||||||
|
|
||||||
|
ENTER
|
||||||
|
|
||||||
|
TAB
|
||||||
|
|
||||||
|
STRINGLN #BRIDGE
|
||||||
|
STRINGLN #BRIDGE-N
|
||||||
|
|
||||||
|
TAB
|
||||||
|
|
||||||
|
ENTER
|
||||||
|
|
||||||
|
DELAY 500
|
||||||
|
|
||||||
|
ALT F4
|
Loading…
Reference in New Issue