GrapheneOS Workshop: Secure by Design, Private by Default
Devcon·Sat, Nov 7, 2026, 12:00 AM
Speaker
Transcript
[music] [music]
GrapheneOS. Okay, a little bit less, but that's fine. Put down your hand. All right, I've got the thumbs up. Just give another 5 seconds for everybody to find their seats cuz we're going to be live streaming the session as well.
Come, wherever you are, just find a seat and we're going to get started. All right, fantastic. Ladies and gentlemen, uh good evening and welcome. Once again, give yourselves a big round of applause for being here on the last day of Def Con. Thank you.
Awesome. Awesome. Yeah, you've got more. So many people coming in, that's wonderful. Uh my name is Ross.
I'm going to be the MC for the last session today at workshop two. Um the session here is entitled GrapheneOS workshop, secure by design, private by default. So, what is GrapheneOS for some of you, if you're not familiar with it, it's a private and secure mobile operating system with Android app compatibility. Now, this is about a 50-minute hands-on workshop. It's going to cover the design philosophy, a demonstration of what GrapheneOS actually feels like and looks like.
And for any newcomers or long-time users, you're all equally welcome. Our speakers today, we've got two of them from the GrapheneOS team. I'm going to pass the time over to Andrew and Hulk. Let's give our speakers a big round of applause. Gentlemen, the stage is yours.
Testing, testing, 1 2 3. Can you hear me, Major Tom? Can you hear me, Major Tom? Yes. Nice.
Nice. Nice. All right. So, uh you at the back, could you please sit closer to the board? Yes, we're starting the class.
Uh hello, everyone. My name is Hulk and this is Andrew, that's my colleague. We are community managers at the GrapheneOS, which is a pretty big project in Android space. We do Android privacy and security. We are I don't want to brag about it.
I don't want to brag I hate to say it, but like uh as far as all the security researchers have said so far. When it comes to Android, our project is the top of the line in terms of privacy and security for the end user. So, if you've ever heard of us, I'm glad that you're here. I'm glad that you came and I'm super glad seeing so many familiar faces. I love you all.
[snorts]
All right. Hey, hello. So, we are of course a project that's based on Android and we do an open source development. It's free and open source. Anybody can download it.
Anybody can see audit the code. Anybody can make changes if they want to how the way they see fit. Our defaults are very secure and private and today we have a workshop. We're going to We have We brought with ourselves a bunch of phones. These are running GrapheneOS right now with us and we will give them to you to use the phones.
The idea is very simple. We have some tasks. Very simple tasks. Most of the tasks take like a few seconds to do. It's just like tap here, tap there, tap do that.
You do a task, you get a number. Andrew, can you show them the number? Yeah, we you get this kind of sticker. Has a number. Yes, yes, yes.
You finish a task, you do it fast, you do it quick, you do it nice, get a number and at the very very end of the session, you come to us with your sticker. We give you free shirts. That's up to how many up to how many supplies last. So, if you get a like a lower number like one or two or three, you get a higher priority in terms of like whether you get XL, white or black, whatever is your preferred one. And of course, the last people like also get shirts, but like after supplies last.
Maybe we will run out of L sizes. Maybe we will run out of M sizes. I'm so sorry. Brought this many. And we definitely were not expecting this many people to join us.
Wow. Thank you very very much for coming here. I'm super glad seeing this many people around. All right. All right.
All right. All right. So, uh before we even start the game part of our thing, uh can we please have iOS users uh Apple users, peoples with iPhones, raise their iPhones up? Right. Right.
Right. Right. We got a bunch. We got a bunch. Of course.
Of course. Of course. We got a bunch. Yes. Yes.
Yes. Apple makes really uh high-quality hardware and please please work. Yeah. Yeah. La la la la la.
These are old slides. I'm sorry. I didn't update them. Yes. Yes.
Yes. Yes. So, if you are an iOS user, you have a MacBook, you have an iOS whatever, please turn on the lockdown mode. Uh right. That's a task number zero essentially.
Yeah. This helps with your privacy and security as this is designed uh specifically to make sure that your phones will be less prone to vulnerabilities. Whether that be memory corruption vulnerabilities or somebody sending you some sort of uh malware package over iMessage. This helps prevent a lot of that. All right?
So, please take a photo of this slide cuz we will uh soon go to Android and talking about GrapheneOS and everything. All right. Right. All right. Yeah.
Yeah, I see people taking photos. That's good. That's good. So, shall we slowly start the tasks? Turn on the Okay, there we go.
All right. Uh yeah. Hi. Uh I'm Andy or Andrew. Uh just uh to also introduce myself.
Oh, yes. Uh yeah. Totally.
Um yeah. We uh we both work as community managers, but also we do a lot of other things in the background. Um so, actually we aren't the developers. Uh the developers aren't here, but uh we do pay attention pay a lot of attention to uh the development and all that stuff. So, uh hopefully if you have questions and we can answer them and maybe explain uh why we uh choose certain uh approaches and all that uh case you have any questions afterwards, okay?
But yeah, we we we Yeah, as Hulk said, we didn't know we were going to have this many people. It's very difficult to do a workshop and show the operating system to such a large group of people because the phones are like this big and the room is like that big. So, hopefully we can let people do hands-on stuff with them and then we also have this one that we'll connect up here so you can see how we do that. Um So, yeah, I think we're good to go.
All right. All right, this one is yours. Let's see. So, let's start with the task number one. This is task number one will be fix a banking app.
All right. So, a lot of you rely on banking apps. All the people rely on the banking apps essentially and there's a big misconception going around around the world that GrapheneOS does not support banking apps. Well, in fact, we have a lot of well, compatibility fixes. We spend a lot of time.
I mean, our developers spend a lot of time making sure that we're compatible with a big range of Android apps while still keeping security and privacy intact. So, who wants to try out to fix the banking app? Please raise your hand. I'll come to you. And we have we have two phones.
So, this one goes to you, sir. And yes, you two
to try to go go to two different sides of the room. So, Yeah, yeah, yeah. Sorry, I see people raising their hands and want want to try to spread it around. So, yeah. Sorry for ignoring whoever was raising their hand over there.
Um All right. The [snorts] the passwords are 1 2 3 4 5 6, okay?
[laughter]
Yes.
[snorts]
Cyber security
Exactly. Yes, those are not our phones. Yeah, our phones I hope have I hope you have a better password than that.
[laughter]
All right, and I think I think kind of like a a quick I guess tip. Um I forget what the the app is. What's the name of the app?
Oh, it's like an Indian banking app. I think it's called HDFC. Something like that. Right, all right. And so if you try to open it right now on the phone, it will crash.
It will crash because one some of our settings are set to be high security, but there is a setting that you can change. It will even hint you at it. And once you do it uh the app should run just fine. Now the thing about today's task and today's well challenges and everything is that unfortunately unfortunately unfortunately internet here is pretty slow with this many people. So we made sure that all of our tasks are offline.
So this one definitely works offline just like give it a try and uh once you once you're done I'll come to you and see if it actually works and we give you uh priority for the shirts.
Yeah.
Yeah, that's the one. Yeah. Okay, we get number one here. All right. Okay.
My god. Hey hey if you're all the way over there I'll give you all the stickers. Where?
Yes. Yes. Yes.
Figured it out. Just figured it out. And And sir, did you figure it out yet?
Yeah.
Yep, we're good.
Oh, that's a website. That's the website. There's an app. It's It's already installed. It's already installed.
Yeah. Yeah, you see it's crashing by default. And you need to fix it. That's a that's the task. Yes.
Um sorry, the the the thing is not showing up on the screen. Yeah, the phone. Okay, as as these people are trying to figure it out, I'll show you what's happening on their devices. So, I launch this HDFC Bank, which is a popular I understand in India. People were contacting us saying, "Oh, no, this bank app isn't working."
But, of course, GrapheneOS works really hard to address compatibility issues. So, we have lots of toggles. And since someone already figured it out, I'll show you how to do it. Um All of Well, almost I believe all of the No, I'd say most of exploit protections can be toggled per app. So, I can do that.
So, I'll show you. So, if you long Yeah, if you long press app info, then this one, the issue is Where is that? Native code debugging. So, native code debugging, I believe that has something to do with like the stack and the app sees that and it doesn't like it, so it just like, "Nope." And then it just crashes.
So, that's one way that they're trying to find out if an app is uh on a different kind of device. So, I I change that setting and then here we go. Works just fine.
Yeah, it's the screen is wide right now. I think I think that's because they disallow like screenshots on that on that app.
Oh, right right right.
You can Sorry.
You you you can you can unplug unplug the phone and show it on the phone. Right right right.
It works.
Yeah, yeah, yeah.
[laughter]
Yay.
All right.
Okay, so yeah, that's how you change that. Just long press app info and then most of these settings you can just turn on or off the exploit settings per per app per setting, okay? So, many many apps they they might look at one thing and then they don't like that, so they just crash, right? Or they have a memory bug and then they crash because of that. So, uh most of those settings can be found there.
Okay? So, did you find that one?
Uh we're still figuring it out here. Uh would would you mind to me helping with you, sir? Yes, so essentially what we're doing is uh right, we just Yeah, go back. We just clo- click while while we're looking at this. Take a look at this.
Uh HDS different per app. Exploit protection So, this might help you in the future.
[laughter]
It just
Maybe pro tip, uh when you are working with an app that isn't behaving, then this one right here is actually exploit protection compatibility mode is like the one toggle that fixes things really quickly. Okay? It might help you with a later task. I don't remember all the tasks right now. Okay, so we're ready for the next one?
Next task. Number two, photo picker. So, let me to explain this a little bit. We have made a bunch of photos on these phones, and uh the use case is for example, for example, you have a bunch of photos on your phone, maybe your you took some photos with your family, maybe you took some photos of your passwords, maybe you took some photos, uh I don't know, when when you were nude or something, and you and you want to pick specific uh apps to be able to only see some of the pictures, but not all of them, right? Uh iOS users would know what I'm talking about, but uh like in general, Android uh doesn't uh is working towards but providing a uh yeah, yeah, yeah, a thing like that.
But, but, but, but, but, on GrapheneOS, we can make uh third-party app to think as if it has all the photos, all the files permission, while in fact, it's being fake, while in fact, it's only specific ones you choose which to be. So, the task is to do that. Who wants Yeah, you've been you've been up for a long Yeah, let me give you the phone. And the second person, please. Right.
The phone is yours. So, you go choose. Right, I have it.
You don't have it? Yeah, where did it Where did it go?
Where did it go? Oh, it's it's still there. It's still It's still It's still there with the number one.
Okay.
Yeah, yeah, yeah.
Yeah, trying to let other people try in different parts of the room. I saw a hand over here. Okay. I'm going to run all the way over here.
[laughter]
So, uh the Yes, yes, yes. So, the task is
Sorry.
is that on the phones you have a gallery app called Avis Gallery app. And so, right now, it if you open it, you will see that it has permission to absolutely all of the photos that we've made. You can also make some photos if you want to and put them on the gallery as well. But, your task is to fix that. Your task is to change the setting and give it only specific uh photos that are not like password photos that are not like that an app should not have.
Just choose like one or two photos that an gallery should have and nothing else.
Uh in in these phones' camera rolls, there are pictures of my hotel safe's password. It's not real. And my suitcase's password, also not real. Uh and then a selfie of me and Hulk uh in front of the the the screen out there. So, please uh select just that and then we want to be able to see only the selfie photo right here.
So, the Def Con pictures are secret in this uh album, and we only want to see uh me giving a peace sign. And like I said before, I gave a pro tip. The app info area is very, very helpful in these kinds of situations. Sorry? Finished?
Let's see. What do you have there? Yeah, okay. So, we got the selfie photos.
All right.
Excellent, sir.
Sorry, sorry, sorry, sorry.
Yep.
There you go. All right.
Okay, and then since we got one already, I'll show you how do you do that. So, again, the DevCon photos are the secret ones, you know, whatever. But like say for example, you're using Facebook and you want Facebook to only see the selfie photos cuz that's what you put on Facebook, I guess. I don't know. I don't use Facebook.
So, what do you do? You go to the settings here. There we go. So, I'm just going to do long press again. Info, app info, and then here this is a permission, right?
So, the photos permission is there. This is the photos permission is really an Android thing. So, instead of granting it the full photos permission, I'm going to change it to storage scopes, okay? Storage scopes is a feature on GrapheneOS that lets an app think it has access to everything, but it doesn't have access to everything. So, I do storage scopes.
I enable that, and then I can add a folder. I can add specific files. And then this one also has a convenient add image thing, so I guess I'll just do that. There we go. Beautiful selfie of me.
And I try to open that again. And there you go. So, this will work on like WhatsApp or Facebook or all those other apps, okay? So, they don't get to see your uh your pins and all that. Okay?
Did Did the the I don't remember who's got the phone. Right? Yeah.
All right.
Did you figure it out?
No. Yes, you can here you can put on permissions photos and videos, and you can change it here on storage scopes or limited. Or like yeah, this and then
Wait, hold on. One second.
And you pick specific ones.
Let me hand you a mic so you can ask.
And now you try to open it.
So, that everybody can hear your question.
[laughter]
We have too many
Yep, yep, just to see if it it that. All right. Uh allow limited access, right? If I suppose
Yep.
Uh
Okay, go ahead.
Uh if we have two uh we have selected only two photos to be accessed and later I change the second photo uh rename the second photo also change its extension also keep it hidden folder like dot put a dot in front of it or maybe do something. Now, would this uh particular location view that uh that file?
I believe it's saved with the file name. We could try it, why not? So, yeah, question is if I just rename the file, will it still show up? I believe it I believe it's saved in the database with the file name or the full file path. So, let's just rename that.
Um So, that would include like moves. Let's say Andy. Let's see, does it show up? I don't think it should. It does.
Okay, wow.
[laughter]
It's very convenient. I thought it I thought it wouldn't work. Okay. There you go. There's the answer.
No
Oh, nope, there we go. I was right. Cool. All right, so then I guess we'll move on move on to the next one.
Yes, we do. So, the test number three is a contact speaker. Similar story to the photo speaker, we have a contact speaker. Every single normal person would have hundreds, maybe even thousands contacts in their list by this time. That's when you have series, especially coming to a huge place like this like Def Con where you keep on making new contacts, keep making new connections, right?
And then you A lot of people using like Telegram and WhatsApp and they don't want to have all contacts. Like on a normal Android operating system when you install WhatsApp or Telegram, your only options are no contacts or absolutely all of the contacts, which is unfortunate. But, what we provide is similar to this photo speaker where you can choose specific contacts that you want to do. So, uh yes, that's the task. Let's see who wants to do the task.
Yes, well, so so many people want to do it.
Well, you're all the way back there. I'm going to pick someone over here. All right. So, you guys play like You guys can like paper, scissors, stone, or fight each other. I'm just going to put it right in the middle.
[laughter]
Thanks. Oh, you guys are really nice to each other. Okay. You'll work together. That's fine, I guess.
You'll get to fight over the shirt.
[laughter]
Okay, so yeah, same same deal. Uh contacts.
Oh, so uh for the to test that contacts app, uh we wish we could have had WhatsApp or Telegram, but WhatsApp or Telegram are super reliant on internet, and we don't have a good internet here. So, it's So, to simulate this simulate this, we have two contacts app. So, one is green, and the one is black. And uh yeah, we we expect you to uh go to the green contacts app and only allow it to see mom and dad contact information and nothing else.
Right, because you're talking to mom and dad on WhatsApp or something. Obviously, you don't want want WhatsApp to know that you are friends with uh world leaders.
[laughter]
It'll be a very exciting group chat, yeah.
[laughter]
Especially this past week. Yeah, for that last one. Haha. [laughter] Okay, yes. So, we have uh mom and dad here.
So, again, the the the pro tip that I gave earlier, pretty much everything Oh, I think I think we have a second one. Okay. Pretty much all the settings are in the per app app info [snorts] thing. Uh so, here we go. Again, it's a uh it's overriding that contacts permission, so you can only see uh instead of giving that full contacts permission, like uh Hulk was saying, I just go to this one.
Uh we have allow, don't allow in contact scopes. Contact scopes uh just tap on that, enable it. Uh that actually kind of disables it on that other screen, and then you can just uh pick contacts. Right? So, uh maybe maybe this time I want to add Obama, right?
And then there we go. Now I can chat with him on WhatsApp. Because I'm sure Obama has WhatsApp. Uh also, you can add labels. The contacts app does support labels.
So, like if you want to have like a a family label, then you can make that even easier by adding uh people Oh, there's Sorry, I forgot about that. There's the convenient You can see that there's a convenient contact scopes uh option there now. So, it's very easy. You can add a a label here on the left or specific numbers or emails one by one. Okay?
Cool. So, then uh I guess we'll go to the next one.
Let's go. All right. That's number four. Restrict clipboard access. This one is definitely something that no other operating mobile operating system has uh right now.
It is the clipboard access. You know how we use uh the clipboard all the time. We like uh copy a password, we put it here, we put it there. Every single application that's on your screen can uh read your clipboard by default. Sometimes they're nice, but they're nice and they would say, "Hey, yes, you have this thing in your clipboard."
Sometimes they keep it silent, like the Facebook, right? Facebook Facebook would just gladly take your information and would never tell you you have this information. So, yes, you want to do this this task, right? Or you have a question?
One second. One second. Can I pass you the mic so everybody can hear and enjoy the question?
Uh so, while they're while they're moving the microphone around, you can see that I just copied uh text from the GrapheneOS website and then I just opened this app called Clipper. This is supposed to be a clipboard manager and you can see that it accessed just that one text bit from the website without any questions. Like you just see the pop-up saying, "Hey, this app accessed your clipboard." Too late.
[laughter]
So, okay. And then we have the question?
Yeah, I wanted to ask if standard Android allows apps to read from the clipboard. Like which apps? The ones that you have installed, the ones that you have open running in the background, or the one only the one that you currently have on your screen?
Yeah, the last one. Yeah, the in Android lingo it's called focused app. The one that you are right now focusing on, the one that you are right now working on. That's the one that has the clipboard access by default. Yeah, yes, yes.
Well, there's also some other exceptions. I believe the keyboard always has access. Because keyboards usually or not usually, they often have clipboard manager feature in them. So, clipboards are pretty much allowed to access that whenever.
One question here if you don't mind.
Uh those who have Android phones here, if you go to the keyboard and in that the settings area is there. Inside the settings when you go to the privacy option, it's at the bottom like near the help and feedback block. There is a privacy option. There are some radio buttons and it's on by default which asks you that every time you're typing your password, number, we will use this data for analytics purposes and we will share this with third party third party people. Now, who are they they sharing this with?
Have you ever wondered?
Well, there there is like a way to mark a field as private on Android. So, if you're typing something into an text field, then it will come it'll show up with the stars. And hopefully keyboards are respecting that, but you have no idea if they are or not. There there is uh some evidence that Gboard does respect that, but uh you know, it's uh hard to tell and that could change at any moment, really. Um, so anyway, uh for this Oh, wait, we need to find the people Maybe I'll show you uh How do you do this one?
Uh this one's a little bit more complicated. Um, instead of copying something from the website, you can take a look at Oh, I forgot to install it on this one. There is a an app called uh Open Notes, I believe, and Open Notes has a uh seed phrase in it. You want to copy that one and we want to make sure that uh this Clipper app does not access the uh seed phrase.
We need to distribute the phones.
Yeah, yeah, yeah. So, I just want to say what we're doing first.
I'll go I'll go over there because
Where did my other phone go? Yeah. Uh do I have it? There you go, sir. Oh, it's here.
And then the second person? Uh oh, you're all the way over there. Uh okay. Hello.
So, yes, just to rehash, uh on the phone, there is a notes app and the notes app has a to-do list or the like the seed phrase, whatever, and uh you can try copying it to see how the Clipper works, but your task is to make sure that uh Clipper does not have the clipboard permission. As usual, it's in app info uh section.
Sorry, I forgot to install the the notes app on this phone. So, as you can see again, I just copy and then when I launch the Clipper app, then it just says, "Oh, surprise, I copied your clipboard and it's saved here." And uh this clipboard app, for whatever reason, does request network permission, so who knows what they're doing with that, right? So, let's see if this is uh Mhm. Oh.
There's also a to-do list there that we put there just for fun. Okay. Right. Yeah. Okay, cool.
So, uh same as before. May- maybe you're maybe you're seeing uh a bit of a theme here. Um
a question. Of course. Uh can we have a microphone? But yeah.
Yep. One second. I'll pass it to the front.
Um yeah, so good question about this one and maybe other features as well. Um so it's clear that we can do it per app just such um the other permissions that we want. Um but in this case specifically, we can see that by default it is allow. Is there a way to change the default so we don't have to go app by app?
We were going to get to that, yeah. But since you're asking, yes. The um so uh actually secure paste is a new feature. Um I think it was added either last month or 2 months ago. I think it was last month.
Very new feature. Um right now uh the clipboard is allowed for all apps. That's the default on Android. And it's allowed by default just for app compatibility. Um there there are a few uh cases of that with Android and GrapheneOS where we we set the defaults so that uh apps don't uh break and uh get confused and stuff.
Um so like uh users can if they know what they're doing, then they can change those settings um to make it more private, more secure. Um but yeah, we we don't we don't really want uh users to get a to install GrapheneOS and then they're trying to use it and then it's breaking all the time uh because they don't understand what's going on. Uh so yeah, those defaults are set so that there's no real uh compatibility issues.
So, Andy, could you please show people how to do the paste only?
I think this is I I I would have to switch profiles. Um well, first I'll show you this one. Um so like again, I uh copy uh And And as you might have noticed there's a theme, right? How easy are all of these changes, right? [laughter] Um, it's uh yeah, a lot of people think that um a lot of the settings in GrapheneOS are difficult, um but they're really not.
Um
Sorry Andy, one that
Andy, uh the guy had a follow-up question. I'll pass the mic to him again.
Uh yeah, so the follow-up will be about um password managers, which usually you need to enable the forgot the the setting for, but would that still work if we do change the default for the clipboard? The I think it's the accessibility thing that you need to be on.
The clipboard the the password managers, I don't believe there's an exception for password managers. I think that there's only an exception for keyboards and system apps, because the system apps are all built by GrapheneOS anyway and they're open source, so we don't really worry about them. We know they're not like taking your passwords and sending them off the device, um but uh keyboards have have to have that exception.
And then coming back to the password managers, I'm pretty sure they just work fine uh even when you disallow them to access the clipboard, because I think they use a different API for that.
Accessibility what?
Mhm.
Oh, when it when it's copying directly from the clipboard or sorry, from the password manager to an app, that's a different API, yeah. I think so.
Um and also uh another exception is that apps can read things that they themselves created. So like if you're like uh browsing with not not of an ADM because an ADM is a system app, but like say you install a different browser and you like copy a a link and then you go to another tab, then you can just paste it in uh very easily. Um it won't it won't uh pop up with uh this was not allowed. But like uh I just changed the setting and uh so everybody who uh didn't get a chance to play with the phone, you can see uh there at the bottom it says uh Clipper was blocked from accessing your clipboard. And uh we actually set this one up with different profiles, so I wonder if you can see this.
I think this one's also 1 2 3 4 5 6. Or it's zeros.
[laughter]
No.
Four zeros.
Oh, okay. This isn't my phone, by the way. See. Um so, yeah, this question was about whether it can be changed globally. There there are a few settings like that.
I'll show you the the thing. If it ever pops up. Hello. Anyway, like I said, there's like a theme that all of these settings are are per app or most of these settings are per app. So, you can just change them per app.
So, if you have a very private or secure setting by default, and then things start to break, then you can change that per app. But the global settings are in usually the owner profile. It depends. Some some have to be in the owner profile. Some have to be in the secondary profiles.
We just used the secondary profiles for this device because this isn't our phone. We're just borrowing it from someone. And so, we'll just delete the profile later. But if you go to settings, security and privacy, and then exploit protection, then you can change all of these settings. Um these are pretty famous for like our auto reboot, USB C port settings.
So, you can like disable it completely, turn off Wi-Fi and Bluetooth, and all the memory hardening stuff. Yeah, memory hardening stuff and other app stuff, just in time, that kind of thing. Okay, so move on to the next one.
Yeah, let's move on to the next one. Let's go. Task number five. Yeah. So, we've been talking a lot.
Let's do Let's do more workshop. Let's do more workshops. Restrict the senses. Or remove the sensors permission. Who wants to do that?
Please. Yes, you sir, you've been active as well. You definitely deserve a chance, right? And then Andy, you also give someone to something.
Uh the phone is here for you.
Yeah, I was going to say I have a phone. Who who Who had the Who did you give the other phone to?
Uh yeah.
He has one, so he can pass one with the left side.
Oh, we'll go all the way back here. Here you go. So, as you can see, this this device uh has access to sensors. So, it knows where we are. Or [clears throat] sorry.
It It knows which direction we're facing. So, this is one of the sensors uh in the device. It uh has a What do you call it? A compass? That's right.
Compass, so it knows which way you're uh directing. And you can disable that as well. Again, the pro tip from earlier.
So, the uh the important thing about the sensors is because uh researchers have figured out that uh since the sensors on the phones are so sensitive, like the gyroscope, the uh let's say monitors and everything. They're so sensitive that you can actually listen in and uh make gyroscope to be your microphone, essentially. And of course, it's like in noisy environment, like the conferences, it probably wouldn't work very well. But if you are somewhere like at home, you know, like you may be talking to someone, it it it could definitely be used as uh just as a microphone. That's why disabling sensors permission is actually a pretty big deal, even though the microphone permission is off.
Right. Right, it might not sound that very It might not sound that exciting. I think I think it's finished. Uh it doesn't sound that exciting to to turn off sensors, but yeah, like they can use all sorts of data to kind of like correlate where you are, maybe like IP address plus like your altitude and be like, "Oh, you're in that location maybe, right?" And then over time they can take these data points and figure out where you might be located.
Also, I've seen that there was a research about what you're doing. So, like they can use sensors to see if you're sitting down, if you're walking, if you're laying down. So, like they can get So, like for example, like Facebook, if you're like doom scrolling, right? They can get an idea of what you're doing what your orientation So, like you're laying down and all that. So, like they may know when you're going to sleep and sitting at work and all that stuff.
So, sensors permission is actually way bigger than you might expect and it is not a permission on Android. This is an added permission on GrapheneOS. So, this one is actually enabled by default. Like I said earlier with secure paste, it's enabled by default because, you know, apps might just be like, "Oh, why can't I see any sensors?" And then they complain about it and a new user may not understand what the problem is.
But, again, that one can be disabled by default for every app that you install. So, again, like I like I've been pointing out, there's a theme here. Look how easy this is. We go to the settings and permissions and disable sensors. And now when I launch the app, then it complains.
It's like, "Oh, no, I can't see the the compass. It's really bad." Right? Now, this this app is actually open source, I believe, if I remember correctly. So, who cares?
But, like with the other ones like Facebook, yeah, that's kind of a big deal. Okay?
Uh we've got a question over there. Can I get one microphone for this gentleman in the white? Hey there. In your personal experience with I assume you're using Graphene, um how often does disabling sensors break the app?
Practically never.
I I I I can only think of like one example. Like photos, right? Like you take away the photos permission Sorry, the the camera apps sensor permission. And then you you like take a picture like this in a portrait mode, it's going to be a portrait mode. And you turn it like that, then it's going to be in landscape mode on most devices.
But if you take away the sensors app permission, then it kind of just decides which one it likes more and it always stays that way on GrapheneOS depending on the camera. It might just default to to portrait mode.
More questions. We have Wow, that's funny.
One again, then.
Okay. Why not just fake sensor data in some cases? Like for pure you just always point north or something like that.
That's exactly what it does. I think it just feeds zeros. I'm pretty sure like it's
There he gets the air, so
Yeah, I I don't know. I think it I think it depends on which sensor it is. But like I've looked at the code for that and it's kind of like case thing. It's like, oh, if you have that, then grant this. If you have this permission, then grant that.
And this one it's just like if sensors permission is off, then it just kind of like falls through and it's just like nothing. So maybe maybe maybe you're right.
Because like I think pretty much every single app does not expect as a gyroscope to fail because every single phone has a gyroscope. But a magnetic field is one of these that like might fail. That's why we give fail addresses. Yeah.
Right. May maybe maybe some return zeros or something just a default like like you said like true like just north in this case. I don't
Can can you click okay and just show that it actually works?
if I just hit okay, then it just stays at north.
It just always stays like north.
Right. So I can just do whatever.
And one more question from from over there.
Yes.
I don't know.
Same question.
And the gentleman over here also had
Ah.
Thank you.
No, it's it's it's all right. It's all right. It's all right. We have time for questions. So, let's next task turning off the USB-C.
Yes. We have so many people. Yes. [snorts] Yes. Yes.
Yes. Yes. Should I give this to you Rohan, you say, right? Yes, please, please, please, please. Uh you can use the uh to check the tested.
You can use the charger and we have the charging stick or cord.
Oh, again, there's like people are sitting like right next to each other. You want to like paper, scissors, stone or like uh fight each other? No, these guys are so nice. No, you go. No, you go.
You're closer to me. Here you go.
[laughter]
Once you do it,
Again, the password is 1 2 3 4 5 6 on these devices.
Oh, this one I think you need to, sorry. Mhm, you you see. Here you
Um a hint, actually these two devices were set up differently. This This is a global setting. So, uh because it's a global setting, then you need to switch to the owner profile to make that change. So, uh here I just have to go to owner. One of them has it, one of them doesn't.
So, uh that's that's exciting. Now, the USB-C setting is very, very, very important. Actually. So, we'll see what people what happens here. Oh.
Right here. Yeah, make it so it can't charge. That's that's the That's the task. The the super duper secure one that it can't even charge. So, uh while they're while they're testing this one, this this setting is super important because uh a lot of uh forensics companies would use the USB uh port uh to as a as an a way to get into the device, right?
Uh I'm sure you've seen uh the news. Uh if you plug in a uh a device at an airport, then it might be like a a fake uh you know, one of those plug things, I don't know what you call them, and it has like something malicious in it where it'll try to hack the device and uh maybe steal your data or install some rootkit or whatever, um which is obviously more difficult on GrapheneOS because of all the hardening, but uh it is it is a a problem. So, like a company like uh Cellebrite or GrayKey, they usually will exploit this kind of uh driver to get into the device. Um we have questions.
Yes, uh let's get some microphones here. We'll go with the gentleman at the back and then we'll move to you. Yep.
Yeah, um what kind of support does GrapheneOS have for like MDM systems? If I want to centrally control this for all my company devices.
It's a very good question and I don't have one for you because uh that's that's a thing that would be really cool to have, but we have not really uh worked on that kind of thing yet. You you you're saying MDM, right?
Yeah, yeah, yeah.
MDM, yeah, yeah, yeah, yeah. That that would that would obviously be really really cool for
an MDM for Linux? And just use that.
Um I'm sorry, I I don't really know uh how much support we have for that. I know that there are apps that work with GrapheneOS and some that don't because some rely on Google Play services and some because on GrapheneOS uh Google Play services doesn't have the privileged access for that to work, but like another one like I believe Microsoft has uh some app that works uh with that. Yeah, um I I don't know if these settings can be set with an MDM right now, but if we were to ever add that, which would be really really cool. I'll just say it that way. It'd be really really cool um because obviously it would be nice for companies to uh have that option right now.
Or sorry, because like right now it it just be like uh you know, unmanaged fleet and that's not great, right? So, uh Let Let me Let me just say it we are aware
right? Same questions for an EDR. Do you guys have any EDR support?
I'm sorry, I'm not familiar
CrowdStrike Falcon in the phone.
What's EDR?
Yeah, I'm not
Like an antivirus or something.
Oh, oh, no, no, no, we
Endpoint detection.
This kind of thing is not necessary because of all the sandboxing. And even if you install an antivirus program, then what is it going to do? You know what I mean? So, like one of the points of GrapheneOS is to try to like harden it so that uh it's protected against unknown vulnerabilities as well. So, it's like what all these uh I mean, if I go back that's what all these uh memory tagging and uh harden Malik and uh secure up small well, secure up small is actually that native code debugging.
These things are all to harden the device against uh that kind of right? Nonsense, basically.
Thank you.
Cool. Can you pass the mic yep to the front and the guy in the colorful green shirt with tigers. Go ahead.
Uh so, of course, like on standard Android, you can't turn off charging, right? But, like if I wanted to play on a with ADB on my computer controlling my phone, like you have to manually turn on USB debugging no matter if it's GrapheneOS standard Android, right? You have to do that first.
I don't think you need to enable USB debugging. It should just work. I've never enabled it for
But, that's not my experience on standard Android or on GrapheneOS. You have to enable it manually and then on top of that, you still have to say like I accept this MAC address to control my phone. But, anyway, so to to my eyes, it seems like there is all this already standard in Android. So, what is this extra feature protecting from? Are you saying like there are actual features available for the manufacturers to get into your phone via USB-C or you saying that there are exploits that we may not know about and this feature protects against those even?
Yeah.
Amazing question. And so, I'd like to answer this one. Uh the difference between what a software protection here is would be from what this provides. You know, this was this one is on the hardware level. We disable uh when we set it to off the USB-C is turned off at the hardware level.
Like it's there's no way to send some sort of malicious package to like circumvent this because like it will just it's just disconnected. Like physically disconnected.
Yeah, I know that's great feature.
Right.
Thank you. Great questions by the way. Can you pass the mic back to him? Okay, let's continue.
yeah, and also some people pointed out in the community like oh, by the way GrapheneOS people Android already has this feature. Um No, not really. There there's another feature. I don't again, like I said, I'm not one of the developer we're not one of the We're not among the developer team. Now there there's two of us.
So like that HAL or how whatever I don't know. I always read these things on how to say them. Um that one is not as complete. So if there's a an exploit in the operating system somehow then that one can still be exploited. This one like Hulk is saying it's at the hardware level.
So it works way better than the one that's already available in some Android operating systems. So yeah, like for example like Cellebrite they they used to be able to get into GrapheneOS like a long long time ago and then we we had a whole bunch of fixes and one of them was a former update that we notified Google about. There's some some issue with like dumping memory and we updated them about that. They fixed that problem. There's another one about um deleting everything without restart and then also around the same time we added this feature and around that time Cellebrite was just like yeah, we can't get into GrapheneOS anymore.
So this I don't know because we don't we don't have like spies at Cellebrite. But like this could very well be one of the reasons why GrapheneOS is not vulnerable to Cellebrite is this setting, right? And I believe the default yeah, the default is charging only when locked. So like if the screen is locked then you can charge the device. If the device is unlocked, then you can still charge it, but also access data.
So, people with crazy threat models might want to change it to charging only, or they might want to change it to off. So, off, obviously, you can't even charge the device. Just in case there's this like crazy crazy exploit that somehow uses like electricity at that very very very very low level, you have that option on GrapheneOS. And additionally, on the Pixel Tablet, this setting also applies to the pogo like things on the back. So, yeah, if you if you want to do, you could turn this completely off and then just do wireless charging all the time.
Now, I'm not going to change this because this is our like, you know, big demo phone. If I change that, then it'll just stop working.
So, let's continue to memory tagging, right? So, this one is a task where it's pretty just like play around with the memory tagging. We have a We have an app for that. Who wants to play around with the memory tagging? Let's see.
Yeah. Yes, I I see some hands over there. And Andrew, could you please also distribute the phone? Right.
I keep losing track of the phone. Oh, is it this one? Thank you. This one's here. You're like right [laughter] there.
So, while people are playing around with it, could you please just showcase that app because it's essentially we're just playing around with it. This is pretty easy. Yeah, it's pretty easy.
Where did that go?
Sanitizer.
All right, so this one is less about privacy and more about the security stuff. This is a big one. This I believe this app was made by Google to test the the memory tagging extension on arm, which GrapheneOS has enabled. I think I I forget the details again. The OS has it enabled, uh but it's disabled by default for apps because, you know, there there are sometimes a lot of apps that just uh crash too too easily with MTE because they're just really bad at programming, I guess.
I don't know. Um but like uh you can see that MTE will uh catch these kinds of memory bugs. So, uh all of these uh some of them don't actually work. But uh most of these, like you tap on one of these, uh it just tries like a use after free, and then what happens? It crashes.
Uh I have to find the thing again. Where'd you go? Here we go. Use after free. Double free.
Does that Yep, there we go. Crashes. So, on the stock operating system, all of these things usually won't be caught until like things just get so corrupted, if it happens, if they get so corrupted that the app just starts crashing, but on GrapheneOS, uh you can enable MTE, and uh it'll it'll just it'll just happen like that. Um things will just crash. And uh an annoying thing about this app, we wanted to use this to like demo how cool you can like turn it on and off, but this app opts into MTE.
That's not very common, um but it's a demo app. Uh so, I can't actually turn off MTE, um but uh we do have access to a Pixel 6 that doesn't have MTE on it, but has uh GrapheneOS's uh normal hardened memory allocator, and uh a lot of these aren't aren't actually crashing the device uh when you use this uh button.
Andrew, one quick question.
Um does this come with uh significant performance overhead that you could maybe notice over time when the device edges or whatever?
Not that I know of.
Oh, that's a very good question, and uh
This is This is like a hardware a hardware feature. It's built into the processor, basically. So, um this shouldn't affect anything.
It depends on which mode it opts into. Can be in in mode. Synchronized mode means it would do the checks during or while the program is running together with it. That's why it's synchronized. So, it's a little bit noticeable.
We're talking about like one or two instructions more per like check. Uh more per data access.
Yeah, I forgot it.
And then uh in async mode, they are async, you the checks are separately done on a separate time and the data is flowing on a separate and so in async mode it's essentially I'm not slow at all, which is the default one by the way. So, and it does take a little bit of more memory, more RAM. But again again, like we're talking we're running on flagship Android devices and uh you you have more than enough resources for all that. Thank you for the question.
I'm I've never really had any problems with it. There there there is one that does uh cost a little bit more memory, but uh the developing the the developer team uh there there was an upstream bug a while back with uh some memory issues uh caused by Google, not us. And uh when they were troubleshooting that uh they found that there there ways to reduce uh memory for uh another one of the big features called secure app spawning. Uh but secure app spawning is more of a uh security or sorry, privacy feature that isn't very exciting. We can't really demo it very well to you guys, so we didn't bother.
I have one more question.
Last question. Last question in the front, then you guys can just wrap up. Last few words, okay?
Hey, yeah. Thanks for the session. Um just uh as community managers, can you just give us a quick overview of how contributing to GrapheneOS uh project looks like and how easy is it to get your changes merged upstream and things like that?
Okay, that that that's like uh a difficult one to explain very quickly. Uh I would say uh our team is small. We uh operate entirely on donations. Uh so, you you a small team, not a lot of money. Um so, when people submit change it or submit PRs to the repos, then the developers need to review them.
And also, the developers need to know whether this approach would be good for us to implement, right? So, every time there's a big update to Android, um like graphene OS changes are sitting on top, and then every time there's a big update, we like copy those changes, and then and then there's an update, and then we put them back. And if there's conflicts, then they have to work through all of those. So, the developers need to understand all the Well, I mean, of course they understand the change. They need to be familiar with all the changes and why they were made and all that stuff.
So, uh typically, uh that that goes with priorities. So, like smaller changes would be more likely to be accepted if they make sense and follow the development guidelines and all that. Uh but yeah, um we do get a lot of contributions and our developers are pretty swamped, especially with all that AI slop, right? So, uh yeah. Best thing is to [snorts] ask in the issue tracker if contribution would be accepted.
First.
All right. So, just to wrap up just to wrap up, thank you very much, everyone. We have just one last task that you can try, which is to destroy the data. We have a feature called the duress pin, which or duress password, which is a very interesting one that can get you in trouble, but please be very mindful about using it, all right? So, the task would be to Well, to get the phone and to find the setting for it, set it up and turn it on.
You can do it. Yes, please. And then you've been up for very long time, right? Yes, let me Let me please pass it to you as well. And that would be really good.
No, you you keep this. This Yes. So, yes, you can you can do that. and while that's happening, of course, we're probably not going to showcase it on the screen, right? Or will we?
I don't know.
[clears throat]
Can we? I don't know if uh if its owner is still here. Can we? Can we Can we run the duress password?
Oh, no, we shouldn't. We We We can show how to do it. We can show how to do it.
see I don't see anyone saying Okay, so the device's true owner isn't here. I don't know if they want us to run this. But uh yeah, you basically go to the device unlock, you go to uh duress password. Um this password is uh four zeros again. And then you basically just add it.
Uh because there's support for both uh passwords and uh PINs. Um we also have our two-factor fingerprint authentication feature. So, like, use your fingerprint and then it asks for a password afterwards. So, if you're being uh compelled to use your fingerprint, for example, then they can't compel you to use your PIN in some in some countries. Um so, we have both.
You have to add both. And uh after you add that, if you're ever prompted for your uh user account's uh PIN or password, then it just wipes the device like immediately. Uh within milliseconds. There are three different things that are deleted and it's irreversible. Uh some guy uh in the United States uh tried that at a border crossing and uh he's been charged.
Uh Yep. Yep, he's been charged. Uh we argue [clears throat] it's not really necessary, but uh yeah, that's what happened.
Interesting.
So, uh now, I know you're a little tired, so
Yeah, so feel free to come close to us to talk more. We're going to be uh open to more questions. And then, of course, everyone who has a ticket uh gets a priority on the t-shirts. And those who don't have tickets might still get until the supplies last, you know? So.
[music]
Automatic transcript — names and jargon may be misspelled.