/cifra

Urban.Tech Moscow — Cifra Security Analysis

Primary LanguageJava

Urban.Tech Moscow — VTB Cifra

Mobile Application Security Testing — SEQ.SCIENCE

Team:

  1. Nils Putnins, Captain, Security Research
  2. Einars Anspoks, Communication
  3. Alisher Urunov, Security Research

Resources:

Roadmap:

Sunday, October 29, 2019:

  1. Communication with the client, basic information gathering.
  2. Decompilation of the APK (1.4.546) and static analysis.

Saturday, 30 November, 2019:

  1. Gathering OSINT information.
  2. In-depth application analysis.

Sunday, 01 December, 2019:

  1. Initialisation of the repository.
  2. Discovering the services. SSH: "authmethod_is_enabled password".
  3. Creating an example dump of applications connection between application and API (connection.example).
  4. Discovered extra API subdomains demo.api.cifra.pw and demo-api.cifra.pw.

Android:

  • Using JWT authentication tokens (android.support.v4.media.session.MediaControllerCompat$MediaControllerImplApi21).
  • SHA1 usage.
  • androidx.appcompat.app.AppCompatViewInflater potential vulnerability (line 82).
    • Related to TwilightManager.
  • androidx.appcompat.app.J IP address retrieval.
  • api.cifra.pw (95.213.182.234)

iPhone:

  • Retrieval of certificate.der, GlobalSign RSA DV SSL CA 20180.

Network Discovery:

PORT    STATE    SERVICE      VERSION
22/tcp  open     ssh          OpenSSH 7.4p1 Debian 10+deb9u6 (protocol 2.0)
80/tcp  open     http         Golang net/http server (Go-IPFS json-rpc or InfluxDB API)
135/tcp filtered msrpc
139/tcp filtered netbios-ssn
443/tcp open     ssl/http     Golang net/http server (Go-IPFS json-rpc or InfluxDB API)
445/tcp filtered microsoft-ds
Service Info: OS: Linux; CPE: cpe:/o:linux:linux_kernel
netname:         SELECTEL-NET
descr:           Selectel SPb
country:         RU
admin-c:         CMH-RIPE
admin-c:         KORS
tech-c:          SA32710-RIPE
status:          ASSIGNED PA

route:           95.213.182.0/23
descr:           SELECTEL-NET
origin:          AS49505
mnt-by:          MNT-SELECTEL

OSINT: