Sr. Content Developer at Microsoft, working remotely in PA, TechBash conference organizer, former Microsoft MVP, Husband, Dad and Geek.
165716 stories
·
33 followers

Hackers Compromise Check Point Servers In 22 Organizations

1 Share
Hackers have compromised 24 Check Point Security management servers across 22 organizations in 17 countries in a suspected cyberespionage campaign, according to threat intelligence firm GreyNoise. BleepingComputer reports: The researchers track the activity as GT13 and confirmed it was ongoing between October 17 and November 2, when their visibility ended. However, given the threat actor's persistent access to Check Point devices, they believe the campaign remains active. GreyNoise says the 22 victim organizations are spread across 17 countries, and show no clear evidence of specific targeting. They include government entities, financial services providers, and companies in the energy, transportation, mining, and manufacturing sectors. The attacks were launched from 99 IP addresses that appear to come from compromised Check Point devices and ExpressVPN exit nodes. A Rejetto HTTP File Server, compromised by exploiting CVE-2026-61500, was used as an operational relay for managing intrusions and collecting stolen data from the compromised environments. While GreyNoise could not determine when or how the Check Point servers were breached, it observed the exploitation of CVE-2026-16232 during the post-compromise stages. The vulnerability is an authentication bypass in Check Point SmartConsole that allows attackers to obtain an application login token and authenticate with administrator privileges. Check Point warned about the flaw in July, marking it as an actively exploited zero-day. The researchers also observed attempts to exploit CVE-2025-5777 (Citrix NetScaler), CVE-2024-21893 (Ivanti), CVE-2026-41089 (Windows NetLogon), CVE-2026-16232 (Check Point SmartConsole auth bypass to Run Script), and CVE-2026-98432 (Linux IPv4 UAF).

Read more of this story at Slashdot.

Read the whole story
alvinashcraft
8 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Dozens of oil and shipping tankers hacked in recent weeks, per report

1 Share
Iran is the chief suspect behind the dozens of cyberattacks targeting oil and chemical shipping vessels.
Read the whole story
alvinashcraft
8 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Microsoft Declares 'Code Red' After Historic Outage

1 Share
Microsoft has declared a "Code Red" initiative to overhaul its engineering and crisis response practices following a 24-hour outage on November 12-13 that disrupted governments, financial firms and airlines worldwide, according to internal memos reviewed by Reuters. Never before had so many customers been without email for so long, said M365 Core President Jason Henderson. "Code Red means that this is the highest priority work for our team," Henderson added. From the report: Amanda Silver, Microsoft's corporate vice president overseeing M365 Core and Work IQ, the company's workplace intelligence platform for AI agents, said in a separate memo on Monday that engineers had to work through a "fog of war" as the outage unfolded. Despite deploying top engineering personnel, responders exchanged more than 11,000 messages across 11 Teams chats and struggled to maintain a cohesive picture of hypotheses and decisions because diagnostic data was scattered across fragmented internal tracking systems, Silver said. [...] As part of the Code Red, a high-priority mobilization reserved for critical crises, Silver outlined five workstreams focused on load shedding, geographic traffic partitioning and faster recovery mechanisms. Microsoft set a target of achieving worldwide resolution within an hour during future incidents and plans to deploy AI agents to help engineers diagnose system health data more quickly. Henderson said he would hold daily meetings with the Substrate leadership team, which oversees the engineering group responsible for underlying Microsoft 365 services, to track actions stemming from the outage, along with weekly reviews. The company spokesperson said Microsoft is committed not only to resolving issues when they occur, but to doing everything possible to prevent future disruptions. "Unfortunately, all the work we have done over the years was not sufficient to protect us on Thursday," Henderson said, adding that he had conducted an extensive review of the broader organizational and structural issues that allowed the failures to occur. In another memo earlier this month reviewed by Reuters, Henderson said "urgent patches to our M365 Core services" took too long to deploy worldwide. "In a separate recent incident, an urgent production fix took five to six days to reach worldwide saturation. For our most urgent security issues, we need to get from detection to safe worldwide deployment in an hour. Needless to say, we aren't here yet," he wrote.

Read more of this story at Slashdot.

Read the whole story
alvinashcraft
9 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Tame Your Agent Sessions with the New VS Code Inbox

1 Share
From: JamesMontemagno
Duration: 2:07
Views: 88

Juggling AI agent sessions across projects can get overwhelming. Take a look at the new Inbox in VS Code’s Agents window: see finished and active sessions at a glance, then filter by repository or environment to find the work you need. The feature is evolving, so check out the latest VS Code Insiders build and give it a try.

