Author Topic: Monitor mode for iDevices  (Read 6338 times)

B0mb3d

  • Full Member
  • ***
  • Posts: 218
  • Reputation: 3
Re: Monitor mode for iDevices
« Reply #15 on: October 08, 2012, 09:16:33 am »
i keep getting syntax errors, files have permissions. unexpected token new line <!DOCTYPE html>

TwistedP

  • Newbie
  • Posts: 1
  • Reputation: 0
Re: Monitor mode for iDevices
« Reply #16 on: October 08, 2012, 11:30:56 pm »
You are downloading the file in HTML get the zip file from the downloads tab then extract in ifile.

B0mb3d

  • Full Member
  • ***
  • Posts: 218
  • Reputation: 3
Re: Monitor mode for iDevices
« Reply #17 on: October 09, 2012, 02:50:11 pm »
must be my browser. they looked the same to me o.0

im assuming this is ipad wifi only..i get firmware errors when using the bcm-patcher. ipad2 3g
« Last Edit: October 09, 2012, 03:11:57 pm by B0mb3d »

darrenliew96

  • Full Member
  • ***
  • Posts: 136
  • Reputation: 3
Re: Monitor mode for iDevices
« Reply #18 on: November 15, 2012, 11:55:38 pm »
Can someone port the aireplay-ng with to use with this external monitoring mode?

Apetrick

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3512
  • Reputation: 90
  • <Apetrick> lank is 1337
  • Badges:
  • iDevices: Ipod Touch 4g
Re: Monitor mode for iDevices
« Reply #19 on: November 16, 2012, 07:46:29 am »
Can someone port the aireplay-ng with to use with this external monitoring mode?
Will you please clarify your post, I'm not getting what you want.
<%a12danrulz> Idk, but doing a DoS from an apple device is like fighting a bear with a plastic spork

Don't like seeing ads? Click here to register!

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4017
  • Reputation: 216
  • Badges:
Re: Monitor mode for iDevices
« Reply #20 on: November 16, 2012, 02:11:21 pm »
Can someone port the aireplay-ng with to use with this external monitoring mode?
This isn't native monitor mode, its different. Aircrack suite requires an interface in RFMON mode. This doesn't do that.

andres

  • Noob
  • *
  • Posts: 11
  • Reputation: 12
  • iDevices: iPad
Re: Monitor mode for iDevices
« Reply #21 on: December 14, 2012, 05:04:57 am »
Hi,

My name is Andrés and I'm one of the guys that developed this tool. I will try to reply any question.

I have an iPad 2, if it doesn't seem too risky (I'm looking through the code), I can try it later today.

Modifying the firmware could have some risks. But at least on the devices we tested the worst thing that happend was we have te restore the firmware, the python patcher script makes a backup of the original so only a mv command is required to do this. Please look up the README for more information on this.

This patches drivers. If it screws up he has to restore.

The tool we have released doesn't modify the driver or even the kernel. We only modify the wireless card firmware, for us this was the cleaner solution to do this. You could read the paper or the slides to understand why we do this. There's a link on the end of the post.

HOLY ****ING **** it isn't. This isn't monitor for iDevices. From what I see plowing through the source code, it is a pretty hackish half way attempt at it. It uses a hex difference file generated by Ida to listen on en0. Emphasis on *hex difference file generated by Ida*. Without his methodology, there is nothing to do but wait for him to patch every device, every firmware. So don't get your hopes up. It just uses the hex difference file to allow the script monitor_mode-magic.py to listen to RF traffic. Basically, it does not interface with anything other than that script from what I see. So no, you cannot use aircrack with it. but I may be wrong. But this seems like a very risky and unstable tool, so I'd avoid it until it has garnered more support from a credible developers and reverse engineers. But note that I'm not the best coder, and I've only been looking at it for a little bit, but in my opinion this is *nothing* like what you guys expect it is.

We where able to do some hacks to execute airodump but apparently airodump doesn't work so good with the iOS terminal. Lately we haven't been working on the tool but we will try to release a fix for this some day. A workaround for this is to use monitor_mode_magic_pcap.py script to get a valid pcap file with 802.11 traffic to use it with aircrack executable.

I noticed the .py and thought WTF??!! No actual monitor mode could come from that. Pseudo monitor mode. Dang.

Some one told me tha same some time ago. But as we are patching the firmware of the wireless card, almost anything can be done (related to the functionality of the wireless card).

Well it seems like the devs fixed it up a bit. It looks like they added a help file and fixed it up, as well as added more firmwares and devices. From what it seems this has improved significantly. It seems it allows tcpdump to capture the raw 802.11 Ethernet headers. You use the script to patch your driver (depending on your device) and then tcpdump can capture the frames. You pass the output file tcpdump wrote to monitor_mode_magic_pcap.py, which then extracts the headers and writes them to a new pcap file. Now, I do not have one of the supported devices, but theoretically it should be possible to use this outputed packet capture with aircrack to begin trying to crack the password. SHOULD be able to, I am not 100% sure. If someone has a supported iDevice, it would be greatly appreciated if you would test thi out.

