EvilZone

Hacking and Security => Hacking and Security => : JackBruno September 02, 2014, 11:11:15 AM

: Airmon-ng goes weird!
: JackBruno September 02, 2014, 11:11:15 AM
hey all of you awesome hackers. i just need your help for a bit. i installed airmon-ng package suit... for security reasons e.g exploiting own routers to detect some bugs. but. airmon-ng start to act weird...
:
Interface    Chipset        Driver

eth1        Broadcom    wl - [phy0]mon0: ERROR while getting interface flags: No such device

                (monitor mode enabled on mon0)
weird right? but i tried to reinstall the bcmw-kernel-source... and reinstall aircrack-ng package
nothing happens!

i hacked a lot of wifi using different techniques. but now i can't turn my wireless adapter into monitor mode. my perl programs are useless!
: Re: Airmon-ng goes weird!
: Kulverstukas September 02, 2014, 11:22:20 AM
Do you run it as root?
: Re: Airmon-ng goes weird!
: JackBruno September 02, 2014, 11:27:37 AM
yeah... i always logged in as root... and thanks for fast reply!
: Re: Airmon-ng goes weird!
: proxx September 02, 2014, 11:31:38 AM
hey all of you awesome hackers. i just need your help for a bit. i installed airmon-ng package suit... for security reasons e.g exploiting own routers to detect some bugs. but. airmon-ng start to act weird...
:
Interface    Chipset        Driver

eth1        Broadcom    wl - [phy0]mon0: ERROR while getting interface flags: No such device

                (monitor mode enabled on mon0)
weird right? but i tried to reinstall the bcmw-kernel-source... and reinstall aircrack-ng package
nothing happens!

i hacked a lot of wifi using different techniques. but now i can't turn my wireless adapter into monitor mode. my perl programs are useless!
Funny how you act like you pwn the planet but are incapable of debugging simple shit.

eth1        Broadcom    wl - [phy0]mon0: ERROR while getting interface flags: No such device
^
Does this device even exist?

Post the output of ifconfig -a and iwconfig.
: Re: Airmon-ng goes weird!
: JackBruno September 02, 2014, 11:36:26 AM
Okay as you wish.
:
ifconfig -a
eth0      Link encap:Ethernet  HWaddr e8:11:32:2e:a6:fd 
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:18

eth1      Link encap:Ethernet  HWaddr 00:1b:b1:a9:ac:e0 
          inet addr:192.168.1.124  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:b1ff:fea9:ace0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25357 errors:8 dropped:0 overruns:0 frame:34474
          TX packets:29140 errors:34 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:17317109 (17.3 MB)  TX bytes:4038775 (4.0 MB)
          Interrupt:16

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:43 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:7460 (7.4 KB)  TX bytes:7460 (7.4 KB)
and then...
:
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11abg  ESSID:"KISSHEART" 
          Mode:Managed  Frequency:2.437 GHz  Access Point: C0:C1:C0:2B:E4:89   
          Bit Rate=5.5 Mb/s   Tx-Power=200 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=26/70  Signal level=-84 dBm 
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
: Re: Airmon-ng goes weird!
: proxx September 02, 2014, 11:57:38 AM
Its curious that its named eth1..
This is not at all expected behaviour.

Try throwing the interface down;  ifconfig eth1 down
Then try recreating the mon interface.

: Re: Airmon-ng goes weird!
: JackBruno September 02, 2014, 12:00:16 PM
lol.. that is the first thing that i do! when i got this error...
: Re: Airmon-ng goes weird!
: proxx September 02, 2014, 12:39:00 PM
Run : airmon-ng check eth1
If anything shows up in dmesg post that aswel.
: Re: Airmon-ng goes weird!
: JackBruno September 02, 2014, 12:51:48 PM
okay... i already did this but. here it is
:
airmon-ng check eth1

PID Name
1019 avahi-daemon
1020 avahi-daemon
3464 wpa_supplicant
3487 dhclient
Process with PID 3464 (wpa_supplicant) is running on interface eth1
Process with PID 3487 (dhclient) is running on interface eth1
and what do you mean about dmesg command? do i need to copy that crap and paste it here? thats kinda
longer
: Re: Airmon-ng goes weird!
: techb September 02, 2014, 12:55:01 PM
...
and what do you mean about dmesg command? do i need to copy that crap and paste it here? thats kinda
longer

grep with "eth" or something.
: Re: Airmon-ng goes weird!
: JackBruno September 02, 2014, 01:03:56 PM
Okay i run ...
:
dmesg | grep eth1

[   19.894588] eth1: Broadcom BCM4727 802.11 Hybrid Wireless Controller 6.20.155.1 (r326264)
[  233.870793] ERROR @wl_notify_scan_status : eth1 Scan_results error (-22)
i tried to remove my interface from wicd and run it... same!
: Re: Airmon-ng goes weird!
: techb September 02, 2014, 01:20:29 PM
Do you have the right drivers? Broadcom is a bitch btw.
: Re: Airmon-ng goes weird!
: proxx September 02, 2014, 01:25:12 PM
Looks like your network manager is locking the device.
Make sure you kill the WICD (daemon).

Those PID's are locking the interface.
That  error from DMESG is also an idication for this behaviour.

: Re: Airmon-ng goes weird!
: JackBruno September 02, 2014, 01:57:18 PM
:
airmon-ng check kill
...
...
...
killing all those process
...
:
dmesg | grep eth1
....
[same as above]