Contact us
Resillion logo
  • Solutions
    • Artificial Intelligence and Machine Learning
    • Total Quality
    • Digital Assurance
    • Cyber Security Services
    • Conformance and Interoperability
    • Media Content Services
    • Advisory
    • Tools and Partnerships
    • Service Delivery
    • Transforming Quality with AI
    • Total Quality in AI
    • Governance, Risk and Compliance Services
    • Enterprise Technology and Business Operations services
    • Quality Engineering
    • Enterprise Technology and Business Operations
    • Test Infrastructure Engineering
    • Non-Functional Testing
    • Functional Testing
    • Cyber Security Consulting and Testing Services
    • Security Training and Security-as-a-Service
    • Global Cyber Delivery Centre
    • Security Operations Centres and Managed Security Services
    • Digital Forensics Services
    • Europrivacy
    • High-Speed Serial Data
    • Wireless Connectivity
    • Broadcast and Streaming Media
    • Distributed Energy Resources
    • Wireless Power
    • Digital Mastering Services
    • Digital Restoration Services
    • Home Entertainment Services
    • QC On Demand
    • Governance, Risk and Compliance Advisory
    • Total Quality Advisory
    • Cyber Strategy Advisory
    • QE Transformation Advisory
    • Power Networks Demonstration Centre | Strathclyde
    • Testwizard
    • CRACY Toolkit
    • CI Plus Test Tool
    • Ligada iSuite for HbbTV
    • Digital Transformation
    • Managed Services
    • Transforming Quality with AI Advisory
    • Assuring AI with Total Quality Advisory
    • Assuring AI with Total Quality
    • Governance, Risk and Compliance for AI
    • Governance
    • Cyber Resilience Act
    • EU AI Act and Digital Service Act
    • Quality Intelligence
    • Agile and DevOps
    • Continuous Testing
    • SAP Assurance
    • ERP Assurance
    • Test Data Management (TDM)
    • Cyber Security Testing
    • Accessibility and Usability
    • Performance, Load and Stress Testing
    • Web and Mobile Testing
    • Test Automation
    • CISO-as-a-Service
    • Cyber Security for the Radio Equipment Directive
    • Penetration testing that adapts to your world
    • Red Teaming
    • USB Testing
    • Matter Certification
    • Aliro Certification
    • 4K HDR Immersive Logo
    • Ligada iSuite for HbbTV
    • Evora iSuite for DVB
    • CI Plus Test Tool
    • ATSC NEXTGEN TV
    • Qi Testing
    • Ki tooling and certification
    • Governance, Risk and Compliance for Energy
    • Governance, Risk and Compliance for Banking
    • Governance, Risk and Compliance for Business Operations
    • Governance, Risk and Compliance for Enterprise Technology and Operations
    • Governance, Risk and Compliance for Global Consumer Electronics
    • Governance, Risk and Compliance for Media
    • Governance, Risk and Compliance for Telecom
  • Industries
    • Banking, Financial Services and Insurance
    • Energy and Utilities
    • Global Consumer Electronics
    • Media
    • Telecoms
  • Insights
    • Blog
    • Case Studies
    • Events
    • News
    • Newsletters
    • Resources
  • About
    • Channel Partner Program
    • Compliance
    • Contact
    • Environmental, Social and Governance (ESG) at Resillion
    • Leadership team
    • Working at Resillion
    • Entry Level
    • Intermediate
    • Expert
    • Freelance/Consultant
  • Careers
Contact us
  • Solutions
    • Artificial Intelligence and Machine Learning
      • Transforming Quality with AI
        • Transforming Quality with AI Advisory
      • Total Quality in AI
        • Assuring AI with Total Quality Advisory
        • Assuring AI with Total Quality
        • Governance, Risk and Compliance for AI
    • Total Quality
      • Governance, Risk and Compliance Services
        • Governance
          • Governance, Risk and Compliance for Energy
          • Governance, Risk and Compliance for Banking
          • Governance, Risk and Compliance for Business Operations
          • Governance, Risk and Compliance for Enterprise Technology and Operations
          • Governance, Risk and Compliance for Global Consumer Electronics
          • Governance, Risk and Compliance for Media
          • Governance, Risk and Compliance for Telecom
        • Cyber Resilience Act
        • EU AI Act and Digital Service Act
      • Enterprise Technology and Business Operations services
    • Digital Assurance
      • Quality Engineering
        • Quality Intelligence
        • Agile and DevOps
        • Continuous Testing
      • Enterprise Technology and Business Operations
        • SAP Assurance
        • ERP Assurance
      • Test Infrastructure Engineering
        • Test Data Management (TDM)
      • Non-Functional Testing
        • Cyber Security Testing
        • Accessibility and Usability
        • Performance, Load and Stress Testing
      • Functional Testing
        • Web and Mobile Testing
        • Test Automation
    • Cyber Security Services
      • Cyber Security Consulting and Testing Services
        • CISO-as-a-Service
        • Cyber Security for the Radio Equipment Directive
        • Penetration testing that adapts to your world
        • Red Teaming
      • Security Training and Security-as-a-Service
      • Global Cyber Delivery Centre
      • Security Operations Centres and Managed Security Services
      • Digital Forensics Services
      • Europrivacy
    • Conformance and Interoperability
      • High-Speed Serial Data
        • USB Testing
      • Wireless Connectivity
        • Matter Certification
        • Aliro Certification
      • Broadcast and Streaming Media
        • 4K HDR Immersive Logo
        • Ligada iSuite for HbbTV
        • Evora iSuite for DVB
        • CI Plus Test Tool
        • ATSC NEXTGEN TV
      • Distributed Energy Resources
      • Wireless Power
        • Qi Testing
        • Ki tooling and certification
    • Media Content Services
      • Digital Mastering Services
      • Digital Restoration Services
      • Home Entertainment Services
      • QC On Demand
    • Advisory
      • Governance, Risk and Compliance Advisory
      • Total Quality Advisory
      • Cyber Strategy Advisory
      • QE Transformation Advisory
    • Tools and Partnerships
      • Power Networks Demonstration Centre | Strathclyde
      • Testwizard
      • CRACY Toolkit
      • CI Plus Test Tool
      • Ligada iSuite for HbbTV
    • Service Delivery
      • Digital Transformation
      • Managed Services
  • Industries
    • Banking, Financial Services and Insurance
    • Energy and Utilities
    • Global Consumer Electronics
    • Media
    • Telecoms
  • Insights
    • Blog
    • Case Studies
    • Events
    • News
    • Newsletters
    • Resources
  • About
    • Channel Partner Program
    • Compliance
    • Contact
    • Environmental, Social and Governance (ESG) at Resillion
    • Leadership team
    • Working at Resillion
      • Entry Level
      • Intermediate
      • Expert
      • Freelance/Consultant
  • Careers
  • Contact
Cyber Security Services, AI-powered Delivery

When trusted infrastructure becomes the attack surface

March 4, 2026

Most people think of Internet Information Services (IIS) as just a web server. It hosts internal portals, APIs, SharePoint deployments, authentication gateways, and line-of-business applications. It is deeply embedded in the environment, widely trusted by network policies and rarely subjected to same scrutiny as a user workstation.  

At the process level, all this runs inside w3wp.exe, a Microsoft-signed, highly privileged worker process that legitimately loads dynamic links, makes network connections and performs complex application logic. End-point security products expect this behaviour and firewalls permit this traffic.  

That implicit trust is what makes it interesting. 

In our recent research, we explored a simple question: 

What happens if an attacker gains write access to an IIS web root? 

Not full server compromise.
Not domain admin.
Just the ability to drop a file into wwwroot. 

Read full research
Red teaming

From file upload to native code execution 

Modern Endpoint Detection and Response (EDR) platforms catch traditional post-exploitation patterns: executables on disk, suspicious child processes, or scripting engine abuse. IIS behaves differently. 

An Active Server Pages Extended (ASPX) page is compiled and executed on the first request. There is no separate deployment step – drop the file, browse to it and it runs inside a trusted worker process that already performs complex operations as part of normal business activity. 

