Android Spy Camera

Live Hidden Cam

I was researching about Android Malware and their features, compare them. I’ve found that most of them (actually all) do not support live video stream from Android camera, aka Spy Camera, and one that supports live camera, needs an activity. Therefore, I’ve started a hidden spy camera project to live stream video from Android camera to an Rtmp server without activity, named Live Hidden Camera.

Live Hidden Camera in Action

The Idea of Spy Camera

As I’ve told before, the main idea is from lack of live stream libraries. I wanted to know how the Android camera works and how RATs benefits the spy camera. I’ve searched and found a Github repository, containing Android RATs. The only RAT I’ve found with live stream ability was AndroRAT which needs activity for video stream.


What I Did

I found open source libraries which is used for video streaming in Android. They get picture from camera, audio from microphone, encode and sync them, and finally send them to a stream server. The list of opensource video streaming libraries are:

But all the libraries needs a SurfaceView which is graphical element fr displaying camera preview to user. In Android’s security mechanism, camera preview should be displayed to user for capturing from camera. Therefore, I’ve searched for hiding camera preview and I’ve found which exactly do the same, overlays a dummy SurfaceView with size of 1*1. But the library is used for taking pictures, not streaming.

Live Hidden Camera Born

The idea for hidden streaming is found based on Android-Hidden-Camera and Yasea. The main work was merging them, which was a bit annoying. But finally done.

For the aim of streaming server, I’ve used Ant Media Server which has a community edition and is free and opensource forked from Red5. Here is a manual for running the Ant Media Server.

Ant Media Server

The final stage was creating a library for others use. The library and the source code are available in my Github repository.

Happy streaming!

Live Hidden Camera in Action

2 Comments, RSS

  1. مقداد June 4, 2019 @ 16:46

    من یه RAT میخوام که چندین کاربرد داشته باشه و بشه از راه دور بهش فرمان داد. یه رت با قابلیتهای زیاد برای گوشی موبایل . پولشم میدم. البته سورس کدشو میخوام و نمیخوام پاپلیکش کنی

    • Mir Saman June 8, 2019 @ 12:25

      با سلام. متاسفانه این کار مقدور نمی‌باشد. اگر چنین پروژه‌ای را کار کنم، مطمئنا سورسش را منتشر خواهم کرد.

Your email address will not be published. Required fields are marked *