Learn more: https://code.visualstudio.com/updates/v1_147#_inbox-mode-improvements-experimental

Join this channel to get access to perks:
https://www.youtube.com/channel/UCENTmbKaTphpWV2R2evVz2A/join

πŸ‘• Buy some swag! - https://jamesmontemagno.myspreadshop.com/
β˜•οΈ Buy me a coffee - https://www.buymeacoffee.com/jamesmontemagno

Follow:
πŸ‘¨β€πŸ’» GitHub: https://github.com/jamesmontemagno
🦜 X: https://x.com/jamesmontemagno
πŸ“„ Website: https://www.montemagno.com
πŸ“° Newsletter: https://newsletter.montemagno.com/

Disclaimer: This channel, videos, and streams are created in my spare time and are a product of me... James Montemagno! They are NOT officially affiliated or endorsed by Microsoft (my employer) in any way. Opinions and views are my own.

What is on my hat? It is the CLE clothing logo because I am from Cleveland! Checkout their awesome CLE merch: https://cleclothingco.myshopify.com/

What is that art on my wall? It is an original piece from the French street artist Gregos of La Butte Montmartre: https://www.instagram.com/p/BceZ1oNHiQx/

My Setup:
ℹ️ My Icons: https://marketplace.visualstudio.com/items?itemName=Catppuccin.catppuccin-vsc-icons
πŸ“· Canon M50 Mark II - https://amzn.to/3P8R7lp
πŸ’‘ Nanoleaf Elements Lights - https://amzn.to/3umwJVW
πŸŽ™ Blue Spark Microphone - https://amzn.to/3qgtYkq
πŸŽ™ Blue Pop Filter - https://amzn.to/3jEWM3r
🀳 Rode Microphone Arm - https://amzn.to/2Z68AlE
🎧 Sony MDR7306 Headphones - https://amzn.to/372jxta
πŸ“² Stream Deck - https://amzn.to/373Uk1n
πŸ–± MX Master 2S Mouse - https://amzn.to/3d7J2gj
⌨️ Tecware Phantom Keyboard - https://amzn.to/3aUP4y9

Using links I provide I may receive a commission if you buy something which helps support the channel.

Read the whole story
alvinashcraft
10 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

Package.appxmanifest vs AppxManifest.xml

1 Share

Ever notice some MSIX project source trees have a Package.appxmanifest file instead of AppxManifest.xml and wonder: Why, and how do they differ?

Package.appxmanifest vs. AppxManifest.xml: What’s the difference?

Package.appxmanifest is a templated variant of AppxManifest.xml.

Visual Studio packaging projects introduced the convention of Package.appxmanifest as a template, using placeholder tokens such as $targetnametoken$ and $targetentrypoint$. Packaging projects would read this file during their build, replace the placeholder tokens with appropriate values, and save the result in the build’s output directory1 as AppxManifest.xml. The generated AppxManifest.xml is the file ultimately consumed by the packaging toolchain.

For example, a Package.appxmanifest containing

...
    <Application Id="App"
      Executable="$targetnametoken$.exe"
      EntryPoint="$targetentrypoint$">
...

could become an AppxManifest.xml with

...
    <Application Id="App"
      Executable="PointOfSale.exe"
      EntryPoint="Contoso.PointOfSale.CardReader">
...

Package.appxmanifest is an AppxManifest.xml file, except some values have been replaced with template placeholders (and the filename differs).

That’s why you can edit Package.appxmanifest exactly as you would AppxManifest.xml. This is handy when Visual Studio doesn’t provide interactive UI or project properties to add or set manifest content for you. For example, there’s no VS feature to make a Framework package, but you can create one by directly editing Package.appxmanifest to add <Framework>true</Framework>

<Package...>
  ...
  <Properties>
    <Framework>true</Framework>
    ...

Visual Studio may not know how to add the <Framework> element to Package.appxmanifest, but it respects and preserves your edits.

This isn’t terribly surprising because the transformation from Package.appxmanifest to AppxManifest.xml is fundamentally a string-substitution process.

Transform without Visual Studio

You can perform the same transformation yourself with a small script or program, provided you have the necessary input data.

For example, let’s write a script file SetVersion.ps1 to set the package’s version per the version in a file’s VERSIONINFO:

param(
    [string]$From="Package.appxmanifest",
    [string]$To="AppxManifest.xml",
    [Parameter(Mandatory=$true)][string]$Exe
)

Set-StrictMode -Version 3.0

$ErrorActionPreference = "Stop"

$version = [System.Diagnostics.FileVersionInfo]::GetVersionInfo($exe).FileVersion

