I followed the instructions on http://blog.maartenballiauw.be/post/2012/03/27/Protecting-Windows-Azure-Web-and-Worker-roles-from-malware.aspx to set up antimalware for my web role.
1) Download and install Microsoft Endpoint Protection for Windows Azure Customer Technology Preview on my local computer.
2) Add<ImportmoduleName="Antimalware"/> to my service definition.
3) Add monitoring to my WebRole.cs OnStart method.
However, when I run the project on Azure Emulator Express, the Endpoint Protection installer crashes.
When deployed to Azure, the web role restarts and cycles indefinitely.
Crash reporting dialog on local computer
[Window Title]
AzureEndpointProtectionInstaller
[Main Instruction]
AzureEndpointProtectionInstaller has stopped working
[Content]
Windows is checking for a solution to the problem...
[Cancel]
Event Viewer on local computer
Fault bucket -1185906808, type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0
Problem signature:
P1: azureendpointprotectioninstaller
P2: 6.2.0.0
P3: 4ff16b9e
P4: Microsoft.WindowsAzure.EndpointProtection.Common
P5: 6.2.0.0
P6: 4ff16b7e
P7: 1e
P8: 11
P9: System.IO.FileNotFoundException
P10:
Attached files:
C:\Users\LiHuan\AppData\Local\dftmp\Resources\929d6dd6-9e6d-4f5b-ad0f-3beb5e546348\temp\temp\RoleTemp\WER36FB.tmp.WERInternalMetadata.xml
These files may be available here:
C:\Users\LiHuan\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_azureendpointpro_451db2453267111a89536c5bcf2aa25e553bae55_00000000_11f53a85
Analysis symbol:
Rechecking for solution: 0
Report ID: 01776f53-19ef-11e4-8352-00037aa25de9
Report Status: 0
Hashed bucket: dd50dfc8120939d0bc66048dbe682370