CEF Data Connector: MMA vs AMA (2024)

Below is an article comparing two different approaches for sending logs from a third-party platform to Microsoft Sentinel's Log Analytics Workspace via Syslog or CEF Log Forwarder.

SPOILER ALERT: The "Azure Monitoring Agent" method is far better than the "Microsoft Monitoring Agent" method πŸ™‚

The "Microsoft Monitoring Agent" method is getting deprecated on 31st August 2024

Pre-requisites

βœ… Microsoft Sentinel vs Log Analytics Workspace | LinkedIn

βœ… Basic Knowledge around Syslog or CEF Log Forwarder

βœ… HTTP Data Collector API vs Log Ingestion API | LinkedIn

βœ… Azure: Identities Comparison

βœ… Before and After - Data Collection Rules

Terminologies and Context

Forwarders

βœ… Syslog forwarder - A machine that sits in between two different platforms that cannot talk with each other natively. Thus, the machine acts as an intermediary to collect logs from the source platform and send it to the destination platform.

βœ… CEF log forwarder - Same as syslog forwarder, but the "format" of the log it collects is common to different devices (standardized and recognizable by any platform). Thus the name "Common Event Format" (CEF).

❓ So can a CEF log forwarder be called as syslog forwarder?

Yes it can πŸ™‚, although it is advised to refer as CEF log forwarder, just to differentiate the type/format of the log it is collecting.

Agents

βœ… MMA - Microsoft Monitoring Agent (MMA) is an agent you put on a machine to send logs to the Azure Log Analytics Workspace. It is also called by other words as "Log Analytics Agent" or "OMS Agent".

βœ… AMA - Azure Monitoring Agent (AMA) is an agent you put on a machine to send logs to the Azure Log Analytics Workspace, just like MMA - but better.

❓ How is AMA better than MMA?

AMA has a better authentication mechanism than MMA. It also has log filtering capability via Data Collection Rule (which is not supported in MMA).

CEF Log Forwarder

CEF Log Forwarder is a machine that acts as an intermediary between two platforms that cannot talk with each other natively. Below is a high level representation of how CEF Log Forwarders work:

CEF Data Connector: MMA vs AMA (1)

In the above diagram, we have three key components:

βœ… Source Platform - the platform "FROM" which we aim to collect logs from. As an example, we will use Palo Alto Networks Panorama Firewall as the source platform.

βœ… Destination Platform - the platform "TO" which we aim to send the collected logs to. As an example, we will use Microsoft Sentinel as the destination platform.

βœ… Log Forwarder - since Palo Alto Networks Panorama Firewall CANNOT send logs directly to Microsoft Sentinel, we send the logs to a machine/virtual machine. The machine then sends the collected logs to Microsoft Sentinel.

Log Collection: Syslog or CEF agent
Log Ingestion: "some" monitoring agent

The "some" monitoring agent could either be MMA (Microsoft Monitoring Agent) or AMA (Azure Monitoring Agent).

CEF using MMA

Below is a high level diagram of a CEF log forwarder ingesting logs into Microsoft Sentinel's Log Analytics Workspace using Microsoft Monitoring Agent.

It is to be noted that the diagram only covers the "Log Ingestion", and not the "Log Collection" part that uses syslog/CEF agent.

CEF Data Connector: MMA vs AMA (2)

🚩 Red Flag 1: The Microsoft Monitoring Agent uses Workspace ID and Workspace key for authentication (and is to be hard-coded in the log forwarder). Using a workspace ID and workspace key is like using username and password. The threat vector is too high, and a compromise of the credentials can cause a huge impact with operations.

🚩 Red Flag 2: Based on the above diagram, there is no way to filter logs before being ingested into Microsoft Sentinel's Log Analytics Workspace. Platforms like (any) Firewall would usually send high volume of traffic logs - some of which aren't important for Security monitoring. This might end up accumulating the cost of storing unwanted logs in Log Analytics Workspace. MMA does not have a capability to filter/drop logs based on specific conditions before being ingested into Microsoft Sentinel's Log Analytics Workspace.

βœ… The machine/virtual machine that acts as the log forwarder can either be in on-prem or in Azure (or in any cloud platform). Although most of these log ingestion scenarios would require the log forwarder to be on-prem.

πŸ“™ How-to Documentation: Microsoft Sentinel | CEF Log Forwarder (legacy)

CEF using AMA

