1-minute read of a 5 min report

Iranian Actors Trigger Malware When Visual Studio Opens a Coding Test

By

1-minute read

What a defender needs to know

A fake Dubai Airports coding assessment carried a booby-trapped Visual Studio project. Palo Alto Networks Unit 42 reports that opening FlightManager.csproj could run a malicious GetFrameworkPaths target during design-time evaluation, before a developer compiled the application. Unit 42 links the lure to CL-STA-1178, an Iranian state-aligned cluster targeting Iraqi critical infrastructure. The earlier recruitment questionnaire was a decoy; Dubai Airports was impersonated, and Unit 42 says it knows of no compromise of that company’s systems.

Scope received DubaiAirport_Carrers_IT_Test.zip archives and the developer machines that opened them. Look for files copied from Resources into %LOCALAPPDATA%\Microsoft\RuntimeBrokers, especially RuntimeBroker.exe, RuntimeBroker.exe.config and RuntimeBroker.dll, then correlate msbuild.exe execution and the HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\MicrosoftRuntime value. The loader used GitHub for command traffic, so pair API connections with local staging and persistence rather than treating api.github.com access alone as malicious. Unit 42 says GitHub removed the infrastructure it identified.

Review untrusted project targets in an isolated development environment before opening them on connected developer workstations. Isolate a host with matching staging files and preserve process and network evidence. For a new project, verify that its GetFrameworkPaths target has not been replaced with outside instructions before Visual Studio evaluates it; an explicit build is already too late for this attack path.

Primary sources