LIVE · cybersecurity feed
Live wire
Critical Elementor Pro bug exposes WordPress sites to RCE attacksThe push to designate AI as the next critical infrastructure sectorCritical Zimbra RCE flaw now actively exploited in attacksExploitation Expected for Critical Authentication Bypass Patched in Citrix NetScalerCVE-2026-19478 · Critical GitLab Flaw Exploited Shortly After DisclosureCVE-2026-32475 · Elementor Pro Flaw Could Let Unauthenticated Attackers Upload PHP and Execute Code8,539 reasons to rethink how vulnerabilities get patched'Not a theoretical risk,' feds warn as attackers use AI-made code to hack critical infrastructure controllersNSA, FBI warns of hackers using AI-generated tools in attacks on critical infrastructure technologyUS warns of AI-powered attacks on Siemens PLCs in critical infrastructure
security

Using Microsoft Graph and Powershell - Risk Detection Commands, (Thu, Aug 20th)

Building on the last diary on Using MS Graph and Powershell, let&#;x26;#;39;s look at "Risky" logins.

zeroday.news ·

A recent report discussed methods for leveraging Microsoft Graph and PowerShell to identify "risky" logins within an environment. This follows previous discussions on general usage of Microsoft Graph and PowerShell, focusing specifically on the detection of potentially compromised user accounts or suspicious authentication attempts.

The core mechanism involves querying Microsoft Graph, a RESTful web API that allows access to data and intelligence from Microsoft 365 services, using PowerShell cmdlets. Specifically, the focus is on retrieving risk detection information, which Microsoft 365 services generate based on various signals. These signals can include unusual login locations, impossible travel scenarios, leaked credentials, or sign-ins from infected devices.

Microsoft Graph exposes a rich set of APIs for security and identity management, including endpoints related to identity protection and risk detections. PowerShell provides the scripting capabilities to authenticate to Microsoft Graph, construct appropriate queries, and parse the returned JSON data. This allows administrators to programmatically fetch data points indicating user risk levels and specific risky events.

For instance, an administrator might use PowerShell to query the "identityProtection/riskDetections" endpoint of Microsoft Graph. The returned data would contain details about detected risks, such as the user involved, the type of risk, the detection time, and associated IP addresses or locations. This information is crucial for security teams to investigate potential compromises and take remedial actions.

Products like Azure Active Directory Identity Protection, which is part of Microsoft Entra, are designed to automate the detection and remediation of identity-based risks. The reported method essentially provides a programmatic way for organizations to access and integrate these risk signals into their existing security operations and incident response workflows, rather than relying solely on the portal interface.

Mitigation for risky logins typically involves multi-factor authentication (MFA), conditional access policies that block or challenge suspicious sign-ins, and regular review of identity protection reports. When a risky login is detected, common responses include forcing a password reset, revoking sessions, or temporarily blocking the user account until the risk can be investigated and mitigated.

The ability to programmatically access and analyze risk detection data from Microsoft Graph using PowerShell represents a powerful tool for security professionals. It allows for greater automation in threat hunting, incident response, and continuous monitoring, enabling organizations to proactively identify and respond to evolving identity-based threats within their Microsoft 365 ecosystems.

ShareXLinkedInWhatsAppFacebook

More News

view all →
CVE-2026-73570

Hackers Target Zimbra Servers in Active Exploitation Campaign

Exploitation of the Zimbra Collaboration vulnerability CVE-2026-73570 has been observed by Poland’s CERT Polska. The post Hackers Target Zimbra Servers in Active Exploitation Campaign appeared first on SecurityWeek.

vulnerabilitycritical

Critical Elementor Pro bug exposes WordPress sites to RCE attacks

A critical vulnerability in the Elementor Pro WordPress plugin could allow attackers to upload executable files for remote code execution on the server. [...]

security

Surveillance – Everything You Wanted to Know, But Were Afraid to Ask

We all know they’re watching us. But we don’t know who they are, nor why nor how they are doing it. The post Surveillance – Everything You Wanted to Know, But Were Afraid to Ask appeared first on SecurityWeek.

nation-statecritical

The push to designate AI as the next critical infrastructure sector

The designation would unlock a range of federal services, tools and resources for an industry that policymakers view as increasingly tied to national and economic security. The post The push to designate AI as the next critical infrastructure sector appeared first on CyberScoop.

malware

'Grandoreiro' Malware Resurfaces With Mexico Campaign

The banking Trojan, post-law enforcement takedown, is sprucing itself up with features that make detection and analysis harder.

ai

Twitch wants your content for Amazon AI training. Here’s how to opt out

Twitch added an option to opt out of training Amazon AI with your content—two years after it confirmed that training had begun.