Illegal mining in Indonesia of precious metals, like gold, copper, nickle and tin, cost the country $6.1B per year in lost tax revenues and license fees. Forensic investigations for illegal mining require on-site sampling across many sites to find geographic matches with seized samples and processed materials. Traditional testing methods, like wet chemistry, require highly trained specialists and can be very costly. Outsourcing samples to a lab is not ideal due to a long turnaround time which delays the investigation, and again, is very costly. The Indonesia Police Laboratory (Puslabfor) uses HDXRF technology to quantify the elemental composition of samples on-site, making it possible to quickly survey and discover links between field measurements and pre-measured contraband.