Maybe you could send me your firmware version and we reverse a little bit and release a patch for it.

If some one is interested on providing firmwares of unsupported devices or helping on doing the tool a bit more usable, please contact me.

For the ones that are interested on understanding how this works, the paper and slides are available on the link below.

http://corelabs.coresecurity.com/index.php?module=Wiki&action=view&type=publication&name=One_firmware_to_monitor_em_all

NOTE: sorry if I made some mistakes, but English is not my native language.

Ironman

  • Administrator
  • Hero Member
  • *****
  • Posts: 5102
  • Reputation: 251
  • Badges:
  • Computers: ASUS UL50VT
  • iDevices: iPhone 5, iPhone 4S, iPhone 4, iPhone 3GS
Re: Monitor mode for iDevices
« Reply #22 on: December 14, 2012, 05:22:28 am »
Thank you for posting this andres. +1 for answering so many concerns.
Click for How to Add Our Repo
If you're going to ask questions....
At least make them good ones.

Knowledge is the one thing that can never be taken from you

[null]

  • Hero Member
  • *****
  • Posts: 646
  • Reputation: 42
  • the halloween jack is a real cool cat
  • Computers: I have a PC running Windows 7 that was built by my uncle. I also have a Newsmy T3 Android Tablet.
  • iDevices: iPod Touch 4G
Re: Monitor mode for iDevices
« Reply #23 on: December 14, 2012, 06:27:23 am »
Yeah, this was very helpful. A +1 from me too!
__  __           ___    ___          
/\ \/\ \         /\_ \  /\_ \          
\ \ `\\ \  __  __\//\ \ \//\ \     
 \ \ , ` \/\ \/\ \ \ \ \  \ \ \          
  \ \ \`\ \ \ \_\ \ \_\ \_ \_\ \_
   \ \_\ \_\ \____/ /\____\/\____\
    \/_/\/_/\/___/  \/____/\/____/

grinch

  • Administrator
  • Hero Member
  • *****
  • Posts: 1926
  • Reputation: 187
  • the digital grinch who stole your data
    • @DigitalGrinch
  • Badges:
  • iDevices: iPhone 3GS 4.3.3, HTC Evo V 4G ICS
Re: Monitor mode for iDevices
« Reply #24 on: December 14, 2012, 08:09:12 am »
Maybe you could send me your firmware version and we reverse a little bit and release a patch for it.

If some one is interested on providing firmwares of unsupported devices or helping on doing the tool a bit more usable, please contact me.

I have a 3GS(new bootrom), how can I send you what you need for this device?

BTW, your english is great
If I help you or you appreciate my work, clicking that +1 button is the best thanks I could get.

My opinions are my own, you may agree or disagree with them, but they are only just that; opinions
For example: facebook is the microsoft of social networks

http://goo.gl/PiVjI

@DigitalGrinch
https://twitter.com/DigitalGrinch

I follow all iNinjas members back. PM me if I am not following you

Don't like seeing ads? Click here to register!

andres

  • Noob
  • *
  • Posts: 11
  • Reputation: 12
  • iDevices: iPad
Re: Monitor mode for iDevices
« Reply #25 on: December 14, 2012, 05:24:09 pm »
I have a 3GS(new bootrom), how can I send you what you need for this device?

BTW, your english is great

Search for the firmware file on the this path, /usr/share/firmware/wifi/. You need access to the file system, so jailbrake is needed.
Usually a .bin file is found, send or share it and I see if I'm able to add support for it.

Godman777

  • Hero Member
  • *****
  • Posts: 984
  • Reputation: 27
  • Have a good day!
  • Computers: Dell Inspiron 560 with HD 5450 silence
  • iDevices: Galaxy Note 2 Rooted
Re: Monitor mode for iDevices
« Reply #26 on: December 14, 2012, 05:55:43 pm »
Or you could download iFunbox.
If I assist you please consider giving me a +1.

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4017
  • Reputation: 216
  • Badges:
Re: Monitor mode for iDevices
« Reply #27 on: December 14, 2012, 06:13:30 pm »
Or you could download iFunbox.
Needs the iDevice to be jailbroken...

Godman777

  • Hero Member
  • *****
  • Posts: 984
  • Reputation: 27
  • Have a good day!
  • Computers: Dell Inspiron 560 with HD 5450 silence
  • iDevices: Galaxy Note 2 Rooted
Re: Monitor mode for iDevices
« Reply #28 on: December 14, 2012, 06:28:05 pm »
Or you could use iExplorer. You don't need to be jailbroken for that.
If I assist you please consider giving me a +1.

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4017
  • Reputation: 216
  • Badges:
Re: Monitor mode for iDevices
« Reply #29 on: December 14, 2012, 06:29:01 pm »
The files need root to be downloaded. They are outside of /var