> For the complete documentation index, see [llms.txt](https://docs.cooku222.kr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cooku222.kr/security/mobile/beetlebug/beetlebug-unprotected-activity.md).

# \[BeetleBug] Unprotected Activity

문제 출처 : [hafiz-ng/Beetlebug: Beetlebug is an open source insecure Android application with CTF challenges built for Android Penetration Testers and Bug Bounty hunters.](https://github.com/hafiz-ng/Beetlebug?tab=readme-ov-file)

***

***

#### Vulnerable Android IPC Components (Broadcast Receivers, Services & Content Providers)

Unprotected Activity

<figure><img src="https://blog.kakaocdn.net/dna/cEFKfr/btsNV6lzUUJ/AAAAAAAAAAAAAAAAAAAAAM9G7qvJTr1YVEIqmn9k1k7PKcb2P8fzss6b6ioDsJTU/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=ETIszafOUo5XkLS71khfZMTXs8k%3D" alt="" height="780" width="432"><figcaption></figcaption></figure>

&#x20;

AndroidManifest.xml 들어가면 administrator 설정되어있는걸 볼 수 있고,

```
<activity
            android:name="app.beetlebug.ctf.b33tleAdministrator"
            android:exported="true"/>
        <activity
```

adb가 자동 실행되지 않아 절대경로로 나온 주소를 실행 후 관리자 권한으로 플래그를 구할 수 있다.

```
C:\Users\after\AppData\Local\Android\Sdk\platform-tools\adb.exe shell am start -n app.beetlebug/.ctf.b33tleAdministrator
```

<figure><img src="https://blog.kakaocdn.net/dna/LVfTJ/btsNXTkHTjN/AAAAAAAAAAAAAAAAAAAAANOjtfEXolCK5iDu9pJdDpir3eM16MIBwURbvAM0B7Um/img.png?credential=yqXZFxpELC7KVnFOS48ylbz2pIh7yKj8&#x26;expires=1782831599&#x26;allow_ip=&#x26;allow_referer=&#x26;signature=b8MeBpQ8uWTGnCUMQLEn93MEiaM%3D" alt="" height="812" width="433"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cooku222.kr/security/mobile/beetlebug/beetlebug-unprotected-activity.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