$manifest = [IO.File]::ReadAllText($From)
$manifest = "$manifest" -replace "#version#", "$version"
[IO.File]::WriteAllText($To, $manifest)

Now given a Package.appxmanifest file containing

<Package...>
  ..
  <Identity...Version="#version#".../>
  ...
</Package>

and PointOfSale.exe containing version 2026.11.22.0 in its VERSIONINFO, we can run the command

pwsh.exe -File .\SetVersion.ps1 -NoProfile -NonInteractive -Exe C:\Contoso\bin\Release\x64\PointOfSale.exe

and voila! AppxManifest.xml has the matching version:

<Package...>
  ..
  <Identity...Version="2026.11.22.0".../>
  ...
</Package>

Visual Studio initially created Package.appxmanifest, but the notion of a templated file transformed by a build process to the final product is as old as dirt. Modern MSIX projects typically perform the transformation through build targets, but the underlying idea remains the same: start with a template manifest, substitute build-specific values, and produce the final AppxManifest.xml.


1 For example, $(OutDir)\AppxManifest.xml

The post Package.appxmanifest vs AppxManifest.xml appeared first on Inside MSIX.

Read the whole story
alvinashcraft
10 minutes ago
reply
Pennsylvania, USA
Share this story
Delete

All or nothing: distributed transactions in Azure Cosmos DB

1 Share

Azure Cosmos DB for NoSQL can now commit writes across partition keys, containers, and databases as one atomic unit. Distributed transactions are currently in public preview. Every operation commits, or none of them do.

Previously, applications that needed atomic operations across multiple logical partitions often relied on application-managed patterns such as sagas and compensating transactions. Distributed transactions move that coordination into Azure Cosmos DB, simplifying application logic while preserving all-or-nothing execution.

This blog explains the problem, introduces the API, and walks through the sample application, where Alice transfers money to Bob and the application records a ledger entry.

What problem do distributed transactions solve?

Alice sends Bob $150. That’s three different write operations: Alice’s balance goes down, Bob’s goes up, and a ledger entry records the transfer. If any one of them lands without the others, your books are wrong.

Alice and Bob account cards and a ledger entry, all highlighted together: either all three writes happen, or none do.

In the sample, those three items deliberately live in different places:

Sample data model: a banking database with an accounts container holding alice and bob in separate logical partitions, and a ledger container partitioned by posting month.

Item Container Partition key value
Alice’s account accounts alice
Bob’s account accounts bob
Ledger entry ledger posting month, for example 2026-11

Both containers use /pk as the partition key path. The distributed transactions guide use the same banking /accounts/ledger shape.

Why were transactions previously limited to one logical partition?

Azure Cosmos DB scales by partitioning your data. Its ACID guarantees, with snapshot isolation, have always applied to operations within one logical partition key (learn more). Because Alice and Bob use different partition keys, the transfer crossed that boundary.

Animated grid of partitions with a red arc between P1 and P22 crossed out: no transactions across partition keys.

Applications typically used one of two approaches::

  • Model around it. If the items that change together share a partition key, use transactional batch. It’s atomic, but limited to one partition key in one container, 100 operations, 2 MB and 5 seconds. If one operation fails, the others return 424 (failed dependency) or 409 (conflict).
  • Build a saga pattern. Split the business transaction into local steps and write compensating “undo” steps for when something fails. As the Ignite session put it, you build and operate all of it yourself, and retries, timeouts and compensations live in your code.

Transactional batch remains the best fit when the data model stays within one partition key. Distributed transactions address the cases that genuinely span partitions, containers, or databases.

What are distributed transactions in Azure Cosmos DB?

Distributed transactions are atomic read or write transactions that span logical partitions, containers, and databases within one Azure Cosmos DB for NoSQL account and region.

Same all-or-nothing guarantee: one account containing two databases, with patch, replace, delete and create operations across partitions, all inside one transaction.

  • Write transactions start with CosmosClient.CreateDistributedWriteTransaction(). You can combine CreateItem, UpsertItem, ReplaceItem, PatchItem and DeleteItem in one transaction, and they commit or abort together.
  • Read transactions start with CosmosClient.CreateDistributedReadTransaction().They return the requested items from one committed snapshot, so the reader does not observe a partially applied distributed write.
  • Scope: logical partitions, containers and databases within the same account and region.

Transactional batch covers one logical partition key; a distributed transaction covers partitions, containers and databases in one account and region.

How it works under the covers. Under the hood – Azure Cosmos DB coordinates a two-phase commit protocol across the participating partitions. During the preparation phase, participants validate and prepare their operations. Once all participants have successfully prepared, the service coordinates the commit. If preparation fails, the transaction is aborted. The benefit is that your team/application doesn’t run a coordinator and there is no need to orchestrate compensation logic anymore.

