Reading a THUGON Email Investigator report

This manual walks through one complete report, section by section, using a test file (test.eml) that ships with the app. For each section you will see the real output, what each line means, and where the app’s result needs a human check before you rely on it.

Defensive use onlyThe app is a defensive security and investigative tool. Subpoenas and legal requests must go through your counsel or the proper authority. Nothing in this manual is legal advice.

How a run works

  1. Start the app and enter the password.
  2. Enter the path to a .eml (Gmail or Outlook export) or .msg (Outlook export) file.
  3. The app prints a report with the sections below, in this order. It can also export the full report to PDF.
  4. GeoIP lookups need MaxMind database files. Sample files are included; download updated ones for better accuracy.
The test file is syntheticIt was built to trigger many detections at once. A real email rarely lights up everything, so learn the meaning of each line rather than expecting this exact pattern.

2. Signals

The list of things the app found, each with a point value

- SPF failure (+20)             -> Unauthorized sender
- DKIM failure (+20)            -> Message integrity failed
- DMARC failure (+25)           -> Domain spoofing likely
- Reply-To mismatch (+15)       -> Redirected replies
- Social engineering (+10)      -> Psychological pressure
- Credential phishing (+15)     -> Credential theft attempt

Each line is one indicator. The number is its weight, and the text after the arrow is the app’s plain-language reading. There are two families here:

  • Technical signals (SPF, DKIM, DMARC, Reply-To) come from headers and can be verified directly in the raw header.
  • Content signals (social engineering, credential phishing) come from the wording of the message. The report does not show which words triggered them, so open the email body and confirm them yourself.
Check before you quoteContent signals are judgments, not facts. Write down the sentence or link that justifies each one before you put it in a finding.

3. Authentication results

Where the technical signals come from

RAW HEADER : mx.google.com; spf=fail; dkim=fail; dmarc=fail

SPF        : FAIL
DKIM       : FAIL
DMARC      : FAIL
REPLY-TO   : different@otherdomain.com
SPFAsks: was the sending server on the domain’s approved list? Fail means the server was not authorized for that domain.
DKIMAsks: does the cryptographic signature match the message? Fail means the signature is missing, invalid, or the message changed in transit.
DMARCCombines SPF and DKIM with the domain owner’s policy. Fail means the message did not align with what the real domain’s owner allows.
REPLY-TOWhere replies go if the recipient hits Reply. Here the mail claims bigstore.com but replies would go to otherdomain.com.

How to read it

The highlighted RAW HEADER is the Authentication-Results header added by the receiving mail server (here Google). That is the evidence; the SPF/DKIM/DMARC lines beneath are the app’s summary of it. When all three fail and Reply-To points elsewhere, the message almost certainly did not come from the domain it claims.

Not every failure is an attackOne failure on its own can come from a misconfigured marketing platform or a forwarding hop. Three failures plus a Reply-To mismatch is a much stronger pattern. Always read all four together.

4. Risk score

One number that helps you triage

RISK SCORE: 100 / 100  (raw signal total: 105)
Current classification: CRITICAL

The score adds up the weights from section 2 and caps at 100. In the test file the signals total 105, so the report shows 100 and tells you the raw total. It is a risk index, not a probability: 100 does not mean “100% certain malicious.” Use it to decide which emails to investigate first.

ScoreClassWhat to do
0–29LOWNo strong indicators. Spot-check only.
30–59SUSPICIOUSSome phishing-like behavior. Review the signals.
60–79HIGHMultiple indicators. Investigate and consider containment.
80–100CRITICALStrong likelihood of a malicious email. Prioritize.

Try it: build the score yourself

100CRITICALraw total: 105

Uncheck the content signals and see how far the technical signals alone take you. Then uncheck two of the three authentication results and note how quickly the class drops.

5. IP, GEO and ASN

Where the message appears to have come from

IP: 203.45.67.89
GEO: {'ip': '203.45.67.89', 'country': 'Australia', 'city': 'Brisbane',
      'lat': -27.4683, 'lon': 153.0322}
ASN: None
  • IP: the address the app extracted from the headers as the origin.
  • GEO: the MaxMind location for that IP: country, city, and coordinates.
  • ASN: the network (and so the organization) that owns the IP. None means the app found no record.
Treat location as a lead, not a factGeoIP is approximate and often reflects the ISP or data center, not the person. VPNs, proxies, and compromised hosts all distort it. Also confirm in the raw Received headers that this IP is the first external hop and not a relay.
What an empty ASN meansIt usually means the ASN database is missing or has no entry. Look the IP up yourself through an RDAP/WHOIS lookup and record the owner. You need it for section 8.
Update the GEO location filesThe email investigator app uses geo location files from MAXMIND. You can sign up for a free account and download the files. Place the files in the same directory as the email investigator app. For example, the app uses GeoLite-ASN-Blocks-IPv4.csv, GeoLite2-ASN-Blocks-IPv6.csv, GeoLite2-City.mmdb and GeoLite2-Country.mmdb files. Remember, MaxMind controls and updates these files. It is reccommended that you update the files every month or so.

6. URLs

Every link the app found in the message

https://trk.email/open?id=test456&uid=user789
https://mailtrack.io/trace/mail/abc123.png?u=456
https://click.e.bigstore.com/r/abc123xyz
https://mailchimp.com/track/click?u=abc123&id=xyz456
https://opens.mailchimp.com/wf/open?u=abc123&k=xyz
https://click.sendgrid.net/redirect?url=https://bigstore.com&utm_source=email&utm_medium=ship&trk=order123

