Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
MalwareRansomwareUsed by 65 actors

Nishang

Nishang is a collection of PowerShell scripts and payloads used for offensive and post-exploitation activity on Windows systems. The provided content specifically references the Get-PassHashes script, which requires administrative privileges and was used to dump password hashes, and the Invoke-PowerShellTCPOneLine utility, a PowerShell-based reverse shell that initiates a callback to a remote command-and-control server. Detection content notes command-line indicators such as Net.Sockets.TCPClient and System.Text.ASCIIEncoding in PowerShell executions, consistent with remote control or data exfiltration behavior. Nishang activity is mapped to MITRE ATT&CK T1059.001 (PowerShell). In the supplied incident reporting, Nishang was used during a Medusa ransomware intrusion for credential access via Get-PassHashes after attackers had gained access to vulnerable internet-facing infrastructure and conducted broader post-compromise activity including defense evasion, lateral movement, and ransomware deployment. High-confidence indicators from the content include use of Get-PassHashes for password hash dumping and Invoke-PowerShellTCPOneLine for reverse-shell C2 callbacks.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

65 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
hafnium

The following analytic detects the use of the Nishang Invoke-PowerShellTCPOneLine utility, which initiates a callback to a remote Command and Control (C2) server.

via splunk researchresearch.splunk.com
FIN10

The following analytic detects the use of the Nishang Invoke-PowerShellTCPOneLine utility, which initiates a callback to a remote Command and Control (C2) server.

via splunk researchresearch.splunk.com
TA2541

The following analytic detects the use of the Nishang Invoke-PowerShellTCPOneLine utility, which initiates a callback to a remote Command and Control (C2) server.

via splunk researchresearch.splunk.com
TeamTNT

The following analytic detects the use of the Nishang Invoke-PowerShellTCPOneLine utility, which initiates a callback to a remote Command and Control (C2) server.

via splunk researchresearch.splunk.com
BRONZE BUTLER

The following analytic detects the use of the Nishang Invoke-PowerShellTCPOneLine utility, which initiates a callback to a remote Command and Control (C2) server.

via splunk researchresearch.splunk.com
CopyKittens

The following analytic detects the use of the Nishang Invoke-PowerShellTCPOneLine utility, which initiates a callback to a remote Command and Control (C2) server.

via splunk researchresearch.splunk.com
MITRE ATT&CK

Techniques & procedures

1 distinct technique documented for this family, organized by ATT&CK tactic.

Execution

1 technique
T1059.001PowerShellEvidence3

Although it is categorized as an Execution technique in the MITRE ATT&CK framework, the T1059.001 PowerShell technique can be used for Defense Evasion. Attackers use PowerShell to: bypassing Antimalware Scan Interface (AMSI) disabling Script Block Logging to prevent detection disabling Windows Defender downloading and running malware payloads in memory executing sophisticated codes without installing extra software injecting malicious code into legitimate processes manipulating access tokens

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution65

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping1

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.