Now on Demand Ransomware Resilience & Recovery Summit - All Sessions Available
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.

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.”

Advertisement. Scroll to continue reading.

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 a managing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

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 the session as we discuss the challenges and best practices for cybersecurity leaders managing cloud identities.

Register

SecurityWeek’s Ransomware Resilience and Recovery Summit helps businesses to plan, prepare, and recover from a ransomware incident.

Register

People on the Move

Bill Dunnion has joined telecommunications giant Mitel as Chief Information Security Officer.

MSSP Dataprise has appointed Nima Khamooshi as Vice President of Cybersecurity.

Backup and recovery firm Keepit has hired Kim Larsen as CISO.

More People On The Move

Expert Insights

Related Content

Identity & Access

Zero trust is not a replacement for identity and access management (IAM), but is the extension of IAM principles from people to everyone and...

Cybersecurity Funding

Network security provider Corsa Security last week announced that it has raised $10 million from Roadmap Capital. To date, the company has raised $50...

Network Security

Attack surface management is nothing short of a complete methodology for providing effective cybersecurity. It doesn’t seek to protect everything, but concentrates on areas...

Application Security

Virtualization technology giant VMware on Tuesday shipped urgent updates to fix a trio of security problems in multiple software products, including a virtual machine...

Application Security

Fortinet on Monday issued an emergency patch to cover a severe vulnerability in its FortiOS SSL-VPN product, warning that hackers have already exploited the...

Identity & Access

Hackers rarely hack in anymore. They log in using stolen, weak, default, or otherwise compromised credentials. That’s why it’s so critical to break the...

Network Security

A zero-day vulnerability named HTTP/2 Rapid Reset has been exploited to launch some of the largest DDoS attacks in history.

Cyberwarfare

Websites of German airports, administration bodies and banks were hit by DDoS attacks attributed to Russian hacker group Killnet