#Port OpenHaystack as a FAP

92 messages · Page 1 of 1 (latest)

gusty gulch
#

Alrighty college apps are over and it's time for me to attempt to port openhaystack as a FAP with zero C knowledge

worn forum
gusty gulch
#

Yeah after looking into it that is what it did

pearl shoal
#

You could try to implement it using an ESP32 via GPIO

gusty gulch
#

Yeah but the bulk it adds makes it impractical for actual use

worn forum
#

which means, yes it could work

#

but you no longer are able to use the flipper app

gusty gulch
#

The ble chip has a beacon thing

#

Which could be used but I'd have to look into that some more

worn forum
#

Beaconing is not the same IIRC

mossy current
#

you could certainly get the size smaller with something like this:
https://shop.m5stack.com/products/m5stamp-pico-diy-kit

m5stack-store

Description Description STAMP-PICO features an ultra-compact design with two low-power Xtensa® 32-bit LX6 microprocessors at 240MHz on a PCB as tiny and delicate as a postage stamp. low power consumption. It is ideal for any space-constrained or battery-powered devices such as wearables, medical devices, sensors, and o

#

very tiny

gusty gulch
#

oooh

#

I will give that a try

gusty gulch
gusty gulch
#
GitHub

Flipper Zero Firmware. Contribute to AlexStrNik/flipperzero-firmware development by creating an account on GitHub.

GitHub

Build your own 'AirTags' 🏷 today! Framework for tracking personal Bluetooth devices via Apple's massive Find My network. - openhaystack/openhaystack_main.c at main · seemoo-...

hasty crane
primal grotto
#

I have compiled and installed the firmware but now I don't know how to get it recognized by the iphone flipper_party

gusty gulch
primal grotto
#

Yes that I thought too but now le'ts say I could select On and OHS or Off but when it is close to the iphone it does nothing

gusty gulch
#

I believe the demonstration doesn't have all of the code they used released

#

you might have to look into how open haystack does airtag discovery

#

I'll be doing that soon when I get some time

#

@keen bay were you the speaker at eko?

primal grotto
#

will attempt to watch this with the sub. in english

elfin flume
elfin flume
#

please

hasty crane
elfin flume
#

i don't know how

hasty crane
#

But once installed, I am not sur how to run it

hasty crane
elfin flume
#

no i don't see instructions

#

which link

hasty crane
elfin flume
#

I'm really sorry but i never compiled firmware sooo

hasty crane
primal grotto
#

did it using the c code above

#

@elfin flume I will do a video to show it

elfin flume
#

Epic thank you so much

#

But can i track the airtag with the ios apple app ?

primal grotto
#

no but I am not sure If I understood how the pairing is made

elfin flume
#

i don't think it's pairing

primal grotto
#

because the airtag have also nfc chip

elfin flume
#

nfc is used to link the airtag to an iphone if i remember

#

but i don't think that we need it

primal grotto
#

even for first paring ? because I have set bluetooth on and off from the FZ nearby the iphone with the wizard open but it didn't worked

elfin flume
#

uh yeah i don't really know sorry

#

maybe you can find docs onlie

primal grotto
#

no worries, I think our questions are in the video https://www.youtube.com/watch?v=uXjfNtHvHQU&t=1497s

Ekoparty 2022 - Maintrack Talks
Spy-wear: Misuse of Apple AirTags

In this presentation, we explain how the Apple Find My network interconnected devices technology works. This talk explores different aspects and scenarios where some individuals have been involved in these difficult situations, and some of them were able to detect and find the ...

▶ Play video
elfin flume
#

nice

#

oh they are using a flipper cool

#

i need to do this ?

primal grotto
#

indeed

#

gather the gap.c from their project

gusty gulch
#

cool, so for pairing you need to go to the open haystack repo, they have an app that can generate a private/public key pair, throw that into the gap.c

#

then you can use openhaystack's app to track the "tag"

#

keep in mind you need a mac for this

#

the nfc they are mentioning is likely linking the private/public key to the airtag and to your icloud keychain so that you can actually know what tag is yours

#

may or may not be able to turn it into a fap so you don't need to recompile the firmware but I've yet to even receive a flipper so I can't test that

#

hopefully soon 🤞

primal grotto
primal grotto
# gusty gulch hopefully soon 🤞

can't wait to see what you will do with yours, for now, I am trying everything I see or I am curious on. I still need to dig further on some topic

gusty gulch
#

i don't even think it has to be always on but I'm not super sure on that

#

I think just the key needs to be in the keychain

primal grotto
#

smart, but don't start me 😄 may be for another day, I had macOS virtualized but somehow at one point the vm crashed

gusty gulch
#

😂 yeah vm macos does weird things a lot of the time, i've been trying to update to ventura for weeks lol

primal grotto
#

I gave you credits https://youtu.be/NIJL_ApJP-Y so I have followed parts I have described to @elfin flume

elfin flume
#

Merci le boss 👍

keen bay
elfin flume
#

@gusty gulch do you know how can i connect the flipper as an airtag to Find my phone app ?

keen bay
#
  1. Generate private/public keys using openhaystack process, for example.
  2. Sniff the nfc registration data in 14443a protocol between a real airtag and iphone process.
  3. Simulate the process using the key that you generated. And emulate the ble characteristics for the communication process as well. That could be the initial process according to my research
elfin flume
#

looks soooo easy 🤯

elfin flume
# keen bay 1. Generate private/public keys using openhaystack process, for example. 2. Sni...

https://www.youtube.com/watch?v=IA6_Tw1Ov4E i'm not sure that it's using nfc for registration

Secure AirTag to your keys, wallet, and other items to keep track of them using Find My.

To learn more about this topic, visit the following articles:
Set up your AirTag using your iPhone, iPad, or iPod touch: https://apple.co/3gOiv9P
Use the Find My app to locate a missing device or item: https://apple.co/333NHK5
Ultra Wideband availability: h...

▶ Play video
#

and i don't know how we could do this with the flipper

gusty gulch
# keen bay 1. Generate private/public keys using openhaystack process, for example. 2. Sni...

Following this https://adamcatley.com/AirTag.html

an unregistered air tag has a nfc tag url that contains specific data i.e. bt address, serial number

from what I can tell when you register your air tag it assigns a new url with a key(hashed?) and associates the public/private key pair with your icloud keychain

from that point on when any apple device receives the BLE packet with the public key find my will know to associate that with your icloud account

does that sound similar to your research?

#

it appears it would be possible to use the flipper to sniff air tag BLE packets, and emulate them obfuscating their location

primal grotto
gusty gulch
#

I mean like obfuscating wild air tags the video only shows iphones recognizing an unpaired one I think

primal grotto
#

my bad, yes I stuck prior in the conversation where you mentioned to capture first auth from an airtag.

#

Unfortunately I don't plan buying airtag anytime soon to test

gusty gulch
#

Yeah same I would need both an iphone and airtag and I'm not dropping that much money

#

😂

elfin flume
#

Epic