{% extends "base/base_layout.html" %} {% load static %} {% block sidebar_option %} sidebar-mini {% endblock %} {% block extra_css %} {% endblock %} {% block sidebar %} {% endblock %} {% block content %}

APP SCORES

{% if average_cvss %} Average CVSS {{ average_cvss }}
{% endif %} Security Score {{ appsec.security_score }}/100
{% if trackers.detected_trackers > 0 %} Trackers Detection {{ trackers.detected_trackers }}/{{ trackers.total_trackers }}
{% else %} Trackers Detection {{ trackers.detected_trackers }}/{{ trackers.total_trackers }}
{% endif %} {% if virus_total and virus_total.items|length > 9 %} {% if virus_total.positives > 0 %} VirusTotal Detection {{ virus_total.positives }}/{{ virus_total.total }}
{% else %} VirusTotal Detection {{ virus_total.positives }}/{{ virus_total.total }}
{% endif %} {% endif %}

MobSF Scorecard

FILE INFORMATION

File Name {{ file_name }}
Size {{ size }}
MD5 {{ md5 }}
SHA1 {{ sha1 }}
SHA256 {{ sha256 }}

APP INFORMATION

App Name {{ app_name }}
App Type {{ app_type }}
Identifier {{ bundle_id }}
SDK Name {{ sdk_name }}
Version {{ app_version }} Build {{ build }} Platform Version {{ platform }} Min OS Version {{ min_os_version }}
Supported Platforms {% for pl in bundle_supported_platforms %} {{pl}}, {% endfor %}

BINARY INFORMATION

Arch {{ binary_info.arch }}
Sub Arch {{ binary_info.subarch }}
Bit {{ binary_info.bit }} Endian {{ binary_info.endian }}
{% if not appstore_details.error %}

APP STORE INFORMATION

Title {{ appstore_details.title }}
Score {{ appstore_details.score}} Features {% for fea in appstore_details.features %} {{ fea }}, {% endfor %} Price {{ appstore_details.price }} Category {% for cat in appstore_details.category %} {{ cat }}, {% endfor %} App Store URL {{ appstore_details.app_id }}
Developer {{appstore_details.developer}}, Developer ID {{appstore_details.developer_id}}
Developer Website {{appstore_details.developer_website }}
Developer URL {{appstore_details.developer_url}}
Supported Devices {% for dev in appstore_details.supported_devices %} {{ dev }}, {% endfor %}
Description
{{ appstore_details.description }}
{% endif %}

CUSTOM URL SCHEMES

{% if bundle_url_types|length > 0 %}

{% for scheme in bundle_url_types %} {% endfor %}
URL NAME SCHEMES
{{scheme | key:"CFBundleURLName" }} {% if scheme|key:"CFBundleTypeRole" %}
{{scheme | key:"CFBundleTypeRole" }} {% endif %}
{% if scheme|key:"CFBundleURLSchemes" %} {% for ul in scheme.CFBundleURLSchemes %} {{ul}}
{% endfor %} {% endif %}
{% else %}

No URL Schemes found.

{% endif %}

APPLICATION PERMISSIONS

{% if permissions %}

{% for perm, desc in permissions.items %} {% endfor %}
PERMISSIONS STATUS INFO REASON IN MANIFEST
{{ perm }} {% if desc.status == 'dangerous' %} dangerous {% else %} normal {% endif %} {{ desc.info}} {{ desc.description }}
{% else %}

No Permissions required.

{% endif %}

APP TRANSPORT SECURITY (ATS)

{% if ats_analysis|length > 0 %} {% for findings in ats_analysis %} {% endfor %} {% else %} {% endif %}
NO ISSUE SEVERITY DESCRIPTION
{{ forloop.counter }} {{findings.issue}} {% if findings.severity == "high" %} high {% elif findings.severity == "secure" %} secure {% elif findings.severity == "warning" %} warning {% elif findings.severity == "info" %} info {% endif %} {{findings.description}}
No ATS exceptions found. secure No insecure connections configured. App Transport Security (ATS) is enabled.

IPA BINARY CODE ANALYSIS

{% for issue, details in binary_analysis.items %} {% endfor %}
NO ISSUE SEVERITY STANDARDS DESCRIPTION OPTIONS
{{ forloop.counter }} {{ issue }} {% if details|key:"severity" == 'info' %} info {% elif details|key:"severity" == 'good' %} secure {% elif details|key:"severity" == 'high' %} high {% elif details|key:"severity" == 'warning' %} warning {% endif %} {% if average_cvss %} CVSS V2: {{ details|key:"cvss" }} {% if details|key:"cvss" > 6 %} (high) {% elif details|key:"cvss" == 0 %} (info) {% elif details|key:"cvss" >= 4 %} (medium) {% elif details|key:"cvss" < 4 %} (low) {% endif %}
{% endif %} {% if details|key:"cwe" %} CWE: {{ details|key:"cwe" }}{% endif %} {% if details|key:"owasp-mobile" %}
OWASP Top 10: {{ details|key:"owasp-mobile" }}{% endif %} {% if details|key:"masvs" %}
OWASP MASVS: {{ details|key:"masvs" }}{% endif %}
{{ details|key:"detailed_desc" }}