This is the raw list. For each URL ask three questions:

  1. Whose domain is it? Read the part just before the first single slash. click.e.bigstore.com belongs to bigstore.com.
  2. Does it match the claimed sender? Links to unrelated domains in a “shipping” message deserve suspicion.
  3. Where does it really go? The last URL’s url= parameter says bigstore.com, but it is routed through click.sendgrid.net first.
Never clickDo not open these links from your normal workstation. Analyze them as text or in an isolated environment.

7. Tracking and surveillance detection

Who is watching when this email is opened or clicked

Total findings : 9
High risk      : 3

[MEDIUM] KNOWN TRACKER DOMAIN
INDICATOR : https://mailtrack.io/trace/mail/abc123.png?u=456
DETAIL    : URL matches known email tracking service: mailtrack.io

[HIGH] LINK REDIRECT WRAPPER
INDICATOR : https://click.sendgrid.net/redirect?
DETAIL    : URL passes through a redirect - hides true destination
            and may log clicks

The summary counts findings (9 total: six MEDIUM tracker-domain matches and three HIGH redirect wrappers). The app checks five kinds of indicator:

Pixel / invisible imageA 1×1 or hidden image that pings a server when the email is opened, revealing that and when it was read.
Known tracker domainA link or image hosted on one of 50+ known email-tracking platforms.
Tracking URL patternPaths such as open, pixel, beacon, or tracking parameters like UTM.
External image beaconA remote image from a tracker domain that fires on open.
Link redirect wrapperA click goes through an intermediary that logs who clicked and when.

Interpreting severity

Severity here measures privacy exposure, not maliciousness. Mailchimp and SendGrid are legitimate services that thousands of honest companies use for open and click tracking. Their appearance tells you the sender uses a marketing platform. It does not tell you the email is fraudulent.

Combine with sections 3 and 6Tracking becomes meaningful when authentication fails. A message that fails DMARC and routes clicks through a redirect is worth blocking. A message that passes DMARC and uses Mailchimp is ordinary marketing.
Watch for loose pattern matchesOne finding reads “matches known tracking service: click.e.”. That is a generic subdomain pattern, not a named company. Confirm it before citing it as a known tracker.

8. Legal subpoena target map

Who might hold records about the sender

- TYPE: DOMAIN REGISTRAR
  TARGET: click.sendgrid.net
  PURPOSE: WHOIS + account ownership + admin logs
  CONFIDENCE: HIGH

- TYPE: IP HOSTING PROVIDER
  TARGET: ASN Owner / ISP
  PURPOSE: Identify customer assigned to IP at time of activity
  CONFIDENCE: HIGH

The map turns your findings into a list of organizations that may hold useful records. Each entry has a type, a target, the records you would seek, and a confidence label.

Reading the two target types

  • Domain registrar: lists a domain found in the URLs. A registrar holds registration and account data for the registered domain (for example sendgrid.net), not for each subdomain.
  • IP hosting provider: the ISP that owns the IP in section 5. ISPs can match an IP and timestamp to a customer, which is why you record the exact time of activity. This entry reads “ASN Owner / ISP” because the ASN was empty, so you must fill in the name yourself.
Read “HIGH” as “this is a relevant domain,” not “this is wrongdoing”The map lists every domain it saw. In the test file, mailchimp.com and sendgrid.net are shared services used by many legitimate senders, and bigstore.com is the brand being impersonated, so it may be the victim and not the suspect. Before any legal request, decide who is the likely actor, take advice from counsel, and let them choose the targets and process.

9. Worked verdict for the test file

Putting every section together

AuthenticationSPF, DKIM, and DMARC all fail, so the message did not come from an authorized bigstore.com server.
Reply-ToReplies would go to otherdomain.com, away from the claimed sender.
ContentAn urgent “order shipped” lure plus credential-theft language. Confirm in the body.
TrackingStandard marketing infrastructure. Low weight on its own, but the redirect wrappers hide link destinations.
OriginBrisbane, Australia per GeoIP, ASN unknown. A lead to verify with the raw headers and an RDAP lookup.
Example finding“Likely spoofed email impersonating bigstore.com. Authentication failed on SPF, DKIM, and DMARC, and the Reply-To points to a different domain. Origin IP 203.45.67.89 geolocates to Brisbane, AU (unverified). Recommend blocking the sender, reporting to the impersonated brand, and preserving the original file.”

Notice what the finding leaves out: it does not accuse an individual, and it labels the location as unverified. Write your findings the same way.

10. Analyst checklist

  1. Record the CASE ID, file name, and time before anything else.
  2. Treat FROM as a claim. Check the authentication results first.
  3. Read SPF, DKIM, DMARC, and Reply-To together.
  4. Use the risk score to prioritize, never as proof.
  5. Confirm content signals by reading the body yourself.
  6. Check every URL’s true domain without clicking it.
  7. Separate privacy tracking from malicious behavior.
  8. Verify the IP in raw headers, and fill in a missing ASN by hand.
  9. Identify who is the likely actor and who is just infrastructure or the victim before using the subpoena map.
  10. Export the PDF, keep the original email file untouched, and hand legal steps to counsel.
Glossary

SPF: list of servers allowed to send for a domain. DKIM: cryptographic signature on the message. DMARC: policy that ties SPF and DKIM to the visible From domain. ASN: identifier for the network that owns an IP. ESP: email service provider such as Mailchimp or SendGrid. Beacon / pixel: a tiny remote image that signals when an email is opened.

Disclaimer: The Email Investigator App was designed and released by Seng Thao. It is provided AS IS / WHERE IS. Users assumes all risks and releases the developer of all liabilities.