Skip to content

[Question] - Possible false-positive on emulator detection #2065

Closed

Description

@gabcarneiro

Hello guys, first i wanna thank you for all the effort you have been putting on this project, im working on an app that requires resilience against reverse engineering and this project saved my life.

The issue is: im applying an emulator detection on an Android project based on these build.props here.

I noticed that running the app on a Pixel 3 (API 28) from Firebase Test Lab triggers the emulator detection due to value of the prop Build.User beeing android-build.

I get the same behaviour running the app on some devices from AWS Device Farm, tested with the following devices:

  • Pixel 3 (API 28)
  • Pixel 3 (API 29)
  • Pixel 4 (API 29)
  • Pixel 5 (API 31)

All of them have the value of the property Build.USER as android-build.

Unfortunately i couldnt get my hands on any "real physical device" from this list and test it.

Can we realy relly on this build.prop?
Is there any chance that devices from Firebase Test Lab or AWS Device Farm would behave differenlty than a common physical device?

Thanks in advance

Activity

  1. locked and limited conversation to collaborators on Feb 17, 2022
  2. converted this issue into a discussion #2066 on Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions