Visit Thugon Official Website

THUGON FILE INSPECTOR AND MODIFIER v3.10

(AKA - FILE INVESTIGATOR APP) YOU CAN DOWNLOAD IT FOR FREE BELOW.

(Shannon Entropy Training) I've included some example of Shannon Entropy below.

Watch Video Tutorial Watch Video File Investigation
FREE DOWNLOAD
FREE
TO USE THIS APP PLEASE READ HOW WINDOWS TREAT UNSIGNED/DOWNLOADED EXE:
https://www.thugon.com/encryption_apps.html
TO LEARN MORE ABOUT CLAUDE SHANNON ENTROPY:
https://en.wikipedia.org/wiki/Claude_Shannon

Purpose

I built this tool based on my knowledge of how files, antivirus, viruses and the web work. Therefore, mistakes can be made. The original version was more detailed and very aggressive; this version is tamed. THUGON FILE INSPECTOR AND MODIFIER is a powerful Windows utility designed to inspect and manage file metadata, security zones, alternate data streams (ADS), URLs, PE information, and more. It provides users with strong control over downloaded and local files for security auditing, analysis, and modification purposes. Some of the attached information is technical, but I have tried to be as thorough as possible to help everyone understand how this application works. The app does not have a help menu, so this write-up is provided to guide users and explain what the application does behind the scenes. WARNING: This is a very powerful tool. Please use it responsibly. The original purpose of this tool is strictly for DEFENSIVE use only. Please read the attached disclaimer carefully. This tool has no sponsors; therefore, mistakes or limitations may be present.

Description

This application can:

It is designed for IT professionals, security analysts, investigators and power users who need to verify, manage, investigate and secure files in a Windows environment. Important: Alternate Data Streams (ADS) are supported only on the NTFS file system. Saving a file to a USB drive formatted with FAT32 will permanently remove any existing ADS. To preserve ADS during file transfer or investigation, ensure that your USB drive or storage device is formatted with NTFS rather than FAT32, as many removable drives are still configured with FAT32 by default. ReFS does NOT support ADS in the same way NTFS does (ReFS is used by Windows server and enterprise storage.).

Security Zone Explanation (Zone.Identifier)

Windows uses security zones (Mark of the Web / MOTW) to track where a file originated from. This information is stored in the Zone.Identifier Alternate Data Stream (ADS). Understanding these zones helps determine the trust level of a file.

Zone IDZone NameDescription
0Local MachineFile originates from the local computer. Fully trusted.
1Local IntranetFile comes from a local network (LAN). Generally trusted within an organization.
2Trusted SitesFile downloaded from explicitly trusted domains configured by the user or administrator.
3InternetFile downloaded from the internet. This is the most common and considered untrusted by default.
4Restricted SitesFile comes from blocked or highly untrusted sources. Highest risk category.

Security Insight:

The app uses this information as part of its risk scoring system to help determine whether a file should be trusted or further analyzed.

Entropy Calculation & Analysis

Entropy is a measurement of randomness within a file. This tool uses it to help determine whether a file contains normal structured data or potentially suspicious content such as compressed, packed, or encrypted data.

How It Works

H = - Σ (p(x) * log2(p(x)))

Understanding Shannon Entropy

What is Shannon entropy formula? Shannon entropy is a well-established mathematical technique that is used in cybersecurity, data compression, digital forensics, information theory, data analysis, machine learning, and statistical analysis.

Shannon entropy measures the uncertainty or unpredictability of an outcome. The more difficult an outcome is to predict, the higher its entropy.

H = − Σ (p(x) × log₂(p(x)))

Explore the formula

Imagine flipping a coin. Adjust the probability of heads to see how the uncertainty changes.

0% heads 50% heads 100% heads
Heads probability
0.50
Tails probability
0.50
Shannon entropy
1.000
bits per flip

Both outcomes are equally likely. Uncertainty is at its maximum.

Three examples

Fair coin

Heads: 50%
Tails: 50%

1.000 bits
Maximum uncertainty
Biased coin

Heads: 90%
Tails: 10%

0.469 bits
More predictable
Certain outcome

Heads: 100%
Tails: 0%

0.000 bits
No uncertainty

What do the symbols mean?

H — Shannon entropy, measured in bits.

Σ (sigma) — Add the contribution of every possible outcome.

p(x) — The probability of a particular outcome.

log₂ — A base-2 logarithm used to measure information in bits.

The negative sign — Makes the result nonnegative, because the logarithm of a probability between zero and one is nonpositive.

Why this matters in cybersecurity

Entropy helps us reason about passwords, encryption keys, and random number generation. A uniformly random 256-bit key has 256 bits of entropy. A predictable password may have far less uncertainty, even if it looks complicated.

High entropy alone does not guarantee security. The quality of the random-number generator, password choices, and cryptographic implementation also matter.

Special Notes

My coin example uses two possible outcomes: heads or tails. When both outcomes are equally likely, the maximum Shannon entropy is 1 bit per flip.

A file is analyzed byte by byte. Each byte can have 256 possible values, ranging from 0 to 255. When all 256 values are equally likely, the maximum Shannon entropy is 8 bits per byte, because log₂(256) = 8.

Both the coin example and the app use the same Shannon entropy formula. The difference is the number of possible outcomes being measured:

  • Coin flip: 2 possible outcomes → maximum of 1 bit per flip.
  • File byte: 256 possible values → maximum of 8 bits per byte. The app uses this scale because it measures the distribution of byte values in a file.

A file with entropy near 8 bits per byte has a byte-value distribution close to uniform. This can occur in encrypted or compressed files, but high entropy alone does not mean a file is malicious.

Entropy Range

Interpretation

RangeMeaning
0.0 – 3.5Plain text / repetitive data
3.5 – 6.5Normal files
6.5 – 7.5Compressed or complex data
7.5 – 8.0Highly random (often encrypted/packed)

Security Insight

Important: High entropy does not automatically mean a file is malicious. The app considers other factors when assessing potential risks.

How The App Uses It

Advanced Entropy Analysis (Technical)

Full binary analysis across 256 byte values with Shannon entropy calculation.

p(x) = count(x) / total_bytes
H = - Σ (p(x) * log2(p(x)))

Used as a heuristic indicator, not a standalone detection.

Risk Scoring System

IndicatorConditionPoints
MOTWZoneId = 3+20
Entropy> 7.5+25
ADSCustom streams+20 each
ScoreVerdict
0–29SAFE
30–69SUSPICIOUS
70–100HIGH RISK
Example:
MOTW → +20
Entropy → +25
ADS → +20
Total = 65 → SUSPICIOUS

Why it is Valuable

This tool is valuable because it allows you to quickly assess file safety, uncover hidden content, and manage security metadata. It ensures files are properly verified and provides the ability to modify or clean potentially risky metadata safely. Whether for auditing downloaded files or managing sensitive data, it gives users confidence and control over their files.

Disclaimer: This is a powerful tool. Please use it responsibly. This application is designed for defensive, security analysis, and educational purposes only—not for offensive use. The authors assume no responsibility or liability for any misuse of this tool. You are solely responsible for your actions and how you use this software. Use of this tool for illegal or malicious purposes may violate applicable laws in your jurisdiction. This software is provided "AS IS" and "AS AVAILABLE", without any warranties of any kind, either express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement. This tool has no sponsors; therefore, mistakes or limitations may be present. Use at your own risk.