Two-phase commit diagram: a coordinator run by the service, three participants voting yes, then commit.

How does the sample app use distributed transactions?

The sample application is built with .NET and uses the Azure Cosmos DB .NET SDK (Microsoft.Azure.Cosmos 3.64.0-preview.0) along with Azure.Identity for authentication.

1. Setup the Cosmos DB Client

CosmosClientOptions clientOptions = new() 
{ 
    MaxRetryAttemptsOnAbortedTransactions = 10, 
    MaxRetryWaitTimeOnAbortedTransactions = TimeSpan.FromSeconds(30) 
}; 
 
TokenCredential credential = environment.IsDevelopment() 
    ? new DefaultAzureCredential() 
    : string.IsNullOrWhiteSpace(managedIdentityClientId) 
        ? new ManagedIdentityCredential() 
        : new ManagedIdentityCredential(managedIdentityClientId); 
client = new CosmosClient(options.Endpoint, credential, clientOptions); 

The sample uses the SDK’s default transaction retry settings, allowing up to 10 retries or 30 seconds of cumulative retry delay for transactions the service identifies as retriable. HTTP 429 throttling is handled separately through the SDK’s rate-limiting retry settings.

For authentication, the application uses DefaultAzureCredential during development and managed identity when deployed, avoiding the need to manage account keys. Access is controlled through Microsoft Entra ID RBAC, with the sample requiring the Cosmos DB Built-in Data Contributor role scoped to the /dbs/banking database.

The application also reuses a single CosmosClient instance, following recommended SDK practices. These choices align with the Azure Cosmos DB Agent Kit guidance for authentication, least-privilege access, and client management.

2. The transfer: read, validate, then commit atomically

ItemResponse<CosmosAccount> alice = await ReadAccountAsync(AccountAId); 
ItemResponse<CosmosAccount> bob = await ReadAccountAsync(AccountBId); 
 
if (alice.Resource.Balance < amount) { /* client-side rejection */ } 
 
using DistributedTransactionResponse response = await cosmosClient 
    .CreateDistributedWriteTransaction() 
    .PatchItem(accountsContainer, new PartitionKey(AccountAId), AccountAId, 
        [PatchOperation.Increment("/balance", -(double)amount)], 
        new DistributedTransactionPatchItemRequestOptions 
        { 
            IfMatchEtag = alice.ETag, 
            FilterPredicate = $"from c where c.balance >= {amountLiteral}" 
        }) 
    .PatchItem(accountsContainer, new PartitionKey(AccountBId), AccountBId, 
        [PatchOperation.Increment("/balance", (double)amount)], 
        new DistributedTransactionPatchItemRequestOptions { IfMatchEtag = bob.ETag }) 
    .CreateItem(ledgerContainer, new PartitionKey(entry.PartitionKey), entry.Id, entry) 
    .ExecuteTransactionAsync(cancellationToken);

Three things are worth calling out:

  1. PatchOperation.Increment changes each balance on the server instead of replacing it with a value calculated by the application.
  2. IfMatchEtag is optimistic concurrency. Every item has a server-generated _etag. If it no longer matches, the server rejects the operation with 412 Precondition Failed (learn more).
  3. FilterPredicate is a conditional patch. The SQL-like from c where … condition must hold, or the operation fails (learn more). Here it guards against Alice’s balance dropping after the read.

The application also checks Alice’s balance before it creates a write transaction. In the sample’s insufficient-funds scenario, a $500 transfer is rejected before any transaction is submitted.

The sample app in a browser frame, showing the transfer committed: Alice 850, Bob 1,150, plus one ledger entry.

3. Understanding Distributed Transaction Responses

Distributed transactions report one of two response modes. The all-or-nothing write guarantee is the same in both modes; the difference is when the client receives the response.

  • Standard mode: Provides confirmation of the transaction’s final commit or abort outcome before returning a response. This is suitable for workloads that require confirmation of transaction completion before proceeding.
  • FastResponse mode: Optimized for workloads that prioritize lower write latency and do not require immediate read-after-write visibility. The service can return an earlier response while continuing transaction processing in the background.

Both modes maintain the same atomicity and durability guarantees. FastResponse is particularly beneficial for write-intensive workloads where applications can continue processing without waiting for the final transaction outcome.

bool succeeded = response.IsSuccessStatusCode && response.All(operation => operation.IsSuccessStatusCode); 
... 
else if (response.ResponseMode == DistributedTransactionResponseMode.Standard) 
    message = successMessage; 
else 
    message = " FastResponse received. Cosmos DB will continue processing the transaction."; 

