Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I brick the Android emulator?

I'm working on a master's thesis and want to demonstrate how bad a malicious application can be. I'm looking for a pre-installed application on the application on the android emulator or an application that has "brick" permission on the device. Rather than bricking my device, I would much prefer bricking the emulator instead!

PS: My device is a samsung galaxy i7500 just in case.

EDIT: Please do care to leave a comment as to why this question might annoy you (I promise not to serial downvote you)! I understand the topic may seem "very suspicious", but then I would not be linking myself publically to something that may be malicious in nature and I intend to pull off! Thanks for your consideration.

like image 291
Shouvik Avatar asked Feb 04 '23 03:02

Shouvik


1 Answers

You won't find any apps on the Android Market that do this. Just try the code for yourself:

Not granting permission android.permission.BRICK to package com.example.app (protectionLevel=2 flags=0x4444)

Only applications with the same signature as the system can use the BRICK permission (protectionLevel=2).

You'd need to build the Android platform yourself in order to attempt this.

See also BrickReceiver for an example of how it supposedly should work.

like image 95
Christopher Orr Avatar answered Feb 06 '23 16:02

Christopher Orr