Scan

Description: {{ scan.description }}

Created by: {{ scan.user.username }}

Status: {{ scan.status }}

{% if scan.progress == 100 %}
{{ scan.progress }} %
{% else %}
{{ scan.progress }} %
{% endif %}
{% if scan.apk_name %}
Application info
{% if scan.icon %} {% endif %}
Icon embedded
App name {{ scan.name }}
Package {{ scan.package }}
Version name {{ scan.version_name }}
Version code {{ scan.version_code }}
Min version {{ scan.min_sdk_version }}
Max version {{ scan.max_sdk_version }}
Target version {{ scan.target_sdk_version }}
Effective version {{ scan.effective_target_sdk_version }}
File size {{ scan.file_size }}
md5 {{ scan.md5 }}
sha256 {{ scan.sha256 }}
{% endif %} {% if scan.progress >= 40 %}
Security info
{% if settings.VIRUSTOTAL_ENABLED %} {% if antivirus_scan.malicious > 0 %} {% else %} {% endif %} {% endif %}
Number of findings {{ scan.findings }}
By Severity {% for severity, number in findings_by_severity.items %} {% if severity == 'Critical' %} {% elif severity == 'High' %} {% elif severity == 'Medium'%} {% elif severity == 'Low' %} {% else %} {% endif %} {% endfor %}
{{ severity }} {{ number }} {{ number }} {{ number }} {{ number }} {{ number }}
Detections in VT{{ antivirus_scan.malicious }} {{ antivirus_scan.malicious }}
{% endif %} {% if permissions %}
Permissions
{% for p in permissions %} {% endfor %}
ID Name Type Severity
{{ forloop.counter }} {{ p.permission.name }} {{ p.permission.type }} {{ p.get_severity_display }}
{% endif %} {% if activities %}
Activities
{% for a in activities %} {% if a.main %} {% else %} {% endif %} {% endfor %}
ID Name Main
{{ a.id }} {{ a.name }} YesNo
{% endif %} {% if components_intents %}
Components
{% for component, intents in components_intents %} {% endfor %}
ID Type Name Intents
{{ component.id }} {{ component.type }} {{ component.name }} {% if intents %} {% for intent in intents %} {% endfor %}
ID Intent Action
{{ intent.id }} {{ intent.name }} {{ intent.action }}
{% endif %}
{% endif %} {% if certificates %}
Certificates
{% for certificate in certificates %} {% endfor %}
ID Version Subject Issuer Hash algorithm Signature algorithm Serial number Sha1 Sha256
{{ certificate.id }} {{ certificate.version }} {{ certificate.subject }} {{ certificate.issuer }} {{ certificate.hash_algorithm }} {{ certificate.signature_algorithm }} {{ certificate.serial_number }} {{ certificate.sha1 }} {{ certificate.sha256 }}
{% endif %} {% if settings.VIRUSTOTAL_ENABLED and antivirus_scan %}
Virus Total Scan
VT Link{{ settings.VIRUSTOTAL_FILE_URL }}{{ antivirus_scan.identifier }}
ID {{ antivirus_scan.identifier }}
Data {% if antivirus_scan.uploaded %} {% else %} {% endif %}
Type {{ antivirus_scan.type }}
Magic {{ antivirus_scan.magic }}
Reputation {{ antivirus_scan.reputation }}
UploadedYesNo
Date
Last scan date {{ antivirus_scan.date }}
First seen {{ antivirus_scan.first_seen }}
First submission {{ antivirus_scan.first_submission}}
Last submission {{ antivirus_scan.last_submission}}
Last scan
Malicious {{ antivirus_scan.malicious }}
Harmless {{ antivirus_scan.harmless }}
Suspicious {{ antivirus_scan.suspicious }}
Undetected {{ antivirus_scan.undetected }}
Timeout {{ antivirus_scan.timeout }}
Unsupported {{ antivirus_scan.unsupported }}
Type Unsupported {{ antivirus_scan.type_unsupported }}
Hashes
md5 {{ antivirus_scan.md5 }}
sha256 {{ antivirus_scan.sha256 }}
ssdeep {{ antivirus_scan.ssdeep }}
Votes
Harmless {{ antivirus_scan.votes_harmless }}
Malicious {{ antivirus_scan.votes_malicious }}
{% if antivirus %} {% for av in antivirus %} {% if av.result != null %} {% else %} {% endif %} {% endfor %}
ID Antivirus Version Category Result Update Detected
{{ av.id }} {{ av.name }} {{ av.version }} {{ av.category }} {{ av.result }} {{ av.update }} YesNo
{% endif %}
{% endif %} {% if findings or scan.progress >= 40 %}
Findings

Number of findings: {{ scan.findings }}

{% for category in categories %} {% with id=category.id %} {% if findings_ordered|lookup:id %} {% endif %} {% endwith %}{% endfor %}
ID Finding Number Findings
{{ category.id }} {{ category.default_name }} {{ findings_ordered| lookup:id|length }}
{% if settings.DEFECTDOJO_ENABLED %} {% endif %} {% for finding in findings_ordered|lookup:id %} {% if settings.DEFECTDOJO_ENABLED %} {% endif %} {% endfor %}
ID Severity File LN Line Status CWEDojo ID
{{ finding.id }} {{ finding.get_severity_display }} {{ finding.path }} {{ finding.line_number }} {{ finding.line }} {{ finding.get_status_display }} {{ finding.cwe.cwe }} {% if finding.defectdojo_id > 0 %} {{ finding.defectdojo_id }} {% else %} N/A{% endif %}
{% endif %} {% if all_practices and scan.progress >= 40 %}
Security Best Practices
{% for practice in all_practices %} {% endfor %}
Name Description Implementation
{{ practice.default_name }} {{ practice.default_description }} {% for finding in best_practices %} {% if finding.type.id == practice.id %} {% endif %} {% endfor %}
ID Path LN Line
{{ finding.id }} {{ finding.path }} {{ finding.line_number }} {{ finding.line }}
{% endif %} {% if files or scan.progress >= 40 %}
Files
{% for file in files %} {% if file.type == 'html' %} {% else %} {% endif %} {% endfor %}
ID Path Type
{{ file.id }}{{ file.name }}{{ file.name }} {{ file.type }}
{% endif %} {% if strings or scan.progress >= 40 %}
Strings
{% for string in strings %} {% endfor %}
ID Type Value Finding
{{ string.id }} {{ string.type }} {{ string.value }} {{ string.finding.id }}
{% endif %}
{% if database or scan.progress >= 40 %}
Databases
{% for table in database %} {% endfor %}
ID Table Data
{{ table.id }} {{ table.table }} {{ table.info }}
{% endif %}