+ Reply
Results 1 to 19 of 19
  1. #1
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    12
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Default Pirni - Worlds first native network sniffer

    I'm happy to introduce Pirni, the worlds first native network sniffer and ARP poisoner for iPhone (AFAIK).

    Currently it's just in an Alphaversion, but at least it works. Download it here: root@*:~/ » Pirni v0.1 Alpha - Worlds first native iPhone network sniffer

    Please post your comments and thoughts.

  2. The Following User Says Thank You to n1mda For This Useful Post:

    deenybird (02-15-2009)

  3. #2
    Green Apple
    Join Date
    Aug 2008
    Posts
    33
    Thanks
    2
    Thanked 2 Times in 1 Post
    Niiiiiice! Is it just due to the alpha status that it can't forward packets or a hardware limitation of some sort? I would imagine that forwarding would be integral to a successful ARP Poisoned sniffing attempt. If you block all the traffic you're just going to get a lot of syn and no ack and potentially not a whole lot of usable information.

    Additionally due to the DoS'ing effect of not forwarding packets, it'd be more than noticable to the users.

    I think this is awesome though and I'm going to give this a try on my own network and see how it works. I'm certain it'll piss my girlfriend off as soon as I fire it up...

    I'd also like to mention that this isn't the first sniffer for the iphone, but it's the first with arp poisoning which since iphone 3g's can't go into promiscuous mode sniffing this feature becomes necessary to sniff through switches.. JUST NEED THAT PACKET FORWARDING!

  4. #3
    Green Apple
    Join Date
    Aug 2008
    Posts
    58
    Thanks
    43
    Thanked 1 Time in 1 Post
    can't wait to hear your review vexamus

  5. #4
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    12
    Thanks
    0
    Thanked 3 Times in 3 Posts

    The lack of packet forwarding is not due to any hardware limitations. It's just because of my lack of time that I can spend on developing it.

    If anyone is able to help out, and perhaps share some comments on the source etc. just send me an email: [email protected]

    The sourcecode will be available soon, and I might set up a repository for this, or I might ask MMi for hosting.

  6. #5
    Green Apple
    Join Date
    Sep 2007
    Posts
    36
    Thanks
    3
    Thanked 3 Times in 3 Posts

    I tried playing around with Pirni, but when I launch it, terminal immediately displays "Killed". I tried signing it with ldid, but I get the same result. Any idea what would be causing this?

  7. #6
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    12
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Are you sure that you've set up the right permissions? chmod +x

    Also, I'm not sure but you might have to install libnet and libpcap from cydia

  8. #7
    Livin the iPhone Life Chase817's Avatar
    Join Date
    Mar 2008
    Location
    Orange County, CA
    Posts
    1,463
    Thanks
    127
    Thanked 89 Times in 64 Posts

    What exactly does this do?
    http://modmyi.com/forums/image.php?type=sigpic&userid=303541&dateline=12514  03473

  9. #8
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    12
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Chase817:

    Read about packet sniffers here: [ame=http://en.wikipedia.org/wiki/Packet_sniffer]Packet analyzer - Wikipedia, the free encyclopedia[/ame]

  10. #9
    What's Jailbreak?
    Join Date
    Feb 2008
    Posts
    17
    Thanks
    1
    Thanked 0 Times in 0 Posts

    If it is sniffing wifi, why would it cause DoS?

  11. #10
    Green Apple
    Join Date
    Sep 2007
    Posts
    36
    Thanks
    3
    Thanked 3 Times in 3 Posts

    Quote Originally Posted by n1mda View Post
    Are you sure that you've set up the right permissions? chmod +x

    Also, I'm not sure but you might have to install libnet and libpcap from cydia
    I set the permissions, installed libnet and libpcap, but still the same error.

  12. #11
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    12
    Thanks
    0
    Thanked 3 Times in 3 Posts

    xZinnX:

    It is an ARP spoofer as well. This means that all the traffic on the network is routed through the iPhone - and because the packages does not reach its final destination (the router) it causes a DoS.

    SplitFire:

    This is very odd, though I'm pretty sure I had the same problems as you before. Try disabling code signing:

    sysctl -w security.mac.proc_enforce=0
    sysctl -w security.mac.vnode_enforce=0

  13. #12
    What's Jailbreak?
    Join Date
    Feb 2008
    Posts
    17
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Quote Originally Posted by n1mda View Post
    xZinnX:

    It is an ARP spoofer as well. This means that all the traffic on the network is routed through the iPhone - and because the packages does not reach its final destination (the router) it causes a DoS.
    Hmm guess I'm not too familiar with ARP spoofing or it's usefullness. I'm familiar with WEP cracking, but you simply pick up ARP packets and spew them back. Is it for WEP cracking? What does the iphone say (packets sent out) to make it the ARP 'router'?

    Far more useful would be a simple sniffing program, minus the ARP part, until that is working. Have you released the source yet?

  14. #13
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    12
    Thanks
    0
    Thanked 3 Times in 3 Posts

    xZinnX:

    The packet sniffer is not for WEP/WPA cracking. It's for network analyzing.

    The ARP spoofer is because the iPhone does not allow us to set the network card in promiscious mode (accepting all packets, not just adressed to us), so we can not receive all packets on the network.

    I could implement an option that disables the ARP spoofing, resulting in a packet sniffer for broadcast packets or unbridged networking.

    Source has not been released yet. I might do that later today / this week.

  15. #14
    What's Jailbreak?
    Join Date
    Feb 2008
    Posts
    17
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Ahh so the ARP spoofing method is a way around the non promiscuous mode? Gotcha. Not really interested in the WEP cracking just pulling packets with a handheld device.

    Let me/us know when you release it!

  16. #15
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    12
    Thanks
    0
    Thanked 3 Times in 3 Posts

    I decided to release the source as it is today:
    http://axeldoesstockholm.se/techblog/pirni.tar.gz

    Makefile uses arm-apple-darwin9-gcc with the libnet and libpcap headers copied from the device.

    It should also compile ON the iPhone with required libraries installed.
    It's released under the GPL license.

  17. The Following User Says Thank You to n1mda For This Useful Post:

    deenybird (02-23-2009)

  18. #16
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    12
    Thanks
    0
    Thanked 3 Times in 3 Posts

    If anyone is intrested in helping me out on the development, just hit me on my email: [email protected]

    I always appreciate any help, and any patches/modifications to the code can always be submitted.

    I'm very busy with other stuff, as always - so the development has stalled. I could really need some help.

  19. #17
    What's Jailbreak?
    Join Date
    Jun 2008
    Posts
    12
    Thanks
    0
    Thanked 3 Times in 3 Posts

    Pirni 1.0 is now out on cydia available for download. User guide here: PirniUsageGuide - n1mda-dev - How to use pirni, network sniffer for iPhone. - Google Code

  20. #18
    What's Jailbreak?
    Join Date
    Aug 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I tried it, but i cannot see any of my passwords in the pcap file in wirecard.

    I testest it with www.web.de (my mailaccount) with ebay -- with www.diba.de (my bank) and www.meinvz.de

    But sometimes I even cannot see the loginname.
    Or the password is hidden with special signs.

    With ettercap-ng in Backtrack I m able to see ebay or web.de passwords.

    Problems with the promisc. Mode?

    There are some listings in the pcap file like "TCP Out of roder what does this mean?"
    Last edited by appreciated; 08-20-2009 at 10:42 AM.

  21. #19
    What's Jailbreak?
    Join Date
    Nov 2009
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    When ARP poisoning in Linux using file2cable you need to enable IP forwarding.

    Code:
    echo 1 > /proc/sys/net/ipv4/ip_forward
    Could it be something similar with the iPhone?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts