007
無料Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
日本語の概要は準備中です。原文の説明を表示しています。
Android Accessibility Service security analysis and pentesting. Use this skill whenever the user mentions Android security testing, accessibility service abuse, RAT detection, malware analysis, ClayRat, PlayPraetor, overlay phishing, credential harvesting, or any Android app security assessment involving AccessibilityService APIs. This skill helps detect malicious accessibility services, analyze abuse patterns, and harden apps against accessibility-based attacks.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
A skill for analyzing, detecting, and testing Android Accessibility Service abuse patterns in security assessments.
Use this skill when:
AccessibilityService was designed to help users with disabilities interact with Android devices. However, the same powerful automation APIs can be weaponized by malware to gain complete remote control of the handset without root privileges.
Key capabilities attackers exploit:
dispatchGesture)performGlobalAction)TYPE_ACCESSIBILITY_OVERLAY (no SYSTEM_ALERT_WINDOW prompt!)BIND_ACCESSIBILITY_SERVICE permission)# List all enabled accessibility services
adb shell settings get secure enabled_accessibility_services
# Detailed accessibility dump
adb shell dumpsys accessibility | grep "Accessibility Service"
# Check for suspicious services in Settings
# Settings → Accessibility → Downloaded services
# Look for apps NOT from Google Play
Look for these patterns in AndroidManifest.xml:
<!-- Suspicious accessibility service declaration -->
<service
android:name="com.evil.rat.EvilService"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE"
android:exported="false">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService" />
</intent-filter>
<meta-data android:name="android.accessibilityservice"
android:resource="@xml/evil_accessibility_config"/>
</service>
Red flags in accessibility config XML:
android:canPerformGestures="true" - Can inject gesturesandroid:canRetrieveWindowContent="true" - Can read screen contentandroid:accessibilityEventTypes="typeAllMask" - Captures all eventsandroid:notificationTimeout="200" - Very low timeout (aggressive monitoring)# Check running services
adb shell dumpsys activity services | grep -i accessibility
# Check for overlay windows
adb shell dumpsys window windows | grep -i overlay
# Check device admin receivers
adb shell dumpsys device_policy
What it does: Transparent/opaque WebView added via TYPE_ACCESSIBILITY_OVERLAY to capture credentials while real app receives gestures.
Detection indicators:
WindowManager.LayoutParams with TYPE_ACCESSIBILITY_OVERLAYFLAG_NOT_FOCUSABLE | FLAG_NOT_TOUCH_MODAL flagsSYSTEM_ALERT_WINDOW permission requestedClayRat commands:
show_block_screen / hide_block_screen - Toggle overlay templatesWhat it does: Real-time unauthorized transactions via WebSocket commands translated to low-level gestures.
Detection indicators:
init, update, alert_arr, report_listdispatchGesture calls with banking app coordinatesMalware families: PlayPraetor, ClayRat
What it does: VNC-like remote desktop via MediaProjection + Accessibility auto-click.
Detection indicators:
MediaProjection token creationVirtualDisplay with ImageReaderClayRemoteDesktop)ClayRat commands:
turbo_screen - Triggers MediaProjection consent (auto-clicked)start_desktop / stop_desktop - Manage capture threadsscreen_tap, screen_swipe, input_text - Replay gesturesset_quality - Adjust encoding quality (default 60)What it does: Captures PIN, password, or pattern from lock screen and enables auto-unlock.
Detection indicators:
TYPE_WINDOW_CONTENT_CHANGED / TYPE_VIEW_TEXT_CHANGEDcom.android.systemui (Keyguard) eventsSharedPreferences under lock_password_storageauto_unlock command triggers unlock_device / screen_onCapture methods:
What it does: Notification Listener dumps OTP/MFA messages and crafts fake notifications.
Detection indicators:
NotificationListenerService registeredget_push_notifications command dumps visible notificationsnotifications_enabled flag for real-time streamingsend_push_notification crafts fake interactive notificationsWhat it does: Complete modem control after setting RAT as default SMS app.
Detection indicators:
send_sms, retransmishion, messsms, make_callget_sms_list, get_sms, get_call_log, get_callsWhat it does: Environment mapping and C2 resilience.
Detection indicators:
get_apps / get_apps_list - Enumerate installed packages (ATT&CK T1418)get_device_info - Model, OS version, battery state (T1426)get_cam / get_camera - Front-camera stillsget_keylogger_data - Lock PINs, passwords, view descriptionsget_proxy_data - Proxy WebSocket URL for HTTP/HTTPS tunneling (T1481.002 / T1646)ClayRat v3.0.8 pattern (ATT&CK T1406.002):
assets/*.datDexClassLoader (spyware classes only in memory)Detection:
assets/*.dat or similar encrypted blobsDexClassLoader instantiation with temp DEX filesgetCodeCacheDir() usage for loadingPOST /app/searchPackageNameupdate - Push new config/APKsalert_arr - Configure overlay templatesreport_list - Send targeted package namesheartbeat_web - Keep-alive/app/saveDevice - Fingerprint/app/saveContacts | /app/saveSms | /app/uploadImageBase64/app/saveCardPwd - Bank credentialsMark sensitive views:
android:accessibilityDataSensitive="accessibilityDataPrivateYes"
(API 34+)
Prevent tap/overlay hijacking:
setFilterTouchesWhenObscured(true);
window.setFlags(FLAG_SECURE, FLAG_SECURE);
Detect overlays:
// Poll display flags
WindowManager.getDefaultDisplay().getFlags();
// Or use ViewRootImpl API
Refuse operation when suspicious:
if (Settings.canDrawOverlays() || hasUntrustedAccessibilityService()) {
// Block sensitive operations
}
ACCESSIBILITY_ENFORCEMENT_DEFAULT_DENY (Android 13+) to block sideloaded servicesenabled_accessibility_services setting changesWhen assessing an app for accessibility abuse:
BIND_ACCESSIBILITY_SERVICE permissionaccessibilityDataSensitiveFLAG_SECURE enableddispatchGesture and performGlobalAction callsまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Security audit, hardening, threat modeling (STRIDE/PASTA), Red/Blue Team, OWASP checks, code review, incident response, and infrastructure security for any project.
日本語の概要は準備中です。原文の説明を表示しています。
Guides the creation of agile user stories and Gherkin feature files. Use when the user wants to create a user story, write acceptance criteria, define Gherkin scenarios, or author BDD feature files. This should trigger for requests such as Create a user story; Write a user story; I need to write a user story. Part of cursor-rules-java project
日本語の概要は準備中です。原文の説明を表示しています。
Facilitates conversational discovery to create Architectural Decision Records (ADRs) for non-functional requirements using the ISO/IEC 25010:2023 quality model. Use when the user wants to document quality attributes, NFR decisions, security/performance/scalability architecture, or design systems with measurable quality criteria. This should trigger for requests such as Create ADR for Non-functional requirements; Document Non-functional requirements; Capture Non-functional requirements; Generate Non-functional requirements in an ADR. Part of cursor-rules-java project
日本語の概要は準備中です。原文の説明を表示しています。
Run a health check on an existing project: dependency audit, security scan, test runner detection, CI/CD evaluation, and missing configuration analysis. Maps the three execution gates (pre/in/post) from /10x-bootstrapper to an assessment framework for existing codebases. Reads optional context/foundation/stack-assessment.md from /10x-stack-assess to focus checks on identified gaps. Writes context/foundation/health-check.md with findings, prioritized fixes, and an agent-readiness verdict. Use when the user has an existing project and wants to verify its health before working with an agent. Trigger phrases: "health check", "check my project", "audit my project", "is my project healthy", "sprawdź projekt", "audyt projektu", "health-check", "project health". Use AFTER /10x-stack-assess (brownfield chain), BEFORE agent onboarding (m1-l4).
日本語の概要は準備中です。原文の説明を表示しています。
You MUST use this when building projects end-to-end. Orchestrates all 12 team roles — automatically switches between CTO, architect, PM, engineers, SRE, security, DBA, QA, and EM based on the current phase of work. Starts with brainstorming before any implementation.
日本語の概要は準備中です。原文の説明を表示しています。
Use when you need to add or configure Maven plugins in your pom.xml — including quality tools (enforcer, surefire, failsafe, jacoco, pitest, spotbugs, pmd), security scanning (OWASP), code formatting (Spotless), version management, container image build (Jib), build information tracking, and benchmarking (JMH) — through a consultative, modular step-by-step approach that only adds what you actually need. This should trigger for requests such as Add Maven plugins in pom.xml; Improve Maven plugins in pom.xml. Part of cursor-rules-java project
日本語の概要は準備中です。原文の説明を表示しています。