Microsoft has released a new tool ‘NetCease’ to help security teams in protecting corporate networks from the reconnaissance of attackers.
The tool, named “NetCease,” is developed by Tal Be’ey and Itai Grady of the Microsoft’s ATA (Advanced Threat Analytics) research team. The tool is made available on Microsoft’s TechNet Gallery, but it is not official. The tool is available under the default license terms for “Software on Documentation Portals”.
NetCease is a small PowerShell script that must be executed once on a domain controller or each server to protect them from attacks. Since it is a script, its source code is also available.
During the monitoring phase of an attack, hackers collect information that allows them to move from compromised device to other machines on the victim’s network. Specifically, the attackers need to identify computers they access and its privileged users.
Once the target is identified, attackers can use the NetSessionEnum (NSE) function to attain information about sessions created on domain controllers or on other servers. NSE can be executed by any authorized user and provide information such as IP address and device name, the length of session, and the username that created a session.
This technique has already been used in various attacks and it has been integrated into famous penetration testing tools such as BloodHound and PowerSploit.
Any domain user, by default, is allowed to start the NSE method remotely. The default permissions can only be changed through manual editing of a registry key. Be’ery and Grady created NetCease to make it easy for administrators to modify these permissions and make it difficult for malicious attackers to obtain information needed for moving laterally within the network.
The researchers explained, “The NetCease script hardens the access to the NetSessionEnum method by removing the execute permission for Authenticated Users group and adding permissions for interactive, service and batch login sessions,” “This will allow any administrator, system operator and power user to remotely call this method and any interactive/batch/service login session to call it locally.”
The tool is released as a preview for the upcoming Black Hat Europe session where Grady and Be’ery will demonstrate what they term as “offensive cyber defense” methods.
Share this article
About the Author
Peter Buttler an Infosec Journalist and Tech Reporter, Member of IDG Network. In 2011, he completed Masters in Cybersecurity and technology. He worked for leading security and tech giants as Staff Writer. Currently, he contributes to a number of online publications, including The Next Web, CSO Online, Infosecurity Mag, SC Magazine, Tripwire, GlobalSign CSO Australia, etc. His favorite areas Online Privacy, AI, IoT, VR, Blockchain, Big Data, ML, Fintech, etc. You can follow him on twitter.
More from Peter ButtlerRelated Posts
Google and FBI Disrupt NetNut Residential Proxy Network Used by 2M+ Devices
Google worked with the FBI and Lumen to disrupt the NetNut residential proxy network, also known as ...
Opera Launches Paste Protect to Block ClickFix Clipboard Attacks
Opera’s Paste Protect blocks harmful commands from reaching the clipboard, preventing ClickFix...
Reddit Introduces Mandatory Age Verification for EU Teens Accessing NSFW Content
Reddit will require European Union users under 18 to verify their age before viewing mature or NSFW ...
Popular ‘Adblock for YouTube’ Chrome Extension Found With Remote Code Execution Risk
The popular “Adblock for YouTube” Chrome extension now carries an architectural weakness...
Texas Hunting and Fishing License Data Breach Affects 3 Million Customers
Approximately 3 million Texas hunting and fishing license customers were affected by a data breach i...
FBI Warns of ‘Kali365’ Subscription Service Targeting Microsoft 365 Accounts
The FBI’s sounding the alarm on Kali365, a site where criminals can pick up ready-to-use tools for s...