Virtual Event: CodeSecCon - Learn to Secure Your Software > View Sessions
Connect with us

Hi, what are you looking for?

SecurityWeekSecurityWeek

Network Security

Microsoft Researchers Release Anti-Reconnaissance Tool

Microsoft researchers have released a new tool designed to help security teams protect corporate networks by making it more difficult for attackers to conduct reconnaissance.

Microsoft researchers have released a new tool designed to help security teams protect corporate networks by making it more difficult for attackers to conduct reconnaissance.

The tool, dubbed “NetCease,” was developed by Itai Grady and Tal Be’ery of the Microsoft Advanced Threat Analytics (ATA) research team. NetCease has been made available on Microsoft’s TechNet Gallery, but it’s not an official Microsoft tool. The software is provided under the default license terms for “Software on Documentation Portals.”

During the reconnaissance phase of an attack, hackers need to collect information that will allow them to move from the device they compromised first to other machines on the victim’s network. Specifically, they need to identify privileged users and the computers they accessed.

Once they identified the targets, attackers can use the NetSessionEnum function to obtain information about sessions established on domain controllers (DC) or other servers. NetSessionEnum can be executed by any authenticated user and it provides information such as device name and IP address, the username that established a session, and the length of the session.

This technique has been used in numerous attacks and it has been integrated into popular penetration testing tools such as PowerSploit and BloodHound.

By default, any domain user is allowed to execute the NetSessionEnum method remotely, and the default permissions can only be changed by manually editing a registry key. Grady and Be’ery created NetCease to help administrators easily modify these permissions and make it more difficult for attackers to obtain information needed to move laterally within the network.

Advertisement. Scroll to continue reading.

NetCease is a short PowerShell script that must be executed once on each server or domain controller that needs to be protected. Since it’s a PowerShell script, its source code is also available.

“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 logon sessions,” the researchers explained. “This will allow any administrator, system operator and power user to remotely call this method, and any interactive/service/batch logon session to call it locally.”

The NetCease tool has been released as a preview for an upcoming Black Hat Europe talk where Be’ery and Grady will demonstrate what they call “offensive cyber defense” methods.

Related: New Windows Attack Turns Evil Maid into Malicious Butler

Related: Facebook’s “Osquery” Security Tool Available for Windows

Related: Mozilla Launches Website Security Testing Tool

Written By

Eduard Kovacs (@EduardKovacs) is senior managing editor at SecurityWeek. He worked as a high school IT teacher before starting a career in journalism in 2011. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing for the latest cybersecurity threats, trends, and expert insights.

Click to comment

Trending

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this live webinar as we explore if detection-first security operations can keep pace with AI, or if it’s time to rethink prevention as the strongest default.

Register

CodeSecCon bridges the gap between dev and security. Discover best practices for secure coding, innovative risk-reduction tools, and safe AI integration to cultivate a true DevSecOps culture. Safely secure your apps!

Register

People on the Move

UltraViolet Cyber has named Andrew Park Chief Information Security Officer.

Glow has appointed Patti Degnan as Chief Information Security Officer.

Daniel Dubowski has been named Senior Vice President and Chief Information Security Officer at Marriott International.

More People On The Move

Expert Insights

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest cybersecurity news, threats, and expert insights. Unsubscribe at any time.