Azure App Service: Generating memory dumps on first chance exception using Procdump

In one of my older posts, I have explained on how we can generate memory dumps on first chance exceptions using Debug Diag. In certain scenarios where the users do not have permissions to install tools, users have to look for alternate options. For example, in Azure App Service, the users do not have permissions…

0

Azure App Service: Manually collect memory dumps

While troubleshooting web application performance issues we are sometimes required to gather memory dumps during the time of the issue. In Azure App Service, we do not have RDP access to the machines. However, this doesn’t restrict us from gathering logs & data for troubleshooting. I am listing out few methods using which we can…

1

Azure App Service: How to read & parse connection strings via PHP

On Azure App Service, developers have the ability configure the connection strings as key-value pair under App Settings section as shown below: At runtime, Azure App Service retrieves this key-value pair for you and makes them available to your hosted application. These are provided to the web app as Environment Variables. Here is a good…

0

Azure App Service: Using cURL for deployment

cURL is a command line tool that can be used to send or receive files. cURL.exe supports numerous protocols like HTTP, HTTPS, FTP, FTPS, SFTP, LDAP, TELNET, SMTP, POP3 etc. For more information please refer the below links: https://en.wikipedia.org/wiki/CURLhttps://curl.haxx.se/docs/ Syntax curl.exe -T <path-to-file-that-needs-to-be-deployed> -u “username:password” “FTP URL” From curl documentation –T, —upload-file FILE Transfer FILE…

0

Azure App Service: How to connect to the Kudu site of a specific instance

Every Azure Web App has an associated ‘scm’ service site, which runs Kudu and other Site Extensions. OVERVIEW: Kudu site can be accessed using either of these credentials Single Sign-on User-level credentials (aka Deployment Credentials) Site-level credentials  (aka Publish Profile Credentials) Kudu site always connect to a single instance. E.g. If the site is hosted…

0

AZURE REST API & PowerShell: Retrieve Cloud Service Configuration

Recently I was working on an issue where we had to retrieve PaaS instance configuration details like the RDP, OS Family, Reserved IP etc. Typically this is present in the .cscfg file of a Cloud Service. We had to retrieve these details via Azure Service Management REST API. Documentation on the Operations on Cloud Services…

0

Client Certificate Authentication

SSL/TLS certificates are commonly used for both encryption and identification of the parties. In this blog post, I’ll be describing Client Certificate Authentication in brief. Client Certificate Authentication is a mutual certificate based authentication, where the client provides its Client Certificate to the Server to prove its identity. This happens as a part of the…

4

WinDBG – Modifying icons to identify 32/64 bit debuggers

This article is not very technical in nature. Its purpose is to simplify an administrative task. Sharing this in case someone finds it useful. I use WinDBG for debugging memory dumps on a daily basis. It is a helpful tool in diagnosing performance issues of an application. It comes in 2 flavors, 32 bit &…

2

POODLE Vulnerability: Padding Oracle on Downgraded Legacy Encryption

INTRODUCTION POODLE abbreviates to Padding Oracle On Downgraded Legacy Encryption. This vulnerability was discovered by Bodo Möller, Thai Duong & Krzysztof Kotowicz from the GOOGLE security team and published here. I’m using the information published in this article as a reference for this blog post. This vulnerability has been listed in NVD; here is the…

3