Skip to content

About

Fason is a multifunctional Android - Remote Access Trojan

Resources

Stars

0 stars

Watchers

0 watching

Forks

Β 
Β 

Latest commit

Β 

History

41 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

FasonRat Logo

Version 3.0.1 Android 10+ Node.js 22+ Fastify 5 Java 17 React 19 MIT License Telegram

Typing SVG


✨ Features

πŸ“± Device Management

  • Device Info β€” Model, brand, Android version, battery, memory, storage, network, screen
  • Real-time Connection β€” Socket.IO based live communication with auto-reconnect
  • Multi-device Support β€” Manage unlimited devices from single dashboard
  • IP Geolocation β€” Country and city detection for connected devices

πŸ“‘ Remote Access

  • πŸ“± SMS β€” Read inbox/sent messages, send SMS, view conversations
  • πŸ“ž Call Logs β€” View call history with timestamps and duration
  • πŸ‘₯ Contacts β€” Access device contacts
  • πŸ“ GPS Location β€” Real-time tracking with configurable polling interval
  • πŸ“‚ File Manager β€” Browse storage, download files (chunked transfer)
  • πŸ“· Camera β€” Capture photos from front/back camera
  • 🎀 Microphone β€” Record audio remotely with custom duration
  • πŸ“‹ Clipboard β€” Monitor clipboard content in real-time
  • πŸ”” Notifications β€” Capture and view all device notifications
  • πŸ“Ά WiFi Scanner β€” Scan nearby WiFi networks with signal details
  • πŸ“¦ Installed Apps β€” List all installed applications with package info
  • πŸ” Permissions β€” View granted/denied permissions, prompt for missing ones
  • πŸ”§ App Visibility β€” Hide/show app from device launcher

⚑ Background Resilience

  • πŸ”„ Auto Boot β€” Starts automatically on device boot
  • πŸ›‘οΈ Watchdog β€” Keeps service alive via TIME_TICK monitoring
  • πŸ“‘ Auto Reconnect β€” Reconnects on network change with backoff
  • πŸ”‹ Wake Lock β€” Ensures reliable background operation
  • ⏰ WorkManager β€” KeepAliveWorker periodic job as fallback
  • πŸ‘» Stealth Notification β€” Minimal foreground notification with VISIBILITY_SECRET

πŸ› οΈ APK Builder

  • Customize server URL, app name, icon, and home page URL
  • Auto-signed APK via uber-apk-signer

πŸ–₯️ Web Dashboard

  • Dashboard β€” Real-time stats, online/offline counts, system uptime, memory usage
  • Devices β€” Browse all connected devices with search and filter
  • Builder β€” Build customized APK from the web interface
  • Users β€” Role-based access (admin/user) with granular permissions
  • Settings β€” Manage profile and password
  • Logs β€” System event log with filtering and search
  • Dark/Light Theme β€” System-aware toggle with persistent preference

πŸ” Security

  • JWT session auth with HTTP-only cookies, 24-hour expiry
  • Per-IP rate limiting (default: 100 req/min)
  • IP-based login lockout after 5 failed attempts
  • Role-based access control with 25 granular permissions
  • Global error handler prevents stack trace leaks in production

πŸ–₯️ Screenshots
Login Dashboard
Devices Users
APK Builder Settings
Activity Logs

πŸ—οΈ Architecture
FasonRat/
β”œβ”€β”€ fason/              Android client (Java 17, Socket.IO)
β”œβ”€β”€ backend/            Node.js server (Fastify 5, SQLite, Socket.IO)
β”œβ”€β”€ frontend/           React dashboard (React 19, Vite 8, Tailwind CSS 4)
└── docker/             Dockerfile + docker-compose.yml
Layer Stack Port
Android Java 17, SDK 35, Socket.IO, CameraX, WorkManager β€”
Backend Node.js 22, Fastify 5, SQLite, Drizzle ORM 32766
Frontend React 19, Vite 8, Tailwind CSS 4, shadcn/ui, Zustand 5173 (dev)

πŸš€ Getting Started

Requirements

Component Requirement
Server Node.js 22+, npm, Java 17 JRE (for APK builder)
Android minSdk 29 (Android 10), targetSdk 35, Java 17

Docker (Recommended)

docker run -d \
  --name fasonrat \
  -p 32766:32766 \
  -v fasonrat-data:/app/backend/data \
  fahimahamed/fasonrat:latest

Or with Docker Compose:

git clone https://github.com/fahimahamed1/FasonRat.git
cd FasonRat
docker compose -f docker/docker-compose.yml up -d

CLI Start

git clone https://github.com/fahimahamed1/FasonRat.git
cd FasonRat
npm install
npm run db:push
npm run build
npm start

Access dashboard at http://localhost:32766

πŸ” Default Credentials: Username: admin / Password: fasonrat

Development

npm run dev:backend    # Hot-reload via tsx watch
npm run dev:frontend   # Vite dev server with HMR
npm run dev            # Start both concurrently

Build APK

Option A: Web Builder (Recommended)

  1. Open dashboard β†’ Builder
  2. Enter server URL (e.g., http://192.168.1.100:32766)
  3. Set custom app name, icon, and home page URL
  4. Click Build APK β†’ Download signed Fason.apk

Option B: Gradle

cd fason
./gradlew assembleDebug    # Debug build (~6.4 MB, ARM-only)
./gradlew assembleRelease  # Release build (requires keystore env vars)

βš™οΈ Configuration

Environment Variables

Variable Default Description
PORT 32766 Server listen port
NODE_ENV production Node.js environment
JWT_SECRET auto-generated UUID JWT signing secret
LOG_LEVEL info Logging level

Database

SQLite via better-sqlite3 with Drizzle ORM. Auto-created at backend/data/fasonrat.db on first run.

npm run db:generate   # Generate migration SQL
npm run db:migrate    # Run migrations
npm run db:push       # Push schema directly
npm run db:studio     # Open Drizzle Studio

πŸ›‘οΈ Security Notes

⚠️ This tool is intended for:

  • Personal device management
  • Parental control (with consent)
  • Enterprise device management
  • Educational and research purposes

Do NOT use for:

  • Unauthorized device access
  • Surveillance without consent
  • Any illegal activities

Always ensure proper authorization before installing on any device.


πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


πŸ‘¨β€πŸ’» Author

Fahim Ahamed

GitHub


⭐ Support

If you find this project useful, please consider giving it a star! 🌟 Contributions, issues, and ideas are welcome.

πŸ’¬ Community

Join the FasonRat community on Telegram for discussions, updates, and support:

Telegram


About

Fason is a multifunctional Android - Remote Access Trojan

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages