Skip to content
View mr-coder20's full-sized avatar
💭
💔
💭
💔

Block or report mr-coder20

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
mr-coder20/README.md
header

typing




root@mr-coder20:~# cat /etc/profile

user:        Amirhossein Ghafari
alias:       mr-coder20
shell:       /bin/zsh
roles:
  - SOC Analyst          # monitoring · triage · IOC enrichment · incident response
  - Penetration Tester   # network · web · API · Android
  - Purple Teamer        # emulate attacks → validate detections → close gaps
  - Bug Bounty Hunter    # recon → exploit → report
  - Android Developer    # Kotlin · Compose · KMP
specialty:   Mobile AppSec · Auth & JWT attacks · API access-control flaws · Frida runtime hooking
education:   B.Sc. Software Engineering (Rajaei Technical College, Kashan)
mindset:     "Think like an attacker. Work like a defender. Report like a professional."
status:      ONLINE // ZERO-TRUST ENFORCED // 127.0.0.1

🔴 ./kill_chain.sh — How I Hunt

 ┌──────────┐   ┌──────────────┐   ┌────────────────┐   ┌─────────────┐   ┌──────────┐   ┌──────────┐
 │ 🔎 RECON │ → │ 📡 ENUMERATE │ → │ 🧪 VULN ANALYSIS│ → │ 💥 EXPLOIT  │ → │ 🧬 IMPACT│ → │ 📝 REPORT│
 └──────────┘   └──────────────┘   └────────────────┘   └─────────────┘   └──────────┘   └──────────┘
  subdomains     Nmap · endpoints   OWASP · logic ·      Frida · Burp ·    PoC · data     steps ·
  ports · tech   APK · traffic      auth flaws           JWT attacks       exposure       severity · fix

🔵 ./soc_playbook.sh — How I Defend

 ┌──────────┐   ┌──────────┐   ┌───────────┐   ┌───────────┐   ┌─────────────┐   ┌────────────┐
 │ 🚨 ALERT │ → │ 🧭 TRIAGE│ → │ 🧪 ENRICH │ → │ 🔒 CONTAIN│ → │ 🧹 ERADICATE│ → │ 📚 DOCUMENT│
 └──────────┘   └──────────┘   └───────────┘   └───────────┘   └─────────────┘   └────────────┘
  SIEM · IDS     true / false   VirusTotal ·     isolate · block  root cause ·     timeline · IOCs
  EDR            positive       AbuseIPDB · OTX  revoke tokens    patch            lessons learned

🟣 ./purple_team.sh — Where Attack Meets Detection

        ┌───────────────────────────────────────────────────────────┐
        │                    🟣  PURPLE TEAM LOOP                    │
        └───────────────────────────────────────────────────────────┘

   🔴 EMULATE ──► 🔵 DETECT ──► 🔍 FIND THE GAP ──► 🛠️ TUNE & FIX ──► ♻️ RE-TEST
        ▲                                                                  │
        └──────────────────────────────────────────────────────────────────┘

I run the attack, check whether the SOC would actually see it, then close the gap.

🔴 Attack (Red) 🔵 Detection signal (Blue) 🟣 Fix (Purple)
Nmap port / service scan One source hitting many ports in a short window Rate-based alert, firewall rule, IOC enrichment
JWT tampering (alg:none, weak secret) Signature-validation failures, odd claims Strict verification, short expiry, key rotation
IDOR / BOLA enumeration Sequential ID access, 200/403 spikes per user Server-side ownership checks, enumeration alert
Credential brute-force Repeated 401s per IP / account Lockout, rate limiting, MFA
Frida hooking / pinning bypass Proxy or hook indicators, abnormal API behaviour Never trust the client: server-side validation, tamper checks
Suspicious IP / domain contact Match against threat-intel feeds Auto-enrichment with IOC Lens, blocklist update

⚔️ Offensive & Defensive Capability Matrix

Domain Skills & Techniques
🔴 Mobile Pentest Frida hooking SSL pinning bypass APK reverse engineering Insecure storage WebView abuse Token extraction OWASP Mobile Top 10
🔴 API / Web Pentest JWT attacks IDOR / BOLA Broken auth & access control Input validation flaws Burp Suite Traffic analysis WordPress auditing
🔴 Network Pentest Nmap recon Service & port enumeration Windows server misconfigs Wireshark VLAN / firewall review
🔵 SOC / Blue Team SIEM log analysis Alert triage IOC enrichment Incident response Threat hunting MITRE ATT&CK mapping Reporting & timelines
🟣 Purple Team Attack emulation Detection validation Gap analysis Alert tuning MITRE ATT&CK mapping Red↔Blue reporting
🟣 Secure Engineering Anti-ZipSlip Secure WebView Least-privilege permissions Privacy-first design Safe token storage
🟢 Infra Linux MikroTik (MTCNA) Cisco VLAN Windows Server / AD / DHCP VMware ESXi Docker

🧰 Toolbox

tools

Burp Suite · Frida · jadx · apktool · MobSF · Nmap · Wireshark · Postman · Python AsyncIO · Go CLI


🧬 MITRE ATT&CK — Where I Operate

 RECONNAISSANCE ──── Active scanning · Gather victim host/network info
 INITIAL ACCESS ──── Exploit public-facing apps · Valid accounts (weak auth)
 CREDENTIAL ACCESS ─ Unsecured credentials · Token theft · Brute-force detection
 DISCOVERY ───────── Network service scanning · Account & system discovery
 DEFENSE EVASION ─── Pinning bypass · Obfuscation analysis
 EXFILTRATION ────── API data exposure · Insecure storage review
 DETECTION ───────── Log correlation · IOC triage · Alert tuning

🛰️ Open-Source Systems

🛡️ IOC Lens

[BLUE TEAM] Privacy-first threat triage engine Aggregates IOCs from VirusTotal, AbuseIPDB, OTX & URLhaus into a single explainable verdict. Zero telemetry — everything stays on-device.

Kotlin Multiplatform Compose Android iOS Desktop

[RED/BLUE] Layer-7 traffic analysis Measures application-layer resilience under micro-burst HTTP/HTTPS workloads with latency profiling and anomaly detection. Authorized testing only.

Python AsyncIO HTTP/2

[RED TEAM] High-performance recon engine Go-powered probing with adaptive socket timing, concurrent worker pools and structured JSON output at minimal memory cost.

Go Concurrency Networking CLI

[BLUE TEAM] Network forensics & packet analysis Parses PCAP captures to surface suspicious flows, protocol anomalies and IOCs, turning raw traffic into a clear, investigation-ready summary.

PCAP Network Forensics Wireshark Traffic Analysis

📱 15+ open-source projects · Android apps live on Cafe Bazaar & Myket with thousands of real installs · Python tools for crypto, hashing and data processing.


📜 Mission Log

Year Operation Role & Findings
2025 Faragold Android dev + security collaborator — WordPress / WebView security review, config issue reports
2024 Rayan Pardaz Real-time location tracking app, Foreground Services, battery-optimised pipeline
2024 Fresh Sizan Network security assessment — Nmap, Windows service review, remediation report
2023 Snapp 🚕 Mobile security research — login flow, API traffic, JWT & token storage, auth weaknesses, technical reports
2021–22 Delijap Mobile API assessment with Frida + Python — access-control & validation flaws
2021 Saina Co. Windows Server, ESXi, MikroTik firewall/NAT/queues, Cisco VLAN segmentation, traffic monitoring

🎓 Training & Courses

Android Security & Bug Bounty · Web Security & Bug Bounty · Security+ · Network+ · A+ · MTCNA · CCNA · MCSA · LPIC-1 · VMware Virtualization · Android App Development


📺 YouTube Broadcast

┌─────────────────────────────────────────────────────────────────────┐
│  🔴 TECHNICAL TRANSMISSIONS                                         │
│  ◈ SOC OPS        SIEM, triage and incident response walkthroughs   │
│  ◈ MOBILE APPSEC  Frida hooking · JWT attacks · SSL pinning bypass  │
│  ◈ BUG BOUNTY     Recon workflows · report writing                  │
│  ◈ THREAT INTEL   IOC triage automation, privacy-first analysis     │
│  ◈ SYSTEMS ENG    Kotlin KMP internals · Go concurrency             │
└─────────────────────────────────────────────────────────────────────┘

📊 Live Telemetry

stats langs
streak
trophies
activity

🐍 Contribution Snake

snake

▶ DECRYPT — HACKER'S CODE
01. Scope first, exploit second. Authorized targets only.
02. Never trust the client. Validate everything server-side.
03. Tokens are secrets: store, rotate, revoke.
04. Detect fast, contain faster, document everything.
05. Privacy by design: collect nothing you don't need.
06. A finding without a clear fix is only half a report.
07. Responsible disclosure. Always.
🇮🇷 فارسی — درباره من

من امیرحسین غفاری هستم؛ تحلیلگر SOC، تستر نفوذ و باگ‌بانتی‌هانتر با تمرکز ویژه روی امنیت اپلیکیشن‌های موبایل.

  • 🔵 بلو تیم (SOC): تحلیل لاگ و SIEM، تریاژ هشدارها، غنی‌سازی IOC، پاسخ به حادثه و شکار تهدید
  • 🔴 رد تیم: تست نفوذ شبکه، وب، API و اندروید با Frida، Burp Suite، Nmap
  • 🟣 پرپل تیم: شبیه‌سازی حمله، بررسی اینکه SOC آن را می‌بیند یا نه، و بستن شکاف‌های تشخیص
  • 🏆 بانتی: ریکان، پیدا کردن ضعف‌های احراز هویت و کنترل دسترسی (JWT، IDOR) و نوشتن گزارش حرفه‌ای
  • 🤝 تجربه‌ی همکاری در حوزه‌ی امنیت موبایل با اسنپ
  • 📫 تلگرام · پورتفولیو

[✓] ALL SYSTEMS NOMINAL    [✓] ZERO-TRUST ENFORCED    [✓] STAY CURIOUS, STAY ETHICAL
footer

Popular repositories Loading

  1. PortX PortX Public

    "A modern, high-performance, and multi-platform network security toolkit built with Kotlin Multiplatform and Compose."

    Kotlin 25 2

  2. FireScan FireScan Public

    Hybrid port scanner combining 5 engines (Masscan, Nmap, RustScan, Naabu, Pure-Go) with AI Q-Learning for adaptive timing. Zero dependencies, HTML/JSON/CSV reports.

    Go 8 1

  3. L7-Resilience-Scanner L7-Resilience-Scanner Public

    Real-time Layer 7 DDoS detection and HTTP traffic analysis tool designed to identify bot activity, anomalous requests, and application-layer attacks with high accuracy.

    Python 7

  4. InstaExploreJetpack InstaExploreJetpack Public

    A clone of Instagram's explore page built with Jetpack Compose for Android. It displays photos in a responsive grid, handles network connectivity states, and supports infinite scrolling with Lottie…

    Kotlin 5 1

  5. Driving-license-Exam Driving-license-Exam Public

    Kotlin 4

  6. mr-coder20 mr-coder20 Public

    3