Lawrence Rake
Lead Proactive Insider Risk Detection Engineer
- AR4
- -IF004
- -IF004.006
Exfiltration via Python Listening Service - AR4
A subject may employ a Python-based listening service to exfiltrate organizational data, typically as part of a self-initiated or premeditated breach. Python’s accessibility and versatility make it a powerful tool for creating custom scripts capable of transmitting sensitive data to external or unauthorized internal systems. In this infringement method, the subject configures a Python script—often hosted externally or on a covert internal system—to listen for incoming connections. A complementary script, running within the organization’s network (such as on a corporate laptop), transmits sensitive files or data streams to the listening service using common protocols such as HTTP or TCP, or via more covert channels including DNS tunneling, ICMP, or steganographic methods. Publicly available tools such as PyExfil can facilitate these operations, offering modular capabilities for exfiltrating data across multiple vectors. Examples of Use:A user sets up a lightweight Python HTTP listener on a personal VPS and writes a Python script to send confidential client records over HTTPS.A developer leverages a custom Python socket script to transfer log data to a system outside the organization's network, circumventing monitoring tools.An insider adapts an open-source exfiltration framework like PyExfil to send data out via DNS queries to a registered domain. Detection Considerations:Monitor for local Python processes opening network sockets or binding to uncommon ports.Generate alerts on outbound connections to unfamiliar IP addresses or those exhibiting anomalous traffic patterns.Utilize endpoint detection and response (EDR) solutions to flag scripting activity involving file access and external communications.Inspect Unified Logs, network flow data, and system audit trails for signs of unauthorized data movement or execution of custom scripts.
- AR3
- -PR018
- -PR018.007
Downgrading Microsoft Information Protection (MIP) labels - AR3
A subject may intentionally downgrade the Microsoft Information Protection (MIP) label applied to a file in order to obscure the sensitivity of its contents and bypass security controls. MIP labels are designed to classify and protect files based on their sensitivity—ranging from “Public” to “Highly Confidential”—and are often used to enforce Data Loss Prevention (DLP), access restrictions, encryption, and monitoring policies. By reducing a file's label classification, the subject may make the file appear innocuous, thus reducing the likelihood of triggering alerts or blocks by email filters, endpoint monitoring tools, or other security mechanisms. This technique can enable the unauthorized exfiltration or misuse of sensitive data while evading established security measures. It may indicate premeditated policy evasion and can significantly weaken the organization’s data protection posture. Examples of Use:A subject downgrades a financial strategy document from Highly Confidential to Public before emailing it to a personal address, bypassing DLP policies that would normally prevent such transmission.A user removes a classification label entirely from an engineering design document to upload it to a non-corporate cloud storage provider without triggering security controls.An insider reclassifies multiple project files from Confidential to Internal Use Only to facilitate mass copying to a removable USB device. Detection Considerations:Monitoring for sudden or unexplained MIP label downgrades, especially in proximity to data transfer events (e.g., email sends, cloud uploads, USB copies).Correlating audit logs from Microsoft Purview (formerly Microsoft Information Protection) with outbound data transfer events.Use of Data Classification Analytics to detect label changes on high-value files without associated business justification.Reviewing file access and modification logs to identify users who have altered classification metadata prior to suspicious activity.