DUC PHAT / SECURITY
Independent projects / Pentesting & reverse engineering

Security research.
Show the evidence.

I study how systems fail, then turn observations into reproducible experiments and clear remediation.

Explore selected work

PYTHON / C & C++ / POWERSHELL / C# & IL

OBSERVE CAREFULLY. TEST THE CLAIM. EXPLAIN THE LIMITS.

A small collection.
Room to inspect the details.
04SELECTED PROJECTS
192ARCHIVED NASIM RUNS
06SIMULATED SCENARIOS

Selected work

CODE, RESULTS & REASONING
OPEN FOR INSPECTION

Research / Reinforcement learning

MIP-Q
Pentesting in simulation

Testing how action masking, curiosity and reward shaping change an agent's learning behavior across NASim network scenarios.

PYTHON · NASIM · Q-LEARNING
Read the research & code
ARCHIVED ABLATION6 × 4 × 8
Mean success · MIP-Q (Full)
SCENARIOSUCCESS
tiny0.875
tiny-small1.000
small1.000

Config 19500fe9c7c2 · 8 seeds per row.
Simulator evidence. Results vary by scenario; tiny underperforms the Vanilla baseline.

Windows / Kernel & user mode

A file-access policy.
Inside the kernel.

A minimal file-system minifilter, its C++ client, and a behavioral check that distinguishes access denied from unrelated errors.

C / C++ · FILTER MANAGER · POWERSHELL
Inspect the driver lab
POLICY UNDER STUDYIRP_MJ_CREATE
final component
Secured.txt
Matching new openDENY
Other namesPASS THROUGH

Source review plus a VM test procedure.
Driver loading is not validated here. A fixed filename rule is not a complete security boundary.

Reverse engineering / Managed code

Legacy .NET.
Modern trust questions.

Following configuration bytes, serialized objects, archive paths and dynamic assemblies through a desktop client. Each finding names its preconditions and fix.

C# / IL · ILSPY · STATIC ANALYSIS
Read the security case study
TRUST BOUNDARY MAPSTATIC REVIEW
Configuration Bytes become runtime objects
Archive extraction Entry names become filesystem paths
UI delivery Response bytes become loaded code

Anonymized analysis with path assertions.
Static findings stay distinct from runtime exploitation. No end-to-end compromise is claimed.

Game reverse engineering / Unity & IL2CPP

Rust client.
Under the surface.

Tracing obfuscated metadata into native Unity behavior. Diagnosing a cached-layout mismatch and a capture stall using binary bytes, source and historical logs.

IDA PRO · C++ · PYTHON · UNITY / IL2CPP
Read the Rust case study
NATIVE DATA & CAPTURE TIMINGSTATIC + LOG REVIEW
Primary data vs lazy cache Native hierarchy access differs from accessor initialization
Recorded capture stall7,703 ms
Reviewed retention window1,000 ms

14 Unity references rechecked; native receipts retained.
Direct-layout correction is now present in source. Current runtime behavior, server exploitation and EAC bypass are unverified.

A finding needs
more than a label.

01 / OBSERVE

Trace the input.

Follow the call path and identify where data crosses a trust boundary. Keep source facts separate from assumptions.

02 / TEST

Bound the claim.

Use a reproducible check and retain the evidence. A path calculation, a simulator result and a runtime exploit prove different things.

03 / EXPLAIN

Fix the root cause.

Describe preconditions, practical impact and remediation. Document what the test did and what remains unverified.

About this work

I'm Duc Phat. My focus is pentesting and reverse engineering, with hands-on projects in simulated attack planning, Windows internals, managed-code security and Unity / IL2CPP analysis.

These repositories turn existing local studies into small, readable public artifacts. Each includes source provenance, checks or a validation procedure, and explicit limits.

TOOLS USED HERE
Python · PowerShell · C / C++ · C# / IL
NASim · ILSpy · IDA Pro · Unity / IL2CPP · Windows Filter Manager

Start with the code.
Follow the evidence.

Questions about an artifact? Open an issue in its repository.

github.com/ducphat1310 ↗