In our research, we show that a single ASPX page can act as a fully reflective, in-memory Dynamic Link Loader (DLL). The payload never exists on disk. It’s delivered via HTTP request, mapped into memory, relocated and executed entirely inside w3wp.exe. There’s no temporary DLL, no new process tree and no obvious parent-child anomalies – just native code running inside IIS worker pool process. 

Why Internet Information Services (IIS) is a prime target

IIS is widely deployed in enterprise environments, and in many organisations: 

Spyware

Web root permissions are more permissive than intended

Quantum Computers

Service accounts can write to application directories 

Ransonware

File upload vulnerabilities exist 

Secure Payment e1779175416285

Database compromise can lead to file write access 

With nothing more than write access to wwwroot, an attacker can establish a persistent, authenticated, in-memory execution platform inside a trusted process. 

That makes IIS a powerful lateral movement enabler. 

Reimplementing the Windows loader 

To avoid touching disk entirely, as part of our research we rebuilt key elements of the Windows Portable Executable (PE) loader in C#. 

That meant: 

  • Parsing DOS and NT headers 
  • Allocating memory for the image 
  • Copying PE sections into the correct locations 
  • Processing base relocations 
  • Resolving imports and patching the Import Address Table 
  • Registering x64 exception handlers 
  • Executing TLS callbacks 
  • Applying proper memory protections 
  • Manually invoking the DLL entry point 

If any of these steps are done incorrectly, w3wp.exe crashes. That’s not theoretical – we hit the edge cases and debugged the failures. 

The full paper walks through these implementation details clearly, including the subtle issues that most high-level discussions skip – especially around x64 structured exception handling and C runtime initialisation. 

Hardening against detection 

Getting reflective loading to work is only part of the challenge. The next step was reducing the static and behavioural footprint of the loader itself. 

Early versions relied on static DllImport declarations for well-known Windows APIs. Those signatures are easy for scanners to flag. We replaced them with dynamic API resolution so that only minimal bootstrap imports remain visible, while sensitive calls are resolved at runtime. 

Recognisable API names were removed from the source entirely. Instead of embedding strings such as VirtualAlloc or CreateThread, names are reconstructed dynamically. Suspicious hexadecimal constants like 0x40 or 0x1000 are no longer hardcoded; they are computed at runtime to avoid obvious static indicators. 

We also eliminated identifiable opcode patterns. Earlier development builds used fixed byte arrays for entry point stubs. These were replaced with programmatically constructed instruction sequences, so no recognisable shellcode patterns appear in the file. 

Finally, identifiers and comments were sanitised. Names that clearly described reflective loading behaviour were replaced with neutral terminology. The result is a loader that blends more naturally into the surrounding ASP.NET application code. 

The objective was not invisibility. It was understanding how small design choices influence detection surface and how modern defensive tooling interprets artifacts. 

dynamic energy pricing

Detection implications 

Fileless does not mean invisible. 

Even when no DLL is written to disk, the technique still requires executable memory allocation inside w3wp.exe. It results in threads that begin execution from unbacked memory regions. It correlates inbound HTTP requests with memory changes in a trusted process. 

Individually, those signals may look benign. IIS legitimately allocates memory. Threads are created all the time. HTTP POST requests are normal. 

But when those events align within a narrow time window on the same host, they form a meaningful detection opportunity. 

Effective defence in this space requires telemetry correlation across web logs, process memory monitoring and thread creation events. It also requires tightening web root permissions and monitoring for unexpected file changes in content directories. 

The bigger takeaway 

This research demonstrates a complete attack chain: from write access to an IIS web root to arbitrary native code execution in memory inside a trusted process. 

For red teamers, the lesson is clear. IIS is not just infrastructure. It can become a stable, trusted execution platform that blends into normal enterprise activity. 

For defenders, the takeaway is equally important. When execution happens inside trusted, Microsoft-signed processes and payloads never appear as standalone files, detection strategies must move beyond simple file scanning and process ancestry checks. 

