SEC.OPSBack to Portfolio→
SOC INVESTIGATIONCompleted

Alert Investigation Walkthrough: Spoofed Invoice Phishing / BitRAT Delivery

Investigating a phishing email impersonating a faculty contact at UPTC, delivering a malicious executable disguised as a purchase invoice. Tracing sender authenticity through email header forensics (SPF/DKIM/DMARC, Received: chain, MX lookup) and reconstructing the payload's behavior through VirusTotal, URLhaus, and sandbox analysis to confirm a BitRAT malware delivery attempt.

Kamau James
December 2022
Technical / Incident Investigation
PhishingBECEmail SpoofingSPFDKIMDMARCHeader AnalysisVirusTotalURLhausMITRE ATT&CK

Executive Summary

Investigated a phishing email received by faculty, impersonating a contact at Universidad Pedagogica y Tecnologica de Colombia (UPTC) and disguised as a routine "Commercial Purchase Receipt." The investigation began with header authentication analysis to establish sender legitimacy, escalated through malicious URL triage, and concluded with confirmed sandbox behavioral analysis of the delivered payloads. The full attack chain was reconstructed, from spoofed sender identity through malicious link delivery, payload execution, registry persistence, and sandbox evasion behavior, and classified as a confirmed True Positive: spoofed sender phishing delivering active RAT and coin mining malware (BitRAT, AsyncRAT, CoinMiner), all served from shared loader infrastructure.

KEY INSIGHT: A single authentication result rarely tells the full story. This investigation demonstrates how pivoting across multiple evidence sources, including SPF/DKIM/DMARC results, the Received: header chain, the domain's actual MX records, and sandboxed payload behavior, is what separates a surface level "this looks phishy" judgment from a defensible, evidence backed conclusion. Each signal was a breadcrumb; the full picture only became clear when they were read together.


Investigation Approach

The email was reported by a faculty member as a suspicious "purchase receipt" with a download link. Rather than treating the sender address and the link as two separate concerns, the investigation was run as a single thread: first establishing whether the sender identity itself could be trusted, then determining what the link actually delivered, validating each finding before pivoting to the next layer of evidence.


Phase 1: Sender Authenticity Triage

The email claimed to originate from a UPTC faculty contact. The key fields from the message were:

FieldValue
From (claimed)erikajohana.lopez@uptc.edu.co
Return-Patherikajohana.lopez@uptc.edu.co
SubjectCOMMERCIAL PURCHASE RECEIPT ONLINE 27 NOV
Recipient(s)undisclosed-recipients:; (mass BCC)
ReportedFaculty member, via help desk

The claimed sender domain (uptc.edu.co) is a legitimate university domain with no prior history of abuse against this organization. This was enough to warrant a full header authentication check rather than a judgment call on content alone.

Reading the Received: Chain

In the raw message source, the Received: headers were traced bottom to top (oldest to newest) to reconstruct the true delivery path. The From: field alone is just message content and is freely forgeable, while each Received: hop reflects an actual SMTP handoff performed by a real server.

Gmail (209.85.221.65 / mail-wr1-f65.google.com)
   down
