FeatureProduct

File malware scanner: check PDFs, Office files and archives

Find the EXE posing as a PDF, the macro in the résumé, the shortcut hidden in the ZIP.

6 min readUpdated November 9, 2026Free, no account

Many threats arrive as files, not apps. Drop a file into the Web Scanner and GuestSpy shows what it really is and what it does when opened. The file never leaves your device.

01Step by step

How to scan a file

The file scanner runs inside the Web Scanner. It works in any modern browser, on a computer or a phone. Save the file first and scan it before you open it.

  1. 1
    Save the attachment or download. Don’t open it.
  2. 2
    Open the Web Scanner.
  3. 3
    Drop the file in, or tap to pick it. Several files at once are fine.
  4. 4
    Wait a few seconds. Archives are opened automatically.
  5. 5
    Read the verdict and summary at the top.
  6. 6
    Export the report as PDF or JSON if you need a record.

On a phone, pick the file from Downloads, the Files app or a chat app’s media folder. If a link looks suspicious, download the page instead of visiting it.

The real file type next to the claimed extension, with the mismatch highlighted.
02Feature

Real file type, not the file name

Every file format starts with a known byte pattern, called magic bytes. The scanner reads those first and recognises 45+ file types. Then it compares the real type with the name. A mismatch triggers rule GS-R-101 and usually makes the file Suspicious.

01

Double extensions

invoice.pdf.exe shows as invoice.pdf when Windows hides extensions.

02

RTLO tricks

A hidden Unicode character flips the name so .exe reads as .pdf. Flagged as GS-R-102.

03

Padded names

Dozens of spaces push the real extension out of view.

04

Rare executables

.scr, .pif, .hta and .cpl all run code, but few people know it.

05

Bare executables

An .exe or .apk from a stranger is flagged even when the name matches.

06

Images with trailing data

A real JPEG with a ZIP or script hidden after the image ends.

03Feature

Hashes, entropy and strings

Every file gets SHA-256, SHA-1, SHA-512 and MD5 hashes. The SHA-256 is checked against about 2,950 known sample hashes. Files inside archives are hashed too. You can paste a hash into other services to get a second opinion without uploading the file.

01

Hash match

An exact match names the family with the highest confidence.

02

Entropy

Data that looks random suggests packing, encryption or a hidden payload.

03

URLs and domains

Checked against 900+ known C2 domains, plus raw IPs and link shorteners.

04

Commands

Spots fragments such as powershell, cmd /c, certutil and curl.

05

Persistence paths

Finds startup folders, Run registry keys and LaunchAgents.

06

Wallets and emails

Pulls out crypto addresses and email addresses used for ransom or theft.

High entropy alone is never a verdict. A password-protected ZIP looks random and might be your tax return.

04Feature

Office documents and macros

The scanner opens old Office files (OLE, such as .doc and .xls) and new ones (OOXML, such as .docx and .xlsm). It extracts the VBA macro source and highlights the risky lines. A one-line summary tells you what the macro does, such as "On open, downloads a file and runs it."

01

Auto-run macros

AutoOpen, Document_Open and Workbook_Open run as soon as macros are enabled. Rule GS-R-120.

02

Dangerous calls

Shell, WScript.Shell, URLDownloadToFile and similar. Rule GS-R-121.

03

Obfuscation

Long Chr() chains, StrReverse and XOR loops. Rule GS-R-122.

04

XLM 4.0 macros

Old Excel macros that many scanners miss.

05

DDE fields

Run a command in Word with no macro at all.

06

Remote templates

A clean-looking document that loads a macro template from the internet.

07

Embedded objects

Each one is pulled out and scanned as its own file.

05Feature

PDFs

Most PDF features are harmless. The scanner looks for the few that can run code, launch programs or send your data somewhere. A PDF with only text, images and fonts gets a clean result.

01

JavaScript

Extracted and shown in the report. Rule GS-R-130.

02

Auto actions

OpenAction and AA run something when the file or a page opens. Rule GS-R-131.

03

Launch actions

Run an outside program. Almost never legitimate. Rule GS-R-132.

04

Embedded files

Pulled out and scanned on their own. Rule GS-R-133.

05

Links and form submits

Checked against the database. A form that posts your details elsewhere is phishing.

06

Hidden names

Compressed streams and tricks like /J#61vaScript are decoded first.

06Feature

Archives

ZIP, 7z, RAR, TAR, GZ, ISO and IMG files are opened, and each file inside is scanned. Archives inside archives are opened too.

01

Executables inside

A ZIP holding one executable with a document name is a classic trap. Rule GS-R-140.

02

Shortcuts inside

A .lnk file next to a hidden folder is a known attack pattern.

03

Nested layers

Several archives deep is a sign someone wants to tire out scanners.

04

Password protection

The scanner can’t look inside, and the report says so.

05

Disk images

ISO and IMG files can skip Windows security warnings.

06

Apps inside

An APK gets a full app scan. An IPA has its signer and provisioning profile checked.

07Feature

Scripts, shortcuts and HTML smuggling

Scripts are easy to read, so attackers scramble them. The scanner peels back each layer and shows you the real command underneath. It never runs anything.

01

Script files

JS, VBS, PowerShell, batch, HTA, shell and more. Obfuscation is scored as GS-R-150.

02

Layered decoding

Base64, hex and simple XOR layers are decoded, and each layer is shown.

03

Download and run

Flags fetch-and-execute patterns such as curl piped to sh. Rule GS-R-151.

04

Windows shortcuts

Shows the target, full arguments and icon. A shell or script host target triggers GS-R-160.

05

HTML smuggling

Finds a file hidden as base64 inside a web page, then decodes and scans it. Rule GS-R-170.

06

Executables

PE/EXE, ELF and Mach-O files show headers, imports, signer and packing.

08Feature

What you get back

Every report opens with a verdict, a severity from 0 to 100, a confidence level and a danger code. A short summary says what the file does and what to do. The evidence below lists each rule ID and its MITRE ATT&CK technique.

01

GS-DOC-DOC-####

A malicious document, such as a macro dropper or a PDF with a launch action.

02

GS-TRJ--####

A trojan or dropper, such as an executable disguised as a document.

03

GS-PUA--####

Potentially unwanted, such as bundled adware or an aggressive "cleaner".

04

App codes

An APK found inside a file gets app codes such as GS-STK-AND-####.

Confidence has five levels: hash, certificate, package name, C2 domain and heuristic. File verdicts are usually heuristic unless the hash matches. A Dangerous heuristic verdict is still worth acting on.

🔒 guestspy-report-GS-STK-AND-1405.pdf
GuestSpy
Scan reportGSR-M3K2 · 2 Nov 2026 · GuestSpy Web Scanner 1.0
Known stalkerware
Subject

Sync Services (com.guest) v2.4.1
APK · 4.2 MB
SHA-256 7f3a9c0e…4e21b

Verdict

Severity 96 / 100
Confidence: signing-certificate match
Danger code GS-STK-AND-1405

Family

TheTruthSpy
also: Copy9, iSpyoo, FoneTracker, GuestSpy (legacy)

Evidence (12)
CERTSigner matches TheTruthSpy familyCertificate
GS-R-014Hides launcher iconT1628.001
GS-R-021Accessibility service declaredT1417.001
GS-R-030SMS + call log + location combinationT1636.004
GS-R-018Device administrator receiverT1626.001
GS-IOC-C2media-sync-a.thetruthspy.comT1437.001
Checks performed

37 rules evaluated · 12 fired · 25 passed · 5 evidence levels · database 176 families / 2,953 hashes

Page 1 of 4 · Files are analysed locally; this report was generated in the browser.
A file report exported as PDF, with each archive member and its verdict.
09Limits

Know the limits

The scanner reads files. It does not run them. That keeps you safe, but it means some behaviour stays hidden until runtime.

01

Macros can be harmless

A macro with no shell, download or file calls is marked low risk.

02

PDF scripts can be harmless

Form maths is fine. The script is shown so you can judge.

03

Packing isn’t always malware

Worry when packing meets no signature and an unknown sender.

04

Locked archives stay locked

Password-protected files can’t be inspected.

05

Runtime downloads

A file that fetches its payload later is flagged for the download itself.

06

Very large files

Best under a few hundred megabytes. The report says how much was read.

Send the report, not the file

Want to warn someone about a file? Export the GuestSpy report as PDF and send that. Forwarding the file just spreads the attack.

Questions

Frequently asked questions

Is my file uploaded to GuestSpy?

No. Every check runs in your browser, and the indicator database is downloaded to your device. A community report, if you choose to send one, holds only the file hash and your vote.

Can it scan a file that’s already on my phone?

It can, as long as the browser’s file picker can reach it. On Android, that covers Downloads and most shared storage. On iPhone, it covers the Files app, including iCloud Drive.

Why is a password-protected ZIP marked Suspicious?

The scanner can’t see inside it. Unexpected locked archives are a common way to slip past scanners. If you trust the sender, extract the contents and scan them.

Does it detect ransomware?

It catches the delivery tricks most ransomware uses, such as macro documents, script droppers and disguised executables. It does not name ransomware families, and it doesn’t replace antivirus on a computer.

I already opened the file. What now?

Disconnect the computer from the network. Change your passwords from a different device. Then have the computer cleaned or reinstalled.

Does it work for Mac files?

It does. It reads Mach-O executables, .dmg and .pkg installers, .app bundles inside archives, AppleScript, shell scripts and LaunchAgent files.

Check your phone now. It's free.

Scan in your browser in about two minutes, or get the app for Android and iPhone.