Below is a high level diagram of a CEF log forwarder ingesting logs into Microsoft Sentinel's Log Analytics Workspace using Azure Monitoring Agent.

It is to be noted that the diagram only covers the "Log Ingestion", and not the "Log Collection" part that uses syslog/CEF agent.

CEF Data Connector: MMA vs AMA (3)

βœ… The Azure Monitoring Agent uses "Managed Identity" for authentication - which is very much secure and better for access management.

βœ… It is also to be noted that the logs are sent to a "Data Collection Rule" before being ingested into the table of Log Analytics Workspace. The Data Collection Rule has the capability to filter/drop logs based on specific conditions before ingesting them into Log Analytics Workspace.

❗It is to be noted that the machine/virtual machine that acts as the log forwarder "MUST" be in Azure.

❓Does that mean - the Azure Monitoring Agent cannot be used if the machine is on-prem or in a different cloud?

βœ… There's always a way πŸ˜‰. For machines that are not on Azure, we would require adding another agent (Azure Arc) to the machine to make it compatible with Azure Monitoring Agent.

Azure Arc is a service to have machines in your own network (or in a different cloud) - but onboard it to Azure to treat and control it like an Azure Virtual machine. It's like using an Azure Virtual Machine without having the machine on Azure 🀯

Conclusion

It is an obvious choice to go with Azure Monitoring Agent for the below three reasons:

βœ… Better authentication mechanism

βœ… Supports log filtering capability using Data Collection Rule

βœ… MMA is getting deprecated in less than 6 months anyway πŸ€·β™‚οΈ

CEF Data Connector: MMA vs AMA (2024)
Top Articles
The Four Key Stages of Wealth Management
What are liquidity pools? | Get Started with Bitcoin.com
Victory Road Radical Red
Terrorist Usually Avoid Tourist Locations
Nyu Paralegal Program
Watch Mashle 2nd Season Anime Free on Gogoanime
30% OFF Jellycat Promo Code - September 2024 (*NEW*)
Xm Tennis Channel
California Department of Public Health
How to Store Boiled Sweets
About Us | TQL Careers
735 Reeds Avenue 737 & 739 Reeds Ave., Red Bluff, CA 96080 - MLS# 20240686 | CENTURY 21
N2O4 Lewis Structure & Characteristics (13 Complete Facts)
Osborn-Checkliste: Ideen finden mit System
Effingham Bookings Florence Sc
Silive Obituary
Palm Springs Ca Craigslist
Allybearloves
Pecos Valley Sunland Park Menu
Sandals Travel Agent Login
Kirsten Hatfield Crime Junkie
Urbfsdreamgirl
Is Henry Dicarlo Leaving Ktla
Aes Salt Lake City Showdown
John Philip Sousa Foundation
CohhCarnage - Twitch Streamer Profile & Bio - TopTwitchStreamers
Taylored Services Hardeeville Sc
Learn4Good Job Posting
Chicago Pd Rotten Tomatoes
Fbsm Greenville Sc
Wasmo Link Telegram
Craigslist Com Humboldt
To Give A Guarantee Promise Figgerits
Jewish Federation Of Greater Rochester
Myfxbook Historical Data
Mohave County Jobs Craigslist
Nearest Ups Office To Me
Check From Po Box 1111 Charlotte Nc 28201
Shuaiby Kill Twitter
Jetblue 1919
Jaefeetz
Stosh's Kolaches Photos
Ucla Basketball Bruinzone
Kjccc Sports
Dying Light Mother's Day Roof
Great Clips Virginia Center Commons
Strange World Showtimes Near Atlas Cinemas Great Lakes Stadium 16
Image Mate Orange County
Turning Obsidian into My Perfect Writing App – The Sweet Setup
Asisn Massage Near Me
Swissport Timecard
Latest Posts
Article information

Author: Duane Harber

Last Updated:

Views: 6440

Rating: 4 / 5 (71 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Duane Harber

Birthday: 1999-10-17

Address: Apt. 404 9899 Magnolia Roads, Port Royceville, ID 78186

Phone: +186911129794335

Job: Human Hospitality Planner

Hobby: Listening to music, Orienteering, Knapping, Dance, Mountain biking, Fishing, Pottery

Introduction: My name is Duane Harber, I am a modern, clever, handsome, fair, agreeable, inexpensive, beautiful person who loves writing and wants to share my knowledge and understanding with you.