Trend Micro Email Security gateway (recipient org's filter, 18.208.22.104)
   down
Microsoft 365 / Exchange Online (recipient's actual mailbox infrastructure)

Reading  the Received chain

The true originating infrastructure was Gmail, not UPTC's mail servers directly. This was the first signal that the sender identity warranted further scrutiny.

Classification at this stage: Suspicious, escalated for authentication result correlation.


Phase 2: Authentication Results Confirmed

The Authentication-Results and ARC-Authentication-Results headers were pulled and cross checked with MXToolbox's Email Header Analyzer:

FieldValue
SPFsoftfail, sender IP 18.208.22.104 not authorized for uptc.edu.co
DKIMfail, signature present for d=uptc.edu.co, no matching public key found
DMARCnone, no enforcement policy active at time of send

Screenshot: Authentication-Results header showing SPF softfail Screenshot: DKIM verification failure detail Screenshot: DMARC lookup result

None of the three authentication mechanisms passed. This is a strong indicator that the message did not originate from UPTC's legitimate, authorized sending infrastructure, regardless of what the From: field displayed.

This activity is consistent with sender spoofing rather than a compromised mailbox. The finding was escalated for a follow up MX lookup to rule out the alternative explanation (a compromised Google Workspace account, if UPTC's real mail provider is Google).

MX Lookup Follow-Up

A subsequent MX lookup on uptc.edu.co confirmed the domain's actual, authoritative mail provider is Google Workspace. This raised, and then resolved, an important question: since the phishing message also transited Google infrastructure, could this instead indicate a genuinely compromised UPTC Workspace account?

Screenshot: MX lookup showing Google Workspace as UPTC's mail provider

The answer is no. A message sent through UPTC's real, provisioned Google Workspace tenant would be expected to pass SPF and DKIM automatically, since Google Workspace auto aligns and auto signs outbound mail for its own tenants. Both checks failed here despite the general provider match, confirming the message did not originate from UPTC's actual tenant. The most likely explanation remains a separate, throwaway Google/Gmail account with the From: field set to impersonate the UPTC contact.

A DMARC lookup performed during this same follow up also showed UPTC now has a DMARC record with quarantine/reject enforcement enabled, indicating this gap has likely been closed since the message was originally sent.

Classification at this stage: Confirmed spoofed sender. Escalated to payload/link analysis.


Phase 3: Malicious Link Extracted and Triaged

The embedded link was extracted directly from the raw message source, not clicked in a live browser:

http://107.175.247.199/loader/install.exe

Screenshot: Raw message source showing the extracted URL

VirusTotal

CheckResult
URL detection13 / 92 vendors flagged malicious
Payload file (install.exe) detection55 / 71 vendors flagged malicious
File signed?No, unsigned executable
Compilation timestampSpoofed to year 2098 (anti analysis trick)

Screenshot: VirusTotal detection results for the URL and payload

URLhaus (abuse.ch)

Historical record ID 2381718 on the hosting IP, tagged AsyncRAT, BitRAT, and CoinMiner. The same host served at least three distinct payloads between October 22 and 26, 2022, confirming this was reused loader infrastructure rather than a single one off drop.

Screenshot: URLhaus payload delivery table

Confirmed payload hash (BitRAT):

5ca468704e7ccb8e1b37c0f7595c54df4e2f4035345b6e442e8bd4e11c58f791

Classification at this stage: Confirmed malicious link, active RAT payload. Escalated to sandbox behavioral review.


Phase 4: Payload Behavioral Analysis

Multiple Payloads From Shared Loader Infrastructure

Further sandbox review confirmed the malicious link was not tied to a single payload family. The same loader infrastructure (107.175.247.199/loader/) served three distinct malware families, BitRAT, AsyncRAT, and a CoinMiner, each following a near identical execution pattern. This strongly suggests a shared loader or builder behind all three, rather than three independently developed campaigns.

Shared behavioral pattern observed across all three payloads:

  1. Initial dropper executes from a temp directory, establishes registry persistence, and begins reconnaissance
  2. PowerShell evasion, spawns an encoded PowerShell process decoding to Start-Sleep -Seconds 50, consistent with the sandbox timing evasion technique already identified above
  3. Self-replication, the dropper spawns a copy of itself as a child process, which itself spawns further self copies, producing a recursive process tree intended to frustrate analysis and survive termination of any single instance
  4. Active loader stage, one self copy reaches out to the C2 infrastructure and downloads the final stage payload
  5. Payload execution, a second PowerShell instance executes the downloaded final stage binary

CoinMiner

Pivoting on the CoinMiner sample's SHA-256 in VirusTotal's Relations tab surfaced its contacted URLs:

hxxp://ripley[.]studio/loader/uploads/Qanjttrbv[.]jpeg
hxxp://107[.]175[.]247[.]199/loader/server[.]exe

After the initial executable launched, it dropped additional executables before spawning the same obfuscated Start-Sleep -Seconds 50 PowerShell command. It then performed registry based reconnaissance, specifically querying:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Connections

Further host profiling included reading the machine GUID from the registry, enumerating environment variables, checking installed or supported languages, and retrieving the computer name, standard fingerprinting behavior used to tailor or gate the subsequent payload stage.

AsyncRAT

Contacted the same loader infrastructure, using a different decoy file extension:

hxxp://107[.]175[.]247[.]199/loader/server.exe   (final payload, ~5 MB, labeled executable)
hxxp://ripley[.]studio/loader/uploads/Zcpbmqlst.bmp   (~1 MB, labeled text, a disguised carrier file, not a genuine bitmap)

Process tree:

PID 1160 (Parent, Initial Dropper)
  |- PID 3960 (PowerShell, Evasion)
  \- PID 2560 (Self-copy, Active Loader)
        |- PID 2304 (Self-copy)
        |     \- PID 2528 (PowerShell, Payload Execution)
        \- PID 3712 (Self-copy)

PID 2560 (34793c6520dcf3c6130dc031fa640c71.exe) launched 56.6 seconds after the parent process started, dropped a new executable to disk (triggering a Creation of an Executable by an Executable detection rule), and made the outbound request for server.exe, confirming its role as the downloader stage. The sample also queried LSA protection status, a check malware commonly performs to gauge whether it could subsequently attempt credential theft from LSASS memory if PPL/LSA protection is not enabled. The use of a raw IP address, rather than a domain, for the final payload fetch is consistent with an attempt to evade DNS based blocking controls.

BitRAT (extended detail)

Process tree:

PID 2676 (Initial Dropper)
  |- PID 3556 (PowerShell, Evasion)
  \- PID 3884 (Self-copy, Active Loader)
        |- PID 3588 (Self-copy)
        |     \- PID 2640 (PowerShell, Payload Execution)
        \- PID 628 (Self-copy)

Network activity:

hxxp://ripley[.]studio/loader/uploads/Hjvnp.png   (~1 MB decoy, disguised config/carrier file)
hxxp://107[.]175[.]247[.]199/loader/server.exe    (~5 MB, final BitRAT payload)

BitRAT additionally beaconed to a set of UK hosted IPs, 185.125.190.27, 185.125.190.44, 185.125.190.45, apparently used as connectivity check targets rather than primary C2. Notably, the sample abused PuTTY.exe, a legitimate signed binary, consistent with BitRAT's known use of Plink (PuTTY's CLI component) for tunneling and lateral movement, a living off the land technique that helps the malicious network activity blend in with legitimate administrative tooling.

Post execution, the sample dropped a large number of files into the user directory, including JSON/INI configuration files, a .log file, PowerShell.json, and numerous randomly named files (e.g., 0_62_099a70c4a097ea7dc05a5c8db39f3eb355f6f6bf805920fdec0776be6309fcdd) consistent with either encrypted staging data or exfiltration/config artifacts.

Hosting infrastructure (WHOIS):

FieldValue
IP107.175.247.199
LocationUnited States (Buffalo, NY)
ASNAS36352, AS-COLOCROSSING / HostPapa
Netblock107.172.0.0/14
Abuse contactnet-abuse-global@hostpapa.com

HostPapa/ColoCrossing is a low cost, high density VPS provider frequently associated with abuse, consistent with the same IP serving three distinct malware families in a five day window, a pattern typical of cheap, loosely monitored infrastructure rented for short lived loader use.

Consolidated Attack Chain (BitRAT / AsyncRAT pattern)

StageProcess (BitRAT / AsyncRAT)Action
Stage 1PID 2676 / 1160Initial dropper runs from temp folder, sets registry persistence, begins recon
Stage 2PID 3556 / 3960PowerShell evasion, encoded Start-Sleep -Seconds 50
Stage 3PID 3884 / 2560Active loader, connects to 107.175.247.199, downloads server.exe
Stage 4PID 3588, 628 / 2304, 3712Self replication, additional self copies for resilience
Stage 5PID 2640 / 2528Payload execution, PowerShell launches the downloaded server.exe (BitRAT / AsyncRAT)

Phase 5: Corroboration Across Independent Sources

Independent of the manual header and sandbox analysis, two separate threat intelligence sources corroborated the same conclusion from different angles:

SourceFinding
VirusTotal55/71 vendor detections on the payload, "Popular threat label" consistent with BitRAT family
URLhaus (abuse.ch)Independently tagged the same hosting IP with AsyncRAT, BitRAT, CoinMiner across a multi day delivery window

This independent corroboration across two separate detection sources strengthens the classification and closes the evidentiary chain for reporting.


MITRE ATT&CK Summary

TacticTechniqueIDEvidence
ReconnaissanceGather Victim Identity Information: Email AddressesT1589.002Faculty email address list targeted via mass BCC send
Resource DevelopmentAcquire Infrastructure: Virtual Private ServerT1583.003Loader hosted on a bare IP VPS (HostPapa/ColoCrossing) rather than owned/registered infrastructure
Resource DevelopmentCompromise Accounts: Email AccountsT1586.002Throwaway Gmail/Workspace account used to relay the spoofed message
Initial AccessPhishing: Spearphishing LinkT1566.002Spoofed sender, embedded executable download link
ExecutionUser Execution: Malicious FileT1204.002Faculty target expected to download and run install.exe
Defense EvasionImpersonationT1656From: spoofed to erikajohana.lopez@uptc.edu.co, university logo reused in HTML body
Defense EvasionMasquerading: Match Legitimate Name or LocationT1036.005Payload filed as install.exe, later persisting under randomized names (Fsaxd.exe, Kjcrksvp.exe) to blend into normal file listings; decoy files disguised with image extensions (.jpeg, .bmp, .png)
Defense EvasionObfuscated Files or InformationT1027Base64/UTF-16LE encoded PowerShell command
Defense EvasionVirtualization/Sandbox Evasion: Time Based EvasionT1497.003Start-Sleep -Seconds 50 delay before payload activity, observed across all three payload families
Defense EvasionDeobfuscate/Decode Files or InformationT1140Decoy files served with image extensions containing hidden loader/config data
PersistenceBoot or Logon Autostart Execution: Registry Run KeysT1547.001HKCU\...\Run\Fsaxd and \Run\svcsvc entries
DiscoverySystem Information DiscoveryT1082Machine GUID, environment variables, supported languages, computer name enumeration
DiscoverySystem Network Configuration DiscoveryT1016Registry query of Internet Settings\Connections
DiscoveryLSASS Memory / Credential Access preparationT1003.001 (related)LSA protection status check prior to further activity
Command and ControlIngress Tool TransferT1105HTTP download of install.exe and server.exe from 107.175.247.199
Command and ControlRemote Access Software (family level capability)S0239 (BitRAT)RAT capability confirmed via VirusTotal and URLhaus tagging
Lateral MovementRemote Services: SSH / Tunneling via LOLBinT1021 / T1572 (related)Abuse of PUTTY.EXE/Plink for tunneling and lateral movement

Key IOCs

TypeValueContext
Spoofed sendererikajohana.lopez@uptc.edu.coImpersonated From address
Spoofed domainuptc.edu.coLegitimate domain being impersonated
True originating IP209.85.221.65 (mail-wr1-f65.google.com)Received: chain, true origin
SPF checked relay IP18.208.22.104Trend Micro relay, softfail result
Malicious URLhxxp://107.175.247.199/loader/install[.]exePayload delivery link
Malicious IP107.175.247.199Loader/hosting infrastructure
Secondary domainripley[.]studioAdditional attacker controlled loader infrastructure
Connectivity check IPs185.125.190.27, 185.125.190.44, 185.125.190.45UK hosted, contacted by BitRAT sample
Payload fileinstall.exe (aliases: Kjcrksvp.exe)Delivered executable
Payload SHA-2565ca468704e7ccb8e1b37c0f7595c54df4e2f4035345b6e442e8bd4e11c58f791Confirmed BitRAT
AsyncRAT loader copy34793c6520dcf3c6130dc031fa640c71.exeActive loader child process
Decoy/carrier filesQanjttrbv.jpeg, Zcpbmqlst.bmp, Hjvnp.pngDisguised as images, hosted on ripley[.]studio/loader/uploads/, likely config or staged payload data
Abused LOLBinPUTTY.EXE (Plink)Legitimate signed binary abused for tunneling/lateral movement
Persistence keyHKCU\...\CurrentVersion\Run\Fsaxd -> %APPDATA%\Fdqudm\Fsaxd.exeRegistry autorun
Persistence key (secondary)HKCU\...\CurrentVersion\Run\svcsvc -> %LOCALAPPDATA%\svcsvc\svcsvc.exeRegistry autorun
Detection rule triggeredCreation of an Executable by an ExecutableFired on AsyncRAT loader dropping/writing a new executable to disk
Fake referencePurchase Ref. 00034959, Access Code 8657Social engineering pretext detail

Classification & Recommendation

Classification: True Positive, Confirmed Spoofed Sender Phishing with Active Multi Family Malware Delivery (BitRAT, AsyncRAT, CoinMiner)

The activity represents a complete, low complexity but effective social engineering to malware chain: sender impersonation of a trusted university contact, a plausible low value "purchase receipt" pretext, and a direct executable download standing in for a document attachment. The same loader infrastructure was found to serve at least three distinct malware families, indicating a commodity loader or builder rather than a bespoke, single purpose campaign. Every indicator was corroborated across at least two independent sources (VirusTotal and URLhaus for the payloads; SPF/DKIM/DMARC and MX lookup for the sender).

Outstanding Items:

  • Search mail logs org wide for the exact subject line and sender to identify any other recipients beyond the original reporter
  • Query EDR/proxy logs for any outbound connection to 107.175.247.199, ripley[.]studio, or the UK connectivity check IPs; isolate immediately any host that connected
  • Hunt for the AsyncRAT loader child filename (34793c6520dcf3c6130dc031fa640c71.exe), the BitRAT persistence keys, and unexpected PUTTY.EXE/Plink invocations across the environment
  • Block sender address, malicious IP, secondary domain, and URLs at the email gateway, firewall, and proxy
  • Submit an abuse report to HostPapa/ColoCrossing (net-abuse-global@hostpapa.com) for the hosting IP
  • Notify UPTC that their domain is being spoofed (their DMARC posture has since improved, but the underlying impersonation risk to their own contacts remains relevant to flag)
  • Issue a faculty wide advisory on this specific pretext (routine low value "purchase receipt" with a direct download link)

Detection Tuning Recommendation:

An email authentication rule that flags messages where SPF softfails or fails AND the claimed sending domain's actual MX provider is inconsistent with a passing DKIM signature would have caught this at the gateway before delivery. The domain vs provider vs DKIM mismatch is a higher fidelity signal than SPF/DKIM failure alone, since it also correctly allows through legitimate mail relayed via third party services that the domain owner has properly authorized. Additionally, sandbox/EDR detection rules should flag Base64 encoded PowerShell -enc invocations that decode to Start-Sleep, since this specific evasion pattern is inexpensive to detect and strongly correlated with malicious loader behavior across all three payload families observed here. A rule flagging outbound requests to image labeled URLs (.jpeg, .bmp, .png) that return non image content types would also help detect this loader's decoy file technique earlier in the chain.

← Back to All Work→