IIS is often treated as a passive web server. 

In the wrong hands, it becomes something much more powerful 

Essential reading for red and blue teams 

Whether you’re on the offensive or defensive side, this paper provides detailed, practical insights you won’t find in high-level discussions.  If you want the full technical breakdown – from reflective loading implementation to detection guidance – the complete paper is a must-read. 

Related Insights

Providing solutions in a unified, structured approach across all critical domains to enable end-to-end quality.

Insights
91% customer satisfaction for cybersecurity
June 16, 2026

Resillion achieves 91% customer satisfaction score for cyber security in Q1

Read more
Resillion
June 15, 2026

AI meets Live TV testing for a leading telecoms provider

Read more
Blog ads. data center jpg
June 15, 2026

Why database cloning for testing no longer works

Read more
Lets meet at IFA Berlin 2026
June 13, 2026

Let’s meet at IFA Berlin 2026

Read more
Red Team exercise for a large UK public sector organisation
June 13, 2026

Your test data is probably giving you false confidence

Read more

Get in touch

Providing solutions in a unified, structured approach across all critical domains to enable end-to-end quality – Because we’re the only ones who can.

Software testing specialist

Our accreditations and certifications

living-wage-employer CREST logo for cybersecurity services including vulnerability assessment, penetration testing, and SOC capabilities NCSC CHECK Penetration Testing logo representing cybersecurity assessment and penetration testing standards Approachable Registered ISO 27001 certification logo representing information security management standards Approachable Registered ISO 27001 certification logo representing information security management standards CCV Cyber Pentest certification logo representing cybersecurity testing and penetration testing standards Cyber Essentials logo for cybersecurity certification and security compliance Cyber Essentials Plus logo for cybersecurity certification and security compliance EPI Logo primary positive RGB scaled Europrivacy living-wage-employer CREST logo for cybersecurity services including vulnerability assessment, penetration testing, and SOC capabilities NCSC CHECK Penetration Testing logo representing cybersecurity assessment and penetration testing standards Approachable Registered ISO 27001 certification logo representing information security management standards Approachable Registered ISO 27001 certification logo representing information security management standards CCV Cyber Pentest certification logo representing cybersecurity testing and penetration testing standards Cyber Essentials logo for cybersecurity certification and security compliance Cyber Essentials Plus logo for cybersecurity certification and security compliance EPI Logo primary positive RGB scaled Europrivacy
living-wage-employer CREST logo for cybersecurity services including vulnerability assessment, penetration testing, and SOC capabilities NCSC CHECK Penetration Testing logo representing cybersecurity assessment and penetration testing standards Approachable Registered ISO 27001 certification logo representing information security management standards Approachable Registered ISO 27001 certification logo representing information security management standards CCV Cyber Pentest certification logo representing cybersecurity testing and penetration testing standards Cyber Essentials logo for cybersecurity certification and security compliance Cyber Essentials Plus logo for cybersecurity certification and security compliance EPI Logo primary positive RGB scaled Europrivacy living-wage-employer CREST logo for cybersecurity services including vulnerability assessment, penetration testing, and SOC capabilities NCSC CHECK Penetration Testing logo representing cybersecurity assessment and penetration testing standards Approachable Registered ISO 27001 certification logo representing information security management standards Approachable Registered ISO 27001 certification logo representing information security management standards CCV Cyber Pentest certification logo representing cybersecurity testing and penetration testing standards Cyber Essentials logo for cybersecurity certification and security compliance Cyber Essentials Plus logo for cybersecurity certification and security compliance EPI Logo primary positive RGB scaled Europrivacy
Resillion logo no strapline CMYK 4 white

24×7 Cyber Incident Response

+44 (0)330 223 0724

Email

[email protected]

Follow us

LinkedIn Icon YouTube Icon

Newsletter

© 2026 Resillion
  • Website Privacy Policy
  • Cookie Policy
  • Reporting bugs and vulnerabilities
  • Complaint Policy
  • ESG at Resillion
  • Modern Slavery Policy
  • Sitemap
GA4 Proxy: JS Loaded