IPA BINARY ANALYSIS

{% if not macho_analysis %} Binary Analysis Failed. {% else %} {% endif %}
PROTECTION STATUS SEVERITY DESCRIPTION
NX {{macho_analysis.nx.has_nx}} {{macho_analysis.nx.severity}} {{macho_analysis.nx.description}}
PIE {{macho_analysis.pie.has_pie}} {{macho_analysis.pie.severity}} {{macho_analysis.pie.description}}
STACK CANARY {{macho_analysis.stack_canary.has_canary}} {{macho_analysis.stack_canary.severity}} {{macho_analysis.stack_canary.description}}
ARC {{macho_analysis.arc.has_arc}} {{macho_analysis.arc.severity}} {{macho_analysis.arc.description}}
RPATH {{macho_analysis.rpath.has_rpath}} {{macho_analysis.rpath.severity}} {{macho_analysis.rpath.description}}
CODE SIGNATURE {{macho_analysis.code_signature.has_code_signature}} {{macho_analysis.code_signature.severity}} {{macho_analysis.code_signature.description}}
ENCRYPTED {{macho_analysis.encrypted.is_encrypted}} {{macho_analysis.encrypted.severity}} {{macho_analysis.encrypted.description}}
SYMBOLS STRIPPED {{macho_analysis.symbol.is_stripped}} {{macho_analysis.symbol.severity}} {{macho_analysis.symbol.description}}

FILE ANALYSIS

{% for item in file_analysis %} {% endfor %}
NO ISSUE FILES
{{ forloop.counter }} {{ item.issue }} {% for file in item.files %} {% if file.type %} {{ file.file_path }} {% else %} {{ file.file_path }} {% endif %}
{% endfor %}
{% if virus_total %}

VIRUSTOTAL SCAN

{% if virus_total.items|length < 9 %} {% comment %} Basic check to determine if the response is a msg or a result {% endcomment %}

  {{ virus_total.verbose_msg }}

{% else %}

   {{ virus_total.positives }} / {{ virus_total.total }}  AVs found this file Malicious!    Full Report

{% if virus_total.positives > 0 %} {% for av_name,av_result in virus_total.scans.items %} {% if av_result.detected == True %} {% endif %} {% endfor %}
AV DETECTION
{{ av_name }} {{ av_result.result }}
{% endif %}{% comment %} if results.positive > 0 {% endcomment %} {% endif %}{% comment %} if this is the upload msg or a result {% endcomment %}
{% endif %}

SERVER LOCATIONS

DOMAIN MALWARE CHECK

{% if domains %} {% for domain, details in domains.items %} {% endfor %}
DOMAIN STATUS GEOLOCATION
{{domain}} {% if details|key:"bad" == "yes" %} malware
                      URL: {{details|key:"domain_or_url"}}
                      IP: {{details|key:"ip"}}
                      Description: {{details|key:"desc"}}
                      
{% else %} ok
{% endif %}
{% if details|key:"geolocation" %} IP: {{details|key:"geolocation"|key:"ip"}}
Country: {{details|key:"geolocation"|key:"country_long"}}
Region: {{details|key:"geolocation"|key:"region"}}
City: {{details|key:"geolocation"|key:"city"}}
Latitude: {{details|key:"geolocation"|key:"latitude"}}
Longitude: {{details|key:"geolocation"|key:"longitude"}}
View: Google Map {% else %} No Geolocation information available. {% endif %}
{% endif %}

URLS

{% if urls %} {% for urldict in urls %} {% endfor %}
URL FILE
{% for u in urldict|key:"urls" %} {{ u }}
{% endfor %}
{{urldict|key:"path"}}
{% endif %}

FIREBASE DATABASE

{% if firebase_urls %} {% for item in firebase_urls %} {% endfor %}
FIREBASE URL DETAILS
{{ item.url }} {% if item.open %} high
Firebase Database is exposed publicly. {% else %} info
App talks to a Firebase database. {% endif %}
{% endif %}

EMAILS

{% if emails %} {% for email_dict in emails %} {% endfor %}
EMAIL FILE
{% for e in email_dict|key:"emails" %} {{ e }}
{% endfor %}
{{email_dict|key:"path"}}
{% endif %}

TRACKERS

{% if trackers %} {% for trk in trackers|key:"trackers" %} {% endfor %}
TRACKER NAME CATEGORIES URL
{{trk.name}} {{trk.categories}} {{trk.url}}
{% endif %}

POSSIBLE HARDCODED SECRETS

{% for val in secrets %} {{ val }}
{% endfor %}

LIBRARIES

{% for lib in libraries %} {{ lib }}
{% endfor %}

FILES

{% for file in files %} {{ file}}
{% endfor %}

{% endblock %} {% block extra_scripts %} {% endblock %}