4. A consistent read: the receipt

using DistributedTransactionResponse response = await cosmosClient 
    .CreateDistributedReadTransaction() 
    .ReadItem(accountsContainer, new PartitionKey(AccountAId), AccountAId) 
    .ReadItem(accountsContainer, new PartitionKey(AccountBId), AccountBId) 
    .ReadItem(ledgerContainer, new PartitionKey(ledgerPartitionKey), ledgerId) 
    .ExecuteTransactionAsync(cancellationToken); 

One call reads Alice, Bob, and the ledger entry across two partitions and two containers from the same committed snapshot. Results are returned in request order through GetOperationResultAtIndex<T>(i).

What happens when data changes mid-transaction?

The sample includes an optimistic-concurrency scenario: it stages a transfer, changes Alice’s account with an independent write, and then attempts to commit using the original ETags.

Sequence: the app stages a transfer and keeps ETags; an independent patch changes Alice; the commit uses old ETags; operation 0 returns 412; the whole transaction aborts.

  1. Stage the transfer. Read Alice and Bob and retain their ETags. No transaction writes are submitted yet.
  2. Change Alice. An ordinary PatchItemAsync call adds 1 to Alice’s balance outside the transaction, which changes her _etag.
  3. Commit the staged transfer with the original ETags. Alice’s conditional patch returns 412 (Precondition Failed), sometimes inside an overall 452 aborted transaction. Bob is not credited, and the ledger entry is not created.

Demo: Data Explorer after the abort, next to "Whole transaction aborted", "Bob not credited", "No ledger entry" and "Data Explorer query validates: Alice 301, Bob 1,000, 1 ledger entry".

The follow-up query confirms the result: Alice is at 301 because of the independent write, Bob remains at 1,000, and the ledger contains only the earlier successful transfer. After a confirmed conflict, read fresh state and recalculate instead of replaying the stale proposal.

What do you need to use distributed transactions with Azure Cosmos DB?

Requirement Details
API NoSQL only
Throughput Provisioned (manual or autoscale)
Regions Public Azure region. Single-write regions only and multi-write region support is planned.
SDK .NET v3 Microsoft.Azure.Cosmos 3.64.0-preview.0 or higher (other SDKs “coming soon”)
Enrollment Request through the onboarding form; typically fulfilled in 1–2 business days
Limits 100 operations, 2 MB per transaction

Multi-region accounts: transactions are atomic within the write region. Committed changes replicate asynchronously to secondary regions. Depending on the configured consistency level and replication progress, readers in secondary regions can temporarily observe different versions of data across participating partitions.

Should you use transactional batch or distributed transactions?

  • Use Transactional batch when every item shares one logical partition key in one container. It is the established, efficient choice for that scope (learn more).
  • Use Distributed transactions when the atomic boundary must span partitions, containers, or databases in one account and region – for example, a balance transfer plus a ledger entry, or an order plus inventory updates.

FAQ

Are distributed transactions in Azure Cosmos DB generally available? No. They’re in public preview, without an SLA, and behavior and limits might change before general availability (learn more).

Can a distributed transaction span two Azure Cosmos DB accounts? No. The documented scope is logical partitions, containers and databases within the same account and region.

Which SDKs support it? The .NET v3 SDK, starting at 3.64.0-preview.0. Support for other SDKs is coming soon.

What happens if one operation fails? The transaction aborts and none of its writes are applied. In the sample’s ETag conflict, Alice’s operation returns 412 (Precondition Failed); the overall transaction can return 452 to indicate that it was aborted. Bob is not credited, and no ledger entry is written (sample).

Do I still need transactional batch? Yes. Use it when all items share one logical partition key in one container (learn more).

How do I authenticate without keys? Use Microsoft Entra ID with DefaultAzureCredential or a managed identity. The identity must have data-plane permissions on every participating container; in the sample, Cosmos DB Built-in Data Contributor is scoped to /dbs/banking (learn more, sample).

Where can you try it?

About Azure Cosmos DB

Azure Cosmos DB is a fully managed and serverless NoSQL and vector database for modern app development, including AI applications. With its SLA-backed speed and availability as well as instant dynamic scalability, it is ideal for real-time NoSQL applications that require high performance and distributed computing over massive volumes of NoSQL and vector data.

To stay in the loop on Azure Cosmos DB updates, follow us on X, YouTube, and LinkedIn.

The post All or nothing: distributed transactions in Azure Cosmos DB appeared first on Azure Cosmos DB Blog.

Read the whole story
alvinashcraft
10 minutes ago
reply
Pennsylvania, USA
Share this story
Delete
Next Page of Stories